# Void(0) usage in flash

**URL:** <https://forum.kirupa.com/t/void-0-usage-in-flash/285765>\
**Category:** flash\
**Created:** [April 6, 2009, 6:58am UTC](https://forum.kirupa.com/t/void-0-usage-in-flash/285765 "2009-04-06T06:58:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![justaj](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@justaj](https://forum.kirupa.com/u/justaj)\
**Post date:** [April 6, 2009, 6:58am UTC](https://forum.kirupa.com/t/void-0-usage-in-flash/285765/1 "2009-04-06T06:58:16Z")

</div>

Hi all,

I have a flash movie embedded into a php page. i’m basically trying to send a URL without having it navigate away from the flash. This is my code, however it doesn’t seem to work.

a4on\_btn.onRelease = function(){  
getURL(“Javascript:void(0);”,“[http://localhost/iPHC2.1/IPHC-process.php?q=a4+on](http://localhost/iPHC2.1/IPHC-process.php?q=a4+on)”);  
};

without the javascript:Void, it changes the page, executes the command i want, but i lose the flash.

Any suggestions?

thanks

AJ
