Using the Event tag allows you to have events in Interfaces. With intellisense it will show a list of valid events when a method expects an event as a parameter, like the EventDispatcher::addEventListener method. They have to map exactly to each other.
[Event(name = "concrete string representation of event", type = "namespace to class with concrete instantiation")]
Comments in the interface override the comments in the concrete class when using the interface. Although you can specify the tag in the class it is customary to specify them after import declarations and before the class declaration.
Example:
Interface File:
package com.site
{
import flash.events.IEventDispatcher;
[Event(name = "some_event", type = "com.site.Do")]
public interface IDo extends IEventDispatcher
{
function doSomething():Boolean;
}
}
Class File:
package com.site
{
import flash.events.EventDispatcher;
public class Do extends EventDispatcher implements IDo
{
static public const SOME_EVENT:String = "some_event";
public function doSomething():Boolean{ return true;}
}
}
Now when we use a method that expects an event; intellisense will display the options if you are using the interface.
Monday, May 10, 2010
Friday, April 16, 2010
Reparent AVM1 content in AVM2 (AS3) content.
For whatever reason you need to reparent loaded AVM1 content to another part of the display list and you don't want to keep the loader as the parent. One would have to save the content first from the LoaderInfo instance then use the LoaderInfo loader member to unload the loaded content.
You will then be allowed to reparent the saved content elsewhere. But be warned if you try to reparent it again you will get the:
"ArgumentError: Error #2180: It is illegal to move AVM1 content (AS1 or AS2) to a different part of the displayList when it has been loaded into AVM2 (AS3) content."
error as you would with the original. Remove the child first before you reparent.
Example from the Event.COMPLETE dispatch:
var li:LoaderInfo = e.target as LoaderInfo;
var avm1:AVM1Movie = li.content as AVM1Movie;
var l:Loader = li.loader;
l.unload();
// No error
layer1.addChild(avm1);
// No error
layer1.removeChild(avm1);
layer2.addChild(avm1);
// Error #2180
layer3.addChild(avm1);
You will then be allowed to reparent the saved content elsewhere. But be warned if you try to reparent it again you will get the:
"ArgumentError: Error #2180: It is illegal to move AVM1 content (AS1 or AS2) to a different part of the displayList when it has been loaded into AVM2 (AS3) content."
error as you would with the original. Remove the child first before you reparent.
Example from the Event.COMPLETE dispatch:
var li:LoaderInfo = e.target as LoaderInfo;
var avm1:AVM1Movie = li.content as AVM1Movie;
var l:Loader = li.loader;
l.unload();
// No error
layer1.addChild(avm1);
// No error
layer1.removeChild(avm1);
layer2.addChild(avm1);
// Error #2180
layer3.addChild(avm1);
Thursday, April 8, 2010
CS4 Class Paths
For reference:
C:\Program Files (x86)\Adobe\Adobe Flash CS4\Common\Configuration\Component Source\ActionScript 3.0\User Interface
C:\Program Files (x86)\Adobe\Adobe Flash CS4\Common\First Run\Classes
C:\Program Files (x86)\Adobe\Adobe Flash CS4\Common\Configuration\ActionScript 3.0\projects\Flash\src
C:\Program Files (x86)\Adobe\Adobe Flash CS4\Common\Configuration\Component Source\ActionScript 3.0\User Interface
C:\Program Files (x86)\Adobe\Adobe Flash CS4\Common\First Run\Classes
C:\Program Files (x86)\Adobe\Adobe Flash CS4\Common\Configuration\ActionScript 3.0\projects\Flash\src
Tuesday, March 2, 2010
Execute Javascript in AS3 without it being on the host page...
One can have internal javascript functionality from within their SWF. We are passing the JS function to the browser to execute it. For this to work on the most popular browsers the object tag in HTML must have "allowscriptaccess='always'" and the object tag must have an id attribute in HTML for IE to work. And of course Javascript must be enabled for the browser to interpet and execute the given script.
Example:
Get domain we are in
var hostDomain:String = String(ExternalInterface.call("function(){ return document.domain;}"));
This returns the domain that loaded our SWF. They could be loading it from your server but serving it on their domain.
Example:
Get domain we are in
var hostDomain:String = String(ExternalInterface.call("function(){ return document.domain;}"));
This returns the domain that loaded our SWF. They could be loading it from your server but serving it on their domain.
Saturday, December 5, 2009
Beware of browser zoom and SWF dimensions...
The browser feature to zoom web pages in and out, causes the dimensions of the hosted SWF to be modified. For example; the object tag might state 640x480 and at 100% those are the values you will get. If a user zooms at 125% those values will change to 800x600.
CODE / HTML
StageScaleMode.NO_SCALE / scale: "noscale"
this.stage.stageWidth x this.stage.stageHeight
IE fires an extra StageResize event, the 2nd event fired contains the modified dimensions for your SWF. Also the 1st ENTER_FRAME event contains the modified dimensions. Any reference before either of these results to dimensions of zero.
Firefox and Chrome give you the modified values from the beginning but no resize event unless resized after SWF loaded.
CODE / HTML
StageScaleMode.EXACT_FIT / scale: "exactfit"
StageScaleMode.SHOW_ALL / scale: "showall"
StageScaleMode.NO_BORDER / scale: "noborder"
The RESIZE event does not happen with these scale modes.
In IE one must rely on the ENTER_FRAME event to get the modified dimensions.
Firefox and Chrome give you the modified values from the beginning.
Currently the only way to get the intended dimensions are to pass them as flash vars. One could also call an External Interface function to get those values too.
CODE / HTML
StageScaleMode.NO_SCALE / scale: "noscale"
this.stage.stageWidth x this.stage.stageHeight
IE fires an extra StageResize event, the 2nd event fired contains the modified dimensions for your SWF. Also the 1st ENTER_FRAME event contains the modified dimensions. Any reference before either of these results to dimensions of zero.
Firefox and Chrome give you the modified values from the beginning but no resize event unless resized after SWF loaded.
CODE / HTML
StageScaleMode.EXACT_FIT / scale: "exactfit"
StageScaleMode.SHOW_ALL / scale: "showall"
StageScaleMode.NO_BORDER / scale: "noborder"
The RESIZE event does not happen with these scale modes.
In IE one must rely on the ENTER_FRAME event to get the modified dimensions.
Firefox and Chrome give you the modified values from the beginning.
Currently the only way to get the intended dimensions are to pass them as flash vars. One could also call an External Interface function to get those values too.
Wednesday, October 22, 2008
Font Weight, Style, and Character Ranges
Valid attribute values for the Embed tag for fonts.
Unicode Ranges, which are just HEX values, can be split up.
| Attribute Name | Attribute Values |
|---|---|
| fontStyle | italic | oblique | normal |
| fontWeight | bold | heavy | normal |
| unicodeRange | U+0020-U+007E |
Unicode Ranges, which are just HEX values, can be split up.
| Range | Values |
|---|---|
| Just Numbers [0..9] | U+0030-U+0039 |
| Punctuation, Numbers and Symbols | U+0020-U+0040 |
| Upper-Case A-Z | U+0041-U+005A |
| Punctuation and Symbols | U+005B-U+0060 |
| Lower-Case a-z | U+0061-U+007A |
| Punctuation and Symbols | U+007B-U+007E |
Thursday, August 14, 2008
Embedding PFM / PFB fonts
If you embed a PFM you will get this compiler error:
"Error: exception during transcoding: Font for alias 'AdLibICG_Font' with plain weight and style was not found at:"
That is because PFM is a supporting font file, it does not contain the real data. PFB does.
You don't need the PFM font, just embed the PFB font.
[Embed(source="../assets/AdLibICG.PFB", fontName="AdLibICG_Font", mimeType="application/x-font-truetype")]
private const EMBED_ADLIBICG:Class;
You must provide the mimeType or else this compiler error occurs:
"Error: '../assets/AdLibICG.PFB' does not have a recognized extension, and a mimeType was not provided"
More info on PFM/ PFB here.
"Error: exception during transcoding: Font for alias 'AdLibICG_Font' with plain weight and style was not found at:"
That is because PFM is a supporting font file, it does not contain the real data. PFB does.
You don't need the PFM font, just embed the PFB font.
[Embed(source="../assets/AdLibICG.PFB", fontName="AdLibICG_Font", mimeType="application/x-font-truetype")]
private const EMBED_ADLIBICG:Class;
You must provide the mimeType or else this compiler error occurs:
"Error: '../assets/AdLibICG.PFB' does not have a recognized extension, and a mimeType was not provided"
More info on PFM/ PFB here.
Embedding Fonts Bug
When embedding fonts do not name fontName or fontFamily the filename or the text will not appear if you set TextField::embedFonts to true. The filename is probably the device font name which can only be used if TextField::embedFonts is false.
All variations produce the same results:
[Embed(source="C:/WINDOWS/fonts/ARIAL.TTF", fontFamily="Arial")]
[Embed(source="C:/WINDOWS/fonts/ARIAL.TTF", fontName="Arial")]
[Embed(source="C:/WINDOWS/fonts/ARIAL.TTF", fontFamily="Arial", mimeType="application/x-font-truetype")]
[Embed(source="C:/WINDOWS/fonts/ARIAL.TTF", fontName="Arial", mimeType="application/x-font-truetype")]
TextField::text
TextField::htmlText
Test:
[Embed(source="../assets/ARIAL.TTF", fontName="Arial")]
private const EMBED_ARIAL:Class;
var tf:TextField = new TextField();
var format:TextFormat = new TextFormat("Arial");
addChild(tf);
tf.embedFonts = true;
tf.defaultTextFormat = format;
tf.text = "Test";
OR
tf.embedFonts = true;
tf.text = "Test";
tf.setTextFormat(format);
You will see no text.
All variations produce the same results:
[Embed(source="C:/WINDOWS/fonts/ARIAL.TTF", fontFamily="Arial")]
[Embed(source="C:/WINDOWS/fonts/ARIAL.TTF", fontName="Arial")]
[Embed(source="C:/WINDOWS/fonts/ARIAL.TTF", fontFamily="Arial", mimeType="application/x-font-truetype")]
[Embed(source="C:/WINDOWS/fonts/ARIAL.TTF", fontName="Arial", mimeType="application/x-font-truetype")]
TextField::text
TextField::htmlText
Test:
[Embed(source="../assets/ARIAL.TTF", fontName="Arial")]
private const EMBED_ARIAL:Class;
var tf:TextField = new TextField();
var format:TextFormat = new TextFormat("Arial");
addChild(tf);
tf.embedFonts = true;
tf.defaultTextFormat = format;
tf.text = "Test";
OR
tf.embedFonts = true;
tf.text = "Test";
tf.setTextFormat(format);
You will see no text.
Fonts Bug
TextField::defaultTextFormat does not work with TextField::htmlText
var tf:TextrField = new TextField();
var format:TextFormat = new TextFormat("Arial");
addChild(tf);
Does not work:
tf.embedFonts = true;
tf.defaultTextFormat = format;
tf.htmlText = "Test";
Works:
tf.embedFonts = true;
tf.defaultTextFormat = format;
tf.text = "Test";
For TextField::htmlText use :
tf.setTextFormat(format);
var tf:TextrField = new TextField();
var format:TextFormat = new TextFormat("Arial");
addChild(tf);
Does not work:
tf.embedFonts = true;
tf.defaultTextFormat = format;
tf.htmlText = "Test";
Works:
tf.embedFonts = true;
tf.defaultTextFormat = format;
tf.text = "Test";
For TextField::htmlText use :
tf.setTextFormat(format);
Thursday, August 7, 2008
Command Line Debugger Shortcut
After you type "run" in the "(fdb)" command prompt and executed the SWF file to debug, the debugger will load the SWF code. Typing "info sources" or "info file" will bring a list of source files loaded. See the "#' on filename.as#1, well that is a shortcut to the file. Another way to find files and their number shortcut is to:
(fdb) list a
Will bring up all functions that begin with the letter "a" and what file they are in and yes it is case sensitive.
To set a break point simply type:
(fdb) break #19:315
The 315 being the line number you want to break at.
Not sure want line to break at?
List the file like so:
(fdb) list #19
This will list the first 10 lines of code. Repeatedly hitting enter executes the last command without the passed in argument, so it will list the next 10 lines and so on. To skip to a certain location try:
(fdb) list #19:75
Which will jump to the 75th line of code.
Type "continue" to run your SWF. Check out the other options be typing "help" on the "(fdb)" prompt.
Another shortcut that can be used is just typing the first few letters of the command and not the whole command. For example "c" for "continue", "r" for "run", and "b" for "break". "help" displays the shortcuts next to the command in parentheses.
Enjoy!
(fdb) list a
Will bring up all functions that begin with the letter "a" and what file they are in and yes it is case sensitive.
To set a break point simply type:
(fdb) break #19:315
The 315 being the line number you want to break at.
Not sure want line to break at?
List the file like so:
(fdb) list #19
This will list the first 10 lines of code. Repeatedly hitting enter executes the last command without the passed in argument, so it will list the next 10 lines and so on. To skip to a certain location try:
(fdb) list #19:75
Which will jump to the 75th line of code.
Type "continue" to run your SWF. Check out the other options be typing "help" on the "(fdb)" prompt.
Another shortcut that can be used is just typing the first few letters of the command and not the whole command. For example "c" for "continue", "r" for "run", and "b" for "break". "help" displays the shortcuts next to the command in parentheses.
Enjoy!
Saturday, August 2, 2008
The Wheel
Always try to search for existing code, components, and libraries before venturing out to developer land.
Components
MinimalComps
Great for prototyping.
Yahoo! Astra
They actually have a lot of useful information.
Libraries
AS3CoreLib
Documentation
Contains a lot of useful functionality.
AS3Crypto
All crypto, all the time!
Alternative Crypto
labs.boulevart.be (A variety of encryption)
gsolofp.blogspot.com (MD5 and SHA1)
Occasionally Updated...
Components
MinimalComps
Great for prototyping.
Yahoo! Astra
They actually have a lot of useful information.
Libraries
AS3CoreLib
Documentation
Contains a lot of useful functionality.
AS3Crypto
All crypto, all the time!
Alternative Crypto
labs.boulevart.be (A variety of encryption)
gsolofp.blogspot.com (MD5 and SHA1)
Occasionally Updated...
Thursday, July 31, 2008
Using Components in Flash Develop
To use Flash IDE components in Flash Develop:
It does not matter which component you choose, it will all be added to the created SWC. Now just make sure to add it for inclusion when you build your code, which ever way you do it.
To double check if the components are there just open the SWC file with a zip program and you should see a list of SWFs and catalog.xml file.
- Create a new 'Flash File'
- Double click on the components you want to use. (Ctrl + F7 to bring up the 'Components' window)
- Select a component in the 'Library' window and select 'Export to SWC...'
- Decide on a file name and save it
It does not matter which component you choose, it will all be added to the created SWC. Now just make sure to add it for inclusion when you build your code, which ever way you do it.
To double check if the components are there just open the SWC file with a zip program and you should see a list of SWFs and catalog.xml file.
Installing Flex 3 and Ant
Ant install:
Unzip "apache-ant-1.7.1-bin.zip"
into "C:\Program Files\"
Flex 3 SDK install:
Unzip "flex_sdk_3.zip" into "C:\Program Files\flex_sdk_3"
Copy the "C:\Program Files\flex_sdk_3\ant\lib\flexTasks.jar" into
"C:\Program Files\apache-ant-1.7.1\lib\"
Access the environment variables:
(Windows Key + Pause)
Go to the "Advance" tab then the "Environment Variables" button.
Create Environment Variables:
Create new variables called:
ANT_HOME
FLEX_HOME
With values of, respectively:
C:\Program Files\apache-ant-1.7.1
C:\Program Files\flex_sdk_3
Add to your path:
%ANT_HOME%\bin;%FLEX_HOME%\bin
Setup Flash Develop:
We have to tell Flash Develop where to look for the compiler.
Either hit F10 or traverse to Tools::Program Settings...
Select "AS3Context" on the left pane under "Plugins".
Under "Language" in the right pane, select and modify "Flex SDK Location".
For the purpose of this post it is "C:\Program Files\flex_sdk_3".
Under Project::Properties...
Select the "Output" tab.
Check the check box of "No output, only run pre/post build commands."
Select the "Build" tab.
Under the "Pre-Build Command Line" section add "ant.bat".
This is why we need the ANT_PATH variable.
Apply the changes.
When working on a project you ideally would have a "build.xml"
file in the root of your project. To build the project hit F8. This
will produce whatever the build file was told to do.
The FLEX_PATH allows ant to access mxmlc and compc executables.
Flex Tasks allows us to add compiler options as xml nodes. More on that here.
Unzip "apache-ant-1.7.1-bin.zip"
into "C:\Program Files\"
Flex 3 SDK install:
Unzip "flex_sdk_3.zip" into "C:\Program Files\flex_sdk_3"
Copy the "C:\Program Files\flex_sdk_3\ant\lib\flexTasks.jar" into
"C:\Program Files\apache-ant-1.7.1\lib\"
Access the environment variables:
(Windows Key + Pause)
Go to the "Advance" tab then the "Environment Variables" button.
Create Environment Variables:
Create new variables called:
ANT_HOME
FLEX_HOME
With values of, respectively:
C:\Program Files\apache-ant-1.7.1
C:\Program Files\flex_sdk_3
Add to your path:
%ANT_HOME%\bin;%FLEX_HOME%\bin
Setup Flash Develop:
We have to tell Flash Develop where to look for the compiler.
Either hit F10 or traverse to Tools::Program Settings...
Select "AS3Context" on the left pane under "Plugins".
Under "Language" in the right pane, select and modify "Flex SDK Location".
For the purpose of this post it is "C:\Program Files\flex_sdk_3".
Under Project::Properties...
Select the "Output" tab.
Check the check box of "No output, only run pre/post build commands."
Select the "Build" tab.
Under the "Pre-Build Command Line" section add "ant.bat".
This is why we need the ANT_PATH variable.
Apply the changes.
When working on a project you ideally would have a "build.xml"
file in the root of your project. To build the project hit F8. This
will produce whatever the build file was told to do.
The FLEX_PATH allows ant to access mxmlc and compc executables.
Flex Tasks allows us to add compiler options as xml nodes. More on that here.
Wednesday, July 16, 2008
Command Line Compiler and Debugger
Open a command prompt here:
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0
Compiler
java -jar asc_authoring.jar -help
Debugger:
java -jar fdb.jar
Which will get you this:
(fdb)
Then type "help" or "tutorial".
Enjoy!
More later.
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0
Compiler
java -jar asc_authoring.jar -help
Debugger:
java -jar fdb.jar
Which will get you this:
(fdb)
Then type "help" or "tutorial".
Enjoy!
More later.
Thursday, June 26, 2008
JSFL Command Path
I have to add JSFL files to this post. Will try to use skyDrive from MS.
C:\Program Files\Adobe\Adobe Flash CS3\en\First Run\Commands
C:\Documents and Settings\YOUR_USERNAME\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Commands
C:\Program Files\Adobe\Adobe Flash CS3\en\First Run\Commands
C:\Documents and Settings\YOUR_USERNAME\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Commands
Thursday, May 29, 2008
Default Class Paths
Auto-completion is nice. The less typing done, the less chance of bugs.
Use these paths to point to Adobe's code, so Flash Develop knows where to look.
Ctrl + F9 to open up Global Paths.
Choose AS3 in the drop down menu.
Copy and paste away.
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\User Interface\
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0\Classes
C:\Program Files\Adobe\Adobe Flash CS3\en\First Run\Classes
Use these paths to point to Adobe's code, so Flash Develop knows where to look.
Ctrl + F9 to open up Global Paths.
Choose AS3 in the drop down menu.
Copy and paste away.
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\User Interface\
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0\Classes
C:\Program Files\Adobe\Adobe Flash CS3\en\First Run\Classes
Thursday, February 7, 2008
Getting Strict with Compilation
Want better runtime warnings?
Check out the file "EnabledWarnings.xml".
It lives here on a Windows machine:
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0\
I like to enable the first three under this comment:
"<!-- Coding style preference warnings. Use these warnings if you want to be reminded to always use type declarations, acess/namespace attributes, etc. -->"
I wonder if adding a file called EnabledErrors.xml would work?
Check out the file "EnabledWarnings.xml".
It lives here on a Windows machine:
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0\
I like to enable the first three under this comment:
"<!-- Coding style preference warnings. Use these warnings if you want to be reminded to always use type declarations, acess/namespace attributes, etc. -->"
I wonder if adding a file called EnabledErrors.xml would work?
Sunday, February 3, 2008
Errors 5003 & 5005
I have to add some proof of concept files to this post. Will try to use skyDrive from MS.
Error Code 5005
Error Code 5003
These numbers mean it time to refactor.
"5003: Unknown error generating bye code."
"5005: Unknown error optimizing byte code"
They both stem from the same problem. Flash not knowing how to handle
an "Out Of Memory" error exception from Java from the (asc_authoring.jar) file. You can see this if you try
to build in Flex.
This happens when there is just too much code for it to handle with the default memory space of 128MB.
If you ever compile a SWF and just get a blank screen it could be because the SWF does not contain any of your code.
To verify this look at your generated size report file from the Flash IDE. The section which says "actionscript code bytes" will be about 16 bytes. The SWF does not know where to jump to execute your code because it has not been inserted into the SWF
This could be fixed by specifying -Xms and -Xmx command line arguments when compiling the SWF with the asc_authoring.jar file.
Unfortunately, you can't do this in the Flash IDE. I have modified the asc_authoring.jar file to see if I can actually save the parameters used in the build, so that we can use the command line with the appropriate memory setting but so far I have been unsuccessful.
Adobe support was no help with this matter. They are pretty clueless of this from my experience with them.
Temporary ways of dealing with this:
Other sites mentioning these errors:
Settled on solution:
Moving over to Flex and using Ant to build will resolve this error if you use the environment variable ANT_OPTS with the correct memory requirements for the build.
Error Code 5005
Error Code 5003
These numbers mean it time to refactor.
"5003: Unknown error generating bye code."
"5005: Unknown error optimizing byte code"
They both stem from the same problem. Flash not knowing how to handle
an "Out Of Memory" error exception from Java from the (asc_authoring.jar) file. You can see this if you try
to build in Flex.
This happens when there is just too much code for it to handle with the default memory space of 128MB.
If you ever compile a SWF and just get a blank screen it could be because the SWF does not contain any of your code.
To verify this look at your generated size report file from the Flash IDE. The section which says "actionscript code bytes" will be about 16 bytes. The SWF does not know where to jump to execute your code because it has not been inserted into the SWF
This could be fixed by specifying -Xms and -Xmx command line arguments when compiling the SWF with the asc_authoring.jar file.
Unfortunately, you can't do this in the Flash IDE. I have modified the asc_authoring.jar file to see if I can actually save the parameters used in the build, so that we can use the command line with the appropriate memory setting but so far I have been unsuccessful.
Adobe support was no help with this matter. They are pretty clueless of this from my experience with them.
Temporary ways of dealing with this:
- Delete ASO files
- Comment out all trace statements.
- Uncheck “Reduce File Size and increase performance” in AS3 settings
- Create a singleton class with static empty classes that get filled in at runtime (Bridge Pattern).
Other sites mentioning these errors:
Settled on solution:
Moving over to Flex and using Ant to build will resolve this error if you use the environment variable ANT_OPTS with the correct memory requirements for the build.
Saturday, February 2, 2008
Tools
The developer, in accordance with his aims, uses various tools and knows their characteristics and uses them well. This is the way of the developer.
We all know this. So I share the tools I use for compiling, debugging, finding, testing, etc.
Freeware Windows Based Tools:
Design
FreeMind to map your ideas out.
UMLPad to diagram class, state, etc. models.
Compiling
Flash Develop code editor.
Flex SDK compiler to be used in Flash Develop.
ANT is a java based build tool that uses XML for build scripts.
Debugging
Flash Debug Players to see trace statements with Flash Tracer, FDB, or in the output pane of Flash Develop.
Fiddler to sniff communications if your making HTTP requests.
WireShark sniff all other communications.
Flash Tracer to get traces when a SWF is deployed from inside a html browser.
Version Control
Tortoise SVN to save versions as your code progresses.
WinMerge to compare versions for text, files, and folders.
We all know this. So I share the tools I use for compiling, debugging, finding, testing, etc.
Freeware Windows Based Tools:
Design
FreeMind to map your ideas out.
UMLPad to diagram class, state, etc. models.
Compiling
Flash Develop code editor.
Flex SDK compiler to be used in Flash Develop.
ANT is a java based build tool that uses XML for build scripts.
Debugging
Flash Debug Players to see trace statements with Flash Tracer, FDB, or in the output pane of Flash Develop.
Fiddler to sniff communications if your making HTTP requests.
WireShark sniff all other communications.
Flash Tracer to get traces when a SWF is deployed from inside a html browser.
Version Control
Tortoise SVN to save versions as your code progresses.
WinMerge to compare versions for text, files, and folders.
Subscribe to:
Posts (Atom)