I am new to flex and want to design a search page: 
Basically once user gives his input, the search page should go away 
and teh results should appear. 

I tried doing 2 mxml files for this and passing values as query 
string 
params. The 2 page setup works but I am not able to pass values as 
query strings. 


Homepage.mxml is the page with the search input. on click of a 
button 
here the control should go to SearchByTitle.mxml. Here is the code 
snippet. 


  public function SearchByTitle():void 
            { 
        navigateToURL(new URLRequest("SearchByTitle.html? 
search='"+txtTitleSearch.text+"'"), '_self'); 
          } 


  How do I read the value in SearchByTitle mxml ? 


I have also been reading that a flex application should have only 
one 
<application> file and the rest should be components. 


I would greatly appreciate a quick response. 


Thanks, 
Kulsum 




Reply via email to