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

x
?
Solved

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

Posted on 2010-08-15
2
Medium Priority
?
487 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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…
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,…
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 select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

604 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