loading vars from remote loc
- Started
- Last post
- 4 Responses
- beingdevious
unfit? listening?
anyway...
im trying to create a portfolio on cdrom, i need a swf to communicate to my webserver to call a php script... then load the variables it outputs from my SQL db.is this possible? can flash even communicate to something thats not located on the same domain as the swf?
if not, i need to create something that will call the php from outside flash as a workaorund. javascript? can i call a js function from flash that will execute the php and then pass the vars all the way through?
please help
- mr_flaco0
I believe the php has to be on the same server as the db, but I am not totally positive. That would be the only thing that would be an issue. I load vars across domains all the time - mostly for testing - and to keep shady clients honest.
- unknown0
yep. that's all possible.
- beingdevious0
ok im resorting to netLingo.
basically when i click a button, i want to call the php script on the web. then output the results into vars i can transfer to flash
im having trouble using netlingo though. im using ---
netID = getNetText(thePHP)
put netIDand i get numbers, not my text the php generates