Patterson Consulting, Inc
  • Blog
  • |
  • About
  • |
  • Labs
  • |
  • Published Work
  • |
  • Recent Projects
  • |
  • Presentations
  • |
  • Contact
Patterson Consutling, Inc

    Search


    Category

  • ActionScript
  • Adobe
  • AIR
  • Apollo
  • ColdFusion
  • Conferences
  • ECMAScript
  • Facebook
  • Flash
  • Flex
  • General
  • Javascript/DHTML
  • MN.swf
  • Silverlight
  • Technology
  • XML/XSLT/XML Schema

    Archive

  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • 2004


Flash XML Exclusion File

by Danny Patterson on July 25th, 2004

I did not even know this existed until recently, but it solved a huge problem.  I like to split up my applications into separate SWF files and then manage them dynamic by loading those sections programmatically.  This creates a problem when reusing classes.  The main SWF might use the same class as one of the section SWF files.  If all the sections were in the same SWF, then this would not be a problem.  But since they are separated, they cannot take advantage of the code reuse.  This can add extra file size to your project.

Well the solution is to use an xml exclusion file. This is a file that exists in the same directory as your FLA. Any file that should be excluded when the SWF is compiled should be placed in the exclusion file. Your SWF will then compile without those classes. Then when you load the SWF into a SWF that already has those classes, the SWF will use the available classes.

You must name the exclusion file with the same name as your FLA with an “_exclude” appended to the end. So if your FLA is named test.fla, then your exclusion file would be test_exclude.xml. The following is an example of an exclusion file:

[xml]

   

[/xml]

0 Comments


Components in Flash Player 6

by Danny Patterson on July 18th, 2004

I have been developing ActionScript 2.0 classes and components for awhile now but until recently I have never tired publishing those components to run on Flash Player 6.

The problem I had was related to setter methods. I was using the [Insepectable] meta tag to add them to my component propeties panel. However, the setter methods were not getting called at run-time and my live preview was broken.

But I did find a solution… more…

0 Comments


FLV Metadata

by Danny Patterson on July 1st, 2004

FLV metadata is information that is placed in the header of the FLV file. In the original implementation of the FLV format, metadata was omitted—including the video duration. It has since been added in the newest version of the Flash Video Encoder. more…

0 Comments


Relocating to Boston

by Danny Patterson on July 1st, 2004

I have officially relocated from Sioux Falls, SD to Boston, MA. AS of June 28 I began working for a company called Popstick as thier new Senior Flash Engineer.

I am really excited about the opportunity and challenges this larger city will provide.

0 Comments


Atom | RSS | © 2008 Patterson Consulting, Inc