Quick question:
I’ve created a button in flash for a website I’m creating in Dreamwever. When I export it from Flash to Dreamweaver, I can’t figure out how to make the button a link. How do I make it so that if the button is clicked, it will open a page in the mainFrame of the page?
I’ve spent hours trying to figure out how to do this myself, and I’ve given up.
Thank you!
Reply
August 21, 2005, 11:39am
2
If nobody else answers this, could you please email me a copy of the Flash button (an .SWF file, probably)?
I don’t know the answer offhand because I don’t use Flash much, but I’d like to mess around with Dreamweaver and see if I can get it to work.
lexi
August 21, 2005, 4:31pm
3
The answer is you can not make it a button using html.
You must edit the flash.
First convert your button to a symbol of hte type “button”.
Then select the button by a single click of the button and go to the Actions editor.
add this code to your actions for that button
on (release) {
getURL(“http://www.yoursite.com/page.html ”);
}
lexi:
The answer is you can not make it a button using html.
You must edit the flash.
First convert your button to a symbol of hte type “button”.
Then select the button by a single click of the button and go to the Actions editor.
add this code to your actions for that button
on (release) {
getURL(“http://www.yoursite.com/page.html ”);
}
Thanks so much Lexi!
One more question, how do I I add the target “mainFrame” if I want it to open in a certain frame?
Thanks again.
lexi
August 21, 2005, 6:17pm
5
Check here for all the actions in flash:
http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/
on(release) {
getURL(“yourpage.html”, “_blank”);
}