Select to view content in your preferred language

access to .swf file from javacript in html file

640
1
05-11-2011 09:41 AM
abukhan
Occasional Contributor
Hi:

I created an flex application similar to routing example...

I got the distance and time to travel between two addresses

I need to pass this info(distance and time) to the html page that host the .swf file (compiled flex app)..

Any ideas?
Tags (2)
0 Kudos
1 Reply
by Anonymous User
Not applicable
Hi:

I created an flex application similar to routing example...

I got the distance and time to travel between two addresses

I need to pass this info(distance and time) to the html page that host the .swf file (compiled flex app)..

Any ideas?


You can call external javascript functions via 'ExternalInterface' in action script.

http://livedocs.adobe.com/flex/3/html/help.html?content=passingarguments_4.html
0 Kudos