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
Solved

Dragging the focusrect rectangle,  Actionscript 2.0.

Posted on 2008-10-11
1
301 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to how to record live broadcast.

856 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