Making it happen
Massive ActionScript Gotcha
var srcR:Rectangle = r;
srcR.offset( -srcBm.x, -srcBm.y);
But as Rectangle is a reference class, in fact, in ActionScript every class is passed by reference so the above code will modify r also.
| Print article | This entry was posted by andrei on September 26, 2008 at 9:52 am, and is filed under Uncategorized. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
