Tuesday, March 21, 2006

XML and Flash (8)

  • THE XML STUFF
  • Components:
  • XML Connector:
  • Drag onto to the screen:
  • Parameters- define whats going in and whats going out.
  • Schema-define the XML file
  • Action Script-Trigger the XML file: select the frame:Behaviours:Data:Trigger Data Source: Select the data XML connecter.
  • THE INTERFACE:an example for a simple interface (One box for menu, one text box for text, one loader for picture.)
  • User Interface:Combo box:name it
  • Select the XML component
  • Binding:link the combo with the XML
  • Select the properties that you want:Direction ie out:bound to ie the xml file:formatter:rearrange fields:formatter options
  • Componets:Text area:drag to screen:name it:
  • Select XML connecter:add another binding:formatter options
  • For more then one option you need to set the index:Combo:change relivant sections
  • Componets:Loader:Drag to screen:Bindings:choose:

No comments: