Solved

FLVPlayback volumee not working

Posted on 2009-05-07
1
188 Views
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..
0
Comment
Question by:moshem
1 Comment
 
LVL 18

Accepted Solution

by:
Graphixer earned 500 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.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reduce the size of the Flash SWF file it executes 12 418
Microsoft WSUS 4 97
Adobe Flash Player not supported on my Tablet 7 730
IE11 stops playing video on a certain website 10 78
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
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…
The goal of the tutorial is to teach the user how to how to record live broadcast.

786 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