as3 swc component preview through code
Posted
by David
on Stack Overflow
See other posts from Stack Overflow
or by David
Published on 2009-05-02T15:10:00Z
Indexed on
2010/04/06
16:03 UTC
Read the original article
Hit count: 430
flash
|components
I am developing an as3 swc-based component that populates its contents entirely through actionscript in the constructor (e.g. sprite.graphics.lineTo...). When I drag the component onto the stage, it is empty. If I export my movie, everything works perfectly, but I also need the live preview to work. I could get around this with a placeholder graphic, but I would much rather leave it purely as code. Is there any way to get around this? Thanks, David.
© Stack Overflow or respective owner