I’m working on an OpenLaszlo application using the unreleased version of OpenLaszlo 5.0 (trunk). In one of my classes I need to import ActionScript 3 classes. What is the recommended way to add such import statements?
I’m working on an OpenLaszlo application using the unreleased version of OpenLaszlo 5.0 (trunk).
Share
LZX supports the passthrough tag. The passthrough tag in turn has a when attribute, where you can specify a boolean expression, e.g. $as3 or $swf10:
For the SWFx runtime, the import statement is then injected into the genereated ActionScript 3 class.