What does the call stack look like?

On 9/11/14 12:15 PM, "Oleg Konovalov" <oleg...@gmail.com> wrote:

>I am calling it by clicking a button on fully drawn screen, so I would
>expect that hostComponent to be initialized by then. Are there any
>conditions to check or configuration I need to know about?
>Seems to work fine on many similar screens.
>Using Flex 4.5.1.
>And F3 does bring me to correct method.
>On Sep 11, 2014 3:03 PM, "Alex Harui" <aha...@adobe.com> wrote:
>
>> Calling too soon before hostComponent is assigned, or maybe
>>hostComponent
>> is the type you specified.
>>
>> On 9/11/14 11:53 AM, "Oleg Konovalov" <oleg...@gmail.com> wrote:
>>
>> >Hi,
>> >
>> >I am creating a View/ViewSkin pair,
>> >with view extending SkinnableContainer.
>> >As usual, often have to call hostComponent.method1(),
>> >but getting Error # 1009 Cannot access a property or method.
>> >I do define HostComponent properly in the skin.
>> >When I call that method1, hostComponent is NULL. Why?
>> >What I might be missing?
>> >
>> >TIA,
>> >Oleg
>>
>>

Reply via email to