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
Solved

Flash Button functionality

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

828 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