SumDumGuy3
Aug 28 2004, 02:25 AM
Hello All,
I am writing an action script and I ran into a problem with using SETFUNC with the FILEEXIST function. I tried everything I could think of. It would keep giving me an error saying (SelFunc) "Function Not Found" or something like that. I finally ended up trying FILESIZE which worked fine. I am trying to test for the existance of a folder, so if the folder is empty, I assume that filesize will fake me out. But it is the only thing I can get to work for now. Is this a known problem in n6 or am I doing something wrong or is this just a unnoticed bug?
Many Thanks for any help...
SumDumGuy
flattspott
Sep 1 2004, 04:35 AM
is this a typo or does it really say that?
SumDumGuy3
Sep 1 2004, 04:46 AM
hmmm, gonna have to retest that now... it should be setfunc shouldnt it? im not sure if I made the typo or if mxm did.. hehe
flattspott
Sep 1 2004, 05:14 AM
yes it should be setfunc
and its FileExists
| CODE |
| SetFunc IGR FileExists E:\x2_IGR_disabled |
SumDumGuy3
Sep 1 2004, 05:47 AM
ok, first... yeah your right the error says Setfunc not Selfunc... that was my bad... also FileexistS does seem to do the trick... but ALL of the documentation I found for n6 says that the function is Fileexist without the S... anyway, thanks for the info...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.