Question: In Flash ActionScript 3, I extend a MovieClip as show below.
But when I create a ToolBar with ToolPictures, and set Xscale and Yscale, then it doesn't resize if I use cMyClip, it works correctly when I use MovieClip.
Am I missing something ? Or is extending not the same as inheritance ?
package
{
import flash.display.Stage;
import flash.events.MouseEvent;
import flash.display.MovieClip;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.Scene;
import flash.display.Sprite;
class cMyClip extends MovieClip
{
public var strToolTip:String="test";
public var load_width:Number=0;
public var load_height:Number=0;
public function cMyClip() //:cMyClip
{
super();
}
} // End Class
} // End Package