# Why does this work in Flash6 but not Flash9?

**URL:** <https://forum.kirupa.com/t/why-does-this-work-in-flash6-but-not-flash9/231096>\
**Category:** flash\
**Created:** [July 2, 2007, 6:41am UTC](https://forum.kirupa.com/t/why-does-this-work-in-flash6-but-not-flash9/231096 "2007-07-02T06:41:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomasvill](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@thomasvill](https://forum.kirupa.com/u/thomasvill)\
**Post date:** [July 2, 2007, 6:41am UTC](https://forum.kirupa.com/t/why-does-this-work-in-flash6-but-not-flash9/231096/1 "2007-07-02T06:41:04Z")

</div>

Link1.onRelease = function() {  
getURL(“javascript:setFlashHeight(‘flashid’, 500);”);  
};

When I publish this code in the Flash 6 player this code works perfect and the javascript launches but when I publish it in Flash 9 it doesnt do anything. Any help?
