Flash with Javascript

Does anyone know the best way to send a variable from Flash to Javscript on the page? I have been reading about the FSCommand, and I was wondering if there was an easier way to either send it directly to the javascript, or else sending the varialbe to a text file, and then have the javascript read the text file. If anyone has any ideas, please let me know


Sorry Slick. I’m not familiar with JavaScript in Flash, but I think some others in here might know the solution. If not, try posting in the actionscripts.org forum @ www.actionscripts.org

I have been doing research on this and got few ideas from this website


i’ve been looking for this too, just got an alert to display a variable from flash thanks to your post gundu.

purely a cut and paste affair, mind you. ; )