Solved

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

Posted on 2010-08-15
2
477 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
  • 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 500 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

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…
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…
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 use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

816 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now