DevelopPHP.com 2010 Discussion Archive(not active)

 

Forum Index >> Flash and ActionScript 3 Forum

The flash Guestbook tutorial
   THREAD CLOSED
The flash Guestbook tutorial
by Bandit - Mon Feb 07, 2011 04:15:10 AM

I tryed to do the guestbook with flash actionscript 3.0 and php which I foud under Flash tutorials http://www.developphp.com/Flash_tutorials/show_tutorial.php?tid=601. I even took the "right" actionscript code, but when I tryed it on my server I got a error message that says:

"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()
 at flash.net::URLLoader/onComplete()"

Where are the error? I've checked AS and the PHP coding without finding any. Does anybody know where the error is?


RE: The flash Guestbook tutorial
by rmazook - Mon Feb 07, 2011 12:10:42 PM
Please post the actionscript code that you are using in here so that I may have a look.  :)

RE: The flash Guestbook tutorial
by Bandit - Mon Feb 07, 2011 02:36:47 PM
You will find them here: http://www.developphp.com/articles_read.php?aid=124

RE: The flash Guestbook tutorial
by rmazook - Mon Feb 07, 2011 07:21:27 PM
Well I'm not really sure why you would be getting those errors because I'm using the same guestbook on my website and it seems to be working fine.  The problem is with this code I believe:

var varSend_re:URLRequest = new URLRequest("guestbookParse.php");

Try changing the URLRequest to the full URL of the .php file.  Like this:

var varSend_re:URLRequest = new URLRequest("http://www.whateversite.com/guestbookParse.php");

Some servers need full URL's...I've helped others before by instructing to do this exact thing.

RE: The flash Guestbook tutorial
by Bandit - Fri Feb 11, 2011 04:42:38 AM
I've tried that one to and it still doesn't work..

   THREAD CLOSED  
©2009 DevelopPHP.com