Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

load external swf

Status
Not open for further replies.

netchen

Technical User
Apr 19, 2005
21
AU
hi!

in a movieclip on the first frame i have a button with the code:

Code:
on(keypress "<Enter>"){
    gotoAndStop("Sommerhaus");
}

that's fine, it jumps to the specific frame where i have this code:

Code:
onEnterFrame = function(){
	function loadSWF(){
		loadMovieNum("test.swf", 1);
	}
}

stop();

but it doesn't load the movie? the screen is just black (well thats my background). the movie i want to load is about 50 MB big, could it be related with that? but i also tried it with a small one and it still doesn't show it.

as i want to load about 6 different movies into my main swf file (all are about that big) is it possible to load them already at the start of the application so when you actually get to the point where you can see them they are already loaded?

i don't know what i am doing wrong so it would be great if someone could help!?

thanks!
 
in the actions for that frame all you need is

loadMovieNum("test.swf", 1);


if these files are 50mb then i dont think that want to load them all at once
 
ok thanks.

but how can i then be able to load those big movies? is there a way of loading them at the start of the application and then only see them when you click the specific button? they are short films so i don't know how else i can incorporate them into the main application!?

thanks for your help!
 
Is this aimed at slow connected users also?

Loading 6 50MBs movies on a 56k dial-up, yet for 1 alone, is going to take all day!

Regards. Affiliate Program - Web Hosting - Web Design
After 25,000 posts, banned on FK, but proud not to have bowed down to them!
 
no, it's actually an offline presentation - so it should be easy to load the movie i thought, but it doesn't work because of whatever reason!? i thought when it's offline i don't even need a preloader!?
 
you will be much better off with director for a project like this...flash aint the right platform
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top