Groups | Blog | Home
all groups > flash actionscript > november 2005 >

flash actionscript : how to link flash menu to iframe???


IndioDoido
11/14/2005 7:22:07 PM
hi...
i made a flash popup menu, but i cant link the buttons to a iframe window...
this is the code i used in each button:

on (release)
{
getURL("../empresa.php", "mainframe");
}

"mainframe" is the name of the iFrame, but in IE it doesn't do anything!

please...can anyone help me?
_bigmac
11/14/2005 7:34:02 PM
I can't guarentee this is the best solution, but it worked for my company. We
ended up using coldFusion to set the iFrame page, flash would just issue a
getURL with the parent page address and a variable tacked on to specify what
should load into the iFrame. Cold fusion would handle loading the variable
frame content on refresh.
IndioDoido
11/16/2005 12:00:07 PM
hi _bigmac

thx for the tip...but i managed to resolve my issue using a javascript code so that IE could open the iframe

mitcho
12/29/2005 3:30:46 AM
urami_
12/30/2005 7:43:38 PM


[quoted text, click to view]

You should not be forced to use Javascript, as long as you define the iFrame name
as the Window name parameter it should work fine in all browsers.
Just make sure you avoid names like iFrame , Frame , MainFrame etc...
These are reserved words and might conflict your actions.
Give it some unique name "HappyNewYear_frame" than use it in conjunction with getURL action :

on (release) {
getURL("pageToLoad.htm", "HappyNewYear_frame");
}

--
Regards

Urami


--



Merry Christmas and a Happy New Year guys :)



クリスマスと新年おめでとうございます

聖誕節和新年快樂
圣诞节和新年快乐

<urami>
http://www.Flashfugitive.com
</urami>

<web junk free>
http://www.firefox.com
AddThis Social Bookmark Button