Hi there Awoogamuffin ,
Thank you so much for your time and effort on this. I’ve played with both options so that I understand them fully and have integrated the second method into my actual project successfully.
My actual movie is quite complex, so as you described, the first method wasn’t really practical. However the second method has worked perfectly.
Really appreciate your help as I would of never got anywhere near finding the localToGlobal function, instead I would of probably ended up producing something that works, but was very untidy! I’m new to AS3, so my skills are pretty limited.
Thanks too for the other tips on my inefficient code. The script is part of a big e-learning project I’m working on and was heavily stripped down for the .FLA I uploaded. In the full project there is lots going on so I think it evolved into the script I had while I couldn’t see the ‘wood from the trees’. I’ve tidied it up now and it’s all a lot cleaner following your suggestions.
BTW, like the game in your blog.
VMT
metalfury




Reply With Quote
