Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do we call javascript from flex actionscript? : adobe flex action script



How do we call javascript from flex actionscript? : adobe flex action script..

Answer / Ashish Soni

To call JavaScript from ActionScript, you can use the ExternalInterface class. Here's a simple example:

```actionscript
ExternalInterface.call("myFunction", myData);

function myFunction(data) {
// do something with data (JavaScript side)
}
```
In this example, the call to 'myFunction' invokes a JavaScript function named 'myFunction', and passes it the variable 'myData' from ActionScript.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Adobe Flex Interview Questions

Explain which of the recommended character to use to separate target level paths levels?

1 Answers  


Sometimes, if I do not move the mouse, "click" and "mousedown" do not work. Why is that? : adobe flex action script

1 Answers  


Can I still purchase flex charting?

0 Answers  


What is shared object?

1 Answers  


What is interface or benefit of interface in term of oop? : adobe flex action script

1 Answers  


What are runtime shared libraries in flex? : adobe flex action script

1 Answers  


What is a filter function?

1 Answers  


Will the flex skin extensions for cs be part of the flex 3 release?

1 Answers  


What is the model-view-controller (mvc) pattern?

1 Answers  


What is interface in term of oop (flash actionscript)? : adobe flex action script

1 Answers  


How does item renderer work? How do we add item renderer at runtime in flex?

1 Answers  


Explain how binding works in mxml components in flex?

1 Answers  


Categories