PDA

View Full Version : Link in flash to a HTML-file.



m3rcc
March 21st, 2002, 01:32 PM
Hi Flashers!

When I click my button I want a window with the size 400x300 to open. That .html file lies in the same directory as my flash. Anybody knows how to link to that html file from flash?

Thanks
//m3rcc

lobstars
March 21st, 2002, 02:06 PM
Hey I could be wrong! but maybe you have to add in your buttons actions "get url" and put the address for the html file you want to pop up:)
I hope I'm right?

Simon

m3rcc
March 21st, 2002, 02:15 PM
That works if you want the "standard" way of opening a window, yes :P

But I want the javascript kind where you dont have a statusbar and you can choose the exact size of the windows and so on

eyezberg
March 21st, 2002, 02:36 PM
You need to insert the javascript function into the html of the file your swf is embedded in, check out the "chromeless window" tutorial on kirupa.com, looks great!!