Ok... Suddenly now it's working... Got no clue what fixed it. But it works... Weird...
L. On Sun, Oct 24, 2010 at 10:14 PM, Laurence MacNeill <[email protected]>wrote: > Just how am I supposed to capture a browserInvoke event in an AIR app? > The documentation > (http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/events/BrowserInvo > keEvent.html<http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/events/BrowserInvokeEvent.html>) > says that I need to add an event listener to the NativeApplication, but it > doesn't say WHERE I'm supposed to add that... > > The only place I can think to add it is in the init() function that I'm > calling on the applicationComplete event, but that's not working -- > onBrowserInvoke never gets called. (I set my event-listener to run the > onBrowserIvoke function, obviously). It won't let me add it to the > <mx:WindowedApplication> tag either -- says "Cannot resolve attribute > 'browserInvoke' for component type mx.core.WindowedApplication". Although > it will allow me to add invoke= to the tag, but I need browserInvoke because > I need the domain name of the page that opened the AIR app... > > So someone PLEASE point me to a working example of a proper use of the > browserInvoke event... > > Thanks, > Laurence MacNeill > Mableton, Georgia, USA > > >
