This content has been marked as final. Show 8 replies
For the draggable sprite, you simple need to set its .moveableSprite property to TRUE. You can do this by selecting the sprite, opening the Property Inspector at the Sprite tab, and checking the Moveable button (just under the Member tab).
For the following sprite, you can drag Darrel Plant's "Follow Sprite" behavior onto it. You can find this behavior in the Library Palette, in the Animation | Interactive cast. Uncheck the "Limited to stage area" button, and select the correct sprite to follow.
thanks for your help.
I can't find the moveable button in the property inspector.
I set the property of the sprite to be dragged/moved to moveable, now the sprite that is to follow does not follow. I set the active at start property to false as when it was set at true the sprite was moving around the stage of its own accord.
The sprite to follow the dragged sprite also has script to set it to be on top of all other sprites as it holds scripts to navigate to another frame.
My guess is that you want the sprite that is following to remain at the same relative location at all times. The "Follow Sprite" behavior makes it try to align its loc with that of the sprite it's following.
Are you looking for something like this: DragBar.dir?
Save your work, then type this in Director's message window:
go movie " http://nonlinear.openspark.com/tips/dragging/DragBar.dir"
yes I presume the text is set to follow the text box.
However I cannot open the dir file from my message window.
Yes I downloaded the movie - it drags the sprite to follow but they are both still constrained to the stage.
Originally posted by: sarah louise water
it drags the sprite to follow but they are both still constrained to the stage.
I am able to drag the titlebar off the stage, and the text member follows it off the stage. This is true in Director, in a projector and in Shockwave. I do see artifacts left behind by the Direct-To-Stage scrollbar, but that is a different issue.
What version of Director are you using, and what platform are you on?
Hi my version is MX 2004 - the follow sprite is now following - but I need the sprites to be able to drag off the stage - is this possible?