Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Dragging the focusrect rectangle,  Actionscript 2.0.

Posted on 2008-10-11
1
Medium Priority
?
319 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 2000 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

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 …
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…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to record live broadcast.
Suggested Courses

636 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