[flexcoders] Re: dynamic dimension of the page

2009-06-30 Thread anitha2324
Hi thanks alot , 

It is a great , i have found a great information in your reply as well as in 
the link , i have downloaded the examples and i have tested them. that is what 
i was looking for ...



Thank.




















--- In flexcoders@yahoogroups.com, "danapayne"  wrote:
>
> You have to add a  and/or  block and then 
> identify individual constraint column and/or rows (give them an id). You can 
> then tie elements to those constraints but you're still using top, left, 
> bottom, etc. and then the number of pixels away separated by a colon, it's 
> just that you're not limited to the parent containers borders.
> 
> Here's a link to an Adobe article on how to use them:
> http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Enhanced_Constraints
> 
> Dana
> 
> --- In flexcoders@yahoogroups.com, "anitha2324"  wrote:
> >
> > Thanks alot for the reply , 
> > 
> > but how i can avoid using (left,top,bottom) , what are the advance 
> > constraint?
> > 
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, Alex Harui  wrote:
> > >
> > > Try to avoid using left, right, top,bottom.  You can use advanced 
> > > constraints if you need to, but try using %width/%height only first
> > > 
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.
> > > Blog: http://blogs.adobe.com/aharui
> > > 
> > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> > > Behalf Of anitha2324
> > > Sent: Saturday, June 27, 2009 12:11 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] dynamic dimension of the page
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Hi All,
> > > 
> > > I am making a flex web page the following is some part of this page
> > > 
> > >  > > verticalGap="0"
> > > height="80%"
> > > width="60%"
> > > 
> > > left="10"
> > > bottom="160"
> > > horizontalAlign="left"
> > > >
> > >  > > width="100%"
> > > height="100%"
> > > horizontalGap="60"
> > > borderStyle="none"
> > > segments="6"
> > > reflectionEnabled="false">
> > > 
> > > 
> > > 
> > > 
> > > 
> > >  > > width="25%"
> > > height="25%"
> > > right="10"
> > > top="150"/>
> > >  > > height="20%"
> > > id="hMsg"
> > > backgroundColor="#FF"
> > > horizontalCenter="10"
> > > bottom="150">
> > >  > > width="100%"
> > > height="100%"
> > > fontSize="36"
> > > textAlign="center"
> > > fontFamily="Times New Roman"
> > > wordWrap="true"
> > > editable="false" borderStyle="none"/>
> > > 
> > > 
> > > 
> > >  > > width="50%"
> > > id="hLog2"
> > > left="30"
> > > bottom="25">
> > >  > > width="100%"
> > > height="10%"
> > > fontSize="50"
> > > color="#00"/>
> > > 
> > >  > > width="35%"
> > > id="hLog"
> > > left="2%"
> > > bottom="25">
> > >  > > width="110"
> > > height="75"/>
> > > 
> > > 
> > > 
> > > , actually i have completed the page and i have run it on my stystem and 
> > > it works fine , but when i run in another pc
> > > the page did not display correctly and some part of this plage has not 
> > > been displayed because the resolution of this screen is different from 
> > > the resolution of my screen , so how i do fix this issue
> > > so that my page can be displayed correctly regardless of the screen 
> > > resolution , I have tried to use the % like height="34%" but not all the 
> > > properties are accepting the % (such top , right)
> > > 
> > > any one can help to solve this issue
> > >
> >
>




[flexcoders] Re: dynamic dimension of the page

2009-06-28 Thread danapayne
You have to add a  and/or  block and then 
identify individual constraint column and/or rows (give them an id). You can 
then tie elements to those constraints but you're still using top, left, 
bottom, etc. and then the number of pixels away separated by a colon, it's just 
that you're not limited to the parent containers borders.

Here's a link to an Adobe article on how to use them:
http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Enhanced_Constraints

Dana

--- In flexcoders@yahoogroups.com, "anitha2324"  wrote:
>
> Thanks alot for the reply , 
> 
> but how i can avoid using (left,top,bottom) , what are the advance constraint?
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, Alex Harui  wrote:
> >
> > Try to avoid using left, right, top,bottom.  You can use advanced 
> > constraints if you need to, but try using %width/%height only first
> > 
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.
> > Blog: http://blogs.adobe.com/aharui
> > 
> > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> > Behalf Of anitha2324
> > Sent: Saturday, June 27, 2009 12:11 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] dynamic dimension of the page
> > 
> > 
> > 
> > 
> > 
> > Hi All,
> > 
> > I am making a flex web page the following is some part of this page
> > 
> >  > verticalGap="0"
> > height="80%"
> > width="60%"
> > 
> > left="10"
> > bottom="160"
> > horizontalAlign="left"
> > >
> >  > width="100%"
> > height="100%"
> > horizontalGap="60"
> > borderStyle="none"
> > segments="6"
> > reflectionEnabled="false">
> > 
> > 
> > 
> > 
> > 
> >  > width="25%"
> > height="25%"
> > right="10"
> > top="150"/>
> >  > height="20%"
> > id="hMsg"
> > backgroundColor="#FF"
> > horizontalCenter="10"
> > bottom="150">
> >  > width="100%"
> > height="100%"
> > fontSize="36"
> > textAlign="center"
> > fontFamily="Times New Roman"
> > wordWrap="true"
> > editable="false" borderStyle="none"/>
> > 
> > 
> > 
> >  > width="50%"
> > id="hLog2"
> > left="30"
> > bottom="25">
> >  > width="100%"
> > height="10%"
> > fontSize="50"
> > color="#00"/>
> > 
> >  > width="35%"
> > id="hLog"
> > left="2%"
> > bottom="25">
> >  > width="110"
> > height="75"/>
> > 
> > 
> > 
> > , actually i have completed the page and i have run it on my stystem and it 
> > works fine , but when i run in another pc
> > the page did not display correctly and some part of this plage has not been 
> > displayed because the resolution of this screen is different from the 
> > resolution of my screen , so how i do fix this issue
> > so that my page can be displayed correctly regardless of the screen 
> > resolution , I have tried to use the % like height="34%" but not all the 
> > properties are accepting the % (such top , right)
> > 
> > any one can help to solve this issue
> >
>




[flexcoders] Re: dynamic dimension of the page

2009-06-28 Thread anitha2324
Thanks alot for the reply , 

but how i can avoid using (left,top,bottom) , what are the advance constraint?




--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> Try to avoid using left, right, top,bottom.  You can use advanced constraints 
> if you need to, but try using %width/%height only first
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of anitha2324
> Sent: Saturday, June 27, 2009 12:11 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] dynamic dimension of the page
> 
> 
> 
> 
> 
> Hi All,
> 
> I am making a flex web page the following is some part of this page
> 
>  verticalGap="0"
> height="80%"
> width="60%"
> 
> left="10"
> bottom="160"
> horizontalAlign="left"
> >
>  width="100%"
> height="100%"
> horizontalGap="60"
> borderStyle="none"
> segments="6"
> reflectionEnabled="false">
> 
> 
> 
> 
> 
>  width="25%"
> height="25%"
> right="10"
> top="150"/>
>  height="20%"
> id="hMsg"
> backgroundColor="#FF"
> horizontalCenter="10"
> bottom="150">
>  width="100%"
> height="100%"
> fontSize="36"
> textAlign="center"
> fontFamily="Times New Roman"
> wordWrap="true"
> editable="false" borderStyle="none"/>
> 
> 
> 
>  width="50%"
> id="hLog2"
> left="30"
> bottom="25">
>  width="100%"
> height="10%"
> fontSize="50"
> color="#00"/>
> 
>  width="35%"
> id="hLog"
> left="2%"
> bottom="25">
>  width="110"
> height="75"/>
> 
> 
> 
> , actually i have completed the page and i have run it on my stystem and it 
> works fine , but when i run in another pc
> the page did not display correctly and some part of this plage has not been 
> displayed because the resolution of this screen is different from the 
> resolution of my screen , so how i do fix this issue
> so that my page can be displayed correctly regardless of the screen 
> resolution , I have tried to use the % like height="34%" but not all the 
> properties are accepting the % (such top , right)
> 
> any one can help to solve this issue
>