Ask a Question related to Macromedia Director Lingo, Design and Development.
-
dhurd webforumsuser@macromedia.com #1
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
-
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... -
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... -
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 =... -
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... -
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... -
Rob Dillon #2
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
-
Rob Dillon #3
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
-
dhurd webforumsuser@macromedia.com #4
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



Reply With Quote

