Great, I'll go with the second choice, clearly, I don't want to touch the platform. :)
Thank you.
Fernando
On 6/9/06, Jim Grandy <[EMAIL PROTECTED]> wrote:
You really have two choices:
- Add a .as file to the LFC (WEB-INF/lps/lfc, don't forget to modify the Library.as file in the subdirectory you choose) and recompile the LFC library after each change. But this is modifying the platform and likely not what you want.
- Or, add a .lzx file to your project (or to the components) as I describe below.
We don't currently support having .as or .js files in application source trees (your app or the components). But you can place script code in a .lzx file, just wrap it in a script block as I described.
jim
On Jun 9, 2006, at 10:10 AM, Fernando Germano wrote:
So, if I have a .as file I can sorround it with a script block and rename it?, is that all I need?I'm confused...
On 6/9/06, Jim Grandy <[EMAIL PROTECTED] > wrote:Hi Fernando,
You just write your code inside a .lzx file, inside a script block.
See lps/components/extensions/text/richinputtext.lzl for an example.
jim
On Jun 9, 2006, at 7:53 AM, Fernando Germano wrote:
> I'm looking for some information about how to develop the internals
> of Laszlo, I have some ".AS" that I use with some Flash movies, and
> I found very usefull.
> I downloaded the code, and looked through the wiki and all the docs
> I could find, but I still don't understand how do the components
> interact between them..., basically, if I have a ".as" file I'll
> like to be available to OL, what should I do?
>
> Thank you in advice
> _______________________________________________
> Laszlo-dev mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
_______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
