I want to build flex search function.I want to type the key
word to search in first mxml page and then redirect to second page
when I click search button and show all the search results(CFC
I have following questions
1.How to redirect from first mxml file to second mxml file.
2.how to pass a variable from the first mxml file to second
There are at least two ways to do this. One way is to use
modules and load the module for the search results. Check the docs
for how to pass variables to a module.
A second way that looks like it might suit your app better is
just to use a viewStack. The first view would be your search page
and the next view would be the search results. In this approach,
you can keep everything in one mxml file and not have to worry
about passing variables to modules.