A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Dragging :( :(

  1. #1
    Junior Member
    Join Date
    Mar 2003

    Dragging :( :(

    I cant make anything draggable!! Im not trying to do anything complicated! All I want to do is make a circle be able to drag around. why cant i do it?! the actionscript i copy and paste NEVER works! It always posts up with this notepad screen saying stuff is wrong! im soooooo lost! can somebody please help me? from the beggining, i have a circle button, what now??? step by step i need because im doing SOMETHING wrong and i cant figure it out thanks in advance

  2. #2
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Tampa, Fl.
    Here's a .fla and the AS used:

    on (press) {
    on (release) {
    		if (this._droptarget=="/target1") {
    		setProperty(this, _x, 444.8);
    		setProperty(this, _y, 133);
    		this._visible = false;
    	} else {
    		setProperty(this, _x, 76);
    		setProperty(this, _y, 128.3);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center