My bad. It seems that do not insert "confine" attribute in dragable block
would resolve this problem.

whtuhtc

2010/5/30 whtuhtc tu <whtu...@gmail.com>

> Hi,
>
> I want to make a part dragable and can move to specific position which is
> clicked.
>
> So I add a dragable block to make a part named "dragable_part" dragable and
> it works.
> When I add a program block to make the part to move to specific position by
> changing the state of the part when clicking. It does not work.But if I
> remove the dragable block, it works.
>
>
> The program block is as blow.
> program
> {
>   name:"pressednmove";
>   signal:"mouse,clicked,1 ";
>   source:"position_1";
>   action: STATE_SET "position_1" 0.0;
>   target:"dragable_part";
>   transition:LINEAR 0.2;
> }
>
> any suggestions?  Or how can I make a part dragable and move to specific
> position which is clicked.
>
> Thanks in advanced.
>
> whtuhtc
>
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to