Using Flash LoadVars.SendandLoad in Director MX

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default Using Flash LoadVars.SendandLoad in Director MX

    Hi Folks,
    I am using the Flash
    LoadVars.sendAndLoad command within a flash movie.

    This works fine in flash(HTML & Projector) but doesn't work at all when the flash movie is embedded
    within director. It appears that flash has no problems sending this through a Proxy server, but director does? It also appears that director doesn't make use of the default browser proxy setting hence the reason this not working?

    Anyone have any ideas on this.

    Cheers
    Darrin Hurd


    dhurd webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Saving XML from Flash XML.sendAndLoad
      I'm new to XML and haven't a clue how to integrate Flash xml and Coldfusion. There is a Flash app ( I didn't develop it) that is sending...
    2. LoadVars - sendAndLoad() over https.
      I am having problems with loadVars over https. What I am trying to do is sending credit card information from a flash store to a PHP-script on a...
    3. LoadVars.sendAndLoad not working with a coldfusion file
      my code is as follows: inside flash: var send_var:LoadVars = new LoadVars(); var result_var:LoadVars = new LoadVars(); result_var.onData =...
    4. sendAndLoad in Flash 8
      I'm using sendAndLoad to get some data from a SQL database. It worked fine in F7, and also works fine in F8 when the swf is on the server. But it...
    5. loadvars() with sendandload
      Hi Okay I'm trying to update a PHP DB by sending it some variables from Flash I'm using lvMySubmit = new LoadVars() lvMySubmit.g6 = 1...
  3. #2

    Default Re: Using Flash LoadVars.SendandLoad in Director MX

    Is the Flash file fully imported or linked? If it's fully imported then
    network calls won't work because the call is going out to the Director
    movie, not the browser window. If the Flash file is linked you should
    get the result that you expect.

    You might want to take a look at the tech notes on working with Flash
    in Director.

    --
    Rob
    _______
    Rob Dillon
    Team Macromedia
    [url]http://www.ddg-designs.com[/url]
    412-243-9119

    [url]http://www.macromedia.com/software/trial/[/url]
    Rob Dillon Guest

  4. #3

    Default Re: Using Flash LoadVars.SendandLoad in Director MX

    [url]http://www.macromedia.com/devnet/mx/director/articles/flash_in_director_[/url]
    8.html


    [url]http://www.macromedia.com/support/director/ts/documents/sample_flashvars[/url]
    end.htm

    [url]http://www.macromedia.com/support/director/ts/documents/index_sample_fil[/url]
    es.htm

    Each of these has some useful information about working with Flash in
    Director.

    --
    Rob
    _______
    Rob Dillon
    Team Macromedia
    [url]http://www.ddg-designs.com[/url]
    412-243-9119

    [url]http://www.macromedia.com/software/trial/[/url]
    Rob Dillon Guest

  5. #4

    Default Re: Using Flash LoadVars.SendandLoad in Director MX

    Hi Rob,
    Thanks for your response.
    However, I had read those tech notes, and nowhere can I see it state that to send data
    from flash using LoadVars.sendAndLoad(), that the flash content needs to be linked externally.

    To compound this, I changed my system so that the flash content was linked externally, and it still didn't work.

    This is a problem that only occurs on some systems, and I beleive is related to the proxy server settings.
    Embedding, or linking the content into director on my system, works fine, I can send and retreive data at will. However if I try and run the same software on a school server, with stricter proxy settings, it won't send at all.

    If I dont have the content in Director, but run it either from an html page, or as a flash EXE, it works fine on both systems.

    This is a bit of a pain, the only way I have managed to get it to work, is by having director launch a flash exe, and communicate the data we want to send through to the flash exe by using Local Connection Objects. The flash EXE then handles all communication with the Server, and works fine.
    This of course is not the ideal situation, and is more of a Band-Aid until I can resolve why Director will not do this.
    I also had the flash embedded in an ie ActiveX window within director, which worked as well, but required the user to install the flash OCX.

    Many Thanks
    Darrin Hurd



    dhurd webforumsuser@macromedia.com 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