|
|
|
|
Blog by JasmineCorp | Create your own Blog
|
RSS Feed | Login |
Adobe Flash tips
|
Error #2101, URL-encoded query string in Classic ASP and Flash AS3 By tips at 2009-08-31 12:44:36
|
If you have this error in Flash AS3 and Classic ASP, here is the solution:
Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs. at Error$/throwError() at flash.net::URLVariables/decode() at flash.net::URLVariables$iinit() at sample_fla::MainTimeline/completeHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::onComplete()
I had Classic ASP file and when I add URL-encoded value in it, it worked. Here is what I did:
This is the original line of string: response.write("book" & number & "=" & (rs.Fields.Item("book").value)) & "&"
Here is URL-encoded: response.write("book" & number & "=" & (rs.Fields.Item("book").value)) & "%26" |
Permalink | Comments (0) |
Comments
|
To add a comment please login by clicking here
|
|