|
-
Pass variables from Flash to HTML
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
-
-
go to next post
Last edited by biglew5k; 11-25-2006 at 01:38 PM.
Reason: oops double post
When I Die I think the Universe will collapse in around me and kill everyone left in it. Have a Nice Day  !
-
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
Code:
//flash
on(event){
getURL("javascript:document.getElementById('sometag').innerHTML = 'something'"+variable1+"|"+variable2+";");
}
When I Die I think the Universe will collapse in around me and kill everyone left in it. Have a Nice Day  !
-
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|