|
-
Actionscript
I am trying to move a movie 222 pixels in each direction ... I am using the code below on each button.
on(release) {
var t:Number = img1_mc._x;
new mx.transitions.Tween(img1_mc, "_x", mx.transitions.easing. Elastic.easeOut, t, -222, 8, true);
}
One is negative and the other positive. Once I click on it, it moves 222 pixels and will not move again. Any thoughts ? I would also like to quicken up the transition a little ... are there other options beside elastic ?
Cheers, Mark
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
|