?
Solved

Changing Coordinates of an AS2 SWF When loading into a AS3 content loader

Posted on 2010-08-15
2
Medium Priority
?
483 Views
Last Modified: 2012-05-10
Hi Folks,

I have a drag and drop exercise that works fine in AS2. I am trying to load this drag and drop into a AS3 shell.

The problem I am facing is as soon as the swf is loaded the coordinates of the AS2 clip is changed and the drop zones have been moved to a different coordinates.

Any way to reset the coordinates like using globaltgolocal or some other method to align the coordinates to that of the AS3 loader stage.

Thanks

RG
0
Comment
Question by:rgarimella
[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
  • 2
2 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 33463106
in the as2 file, try lockroot
thing is you can't really integrate the AS3 and AS2 files
0
 
LVL 39

Accepted Solution

by:
blue-genie earned 2000 total points
ID: 33463118
come to think of it, the lockroot shouldn't make a difference to coordinates, but try it - nothing to lose

you can try the globlaToLocal  - case of try it as well

http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001936.html
0

Featured Post

Technology Partners: 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 a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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 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 how to how to load their YouTube profile onto Flash Media Live Encoder.
Suggested Courses
Course of the Month13 days, 6 hours left to enroll

777 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