Friday, March 27, 2009

How do you call javascript from Flex

Question :How do you call javascript from Flex?
Answer :: Using the ExternalInterface API to access JavaScript from Flex and Using the navigateToURL()
method in Flex. The navigateToURL() method is in the flash.net package
flash.external.ExternalInterface.call(function_name:String[, arg1, ...]):Object;
navigateToURL(request:URLRequest, window:String):void

No comments: