Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
domconlon #1
Scale parts of an object
I want to scale a movieclip but keep a nested movieclip within that the same
size. Is there any way of doing this? At first I thought I could just do the
following code:
this._parent._xscale = this._parent._xscale + 10;
this._parent._yscale = this._parent._yscale + 10;
this._xscale = this._xscale - 10;
this._yscale = this._yscale - 10;
but I was being exceptionally dumb and forgetting the percents of different
sizes will produce different results I-'.
any ideas?
domconlon Guest
-
can't scale object or text box with selection tool
I must have changed a setting unknowingly. I can no longer scale objects or text boxes with my selection tool. When I select the box there are no... -
How to Scale an Object or Image to 100%
Hi there, I am currentully working on an intro page an i need to scale my flash movie to fit the browser view width & height, i have set the... -
loadFile() and object scale :/
When I load a w3d file into my shockwave scene with the loadFile handler, the scale and the color(it has no texture, yet) of the object gets messed... -
CS - Scale point doesn't move with the object..
When i'm using the scale tool to resize something, very often I like to quickly hold the command key to show the temporary arrow to move the object... -
Selecting certain parts of an object in an arc
In Illustrator 10 I've created a line drawing--stroke only--of an arc shaped window treatment--a fabric covered pole which has a gathered look to it.... -
CesareRocchi #2
Re: Scale parts of an object
Get _width and _height of the nested object before scaling down its parent.
Whenever you scale the parent set the dimensions of the nested element to the
values
you have retrieved. Don't know about the visual effect. Maybe you could hide
the mc
during scaling ...
HTH,
-c.
CesareRocchi Guest
-



Reply With Quote

