Actionscript 3: Drag constraints

Out of context: Reply #2

  • Started
  • Last post
  • 5 Responses
  • CyBrain0

    Ok. that makes sense, but suppose I have a movie clip symbol I like the look of. Can I use that as my draggable graphic and constrain the movement of dragging to L, T, R, B?
    or
    If I put a linkage name on my movie clip and attach use addChild to put it on the stage, will that allow me to constrain the drag? or is that new thing on the stage still considered a movie clip?

    Seems like actionscript is taking away a feature that existed since the beginning of its history, but that can't be right.

View thread