Questions tagged [lzx]

LZX (or Laszlo XML) is an XML-based declarative language created as part of the OpenLaszlo rich Internet application platform.

LZX is the declarative user interface language used by the OpenLaszlo rich Internet applications platform, which was created by Laszlo Systems and open sourced in 2004.

LZX consists of a number of predefined tags for UI widgets, data management, application layout and scripting elements (using JavaScript) . LZX supports a class based development with inheritance and offers support for mixins. LZX tags represent components written either in LZX or in JavaScript and ActionScript under the hood. LZX is runtime agnostic, since the OpenLaszlo compiler supports compiling LZX source code into either JavaScript 1.5 (the DHTML/HTML5 runtime) or ActionScript 3 (SWF10/SWF11 runtime).

When compiling an OpenLaszlo application, the LZX code is compiled into an intermediary JavaScript 2 code, and then - depending on the runtime - further compiled into either JavaScript 1.5 (DHTML runtime), or ActionScript 3 (SWF runtime). For the SWF runtime, an embedded version of the Adobe Flex compiler is used to generate the SWF file.

67 questions
1
vote
1 answer

Openlaszlo DHTML custom cursor issue

I am currently migrating my swf 10 OL 5.0 code to DHTML runtime and i am facing this problem. I am not able to set a custom cursor for a view that i am dragging. Then i found that the code that is given in the documentation is also not working. The…
karthick
  • 11,998
  • 6
  • 56
  • 88
1
vote
0 answers

Openlaszlo scaling issue in resizestate

I am actually trying to create a highlighter when dragging i was able to achieve this using the resize state and drawview class. But this is not working when the view is scaled. When i am trying to drag the mouse sometimes its working and sometimes…
karthick
  • 11,998
  • 6
  • 56
  • 88
1
vote
1 answer

Text disappearing when rotating tab component in Openlaszlo's SWF runtime

Why when I apply a rotation tab text disappears of the tabs? Is there any way to keep the labels in its relative position, so it rotate along with the tab? code:
feresjorge
  • 121
  • 3
1
vote
1 answer

How to integrate textarea in openlaszlo?

I am just trying to integrate textarea in dhtml environment. I am able to see the text area But i cannot type anything in the text area. Attached is a code snippet.
karthick
  • 11,998
  • 6
  • 56
  • 88
1
vote
0 answers

Openlaszlo embed.js issue

I have a application where ctrl + s key combination is handled. So when i press this key a new screen appears with some details. This is working fine in mozilla FF 15.0 and 16.0 but when i am viewing it in an AIR web browser runtime 3.4 in full…
karthick
  • 11,998
  • 6
  • 56
  • 88
1
vote
1 answer

How to generate the ActionScript 3 source code of an OpenLaszlo LZX SWF runtime app

When developing OpenLaszlo applications, it's sometimes useful to generate the ActionScript 3 source code of an application written in lzx, e.g. when you want to compile OpenLaszlo into an Adobe AIR application. What is the simplest way to generate…
raju-bitter
  • 8,906
  • 4
  • 42
  • 53
1
vote
1 answer

OpenLaszlo DHTML migration from 4.9 to 5.0 issue

I am trying to migrate my 4.9 DHTML application to 5.0. When i am doing that i am getting an error ReferenceError: EVENT_OBJECT_FOCUS is not defined [Break On This Error] this.sendAAEvent(0,EVENT_OBJECT_FOCUS) And in the line i am seeing this…
karthick
  • 11,998
  • 6
  • 56
  • 88
1
vote
1 answer

Enabling the F5 function key to reload or recompile OpenLaszlo SWF applications

One of the annoyances of the Flash Player is that the player - once it has the focus - blocks certain key events from being passed on to the browser. Especially for the F5 function key used to reload pages or to recompile the application. As a…
raju-bitter
  • 8,906
  • 4
  • 42
  • 53
1
vote
1 answer

OpenLaszlo tag / iframe integration and JavaScript calls

I am trying to call one javascript function present in the html data that i am inserting but i am always getting an error getLoaded is not a method. I have attached the code snippet. What is wrong ?
karthick
  • 11,998
  • 6
  • 56
  • 88
1
vote
1 answer

OpenLaszlo DHTML InputText issue with clickthrough in Firefox 15

For some reason i am not able to enter any text in inputtext in dhtml environment. The same is working fine in swf10 environment. When i hover over the input text i observed that the cursor is not changing to selector. It looks as if the…
karthick
  • 11,998
  • 6
  • 56
  • 88
1
vote
1 answer

How to include   in openlaszlo text pattern

I tried this small example which is working fine but i cant give space in between word which is expected. This text is editable. …
MB24051988
  • 31
  • 5
1
vote
1 answer

Openlaszlo html tag AIR issue

I just developed a sample openlaszlo application containing HTML tag loading openlaszlo site. And i developed a sample air application having another html tag and i loaded the openlaszlo application through the air application. For some reason i am…
karthick
  • 11,998
  • 6
  • 56
  • 88
1
vote
1 answer

Openlaszlo dragging issue

I am try to drag a view to another view containing an html. But for some reason i am not able to drag over the html. Can any one tell me what is wrong in this code.
karthick
  • 11,998
  • 6
  • 56
  • 88
1
vote
0 answers

Openlaszlo dhtml debugging

Is it possible to debug the application in dhtml runtime. I installed the firebug and then i gave debug = true and i started my application. But i got an error $reportException is not defined and later i figured out that i haven't included the…
karthick
  • 11,998
  • 6
  • 56
  • 88
1
vote
1 answer

Does Openlaszlo have support for SVG?

I saw a couple of examples which is being done through the flash classes. But that wont work in dhtml environment. For dhtml environment I have to create a separate iframe component or some thing of that sort so that the browser will take care of…
karthick
  • 11,998
  • 6
  • 56
  • 88