Syndicate content

flash

xfactorstudios xpath4as2

Probably close to the time that Adobe acquired Macromedia Flash- xfactorstudio.com underwent what appears to be a major shift. The site, now devoid of any good usage information or documentation for its XPath4AS2 implementation of XPath for Flash, was redesigned completely, without even the slightest contact link or description of thier product.

AS2 Class Paths

A "classpath" is apath of directories that Flash will search for external AS files. If the class defined in your authoring environment by the import method is found within that path, Flash will successfully compile that class into the resulting .swf file.

flash & caching

Anybody thats done any development work in Flash knows how frustrating caching can be. With the introduction of external XML data this frustration only grows. So here's a technique that I use quite often to workaround this native behavior without creating a thousand incremental file names.

Using PHP, Javascript or the like, simply add a random number to the url string where you call your swf. Here's a couple examples..

PHP
fla/secParent.swf?noCache=<?php echo rand(0, 10000); ?>