Useful methods for Flash for Canvas.