| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Mar 2001
Location: Vancouver, B.C.
Posts: 4
|
hey there,
I have a question that may or may not have an easy answer... I have created a mask layer with several layers underneath it that are fading in and out of each other, I put an invisible button around the mask window so it can be a link to a gallery of images... what i want to do now is, when the mouse rolls over the invisible button (the mask window) a text box appears above it, describing what is in there if the user should click on it. how do i go about this? Also, the button is working on the Stage, but not when I test the movie, is there some debugging that I have to do to make it work in Flash Player? Thank you anyone, i am in need of help... OB |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
If you create a new MC (Ctrl F8) and into that put the text you wish to display. Then drag a copy onto the stage where you want it to show up and give it an instance name like 'description'.
Then int he first frame of your movie have: _root.description._visible = false; And on your button have: on (rollOver) { _root.description._visible = true; } on (release, releaseOutside, rollOut, dragOut) { _root.description._visible = false; } That shuold make your description clip hide until the button is moused over, then appear. Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Mar 2001
Location: Vancouver, B.C.
Posts: 4
|
do you know why this is not working?... I followed Jesse's instructions exactly, applying the frame action "_root.description._visible = false;" in the first frame of the movie and when that didn't work, in the first frame of the movie clip. I typed it in in the expert mode of the actions frame because i didn't know if there was that option under the catagories in the normal mode... why is the text I want to hid not being hidden? Any ideas...
thanks s.o. |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Mar 2001
Location: Vancouver, B.C.
Posts: 4
|
hi again,
I think I figured it out... I used the action setProperty in the first frame of my movie and again over the buttons to turn the visibility to 0 and 100 respectively for the mouse over and off.... if there is an easier or mmore effective way to do it, let me know. thanks, s.o. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FREE Image Gallery Code UPDATED w00t w00t!! | flavoredthunder | ActionScript 1.0 (and below) | 2 | 12-22-2006 02:18 PM |
| Need help making this run faster | MAYAaddict | ActionScript 2.0 | 3 | 11-17-2005 11:09 PM |
| Putting an image in a button component | mad_A | Components | 3 | 06-29-2005 03:50 PM |
| rollover button movie clip trigger | srichards00 | ActionScript 1.0 (and below) | 5 | 05-17-2004 05:42 AM |
| problem with rollover button and MC | librab103 | ActionScript 1.0 (and below) | 5 | 04-22-2004 01:52 AM |