# \[FlashLight 2 + FSCommand2 + javascript\] Passing values from Flash to JS

**URL:** <https://forum.kirupa.com/t/flashlight-2-fscommand2-javascript-passing-values-from-flash-to-js/220702>\
**Category:** flash\
**Created:** [March 28, 2007, 3:12pm UTC](https://forum.kirupa.com/t/flashlight-2-fscommand2-javascript-passing-values-from-flash-to-js/220702 "2007-03-28T15:12:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andir](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@Andir](https://forum.kirupa.com/u/Andir)\
**Post date:** [March 28, 2007, 3:12pm UTC](https://forum.kirupa.com/t/flashlight-2-fscommand2-javascript-passing-values-from-flash-to-js/220702/1 "2007-03-28T15:12:32Z")

</div>

Does fscommand2 work like fscommand with javascript to execute javascript commands locally? I have tried several methods and not been able to get fscommand2 to pass values back to localized javascript in a way similar to fscommand.

edit: I just realized I used FlashLight instead of Flash Lite. Oh what a morning!
