1 Reply Latest reply on Feb 10, 2012 7:31 PM by nfallon55

    pushView data

    nfallon55

      Hi,

       

      I have set a pushView to send a string from my first view to the next view.  When I try to access the string from the second view I get an error:

       

      Access of undefined property mySelection.

       

      Here is my code:

       

       

      protected function myLists_changeHandler(event:IndexChangeEvent):void

      {

           mySelection = myLists.selectedItem;

           navigator.pushView(views.listItems, mySelection);

      }

       

       

      I'm not sure what's going on that I can't get the data from the string?

       

      Neil