Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > Simple Stuff (Newbies)

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-10-2001, 01:01 AM   #1
shaneob
Registered User
 
Join Date: Mar 2001
Location: Vancouver, B.C.
Posts: 4
Default

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
shaneob is offline   Reply With Quote
Old 03-10-2001, 03:24 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Old 03-12-2001, 10:47 PM   #3
shaneob
Registered User
 
Join Date: Mar 2001
Location: Vancouver, B.C.
Posts: 4
Default

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.
shaneob is offline   Reply With Quote
Old 03-12-2001, 11:32 PM   #4
shaneob
Registered User
 
Join Date: Mar 2001
Location: Vancouver, B.C.
Posts: 4
Default

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.
shaneob is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 07:13 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.