Skip to Content »

FlashApe » One note about hacking CS3’s UIComponent to fix Event.RENDER

 One note about hacking CS3’s UIComponent to fix Event.RENDER

  • May 30th, 2008
  • 10:50 am

Recently I posted about an issue about Flash CS3 components, wmode=transparent, and Event.RENDER, and in that post mentioned the UIComponent hack. One problem I did run into after using that hack was with custom CellRenderers, they didn’t work properly when loaded into another swf (when the parent swf exported it’s own CellRenderer). The fix was simple enough though: I just commented out the stage.invalidate(); line in callLaterDispatcher() and the loaded CellRenderer worked fine again.

Update: I’m going to have to call myself on this one…I must have done something screwy during my testing, because when I went back to it, I couldn’t get it to work. I wound up having to add the custom cell renderer from the child swf into the parent swf, which is reeeaaaal dirty but it’ll have to do for now.

Want your say?

* Required fields. Your e-mail address will not be published on this site


You can use the following XHTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>