Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

FLVPlayback volumee not working

Posted on 2009-05-07
1
Medium Priority
?
201 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:
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.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

927 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