Hi lizhi, In fact, just recently someone else (Josh Tynjala) suggested adjusting FlexJS so it can also produce JS code that talks directly to Window and other browser APIs. This caused a flurry of activity and I am hopeful you’ll see it start to show up in nightly builds soon.
-Alex On 6/8/15, 10:32 PM, "lizhi" <405628...@qq.com> wrote: >i just want get the windowas object. >so,i can get any from the object. >like >window.alert >window.document.createButton. >how do that use the flexjs?thanks