Changes in Version 3.5 Build 314

Added support for AS3 which allows you to use Flash CS3 and Flex to build your applications.

You can now use the FLVPlayback.enterFullScreenDisplayState() function in SWF Studio to make your Flash video play in fullscreen mode. If you don't want to allow this you can use the new Flash.allowFullScreen function to disable the Flash players access to fullscreen mode.

Added ssURLLoader class to replace ssSecure class for ActionScript 3 projects. ssURLLoader is used the same way as URLLoader, except the paths are relative to the SWF Studio layout. Files are streamed in from the layout directly into the Flash Player without first being extracted to the hard drive. ssURLLoader does not use an HTTP server like ssSecure so will not trigger firewalls.

Added jsCore and jsDefaults objects to JScript modules created when the main SWF is published for AS3 (jsCommand still exists but will only be available to your AS2 projects) jsCore.execute replaces jsCommand and adds asynchronous behavior similar to how ssCore works with optional callback and errorCallback objects, see jsDefaults.synchronousCommands for details.

Added coreAS3Definitions.swc to installation. This is required in AS3 projects to compile against the SWF Studio V3 API. In Flash CS3 a component named "SWF Studio V3 AS3 API" will be visible in the Components panel. In Flex you add the SWC to your project library paths.

Use ssCore.isEXE to determine if your project is running in SWF Studio or not. ssDebug.trace will trace to the Flash output panel when testing your SWF in Flash or Flex, and to the SWF Studio Trace tab when testing your SWF as a SWF Studio-built EXE.

Added NorthcodeAS2Lib.swc and NorthcodeAS3Lib.swc code components that contain utility functions for converting Arrays and ByteArrays to and from hex strings. Most of these functions are intended for use with the new FileSys binary I/O functions.

Upgraded the embedded Flash player from 9.0r28 (flash9b.ocx) to 9.0r47 (flash9d.ocx).

You can now include the Flash 9 debug player in your EXE instead of the release mode player via a single checkbox on the Output Tab. A warning is generated when using the debug player so you don't accidentally ship with the debug player embedded in your applications. Using the debug player allows you to debug your SWF Studio applications using the Flash CS3 and Flex debuggers.

If you publish your SWF and target Flash 9 with AS3 support, the secure loader is no longer supported. If you have enabled the secure loader you will receive a build warning and the secure loader option will be disabled. Secure loading of your main movie is now automatic with AS3 support. To load other movies securely you should use the new ssURLLoader class.

A new Build Warnings dialog appears after each build that displays all of the warnings generated during the build. This is mostly for new users so they don't gloss over warnings that may be important. It can be easily disabled using a checkbox on the dialog itself or via the general Options dialog.

Changed the logic for the NetStream.play overwrite (AS2 only) to use the standard loader method for all cases except streaming, which still always uses the original play method. Flash Player 9 fixes the pathing issues that caused the previous versions of SWF Studio to not be able to play FLVs in certain cases when using the secure loader.

Added FileSys.readFileBinary, FileSys.writeToFileBinary and FileSys.appendToFileBinary to support basic binary file I/O.

Added FileSys.setNotify and FileSys.clearNotify to support the new onProgress event. The onProgress event is triggered when you copy a file using the new FileSys.copyFileAsync command.

FileSys.copyFileWithFeedback has been marked as deprecated and is not supported in AS3, use FileeSys.copyFileAsync instead.

Added ssGlobals.ssMainMovie to provide access to the original main movie name (the name is changed when it is encrypted and added to your application).

Added SysTools.lockWorkStation to lock the workstation's display until the logged in user enters their credentials.

Added showProcessId flag to SysInfo.getWindowList to provide the owner process ids of open windows (this process id can be used with the new SysTools.killProcess command).

Added SysTools.killProcess to kill running processes by their process id's.

Added process id to the list of output variables in Shell.execute to provide access to launched applications that don't expose window handles.

Added SysTools.convertIconToJpeg to convert ICO file to JPEG format so they can be loaded directly into Flash

Added Browser.getURL to obtain the URL of the currently displayed page in the embedded browser.

Added two new events to the embedded Browser object, onBlockedURL and onBlockedPopup so you can determine when a blocking rule has been invoked and when a URL blocked by Browser.allowPopups has been detected.

Added SysTools.resizeImage to help create thumbnail images without using an external image toolkit.

Added Shell.setNotify/clearNotify and the onShellExecuteFeedback event. This new event sends data from a running Shell.execute command that was started with the saveStdOut flag enabled. This means you don't have to wait until a command is finished before you start processing output.

Added the Browser.setVisible method to allow you to show and hide the embedded browser window.

Added support for right justified text in Popup menu items. Everything after "\x01" in a menu item string is right justified.

Added a new flag to Win.setTopmost to control whether the windows topmost position in the z-order should be aggressively enforced. If the aggressive flag is set to true, the application window will continuously check to make sure it is at the top of the z-order. Fixed a bug in the original implementation so that dialogs and child windows still appear above the application window.

Added the license parameter to ActiveX.createObject to allow license strings to be provided in code rather than forcing them to be installed with the control.

Exposed a previously undocumented function, SysTools.getImageInfo to retrieve the width and height (in pixels) of a specified image. Very useful when combined with SysTools.resizeImage.

Exit Keys now work when Kiosk Mode is enabled, but a new warning is generated to warn that this will allow users to exit kiosk mode applications.

Updated the SWF Studio splash screen and the About dialog box.

The arguments to ssDebug.trace, ssDebug.msgBox and ssDebug.console are now untyped instead of String's so you don't have to explicitly convert numeric values to strings before passing them to the debug functions.

Script.create and Script.clear now load the supporting JScript "core" instead this happening every time you call Script.addCode and Script.loadCode.

Flash.loadMovie will not work in AS3 projects. You should use ssURLLoader or URLLoader to load movies instead.

We've changed the plugin version numbering so it's a little easier to track changes in a plugin. Now the plugin version information is more like a revision number for that plugin, regardless of which version of SWF Studio it was released with. Below is a table of the old plugin version numbers and the equivalent new revision numbers we'll be using from now on.

Plugin	Old	New
ado	3.1.4	23
catalog	3.1.1	21
email	3.1.3	15
filesys	3.1.9	55
ftp	3.1.2	40
http	3.1.5	35
inifile	3.1.2	18
joystick	3.1.1	15
midi	3.0.2	10
tcp	3.1.3	20
udp	3.1.3	21

Fixed in this Build

Right click on link in embedded browser on Vista crashes application
Message box at startup in apps created using the Student Edition
App.showXxx dialog commands can't return non-latin file/path names
FileSys commands fail with non-latin characters in paths
Expiry date is not displayed after reloading a project
Hooking DLL Error
ssCore.Registry.getValue does not return null values
SysInfo.getWindowList misses some windows
Build Fails with "could not acccess file" Error
Problem passing over 1MB of data to a plugin
ssGlobals.ssPlugins not being updated after Plugin.unload
Asian characters not displayed properly in tooltips and popup menus
Can't set an alternate FTP port
UDP plugin leaks memory
Shell.open returns path not found error for mailto links
FTP.getXMLDirList always returns an error
Posting data with HTTP plugin fails when uploading file
ActiveX Controls with runtime licenses don't work
Update button in Student Edition downloads setup for Professional Edition
App.quit and App.forceQuit not working properly in synchronous mode
Build slows down / freezes while setting version information
Desktop.showTaskbar doesn't hide the Vista Start button
SysTools.getImageInfo can returns unexpected values
Can't use same file for source and destination with Crypto file functions
Win.setPosition does not cause onMove event to be generated
SWF Studio does not remember its location on multiple monitor systems
FileSys.getFolderSize fails if called too often
FileSys.findInFiles only works with plain text files
Double clicking on video toggles fullscreen mode
Automatic transparency is disabled when an expiry SWF is loaded
Ctrl+A does not select contents of text fields in SWF Studio
Can't save projects with \0 in the path
ssCore.Keyboard commands don't work with 16-bit applications

Known Problems and Limitations

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.

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. 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. Only applies to AS1 and AS2 projects.

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.

Execution of JScript and VBScript is not supported on Windows 98 unless Internet Explorer version 4.0 (or later) is installed.


 

copyright © 2000-2011 Northcode Inc  ·  all rights reserved  ·  contact us  ·  report piracy  ·  privacy policy