I am currently developing an application in Adobe Flex and i have to use some APIs (Google Earth API, Garmin Communicator Plugin API..) which are written in javascript how can i use js inside Flex.
Thanks !!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can call a JavaScript-Function with the ExternalInterface.
For example:
In your index.template.html-file you can include javascript-code or define some javascript:
If you want to call the function “launchEditor()” you can do this with the following code:
You could now send your data from your Flex-Application to your JavaScript and then call the Javascript API.
In your Flex-Application:
In your JavaScript: