Scaling Your Images in Flash Player? Smooth Those Things!!!

I actually forgot to apply the “smoothing” property to a flash.display.Bitmap display object being scaled inside Flash Player. Just look at the difference such an oversight made! Since I was using a flash.display.Loader display object to load the image up, and Loader has no smoothing property, I totally spaced on this and it’s been out there for months rendering images in a pretty crappy way. I just needed to assign the image data to a Bitmap object and use that for display instead. 1 2 3 4 5 6 private function imageLoaded(e:Event):void { var imageBitmap:Bitmap = imageLoader.content as Bitmap; imageBitmap.smoothing

Continue reading »

Flash Player 10 Security Issue Resolution

I had posted earlier concerning a strange issue with Flash Player 10 where the SWF would refuse to load if being served over a Java servlet.  We’ve been able to resolve the issue by explicitly transferring any SWF content with a “Content-Disposition” header of “inline” as suggested by Adobe.  The relevant portion of this document is replicated below: Starting with version 10,0,2, if Flash Player sees a “Content-Disposition: attachment” header while downloading a SWF file, it will ignore the SWF file rather than play it. Note that this restriction applies only to SWF files and not to other types of

Continue reading »

What’s Up with Flash Player 10 Final???

It seems a lot has changed from the release candidates to the final version- a lot of things people did not expect.  For instance, last minute surprise changes to the Sound API… and then the previously announced security changes that Adobe has, in fairness, warned us about since Flash Player 9. I’ve stumbled across something that I cannot understand in one of our Java applications.  This is something that worked fine in 10.0.0.525 but is now broken in 10.0.12.36: Simply put- a SWF (any SWF) that has loaded just fine in all previous versions of the Flash Player (including FP10

Continue reading »

Flash Player 9 FSCommand() Bug

I’m working on a rather large AS3 project through Fractured Vision Media which relies on the flash.system.fscommand package to properly transmit data from the application to its container layer. Unfortunately, we’ve come across a bug in which FSCommand calls are ignored! Through some quick research (e.g. Google) it was discovered that more than a few others have come across this problem as well. The workaround for now is to be sure you are generating unique argument strings to pass through the FSCommand. This could involve changing the case of different characters in your argument string or appending a unique ID

Continue reading »

Recent BETA Items of Interest

So, to delay my unavoidable participation in the initial “Flex/AIR/Flash” waterfall effect, I’ve waited till now to post anything about the massive new beta releases that have been available since last evening. Flex Builder 3: LOVE the new CSS design view. LOVE IT! I’m sure there are plenty more features of direct interest as well, but this is the one that really opens things up for me. I initially came from a design background and gradually evolved into a developer as necessity demanded and curiosity gnawed. Having both design and development tools in the same IDE makes for a truly

Continue reading »