Solved

Flash Button functionality

Posted on 2006-11-20
3
136 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
  • 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 record live broadcast.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now