BillyRayPreachersSon
Programmer
Hi...
I'm looking for a way to read data from a JavaScript array based upon the same page as my movie. I'm using ActionScript 2.0 (and exporting the movie as Flash 6, from Flash 8).
The array contains fairly simple data:
If it helps, I have Macromedia's Flash / JavaScript Integration Kit (JavaScriptFlashGateway.js) included on the page.
I know I could use an XML file, but for technical reasons, this is not feasible.
The only reason I'm looking to read directly from the array is that there could be a fair amount of data (365 strings and 365 integers), and don't know if there is a limit on the amount of data you can pass in the URL:
Thanks!
Dan
[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
I'm looking for a way to read data from a JavaScript array based upon the same page as my movie. I'm using ActionScript 2.0 (and exporting the movie as Flash 6, from Flash 8).
The array contains fairly simple data:
Code:
var count_data = [];
count_data[count_data.length] = { date:'20060301', amount:234 };
count_data[count_data.length] = { date:'20060302', amount:444 };
count_data[count_data.length] = { date:'20060303', amount:2335 };
count_data[count_data.length] = { date:'20060304', amount:446 };
count_data[count_data.length] = { date:'20060305', amount:465 };
If it helps, I have Macromedia's Flash / JavaScript Integration Kit (JavaScriptFlashGateway.js) included on the page.
I know I could use an XML file, but for technical reasons, this is not feasible.
The only reason I'm looking to read directly from the array is that there could be a fair amount of data (365 strings and 365 integers), and don't know if there is a limit on the amount of data you can pass in the URL:
Code:
myFlashMovie.swf?data1=abc&value1=1&data2=def&value2=7 ... data365=xyz&value365=42
Thanks!
Dan
[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]