-
has anyone sent variables from an MX movie to an asp page???
Hey all,
am having soooo much trouble with this.......
has anyone managed to do this? - send variables to an asp page with either the loadVariables command or the loadVars object.
gSOLO_01 has done it using cold fusion and MX, but i have not got cold Fusion - wondered if anyone else was having this problem.... moderators???
I just cannot get it to work in Flash MX
???????
thanks in adnace
gilesb
-
_root variables
When you use the XMLObj.SendandLoad to the asp page all the _root variables are send in the method you've specified. All you need to do is use the asp xml obj, and work through.
Set myXML = Server.CreateObject("MSXML.DOMDocument")
myXML.Load(Request)
I've found this method to be the best and the fastest, when it comes to interacting with ASP.
Hope it helps
Mat
-
Matheu?
did you mean within the asp page itself??
why would i need to do this? - the code works fine in Flash 5 interacting with asp, but loadVariables dont seem to send anything in Flash MX
??
-
Send variables should works fine in MX for both LoadVariables and XML. The only issue I have found is that one of the XML methods (.load()) sends variables using GET when it should use POST.
If you post the FLA, we can see if there is anything syntactical that could be an issue.
-
so the new loadVars object which is built similarly to the XML object, only uses "GET" when using the "load" method. Is this the default or can you not specify using "POST" as an argument?
this would kill my project as i need alot more variable length than the "GET" method would allow
if you give me your email i will mail you a sample of the code from work on Monday
many thanks for the offer of help
gilesb
-
I don't think I said that!
It ALL works. Trust me. Put up the FLA and I guarantee the send can be fixed.
-
ok i will do on Monday when i get into work...
thanks in advancve
gilesb
-
Opal Technologies
u can send variables to flash simply by....
following command will pass all the variables in "rsb" movie clip to "add.asp" file
on (release){
loadVariables("add.asp", "_root.rsb", "GET");
}
OR the following method will pass all the variables in "level 0" to "add.asp" file using get method.
on (release){
loadVariablesNum("add.asp", 0, "GET");
}
have recently done a project, heavy integration of ASP and Flash MX
http://www.opaltek.com/card/card.asp
"I have seen the movement of the sinews of the sky
And the blood coursing in the veins of the moon"
-
thanks Aqeel
i am sure i have tried all possibilities, but knowing that someone is having success with loadVariables in MX is reassuring.
My project is rather large so ther eis a possibility of variable duplication BUT i dont think so
i will try your suggestion on Monday when i am back into work
thanks once again
and thank you to all who have helped out in this post ( and the other 3 i posted to get opinions elsewhere on flashkit.... hell... thanks to flashkit too!!!!!!!)
gilesb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|