Posted: June 14th, 2009 | Author: Liza | Filed under: As3, Flash, cs3, cs4 | Tags: 5000, cs3, cs4, Error, flash.display.MovieClip, gaia framework | No Comments »
I have moved more than 1 Gaia Framework file from Flash CS3 to CS4 and got this error.
5000: The class ‘Work’ must subclass ‘flash.display.MovieClip’ since it is linked to a library symbol of that type.
The solution is to import the MovieClip class into the import area and to extend the main class as a MovieClip.
In my case from this:
public class Logger
{
to this:
public class Logger extends MovieClip
{
Posted: April 21st, 2009 | Author: Liza | Filed under: As3, Flash, Printing | Tags: Error, PC, Print Job Class, Time Out | 2 Comments »
I had a nightmare week trying to figure this problem out. Basically i was printing 4 pages from what appeared to be a really unstable xml file in a flash swf. Initially I thought it might have been special characters in xml or a problem with the Print Job Class.
I had no idea why the print job class worked (for 3 pages or more) on a MAC and not a PC. after investigation by a few of our developers it was kicking up an error about “Timing out”, and there was a pretty simple solution.
It was timing out because the script time limit was too short for a PC to process more than 3 pages at a time, so i increased the script time (in Publish Settings) to 60 seconds and it worked.

Nightmare Over