Setting transparency on sublayers of an ArcGISDynamicMapServiceLayer?

Discussion created by lhdasilva on Mar 27, 2012
Latest reply on Oct 17, 2015 by rscheitlin
I am working on a Flex component to allow users to change a layer's transparency. This component gets what layer to use from another component that is a TOC. I want to be able to change the transparency of a sublayer in an ArcGISDynamicMapServiceLayer, but I see that the item type I get is LayerInfo (no alpha...).

Is this possible at all, or can I only change transparency on the entire map service layer (thus affecting all the sublayers)?

Any insight would be appreciated!

(Note: I am using Flex API 2.4).