The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 5 of 5

Thread: About invisible movie clips...

  1. #1

    About invisible movie clips...

    Is an invisible moviclip still in memory?
    I am trying to free some memory since i have lots of movie clips...
    Or i should rather delete them and then add them again?


  2. #2
    Yes, they're still in memory — though, they're not necessarily rendered since their visible = false or if they're not on the display list. But rendering and memory are two separate things.

    If you remove them, stop their timeline, and make sure to clear all references to them, then yes, they should get garbage collected.

  3. #3
    Thanks Creatify for the quick reply.
    So, what would be the best approach to deal with 4000+ mcs? Adding and removing at the same time?
    Since its a big picture matrix and i just want to show a small part (what is in the lense) of the entire picture as the user moves the lense around.


  4. #4
    I'd assume 4000+ mcs is going to perform horribly if they're all on the stage at once. If all those clips are simply tiled next to each other forming one large 'image' — I'd draw all of those to one huge bitmapData. Then you can use scrollRect as a 'mask' or use blitting (can google that) to get performance where it needs to be. I haven't used it, but you may look into this as well — looks interesting.

  5. #5
    Hello Creatify,
    Thanks for ur reply. I am not planning to load all of them at the same time, but just the ones that are inside of a "lense" that i am trying to create.
    I checked ur link and it is something like that (thanks by the way).
    But i have to do it on my own... :-(

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012