flash - as3 swc component preview through code -


I am developing an AS3 swc-based component that fully functionscript (such as sprite.graphics.lineTo. ..). When I pull the component on the stage, then it is empty if I export my movie, everything works perfectly, but I also need a live preview to work. I have a placeholder graphic around it. I could get along, but I leave it purely in code form. Is there any way to get around this? Thanks, David

I think I know what you are talking about.

Right-click the library where you have defined your component and export that item to .swf, it will compile all the code for everything and everything in one SDF.

Right click on the item again and go to component definition, set the live preview file in the live SEOFor you just exported.

After you do this, you should be able to see how the item will actually look in preview mode.

I did this just 2 days ago, by going to memory I know that this does not work.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -