Solved

Flash (actionscript): navigating a separate frame

Posted on 2003-10-22
2
333 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
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you work with shopping cart / ecommerce relates web sites, you need to pass the certain form post details to the payment gateway process page with required details for the products items you give to order. Also you may need to track the ordered…
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
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).

828 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