[Laszlo-dev] For Review: Change 20080813-dda-W Summary: SWF9: change top level application class inheritance

Donald Anderson dda at ddanderson.com
Wed Aug 13 14:24:02 PDT 2008


On Aug 13, 2008, at 3:54 PM, P T Withington wrote:

> Approved.
>
> But this also makes me understand why `global` does not work in swf9  
> and how to fix it.  Our application "globals" are getting translated  
> into instance variables of the Application class.  So, what we want  
> to do is (roughly):
>
> dynamic class LzApplication {
>  var global;
>  function LzApplication (...) {
>    // Create an alias to the application instance (whose members are  
> LZX globals)
>    this.global = this;
>    ...
>
> Does that seem right?  If so, can you file and implement?


Not sure it works as is - I put discussion in the new JIRA: http://www.openlaszlo.org/jira/browse/LPP-6837


--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-547-7881
email: dda at ddanderson.com
www: http://www.ddanderson.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080813/147f7cd1/attachment.html


More information about the Laszlo-dev mailing list