|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Yet another LoadMovie issue
here's what I want:
You click a button and it loads an external file's sound to play with in a movie clip. Then after the sound completes playing it automatically moves on to the next sound. I'm using Flash MX 2004. Here is what I have. I click on a button that tells "sound" movie clip to go to frame label "track01". on (release) { tellTarget ("_level0.sound") { gotoAndPlay ("track01"); } } In the "sound" movie clip, the frame labeled "track01" contains an action. This action is: loadMovie("http://www.mysite.com/audio/track01.swf", "audio"); it loads into an empty movie clip called "audio" (which is on layer 2 in the "sound" mc). track01.swf plays and. in frame 100 of the track01.swf file. I have an action that tells the "sound" movie clip to go to frame labeled "track02". tellTarget ("_level0.sound") { gotoAndPlay ("track02"); } of course in the "track02" frame it has similar actions as track01 but this time loading track02. This way it loads the movie clips one after the other like a CD would. everything works until the track01.swf movie clip tells the "sound" movieclip to go to "track02". I get this error: Target not found: Target="_level0.sound" Base="_level0.sound.audio" here is where everything is located.. just in case you got lost. button = _level0 sound (mc) = _level0 audio (mc) = _level0.sound I've tried everything. Even loading it into level1. But I'd rather it load it in an MC. But which ever way works the best is essentially the key. Any insight is greatly appreciated. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Yet another LoadMovie issue |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|