-
onClipEvent(enterFrame) and Streaming Sound Issues
Hey All,
I'm having a problem with streaming sound. I have a movieclip on the main stage, which contains roughly a 60-second presentation with various streaming sound elements to it. I call for the movieClip to start playing via:
onClipEvent(enterFrame) {
play();
}
(The above is attached to the instance of the movie). This causes the sound to skip repeatedly. It sounds like this is because the sounds trying to play every "x" frames because of the onClipEvent(enterFrame). However I don't know how else to start this movie playing, from outside of it (on the main stage).
Does that make sense? Any suggestions that might help would be greatly appreciated.
Thanks.
-
Unless the movieclip has a stop() action on it's first frame, you shouldn't need any code at all to play the movieclip - it should play when the main timeline reaches the frame containing the movieclip...
If you do need to use code to trigger it, use onClipEvent(load) rather than enterFrame...
K.
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
|