Click to See Complete Forum and Search --> : Pass variables from Flash to HTML

11-24-2006, 11:03 AM
I guess this is the place for this topic.
If not, admin please move it where it belongs.
I have a flash movie and a HTML form on the same HTML page. I need to pass two variables, which are coordinates inside Flash movie, to edit fields in html form on the same page when user clicks inside the Flash movie.
Can this be done?

Thanks in advance

11-24-2006, 04:06 PM
There are ways to have flash communicate with javascript that is within your HTML. Here are a few articles about the subject that should get you started..


11-25-2006, 01:37 PM
go to next post :)

11-25-2006, 01:37 PM
to get flash player 6+ to communicate via javascript you need to be operating on a server due to new "security implementations". all you basically want is

getURL("javascript:document.getElementById('sometag').inne rHTML = 'something'"+variable1+"|"+variable2+";");

11-27-2006, 04:04 AM
Thanx guys. I think it will do the trick. ;)
I'm not sure what your saying about security implementations but I'll figure it out. I hope.
I didn't have the time to read all of what is on MM site but from the examples I saw, it is what I need. I'll read it today.

If I have problem I'll post again here. :D