?
Solved

over state appear- off state disappear

Posted on 2003-12-03
2
Medium Priority
?
187 Views
Last Modified: 2010-04-03
Hi, i am haven trouble creating a mouse over state.
I have two instances on stage:

         1. a button
         2. some text
         
I simply want to roll over the button and make "#2. some text" to appear
and when i roll off the button i want "#2. some text" to disappear.
 
i am a newbie to flashes scripts but not programing.
thanks all for your help.  
     
0
Comment
Question by:Jaytoke222003
[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 Comments
 
LVL 23

Accepted Solution

by:
Saqib Khan earned 1000 total points
ID: 9868900
Very Easy.

1 . Create a Button on your Stage (Draw shape and convert to synbol TYPE should be Button)
2. Select the "T" tool and from properties Inspector choose the type to "Dynamic" for your text box and give it a instance name "t1".
3. Now place this action on your button.

on (rollOver)      {
_root.t1.text = "Testing"
}
on (rollOut)      {
      _root.t1.text = ""
}


4. Test your Movie you are all set.
0
 

Author Comment

by:Jaytoke222003
ID: 9869178
thank you adilkhan, but i already figured it out, i will still give you the points.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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…
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 select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

719 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