
June 4th, 2004
04:46 AM
I am myself, in this world.
Status: Offline!
Stuck on my basic Action script. Help Please
Alright I'm going to try to explain what I want to do the best way possible. I have a movie clip of a circle, and when you run your mouse over it I want it to grow and shrink. I also want it to continue to shrink after I move the mouse away from it.
I started working on it myself and I think i'm getting closer to getting my effect correct.
Right now i'm working with two movie clips, the static one and the animated on (which will shrink). I gave the instance names
static_mc
over_mc
//current code for the static movie clip
onClipEvent (mouseMove) {
_root.over_mc.loadMovie();
{ play();
}
}
Is this even near correct for what I want?
___________________
- konsumed 4.3 - Simple is my Argument -

June 4th, 2004
10:44 AM
Crazy Pants
Status: Offline!
I would go a gotoAndPlay(3) Where 3 is the frame where that animated clip is.
So basically, you'd have something like
static_mc.onRollOver() { gotoAndPlay(3); }
//not sure if thats the exact actionscript, i havent opened flash in weeks, im rust lol.
___________________
:: pop ::

June 4th, 2004
03:04 PM
Crazy Pants
Status: Offline!
yea. there ya go lol. as i said, i havent opened flash in weeks, probably months heh. damn you work!
___________________
:: pop ::

June 5th, 2004
12:33 AM
I am myself, in this world.
Status: Offline!
When I tired the code you provided the de bugger spit this at me.
Scene=Scene 1, Layer=circle, Frame=1: Line 2: Statement must appear within on/onClipEvent handler
static_mc.onRollOver = function() { gotoAndPlay(1); }
I'll be back after I take some action scripting tutorials :P
___________________
- konsumed 4.3 - Simple is my Argument -

June 5th, 2004
12:43 AM
I don't know Flash at all. I just know ActionScript because I know JavaScript and they're both based on the standardized version: ECMAScript. Based on that error message I could only guess that you might try changing onRollOver to onClipEvent.
___________________


June 5th, 2004
02:59 AM
Crazy Pants
Status: Offline!
could you just upload the fla?
___________________
:: pop ::