PDA

View Full Version : Using JS Remote Control On Flash Buttons


DarkCancerian
09-24-2002, 01:46 AM
I want the coding here: http://www.javascriptkit.com/script/cut105.shtml
on my webpage. It's for a remote control window. Instead of on a button I have it set to load up when the page loads. My control panel is made of flash, and I want the flash buttons to do what HTML I know will do.

I've tried
on (release) {
getURL ("javascript:remote2('../home.htm')");
}
And that doesn't work. Can anyone help me?

brothercake
09-24-2002, 10:03 AM
It looks right; show us the remote2 function

DarkCancerian
09-24-2002, 04:51 PM
Ahh, I figured it out. When I put the javascript on the button (the button fades in) after the animation the script dissappeared, I had to set it on the button after the animation. So sorry for wasting your time...