[thelist] Problem getting MX actionscript working in Flash 5
Tim Hansen - Pink Candy Productions
tim at pinkcandyproductions.com
Thu Aug 29 11:34:01 CDT 2002
Hi,
I'm having trouble getting this MX actionscript to work in flash 5.
On a tangent... Flash 6 has current browser installation stats of 30.2%
according to Macromedia
(http://www.macromedia.com/software/flash/survey/whitepaper/page11.html#appe
ndixI). Due to the source, I'm going to assume that these stats are just a
tad inflated! This is why I'm aiming for at least Flash 5.
Actionscript on keyframe 1, level0
fscommand("fullscreen", "false");
fscommand("allowscale", "false");
stop();
_root.slidingObject_mc.onEnterFrame = function() {
if (_root.running && Math.abs(_root.marker_mc._y-this._y)<1) {
this._y = _root.marker_mc._y;
_root.running = false;
} else if (_root.running) {
this._y -= (this._y-_root.marker_mc._y)*.2;
} else {
}
};
Actionscript attached to button
on (rollOver) {
_root.marker_mc._y = 343;
_root.running = true;
}
on (rollOut) {
_root.marker_mc._y = 144.5;
_root.running = true;
}
Any help is mucho appreciated.
Thanks,
Tim
More information about the thelist
mailing list