Solved

Flash (actionscript): navigating a separate frame

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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

729 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