|
-
Ivor1
[RESOLVED] Simple sound problem
I want to have music playing the same track as the user navigates through the site; but whenever I go from frame to frame, the music starts afresh so that there are simultaneous versions of the same track playing.
I have had to take the music off the attached fla due to the file size. Can anyone help me, please?
Last edited by ivor1; 12-28-2008 at 02:08 PM.
-
Ivor1
Ok, so I took off the multiple instances of the music button and only have one now. When I cllick forward from frame to frame, all works well, but as soon as I click back from ,say, frame three to one, another instance of the music starts up- so the problem, though narrowed down, remains. Can anyone help- I'm sure it's something simple?
-
PlayerForever
Some tips
- make a preloader on frame 1 ... you might have some problems later if you dont do that (like incomplete loading)
After you check everything is loaded
gotoAndPlay(10)
(this means music starts only once)
- place the startup music on frame 10 (lets say)
gotoAndStop(11)
- 1st chapter is on frame 11
- 2nd on frame 12
....
-
Ivor1
Okay, thanks for replying, but I'm still a bit confused. I have attached a version with a preloader but I'm still in the dark over the proper actions?
Last edited by ivor1; 12-28-2008 at 02:08 PM.
-
PlayerForever
I don't like the format you have. its a mess (too many layers, repeated code etc).
I prefer to write the code directly on objects. Here is a very simple format for what you have with only 2 layers
Over - here you place the content only once and will appear on all levels
Content - unique content
http://www.ucanplay.com/ivor.fla
If you have more questions please explain better. I did not understand all you asked (english is not my first language)
-
Ivor1
Thanks for taking a look. I cannot open your fla- I get the "unexpected file format" error message. I am using F8.
My problem was whenever I navigate back from frame to frame- e.g. from assist to services, the music starts afresh so that more than one instance of the music track plays. I need to navigate with only one music instance playing at a time.
-
PlayerForever
i updated the file..also now is saved flash 8 not cs3
http://www.ucanplay.com/ivor2.fla
-
Ivor1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|