Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-03-2004, 03:29 PM   #1
miu66
Registered User
 
Join Date: Aug 2004
Location: Singapore
Posts: 2
Default need help please!! need to load a movie and also a movie within the 1st movie

i have a button in Movie X which is on level 1. When clicked, this button needs to load Movie Y onto level 1, and also load Movie Z into a container movie clip (let's call it containerMC) in Movie Y.

i know this must be a little confusing but i don't jknow how else to explain it. i've tried a couple of methods but just can't seem to get Movie Z to load into the containerMC.

here's the script attached to the button in Movie X:
ActionScript Code:
on (release) {         loadMovieNum("MovieY.swf", 1);         this.onEnterFrame = function(){                 if(_level1.getBytesLoaded() >= _level1.getBytesTotal()){                         //load Movie Z into container movie clip in Movie Y...                         loadMovie("MovieZ.swf", _level1.containerMC);                                                                 }         }; }
can anyone help me pleeeease? it's pretty urgent. thanks in advance.

Last edited by miu66; 08-03-2004 at 03:45 PM.
miu66 is offline   Reply With Quote
Old 08-03-2004, 04:47 PM   #2
yorkeylady
Registered User
 
Join Date: Jan 2003
Posts: 397
Send a message via ICQ to yorkeylady Send a message via AIM to yorkeylady Send a message via Yahoo to yorkeylady
Default

loadMovieNum()

Tip: If you want to monitor the progress of the download, use MovieClipLoader.loadClip() instead of this function.

I am in a hurry, if you need more help I'll check later.
yorkeylady is offline   Reply With Quote
Old 08-03-2004, 05:21 PM   #3
miu66
Registered User
 
Join Date: Aug 2004
Location: Singapore
Posts: 2
Default

thanks yorkeylady! i'll try out loadMovieNum. i'd be grateful if you could help me further if you have time.
miu66 is offline   Reply With Quote
Reply


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.