Archive for the ‘All Flash’ Category
Saturday, September 26th, 2009
You can embed an swf, or any other binary octet stream, containing -harder to get to- data as a hexadecimal string into your project.
Note: This is not true data security. Nothing is securable in actionscript, but you CAN make it hard(er) to get to.
So to describe my last ...
Posted in AS3, Uncategorized | 2 Comments »
Saturday, August 15th, 2009
Back in time I used Sepy as a texteditor as an alternative to the Flash IDE Non-Code-Editor.
Now my snappy editor of choice is FlashDevelop, totally tailored towards Flex SDK publishing.
In Sepy I had a nice dark background theme, but since the switch to FD I never took the time to ...
Posted in AS3, flashdevelop | 3 Comments »
Thursday, August 13th, 2009
Finally found a nice article that explains how flex sdk's fdb command line debug tool works :)
Reminder for myself:
http://installingcats.com/2007/12/07/how-to-use-command-line-debugger-fdb-to-debug-flex-flash-on-mac-os-x/
Got into it for a moment ----> this will be a messy post :)
found some extra info / commands within fdb now:
New to fdb? Do 'tutorial' for basic info.
List of fdb commands:
bt ...
Posted in AS3, mxmlc - flex sdk | No Comments »
Tuesday, December 9th, 2008
Super nice article on how to create a compiletime conditional switch for for ex. calling an alternate version of the same function or adding compiletime var-values at with the flex sdk command line
http://code.awenmedia.com/node/34
Code examples from his site:
ADDING COMPILETIME VARS:
mxmlc MyConfigClass.as -define+=CONFIG::someSetting,true
or
...-define+=CONFIG::myString,"'Hello!'" -define+=CONFIG::myNumber,"7"
for someSetting the AS3 class would be:
package {
public class ...
Posted in AS3, mxmlc - flex sdk | 1 Comment »
Saturday, July 19th, 2008
To obtain focus on a textfield with a custom textformat on it can give you headaches:
From wrong caret color to disapaering textcontent when you use tab button to unselectable text content.
You just keep fumbling around with _Textfield.stage.focus = _Textfield without joy.
I lost several hours to get the caret blinking ...
Posted in AS3 | 8 Comments »
Sunday, February 17th, 2008
Darn,
Why can't we straightaway do a loadBitmap targetting a bitmap item in the library from a loaded external swf (within our own domain!) ?
There must be some flashgod that sees evil in external pixels.
Anyways here is a workaround (AS2).
If we have a canvas.swf that wants to load external.swf
and wants to ...
Posted in AS2, All Flash | 1 Comment »
Sunday, February 17th, 2008
How to add an AS3 preloader on frame 1 and bind it with a light BootPreloader Class?
Especially nice if you use the flex sdk compiler without flash IDE.
as simple as this:
In your documentClass:
place this underneath your imports and above your myDocumentClass(){} declaration:
[ftf h="140" w="680"][SWF( backgroundColor='0xff0000', frameRate='30', width='980', height='320')]
//alternative factoryClass / ...
Posted in AS3, All Flash | No Comments »