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"])

Skeleton Preparing

Pylex Skeleton preparing by me. What is skeleton? Skeleton is simple empty app group in pylex. When you start a new app with pylex. You may choose use skeleton with copying a directory.
Skeleton app contains  lib app, test app (unit test(flexunit) of lib app), a gui app.
Skeleton app close to finish.

Followers