Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

drag-and-drop utility for Edge Animate(only x-axis)

$
0
0

KONBANWA from Japan.

 

I create the drag-and-drop utility for Edge Animate(only x-axis ). here.

http://ciruelo.jp/js/edge/dd/DandD.html

 

If you want to test.

 

1. copy all of code on DandD.html-stage-creationComplete to your edge file-stage-creationComplete.

2. use "draggableX()" method, like that.

//drag element "rect"
sym.$("rect").draggableX();

//drag element "dog", limited range
sym.$("dog").draggableX({minX:100,maxX:300});

//drag nested element "seekBarPointer", limited range
sym.$("seekBarPointer").draggableX({minX:0,maxX:160});

//drag element "pic" class, and scroll target element $("carouselBase"), click to rotate.
$(".pic").draggableX({
     target:sym.$("carouselBase"),     onclick:function(e){       $(e.target).css({            "-moz-transform":"rotate(-45deg)",          "-webkit-transform":"rotate(-45deg)",          "-o-transform":"rotate(-45deg)",          "-ms-transform":"rotate(-45deg)"       });     }
});

 

Maybe, moving on iPad

 

BTW, I want such a function on Edge Animate.

If I can be, without having to write a script.

Only use a panel like "Drag and Drop panel" ,  "Carousele panel" etc..

 

Thanks in advance. adobe team.

 

Ume.


Viewing all articles
Browse latest Browse all 9897

Trending Articles