A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: scrolling tile on layer not working<---fast replies appreciated

  1. #1
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    892

    scrolling tile on layer not working<---fast replies appreciated

    I have a layer, I need the whole thing to scroll, and I need it to tile while it scrolls. Simple enough, but it doesn't work. I'm using 4.92, and 4.91, I don't really have the time to to go through all the beta versions, but if one will do this easily, then let me know and I'm after it. If there's another simple way of accomplishing this, then I also I need to know.

    This is for a job, and time sensitive(which is why I'm up at midnight working on it), I'm off to try some obvious things(most I've already tried), but would appreciate any advice, help, or work arounds that you can offer in the mean time......

    Thanks-J

  2. #2
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    892
    ......here is a stripped down version of the file, all I need to to is get the layer to tile as it's scrolling.......

    I swear this used to work, it was so simple....

    -J
    Attached Files Attached Files

  3. #3
    Senior Member kusco's Avatar
    Join Date
    Nov 2001
    Posts
    681
    The quickest workaround, is to create two copies of the scrolling list, and just manually drag them into position on either side of the first list (don't worry about increasing the swf file size, compression loves repetition) and then add some scripting along the lines of ..

    if (layer.x > some_maximum) layer.x -= width_of_original;
    if (layer.x < some_minimum) layer.x += width_of_original;

    This is what scrolling tiles does, except scrolling tiles clones the two copies for you, and works out the minimum, maximum, and width for you.

    In the meantime, we'll look into why this didn't work for you on the first time around.
    Cheers,
    kusco
    (3DFA Support Team)

  4. #4
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    892
    Thanks, I'm in the middle of something else right now, but I'll flip back to that in a few......


    .......been a long night, everythings last minute.


    -J

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