I've prepared an automatic testing for our gravity-embedded.swf
movie. It works nicely in checkin the textarea scale text
comparing it with the expected value, but when really getting
the _xscale and _yscale members of the character I get an
"unrounded" value:
PASSED: string(text->get_text_value()) == 44
PASSED: const_cast<character*>(loaded)->get_member("_xscale", &tmp)
FAILED: tmp == '43.999999761581' (expected: 44)
Should we return the "rounded" value directly from the _x member
getter instead, or also: does gravity-embed.swf contain any
*rounding* ActionScript code ?
--strk;
/"\ ASCII Ribbon Campaign
\ / Respect for low technology.
X Keep e-mail messages readable by any computer system.
/ \ Keep it ASCII.
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev