You have to stay within 2880 pixels.

 

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14437

 

It is one of the reasons why the list classes virtualize the rows.

 

-Alex

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nxzone
Sent: Tuesday, March 20, 2007 12:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dimension limit on Sprite or Displayobject?

 

If a have a sprite and i draw a rectangle of more then 65535, all then
content is repeated.

(not working example)
public class UserViewEntry extends Sprite
{ 
public function UserViewEntry(entryData:EntryData){
//create ONE label and add it
this.addChild(label) 
label.x=0//be sure to move to 0
this.graphics.drawRect(0,0,100000,20);
}

public function click():void{
//why the label is visible in position 0, 65535, 131070...
this.x+=65535
}

}

 

Reply via email to