Solved

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

Posted on 2010-08-15
2
475 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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
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 set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

744 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

13 Experts available now in Live!

Get 1:1 Help Now