Cameron, If you can convert your vector art into SVG (Inkscape is open source and can convert from other formats), then you can get it into swfc as an object. (the .outline command, then into a filled shape (if you want it filled) with the .filled command) You can then use it instead of the jpegs when making your buttons.
See: http://www.swftools.org/swfc/swfc.3.html (the swfc manual) for how to import svg to swfc code. (or my site at http://www.swftools.uni.cc/squishy.php for a more verbose explanation & etc.) Have fun ;) Jon --- On Mon, 8/4/08, Cameron Bracken <[EMAIL PROTECTED]> wrote: From: Cameron Bracken <[EMAIL PROTECTED]> Subject: [Swftools-common] How to use an external vector image as a viewer button? To: [email protected] Date: Monday, August 4, 2008, 3:01 PM Hi! I making my own viewer via swfc and I want to get clickable buttons which scale without distortion. Currently I am using jpeg image via the .jpeg command. The buttons look fine if sized correctly like this: http://dl.getdropbox.com/u/68015/currents/currents_jpeg_buttons.html but if the animation is scaled up the buttons get distorted like this because they are raster images: http://dl.getdropbox.com/u/68015/currents/currents_jpeg_buttons_scaled.html The only way I could find to import external vector images was as swf's. When I do that, the play button (which is an swf file) scales nicely but is not clickable like this: http://dl.getdropbox.com/u/68015/currents/currents_swf_play_button.html Any suggestions to make the swf button clickable? Is there another way to include an external vector image (pdf, eps, swf)? Thanks, -Cameron Bracken P.S. The viewer code is here: http://dl.getdropbox.com/u/68015/currents/viewer.sc and the button files are here: http://dl.getdropbox.com/u/68015/currents/buttons/play.swf http://dl.getdropbox.com/u/68015/currents/buttons/scaled.back.jpg http://dl.getdropbox.com/u/68015/currents/buttons/scaled.next.jpg http://dl.getdropbox.com/u/68015/currents/buttons/scaled.pause.jpg http://dl.getdropbox.com/u/68015/currents/buttons/scaled.play.jpg -- Cameron Bracken ∈ NOAA [EMAIL PROTECTED]
