Supressing jpg options popup in Photoshop Batch Processing

Posted: October 4th, 2009 | Author: Liza | Filed under: cs4, photoshop | Tags: , , , | No Comments »

I rarely do Batch Processing, but I find it incredibly useful when I do.

I had an issue kick up where every time I batch processed images (just basically resized them and saved them again), a “jpg options” dialog box came up.

Jpg Dialog

So instead of Photoshop just batch processing 300 images I would have to sit here for every image and press “OK” for each, which kind of defeats the purpose.

The solution was to tick the “Override Action “Open” Commands” in the Automate area.

Automate

Also although I wanted to use the “save for web” options, It didnt seam to work and also kicked up the same error.  So I just used “Save As”. this technique worked for me anyway.


Accessing the stage in Gaia Framework

Posted: June 14th, 2009 | Author: Liza | Filed under: As3, Flash, Uncategorized, cs3, cs4 | Tags: , , , | No Comments »

I have had alot of trouble trying to access the stage from Gaia Framework, but thanks to David, I’m finally getting the hang of it.

I needed to access the stage width (when resized) to create a a bar to sit behind the navigation on my site.

First I had to add this to the class constructor:

addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);

Then create the following 2 functions:

private function onAddedToStage(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
stage.addEventListener(Event.RESIZE, onResize);
onResize();
}

private function onResize(event:Event = null):void
{
navBackBar.width = stage.stageWidth;
navBackBar.x = 0 - ((stage.stageWidth - Gaia.api.getWidth()) / 2);
}

navBackBar is the name of the movieclip on the stage.  You can see it behind the navigation on my site.


5000: Error migrating from CS3 to CS4

Posted: June 14th, 2009 | Author: Liza | Filed under: As3, Flash, cs3, cs4 | Tags: , , , , , | 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
{