kolnedra . com | Tags | Posts tagged with 'cs4'

Posts tagged with 'cs4'

Creating multiple SWF fonts through a custom extension panel

Date: 11 March 2010

Step 1

Installing the fonts Make sure you have installed all the fonts you want to use.
For Windows: Copy / paste them into C:\WINDOWS\Fonts\
For OSX: Double click the desired font(s) and click on the "Install font" button

Step 2

Install the ExportFonts extension Download the extension and install it by double clicking

Step 3

Creating a new flash file Create a new Flash ActionScript 3.0 CS4 file (CTRL + N) and save it.

Step 4

Launch Go to Window > Other panels > ExportFonts.
You'll see a small multiline textfield with a few fonts seperated by a comma.
Fill in the installed fonts and press "GO!". A map swf_fonts is created where the exported SWF font files are exported to.

In the following steps I'll explain how you can use those fonts.


Read more ...

Executing command line commands through AS3 and JSFL

Date: 10 March 2010

During the creation of a Flash CS4 Codebase panel I found myself struggling around a simple feature in this panel: Opening a folder in the local file system.
This might look like an easy task, but unfortuantely I couldn't find anything close to what I was aiming for in the Flash CS4 Resource.
So I started another google quest for a satisfying answer and luckally for me (and you) I found a simple solution using the FLfile.runCommandLine method

// Windows approach
MMExecute('FLfile.runCommandLine("cmd /C explorer C:\\folder\\to\\open\\");');

// OSX
MMExecute('FLfile.runCommandLine("exec /Path/to/folder");');
The /C means: Carries out the command specified by string and then terminates.
And don't forget the double backslashes for the Windows example

Adobe Stratus with Flash CS4 IDE

Date: 4 March 2010

"Adobe® Stratus 2 enables peer assisted networking using the Real Time Media Flow Protocol (RTMFP) within the Adobe Flash® Platform. RTMFP is the evolution of media delivery and real time communication over the Internet enabling peers on the network to assist in delivery. Stratus was first introduced in 2008 as a rendezvous-only service that allowed clients to send data from client to client without passing through a server. Adobe Flash Player 10, which debuted peer assisted networking, has been adopted today by over 90% of all internet connected PCs."
With adobe launching it's RTFMP network called Stratus the first tutorials and beta reviews appeared online, only all of them were written for Flex. So here is a small tutorial on how to set up a RTFMP peer-to-peer connection using only Flash CS4 and the latest 10.1 runtime.

- Example (Connecting takes same time, be patient)
- Download source

Setting up

- Buy (or download a trial) Adobe Flash CS4
- Download Flash Player 10.1 SWC (scroll down)
- Sign up for a beta developer key
- You might want to read this article about Adobe Stratus 2



Read more ...