Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-02-2002, 05:36 AM   #1
phil_roy
Registered User
 
Join Date: Feb 2002
Posts: 16
Exclamation Stopping movie but keeping sound looping

I’m using a preloader that loads two movies....a long animation and a sound loop. The preloader I use actually controls two other preloader scenes in each of the movies. So, the user gets “Graphics loading” and “Sound loading”, then we are off!!

So, the two main clips are made up like this.....

phase1.wsf (animations)
--scene 1 (preloader)
--scene 2 animation
--scenen 3 (trigger sound loop)
--scene4 (more animation)

phase2.swf (sound)
--scene 1 (preloader)
--scene 2 (1 frame sound loop with “on/off” button)

The preloaders work...then, one movie (of animation) starts and then this triggers the music to start at another point. However, once the sound movie is triggered to play, it plays the sound, then goes back to the first scene (the preloader), considers the movie loaded and stops ...all movies!

You can see the example not working at.....

http://attru.massey.ac.nz/new_site/index8.html

What I really need is some way to say (in phase1)
--trigger the scene 2 in phase2.swf (I’ve achieved this!!)
and in the sound movie
--don't move off this frame!!

Any attempt to keep the sound movie staying at one point (via a goto command) causes the sound to build on top of itself.

Phil
phil_roy is offline   Reply With Quote
Old 02-02-2002, 08:22 PM   #2
djcontact
Registered User
 
Join Date: Jan 2002
Posts: 15
Default

one thing that i was told by my instructor was,
"DON'T USE TO MANY SCENES."

so i'm guessing that you should to try to just use your preloaders in one scene and everything else on another scene. so in other words try to use just two scenes per phrase.

try that out and let me know if it works.
djcontact is offline   Reply With Quote
Old 02-02-2002, 09:57 PM   #3
phil_roy
Registered User
 
Join Date: Feb 2002
Posts: 16
Angry

Hi,

Everything I read say break long movies up into scenes. Anyway, that is actually beside the point.

If (in both movies) I only have two scenes (1 being the preloader and the other all the rest) that will not solve the problem. The problem is that the first movie is substantially longer in scene 2 (and beyond) than the second (sound) movie....which in scene 2 is just one frame with the sound loop and an on/off button.

So, the first movie triggers the sound movie and then continues playing. The problem is that the sound movie decides it wants to continue "playing" too....so jumps back to scene 1, decides it is all preloaded and stops...thereby shutting down the animation.

The problem is that in the second scene of the sound movie, if I say "keep playing frame 1" the sound loop builds upon itself time and time again.

Phil

Note : It had also been suggested I change the sound to "Start" rather than "Event". This had no effect.
phil_roy is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kenny Bellew Sound Object Tutorial Updated Kennyb ActionScript 2.0 23 05-09-2007 08:38 PM
:confused: Dynamic Sound Fader in loaded movie tweaknee ActionScript 1.0 (and below) 5 06-09-2004 02:57 PM
sound in movie clip??? srichards00 ActionScript 1.0 (and below) 1 06-07-2004 10:59 AM
to start the sound from the starting point after stopping the sound in the middle ayyuTwo ActionScript 1.0 (and below) 1 05-26-2003 09:31 AM
attach sound problem cbalke ActionScript 1.0 (and below) 18 09-06-2001 02:07 AM


All times are GMT. The time now is 11:51 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.