Preloader bar works perfectly, but not if swf is externally loaded
Hi Guys, (using flash 8 professional)
I am at my wits end with this one.
I am no expert in flash but a year or so ago i managed to create a preloader bar which i pretty much use all the time now.
For our companies latest site however i changed the navigation structure to use shell navigation. (basically i have a master index menu that loads in all the sub pages)
Unfortunately the preloader bar no longer works but the percentage and data values update perfectly.
Is there any way i can modify it to work properly.
I have attached the fla file.
The coding on bar is shown below
To see the problem go to www.omega-completion.com (its the intro 3d tools spin round movie that has the problem)
Alternatively open homeflashkit.fla as this is the file the movie loads into
here is jorawar's version of jor_homeflashkit, saved in flash8 format so you can open it in flash8. it's good and it works. 1 thing thou, the preloader bar doesn't go all the way to the end of the track when it get's to 100% loaded, that can be fixed. other than that, jorawar fixed it perfectly. i tested it, using 56K simulated download to see the preloader and it's fine now.
spoke too soon jorwar......unfortunatly the index page on my sit doesnt load the jor_homeflashkit_08.swf file
it just flickers
i will post in the forum
thanks for the help
go into Jor_homeflashkit08.fla, and change this line in the actionscript on frame 1, from "_root.gotoAndStop(2)" to "gotoAndStop(2)". when you put _root in this fla, it targets the root timeline of the host movie, not it's own movie. you could also correct this by putting this line at the top of frame 1 actionscript. "this.lock_root = true" of course without the quotes. doing either of the above will solve this. your index.fla is fine as it is. hth