Skip to Content »

FlashApe » Online Business card designer launched.

 Online Business card designer launched.

  • May 22nd, 2007
  • 2:45 pm

[[ Whoops....]]

*Update:

I just wanted to throw a list of some of the issues we encountered, maybe having it out there will help someone else.

  • Flash doesn’t append session data to file uploads.
  • Flash stroke draws from the center of the line. This means that if you have a square with a 10 point stroke, the stroke will be 5 pixels on the outside of the square and 5 pixels on the inside. Since we needed precise coordinates and measurements, this became a pretty glaring issue, since (i think) java’s drawing tools didn’t work that way.
  • TextFormat.getTextExtent() is pretty wacky. Even though we had embedded the fonts, it would return different values if you had the font installed or not, even if you were using the same machine with which you embedded the font in the first place. I read somewhere that in fact flash will get the values from the font file first if it is installed.
  • Dynamically loading fonts in flash just sucks. I went with the process discussed in the comments at http://oddhammer.com/index.php/site/comments/shared_fonts_for_flash/. Look for comment #3, by Matt.
  • Getting the _width and _height of a rotated movieclip returns the width of the bounding box area of the movieclip, not the actual width and height of the movieclip.

There’s a bunch more that will get added to the list as I remember them.

5 People had this to say...

Gravatar
  • OÄŸuz Demirkapı
  • May 22nd, 2007
  • 7:38 pm

Also does not support Unicode chars. :(

Gravatar

How long did that one take, one day? Two? :-)

Cheers! Nice work!

Gravatar

“Getting the _width and _height of a rotated movieclip returns the width of the bounding box area of the movieclip, not the actual width and height of the movieclip.”

To my understanding getting the _width and _height of a MovieClip always returns the clips actual dimensions regardless of rotation. If you want to find the width or height the MovieClip is taking up globally, you have to use either getRect() or getBounds().

Gravatar
  • rich
  • May 23rd, 2007
  • 3:41 pm

Dustin - not true. Do a simple test…put a rectangle mc on stage that is 150 wide x 40 high, and name it ‘test_mc’. Then if you do this bit of code:

test_mc._rotation = 75;
trace(test_mc._width)

it will output 77.45.

Gravatar

Hi,

Where can I see your business card designer

Many thanks

Tony

Want your say?

* Required fields. Your e-mail address will not be published on this site


You can use the following XHTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>