The easiest way to break up your canvas into sections is to use constraints.  
Using child containers will work, but has a greater impact on performance.

Check out this link:  
http://livedocs.adobe.com/flex/3/html/help.html?content=size_position_5.html

--- In [email protected], Nini7016 Nini7016 <nahloulaha...@...> wrote:
>
> 
> Hello :)
> 
> 
> I would like to separate my canvas in differents parts.
> 
> I have supposed if i add a contaiiner, it can do this separation..
> 
> 
> Do you have any idea to how to separate a convas please
> 
> 
> This is my code :
>            
> 
> public class FigureCanvas extends Canvas{
> ..........
> 
>            public function FigureCanvas(){
>             super();
> 
>             this.styleName="GraphicalViewerStyle";
>             this.percentWidth = 100;
>             this.percentHeight = 100;
> 
>             this.doubleClickEnabled = true;
>             this.initEventListener();
>         }
>     
> 
> Any idea please ??
> 
> Thanks 
> 
>     
>                                         
> _________________________________________________________________
> Hotmail et MSN dans la poche? HOTMAIL et MSN sont dispo gratuitement sur 
> votre téléphone!
> http://www.messengersurvotremobile.com/?d=Hotmail
>


Reply via email to