Does anyone have any clue how to do this.
I have a Nav bar that i made in flash and I want to link it so that when i click on one of the movie clips it opens a html doc in a frame.
I have
homeNav.onPress = function(){
gotoAndStop("home"); getURL("news.html","_content");
}
in action script
and
<frameset>
<frame src="home.html" name="_content" width="550" height="100%" frameborder="0" scrolling="auto" allowtransparency="true">
</frame>
</frameset>
in the html.
So one would think that it would just work, but of course it doesn't.
If someone could please help me i have been trying to do this for about 2-3 hours.
Thanks
-Radam-
Link Flash Movie clip so it opens html doc in a frame
Started by Radam, Oct 17 2006 10:18 PM
5 replies to this topic
#1
Posted 17 October 2006 - 10:18 PM
#3
Posted 17 October 2006 - 11:07 PM
i just tried the tutorial and i don't think it works for flash 8. I did exactly what the tut said and it still opens in a new window :-(
#4
Posted 18 October 2006 - 12:44 AM
Try removing the underscore (_) before the name. I dont know if it will work, I dont normally do this..
#5
Posted 18 October 2006 - 02:51 AM
try making it..
No underscore should be needed. and if that fails, try making the link in the actionscript the full http://www.yoursite.com/file
Document:
<iframe src="thefile.html" id="main" width="550" height="100%" frameborder="0" scrolling="auto" allowtransparency="true"></iframe>
actionscript:
homeNav.onPress = function(){
gotoAndStop("home"); getURL("news.html","main");
}
No underscore should be needed. and if that fails, try making the link in the actionscript the full http://www.yoursite.com/file
Edited by Wowzers, 18 October 2006 - 02:53 AM.
#6
Posted 19 October 2006 - 10:12 AM
Wowzers i tried that and no luck. i think it has something to do with javascript linking the flash and the html, anyways i just made that whole section flash instead of having it open an html doc. thanks for the help tho.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
