I tested something similar a while ago (using Zinc), here's the link to the forum thread, maybe that's interesting for you: http://forum.openlaszlo.org/showthread.php?t=12990
On Feb 11, 2010, at 4:32 PM, Henry Minsky wrote: > If you have a .swc library you want to link to, just put it into the > directory WEB-INF/flexlib. > See the example Antun wrote up of how to use Google Maps .swc library for > details. > http://www.antunkarlovac.com/blog/2008/11/17/google-maps-in-openlaszlo/ > > > On Thu, Feb 11, 2010 at 10:23 AM, P T Withington <[email protected]> wrote: > You could look at lps/components/extensions/av/ to see how to use the > <passthrough> tag to get the import you need. Once you have the import, you > can just write script referencing the imported class... > > You would say something like: > > <canvas> > <passthrough> > import com.hippox.Application; > </passthrough> > <handler name="oninit"> > Debug.info("Application folder = %s", > Application.getInstance().getApplicationFolder()); > </handler> > </canvas> > > Hm... then there is the issue of how do you tell the Flex compiler to locate > your additional class library. Maybe Henry can tell you that. > > We welcome this kind of experimentation, but you must be aware that when you > call platform-specific interfaces your application will be tied to that > platform. > > On 2010-02-11, at 01:40, Daimyo wrote: > > > I'm Trying http://hippohx.com a open source Flash to EXE compiler my first > > experiments were doing well i compiled my openlaszlo lzx to swf 10 and then > > to a windows friendly GUI program with the debugger on and all worked fine. > > now comes the harder bits and I'm not sure how to make its api integrate to > > openlaszlo see (http://hippohx.com/api/) they seem ease to implement just > > call the as2/as3 and let Flash do the rest and the program could run small > > exclusive application and would be able to keep itself up with SQLite > > running its database. like there first test swf here, add > > > > [CODE] > > *package { > > import com.hippohx.Application; > > * > > > > * public class MyClass{ > > public function MyClass(){ > > trace("Application folder = " + > > Application.getInstance().getApplicationFolder()); > > } > > } > > }* > > > > [/CODE] > > > > This would Returns the full path of the folder in which the application is > > running. If you are planning to use this folder to store data. as a string. > > How would i go about including all the AS2 or AS3 Class, Functions to > > Openlaszlo or would this be a Good example to add EXE compiling to > > openlaszlo lzx. > > I'm use Net Beans 6.8 Glass fish full working, in FREEDOM CORE 12 /// Window > > is for Games only... LOLS > > > > > -- > Henry Minsky > Software Architect > [email protected] > >
