# Flash and javascript=chalk and cheese

**URL:** https://forum.kirupa.com/t/flash-and-javascript-chalk-and-cheese/219004
**Category:** Uncategorized
**Created:** [March 13, 2007, 2:56am UTC](https://forum.kirupa.com/t/flash-and-javascript-chalk-and-cheese/219004 "2007-03-13T02:56:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![brndn](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@brndn](https://forum.kirupa.com/u/brndn)
#### Post date: [March 13, 2007, 2:56am UTC](https://forum.kirupa.com/t/flash-and-javascript-chalk-and-cheese/219004/1 "2007-03-13T02:56:10Z")

</div>

Hey I am having issues with this javascript function.  
it is not calling from the swf?..arrrrrrrrrgggggggg

\<script type=“text/javascript”\>  
function Hide(id){  
document.getElementById(id).style.display = ‘none’;  
}  
\</script\>

My AS  
on (release) {  
getURL(“javascript:Hide(‘Sd’);”);  
}
