FLVPlayback volumee not working

Posted on 2009-05-07
Medium Priority
Last Modified: 2013-11-11

I am trying to set the volume of the FLVPlayback component in my FLA

I tried this code which I found online, but it doesn't work..

I am using AS2:

import mx.video.*;

_root.vid1.flv_pb.volume = 0;
_root.vid1.flv_pb._uiMgr._isMuted = true;

trace (_root.vid1.flv_pb.volume);

please try to help..
Question by:moshem
1 Comment
LVL 18

Accepted Solution

Jason Thompson earned 1500 total points
ID: 24342487
I think it should be...

import mx.video.*;
flv_pb.volume = 0;
...where flb_pb is the instance of your FLVPlayback component.  Details here.  You might need to add it to the same timeline as your FLVPlayer instance.

There's also a volumeUpdate action for use with sliders and such.

Hope this helps.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question