Solved

Flash Button functionality

Posted on 2006-11-20
3
135 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Best way to Display MP4 Video 5 306
SWF won't scale? 4 517
How to disable  HTML5 video in chrome 2 1,525
What process can I use to achieve this? 5 107
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to how to record live broadcast.

772 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

10 Experts available now in Live!

Get 1:1 Help Now