[mtasc] mtasc doens't like this class... don't know why

Jim Kremens kremens at gmail.com
Thu Oct 26 22:34:06 CEST 2006


Hi,

I often use classes like the one below to store constants for an
application.  Mtasc throws an error:

type error #astk.ui.drawing.shape.Box should be astk.ui.drawing.shape.Box

import astk.core.object.PropertyMap;
import astk.ui.drawing.shape.Box;
import astk.ui.drawing.shape.RoundedRectangle;

Here's the class:

class astk.ui.drawing.shape.ShapeMap extends PropertyMap

{

 public static var box:Box            = Box;
 public static var roundedRectangle:RoundedRectangle      =
RoundedRectangle;

}

Any ideas?

-- 
Jim Kremens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/mtasc/attachments/20061026/81b5325f/attachment.htm


More information about the mtasc mailing list