Been a while since I’ve done flash so pardon this retarted question:
I have nimage=32 in a text file. I’m loading the file using LoadVariables() function. How do I convert that to a useable format? Like say I want to do nimage–; or something.
The data is getting loaded sucessfully, because it gets displayed in a textbox but how do it make it a number or what not?
Unfortunately I don’t have Flash open (or even on this comptuer)so I can’t test anything out… That SHOULD work, but perhaps I am missing something… gonna have to wait for Senocular or Pom…
loadVariables(“n_image.txt”,"");
num = Number(nimage);
^ You have to wait for the variables to load before you can use them. If you’re using MX use a loadVars object and do it all in the onLoad call. Otherwise, I suggest using a movieclip and handling it an onClipEvent(data)
lol sorry… I did a search of posts with my name in it and this was one of the ones that came up… I just wanted to try to attend to any requests I missed