Thanks guys - It worked!
Best Regards
Pawan
On Thu, Mar 12, 2015 at 8:08 PM, Alex Harui wrote:
> First some trivia:
>
> -Adding a component to the stage is what sets the nestLevel.
> -I saw yesterday that you can just set nestLevel and skip adding to stage,
> but other things may not work like
First some trivia:
-Adding a component to the stage is what sets the nestLevel.
-I saw yesterday that you can just set nestLevel and skip adding to stage,
but other things may not work like style lookups.
-Calling validateProperties also resets the invalidateProperties flag.
Besides the calling o
Try calling invalidateProperties() before calling validateNow() to get
commitProperties() to fire.
On Wed, Mar 11, 2015 at 9:36 AM, Pawan Yadav wrote:
> No luck, It didn't work with nestLevel = 2.
> Not getting any call in commitproperties method through validateNow()
>
>
>
> Best Regards
> Pawa
Calling commitProperties directly will work but after that if this
component gets added then it is not showing display list properly. Instead
of creating news rows and align them properly it keeps on putting
everything on first row itself.
Best Regards
Pawan
On Thu, Mar 12, 2015 at 9:45 AM, Jake
Hi Jeffry,
*Why wouldn't you just call commitProperties() directly?*
commitProperties() is a protected method.
The OP stated that he is working with *some UIComponent *and that he
changed public properties such as *includeInLayout= false *and
*selectedItem**. *I took this to mean he is asking ho
On 3/11/2015 10:38 PM, Jake Knerr wrote:
//
To the OP: if you don't want to extend the component, you should be
able to get commitProperties() to fire on a component that has not
been added to the displayList by first calling invalidateProperties()
and then call validateProperties().
*E.G.*
*If it isn't on the stage; then invalidateProperties will have no affect;
because the SystemManager (is that the right class?) is not aware of it;
and will push the component through its validation process.*
I didn't realize that the component hadn't been added to the displayList.
Serves me right
On 3/11/2015 1:01 PM, Jake Knerr wrote:
Try calling invalidateProperties() before calling validateNow() to get
commitProperties() to fire.
If it isn't on the stage; then invalidateProperties will have no
affect; because the SystemManager (is that the right class?) is not
aware of it; and will
I did a simple test that worked for me. In the creationComplete handler
of a simple app, I did this:
private function testNestLevel():void
{
var s:TextArea = new TextArea();
s.nestLevel = 2;
s.validateNow();
}
In the debugger, I saw validateNow go into the TextArea’
No luck, It didn't work with nestLevel = 2.
Not getting any call in commitproperties method through validateNow()
Best Regards
Pawan
On Wed, Mar 11, 2015 at 8:40 PM, Alex Harui wrote:
>
> On 3/11/15, 7:50 AM, "Jeffry Houser" wrote:
>
> >
> > I did this back in "the day" when creating the wa
On 3/11/15, 7:50 AM, "Jeffry Houser" wrote:
>
> I did this back in "the day" when creating the watermark I used for
>Flextras components. I basically created a component, rendered it, and
>turned it into a bitmap before ever putting it on the stage.
>
> I had to write my own routine to force
I did this back in "the day" when creating the watermark I used for
Flextras components. I basically created a component, rendered it, and
turned it into a bitmap before ever putting it on the stage.
I had to write my own routine to force the component to go through
it's life cycle w/o b
Extend the component to use a custom data object as its data source. So
update the commit properties and lifecycle functions to get the current
data from the object.
Then what you have to ensure is that your data object is live, rather than
worrying about the component.
2015-03-11 11:30 GMT-03:00
Hi - Is it possible to maintain some UIComponent with adding it to any
parent component.
I need to keep mx in hidden state but want to update the data into it like
selected item. Since it is not added to any parent component that's why its
commit properties methods is not getting called.
I know I
14 matches
Mail list logo