Small Address Book

In flash i have created a small address book ) which has a search button also )
iam explaing you what i have created )

  1. label -Find Person

  2. right next to it ( its a input text box ( instance name (searchPerson)

  3. right next to it ( its a submit button ( instance name ( search_button)

  4. on the down part i have
    label - Name ( right next to it ( a DYNAMIC TEXT BOX ) var: name
    label - Address ( right next to it ( a DYNAMIC TEX BOX ) var: address
    label - city ( right next to it ( a DYNAMIC TEX BOX ) var: city
    label - state ( right next to it ( a DYNAMIC TEX BOX ) var: state
    label - country ( right next to it ( a DYNAMIC TEX BOX ) var: country

  5. now iam unable to actionscript

  6. i wanted this through XML


the summary of this that if some one try to find the person name on the searchPeron Input text box as it appears on its xml then it should be back in the ( suitable dynamic text boxes )
if not found then " sorry no match should be in the (dynamic text box Var : name )
can you plz help me in this ! plz ! thank you