I have searched the forums and know that you can use
[AS]
on(release){
getURL(“somefile.htm”, “someframe”);
}
[/AS]
But I have and iframe and I want to load a new .htm file into it my HTML is here
{iframe src=“main.htm” height=“87%” width=“900” align=“middle” frameborder=“0” scrolling=“auto” name=“mainFrame”} {/iframe}
I used {} 'cos I dont know if the froum uses HTML any way I tried to do
[AS]
on(release){
getURL(“help.aspx”, “mainFrame”);
}
[/AS]
But It didnt work…
system
2
try adding
id=“mainframe”
into the iframe tags! I can’t remember if the name was supposed to be the frame name of was it the ID!
Try that one!
edit: nevermind! It wasn’t the ID!!! :-\
system
3
:-\ I used the same techinque at my homepage and it works perfectly! Try some other file like .htm, maybe it’s the .aspx!
system
4
should work! make sure you named them (iframe and AS script) correctly
system
5
Does the .swf and the .fla have to be in the same directory as the files I am linking to?
[EDIT] Can someone post me a working example? [/EDIT]
system
6
It doesn’t matter where the .fla is but the .aspx page and the .swf definately have to be in the same folder!