I have a Camera class that inherits from Sprite that I don't want to actually move, but I'd like to have MovieClip think it's moving it.  I overrode all the set*() functions I care about to do what I want when called instead of moving the Camera sprite itself..  This works perfectly with GTween, since it actually calls Camera:set().  However, I'd like to be able to use MovieClip, but MovieClip appears to do it's transformations behind the scenes and doesn't call any of my overridden set*() functions.  Is there something I'm missing, or another way to accomplish this?  The only thing I can think of is to actually give MovieClip a real sprite, then create an ENTER_FRAME event to query the state of the sprite, and if it's moved, then run my actual code.  However, this seems quite inefficient.  I like the fact that currently I only have to process camera code if it's moved.
Thanks,
Nathan Shafer                
                
             
        
Comments