-
Scrolling left and right not up and down
I changed the actionscript xs to ys but it still scrolls left and right not up and down. Please help!! Thanks a lot for any tips
onClipEvent (load) {
movespeed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
this._y -= movespeed;
if (this._y<=-521.4) {
setProperty("_root.scroll", _y, -521.4);
}
} else if (Key.isDown(Key.LEFT)) {
this._y += movespeed;
if (this._y>=97) {
setProperty("_root.scroll", _y, 97);
}
}
}
Last edited by newnewnewnew; 06-16-2009 at 01:28 PM.
-
Can't Re-Member
why are you posting Flash 8 files in the MX forum? I can't open this so i can't help. If you need help with Flash 8, post in the Flash 8 forum please...
If you're posting in this forum it is presumed you are using Flash MX, Flash Player 6 and AS1...
If you're not having a problem with MX, or Flash 8 specifically, save the file down to MX04 and try posting in the ActionScript Forum
Last edited by madzigian; 03-03-2006 at 04:16 PM.
-
Senior Member
Hi
You needed to change this also for it to work....
On the layers called "RightScroll" and Left Scroll" there are movieclips,
Double click into each of these clips and change the actions on frame 2
so the x becomes y.
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
|