For those (like me) beginning in mobile development with Flex 4.5, some obvious question as far as you build your first app is how to pass data between views. And the answer is straighforward: use the second parameter of navigator.pushView , then retrieve trough data property in the next view. So imagine I pass this data:
navigator.pushView(someView, input.text);
In the next view I retrieve like this
trace("intput.text is "+data)
You can pass any arbitrary data as the second argument, so i.e
navigator.pushView(someView, {name:"Jorge", age:40});
Could be retrieved like this:
trace("name "+data.name+", age "+data.age)
Since second argument could bve anything, you can pass even a reference to a data model, a better approach for mroe complex applications.
Jorge