Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-20-2000, 05:46 PM   #1
crzyhorse
Registered User
 
Join Date: Dec 2000
Location: Italy
Posts: 28
Exclamation

Jesse help, I'm having the same problems as Leo99 but I guess I'm just a little more dense than he is.....I'm loading the same type files in the same situation. Can you spell it out exactly where everything goes...before Christmas....please!!!!!!!!Thanks!!!!!!
crzyhorse is offline   Reply With Quote
Old 12-22-2000, 06:55 AM   #2
Jesse
ActionScript.org Owner
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,683
Talking

OK I've made a working example. All the code is in main.fla.
It loads up 1.swf onto Level1, then waits for it to finish, then unloads it and loads 2.swf.

Note that the 'count' veriable is just to cover a bug in loading. (When you first check the _currentframe and _totalframe of the loaded clip they both come out as 1 no matter how many frames the clip actually has, so I put in a variable which waits about 10 frames before it checks... just be sure your loaded clip has 10 frames or more and this should work fine...)

Also note that because the clips are loaded onto levels you will prolly have to adapdt the code a bit to load them into movie clips (if that's what you wish)

Either way:
See it here.
(Note: It doesn't seem to work online, prolly needs a preloader for the loaded clip... it works on my HDD perfectly...)

Download the source.

Merry Xmas!

Jesse

[Edited by Jesse on 12-22-2000 at 07:21 PM]
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 12-22-2000, 09:16 PM   #3
crzyhorse
Registered User
 
Join Date: Dec 2000
Location: Italy
Posts: 28
Cool sei grande!!!

jesse, thanks loads!!!!! merry christmas!!!!
crzyhorse is offline   Reply With Quote
Old 12-22-2000, 09:17 PM   #4
crzyhorse
Registered User
 
Join Date: Dec 2000
Location: Italy
Posts: 28
Cool sei grande!!!

jesse, thanks loads!!!!! merry christmas!!!!
crzyhorse is offline   Reply With Quote
Old 12-22-2000, 10:01 PM   #5
crzyhorse
Registered User
 
Join Date: Dec 2000
Location: Italy
Posts: 28
Question

jesse....it won't down load???????help ob1 kanobi you're my only hope......
crzyhorse is offline   Reply With Quote
Old 12-23-2000, 12:22 AM   #6
Jesse
ActionScript.org Owner
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,683
Talking

The source for the link was bad. Sorry. Fixed it in my post above, clieck 'Download it here'

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 01-26-2001, 03:00 PM   #7
leo99
Registered User
 
Join Date: Dec 2000
Location: Scotland (UK)
Posts: 5
Angry loading external movies repeatedly

Jesse, I got your example working, using both the flash 3 (last frame) and flash 5 (_currentframe, _totalframes) styles, thanks for that. But... being the plank of wood that I am, I can't figure out how to load a third movie in succession using the Flash 5 method, can you help please.
leo99 is offline   Reply With Quote
Old 01-27-2001, 12:18 AM   #8
Jesse
ActionScript.org Owner
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,683
Default

Easiest way would be to make the first controller clip load the 2nd movie into a different level (save level2) then stop itself and tell another controller clip (simply a dupliacte of the first but wwith "level2" everywhere) to start going....

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 07-06-2001, 09:48 PM   #9
Hollywood_Dave
Registered User
 
Join Date: Mar 2001
Posts: 149
Exclamation LoadMovie...the Sequel!!

Ok. I downloaded your code and tried it out. Main, with it's two loaded clips 1 & 2 work fine.

When I tried using the same code for my two movies, it always loads the first one fine, while the second one does not load. I have been staring at this code until nearly blind. I cannot see the difference between my clip and the clip "2" in your example code.

I am working in Flash 5, and it appears all code in this example code you provided is up-to-date in Flash 5. I even renamed my 2 swfs "1" and "2" and placed them in the folder with main. It loaded the first, it didn't load the second.

Wow...I didn't expect this loadMovie situation to be so complicated....
Hollywood_Dave is offline   Reply With Quote
Old 07-07-2001, 11:04 AM   #10
Jesse
ActionScript.org Owner
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,683
Default

it's funny looking back on threads only 6 months ago and seeing how I've changed my styles since, and how much better flash 5 is than flash 4
I've made a new and better version. the code is heaps simpler, and you shouldn't have any problems with it.
http://www.actionscripts.org/help/new_unloader/ open the main.html to view it, grab the zip for the source
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with nested movie clips? hawthorne ActionScript 3.0 1 09-01-2007 07:44 PM
removeMovieClip() not work for components? djandrew Components 30 08-03-2007 04:51 PM
unloading movies that were loaded by an external movie clip mariusR ActionScript 2.0 3 11-06-2005 07:24 PM
Multiple External Movie Loading and Stacking Saed ActionScript 1.0 (and below) 6 10-13-2005 02:52 AM
unloading a movie Saud Ahmed Khan Server-Side Scripting 1 04-15-2001 12:36 AM


All times are GMT. The time now is 08:14 PM.


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