ActionScript 2.0 :: Audio Of One Loaded Clip Continuously Starts?

Apr 11, 2008

I have a custom player that loads several swf files and plays them one at a time (like a slideshow). It uses a preloader class that loads these external clips into an array, then begins to play the first one. The user may navigate forward or back, or pause.The problem: one swf, meant to play toward the end of the show, has audio that starts automatically a few seconds after any slide startscontainer clip is used to hold and play each loaded clip in the array, one after the other - however, to restate, the problem slide has audio that starts for no apparent reason when any clip is played. The audio for the problem slide starts at the beginning of that slide, but, when playing other slides, it starts a few seconds after they begin.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: FLV Playback Component - Audio Restarting Continuously

Dec 11, 2009

[URL]. Site works fine after a lot of experimentation but there's 1 problem. If you start the video and go to another tab the audio continues go back again and it starts again, this can happen multiple times. I am using a flv playback component.

View 0 Replies

ActionScript 2.0 :: Continuously Loading After Loaded?

Oct 6, 2006

I have a problem that i don't really know the source of. I have some flash on an html pagesimple enough. Once the flash loads, the status bar at the bottom continually says loading, or "reading" the site, or in IE "opening page, 1 item remaining". It never stops. This is very simple flash, no external swfs. The only thing i load is a small bit of XML, which loads some images one at a time on rollover, then i load a song or video if a button is clicked. I'm using netStream for the video and streaming mp3's for the songs.I know the initial thought would be the videos or songs, but this will continue to happen even if i never load a song or video. Just wondering if anyone has had this type of issue before

View 2 Replies

ActionScript 1/2 :: Movie Clip Ignoring Stop() And Looping Continuously

Jul 31, 2010

I have a movie clip, which is loading a portfolio. A movieclip holding the images drops down into the screen and then when the user clicks the return button within this movie clip, it dispatches an "end" event. In the main timeline, I have put in a gotoAndPlay(frameno); in response to the "end" event.

From this "frameno" the movie plays on and is supposed to come to a stop at the end of the timeline. The problem is that it is ignoring the last stop and jumping back to the first frame of the movie. Also, the stop I placed to let the user browse the images, and listen for the end event, is being ignored and the timeline is proceeding as normal and looping continously.[code]...

View 1 Replies

ActionScript 2.0 :: Scrolling Loaded Movies - Hold Down The Button And Have The Movie Scroll Continuously?

Mar 24, 2004

Ive made two simple up/down buttons, that "scrolls" a loaded movie by the following code (lets say the movie is loaded to level 5):

_level5._y += 5;

Very simple.

Well, Id like to be able to hold down the button and have the movie scroll continously, like the scroll++ code does for textboxes.Is that possible?

View 2 Replies

ActionScript 3.0 :: SWF Starts Playing Before Getting Loaded?

Jul 19, 2011

I'm using the following script to load external swf's in to a main swf, but when I simulate download, the sound of the external swf starts playing before it is completely loaded, i.e, when the percentage in the bandwidth profiler reaches about 60% the sound of the swf being loaded can be heard, and when the percent reaches 100, it continues playing and the content of the external swf are now visible.

var myLoader1:Loader = new Loader();
addChild(myLoader1);
var myRequest1:URLRequest = new URLRequest("myMovie.swf");
myLoader1.load(myRequest1);

[Code]....

View 9 Replies

ActionScript 3.0 :: Ensure Sounds Do Not Get Loaded Before Preloader Starts

Feb 28, 2010

However when doing so it then has to load this sound file even before the preloader can display. One work around I've used before is to make a swf that just loads the entire second swf. This ensures that everything will be loaded at the start.However, if possible I would like to avoid this. I know that if i place the sounds on the stage (after frame 1) the preloader works fine, but at that point Im unsure how to access them within my as3 files.So if anyone knows how to ensure the sounds do not get loaded before the preloader starts and I am still able to control them via actionscript.

View 1 Replies

ActionScript 2.0 :: Stop Website Music / When Clip Starts To Play

May 18, 2010

when you play the short clips the sound of the site keeps playing in the background and the sound of the video plays over the top. Is there anyway to stop the website music when the clip starts to play and when stop or the clip finishes the website sound starts to play again. So you know what I mean the website is URL...

View 1 Replies

ActionScript 2.0 :: LoadSound Starts Fine, Then A Second Starts Replaying Again?

Apr 8, 2006

I've got a site that is using loadSound to play some mp3s and it works fine. however, the sound starts to stream, and then replays itself like a second later. my guess is that its playing faster than the load is going and when it gets to the point where it hasn't loaded enough, it starts to replay it, but i'm not sure that that is the exact problem. my code:

[Code]...

now, i tried making a playTrack function that i can call with setTimeout and i put that in the onLoad in place of track.start(), but that didn't work either (i was hoping to not start playing the track for 3 seconds to give it some time to buffer).

View 1 Replies

Media Server :: Server Always Starts With A Particular Application Loaded?

Apr 4, 2011

The server on which FMS was running crashed due to a power failure. FMS is set to start, and it restarted with the server.Unfortunately it restarted with no applications loaded, including the application, which we need to run continuously.Is there some way to ensure that the server always starts with a particular application loaded? The only way I could find to load it was through the systems console.

View 1 Replies

ActionScript 2.0 :: Targetting A Movie Clip - Loaded Into A Container Clip From Main Timeline

Nov 24, 2005

I am targeting a a movie clip. The problem is that all the syntax I have found for targetting clips looks like this: _root.sample_mc.sample2.mc. etc. The problem is, my target clip is in an swf that I've loaded into a container clip from my main timeline. So, essentially, I have a home.swf that loads menu.swf into a container called 'location'. In menu.swf, I have an MC called center, which contains the MC I am targetting called 'target'.

View 2 Replies

ActionScript 3.0 :: Controlling Audio In Loaded SWF

Jan 23, 2009

I have several flash swf's that are about 10 - 20 min. each. I load these in a player that I have created as the user selects them from a menu in the main swf (a swf player basically). I can pause start and stop the swf's with no problem, but I can't seem to get a handle on controlling the audio. I have the audio in the loaded swf's timelines because I need to sync the audio with the animation taking place in those swfs. I could, take the audio out of the timeline (after syncing it), and then load it separately, but it would be much cleaner for me to just have it in the timeline.

I've resorted to the SoundMixer of the main swf to mute and change the volume, but I can't get hold of the Sound(), soundTransforms etc. of the loaded swf. To assign a play location for the soundChannel I need to access the loaded swf's Sound().Play() function, but I can't seem to do that. I have exported the timeline audio in it's actionscript, supplied a name (same as it's class name), and then tried to access it, but I can't seem to do it (yes I wrap the loaded.content variable in a MovieClip cast--that's how I can control the pause and play of the animation). Tutorials I have found only seem to work with sounds loaded into variables, and none refer accessing timeline sounds in a loaded swf.

View 5 Replies

ActionScript 3.0 :: Audio For Externally Loaded SWF?

Jul 21, 2010

I have navigation panel that basically controls which swf to play on my stage. Every swf file that I have has audio in it. As soon as I have jumped to the second swf (or 3rd,4th, 5th....) , the audio from the previous overlaps the next.

var Xpos:Number = 200;
var Ypos:Number = 0;
var swf:MovieClip;
var loader:Loader = new Loader();

[code]....

View 1 Replies

ActionScript 2.0 :: Stopping Loaded Audio?

Feb 20, 2004

I have scene that loops over and over if the user clicks on the wrong button. The audio is loaded at about half way through the scene.when the scene loops around again, and the user clicks the right button I want the audio to stop. BUT it doesn't and I'm using the same code as I've used before (it works normally)Is it becuase the second time round, at the time the user clicks the button the audio hasn't actually loaded and started playing. All you're listening to is what's left playing from the first loop?

View 3 Replies

Flash :: Actionscript - Remove The Audio - Put The Audio Into A Byte Array And Then Re-add The Audio To The Flv Video?

Aug 6, 2010

If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?

View 1 Replies

Actionscript 3 :: Accessing A Clip Inside Another Clip In A Loaded SWF-File?

Mar 1, 2010

I'm writing a card game in AS3. The artist I'm working with has produced (in Flash CS4) a single swf-file containing all the card graphics and animations. The structure of the fla working file looks something like this:

- Scene
- CardGraphics (Movie Clip)
- CardFront
- CardBack
- CardValueImage (Movie Clip)

In the program I create 52 instances of my Card class, each having a MovieClip instance created from the loaded swf. The idea is to set the frame of the CardValueImage MovieClip to correspond to the Card instance's suit and rank member variables. However, I can't figure out how I access CardValueImage and call gotoAndStop (or whatever method I will need to call).

[Code]...

View 2 Replies

ActionScript 3.0 :: Fadeout Dynamically Loaded Audio?

Jul 3, 2010

I am loading mp3 files from php into Flash based on when a user clicks a link of audio files to listen too. I would like for the audio to start fading out 10 seconds before it finishes.how I can determine when a song will end and create a timer around this.

View 3 Replies

ActionScript 3.0 :: Sync Audio Loaded With MovieClip?

Jun 30, 2011

I have a voice over that I am trying to load, and sync with on screen animations. So when the narrator says something the animations back it up. However, when I embed the audio clip in the timeline, it makes my whole flash movie slow to a crawl, and everything gets out of sync anyway. When I load it externally using AS3 like this:

ActionScript Code:
var my_sound:VoiceOver = new VoiceOver();
var channel:SoundChannel = my_sound.play();

Everthing works great, but I don't know how to sync it with my movieClip that contains my animations. Is there a way to have the external audio sync with a movieClip on the timeline?

View 7 Replies

ActionScript 2.0 :: Unload Clip With A Button In The Loaded Clip

Jan 1, 2008

So I want to Unload a clip with a button placed in the loaded clip.

First I have this code for my preloader and movieclip loader:

var mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Object();
mclL.onLoadProgress = function(target,loaded,total) {

[Code].....

View 1 Replies

IDE :: Audio Editing And Trimming Of Clip

Dec 11, 2009

recording audios and trimming them with flash. way to go 'bout it. Is there any available component that i can use or do i have to create something from the scratch.

View 2 Replies

ActionScript 3.0 :: SoundMixer.stopAll(); - Kill Audio In Loaded SWF?

Aug 25, 2010

I've currently got a flash site written in AS3, into which i'm loading an AS2 SWF that plays audio.The AS2 SWF is loaded into a container movieclip at Frame 10, when a specific navigation button is pressed, the playhead advances to this frame, and calls the SWF. When the user navigates away from this frame, SoundMixer.stopAll(); is called to kill the audio from the loaded AS2 SWF.

This works fine inside of Flash however, when deployed to the browser, the audio playing in the loaded AS2 SWF carries on playing.I've tried loading a new blank SWF in it's place to kill the audio, as well as a blank SWF with stopAll(), all of these solutions work within the Flash IDE (CS4) however the audio always persists in the browser.

Code:
var swfLoader:Loader = new Loader();
holderMC.addChild(swfLoader);
var bgURL:URLRequest = new URLRequest("ytPlayer.swf");

[code]....

View 1 Replies

ActionScript 3.0 :: Stopping UILoader Loaded Audio Of A .swf Video?

Jan 21, 2010

I have 3 buttons (and 3 .swf videos).Each button makes the main timeline go to a specific frame and stop.Each Frame tells the UILoader to load a different assigned .swf video (source parameter).

Problem: when playing the project's .swf in the Flash Player, "VISUALLY" the videos properly switch,but the Audio continues, so the Audio for all 3 videos are playing simultaneously.How do I get the current video's Audio to stop when the new video is loaded ?I experimented with enabled = false;"(and other methods) between the changing videos .

switch(eventMLR.target.name) ...
case "myVideo1MLR_btn":
for (k= 0; k < sndArrayMLR.length; k++){[code]..........

View 1 Replies

ActionScript 3.0 :: Pause/Resume Audio From External SWF Loaded

Jun 20, 2011

loaded an external swf (with audio) in a conteiner swf.
 
From the cointeiner I want to controll audio pause/resume.
 
I know the procedure to do this with a mp3 file, but I can't  intercept the sound channel of my child swf...
 
this should be the code to obtain the sound position:
 
var soundChannel:SoundChannel = new SoundChannel();
var sound:Sound = new Sound(new URLRequest("SOUND.mp3"));
soundChannel = sound.play();
pausePoint = soundChannel.position;
  
But I haven't the mp3 path.... My mp3 is embedded into swf child. And I can't put actionscript function in child, because is haven't source fla.

View 5 Replies

ActionScript 3.0 :: Accessing A Loaded Video's Audio Tracks?

Mar 14, 2012

Is it possible to access a video's audio tracks when playing an flv, mp4, m4v, etc? I am trying to build a player where I can switch between different language tracks but can't find how to access this property.I am using the FLVPlayback component:

ActionScript Code:
mPlayer = new FLVPlayback();
mPlayer.width = 957;

[code]....

View 0 Replies

ActionScript 3.0 :: Syncing Externally Loaded Audio Files?

Mar 30, 2009

I've developed an application which uses a (dynamic) XML file to load in several files; a maximum of four MP3 files and a number of JPG files.When everything has finished loading, the user can press a "Play" button. The application could be described as a "mixer"; it's used to give online music lessons and to facilitate this, the sheet music is loaded (cut up into into several JPGs) which move horizontally on the screen like a marquee, while the music it represents begins playback. The music exists of several MP3s so that the user can mute (e.g.) the vocals or the drums, allowing him to focus on (e.g.) the guitar.

So what's going wrong, is that the audio files are not playing in sync. They are all pre-loaded so any delay between files shouldn't be sought in the files not being fully loaded yet. For initiating playback in the application, I'm using a simple function with a for loop in it, which sets each instance of my sound class to start playing at position 0 of its timeline (I've added in highlighting for all of the "code" blocks in my post, to keep everything easy to read through):

Code:
function playSounds():void {
for (var iCnt:Number = 0; iCnt < aSound.length; iCnt++) {
// Start playback for each sound, at the time position set in the

[code]....

Seeing as this didn't work, I have no clue what I could give a shot next... so if anyone has any ideas or suggestions, it would be greatly appreciated! Something else I noticed, was that if I run the application on very fast PCs, the MP3s are almost always in sync, but the PC that I'm developing on isn't that sluggish either and they hardly ever run in sync on it - so it will form a problem for pretty much all of the people who will use the application.

View 1 Replies

ActionScript 2.0 :: How To Stream Audio Clip Through RTMP

Aug 20, 2009

I'm trying to stream an audio clip via rtmp in as2. I'm not particularly attached to the method, but this is the starting point I am at below:

Code:
var s:Sound = new Sound();
var req:String = "rtmp://path/filename"; //doesn't work
var req:String = "[URL]"; //This works
s.loadSound(req, true);

I need to get an RTMP audio stream working, does anyone have any experience with this? (Also not sure if this goes in the actionscript folder or the sounds folder.

View 3 Replies

IDE :: Embed A 20 Sec Clip (with Audio) Plays Automatically?

May 9, 2010

Im making an animation to describe how a potential iphone app would work. Its going to be a 3 min clip not interactive at all, just plays right through showing how it would work. This is not for web. Just for presentation purposes.

By problem is this: Within the timeline, i need to embed a 20 sec clip (with audio) the plays automatically and when it ends the rest of the animation continues. I cannot for the life of me figure out how to do this without the audio and video being all messed or the video not exiting the screen once its finished. I hear all this talk of action script but have no clue where to start.

View 1 Replies

Actionscript 2.0 :: Controlling Volume On External Audio Clip

Jan 26, 2010

I've designed a website for a client and it's completed but she's complaining that the music on the website is too loud. I made a button so you can turn the sound on and off, but i have no clue how to make a volume button for an external audio clip and i haven't found a single tutorial on the internet that can help me with this specific issue. Can someone help me with this and give me a step by step instruction, including any code i need.

View 1 Replies

ActionScript 3.0 :: Fade Out Audio Clip When Clicking A Button?

Apr 8, 2012

I have intro audio music playing on a project I am working on. The audio is in the timeline (but doesn't necessarily have to be), and when I click a button to move away from it, it just keeps playing. I can use SoundMixer.stopAll(); to make is stop as you click the button, but this makes a rather harsh abrupt stop to the music that is undesirable. I would like to have it fade the audio track out once the button is clicked.

View 14 Replies

ActionScript 3.0 :: "TweenEvent.MOTION_START" - Start Moving The Second Movie Clip At The Same Time When The 1st Starts Moving

Nov 28, 2010

I have some simple script that has 2 "movie clips". What I want to do is to start moving the second movie clip at the same time when the 1st starts moving. (both start moving at the same time) I tried the following script but it never works:

[Code]...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved