SWF Studio 3.0 only supported asynchronous commands. Starting with version SWF Studio 3.1 we added support for synchronous calls, where the results of calling a SWF Studio function were available immediately after making the call but synchronous commands are NOT enabled by default.
To enable synchronous commands in SWF Studio:
- You MUST be using SWF Studio 3.1 or later.
- You MUST publish your SWF as version 8, 9 or 10.
- If you're using an older version of Flash (6 or 7) then you MUST enable the option to upgrade your SWF to version 8 (see the Movie Tab in SWF Studio).
- You MUST include the following code before any other SWF Studio ActionScript API commands.
ssDefaults.synchronousCommands = true;
Upgrading your FLA from an older version of Flash
If you have upgraded your FLA to Flash 8, 9 or 10 from an older version of Flash and simply saved your FLA using the newer version of Flash, the publish settings for your FLA will not have changed automatically. If you want to output a version 8, 9 or 10 SWF file you will need to update your publish settings.
Special considerations when upgrading from Flash MX (version 6)
If your SWF file was published for version 6 and you use the "Upgrade the main movie to SWF8 format" be aware that you may run into one or more of the following issues:
1 Code you have written may conflict with new intrinsic Flash methods, objects, and properties.
2 Flash Player 6 is not case-sensitive, so any code that may reference a function, variable, object, etc., where the case is not consistent will not work as expected.
3 Some Flash MX components may not work as expected once the conversion has been done. This is due to one or both of the above issues.