A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Scrolling left and right not up and down

  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    51

    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.

  2. #2
    Can't Re-Member madzigian's Avatar
    Join Date
    Apr 2004
    Location
    Boston MA
    Posts
    2,662
    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.
    Please DO NOT PM me simply for individual help. Post in the public forums...that's what they are for, and they allow others to benefit as well. - Thx
    OS X 10.3.9 || Flash MX04 Pro
    | del.icio.us || furl || Helpful Source Files || Free Pixel Fonts |

  3. #3
    Senior Member hum's Avatar
    Join Date
    Sep 2003
    Location
    CloudCuckooland
    Posts
    1,714
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center