# Flash + Javascript =

**URL:** https://forum.kirupa.com/t/flash-javascript/288538
**Category:** web dev
**Created:** [May 17, 2009, 9:44pm UTC](https://forum.kirupa.com/t/flash-javascript/288538 "2009-05-17T21:44:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![radd](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/radd/32/1767_2.png) [@radd](https://forum.kirupa.com/u/radd)
#### Post date: [May 17, 2009, 9:44pm UTC](https://forum.kirupa.com/t/flash-javascript/288538/1 "2009-05-17T21:44:08Z")

</div>

I have a small embedded flash widget that is doing some math and below it inside the HTML some regular text fields and a submit button all in a form.

I want that when a user hits SUBMIT to grab all the information in the page and send it to a DB. Besides the text in the text fields I would also like to grab some variables from the flash SWF.

Is there any way that with Javascript to go inside the SWF and grab a variable I need?  
If not with Javascript how can I access a SWF?!  
Thank you!
