load/send XML data via HTML form

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default load/send XML data via HTML form

    I currently have a Flash app that gets populated by parsing data from an
    external XML file. However, I need to get the XML data into a (JSP) session and
    can't neccesarily have an external XML file--any suggestions? Can I put the XML
    string into a hidden input field in a form on the HTML? Can Flash communicate
    with that HTML? Or are one of the below methods recommended:
    * FlashVars
    * Flash Remoting
    * Web services
    * JavaScript - call JS function
    * fscommand
    * ExternalInterface

    I've been working with Flash for years, but somewhat new to the above topics
    and advanced AS....

    Thanks,
    -Pete

    skeeter1 Guest

  2. Similar Questions and Discussions

    1. Send data from html to flash action script
      Hi, I would like my flash to act differently depending on what html page it is on. Can I send information from html code to action script?
    2. Send data from a form through email without using CFMAIL
      Newbie question: I have this form that collects data from input boxes and would like to send that data to an email address. Is there a way to do...
    3. Send data to form field
      Hi, I want to have a button, that when clicked goes to a .htm or .asp page with a form in it, populating one of the form fields. ie. the visitor...
    4. How can I send data to a Flash file (swf), by clicking on a html link?
      How can I send data to a Flash file (swf), by clicking on a html link? (my english is bad) I have a little Flash movie, inside my html document...
    5. Send email from HTML Form without ASP
      Hi...I was wondering if it is possible to send an email containing data caught in an HTML form, without using ASP (as my ISP doesn't support ASP). ...
  3. #2

    Default Re: load/send XML data via HTML form

    If the XML is static, you can place the XML inside the Flash Movie versus
    placing inside an HTML file. You can use the XML parse method to break it up
    for use as an XML object.

    However if you are communicating with a server then get the XML data from a
    server script that maintains the session.

    Look at XML class and the load or the sendAndLoad methods for examples.


    --
    Lon Hosford
    [url]www.lonhosford.com[/url]
    Flash, Actionscript and Flash Media Server examples:
    [url]http://flashexamples.hosfordusa.com[/url]
    May many happy bits flow your way!
    "skeeter1" <webforumsuser@macromedia.com> wrote in message
    news:ea8k5j$ens$1@forums.macromedia.com...
    >I currently have a Flash app that gets populated by parsing data from an
    > external XML file. However, I need to get the XML data into a (JSP)
    > session and
    > can't neccesarily have an external XML file--any suggestions? Can I put
    > the XML
    > string into a hidden input field in a form on the HTML? Can Flash
    > communicate
    > with that HTML? Or are one of the below methods recommended:
    > * FlashVars
    > * Flash Remoting
    > * Web services
    > * JavaScript - call JS function
    > * fscommand
    > * ExternalInterface
    >
    > I've been working with Flash for years, but somewhat new to the above
    > topics
    > and advanced AS....
    >
    > Thanks,
    > -Pete
    >

    Motion Maker Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139