;

PDA

Click to See Complete Forum and Search --> : help inserting code in KM


satjack
07-03-2008, 04:32 PM
Hi there

I am adding streaming to my website and have received a link from the streaming company for a popup media player.

I have a text button created in KoolMoves called Dial Up

Where do I insert this code to get the popup player to show up when clicked?

actionscript (AS 2.0)


on (release) {

var jscommand:String = "window.open('http://v2.player.abacast.com/player/player.php?pid=kojmam','kojmam','height=380,width= 480,toolbar=no,scrollbars=no');"; getURL("javascript:" + jscommand + " void(0);");

}

thanks for your help ..Rob

blanius
07-03-2008, 11:20 PM
Add a button to your movie then in the properties of the button there is Actionscript Open the editor and add:


on (release) {

jscommand = "window.open('http://v2.player.abacast.com/player/player.php?pid=kojmam','kojmam','height=380,width= 480,toolbar=no,scrollbars=no');"; getURL("javascript:" + jscommand + " void(0);");

}