Posted by hobbes006 in SWF Studio V3 on Jan 04 2008, 03:21 pm

Hi there,

I was trying out the extract icon command with the following script -

ssDefaults.synchronousCommands = true;

r = ssCore.SysTools.extractIcons({path: "startdir://icon.ico", folder: "startdir://"});

nothing seems to happen.. when I run the compiled exe file.

Is this the correct way to use this function?


Posted by mbd in SWF Studio V3 on Jan 04 2008, 03:40 pm

Do you get an error when executing the command?

Check r.success. If it's false, then display r.Error.description to see what the problem might be.

In the description of the command in the docs:

Extract all ICON resources from an executable file or DLL.