View Full Version : simple volume control for flash video
dirtylarry
10-07-2007, 07:15 PM
I have a flash video in my project, I want to add a simple play/pause/volume control to it......but have no idea how....can someone please explain how?...i've searched the forums, but am fairly new here, and don't understand some I have found....thanks a million!!!!!!!!!!!
yosik
10-08-2007, 03:43 PM
why not have these button in your flash object itself?
Yossi
I agree with yosik 100%
Putting the controls in the flash object would also give you more options. Like if you wanted them to be transparent or a certain size or certain controls.
Here is a quick drag and drop tutorial using the built in controls in flash 8 pro.
http://www.communitymx.com/content/article.cfm?cid=12EBE
Of course you can make your own, but this should get you started.
dirtylarry
10-09-2007, 11:00 AM
ok..should have clarified a bit....it is not editable.....a file i made, and imported....now i a swf file...so no volume controls...but the volume is too loud, so need the end user to be able to turn it down a bit
longedge
10-09-2007, 11:14 AM
You can control flash objects from AMS and vice versa using fsCommand() but in any case you would have to have access to the original .fla to code the responses to fsCommand into it that you require.
One possibility would be to create a new swf loader/container and then control the volume from within that.
Desolator
10-09-2007, 12:47 PM
Or you could decompile the file as well.
If you have a .swf that is a video, with no stop actions you can load that into another flash swf in a movieclip and then have that second swf have the controls in it.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.