PDA

View Full Version : FS command



olvado
March 26th, 2003, 11:26 AM
Does anyone know how to call upon Javascript functions from Flash using FS comand, here's an example (www.lebonze.co.uk/stuff/move.htm) of it in action though I'm not looking to do anything quite as elaborate, I simply want to instruct the browser window that's holding the flash file to close at a predetermined point on the timeline.

senocular
March 26th, 2003, 11:28 AM
using getURL is easier and doesnt require the javascript code base to function

on(release){
getURL("javascript:self.close();")
}

or any other javascript command.

olvado
March 27th, 2003, 06:17 AM
Worked a treat, I can't believe I was attempting it the hard way without even trying the simply!

Thanks