Page 1 of 1

some strange behaviour!!!!

Posted: Fri Feb 01, 2008 12:29 am
by psunniaitec
in my application i noticed some strange behaviour...

ie.

if "import Print2Flash.*;" statement is there in the code

import flash.geom.*;
public var poi:Point=new Point();

is showing some misbehaviour!!!

Re: some strange behaviour!!!!

Posted: Fri Feb 01, 2008 4:05 am
by staff
This is because there is a name conflict between flash.geom.Point and Print2Flash.Point classes. You need to use full class names in such a case:

Code: Select all

public var poi:Point=new flash.geom.Point();