--- In [email protected], Frederico Garcia <[EMAIL PROTECTED]>
wrote: 

garcia> Well,this is in fact a lot of work. I used this because I 
garcia> wanted to surround my main canvas with different colors (like 
garcia> a tile). If you just want your canvas centered you have to
garcia> insert ALL you content inside a SINGLE container (canvas, panel, 
garcia> etc...) a center that container inside the Application 
garcia> (HorizontalCenter and VerticalCenter).

These two attributes are new to me. I was using horizontalAlign and
verticalAlign.

I will try that out.

garcia> I think what you'r trying to do is center the application 
garcia> itself. Not possible (or at least inside flex, in order to do
garcia> that you must change the html template and add the swf in the 
garcia> middle cell of a 3x3 table)

Ok, I am using Adobe AIR. What I want is to  center my Canvas inside
my Application Window. But, I guess that horizontalCenter and
verticalCenter should do that. I will try that.

Thanks for the reply.

All the best,

Fidel.


Reply via email to