Solved

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

Posted on 2010-08-15
2
479 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 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

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

740 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