2 Replies Latest reply on May 31, 2006 4:12 PM by Newsgroup_User

    draggable object with feedback

    Level 7
      This is a multi-part message in MIME format.

      ------=_NextPart_000_000B_01C684C4.F1BCDA60
      Content-Type: text/plain;
      charset="iso-8859-1"
      Content-Transfer-Encoding: quoted-printable

      hi all,

      how can i make 2 objects to be draggable and dropped to their own (2) =
      hotspots which then will allow us to go to the next frame/label, if the =
      object not being dragged and dropped to the correct location then ignore =
      the statement/do nothing. It has to be 2 objects, if only 1 object then =
      do nothing.

      any one?

      cheers

      ------=_NextPart_000_000B_01C684C4.F1BCDA60
      Content-Type: text/html;
      charset="iso-8859-1"
      Content-Transfer-Encoding: quoted-printable

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      <HTML><HEAD>
      <META http-equiv=3DContent-Type content=3D"text/html; =
      charset=3Diso-8859-1">
      <META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR>
      <STYLE></STYLE>
      </HEAD>
      <BODY bgColor=3D#ffffff>
      <DIV><FONT face=3DArial size=3D2>hi all,</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
      <DIV><FONT face=3DArial size=3D2>how can i make 2 objects to be =
      draggable and=20
      dropped to their own (2) hotspots which then will allow us to go to the =
      next=20
      frame/label, if the object not being dragged and dropped to the correct=20
      location then ignore the statement/do nothing. It has to be 2 =
      objects, if=20
      only 1 object then do nothing.</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
      <DIV><FONT face=3DArial size=3D2>any one?</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
      <DIV><FONT face=3DArial size=3D2>cheers</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>

      ------=_NextPart_000_000B_01C684C4.F1BCDA60--

        • 1. Re: draggable object with feedback
          2m Level 2
          not sure where your problem exactlly is, but here's what I'd do:

          define two varables like:

          first_hit = false,
          second_hit = false,

          when the first dlip is dragged to the right target I'd set:

          first_hit = true;

          and then do a check wheater second hit is already true or not and proceed accordingly

          the second clip would wor just like that.

          (there a more sophisticted way to do this, but for the case you describe that would do - as far as I understand)
          • 2. Re: draggable object with feedback
            Level 7
            right concept...
            but how can i implement hitTest function onto this?


            "2m" <webforumsuser@macromedia.com> wrote in message
            news:e5jfmf$p08$1@forums.macromedia.com...
            > not sure where your problem exactlly is, but here's what I'd do:
            >
            > define two varables like:
            >
            > first_hit = false,
            > second_hit = false,
            >
            > when the first dlip is dragged to the right target I'd set:
            >
            > first_hit = true;
            >
            > and then do a check wheater second hit is already true or not and proceed
            > accordingly
            >
            > the second clip would wor just like that.
            >
            > (there a more sophisticted way to do this, but for the case you describe
            > that
            > would do - as far as I understand)
            >