Last night I learned about how cool scrollRect is. It made things a lot simpler, and faster, for basic rectangular masking. I was pretty stoked. So stoked that I decided to replace my mask within my BaseComponent class with a scrollRect. This worked ok for a bit, until I used a class that drew directly into BaseComponent, and got flash to consistently blow up in my face:

http://newmedia.cdws.ucf.edu/b2evolution/index.php?blog=6&title=scrollrect_mystery_crash&more=1&c=1&tb=1&pb=1

Thankfully this smart guy has already dealt with it. I went and retrofitted my classes to not draw into the root of BaseComponent, and things no longer crash....for now.

So my question is: Do you use scrollRect? Does it work for you? Do you have to constantly be careful of this problem, or do you just not use scrollRect and live with the performance hit?

Thanks,
Chris Hill
Director of Flash Interrogation
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to