1 Reply Latest reply on Apr 26, 2013 2:20 AM by anjemalo

    Big problem with detect SWF into director when mouseDown

    anjemalo Level 1

      Hello:

      I have to drag some images and some swf the problem is that when I click with the mouse I can't detect swf.

      Can you help me please?

      many thanks

      This is my code

       

      on beginSprite me

        sp = sprite(me.spriteNum)

        pMode = #normal

      end

       

      on mouseDown me

        pMode = #pressed

        pLocList = []

        pClickDiff = sp.loc - the clickLoc

        --Get the sprite

        currentSprite = _movie.rollOver()

        detectaClick=the MouseH

        put currentSprite

      end

       

      on mouseUp me

        throw(me)

        if detectaClick<>the MouseH then

          member("txt").text= "has dragged" 

        else

          --Has clicked

          member("txt").text="" && currentSprite

        end if 

      end