ailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Byron Canfield
>>Sent: Friday, March 24, 2006 4:34 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: Re: [Flashcoders] array of movieCLip
>>
>>The initial coordinates of a dynamically created movieclip are always
0.
ailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
>>Sent: Friday, March 24, 2006 4:26 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: RE: [Flashcoders] array of movieCLip
>>
>>I tryed to trace the movieclip ?width and height properties
I found the problem...
i solve it adding the .x and .y properties to every movieclip and passing them
the movie clip position.
In this way i can retrieve these values with movieclip.x and movieclip.y
___
Flashcoders@chattyfig.figleaf.com
To change you
The initial coordinates of a dynamically created movieclip are always 0.
Unless you have explicitly assigned a new value to the _x property of a
dynamically created movieclip, it will be zero.
--
Byron "Barn" Canfield
> If i create n movieclip with the createEmptyMovieClip giving to anyone a
>
I tryed to trace the movieclip ?width and height properties and it works,
but if i try with x and y it write 0 ...
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listi
If you have your scope right - it shouldn't be any problem. Are you
sure the instance names of the movie clips are correct? Are you sure
the path to the movie clips are correct?
theMovieClipInstance._x always equals the x position of the movie clip,
no matter how it was created.
Jason Merrill
6 matches
Mail list logo