Solved

over state appear- off state disappear

Posted on 2003-12-03
2
182 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
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…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
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.

932 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

7 Experts available now in Live!

Get 1:1 Help Now