acry
12-24-2005, 08:26 AM
Hi,
I'm an actionscripting novice and I've been working on having an MC resize itself when a picture is loaded into it. I have the code and understand it (for the most part) but I don't get why, when I move the code to another flash project that does not have a square stage, everything goes haywire and the picture loads in the wrong position.
Is there something about having a square stage that is needed in doing this? The only part of the code that I don't grasp is the use of 'this._[value]' in the scripting.
I hope that was clear to some degree, and sorry if this has been posted before. :)
Any help would be appreciated.
-Sean
I'm an actionscripting novice and I've been working on having an MC resize itself when a picture is loaded into it. I have the code and understand it (for the most part) but I don't get why, when I move the code to another flash project that does not have a square stage, everything goes haywire and the picture loads in the wrong position.
Is there something about having a square stage that is needed in doing this? The only part of the code that I don't grasp is the use of 'this._[value]' in the scripting.
I hope that was clear to some degree, and sorry if this has been posted before. :)
Any help would be appreciated.
-Sean