Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Flash (actionscript): navigating a separate frame

Posted on 2003-10-22
2
Medium Priority
?
379 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 80 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
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:
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

705 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