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 being added to the stage. I don't remember specifics. I think it was more complicate than calling validatenow( ), but at the moment I can't imagine why.

On 3/11/2015 10:43 AM, Carlos Velasco wrote:
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 pawan yadav <pa...@evolphin.com>:

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 If I do includeInLayout= false then it will work but without adding
this element can somehow call its commit properties method.



--
Jeffry Houser
Technical Entrepreneur
http://www.jeffryhouser.com
203-379-0773

Reply via email to