I have a class named Drag with a static function create.
A drag is created as : Drag.create(...) Now I would like to use a Factory to return a drag, but the problem is that the Factory has to return the class Drag instead of an instance of Drag... So what I would like to do is : myFactory.getDrag().create(...); of something like : Class Drag = myFactory.getDrag(); Drag.create(...) Is this possible? Thx, Lieven Cardoen Vriendelijke groeten, Lieven Cardoen PointX Multimedia Engelse Wandeling 2 K18 8500 Kortrijk Tel. 056 361197 Fax 056 35 26 48 www.pointx.be <http://www.pointx.be/> _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

