ASDoc Function comments for AS3 in Intelli-J
Cursor on the line before the function then..
/** + Enter
done :)
Cursor on the line before the function then..
/** + Enter
done :)
mmmm
Lovely illustration
I’ve got this error a few times, and it’s really frustrating. When in FDT / Eclipse and you create a new FDT project in a new folder, you get ‘this location overlaps the location of another project’. When it clearly does not overlap the location of an existing project!
I found the answer on the Eclipse forums and thought i’d share.
http://www.eclipse.org/forums/index.php/m/270705/
What happens..
1. Create a New Project
2. Choose a directory inside the current workspace (in which there are more project dirs already) e.g. /xxx/workspace/my_new_project
3. Eclipse says project location overlaps with another project (NOT true, as other projects are in /xxx/workspace/otherproject, etc.)
What I did to workaround the problem:
1. Go to “%ECLIPSE_HOME%\configuration.settings” and delete the workspace listed at the key RECENT_WORKSPACES
2. Restart Eclipse, go to File>Switch Workspace>Other… and select your workspace dir again
3. Now I could create new projects as always
Hope this helps!
Today I stumbled across a weird error when embedding image assets into a class in a pure ActionScript 3 project using Flash Builder.
Using the following code:
[Embed (source=”../assets/video-preview-bg.png” )] public var _videoPreviewBg:Class;
I got this error:
Error #1014: mx.core::BitmapAsset could not be found
What’s weirder is that I copied the code from another project into a new one, and confirmed that all the files where in the correct place, and my file-paths where also correct.
After some digging on the net I found that because it was a pure ActionScript 3 project, sometimes Flash Builder doesn’t include some necessary Flex SDK libraries that are needed to embed images in this way.
The Solution is simple, just copy core.swc into your project specific /libs/ directory, or add it using Flash Builder in the screenshot below.


Does this cat just not give a shit?
This is a technical demo for face substitution technique. The application works in real time and it’s developed using the opensource framework for creative coding openFrameworks: …
Cast: Infectious
Tags: education, future, technology, touch screen, GUI, motion graphics, green screen, infectious and preconstruct
Recently I was having problems using setSelection on a textfield using a FOCUS_IN event callback. It simply wasn’t working as I expected.
I found the solution in the comments of one of Ryan Henson Creighton’s blog posts:
http://www.untoldentertainment.com/blog/2008/01/11/as3-pitfalls-textfieldsetselection-not-working/
The solution (by Eightlines) is simple..
FocusEvent.FOCUS_IN does not allow setSelection() to operate as expected. Changed it to MouseEvent.CLICK and it works correctly.
Use a CLICK MouseEvent instead of the FOCUS_IN event.
GameHorizon Conference 2011
Cast: Codeworks Ltd
Tags: