TOJam will always be a special time of year for me, right up there with Christmas. It’s an amazing experience to sit down in a building filled to the brim with people who share your passion and are driving towards a common goal. TOJam 4 continued »
Archives for addChild(blog)
Flex 3 Internal Build Error when using a SWC with BitmapData from Flash CS3
Published on June 10, 2008
I just ran into a frustrating issue with Flex Builder 3 that wasted my entire morning. I did manage to track it down, however, and thought I’d share it.
I was using Flash CS3 to create a SWC with an embedded image, and then creating an instance of that image from Flex Builder 3. Flex threw an “Internal Build Error” whenever I tried to touch this image’s class. According to the build failure log, the compiler was choking up when it was trying to get symbols from the SWC.
As it turns out, when you create an extension of the BitmapData class in Flash CS3, and set it to re-encode as JPEG, Flex can no longer convert that image to a format it understands. As soon as I changed the settings to export the image as Lossless, the compiler error disappeared, and everything worked. The image works fine in Flash CS3 either way, so there must be a bug somewhere in the Flex compiler in regards to JPEG imports.
Embedding fonts for Actionscript Projects using only mxmlc
Published on May 26, 2008
Update. As pointed out by Lupo, the [Embed] metadata tag can be used manually instead of taking this over-complicated route. I wager most of the internet knows this already, but I thought I’d update this post to avoid putting anyone on the wrong track.As posted by Lupo:�
[Embed(mimeType="application/x-font", source="terminator_real_nfi.ttf",fontName="Terminator")]
private var terminatorFontClass:Class;
Embedding fonts for Actionscript Projects using only mxmlc continued »
TOJam 3
Published on May 15, 2008
TOJam was amazing as always. This is certainly the best year so far, in my opinion. Seems that the majority of attendees were using Flash this year, so Alex and I ended up answering a bunch of technical questions throughout the course of the weekend. I got one full night’s sleep of roughly 8 hours. More than I wanted to get, actually, given that getting to and from the event took at least an hour each way. TOJam 3 continued »
PseudoFile Library First Release
Published on April 5, 2008
This is a set of utility classes that I’ve created to handle File I/O a bit more gracefully. I’ve adopted the approach of being File-centric as opposed to Loader-centric. All event listeners are created on individual files, or lists of files. This makes it a lot less cumbersome to wait for a batch of files, or to load a batch of files and perform actions when specific files are loaded.
The ASDoc output is currently included with the package, but I will create docs.andrewtraviss.com to store all of my asdoc output, as well as providing a seperate asdoc download package. Any feedback would be greatly appreciated. I believe the API is solid, and have no plans to remove or alter the existing methods. New methods may be added to provide additional functionality, however.
Getting settled in
Published on March 22, 2008
Given that everyone else in the business seems to have a blog of their own, I figured it was about time I caught up. I likely will not post very often; I’m not the most talkative person on the planet. Mostly I will be posting when I have something useful to share. I won’t bother with reviews of conferences; I think this area is covered quite well by others, but if a conference inspires something new out of me, I’ll be sure to put it up. Stay tuned for something useful.
Posts