PDA

View Full Version : Actionscript support


javanaut
10-31-2003, 10:35 AM
Some of your literature indicate that either Javascript or Actionscript can be used. This was also mentioned at a presentation on LPS that I heard recently. Is this true? What is the extent of this support? What are the caveats? Can Flash components and classes be used in conjunction with yours?

antun
10-31-2003, 11:05 AM
Some of your literature indicate that either Javascript or Actionscript can be used.


Where did you see this? Laszlo endeavors to support ECMA-262 (i.e. JavaScript), although there are a few gaps.

Don't get this confused with Browser JavaScript, or ActionScript. (For example the ECMA-262 spec doesn't include the Window or Document objects, nor does it include any of the ActionScript-specific objects.

There's a writeup on the differences between Laszlo JavaScript and ECMA-262 on the LaszloUser wiki:

http://www.laszlouser.org/page.cfm?doc=JavascriptCode&wikiid=1944

... and there's a writeup here:

http://www.laszlosystems.com/developers/learn/documentation/lzxref/info-scripting.php

Can Flash components and classes be used in conjunction with yours?

No this is not supported at all. You can use simple animations and vector images saved as Flash 5 .swf files as art assets however.

-Antun