preloader in external swf
- Started
- Last post
- 7 Responses
- 2chaser
anybody know how to set up a preloader in an external swf?? I don't know how to set up the paths using the getbytes command. Any help is appreciated. Thanx!
- unformatted0
why would you want to do this? you can use external .as like an external javascript src.
- neeko0
do you mean that you want to load multiple swfs on demand, and have one external preloader .swf that 'loads' them?
- frankbb0
on this subject ,anybody know away of loading an swf from another frame in html.
i.e. i have a menu in the left html frame and the preloader would also be in the left frame and it would load the swf in the main frame, which would only show once the preloading is done..??
- Seph0
you want to communicate from flash in one frame to javascript then to flash in another frame.
Use FScommand.
Only problem is I think you need to reload the page to update the variable. If you find a way of not having to reload the page to refresh variable (i.e looping function in javascript) then let me know, but I dont think its possible.
Forgetting frames for a second, why dont you make the swf transparent background and then you can put the preloader in the same swf, just makes it seem like its seperate.
- frankbb0
forgetting frames: i was thinking about this, because in flash now you can make an mc centre to the browser whilst flash takes up the whole width of the browser if you get what i mean..
- 2chaser0
I want to load external swf's into a blank movie clip. Instead of having the viewer looking at a blank area where the external swf goes I want to put in a percentage/bar preloader. I have downloaded source code from many places but haven't got it to work yet. Any ideas?
- unformatted0
do you want to load them in separete blank mc each? why load all of them?
you can preload mc this like preloading any movie using
MCINSTANCENAME.getBytesTotal();
MCINSTANCENAME.getBytesLoaded();should get you started.