Hi there,
 
I'm having a problem with the ExternalInterface.
 
After a certain screens fires its creationComplete event an ExternalInterface.call is executed to a js-functions. This functions opens a HTML popup. The user has to fill in some fields there. The result is sent back to Flash using a method that is registered with the ExternalInterface.addCallback function. This works fine.
 
But there's a change that has to be implemented:
The creationComplete event does not fire the ExternalInterface.call right away. It opens a Flex popup to ask for user confirmation. This popup is being managed with the PopupManager. When a user clicks 'Ok' the ExternalInterface.call function is fired. The problem is that the callback to the Flex method doesn't work. It looks like the method isn't registered properly with the InternalInterface.addCallback function. The change is the Flex popup. It works fine in Internet Explorer. It doesn't work in Firefox.
 
Some additional information:
- The screen is a Cairngorm view
- The code that opens the popup and has the method for the callBack is in the viewhelper
- Sometimes it works the first time after compilation. After that it never works again, until I recompile. Then it might work once.
 
It seems that the PopupManager changes the way things are handled. But I don't know what is different or why? Does anyone have an idea?
 
Cheers,
Joost
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to