Flash (actionscript): navigating a separate frame

I've got a menu made in flash in one frame and I want to make the buttons make a different frame navigate, but I can't find anything like this on the internet
davensAsked:
Who is Participating?
 
alexgreenCommented:
I assume that the index page that you have is written somewhat like this?

<frameset cols="15%,85%">
  <frame name="nav" src="navpage.html">
  <frame name="main" src="mainpage.html">
</frameset>

in which case, within flash you need to use a <a href="destination_page.html" target="main"> type of call which translates to
getURL("destination_page.html", "main");

you might use the

on (release) {
   getURL("destination_page.html", "main");
}

variable if you are clicking a button to call the page.

this should work.  If you don't know what the frame name is that you want the page to arrive in, then open the frames page in a html editor and have a look.

Good luck
0
 
davensAuthor Commented:
I cant beleive I didnt try that.  I was trying like _top.document.frames(main).location and all this crazy stuff, but I didnt try "main"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.