# Javascrip/Pop-Up in Flash

**URL:** <https://forum.kirupa.com/t/javascrip-pop-up-in-flash/247669>\
**Category:** flash\
**Created:** [December 27, 2007, 11:40pm UTC](https://forum.kirupa.com/t/javascrip-pop-up-in-flash/247669 "2007-12-27T23:40:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikenificent](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mikenificent](https://forum.kirupa.com/u/mikenificent)\
**Post date:** [December 27, 2007, 11:40pm UTC](https://forum.kirupa.com/t/javascrip-pop-up-in-flash/247669/1 "2007-12-27T23:40:34Z")

</div>

Hello, I’m making a Flash website and need made a movieclip as a button and need to link it so it opens up a radio players from live365. Here is the code on live365 that they gave me for a html link for text but was wondering I’m it is possible so I could make it open from a movieclip/button created within the main swf of the site anyways heres is the code for a text link in html if someone knowshow to do this please help…

Between Head Tags…

\<SCRIPT LANGUAGE=“JavaScript” SRC=“[http://www.live365.com/scripts/listen.js](http://www.live365.com/scripts/listen.js)”\>\</SCRIPT\>

Then The Actual Code For The Link

\<A HREF=‘javascript:LaunchBroadcast(“godfathers”,“pro”)’\>Listen Now!\</A\>

Now this is just for html text link, is it possible to convert it or recode it so it can be opened through a movieclip/button on a flash site.

Thanks
