RE: NativeApplication exiting event in Windows

2016-01-20 Thread Nicolas Flandrin
Hey Osman, We do this like this : stage.nativeWindow.addEventListener(Event.CLOSING, onClosing); private function onClosing(pEvent:Event):void { pEvent.preventDefault(); //doYourClosingJob //call this to finally close the app stage.nativeWindow.close(); } -Message d'orig

Re: [Flex JS] How to create a SWC library file

2016-01-20 Thread OK
>The compiler is looking at the package name and trying to map it to folders, so I think you want to stop >and "bin" in your -sdk-js-lib parameter. It works now, I can't believe it ;-) I've just add -sdk-js-lib="C:\Users\kruegola\Adobe Flash Builder 4.7\PureMVCForFlexJS\bin". I've already tried th

Re: NativeApplication exiting event in Windows

2016-01-20 Thread Héctor A
Did you check this thread in depth: https://forums.adobe.com/thread/490031?start=0&tstart=0 ? It may contain useful info for you. Also, note that using this event doesn't mean that your application won't be able to be closed, that could be a disaster, there are ways of forcing your app to be close

Re: [Flex JS] How to create a SWC library file

2016-01-20 Thread Alex Harui
In the source code for FlexJS should be frameworks/projects//build.xml That should be a sufficient example to start from. You will need the compile-*config.xml files as well. HTH, -Alex On 1/20/16, 12:25 AM, "OK" wrote: >>The compiler is looking at the package name and trying to map it to >>f

RE: NativeApplication exiting event in Windows

2016-01-20 Thread osman
This isn't working. It works fine if I try to close the application myself. But if I logout of windows, windows immediately kills the application. Is this a bug? Here is the code: http://pastebin.com/M1Gne5j6 -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Nati

Re: Installer issue

2016-01-20 Thread osman
I created this issue: https://issues.apache.org/jira/browse/FLEX-35015 Thanks -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Installer-issue-tp11791p11804.html Sent from the Apache Flex Users mailing list archive at Nabble.com.