Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : Flash MX Professional



aleesa
4/15/2004 9:01:55 PM
Let's say you have a graphic (arrow) on a slide in your presentation that you
want to get rid of/hide/delete when you press one of the buttons (that have
been set up already) to navigate around, zoom in, zoom out, move the graphic to
the left, right, top and/or bottom. Right now the arrow is stationary. Does
not move with the graphic when resized.

Can you help?
Aleesa
Dave_090
4/15/2004 9:34:39 PM
Hey,

I'm not too sure what you're asking. So I'm sort of guessing.
I think that you'd need to make the arrow a movieclip and then when you press
the button that you want to affect the arrow use the button.onPress method and
then in the function alpha/remove/re-postions the arrow, using the
movieclip._alpha or removeMovieClip methods.

hope this helps,
Dave
lisagee
4/15/2004 9:57:57 PM
Hi Dave,
Thanks! :)....we're on the right track. What if you have multiple instances where the arrow needs to be erased/hidden and/or deleted?

Thank-You,
AddThis Social Bookmark Button