Loading and Array Limitations
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > Loading and Array Limitations




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Loading and Array Limitations  
Tokousbalides T.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-21-05 12:45 PM

Hi,

I am trying to load an array of data into flash from a txt document of type:
&firstArray = bla, blabla, blablala, blablablabla, blablaebltkaet&
&secondArray = oaigh,graoighrb,gsargrsai,agsrgrsa&
etc...

One problem i had was that flash seemed to be limited to loading upto 64kb
per variable,
so my huge firstArray would only be loaded until a point.

I splitted the array into chunks of less than 64kb, thinking of joining them
all together in flash.
Unfortunately it seems flash cant handle arrays with more than 20382
characters...

Can anyone think of another way round this?

Failing is there a paper or smthg showing the data limitations of flash?

thnx.


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: Loading and Array Limitations  
Frédéric v. Bochmann


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-21-05 10:47 PM

Have you tried loading your arrays in such a way (Evaluated arrays):

&item_0=something&item_1=something else&item_2=wow 3 items&item_3=more and
more......

To loop threw the items and build an Array;
//
var loadV
...
//
var i=0;
var temp;
var dataArray:Array = new Array();
while(temp=loadV["item_"+i] != undefined) {
dataArray.push(temp);
}
// Here you should have your data in the new dataArray variable.




-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Tokousbalides
T.
Sent: July 21, 2005 9:17 AM
To: FlashComm Mailing List
Subject: [FlashComm] Loading and Array Limitations

Hi,

I am trying to load an array of data into flash from a txt document of type:
&firstArray = bla, blabla, blablala, blablablabla, blablaebltkaet&
&secondArray = oaigh,graoighrb,gsargrsai,agsrgrsa&
etc...

One problem i had was that flash seemed to be limited to loading upto 64kb
per variable,
so my huge firstArray would only be loaded until a point.

I splitted the array into chunks of less than 64kb, thinking of joining them
all together in flash.
Unfortunately it seems flash cant handle arrays with more than 20382
characters...

Can anyone think of another way round this?

Failing is there a paper or smthg showing the data limitations of flash?

thnx.


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: Loading and Array Limitations  
Merrill, Jason


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-21-05 10:47 PM

Have you tried XML?

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com









[vbcol=seagreen] 
type:[vbcol=seagreen] 
64kb[vbcol=seagreen] 
joining them[vbcol=seagreen] 
flash?[vbcol=seagreen] 
NOTICE:
This message is for the designated recipient only and may contain privile=
ged or confidential information. If you have received it in error, please=
=20notify the sender immediately and delete the original. Any other use o=
f this e-mail by you is prohibited.

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Re: Loading and Array Limitations  
Tokousbalides T.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-21-05 10:47 PM

"Have you tried XML?"

XML has the same results, its not about the protocol, i think its about
flash size limitations..

"Have you tried loading your arrays in such a way (Evaluated arrays):"

yes and it didnt work because when i push all data in the array in flash the
array didnt
contain all elements..

I remember i read somewhere, i think in macromedias site, about the
limitations of data elements in flash...





-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Tokousbalides
T.
Sent: July 21, 2005 9:17 AM
To: FlashComm Mailing List
Subject: [FlashComm] Loading and Array Limitations

Hi,

I am trying to load an array of data into flash from a txt document of type:
&firstArray = bla, blabla, blablala, blablablabla, blablaebltkaet&
&secondArray = oaigh,graoighrb,gsargrsai,agsrgrsa&
etc...

One problem i had was that flash seemed to be limited to loading upto 64kb
per variable,
so my huge firstArray would only be loaded until a point.

I splitted the array into chunks of less than 64kb, thinking of joining them
all together in flash.
Unfortunately it seems flash cant handle arrays with more than 20382
characters...

Can anyone think of another way round this?

Failing is there a paper or smthg showing the data limitations of flash?

thnx.

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

 ****************************************
**********************
Scanned by  eScan  Anti-Virus  and  Content Security Software.
Visit http://www.mwti.net for more info on eScan and MailScan.
 ****************************************
**********************





=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: Loading and Array Limitations  
Merrill, Jason


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-21-05 10:47 PM

With that much data, you might try using Remoting to grab the data if
you can have access to a data server.

If not, there might be some third party parsers out there that do a
better job at loading data than Flash does. =20

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com









[vbcol=seagreen] 
about[vbcol=seagreen] 
flash the[vbcol=seagreen] 
Tokousbalides[vbcol=seagreen] 
type:[vbcol=seagreen] 
64kb[vbcol=seagreen] 
joining them[vbcol=seagreen] 
flash?[vbcol=seagreen] 
NOTICE:
This message is for the designated recipient only and may contain privile=
ged or confidential information. If you have received it in error, please=
=20notify the sender immediately and delete the original. Any other use o=
f this e-mail by you is prohibited.

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: Loading and Array Limitations  
Merrill, Jason


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-21-05 10:47 PM

Check out XPath http://xfactorstudio.com/=20

My understanding is it loads XML in a completely different way, making
it much faster than standard Flash XML "Load n' Parse" implementations.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com









[vbcol=seagreen] 
arrays):"[vbcol=seagreen] 
of[vbcol=seagreen] 
upto[vbcol=seagreen] 
privileged or[vbcol=seagreen] 
notify the sender[vbcol=seagreen] 
you is[vbcol=seagreen] 

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Re: Loading and Array Limitations  
András Csizmadia


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-21-05 10:47 PM

Hi,

I'm not sure that your problem came from flash size limitations..
I made two simple test now, first i've built two string variables, each with
100kbytes long,
-> then merged them into one array with success(dumped array size was about
2x100kbytes,
then I did some test with an array containing 65000 indexes (dumped array
size was about 150kbytes) also with success..
Anyway we are working with huge size of xml-s with no problem, but I
recommend to split into pages/chunks the data if you really don't need to
handle it alltogether.

sometimes we use this:
http://www.strille.net/tutorials/Fl...essor/index.php


Regards, Andrew

----- Original Message -----
From: "Tokousbalides T." <ttokouz-tID25R/4PkRpxd+mj9Ai3A@public.gmane.org>
To: "FlashComm Mailing List" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@pub
lic.gmane.org>
Sent: Thursday, July 21, 2005 3:16 PM
Subject: [FlashComm] Loading and Array Limitations


> Hi,
>
> I am trying to load an array of data into flash from a txt document of
type:
> &firstArray = bla, blabla, blablala, blablablabla, blablaebltkaet&
> &secondArray = oaigh,graoighrb,gsargrsai,agsrgrsa&
> etc...
>
> One problem i had was that flash seemed to be limited to loading upto 64kb
> per variable,
> so my huge firstArray would only be loaded until a point.
>
> I splitted the array into chunks of less than 64kb, thinking of joining
them
> all together in flash.
> Unfortunately it seems flash cant handle arrays with more than 20382
> characters...
>
> Can anyone think of another way round this?
>
> Failing is there a paper or smthg showing the data limitations of flash?
>
> thnx.
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>



--
No virus found in this outgoing message.
Andr_s Csizmadia | 0036703308043 | cs.andras-J+jpbPhcmEAHWmgEVkV9KA@public.gmane.org | 
www.vpmedia.hu
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.2/53 - Release Date: 2005.07.20.


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: Loading and Array Limitations  
Frédéric v. Bochmann


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-22-05 01:45 AM

Cute compressor, but as it mentions:

"HTTP Compression
This is something which will make this tool a bit redundant. It is =
already
supported in many browsers. The content is compressed using gzip before =
it
is sent from the server. The browser uncompresses the data, and the =
Flash
movie doesn't know the difference, but the xml file will load a lot =
faster!"

But then you need to enable your web-server for this option.

-------
"My understanding is it loads XML in a completely different way, making =
it
much faster than standard Flash XML "Load n' Parse" implementations."

FYI:
XPath does use the XML object to parse the data. I might be wrong since =
I
never looked at it.

-------




Sincerely=20
Fredz./




-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Andr=E1s
Csizmadia
Sent: July 21, 2005 1:47 PM
To: FlashComm Mailing List
Subject: Re: [FlashComm] Loading and Array Limitations

Hi,

I'm not sure that your problem came from flash size limitations..
I made two simple test now, first i've built two string variables, each =
with
100kbytes long,
-> then merged them into one array with success(dumped array size was =
about
2x100kbytes,
then I did some test with an array containing 65000 indexes (dumped =
array
size was about 150kbytes) also with success..
Anyway we are working with huge size of xml-s with no problem, but I
recommend to split into pages/chunks the data if you really don't need =
to
handle it alltogether.

sometimes we use this:
http://www.strille.net/tutorials/Fl...essor/index.php


Regards, Andrew

----- Original Message -----=20
From: "Tokousbalides T." <ttokouz-tID25R/4PkRpxd+mj9Ai3A@public.gmane.org>
To: "FlashComm Mailing List" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@pub
lic.gmane.org>
Sent: Thursday, July 21, 2005 3:16 PM
Subject: [FlashComm] Loading and Array Limitations


> Hi,
>
> I am trying to load an array of data into flash from a txt document of
type:
> &firstArray =3D bla, blabla, blablala, blablablabla, blablaebltkaet&
> &secondArray =3D oaigh,graoighrb,gsargrsai,agsrgrsa&
> etc...
>
> One problem i had was that flash seemed to be limited to loading upto =
64kb
> per variable,
> so my huge firstArray would only be loaded until a point.
>
> I splitted the array into chunks of less than 64kb, thinking of =
joining
them
> all together in flash.
> Unfortunately it seems flash cant handle arrays with more than 20382
> characters...
>
> Can anyone think of another way round this?
>
> Failing is there a paper or smthg showing the data limitations of =
flash?
>
> thnx.
>
>
> =3D-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =3D-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>



--=20
No virus found in this outgoing message.
Andr_s Csizmadia | 0036703308043 | cs.andras-J+jpbPhcmEAHWmgEVkV9KA@public.gmane.org | 
www.vpmedia.hu
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.2/53 - Release Date: =
2005.07.20.


=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:16 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register