Select to view content in your preferred language

Flex Mobile Help - navigator.pushView from PopUp

3733
10
04-02-2014 03:52 PM
KomanDiabate
Deactivated User
Hi All,
I am working on a flex mobile app with popup box. Insisde the popup I have button and I am trying to click the button and push/open a specific view. I am using this code it runs without errors but as I click the button I get the infamous error 1009
TypeError: Error #1009: Cannot access a property or method of a null object reference.

protected function button1_clickHandler(event:MouseEvent):void
   {   
    (owner as spark.components.View).navigator.pushView(PersonalForm);

   }


Does anybody knows how to push a view from titleWindow popup window?

Thanks All
Tags (2)
0 Kudos
10 Replies
KomanDiabate
Deactivated User
Makes perfect sense, I was having problem clicking the X button on the mobile device anyway.
Thanks for the confirmation.
0 Kudos