Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 110690

Embedded drag and drop not working

$
0
0

Hi,

 

Hoping someone can help as have got 90% of the way through a project and hit a wall at the final (end-of-level-baddie) problem.

 

I'm currently embedding old AS2 activities (build by a second party - now not operating/contactable) into a new AS3 menu system.

 

Most of them I've managed to port across and embed without issue. Unfortunately embedding the drag and drop activity is proving to be, for want of a better phrase, a complete drag.

 

I've managed to decompile the code, so have put a few trace statements in to find out what might be going wrong. Looking in the collision detection part of the code, the problem appears to be that when the activity is embedded, although the index of the drag clip is returned fine with its corresponding index number, the index of the drop clip is returned as 'undefined'.

 

The activity works fine in a standalone flash player, with both indexes returning their respective numbers. However not so when it's embedded.

 

I'm guessing that this is a levels issue, but is there any easy way that I can force the AS2 drag and drop game to act as self-contained and ignore its parent holding clip?

 

Thanks in advance


Viewing all articles
Browse latest Browse all 110690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>