Hi People,
After the help command in Flash was no help I naturally turned to Kirupa. I am trying to get a variable out to a Javascript to run a search engine. Normally, my script in html runs in the following manner:
<script LANGUAGE=“JavaScript” src=“webdata.js”> </script>
<script LANGUAGE=“JavaScript” src=“searchfunc.js”> </script>
<FORM name=formSear action=“javascript:RunSearch()”>
<p align=“center”>
<INPUT name=searWords > <INPUT name=Send type=submit value=Search>
</FORM>
After reading through some forum posts, I found lostinbeta’s recommendation to see a tutorial on the fsCommand at macromedia’s site located here
I thought using the code in this manner would suffice, but it doesn’t do anything when I use it
on (release, keyPress “<Enter>”) {
fscommand (“send_var”, searWords);
Maybe I need to change my scripts to use the fsCommand data? I’m not having much luck doing so. Any suggestions on getting the variable to the javascript to run this search engine of mine? If you need any more information, let me know. Any help at all is appreciated.
Thanks