Hi, how to pass the var sc to para res? thanks <script> if (window.screen.width < 1000) { var sc = 'error'; } else { var sc = 'ok'; } //document.write(sc); </script> <object type="application/x-shockwave-flash" data="flashContent.v2.swf" width="950" height="600"> <param name="movie" value="flashContent.v2.swf" /> <param name=FlashVars VALUE="ver=_0015&res=" /> </object> Regards, waickw
For flash javascript interaction you need to use flash ExternalInterface library.Most of the popular browsers support flash to javascript interaction this way