all groups > flash actionscript > may 2005 >
You're in the

flash actionscript

group:

string limit when sending info around


string limit when sending info around t&
5/29/2005 7:47:06 PM
flash actionscript:
Hello, my application is crashing when a string is to big and I was wondering
if there is a limit to a strings length as a variable in flash and also when
you pass this string to director. I was thinking about redoing my thing to pass
the info throught the clipboard but seems kind of shotty. I just dont wantmy
app to crash. I will put a string limit on things but I have no idea what to
set things at. There is some info on size limits here but nothing about string
length http://www.macromedia.com/go/tn_14437

Thanks for the help.
Re: string limit when sending info around kglad
5/29/2005 10:00:38 PM
i would think 16000 is the length limit. why don't you experiment?

Re: string limit when sending info around t&
5/29/2005 10:24:09 PM
I have my flash inside of a director projector but director isn't doing
anything except writing files from text that I send it. The way I have it set
up everything is passed through an error check function piece by piece and if
it is ok it is added to the things to be sent off. If everything is ok then it
is all sent to director to write to file. With flash's heavy html and the
amount of info that could be typing in 16000 isn't a very big number. Also if
you do a character limit that is a non formated count isn't it. What would be
great is if I could tell a user if they are typing to much but it seems like
because everything is being added together later this isn't going to happen my
count has to be done later and all I can do is cut stuff off if it is to long.
My problem could be a problem with the conection between flash and director or
it could be a director thing. I just broke my app trying to fix a different bug
so I might need to rework things before I can get to this. It sounds like I
have a problem with my applications stucture I might need to find a different
way to save things.

AddThis Social Bookmark Button