[Flashcoders] problem creating multiple instances

2007-05-22 Thread Bill Mackin
Hello, I'm having a problem with one of my class files. I've created a class to control the animation of a 3D plane, but I am unable to use multiple instances at the same time. I'm not sure what it is that is conflicting. Any ideas would be appreciated. I've attached the class file.

Re: [Flashcoders] problem creating multiple instances

2007-05-22 Thread Bill Mackin
Allows you to animate MovieClips and Bitmaps on a 3D plane with full control and easing. AUTHOR(s) Bill Mackin - http://www.billmackin.com Combination of scripts and development of 3D animation API

Re: [Flashcoders] problem creating multiple instances

2007-05-22 Thread Bill Mackin
:[EMAIL PROTECTED] On Behalf Of Bill Mackin Sent: Wednesday, May 23, 2007 12:51 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] problem creating multiple instances Hello, Looks like the attachment did not go out. I've pasted the Actionscript into this e-mail. Cheers, - Bill

Re: [Flashcoders] problem creating multiple instances

2007-05-23 Thread Bill Mackin
After reading your first e-mail I did go through and make a change here, but it did not resolve the issue. _mcLibrary = _scope.attachMovie(libraryLink, mcLibrary+myName, _scope.getNextHighestDepth()); The line you mention is not the MovieClip reference for the plane, but a MovieClip

Re: [Flashcoders] problem creating multiple instances

2007-05-23 Thread Bill Mackin
Yes it is. It is the name the person designates to the plane at runtime. On May 23, 2007, at 9:58 PM, David Ngo wrote: Where are you getting 'myName'? Is that a unique name per instance? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill

Re: [Flashcoders] problem creating multiple instances

2007-05-23 Thread Bill Mackin
Muzak, Thanks for your suggestion, I will look into XRay for future projects. I have of course placed several trace commands throughout my code, but I am still unable to find the problem. Cheers, - Bill On May 23, 2007, at 9:46 PM, Muzak wrote: I suggest you start placing some trace()'s

Re: [Flashcoders] Detect Flash version in AS3

2007-05-23 Thread Bill Mackin
Joe, In my experience, using some kind of javascript like SWFObject or UFO is the best way to go. There is a project named SWFFix that looks promising, but it appears that no work has been done on it since Feb. http://www.swffix.org/devblog/ As for using AS3 to detect for the version of

Re: [Flashcoders] Q:Create and animate diagonal slices from Bitmap

2007-05-23 Thread Bill Mackin
Jesse, Pretty cool! H... Would be great if the you were able to add filters to the image below just within the bounds of that slice. Cheers, - Bill On May 24, 2007, at 12:15 AM, Jesse Graupmann wrote: Stage.scaleMode = 'noScale' import flash.display.* import flash.geom.*

Re: [Flashcoders] problem creating multiple instances

2007-05-23 Thread Bill Mackin
Finally found the problem!! In the end it was very simple. I did not define _myMouseListener:Object in the correct place, and it was being overwritten. Thanks for the help! Cheers, - Bill On May 24, 2007, at 6:41 AM, Bill Mackin wrote: Yes it is. It is the name the person designates