PictureMarkerSymbol (gif) added as graphic - how to apply transparency/opacity/alpha?

Discussion created by jpeal on Nov 16, 2012
Greetings!  I saw the following post on an old forum but haven't gotten much further with it

I am new to the javascript api (and dojo) and am trying to figure out how to make a PictureMarkerSymbol partially transparent.  Does the getDojoShape method still still apply?

Here is a sample (ps, the original gif has transparency, but when I add it as a graphic, I lose transparency)

var sym = new esri.symbol.PictureMarkerSymbol("marker1.gif", "80", "80");
var graphic= new esri.Graphic(point, sym, "", ""); 
//geolocGraphic.getDojoShape(?????what do i do with this???????);;

Any pointers would be greatly appreciated!  Thank you in advance!