Category: Flash

  • Getting AS2 Remoting Classes Into Your MTASC SWF

    Just read on the MTASC list the tail end of a long thread about event handlers and scope. We have a lot of new blood getting into Flash, and even the experienced programmers still all need to learn how Flash handles scope in different situations.

    As such, the conversation discussed why you use the -mx compiler option for MTASC. Bottom line, it ignores all classes that have a package path starting with “mx”. Since there are a plethora of the Flash MX 2004 v2 component classes that will not compile under MTASC, one uses the -mx option to have MTASC just ignore those classes if you choose to use a pre-compiled SWF. Most people compile in Flash after building their movieclips and artwork, and then use MTASC for the rest of their development cycle, unless they need to add more artwork or movieclips again (unless they are using SWFMill of course).

    I had problems doing a FAME only project awhile ago; the AS2 remoting classes would NOT compile into my SWF using MTASC, even when using dependencies, and I couldn’t figure out why. They even had some MX 2004 components in there already, so I was baffled.

    After reading that thread today, I figured out that unless Flash MX 2004 puts them there via you compiling in it first, MTASC will NOT add them to the SWF because they fall under the -mx compiler option; don’t put “mx.*” classes in the SWF.

    So, instead of using those Remoting Components you can drag into the FLA to force them in, or re-writing the AS2 remoting components to compile in MTASC (thanks Mario! I finally understood your email after 22 days… I know, I’m slow), just compile in Flash first so it puts the classes in the SWF, then you can use that SWF with MTASC.

  • Flash Player 8 Hardware Accelerated on Mac OSX 10.2+

    I hereby decree no more whining from you Apple-groupies about how Flash runs slow on your Picasso’ plastics. My video card doesn’t break a sweat running HalfLife2 as high as its settings will go… but because I’m on a PC, I don’t need Flash Player using OpenGL to get good performance. You all toolbar-boxers now get hardware accelerated Flash, and I don’t.

    Why Flash Player 8 runs mach-2 on Mac

  • IFBIN Provides Solutions

    There are no de facto solutions in software development. In the context of Flash & Flex Development, there are a plethora of ways to attack a problem and solve it. In part to the wide array of backgrounds that Flash & Flex Developers have as well as just human nature where everyone is special and each person is different; 2 people will have different solutions to the same problem.

    In regards to software development, this is great for the IFBIN consumer. It doesn’t just boil down to OOP purist vs. Pragmatism… or “doing it right” vs. “doing it fast” (although, I hope my examples meld the best of both worlds!). It’s a matter of what differentiates one solution from another, and when is one better than the other? What can I learn from this? How can our team utilize these solutions in the future for different problems & projects?

    The 2nd facet is style. For those who truly believe programming is an artform, then you know that approaches to solving a problem may or may not fit with your mindset, your way of doing things, or your style.

    IFBIN provides those solutions via software examples in a variety of styles. With multiple quality examples done by many of the best Flash & Flex Developers in the world, you as the consumer end up with multiple ways to solve a development problem.

    IFBIN has great software examples and provides solutions to problems.

    What do I get out of it? Additional incentive to clean up my examples I continually release so others get greater benefit from them (comment, document, remove implied dependencies, etc.). It’s nice to know that what I consider fun to do in my spare time actually makes a positive difference in other developers’ day to day work.

    Thanks Ted for the opportunity to be a part of IFBIN, and I look forward to helping create many additional examples!

    Check out IFBIN!

  • Planarity: Flash Untangle Puzzle Game

    I hate puzzle games, but this game is getting good reviews on Flashcoders by developers & designers alike. Basically, you have to untangle nodes; each node is attached to other nodes, and you drag things around to help untangle the mess.

    I got bored at level 3, but supposedly level 17 on is hard unless you have an Alienware like me; meaning, if you get a script timeout error, just click “no” and wait for the code to finish running.

    Planarity