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.
|
|
|
|
|
![]() |
||
Loading external swf's in preloader.
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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 |
|
|
|
|||
|
Re: Loading external swf's in preloader.
Bump gubbi.
No one knows? |
|
|||
|
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.
|
|
|||
|
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?
|
|
||||
|
Re: Loading external swf's in preloader.
I would try something like this: http://proto.layer51.com/d.aspx?f=550
|
|
|||
|
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 |
|
||||
|
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.
|
|
|||
|
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- |
|
|||
|
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 |
![]() |
| Tags |
| preloader |
| Thread Tools | |
|
|
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 |