I’m creating a simple 2 frame website with a flash menu at the top in frame 1 and the body in frame 2. I followed this tutorial (http://www.kirupa.com/developer/flash5/frames.htm) and sure enough when using the source everything works fine, however even when copying everything EXACTLY into my own flash/HTML clicking on a button always opens the HTML in a new window. I have even gone as far as renaming all my files to match those in the tutorial and using Kirupa’s code and still nothing… I am so confused as to how it can work in the tutorial but not for me when I’m doing everything completely the same. I’d love some insight here from anyone, TIA.
I haven’t used frames for ages, but I think on the frameset.html you need to give names to each frame.
Then on flash:
getURL(“http://www.mysite.com/","my_frame”);
“my_frame” being the name of the frame you want the html to load.
If you put “_blank” instead it will open the url in a new window.
[quote=Pier25;2327799]I haven’t used frames for ages, but I think on the frameset.html you need to give names to each frame.
Then on flash:
getURL(“http://www.mysite.com/","my_frame”);
“my_frame” being the name of the frame you want the html to load.
If you put “_blank” instead it will open the url in a new window.[/quote]
Yea this is exactly as I have it setup. I am still learning flash but I have a very good understanding of HTML and the basics of AS, I have everything exactly as it is in the tutorial and even if I make an entirely new project with 2 simple buttons and copy everything from the tutorial it fails, always opening the page in a new window. Strangely tho once the new window is open the flash will then open any page in that new window, it doesnt continuously open new windows… any further insight would be great ty.
Strange…
Does this happens on all browsers / platforms / players ?
For which player are you exporting your swf?
If you put some code maybe I can help you…