?
Solved

Flash Button functionality

Posted on 2006-11-20
3
Medium Priority
?
146 Views
Last Modified: 2010-04-03
I'm a newbie to flash so this may seem like a dumb question but I can't seem to get the buttons to do what I want.

Right now when someone mouses over a button I make a page come up. When they click on a button a different page comes up. However, when they release the mouse to finish the click, the page from the mouseover returns, I want it to stay on the page that the click brought up. Is there simple way to do this?

Many thanks.
0
Comment
Question by:RegProctor
[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
3 Comments
 
LVL 5

Expert Comment

by:blockage1
ID: 17992552
Not sure I totally understand what you're trying to do.

When you say "make a new page come up" are you wanting to load a new html page? or do you mean you want to load a new swf into your flash movie?
0
 
LVL 1

Author Comment

by:RegProctor
ID: 18013270
Not really loading anything. When you rollover a button you can make something in another area show up which part of the same movie. When you click down you can do the same.

My problem is that when I release the mouse button that the whatever I made show on the button press reverts back to whatever was showing on the mouseover.
0
 
LVL 5

Accepted Solution

by:
blockage1 earned 1500 total points
ID: 18016592
One way to do this:

1. make a new keyframe on frame 10 of the maintime. Then put the page you want to come up there.
2. Select your button and put this code on it.

on ( release ) {
      _root.gotoAndStop( 10 );
}

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

650 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