Solved

Dragging the focusrect rectangle,  Actionscript 2.0.

Posted on 2008-10-11
1
304 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
Can't find all of the preferences on Flash Pro 2 494
Crash with shockwave flash 8 254
Open Source MP4 Flash Player 2 198
Windows 7, Adobe Flash Player and Internet Explorer 11 15 105
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
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,…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

756 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