Solved

Dragging the focusrect rectangle,  Actionscript 2.0.

Posted on 2008-10-11
1
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
To view Flash technology content error 4 6,802
Action Script commands 5 250
camtasia alternative that can record 3 hours video plus audio 24 144
PDF edit software 2 60
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to record live broadcast.
Suggested Courses

738 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