so the new code reads:
MovieClip.prototype.mcbounceload = function () {
bounce = 0.4;
speed = 0.9;
xpos = _x;
ypos = _y;
};
MovieClip.prototype.mcbounceenter = function () {
x = x*bounce+(xpos-_x)*speed;
_x += x;
y = y*bounce+(ypos-_y)*speed;
_y += y;
};
on each MC this is the code:
onClipEvent (load) {
mcfedernload();
}
onClipEvent (enterFrame) {
mcfedernenter();
}
code on each button:
on (release) {
_parent.mc2.xpos = 26;
_parent.mc2.ypos = 247;
_parent.mc3.xpos = 26;
_parent.mc3.ypos = 267;
_parent.mc4.xpos = 26;
_parent.mc4.ypos = 287;
_parent.mc5.xpos = 26;
_parent.mc5.ypos = 307;
Does this help??
--- Jesse Graupmann <[EMAIL PROTECTED]> wrote:
> AS 2.0 is case sensitive. You can start by changing
> Movieclip to MovieClip
>
> Not sure why you are using a function as a
> multiplier, so you might want to
> get rid of theMover reference inside itself.
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com