Changes in Version 3.8 Build 333
Added support for generating Windows 7 compatible applications.
Updated the Flash player bundled with SWF Studio to version 10.0.45.2 (flash10e.ocx) from version 10.0.12.36.
Updated Sysinfo.getOSVersionInfo to support Windows 7.
Added Splash.setPosition and Splash.setVisible to provide additional control of splash screens.
Shell.setNotify now supports two new events: onShellExecuteWaitForWindow and onShellExecuteWaitForExit which allow you to receive both events from a single call to Shell.execute instead of using the mutually exclusive waitForWindow and waitForExit flags on the call to Shell.execute.
Browser.setNotify now supports the onWindowClosing event to notify you when the current page attempts to close the browser window using JavaScript. The Browser class does not permit the window to be closed, but now you are notified when the attempt is made in case you want to take some action
Added onMouseButton to Browser.setNotify to allow detection of mouse clicks over an embedded browser window. One limitation of this event is that it can only catch mouse down/press events, not the up/release events.
Added Browser.setUserAgent to allow the application to control the UserAgent sent to the server with each URL request.
Added Browser.getHWND to return the window handle of the embedded browser.
Added Scratch.writeFile and Scratch.readFile to support adding large files (anything over 10MB) to the Scratch area, and later extracting them to disk.
Added support for sending and receiving binary data to the UDP plugin (version 23) and the TCP plugin (version 22).
Added support for binding to a specific local IP address to the UDP plugin (version 24).
Added Mouse.setCapture, Mouse.releaseCapture and Mouse.getCapture to allow Flash to receive mouse events when the mouse is outside the bounds of the application window.
Added SysTools.createGUID to create universally unique ids.
Added new Sentry commands to build and manage an application white list to make the Sentry commands more useful. Sentry.buildWhiteList, Sentry.addToWhiteList, Sentry.removeFromWhiteList, and Sentry.clearWhiteList. Added Sentry.useWatchList and Sentry.useWhiteList to select the mode in which the Sentry works. Added Sentry.getWhiteList and Sentry.getWatchList to make list management easier.
Added ssGlobals.ssOriginalWorkingDir so you can get the working directory that was inherited from the process that started your application, or the working directory that was assigned to your application (if it was started by a call to the CreateProcess API).
Added onSystemCommand to App.setNotify to allow you to block or implement custom actions for the move, minimize, maximize and restore system commands.
Added a setTimeout method to the HTTP plugin (version 42) to provide control over how long the HTTP plugin waits before generating a timeout error on certain events.
Added SysTools.getWindowCaption to allow you to find your own window caption. You can also get the caption for any window you have a handle (HWND) for.
Added SysInfo.getAdaptersInfo to return information about the installed network adapters inclduing IP addresses linked to each adapter.
Added a timeout parameter to App.sendData to prevent calls from blocking if the destination application is hung or not responding.
Tray.setNotify now supports an onTrayBalloonClosed event to let you determine how a tray balloon was closed. Possible reasons are a click on the balloon, clicking the close button, balloon tip timeout or forced close resulting from a call to Tray.hideBalloon.
Added a new parameter to App.setKioskMode called skipRegMods which tell SWF Studio not to attempt to modify the registry as part of enabling kiosk mode as this causes a UAC prompt on Vista and Windows 7 if the user doesn't have administrator privileges.
Added the forceShow parameter to App.showMsgBox to allow a message box to be displayed even when the main application window is not visible.
Updated HTTP.start with a new optional parameter that allows you to bypass IE proxy settings and make direct connections.
Added ssGlobals.ssFlashHWND to return the window handle of the Flash OCX for the main application.
Modified how FSCommand EXEC works so legacy Flash applications don't have to move their files out of the fscommand folder. The fscommand folder is not necessary when you make yoru EXE with SWF Studio but if you can't change your code, SWF Studio will do the right thing so your EXEC calls will just work.
Removed xstub.exe and xpatch.exe (for ActiveMark support) from the installation. Because of the way these EXE files work, some antivirus software was flagging them as potentially dangerous even though they are not. If you need support for ActiveMark, please contact us and we'll provide you with the necessary files.
ssCore.Shell.execute now captures the standard error (stderr) stream along with the standard output (stdout) stream when using the saveStdOut flag for all applications so it's no longer necessary to use command line redirection to capture the stderr stream.
SWF Studio now completely removes user registration details when the software is uninstalled.
The size of some EXE files has changed since the last release. Standalone EXE files were 3.6MB in 3.7 and are 4.2MB in 3.8. Compact EXE files were 2.7MB in 3.7 and are 3.2MB in 3.8. Tiny EXE files were 1.2MB in 3.7 and are 1.2MB in 3.8. Unbundled EXE files were 1.8MB in 3.7 and are 4.2MB in 3.8.
Application fails to start with Asian characters in path or EXE name
Printer commands ignore request to print multiple copies
ssGlobals.ssMonitorInfo may not display info for all monitors
ADO.close never returns an error
SysInfo.getMemoryInfo doesn't recognize more than 2GB
Browser browser window cropped if opened from link in embedded browser
ActiveX.getProperty not working with some OCXes
Transparency problems on Windows 7 with non-Aero themes
Potential transparency problems on machines that are rarely rebooted
Shell.execute waitForWindow flag doesn't work with hidden windows
Shell.execute of xcopy.exe fails
Shell.invoke fails with some file types on Windows 7
SysInfo.getMACAddressList returns duplicates on Windows 7
Application doesn't start and creates an up.txt file
Windows+D does not generate an onStateChange event
.NET plugins are not cleaned up properly on exit
Can't load more than one .NET plugin
Application window size is wrong
Enabling onDialog notifications can cause a crash on exit
Problems using Shell.invoke with PPT (2007) on Windows 7
SysInfo.getOSVersionInfo does not recognize Windows 7
ssGlobals.ssOriginalWorkingDir not set properly on Windows 7
Desktop.showTaskbar doesn't work on Windows 7
SysInfo.authenticateUser always returns TRUE
'Start Hidden' apps made visible by OnOtherInstance
SWF Studio applications start slow on Windows 7
Plugins may generate access violations when they are unloaded
Add Files option on Files Tab limits number of files
Possible to start two SWF Studio builds at once
Broken link to CSIDLs in FileSys.specialFolder
Files uploaded using HTTP plugin have no content type header
Transparency.freeze doesn't always freeze the most recent changes
Known Problems and Limitations
When you are browsing the start dir (where the EXE is) with App.showFileOpen or App.showFileSave you may see 3 virtual DLL files (msvcrt.dll, tlbinf32.dll, utility.dll) in addition to the contents of the folder.
Calling some ssCore functions from timer callbacks (setInterval, setTimeout, etc) in AS3 will cause the application to crash. The workaround is to call these functions asynchronously using the sync:false attribute on your callback parameter object. A more detailed explanation is provided in http://www.northcode.com/blog.php/2010/06/15/Why-does-my-application-crash-for-no-reason.
The runtime protection scanning of EXE files in Windows Defender can cause SWF Studio applications and the SWF Studio IDE to open slowly while they are scanned. This behavior only appears to happen on Windows XP and does NOT happen on Windows Vista or Windows 7.
In AS1 and AS2 projects, the SWF Studio core and your main movie will fail to load if the Windows Work Offline flag has been set and the option in SWF Studio to load the main movie securely has been enabled.
Codehinting of SWF Studio commands for Flex Builder 3 does not work. SWF Studio commands will compile and work properly, the commands and objects will just not appear while typing.
If you enable the secure load option for your main movie, you will not be able load FLV files from the local file system. See http://www.northcode.com/v3/problemitem.php?link=59 for more details. This only applies to AS1 and AS2 projects.
When using the secure loader feature of SWF Studio some firewalls display a warning that the application is trying to access the internet. The secure loader uses localhost (127.0.0.1) when loading files, this is not an outbound internet connection. This only applies to AS1 and AS2 projects.
Flex 2 users (both Flex Builder and the Flex SDK) require the Flex 2.0.1 Hotfix 2 update in order to use the SWF Studio coreAS3Definitions.swc library file. The coreAS3Definitions.swc file is built with Flash CS3. Changes to playerglobal.swc (the Flash core library) were introduced in CS3 and the Flex SDK was updated to match. You can download hotfix 2 from http://www.adobe.com/go/kb/kb402000. The latest hotfix is always available from the Adobe Labs site at http://labs.adobe.com/technologies/flex/sdk/flex2sdk.html.
The embedded Browser, WMVideo and ActiveX objects will not work with transparency enabled in layered mode (they will work in masked mode).
If you press the Build button immediately after opening an SPX file you may get a build error that tells you the main SWF file is in use. The error is generated because Studio hasn't finished extracting the main SWF from the SPX file. You should wait for the message that says "projectname saved". If you get the error you can just press the Build button again and the build should start normally.
|