A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: [Flash8]scrollrect Scroller

Threaded View

  1. #1
    Yes we can tomsamson's Avatar
    Join Date
    Sep 2001
    Location
    Team Titan Secret Lair
    Posts
    4,666

    [Flash8]scrollrect Scroller

    Here is my example of scrolling tiles:
    http://img387.imageshack.us/my.php?image=tiles7zh.swf
    well, the imageshack scales the swf so you better download it and run it at 100% on your computer to see real speed

    Fla is attached.

    The way it works:
    *there is tileset image in the library (1 gif with all tiles on it)
    *random tiles are then chosen from there and drawn on myBmp bitmapData
    *myBmp is 640x640 px
    *tiles mc is created and 400x300 px scrollRect applied to it
    *bitmap is drawn into tiles.bmp mc
    *tiles.bmp mc is scrolled

    fps is set to 32 in Flash

    This uses same engine, but has 3 layers and dropshadow applied to 2 top layers:
    http://img396.imageshack.us/my.php?image=tiles17uo.swf
    /*originally posted by tonypa,moved to its own thread by tomsamson*/
    Last edited by tomsamson; 09-15-2005 at 07:04 AM.

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