Probably really dumb question here: I was setting the width/height of a
SpriteVisualElement and was not seeing the change reflected visually. I
made a quick test file (code below) to isolate this from the rest of the
app I am developing. Same thing - when the 'testSprite' receives a mouse
event,
These properties may be overridden. My gut feeling says there should be
something like commitProperties / validate or some similar method to apply
all changes to the changed display object.
Two things
1) Try setting the height and width of the container.
2) I tried to read the adobe docs and it says The SpriteVisualElement class
is a light-weight Sprite-based implemention of IVisualElement. and there are
no height and width property available for this class.
where are there are
At 3:14 PM +0200 7/13/10, Oleg Sivokon wrote:
These properties may be overridden. My gut feeling says there should be
something like commitProperties / validate or some similar method to apply
all changes to the changed display object.
Thanks for the reply. Still tinkering here - I changed the
4 matches
Mail list logo