TIDY up XML source

SCITE includes TIDY for cleaning up HTML/XML documents (rewrapping lines, cleaning up spacing, etc). If you’ve never used Scintilla based products before (and you have if you’ve used SEPY, FlashDevelop, Scite|Flash) it’s a great text editing library that is wrapped in an application layer (Scite). Try out one of the installers they include — they’re ultra lightweight and really nice to have around.

 Information on parameters used by TIDY are noted here. The default values of the cleanup never really worked with how I used the app so I’ve made modifications to the html.properties file in the Scintilla Text Editor folder.

Continue reading

Posted in Uncategorized | Comments Off

MXI file format specifications for packaging components

I had some trouble finding good information regarding the mxi file format (the package description file format for mxp file generation).

Continue reading

Posted in Flash | Comments Off

TextScript Component

Satori Canton’s TextScript source code is good, but when we used it in the production of a few movies for some banner ad’s on Lincoln’s site we had some problems with how the animated text was being built, so I rewrote it but kept the animation libraries to include.

Thanks John Round for pushing for this to get out for months.

Continue reading

Posted in Flash | 2 Comments

ColorFader Class

Here’s a class I used for building Mercury’s transition effect between vehicles. Starting from senocular’s ColorFader class, I’ve rewritten it to use the ColorTransform classes instead of Color / setRGB. It’s pretty good and relatively fast.

Mercury Vehicles

Continue reading

Posted in Flash | Comments Off

Cinema4D > Blender > Collada > PaperVision

I’ve been working on a workflow to get models from production quality and resolution down to something that will run in Papervision. It’s been a tough process — Papervision can’t really handle more than 10K polys, and probably 3K is about all you can really use.
Continue reading

Posted in Flash, Flex | 4 Comments

Using mm.cfg to trace flash output to a file

It seems complicated but certainly it isn’t. The hardest part is to ensure you have the right player installed in all your browsers to make the log available.

http://www.adobe.com/support/flashplayer/downloads.html

Continue reading

Posted in Flash, Flex | Comments Off

With the advent of papervision’s source release

With regards to 3D in Flash and the recent release of papervision’s source, there’s been some renewed interest in doing 3D in Flash.

Depends on your needs, it can be relatively lightweight simple 3D stuff to more complex needs and interactive game engines.

First is the newest entry and most powerful/complex:
http://osflash.org/papervision3d
Continue reading

Posted in Flash | Comments Off

Simple FLV Player for those with simple needs

I was working on a project where a simple swf FLV player was picked up from years ago that I believe was an AS1 version of FLVplayer, but we ran into problems using it in conjunction with DIV tag replacement (part of SWFObject). I rewrote 100% of the code on my own after reviewing the AS1 code for the project. This one is AS2 and set up as a component for you to drop into another file and has a few other creative improvements.
Continue reading

Posted in Flash | Comments Off

Apollo Webcam App

Got a RFP on a desktop app that I thought would be really cool in Apollo.

Here’s the gist of it:

  • User can record themselves to practice their presentation.
  • Video gets recorded.
  • When user is satisfied with their presentation then they can upload it to the server.
  • Both sides of the equation will generate FLV files.

Continue reading

Posted in AIR | Comments Off

Flash image sequence resource handling

Neat issue came up with image sequences in Flash. Prior to Flash 8 Player playing an image sequence would release the memory used by an image as soon as the frame reference passed, using up only enough RAM to present the current image. Turns out that Flash will now cache the complete movieclip in memory until the movieclip is released, which ends up consuming huge amounts of memory.

Continue reading

Posted in Flash | Comments Off