Thanks Raju . I tried it , but the child components are not growing ...
I am calling the below lines of code
percentHeight=100;
ExternalInterface.call("function() {
document.getElementById('testing').height='100%'; }");
var main:MainComponent=new MainComponent();
this.setStyle("backgroundGradientColors",[0X000000,
0X000000])
this.removeAllChildren();
this.addChild(main);
main.percentHeight=100;
and the size of the application is 100% , but inside the app the components
are not growing . I even set the size to 100% before creating child
components in it .. the 'main' is not coming up 100% . It is only coming to
the old size of the app .
any ideas ?
Regards
Kiran
On Tue, Jan 18, 2011 at 11:16 AM, Raju Khinda <[email protected]> wrote:
> Use java script to change width and height of object.
>
> On Tue, Jan 18, 2011 at 9:09 PM, Kiran Kumar Vasireddy <
> [email protected]> wrote:
>
>> Dear All,
>>
>> I have a requirement , initially setting flex application height to 300px
>> and then later changing to 100% . But initially when I set the size of the
>> application to 300px, AC_FL_RunContent is being set to 300Px . So later in
>> addition to flex application height , I have to increase this to 100% for
>> the application to work properly . I can able to change flex app size using
>> height or percentHeight , but to how to change AC_FL_RunContent height ...?
>>
>> any ideas?
>>
>> Regards
>> Kiran
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.