Share Posted March 6, 2012 Hey everyone, I am wanting to create a duplicate of the FlexTransformManager that I already have. Have it include all the same objects, size, rotation, etc. That way I can then work with that transformer independently without modifying the original. I tried: var transformerDuplicate:FlexTransformManager = new FlexTransformManager(); transformerDuplicate = myTransformer; addChild(transformerDuplicate); and all this seems to do it overwrite the original transformer. Does anyone know how I can create a duplicate, add it to my stage and be able to work with it from there? Thanks Link to comment Share on other sites More sharing options...
Share Posted March 6, 2012 I'm not aware of any way to duplicate a FlexTransformManager and all of its items without a LOT of code, and even with that, I'm not 100% sure it's possible. You'd literally have to know every property of every item so that you could create a new instance of each one and copy the properties over, etc. See what I mean? That's not a problem specific to FlexTransformManager either - it's virtually any DisplayObjectContainer. Link to comment Share on other sites More sharing options...
Author Share Posted March 7, 2012 If that's the case, I figure out another way to accomplish what I need. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now