Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 15th, 2004, 05:46 PM
sev247 sev247 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 82 sev247 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 h 23 m 43 sec
Reputation Power: 5
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Yet another LoadMovie issue


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway