View Full Version : where is the compiler?!?
jggrossm
01-05-2009, 10:41 AM
I must be out of my mind, but all over this documentation is says that the compiler will render .swf files that I can wrap with HTML. Awesome! How/where do I compile? I see nothing anywhere explaining that. Help, please!
Thanks!
pugmaster
01-05-2009, 11:14 AM
When displaying your Laszlo application within a browser, there is a section towards the bottom (you might have to scroll down to see it) known as the Laszlo Developer's Console. There are several buttons for controlling the target type (swf8, swf9 or DHTML) and for the deployment type (server or SOLO). Make your selections and later an option will appear allowing a zip file containing your application to be downloaded. This zip file will contain your Laszlo application embedded within an HTML file.
-- Norman Klein
Author: Laszlo in Action
jggrossm
01-05-2009, 11:41 AM
Hi - thanks for replying.
Is there a specific local directory this .lzx needs to be in to accomplish this? (I don't do a lot of server stuff, typically.) Firefox thinks that it's an RTF, for one thing. I can't "view my application online" at this point, though tomcat's running just fine.
SteyrerBrain
01-05-2009, 12:31 PM
Typically your applications should be developed beneath a path like
C:\Program Files\OpenLaszlo Server 4.2.0\Server,
even better:
C:\Program Files\OpenLaszlo Server 4.2.0\Server\lps-4.2.0\my-apps
To render your application use a URL like
http://127.0.0.1:8080/lps-4.2.0/my-apps/myApp.lzx
To get the compiled swf choose Deploy: SOLO on the bottom of this web page. The OpenLaszlo Server must be running, of course.
Hope that helps,
Wolfgang
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.