Copy link to clipboard
Copied
the fla project have 3 scenes
scene 1 has a mc with sound ( a character talking )
so i create a button on scene 3 to go back to scene 2
when testing
its back to scene 2 but with the sound of the mc on scene 1 ?
how ? why ?
Copy link to clipboard
Copied
do use the goto functions and don't use scene names for navigation.
use the goto methods and use frame numbers or labels.
Copy link to clipboard
Copied
i dont understand
i wont to go back to scene 2
what code i use ?
Copy link to clipboard
Copied
oops, sorry. i thought i was responding on the as1/as2 forum.
ignore my previous post. that info does NOT apply to as3.
what's the instance name of the movieclip in scene1 that has your sound on its timeline?
Copy link to clipboard
Copied
guide_girl
Copy link to clipboard
Copied
in the first frame of guide_girl, add:
trace("guide_girl",MovieClip(this.parent).currentScene.name);
then test your swf including clicking your button that directs your timeline from scene 2 to scene 3.
copy and paste the trace output here.
Copy link to clipboard
Copied
just this
guide_girl Scene 1
Copy link to clipboard
Copied
post a link to your fla
Copy link to clipboard
Copied
very larg data
what i shoud check ?can couse this ?
Copy link to clipboard
Copied
user error.
that sound is attached to something in scene 2.
Copy link to clipboard
Copied
if that is the reason
when testin scene 2 only i should hear the sound ! right
Copy link to clipboard
Copied
yes.
if you don't hear the sound when testing scene2, do you hear the sound if you remove guide_girl from scene 1?
Copy link to clipboard
Copied
no i dont hear any thing
Copy link to clipboard
Copied
create a new fla with the minimum needed to duplicate the problem. upload it to a server and post a link.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
!!! help!
Copy link to clipboard
Copied
that's a flash bug.
to remedy, assign your sound's sync property to start.
Copy link to clipboard
Copied
i try that but still the same problem
Copy link to clipboard
Copied
oh, you also have some errors on your part. scene 1 should contain, at least, as many frames as girl's sound duration.
Copy link to clipboard
Copied
ok done that but the
bugs still there
what i should do
reinstall flash cs5 !
Copy link to clipboard
Copied
here's your corrected file: http://www.kglad.com/Files/forums/Untitled-1.fla
Copy link to clipboard
Copied
well
try to click on button_4 ( whis moves u to scene 3 )
and then click on button button_2 ( whis moves u to scene 2)
and u will still hear the sound of scene 1
Copy link to clipboard
Copied
publish and test in your browser.
Copy link to clipboard
Copied
done and still !!!
am not gonna use it for web
and even when testin on browser
when it begins it start with no sound
and when moving to scene 3 and back
to scene 2 the sound start !
Copy link to clipboard
Copied
Find more inspiration, events, and resources on the new Adobe Community
Explore Now