[swfmill] Bug with (oldschool) setProperty and x/y properties...
Quentin
quentin.t at gmail.com
Thu Feb 22 06:40:13 EST 2007
Hi there!
I've tried to post a ticket on the Trac site but (as I mentioned in an other
mail to the list) I can't log in, so I'm posting it here...
I'm very happy with the 0.2.12 version but I've come across an issue today :
when using the outdated setProperty function combined with _x and
_yproperties (and
_xmouse and _ymouse), SwfMill seems to swap values... Which was not the case
with 0.2.11.20!
To experience the trouble I'm having, import the attached SWF via SwfMill or
build it yourself with the following ActionScript and 2 MovieClips on the
Stage (mc1 and mc2) :
function onEnterFrame() {
> mc1._x=_xmouse;
> mc1._y=_ymouse;
> //
> setProperty("mc2", _x, _xmouse);
> setProperty("mc2", _y, _ymouse);
> }
You'll notice that mc1 sticks to the mouse, but that mc2 only moves on an X
axis and seems to go to {_x:_ymouse, _y:null}...
How weird is that!
Hope somebody can fix this!
Quentin.
ps: I know the setProperty isn't really what a contemporary ActionScript
coder should do, but actually some of the (many) SWF files I'm working on
were made in the old days by some old-fashioned ActionScript newbies, so
please don't blame me!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swfmill_osflash.org/attachments/20070222/4ca08cc5/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setProperty.swf
Type: application/x-shockwave-flash
Size: 246 bytes
Desc: not available
Url : http://osflash.org/pipermail/swfmill_osflash.org/attachments/20070222/4ca08cc5/setProperty.bin
More information about the swfmill
mailing list