Select to view content in your preferred language

Adding Elements to the Print Widget

428
0
06-04-2010 09:27 AM
BradOleson
Emerging Contributor
I'm playing with the Print widget some.  I'm first trying to add a simple image file to the print layout.  Here is the code I've added:

private const ICON_URL:String = "com/esri/solutions/flexviewer/assets/images/icons/";

//Image
                        var guardLogo:Image = new Image();
                        guardLogo.source = ICON_URL + "logo.png";
                        printBox.addChild(guardLogo);

This doesn't quite do the trick to adding the element to the printout.  What am I missing?

Brad
Tags (2)
0 Kudos
0 Replies