Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-28-2005, 08:30 PM   #1
rrmcguire
Senior Member
 
Join Date: Sep 2005
Posts: 148
Default putting buttons within movie clips

I have a map with a set of movie clips assigned to particular states and within those movie clips are buttons according to cities within those states.

When I rollover one of the buttons I would like a text box to come up but its not working.

Can you not put buttons within mc's?

If you rollover Idaho and then try and click on the circle within Idaho, nothing happens, according to my code it should work.


thanks
Attached Files
File Type: zip new map.zip (106.6 KB, 69 views)
rrmcguire is offline   Reply With Quote
Old 09-29-2005, 04:29 AM   #2
Dylan Marvin
Dylan
 
Join Date: Jun 2005
Posts: 379
Default

Sure you can put buttons within movie clips, but MAYBE you'll lose their functionality if you have the movie clip act like a button (someone jump in here if I'm wrong). You have rollover/out functions assigned to your movie clips, that also have buttons within them-- might be like putting buttons on top of buttons-- which isn't always the best course of action.
If I'm correct, a workaround this might be to use hitTests with the mouse's _x and _y instead of rollover functions for your states.
__________________
my art
Dylan Marvin 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


All times are GMT. The time now is 05:12 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.