-
Sound Objects and LoadMovie
Hi...
I'm having a problem getting my sound objects to work in a site I'm putting together. I have a music player in a flash movie in level 2. I believe it is a path problem since the movie works on its own, but not when loaded from the root level.
On the first frame of this movie, I define the sound objects:
track_breathe=new Sound(this);
track_feel=new Sound(this);
track_together=new Sound(this);
track_feel.attachSound("feel");
track_breathe.attachSound("breathe");
track_together.attachSound("together");
When the player reaches a certain frame, I load the sound object like this:
_root.track_breathe.start();
Everything works great when I publish the movie by itself. But, when I view this within an html page (where I load the music player into level 2), the music does not start.
I tried using _level2.track_breathe.start(); but that doesn't seem to work either.
Anyone have any ideas?
thanks!
tony
i think i can, i think i can
-
I figured it out...thanks anyway.
Not only did I paste the wrong code in when I asked the question, but I made a simple mistake in my files.
...one of those days.
i think i can, i think i can
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
|