sam3k
06-19-2007, 09:14 PM
I build a Flash application that stores in LSO info input by the user but want to handle the printing in HTML since the print classes in Flash a rather limited.
Basically, I've been storing all the info in an Array similar to this:
var myArray:Array = new Array();
myArray[0] = {NAME:"Smith", TITLE:"Mr.", USAGE:true};
myArray[1] = {NAME:"Alba", TITLE:"Mrs.", USAGE:true};
For my purposes, I do not need to store into a database, just need to create an HTML page on the fly with the table layout ready for print.
I looked at the remotingBB tutorial but found it confusing since I do not know MySQL.
Now, I just learned that it is not possible to send Arrays to PHP using AMFPHP so I was wondering a few things:
1. Whats the best possible way to convert this Array to Object(s)
2. How to handle the php side so it creates an HTML page as soon the call is done from Flash.
3. Are there any tutorials on printing info received from Flash through AMFPHP.
Basically, I've been storing all the info in an Array similar to this:
var myArray:Array = new Array();
myArray[0] = {NAME:"Smith", TITLE:"Mr.", USAGE:true};
myArray[1] = {NAME:"Alba", TITLE:"Mrs.", USAGE:true};
For my purposes, I do not need to store into a database, just need to create an HTML page on the fly with the table layout ready for print.
I looked at the remotingBB tutorial but found it confusing since I do not know MySQL.
Now, I just learned that it is not possible to send Arrays to PHP using AMFPHP so I was wondering a few things:
1. Whats the best possible way to convert this Array to Object(s)
2. How to handle the php side so it creates an HTML page as soon the call is done from Flash.
3. Are there any tutorials on printing info received from Flash through AMFPHP.