Get bounds of all artboards in Illustrator CS5.1 with JavaScript

When you need to create new artboard you will, most certainly, would like to know where to place it safely. One of the options could be to place it next to the “edges” of the “bounding box” created by all artboards.
Continue reading

Posted in Illustrator-Scripting, JavaScript | Tagged , , | Comments Off on Get bounds of all artboards in Illustrator CS5.1 with JavaScript

Add artboard with JavaScript in Illustrator CS5.1

I’m trying to pull together set of scripts to help with android/ios graphic resources development. I can export artwork to PNG but results due to scaling are not satisfactory. This means that the scaling and adjusting graphic vectors needs to be done by the graphic designer. To help him in this I want to create a script that will produce set of artboards with given name and base dimensions.
Continue reading

Posted in Illustrator-Scripting, JavaScript | Tagged , , , | Comments Off on Add artboard with JavaScript in Illustrator CS5.1

Custom View – provide layout from XML when children not supplied

I was doing a component based on LinearLayout instantiated from XML. It could contain children provided as sub-tags in the XML or be left empty and then default layout should be loaded from XML file. Continue reading

Posted in android, JAVA | Tagged , , , | Comments Off on Custom View – provide layout from XML when children not supplied

MacBook Pro – Skype – Camera problems

If you have that bad luck (IMHO):) to be an owner or user of MacBook Pro and had issues with camera (noticeably when using Skype but not specifically) then open terminal and type following command:

sudo killall VDCAssistant

and your camera should start to work again

Posted in Uncategorized | Tagged , , , , | Comments Off on MacBook Pro – Skype – Camera problems

Error: transcoding parameter ‘symbol’ is not supported by ‘flex2.compiler.media.DataTranscoder’

Hi,

if you’ve run on the Error: transcoding parameter 'symbol' is not supported by 'flex2.compiler.media.DataTranscoder' error recently, then you’re not alone.

I’ve updated my FlashDevelop recently (and with FD updated the Flex SDK – the offender) and one of my projects suddenly stopped publishing, the error was pointing to the Embed tag.

		[Embed(source = "../../../../../gd_logo.swf", 
		mimeType = "application/octet-stream", 
		symbol="com.greladesign.library.logo.GrelaDesignLogo" )]

I was searching on the internet, but couldn’t find anything, however good soul on FD forum has gave me the answer which is:

Remove the mime-type.

		[Embed(source = "../../../../../gd_logo.swf", 
		symbol="com.greladesign.library.logo.GrelaDesignLogo" )]
Posted in bugs, flash | Tagged , , , , , | Comments Off on Error: transcoding parameter ‘symbol’ is not supported by ‘flex2.compiler.media.DataTranscoder’