-
Mental Deficit
Rollover how 2
I want a ball to move to a certain y position on rollover.
Here is my code on the mc.
onClipEvent (enterFrame) {
this._y += (newy-lasty)/5;
}
and here is the code on my button
on (rollOver) {
lasty = _root.rollover._y;
newy = 225;
}
thanx in advanced people.
What seems to be the prob is that the mc wont recognize the variables declared in the button.
I can only postulate the probability of performing at a paramount level of perfection praised by the pulchritudinous paragon whose only practice is to preserve such a paradigm.
-
half as fun, double the price
onClipEvent (enterFrame) {
this._y += (newy-this._y)/5;
}
on (rollOver) {
_root.rollover.newy = 225;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|