MmM i already i've create some preloader with 2 or more frames in the primary scene but not with only one. Can someone can help me out?
MmM i already i've create some preloader with 2 or more frames in the primary scene but not with only one. Can someone can help me out?
ok, TRy this
make your if frame is loaded bullshit, then just add gotoandplay current scene frame 1 at the very end.
At 3/4/02 03:29 PM, Fultos wrote: MmM i already i've create some preloader with 2 or more frames in the primary scene but not with only one. Can someone can help me out?
Put your preloader script in a movie clip. Like so:
onClipEvent(enterFrame){
if(_root._framesloaded>=_root._totalframes){
_root.gotoAndPlay("Whateverthehell");
}
}
onClipEvent(enterFrame){
if(_root._framesloaded>=_root._totalframes){
_root.gotoAndPlay("Whateverthehell");
}
}
I really dont want to annoy anyone by being the dumbass who doesn't understand anything but what are you supposed to put in where it says 'enterframe' and 'whateverthehell'?
At 3/5/02 01:19 PM, Anthony_john5 wrote:onClipEvent(enterFrame){I really dont want to annoy anyone by being the dumbass who doesn't understand anything but what are you supposed to put in where it says 'enterframe' and 'whateverthehell'?
if(_root._framesloaded>=_root._totalframes){
_root.gotoAndPlay("Whateverthehell");
}
}
You don't put anything in enterFrame. That's the clip event. "When it enters the frame!" And whateverthehell is the frame you want the timeline to go to.
At 3/5/02 01:24 PM, Uncle_Boris wrote:At 3/5/02 01:19 PM, Anthony_john5 wrote:You don't put anything in enterFrame. That's the clip event. "When it enters the frame!" And whateverthehell is the frame you want the timeline to go to.onClipEvent(enterFrame){I really dont want to annoy anyone by being the dumbass who doesn't understand anything but what are you supposed to put in where it says 'enterframe' and 'whateverthehell'?
if(_root._framesloaded>=_root._totalframes){
_root.gotoAndPlay("Whateverthehell");
}
}
Hey eyh! that was a bit confusing. : ) But now just by knowing there is such commands like (_root._framesloaded> that'll surelly help me a bit out. Thanks! To all of you guys!
Now let's make some action script and hardworking even if we know that with Flash MX we'll have: code hinting, color coding and auto-formating. MMMmmmMMM