Loading external swf's in preloader.

This is a discussion on "Loading external swf's in preloader." within the Flash & Multimedia Forum section. This forum, and the thread "Loading external swf's in preloader. are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 11th, 2006, 13:14
Junior Member
Join Date: Sep 2006
Location: Oslo
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Loading external swf's in preloader.

I have made a site, and lots of "sub sites" outside my main page, that I just load by scripting:
on (release) {
loadMovie("Filmer.swf",_root.Ramma);

}
And I have inserted a preloader in the first frame in my main site, it goes like this:
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int(loaded/total*100);
text = percent+"%";
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(2);
}
}
Can I make this load other swf's as well, so you dont have to load every single page at my site?
Lassjus
Reply With Quote

  #2 (permalink)  
Old Dec 12th, 2006, 15:39
Junior Member
Join Date: Sep 2006
Location: Oslo
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Loading external swf's in preloader.

Bump gubbi.
No one knows?
Reply With Quote
  #3 (permalink)  
Old Dec 14th, 2006, 21:06
Junior Member
Join Date: Sep 2006
Location: Oslo
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Loading external swf's in preloader.

Bump. Jacob. Do you know. You told me to fasten up my site. This would be done by loading the content of the sub sites as well as the main site, right? Please, if someone know, tell me.
Reply With Quote
  #4 (permalink)  
Old Dec 15th, 2006, 05:12
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Loading external swf's in preloader.

What's up??
Reply With Quote
  #5 (permalink)  
Old Dec 15th, 2006, 10:36
Junior Member
Join Date: Sep 2006
Location: Oslo
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Loading external swf's in preloader.

Hehe. Im just wondering how to solve this task. Is it possible to make this script load other swf's? I want it to load the swf's that are the content I load into my main page, so you dont have to wait so long for every click. How do I do that?
Reply With Quote
  #6 (permalink)  
Old Dec 15th, 2006, 13:01
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Loading external swf's in preloader.

I would try something like this: http://proto.layer51.com/d.aspx?f=550
Reply With Quote
  #7 (permalink)  
Old Dec 17th, 2006, 19:30
Junior Member
Join Date: Sep 2006
Location: Oslo
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Loading external swf's in preloader.

Hey. Sorry, I have been unavalible for some while. How could I use that script? I dont know where to put it..
Thank you for the help Jacob
Reply With Quote
  #8 (permalink)  
Old Dec 18th, 2006, 02:57
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Loading external swf's in preloader.

The action script panel...in the first key frame of your flash file, or an external action script file...either will work.
Reply With Quote
  #9 (permalink)  
Old Dec 18th, 2006, 14:25
Junior Member
Join Date: Sep 2006
Location: Oslo
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Loading external swf's in preloader.

hm. Jacob, I'm still pretty blank on this action scripting.
Could someone please take a look at my site. If you have some time to spare.
-Here's my fla-
Reply With Quote
  #10 (permalink)  
Old Jan 6th, 2007, 05:55
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Loading external swf's in preloader.

Still having problems, I can take a look.
Reply With Quote
  #11 (permalink)  
Old Jan 7th, 2007, 02:06
Junior Member
Join Date: Sep 2006
Location: Oslo
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Loading external swf's in preloader.

Heh, if you have the time to. I havent got the time to look into it. I have too much to do.

Thank you!

Lassjus
Reply With Quote
  #12 (permalink)  
Old Jan 7th, 2007, 05:03
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Loading external swf's in preloader.

lol ok. Well I will take a look when I get some time.
Reply With Quote
Reply

Tags
preloader

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
loading external swf's into a certain layer ahwell Flash & Multimedia Forum 2 Apr 13th, 2008 09:25
loading external swf crazytyler34 Flash & Multimedia Forum 3 Nov 15th, 2007 21:38
loading external swf worldheadja Flash & Multimedia Forum 3 Feb 7th, 2007 19:06
loading external content CDT KM Flash & Multimedia Forum 0 Mar 24th, 2006 09:56
loading external swf razor Flash & Multimedia Forum 1 Nov 30th, 2005 15:40


All times are GMT. The time now is 22:03.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43