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

Randomly stops playing

Status
Not open for further replies.

MDLU

IS-IT--Management
Nov 5, 2003
102
US
I just started this site and right after the preloader, the gotoAndPlay seems to actually be a gotoAndStop! you can see it here:

source: and .../loader.fla

I deleted the loader from the movie and it worked fine. I changed the gotoAndPlay(2) (in the loader movie's code) to gotoAndPlay("Start") and it stopped on frame 3 still.

It's probably just a simple wording thing, but I can't see any reason why it should stop there. Please help!
 
This is IMHO, a very complicated preloader for nothing, and I am not even interested in looking into it.

That said, the circles bits are probably not working as you would want them to, but after moving out all of what you had in your onClipEvent(load) and putting it in your onClipEvent(enterFrame), it seems to work fine...


Added some off-stage weight, because it was only 21KB and it still goes pretty fast on a fast connection, but works fine on my old 56k dial-up also.
 
well, the preloader is actually going to be reused over and over again, so I wanted to make it very useful the first time. however, your first line was very, very true! I simplified everything and it makes much more sense now! thanks for the wake up.

would you mind looking at the code again? I'm still having the random stopping problem. It seems that with the onClipEvent(load) in there, it stops at frame3 and then if I delete it, it stops at frame4. When I tested it through a 56K, it even stops at frame2. (and the music is in there for some more weight) could it be that gotoAndPlay() isn't working the way it should and I should reinstall?
 
I did have the same problem when I first looked at your file, but after getting in your preloader mc, got this warning about if I edited this, link would be lost to a shared library (or something of that nature!). Answered yes, made the changes from load to enterFrame, and everything started working.

I could have another look. Have you mailed me the new .fla?
 
Seems to be working, no? I did only check it once though!
Will look at the code later tonight!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top