This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > July 2007 > help with dragging stuff





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author help with dragging stuff
Tim_Dawg

2007-07-20, 6:15 pm

So I made a site look like a folder, with paper you drag out for each section.

Basically the whole peice of paper is a movie clip, and when i click on it the
actionscript makes it drag, and when i release it stops the drag.

But when I put a text box with a scroller on it, or anything that is supposed
to be clicked on, it wont work.

I click on the arrow, but it starts dragging the peice of paper, instead of
clicking the arrow.

Rob Dillon

2007-07-20, 10:15 pm

Create an invisible button. Place it in the clip to be dragged and size
it to the size of the whole clip. Have your drag functions refer to this
button. Place it in a layer below the buttons that you need to have the
user interact with. The invisible button will allow the clip to be
dragged while the buttons on the layers above will still react to the
user.

--
Rob

___________
Rob Dillon
Adobe Community Expert
http://www.ddg-designs.com
412-243-9119
http://www.adobe.com/downloads
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews