Flash button link to iframe
- Started
- Last post
- 5 Responses
- armed_rob
Hi I having my first experince with iframes... I want to make flash bottons that change the html site that is loaded into my iframe to another html site...
anyone got a code 4 that one?
My iframe is called "news"
- armed_rob0
Never mind!
I got it!!!
- ethios0
Right click your button on the stage and go to its actions, change it into expert mode and paste this into the text area:
on (press) {
getURL("http://www.site.com", "news");
}the first part of getURL is where you specify the location of the site you want to load, and the second part is where you want it to load, in this case, the name of your iframe, news.
you can change press to release, rollover, rollout etc.
Hope ive been of help :)
- armed_rob0
thanx... but too late... I made it just after asking!
- armed_rob0
Shit....
Just tested my site in differnet browsers!
Seems like Safari dont get it, here is the script:
on (release) {
getURL("whoarewepicture.html", "picture");
getURL("whoarewetxt.html", "text");
}It dosent put the html doc into the iframes, but opens a new window!
In FireFox, IE and Netscape no problemo???
Anyone with a solution?
Thanx...
- armed_rob0
bumpy de bump