Solved

Flash Button functionality

Posted on 2006-11-20
3
137 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

816 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

13 Experts available now in Live!

Get 1:1 Help Now