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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loading other .swf conterminously to preload...BUT 1

Status
Not open for further replies.

disfasia

Programmer
Apr 20, 2001
378
CA
The BUT is that I do not want the .swf to load on a different level. I have fixed my slide show issue by just contenting myself with its weight and creating a preload. But I want the slide show to open into a fixed window via javascript which I know how to do.

What I don't know is how to do is make the preload load the other .swf so that once the 2nd .swf (the actual slide show) is loaded, the preload finished, and then the command "ifFrameloaded get url..." pops up the already loaded (virtually loaded?) .swf.

Is this possible?
 
I forgot to mention that I did take the first keyfram off the preloader since I don't want two preloaders, but one....Your suggestion yesterday was great...so I wanted to keept the quotation with the preloader bar underneath and then open with the slide show...
 
Here is my upload of the site:


Now for sure this is the file I used to make this site!
I hope it works for you too.
It's saved as flash5 document

regards

tektips.gif
 
I just saw your last post.
Removing the first preloader seems good to me.
The file that loads the slideshow weighs 11Kb. Must be loaded in 2 seconds... so there is no need for a preloader anyway.
Just use the file I uploaded, linked in my last post and take out the first preloader.
Should work without any problem.

regards

tektips.gif
 
OH, I just saw your last post now. Well I put up the page at the adddress in the previous post and it doesn't work!? I took off the words BUT I still want the quotation with the preloader bar to appear while the second window loads. It is just not happening???


I will put up the fla

so you can see what I did (nothing really).. :)

bestdisfasia
 
I looked at what I would be taking out of th efirst frame preloader and it is the following code. Yet when I put it with the second frame, it doesn't work...???

onClipEvent (load) {
_root.stop();
this._xscale = 0;
}
onClipEvent (enterFrame) {
total = _root.getBytesTotal()+_root.clipholderfake.getBytesTotal();
geladen = _root.getBytesLoaded()+_root.clipholderfake.getBytesLoaded();
percent = Math.round((geladen/total)*100);
this._xscale = percent;
_root.showpercent = percent+" %";
if (percent == 100) {
_root.nextFrame();
}
}
 
sorry it is


and another is


I am going cross-eyed trying to fix this problem with the second window either not popping out, the loading percentage bar not working and/or the window popping out before it is finished loading.

I appreciate your looking at it!

best
disfasia
 
I cannot believe it!!! I put the photographes3 up and flash crashed before I could save the fla....and that was the one that worked!!! oh no!

:(
 
It seems that I cannot find a way to have the second fla to appear after it has loaded. What I thought was a fix, was merely yet another false alarm. If anyone can find a way for this file to pop out another window after that second fla has loaded I would greatly apreciate it! Thanks all!

best

disfasia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top