Have you tried -compiler.strict=false? Or window.var2 = "world"
-Alex On 2/3/16, 6:32 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala" <omup...@gmail.com on behalf of bigosma...@gmail.com> wrote: >Okay, you can't do this in AS3 :-) > >function foo() >{ > var var1 = "hello"; > var2 = "world"; // global variable >} > >In other words, AS3 is always in "use strict" mode! > >On Wed, Feb 3, 2016 at 6:07 PM, Josh Tynjala <joshtynj...@gmail.com> >wrote: > >> Can't you? >> >> package >> { >> public var globalVar:String = "global"; >> } >> >> - Josh >> >> On Wed, Feb 3, 2016 at 6:34 PM, OmPrakash Muppirala >><bigosma...@gmail.com> >> wrote: >> >> > On Mon, Feb 1, 2016 at 5:31 PM, Alex Harui <aha...@adobe.com> wrote: >> > >> > > >> > > >> > > On 2/1/16, 11:17 AM, "omup...@gmail.com on behalf of OmPrakash >> > Muppirala" >> > > <omup...@gmail.com on behalf of bigosma...@gmail.com> wrote: >> > > >> > > >On Mon, Feb 1, 2016 at 8:44 AM, Alex Harui <aha...@adobe.com> >>wrote: >> > > > >> > > >> 12 days to go. I pinged the Cordova person this morning. I >>think >> it >> > > >> might be time to send an email to committers@ to see if there is >> more >> > > >> interest in a Client track from other groups. Thoughts? >> > > >> >> > > > >> > > >+1 >> > > > >> > > > >> > > >> >> > > >> I'm thinking of proposing a talk called something like: "FlexJS >>and >> > > >> ActionScript: Apache's Structured Language Solution for >>Clients". >> I >> > > >> would try to show how we can build web apps, desktop apps and >>mobile >> > > >>apps >> > > >> all with or without Flash. >> > > >> >> > > > >> > > >+1 >> > > > >> > > >I was thinking of doing something along the lines of 'True OOP on >>the >> > web >> > > >using Apache FlexJS and Apache Flex Falcon'. I want to cover the >> basics >> > > >of >> > > >Classes, Interfaces, Design Patterns, Web Components, Shadow DOM, >>etc. >> > > >using ActionScript3. >> > > > >> > > >I am open to suggestions about this talk, including a better title >>;-) >> > > >> > > Sounds like a good topic. >> > > >> > > Given the bias of ApacheCon to server-side folks, we should probably >> try >> > > to think of titles that will make them curious enough to attend with >> hope >> > > that they'd go back and tell their client-side people to check it >>out. >> > > I'm not really expecting this client track to draw a new client-side >> > > demographic to ApacheCon, but I could certainly be wrong and would >>love >> > to >> > > be wrong about it. >> > > >> > > For example, I seriously considered the title of my talk to be >>"What? >> > You >> > > are still coding in JavaScript?" And yours could be "Anything you >>can >> do >> > > in JavaScript, you can do with FlexJS and ActionScript". >> > > >> > >> > Except that you can't do everything in AS3 that you can do in JS. You >> > can't create global variables in AS3 :-) >> > >> > In any case, any updates on the Client Track? Is there a discussion >> going >> > on somewhere? >> > >> > Thanks, >> > Om >> > >> > >> > > >> > > -Alex >> > > >> > > >> > >>