Solved

Flash (actionscript): navigating a separate frame

Posted on 2003-10-22
2
349 Views
Last Modified: 2010-04-06
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
0
Comment
Question by:davens
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
alexgreen earned 20 total points
ID: 9604915
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
 

Author Comment

by:davens
ID: 9606251
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question