ActionScript 2.0 :: Control Audio Of Embedded FLV?
Apr 9, 2008
Im creating a microsite which loads external SWFs with embedded FLVs in their timeline (each SWF has its own preloader). To control their audio (mute/unmute buttun), I have encoded & imported the FLVs & their audio tracks seperately in the SWFs. I'm controlling the audio tracks by attached them from library through the sound object.
Issue:
The FLV & audio run synced when I play them together in timeline. But they go off-sync when I play the audio though AS, rest assured that FLV & SWF have the same fps. I have even tried encoding the FLV at both the source video fps & SWF fps.[code]...
View 9 Replies
Similar Posts:
Jun 9, 2010
What is the script to control the volume of multiple audio tracks embedded within a movie clip?
View 1 Replies
May 15, 2007
I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the player with an <object> tag).
View 7 Replies
Mar 11, 2010
Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?
A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set the default volume level.
View 1 Replies
Mar 21, 2010
I have a flex application and have embedded a flash (SWF) file into it using <mx:SWFLoader>. There is an "Exit" button on the Flash file. I want to be able to handle the button click event on the flex application.
So when that button in the flash file is clicked, I want to perform an action in the parent flex application.
View 2 Replies
Jan 13, 2009
I read all of the threads on this forum about pausing audio in a swf. They were all very helpful - if you have control over the swf fla. However i have no control over the swf i am loading. I cannot find a way to reference a sound that is placed on the timeline of the movie. If i had access to the fla of the swf, then i could change the linkage, but again i don't possess the fla.
so does anyone out there know of a way to reference global sounds in a swf? In as 2.0, this could be done easily by declaring a new sound object without a target such as this: var gvol = new Sound();
I can't seem to make this work in AS3.
I need a way to reference a global sound in a swf, so i can then apply the SoundChannel to the sound object, and read the position property within
View 0 Replies
Sep 23, 2011
Is there a way to create a progress bar for embedded audio, or is there a component for it already? I have multiple embedded (in the timeline) audio files (MP3), and I have successfully scripted a play pause button for them, but I would also like a progress bar showing you where you are in the track. It doesn't need to be seekable by dragging. Just a visual indicator of where you are.
View 9 Replies
Aug 19, 2010
I am trying to control the audio of an embedded video from a mute button. I can get the audio to play and the mute button to control the volume using the following script:
var my_nc:NetConnection=new NetConnection();
my_nc.connect(null);
var my_ns:NetStream=new NetStream(my_nc);
[code]....
The problem I am having with this is that the video is not appearing on the stage and when I place it on the stage the audio is playing twice. how I can get it to appear on the stage and still control the sound as the button is doing at the moment?
View 1 Replies
Jul 19, 2011
I have a file with one main mc called "clip" that contains 9 different embedded audio tracks (all inside their own separate mc) on the first keyframe. They span the entire length of the mc - 10 frames in this case. Essentially what this does is creates a full song with 9 separate tracks that I want to mute (and unmute) when I arrive at a specific keyframe.I am using a slider (called "aSlider") on the main timeline to navigate between the keyframes.Everything starts out muted and as we progress, tracks are unmuted and the song starts to build. It is working great right now in that direction. However, if I move the slider backwards, it seems to be re-creating the audio clips so that I am overlaying more and more audio on top of each other.. which is quite the mess. Here's the AS for the slider.
aSlider.width = 324;
aSlider.move(309, 681);
addChild(aSlider);
[code].....
View 1 Replies
Aug 10, 2010
I've been given FLAs that contain audio embedded within the timeline. It's been a long while since I've had to deal with audio in this manner and I'm running into a problem.
The basic setup is this:
- There are 3 movie clips within the FLA
- Each movie clip contains embedded audio within the timeline
- The audio plays as soon as each movie clip begins
Here's my issue:
On the main timeline, there is a 'back' button which allows the user to move to the previous movie clip.
When the user clicks this button, it does move back to the previous movie clip; however, the sound does not stop which results in 2 audio files playing at the same time.
If I were calling the sound utilizing SoundMixer/SoundChannel, I know how to ensure the audio stops, but since the audio is embedded within the timeline, I'm not quite sure the best way to make sure the audio stops when the preceding movie clip is called.
View 5 Replies
Jun 27, 2011
I have a section of a site that has a voice over when you get to a page. I have a play/pause button that works fine, and plays and pauses the audio voice over. I have about 9 other buttons on this page that all have 'SoundMixer.stopAll();' in order to stop the embedded audio. This works the first time you click a button, but any button after that restarts the embedded audio.
Is there a way to make it so that Flash knows not to restart the embedded audio?
Do I need to make a sound variable and set it to 'false'. I am not sure what to do, or how to do it.
View 8 Replies
Jul 6, 2011
I am having trouble with an embedded audio clip. (embedded in the timeline) First, the reason for embedding.... I need the audio (voice over) to correspond to the on Stage animations, and have words and animations appear when certain keywords are spoken. Second, here is what I have tried...
1) I have tried to embed the audio clip directly on the timeline. The audio file I am using is an MP3 created out of Garage Band. (Mac audio program) When I embed the clip, and publish a preview, it nearly crashes Flash Player. The audio continues to play, but all on screen animations are severely slowed and choppy. And I must force quit Flash Player to close it. Plus it is nearly maxing out my CPU during playback.
2) I removed the audio clip from the timeline, and decided to try AS3 to import and control playback of the audio clip. This seemed to work fine, no slowdown, less CPU usage, and on screen animations seemed to play normally. However, it is nearly impossible to sync the audio and on Stage animations with an externally loaded audio clip. (timing is always different depending on computer and internet speed.)
[CODE]...
View 4 Replies
Feb 28, 2008
Im having serious issues making a video sync with audio inside an embedded flash video file.
View 2 Replies
Oct 18, 2010
Here is the issue I am running into. I have built my site in CS3 and I have used a loader.On my site I have embedded video links, when the other video links are pressed, the audio from the prior swf keeps playing. The site[URL]
View 1 Replies
Aug 11, 2010
I am using an xml based slide navigation shell that uses next and back buttons to page through content.
If I use SWFs with embedded audio (which I need to do sometimes) the audio will overlap after I leave the slide, SoundMixer.stopAll() is not doing the trick. I think removeChild may be the direction I need, but I'm not sure how to implement so far.
View 3 Replies
Dec 8, 2009
I have a swf that has embedded audio on the swf's timeline which is set to Stream. This swf is then loaded into my main flash timeline via the loader class. I have a button coded as a toggle switch that pauses the loaded swf via the stop() and play() command. This works fine. The issue is that when the swf is paused (stop()), the audio is longer heard, but it continues to play. When I press my toggle switch again, the swf begins to play exactly where it was paused and the audio is now heard, but the issue is that the streaming audio is now out of sync since the swf timeline paused, but the audio continued to play. Is it possible to stop or pause the embedded audio on the timeline? I've tried looking at the SoundMixer static class, but this doesn't seem to help. I can use SoundMixer.stopAll(), but there's no way to start the audio again.
View 5 Replies
Dec 2, 2009
My file seems to be too heavy, so I checked the option to compile with the file size information code]...
View 5 Replies
May 10, 2011
I have a template I created in CS4 where an flv video clip was embedded with a controller skin, etc. It worked fine.
I'm working in CS5 now and using f4v files, and publishing for Flash 10 Player. The files are targeted, load and play properly, but if I pause the video, then hit play, audio stops. Starting a new clip at a different point in the timeline works fine. I noticed if I turn off autoplay under Component Parameters, audio doesn't work at all.
View 2 Replies
Sep 30, 2011
How to attach video player netstream audio in this acript, and not controling my player audio.[code]
View 1 Replies
Oct 26, 2007
how to mute a audio embedded in a button's timeline from the main stage
View 1 Replies
May 10, 2006
I'm creating a flash presentation that contains some externally loaded video's (flv), voiceovers and a background music. I would like to be able to control all these audio streams with one control. So basically I'd like to change the volume of the entire movie. Is this possible?
I know there's something like the Sound object with a setVolume() method, but that's only to control one stream as far as I know.
View 1 Replies
Jan 12, 2010
[Embed(source="data/fire.swf")] static public var movieFire:Class;
I have some multiframe swf file and I want to have control of them. For example, I can use gotoandplay and gotoandstop functionality.
I tried something like: var m:MovieClip = new movieFire() as MovieClip; but it turns out when I tried to get totalFrames, m.totalFrames, it gives me zero, and gotoand* functions don't work either. How can I correctly control the swf file embedded in actionsript 3.0 (No Flex component)?
View 1 Replies
Jun 5, 2010
I'm having a little trouble with finding anything about making a slider to control a embedded Movie Clip... I think it may be because a slider is actually a movie clip object which is why nothing is coming up when i search the keywords i want....
I'm looking for a tutorial on how to create a slider to control the frames/time of a embedded movie clip using as3. Essentially I'm looking to recreate a thing like on the YouTube video player, but it wont need to have anything to do with buffering, just a way of pausing/playing a movie clip from a particular frame or time position.
View 0 Replies
Oct 5, 2009
I have embedded a flv video into my timeline, it uses the flv playback component to play and the SteelExternalAll.swf skin. I would like to control this flv using buttons that I have created that are postioned next to the video player. Ideally, these buttons would be thumbnails, similar to chapter thumbnails on DVDs and would serve a very similar function. As these thumbnail buttons are always present, I want them to change while the movie plays, I think a border around the currently playing would suffice.
The video is nearly 3 mins long, I have made cue points from Sorenson Squeeze.
View 1 Replies
Sep 9, 2009
i have something like this
private var video:Video;
...
private function init():void {
[Code]....
which property should i change or bind a slider to in order to be able to change the sound volume ?
View 2 Replies
Apr 25, 2011
Does anyone know of an existing flash (swf) based audio control that is available (free or commercial) that provides a timeline waveform visualization with the ability to select and play a portion of the timeline?For example, the flash control used by this website... http:[url]....It does exactly what I'm wanting to do. I need this capability to allow a user to mark a section of an audio file which can then be synchronized with other visual elements on a web page using javascript.
It is important that the user be able to see the wave form of the audio because they can save time by visually guessing where certain sounds start and end in a file. The user can then select this block of the audio and preview the sound and tweak the selection if need be.
View 1 Replies
Jan 28, 2012
Is there a way to disable Flash Audio while i'm using My Winform application which has a WebBrowser Control (gecko(firefox) and WebBrowser control IE)? I would block only flash audio inside the webpage(where i navigate) not all the sound of my application.
View 1 Replies
Jan 13, 2010
Is there any way we can control the audio which is been put on the timeline? I need to do it through AS2.
View 0 Replies
Apr 22, 2009
I am new to action script.I am going to control the audio files like media player. How to control the audio files playing
View 1 Replies
Oct 3, 2005
Is there a way to control the sound of an embedded flv in a flash movie? I haven't seen any tutorials on controlling the sound volume for an embedded video vs. netstream.
View 5 Replies