Hey guys!
I’ve run into something here…
I have an object (MC), with this code:
onClipEvent(load){
_currentframe=random(20 );
}
pretty simple right? Now why does it start on frame 1 anyway??
Hey guys!
I’ve run into something here…
I have an object (MC), with this code:
onClipEvent(load){
_currentframe=random(20 );
}
pretty simple right? Now why does it start on frame 1 anyway??
Shouldn’t it work?
It just won’t…
_currentframe is a read-only property. You can’t set the current frame with it, you can just access it. Why don’t you use gotoAndPlay? [SIZE=1]I hope this is for the game…[/SIZE] =)
duuuuuhhh…
Gawd… Of course…
thanks Pom… my mind isn’t really working well today… :crazy:
This suits you better: :+)
oh yeah? Howcome?
Dunno. Just a feeling. That’s how I feel when my mind’s playing tricks with me… :+) :crazy: (-:
Hehe!
Did ya hear? We’re gonna get a whole new section on kirupa.com with photoshop tutes!
And GUESS who’s gonna make some of’em!
Are we? No I didn’t hear about that. That’s freakin’ awesome man!! Get crazy, man :crazy: oups, I meant :+)