haha, only in Flash. :D

Scott


-----Original Message-----
From:   [EMAIL PROTECTED] on behalf of Igor Sadovskiy
Sent:   Fri 3/24/2006 11:21 AM
To:     Open Source Flash Mailing List
Cc:     
Subject:        Re: [osflash] AnimationPackage: small bug with Rectangle

Hello Adrian.


Yes, my class extends MovieClip so code is properly. The issue is it creates
and draws rectangle as child in my MovieClip, but it's name "*NaN_mc*".

Regards,
Igor


On 3/24/06, Adrian Park <[EMAIL PROTECTED]> wrote:
>
> Hi Igor,
>
> Perhaps a dumb/obvious question but, is this code sitting on a MoveClip
> instance? i.e. does 'this' in your Rectangle constructor refer to a
> MovieClip? If not, that could be the problem? I've used the Rectangle class
> in AP a fair bit and haven't encountered this issue.
>
> Either way, I agree that it seems odd to get a MovieClip instance name of
> NaN_mc!
>
> Regards, Adrian P
>
>  On 3/24/06, Igor Sadovskiy <[EMAIL PROTECTED]> wrote:
>
> >  Hello Alex.
>
> I'm using AnimationPackage to create Rectangle:
>
>   objRectangle = new Rectangle(this, 0, 0, numWidth, numHeight);
>   objRectangle.lineStyle(0, 0x000000, 100);
>   objRectangle.fillStyle();
>   objRectangle.setRegistrationPoint(new CPoint(0,0));
>   objRectangle.draw ();
>
>   trace(objRectangle.movieclip);
>
> Trace returns "_level10.mcMyClip.*NaN_mc*".
>
> I think it should be fixed.
>
> Regards,
>  Igor
>
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>
>
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>



<<winmail.dat>>

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to