• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Drag and drop

Explorer ,
Sep 15, 2021 Sep 15, 2021

Copy link to clipboard

Copied

How do i stop the other pieces when I have draged and doped this one, its a puzzle 

 

p1.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag_24);

function fl_ClickToDrag_24(event:MouseEvent):void
{
p1.startDrag();
}

stage.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop_24);

function fl_ReleaseToDrop_24(event:MouseEvent):void
{
p1.stopDrag();


if(tar1.hitTestObject(p1.hit1))

p1.x=205.2;

p1.y=254.8;}

Views

160

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 15, 2021 Sep 15, 2021

Copy link to clipboard

Copied

Pieces moving I ment to say 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 15, 2021 Sep 15, 2021

Copy link to clipboard

Copied

This does not seem to be anything to do with PostScript.

Yet, you've posted in the PostScript forum...

If anything, it seems to relate to the now completely obsolete and blocked Flash Player...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 15, 2021 Sep 15, 2021

Copy link to clipboard

Copied

LATEST

Yes sorry about that I relised after I posted this I dont know how to delete it 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines