Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
simsjr #1
ActionScripting Width, Height, X, and Y ?
ActionScripting Width, Height, X, and Y ?
Anyone know what actionscript is involved in changing the width, height, x,
and y data for a graphic symbol?
In the end, I want to be able to click a button to resize and reposition a
symbol on the stage - including easing!
Can anyone help??
Thanks!
simsjr Guest
-
textArea height width autosize
I'm trying to change the textArea's height I have instantiated in actionscript .. I've tried two methods. 1. Assign text to textArea,... -
how to get stream width and height?
hello; is there a way to get a streams width and heigh so that I can dynamically change the size of the video object? thanks dsdsdsdsd Chicago -
Stage width & height
Has anyone else noticed that stage.width and stage.height report incorrectly when yopu test your movie at 100% Does anyone have a good way round... -
Can't control height and width
When I draw a rounded rectangle, i can no longer get a Height and Width measurement readout from the properties window. It gives me 64000 for the... -
Image Height and Width values
After pulling an image from the data base and the Image.Height and Image.Width are not set to the ImageURL's attributes. 1) Is there a way to... -
Pea #2
Re: ActionScripting Width, Height, X, and Y ?
object._x = 100;
object._y = 50;
object._width = 200;
object._height = 300;
object._xscale = 99; // percent
object._yscale = 87 // percent
But seriously, read the help! (Look in the actionscript reference under
MovieClip)
Pea Guest
-
Pea #3
Re: ActionScripting Width, Height, X, and Y ?
p.s. The object needs to be a movieClip object, not just a graphic object. If
its a graphic object, first wrap it inside a movieClip object or convert it to
a movieCLip object so that you can name it.
Pea Guest
-
Ticean Bennett #4
Re: ActionScripting Width, Height, X, and Y ? Doing something wrong.
I've got a similar question. I've loaded an external image into a movie
clip. When i try to resize the image width and height using MC._width =
100, and test the movie the movie clip is not visible. I test the width
and height and I get both as 0, as if attempting the resize nulled the width
and height.
I looked at the documentation and it says that _width and _height are read
only values. But i'm pretty sure that I've made changes to clips before
using the same method as above. I have worked around the problem by using
_xscale and _yscale. But I was wondering, for the pure sake of knowledge,
if this has something to specifically with the MC containing the loaded
image graphic.
Anyone know?
thanks,
Ticean
"Pea" <webforumsuser@macromedia.com> wrote in message
news:c23uvm$t3c$1@forums.macromedia.com...If> p.s. The object needs to be a movieClip object, not just a graphic object.it to> its a graphic object, first wrap it inside a movieClip object or convert> a movieCLip object so that you can name it.
>
Ticean Bennett Guest



Reply With Quote

