Tuesday, February 1, 2011

Using swc with pylex

You have got a swc file(library) and you want to use with your pylex app.

This is solution.


from pylex import *
a=pylex("Test Compiled Package",layout="absolute", width="100%",height="100%",)
.... component and codes
saveandcompile("test.mxml",staticLinkLib=["yourlib.swc"])

No comments:

Post a Comment

Followers