A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: draw() vs. clips on Stage

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    3

    draw() vs. clips on Stage

    Two scenarios:

    scenario one:
    There are 30 movieClips on stage acting out some time-based scripted 3d.


    scenario two:

    There's one movieClip on stage, and every frame, a for..loop applies a matrix to it 30 times, and a BitmapData draws() the result....

    Which scenario is recommended/more efficient?

  2. #2
    Flash Gordon McUsher's Avatar
    Join Date
    Mar 2001
    Location
    Krautland
    Posts
    1,560
    We had a similar discussion lately..
    http://www.flashkit.com/board/showthread.php?t=659163

    I would highly guess the matrix Transform on the BitmapData will be much faster.
    Last edited by McUsher; 12-11-2005 at 12:52 PM.
    My letters on the F1 key have faded, how are yours today?

  3. #3
    imagination through stupidity
    Join Date
    Apr 2001
    Location
    P3X-3113
    Posts
    1,238
    pre drawn frames will always be faster than frames generated on the fly.. until AS3, still i don't know about the improvements in the drawing abilities.
    Nothing to see here, move along.

  4. #4
    Junior Member
    Join Date
    Dec 2005
    Posts
    3
    yes i'm guessing the same thing too.

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