javascript - Interaction between flex and iframe -


i have flex application , there iframe(html code) inside flex app. how trigger event iframe , listen in flex app or call method in flex app js in iframe? need pass info parent flex application.

you can use externalinterface (http://help.adobe.com/en_us/flashplatform/reference/actionscript/3/flash/external/externalinterface.html) it.

for example, call method try:

if (externalinterface.available) {     externalinterface.call("mymethod", { id: 'somedataid' } ); } 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -