flurofunk
June 23rd, 2003, 11:05 AM
Hi I'm a actionscriptin newbie and I'm tryin to create movement using actionscript (in a banner) I have read the tutorial on this site but it doesn't quite help me enough!!
basically here's a link to the fla of what I originally did using motion tweening but it's a huge filesize!! With actionscript i can make it smaller - can't I?!
http://intranet.mykindaplace.com/playroom/playroom_banner1.fla
I've got the first image to move from one position to the next but I don't know how to carry on the movement...if I type in more co-ordinates it just twitches!!? this is what I've done so far!
onClipEvent (load) {
loop = 0;
this._x = 280;
this._y = 160;
}
onClipEvent (enterFrame) {
if (this._x>180) {
this._x += -3;
this._y += -2;
(stop);
} else if (this._x<280) {
this._x += 3;
this._y += 2;
}
}
I'd b so chuffed if anyone can help me as my work expect it done by tuesday?! :-\ thx in advance!!
See attached .fla for what I'm tryin to do!!
basically here's a link to the fla of what I originally did using motion tweening but it's a huge filesize!! With actionscript i can make it smaller - can't I?!
http://intranet.mykindaplace.com/playroom/playroom_banner1.fla
I've got the first image to move from one position to the next but I don't know how to carry on the movement...if I type in more co-ordinates it just twitches!!? this is what I've done so far!
onClipEvent (load) {
loop = 0;
this._x = 280;
this._y = 160;
}
onClipEvent (enterFrame) {
if (this._x>180) {
this._x += -3;
this._y += -2;
(stop);
} else if (this._x<280) {
this._x += 3;
this._y += 2;
}
}
I'd b so chuffed if anyone can help me as my work expect it done by tuesday?! :-\ thx in advance!!
See attached .fla for what I'm tryin to do!!