Category Archives: design

Calling Greybox Gallery Image Sets (gb_imageset, GB_showImageSet) from Adobe Flash

9
Filed under design
Tagged as , , , , , , , , ,

So I needed to use Flash to trigger some image viewing capabilities in GreyBox but found surprisingly little information on how to do it. After piecing several bits of knowledge together, I got it working to my liking. Here it is for anyone else who searches for it (including me.)

Install GreyBox as you normally would. You can download the package and installation / usage instructions from the fine folks at Orangoo: http://orangoo.com/labs/GreyBox/.

In your HTML, define an image set array for GreyBox to use and a function to call GreyBox and show a specified image:

<script type=”text/javascript”>
var image_set = [
{'caption': 'Image Number One', 'url': 'http://www.yourdomain.com/images/img_lg_01.jpg'},
{'caption': '
Image Number Two', 'url': 'http://www.yourdomain.com/images/img_lg_02.jpg'},
{'caption': '
Image Number Three', 'url': 'http://www.yourdomain.com/images/img_lg_03.jpg'},
{'caption': '
Image Number Four', 'url': 'http://www.yourdomain.com/images/img_lg_04.jpg'},
{'caption': '
Image Number Five', 'url': 'http://www.yourdomain.com/images/img_lg_05.jpg'},
{'caption': '
Image Number Six', 'url': 'http://www.yourdomain.com/images/img_lg_06.jpg'},
];

function doGreyBox(img_num) {
GB_showImageSet(image_set, img_num);
}
</script>

Now create a flash file.  To make this example easy, place a standard button on the stage and put the code below on it (modify the following to call the image of your choosing from the image array you defined above.)

on (release) {
getURL(“javascript: doGreyBox(3)”); // This will trigger Image Number Three
}

Now add the flash to your HTML document and set wmode=transparent to ensure that flash will not remain on top of any GreyBox windows.

That’s it – not difficult, just Adobe Flash and GreyBox are not commonly used together for images.  Feel free to modify the example above to get your job done.  Questions or concerns – just leave a comment and I’ll do my best to help you out.

The Eyeballing Game!

3
Filed under design
Tagged as , , , , , , ,

I can’t believe I’ve spent more than an hour playing this – If you can beat 2.26 (not a fluke, my average is 2.6) you must let me know.

http://woodgears.ca/eyeball//index.html

And as an added bonus – the guy’s woodworking site is quite excellent.  He has free plans and some excellent advice.  If you like that sort of thing (I do) you’ll want to bookmark his site.

Text to Uppercase and More

0
Filed under design
Tagged as , , , , , ,

I wish i had access to this tool (I wish I’d just thought to code it myself, even) five years ago.  I can’t count the number of times I’ve had to re-type a client’s text so that it displays correctly in a design (converting text to upper-case, reversing letters, etc.)…. and since I’m a horrible typist, my output is often riddled with mistakes.   This is brilliant: copy text, apply filters, transform the text, copy the new text.  Fin.

Uppercaseit.com… Because nobody wants to retype it!

wacom is dead, long live the wacom!

0
Filed under design, interwebs
Tagged as , , , , , , , ,

My desk sporting a new 6x11 Wacom Intuos3 tablet

So I finally replaced my workhorse Wacom Intuos 9×12.  While I’ll miss the old one, it was serial and the new office compy doesn’t have a serial port.  So I got this sweet Intuos3 6×11 widescreen-capable goddess (essential for my dual-monitors) for $109 (effing crazy price) on eBay – it has twice the resolution of my old Intuos model and only a little less real estate (losing inches from the top and bottom doesn’t really affect my workstyle.)

BTW: If you’re interested in getting a similar deal, I recommend patience: I had been monitoring newly listed tablets for over a month before this unit graced me with its presence and price. I also recommend the use of Gixen eBay Sniper

Anyhoo – Wacom has come a long way with this new tablet – immediately noticeable is that the build quality is much more solid compared to Intuos1 and Intuos2 models.  The grip-pen is a little beefier and feels much more controllable in my hand.  Wacom has also included an array of 4 buttons and a scroll strip on both sides of the tablet that I can’t wait to put to use.  The seller even included a felt nib in the cache of replacement nibs he sent – and I have to say: my world is effing changed.

I’m so excited about this thing that I resent the stinking pile of non-graphic work I have to do today…. I really needed it yesterday morning. *sigh*