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
Post a Comment