This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > October 2005 > Assigning a link to a button





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Assigning a link to a button
snazaire

2005-10-20, 6:24 pm

I was wondering whether somebody can tell me how to add a link to a button or a graphic that can reach in HTML page on the same website.
meager

2005-10-20, 6:24 pm

Straight from the help files.

target_mc.onRelease = function() {
getURL("http://www.macromedia.com/software/flash/flashpro/", "_self");
};

That's all there is to it.

chrisflash

2005-10-29, 6:19 pm

I am building a site using a frameset, so how can I get a flash button to load a page in a different frame?

chrisclester@yahoo.com
arcanemachinist

2005-10-31, 6:33 pm

To load a page into another frame...

yourButton.onPress = function() {
getURL("yourpage.html", "framename");
}

To completely replace the current browser location from within a frame...

yourButton.onPress = function() {
getURL("yourpage.html", "_top");
}

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews