Solved

over state appear- off state disappear

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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. …
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 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 how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

615 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