some strange behaviour!!!!

Publishing Print2Flash Documents embedding them in Flex applications
Post Reply
psunniaitec
Posts:15
Joined:Tue Jan 22, 2008 5:09 am
some strange behaviour!!!!

Post by psunniaitec » Fri Feb 01, 2008 12:29 am

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!!!

staff
Posts:267
Joined:Sat Dec 15, 2007 4:48 pm

Re: some strange behaviour!!!!

Post by staff » Fri Feb 01, 2008 4:05 am

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();

Post Reply