Solved

Dragging the focusrect rectangle,  Actionscript 2.0.

Posted on 2008-10-11
1
293 Views
Last Modified: 2013-11-11
Hello,
My question is,
Is it possible to drag the focusrect rectangle along with the movieclip.

This is the code I am using now, but it does not drag the focusrect rectangle along with the movie clip.

Thanks for the help.
movie_clip.onPress=function(){

this.focusEnabled = true;

	Selection.setFocus(this);

	this.startDrag();

}

movie_clip.onRelease=function()[

this.stopDrag();

}

Open in new window

0
Comment
Question by:quetzali
1 Comment
 
LVL 37

Accepted Solution

by:
CyanBlue earned 500 total points
ID: 22697092
No, that's not possible...  Maybe you should really disable the focusrect by setting the _focusrect to false when you start dragging the movieClip and set it back to true after you stopped dragging it...

CyanBlue
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now