Solved

over state appear- off state disappear

Posted on 2003-12-03
2
181 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
2 Comments
 
LVL 23

Accepted Solution

by:
adilkhan earned 250 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
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…
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.

707 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

18 Experts available now in Live!

Get 1:1 Help Now