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!

odd preloader behavior

Status
Not open for further replies.

firegambler

Technical User
Sep 25, 2002
455
AT
hi folks!

could you please give me a tip...

i am building up a site for the birthday of a friend of mine. i experienced something odd concerning the preloaders:

i have the same preloader in 3 files but in one it won't make _root go to the next frame (leadingteam.swf) unless the button to load that film is clicked again, just the preloader shows up for a second...
can anybody understand this?
the main film is homepage.swf; info.swf and leadingteam.swf are loaded into a clip in homepage.swf

please find the files on
and see the problem on
regards

tektips.gif
 
What's that component in the main movie?

Where's the actual loading code?
You seem to set a variable with...

_root.film="leadingteam.swf";

But where is the actual loading call?

Regards,

cubalibre2.gif
 
Any suggestions so far...?
For those who may be a little less patient than Oldnewbie (thanks for spendig some time on my code that is sometimes taking some time to get used to it), here is an appendix to make the files transparent.

The file homepage.fla contains the buttons to load the other films into an invisible clip called "clipholder" which is positioned x=0, y=20, on a separate layer.

To make it possible to fade out the film which is actually loaded in the clipholder i made a movieclip called "filmlader", it is a big, black dot on the top left corner next to the stage.

When clicking a button a variable is defined, the filmloader makes the actual site vanish and then load the new one according to the variable which is in fact the name of the film that should be loaded.

The code of the preloader is all put on the bar in the rectancle below the text "loading site".

hope you can help me, im quite lost at this point.

thanks in advance!!

regards

tektips.gif
 
I basically think that your alpha manipulations on the clipholder, is what is causing the problem. If you removed them and just load the movies, it seems to work fine. Mind you, it does seem to work after a second click, so maybe it's just a question of sorting this visibility business of the clipholder on the initial selection made.

Regards,

cubalibre2.gif
 
what exactly do you mean by "sorting this visibility business of the clipholder on the initial selection made"? in some cases my english skills do not seem as well as they should be, would you mind fomulating this in another way for me?

regards

tektips.gif
 
anyway... solved the problem by using levels instead of loading into a clipholder. the rest of the procedure remained the same.

thanks for spending some time on the issue!

regards

tektips.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top