Working on a an interactive thing in Crandon today. Made a little loading thing for it, even though it won't be distributed on the web. I just wanted to learn how to.
It works like this:
In a move clip on the main timeline on the first frame I have...
if (_root._framesloaded == _root._totalframes){
_root.gotoAndPlay("Loaded Stuffs");
}
then..
FADE IN LOADING ANIMATION
then..
frame label: "beginloop"
if (_root._framesloaded == _root._totalframes){
gotoAndPlay("loadingfinished");
}
LOOP ANIMATION
then..
first frame of fadeout
if (_root._framesloaded == _root._totalframes){
gotoAndPlay("loadingfinished");
} else {
gotoAndPlay("beginloop");
}
then..
second frame of fadeout labelled "loadingfinished"
then..
last frame of fadeout..
_root.gotoAndPlay("Loaded Stuffs");
I'm sure that'll be really easy to read back and make complete sense when I look at it again.
Of course it will, when I look back at it I'll be able to recognise it instantly and laugh at it's simplicity as I would have since made much better things.
Subscribe to:
Post Comments (Atom)
1 comment:
label:
i have nothing interesting to say
goto label:
but you seem to be doing well at crandon doing what seems like actionscripting..
cheers matey
Post a Comment