Put Image on label

How can I put Image on label in flex can any one tel me

import events.ToolbarEvent;
import mx.events.FlexEvent;
import mx.events.ItemClickEvent;
import mx.events.SliderEvent;
import mx.core.*;
import spark.skins.spark.ImageSkin;
import ui.presenters.MainPresentationModel;
            [Bindable]
            public var fileButtons:Array = [{label:"Open"},{label:"Save"}];
            [Bindable]
            public var navButtons:Array =
                {label:"Adjust",state:MainPresentationModel.ADJUST_STATE},
                {label:"Touchup",state:MainPresentationModel.TOUCHUP_STATE},
                {label:"Effects",state:MainPresentationModel.EFFECT_STATE}
            [Bindable]
            public var historyButtons:Array = [{label:"Undo"},{label:"Redo"}];
            private function handleFileClick(e:ItemClickEvent):void
                if (e.label == "Open")
                    dispatchEvent(new ToolbarEvent(ToolbarEvent.OPEN));
                else if (e.label == "Save")
                    dispatchEvent(new ToolbarEvent(ToolbarEvent.SAVE));
            private function handleNavClick(e:ItemClickEvent):void
                callLater(handleNavigation,[e.item.state]);
            private function handleNavigation(state:String):void
                if (navBar.selectedIndex == -1)
                    dispatchEvent(new ToolbarEvent(ToolbarEvent.SHOW));
                else
                    dispatchEvent(new ToolbarEvent(ToolbarEvent.SHOW,true,false,state));
            private function handleHistoryClick(e:ItemClickEvent):void
                if (e.label == "Undo")
                    dispatchEvent(new ToolbarEvent(ToolbarEvent.UNDO));
                else if (e.label == "Redo")
                    dispatchEvent(new ToolbarEvent(ToolbarEvent.REDO));
            private function handleZoomChange(e:SliderEvent):void
                dispatchEvent(new ToolbarEvent(ToolbarEvent.ZOOM, true, false, null, e.value));
        ]]>
    </mx:Script>
    <mx:ButtonBar dataProvider="{fileButtons}" itemClick="handleFileClick(event)"   />
    <mx:ToggleButtonBar id="navBar" dataProvider="{navButtons}" toggleOnClick="true"
        creationComplete="event.target.selectedIndex=-1" itemClick="handleNavClick(event)"/>
    <mx:Button label="Show Source" click="dispatchEvent(new ToolbarEvent(ToolbarEvent.SRC))"  />
    <mx:Spacer width="100%" />
    <mx:ButtonBar dataProvider="{historyButtons}" itemClick="handleHistoryClick(event)"  />
    <mx:HSlider value="1.0" minimum="0.1" maximum="3.0" snapInterval="0.1" liveDragging="true" change="handleZoomChange(event)" />
</mx:HBox>
can u please tell me how can i add image on Button bar in this code???

Similar Messages

  • When I upload photos from my Canon Rebel 1000D to iphoto the images are labelled JPEG, yet I shoot in RAW.How do I get iphoto 11 vers9.1.3 to not convert the photos to jpeg.

    HI,
    When I upload photos from my Canon Rebel 1000D to iphoto the images are labelled JPEG, yet I shoot in RAW.How do I get iphoto 11 vers9.1.3 to not convert the photos to jpeg. I seem to have tried and read so much but just can't figure it out.  How do I get iphoto 11 vers9.1.3 to not convert the photos to jpeg. Or do a have to use a different system? I have Adobe Bridge. Or can I upload directly into photoshop?
    Also how do you install dmg's properly I am having problems installing them?
    I have a Mac OS X 13 inch Version 10.6.7
    Advice desperately needed
    Thanks
    Nlouis

    Do you have Aperture installed? I found your model on a compatibility list; however, there was a note that it requires Aperture 2 to be installed:
    http://www.apple.com/aperture/specs/raw.html
    According to this excerpt:
    To see a list of digital cameras with RAW-format support that are compatible with iPhoto, visit this Aperture webpage (any camera compatible with Aperture, Apple’s advanced photo editing and management program, is compatible with iPhoto as well)
    which is at the bottom of this page:
    http://docs.info.apple.com/article.html?path=iPhoto/9.0/en/pht41627265.html
    I may be wrong, but I interpret that info to mean you need Aperture 2 before iPhoto will work with RAW?

  • How to remove the "Image Mask" labels under the effects tab in the Inspector window

    I'm still trying to find my way round Final Cut Pro X after using Final Cut Express for many years. I don't know how I have manage to finish up with two Image Masks being set under the effects tab in the Inspector window. The Image Mask effects are not active (the box adjacent to the label is not blue) How can I remove the Image Mask label from the Effects tab in the Inspector window?
    Thanks JohnH

    JohnHutchinson wrote:
    … How can I remove the Image Mask label from the Effects tab in the Inspector window?
    just click onto the grey bar and…
    … and hit 'delete'/back-space key.-

  • Need advice. Is it necessary to put images in folders and subfolders with LR?

    It seems that the concept of spending hours putting files into folders, sub-folders and sub-sub-folders is not needed  with LR. Creating all these folders takes hours, especially if you are like me and need a major reorganization of image organization. My thought is that all images can go into one massive folder as long as they are properly tagged. I can then use LR Smart Collections to essentially virtually organize all my images. I can create many more sorting options using Smart Collections than I can by putting images into a folder. This flies in the face of everything I've learned about storing data on a computer so I'm nervouse to head this direction because it starts with unorganizing my folders and removing all tags so I can start fresh.
    I don't want to take this on only to learn I didn't think of a gotcha issue. One drawback is that you are now committed to find anything by using LR or tags only. What do you think?

    Lee Jay wrote:
    Okay, then be honest.  What would you do if you were me?....So - give me an honest recommendation on a go-forward path (no "coulda, woulda, shoulda's").
    Honestly, I always start off from assessing what you really need or what value you could get from keywording. I wouldn't advise you to add keywords for their own sake.
    Lee Jay wrote:
    Meanwhile, I can already find all my images efficiently in seconds in nearly all cases.  I estimate that there is about one situation per year where having a comprehensively keyworded image store would be helpful in saving me time - perhaps 15 minutes each time that happens.
    Let's pretend that this isn't quite as black and white as you always put it. Let's say we're mainly talking weddings - typically wedding photographers add few keywords, if any. And let's say you do need to find certain images more often - each time you go to meet prospective clients you want to put on your iPad (you?) a portfolio of your best work for their broad type of wedding. So you might have categories like indoors / outdoors / subaqua, particular venues, age groups, religions through humanist,  formal / weird. Let's assume you do judge it worthwhile to increase the number of keywords.
    Lee Jay wrote:
    I could start tagging images now as I collect them.  But then I'd have all those other images that aren't tagged and all the new ones that are.  That means using the smart-collection approach would mean all the new ones were in neat collections, and all the old ones were in a gigantic "untagged" collection with over 100,000 images in it.
    Actually, that is the way I would advise you to go. Don't let the perfect be the enemy of the possible. It's not at all uncommon that people are put off beginning doing some keywording by the scale of the complete task. But beginning with the images that you're currently working on isn't too much extra effort. Even if it turns out that you never eventually do go back and keyword the old stuff, in a year's time you'll have a whole year's worth tagged. While doing so you'll probably adopt ways to make keywording less of a chore. For example you might add metadata presets to slap on overall keywords for the typical shoot "Wedding, Ceremonies, Christian" and then one or more keyword sets if you can justify putting time into varying the keywords between images - eg Bride, Kids, Cake. I wouldn't waste any time building up a hierarchy (do if you want, or not if you don't).
    I simply wouldn't worry about the 100,000 remaining untagged - they'll be easier to tackle once you're you've got the experience / benefits from keywording new stuff. I'd advise you to do it only as and when you need - it's too big a task to do anything else. Let's say you need your best shots of Jewish weddings and - as you're currently keeping a lot of metadata in your head - you know some are in that untagged mass. Find them through the folder system as you do now, whack on some keywords like "Wedding, Jewish, Non-orthodox". All those shots are of the bride - whack on "Bride" (maybe from a keyword set). Hey, she's got an obvious tattoo - let's just add that keyword just in case it'll be useful. And quickly move on. Whatever seems worthwhile.
    Although scripting could help, where's the script? Worthwhile to write/adapt one yourself? Instead for folder names I'd just just smart collections to gather image - eg folder name contains "weddings" - and then slap on the keywords. Sure, there will be some duplication between the pseudo-metadata in the folder names and in keywords, but duplication happens with metadata. In fact, it'll be quicker to search by the keyword "Wedding" than search for images with the keyword "Wedding" and / or with the folder name containing "Wedding".
    So that's how I'd advise you - start with the new work, and deal with the older stuff ad hoc.
    John

  • How to put images on graph?

    Hello,
    I want to put images on graph whereever I want.
    I have TDMS file like this.
    My "x Axis" is (km) and "y axis" is MKTY.  If MKTY is 3 I want to put image3 on graph places in the y-axis. If MKTY is 2 then I put "image2" on graph.
    I uploaded my TDR file.
    Yasemin Barutçu
    Electrical And Electronics Engineer
    Attachments:
    graph.zip ‏5 KB

    For me, not. But yes I have to do this. Maybe I manual have a table which includes the y axis coordinates. X axis is dicrete then when I get the value 2 I will look at its y axis and take the coordinates of the y-axis corresponds to the table
    Is it difficult? 
    Yasemin Barutçu
    Electrical And Electronics Engineer

  • Missing "Charts, Images, Text Labels" demo from iWorks Numbers page.

    Really just an issue with the number iWorks page on the website.
    At the address below, Apple has a few watchable demos:
    http://www.apple.com/iwork/numbers/
    Intelligent Tables.
    Flexible Canvas.
    Charts, Images, Text Labels.
    and
    Interactive Print View.
    But the hyperlink listed under "Charts, Images, Text Labels." is the same as the one under "Flexible Canvas."
    Does anyone have the actual address that takes you to the "Charts, Images, Text Labels." demo?
    for reference, here is the address that is duplicated:
    http://movies.apple.com/movies/us/apple/mac/iwork/2007/features/iworkfeatures_flexiblemediarichcanvas_20070807640x400.mov
    thanks!

    The link below is now available from the iworks page:
    http://movies.apple.com/movies/us/apple/mac/iwork/2007/features/iworkfeatures_2dand3dcharts_20070807640x400.mov
    Thanks to who ever updated it.

  • Where to put images in web Dynpro project to have them deployed?

    Hi Brothers,
    I would like to show an image in an <img>-tag within a Formatted Text View UI Element.
    I have created a folder img under src/.../projectname and I have referenced the image in the <img>-tag as follows:
    < img src="/LocalDevelopment~LocalDevelopment~testroadmap~demo.sap.com/src/packages/com/sap/demo/projectname/img/newRow.JPG"; /.>
    However, the image is not shown in the Formatted Text View UI Element.
    Does anybody know where to put images so that they are packed in the .war achieve and deployed and how to referenced them?
    Thanks, Johannes

    Hi,
    place the image in the following folder of application,
    src\mimes\Components\<your component name>.testroadmap.demo.sap.com
    If you store the image file in your Web Dynpro project under src /mimes /Components /<Name of Component>, you only have to specify the file name without a path.
    Regards,
    ramesh
    Edited by: Ramesh Babu V on Sep 19, 2008 1:58 PM

  • I have made flash cards on my ipad.  I am trying to put images on them.  How do I do this?

    My daughter is working on a project for school.  She has made flash cards and is trying to put images onto them... She has taken the pictures using her camera.  Now what does she have to do to put the pictures onto the flash cards?
    Thanks!!

    She says she used Ifree Flash Cards???  I don't know anything about the IPad.  I did however try to copy and paste but I guess it doesn't work the same as on a computer??? 
    Everytime we tried to copy the photo all it will do is make an extra copy?
    Thanks for your answer and any help.

  • In formscentral, can I put images in dropdowns

    I need to put images into drop-downs in the formcentral form design.  Am I able to do this?  How?

    Thanks, but it should be!
     Ken Banner
    0lllllll0
    home: 336-856-1461
    mobile: 336-895-8305

  • When I  put apps from my PC to my iPhone it copies it but it doesn't install in my phone??? I just my iPhone 5s so when i put images from my laptop I cant delete them so can you help me??

    When I  put apps from my PC to my iPhone it copies it but it doesn't install in my phone??? I just my iPhone 5s so when i put images from my laptop I cant delete them so can you help me??

    You might not have enough space on your phone. 
    Look on iTunes and see how much space the photos you copied over is consuming.

  • Cant put image on top of another image

    Hi,
    I'm using keynote 09 with the 'Blueprint' theme. I'm attempting to edit the master slides by putting a company logo in the corner of each slide. This works fine on slides without images, but on slides with images, keynote will not let me put my logo over the image placeholder. The placeholder image always blocks my logo, even when I choose 'Send backward' on the place holder.
    Is there a way around this?
    thanks

    Sorry, I was typing fast.
    The problem is that you cannot put images above media placeholders on master slides. One suggestion was to make my image (my logo comprised mostly of white text) a media placeholder as well, therefore I could edit the master slide and layer my new media placeholder (logo) above the default-already-existing placeholder (some architectural image in the blueprint theme).
    This works but has an additional problem.
    Since my logo is white text, I wanted for it to stand out from the picture beneath it. As I sometimes do, I thought I should place my white-text-logo on top of a small black rounded rectangle with transparency (like a cartouche).
    I like to do that because it makes my logo legible, while still showing the picture through the transparency. INdeed, this is easy to do if you are only dealing with pictures and shapes (and not the magical placeholder versions of them)
    You can make the shape a text placeholder, and you can make the image (logo) a media placeholder, but you can't group the two together as a unit. And if you group them first, then you cannot make your group (shape+image-logo) a placeholder at all, so you then cannot layer it on top of the default image place holders.
    I was saying that I'd have to open my logo in photoshop and put it on top of a 'cartouche' and then import that modified image, and THEN make it a media placeholder.
    But obviously it would be easier if keynote just let us properly layer elements as you would expect it to work.
    I mean, setting images aside, why can't I create a shape and put it in front of a media placeholder without making the shape a text placeholder?
    Of course I can edit my logo and add dropshadow or glow to make it stand out, but even then, I would need to make it a placeholder before keynote would let me layer on top of another placeholder. And if I'm going through the trouble of using photoshop to add shadows or glows, I might as well just put the image on top of a cartouche as originally desired.

  • Can i put image on background of my menu..........

    plz help i have a nokia 5233 n i want to put images on background of my menus.....plz help

    Actually, you cant put images in the background of the menu. It was never possible on symbian phones. The only way you'll get the images there through a theme, and only the theme image can be seen there. You'll have to make your own theme if you want. Just google for carbide UI.
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • PUT IMAGE ON BUTTON BAR

    How could i put image on Buttonbar for all different buttons on it can u please help me thNK YOU

    answered in your other post...

  • When downloading images to photoshop all images are labelled as img.even the RAW ones. How do I change this.

    When I download the images from my Canon 70D into Photoshop CC all the images are labeled as IMG, even the RAW ones. How do I get the images automatically labeled as RAW?

    Hate to ask the obvious, but do you have your Canon 70D set to save both RAW+jpg?
    On your computer do you have 2 files for each photo, but the file size is much larger for one of them?
    Are you using ANY software to download the pics from your camera to your hard drive. If so, check the setting to make sure they aren't  converting Raw CR2 to jpgs automatically.
    The best procedure for transferring is to buy a card reader for a few bucks.
    Remove your memory card from the camera and insert into card reader.
    Copy or Drag your files to your hard drive.
    After this is done. remove the card and replace into your camera
    The reason for this last procedure is to make sure you don't accidently open the image from the card reader and then attempt to save it not realizing the computer is trying to save it back to the card.

  • Centering a horizontal image with label list...

    Hi there,
    Image list is aligned to the left by default. I'd like to know if it's possible to aligned it to the center of page? If so, please educate me... Thank you in advance...
    Chris :)
    Edited by: Chris K.W. on Dec 11, 2009 8:54 AM

    You've caused very little hassle. Microsoft on the other hand...
    To do this using CSS you have to account for bugs in IE, meaning it takes 4 times longer than it needs to. We won't go into the ensuing unfortunate chain of events involving VMs, but it meant that I couldn't test this on IE8.
    1. Set the template for the containing region to "No Template".
    2. To cope with Microsoft's broken browsers, enter
    <!--[if lt IE 8]>
    <div style="text-align: center;">
    <![endif]-->in the Region Header, and
    <!--[if lt IE 8]>
    </div>
    <![endif]-->in the Region Footer.
    3. Add this internal style sheet to the page HTML Header
    <style type="text/css">
    .t13HorizontalImageswithLabelList {
      margin-left: auto;
      margin-right: auto;
    </style>If it doesn't work in IE8 then try removing 'lt' and '8' in step 2.
    This will center all Horizontal Images with Label Lists on a page: we can change this if necessary, but will skip redundant code if it's not required.

Maybe you are looking for

  • How can I buy more than one photo album in iPhoto?

    I want to buy two albums made in iPhoto, but I don't know how to buy both of them at the same time, so I have to pay just once the shipping costs. Thank you,

  • Confirmation Creation not possible - Document is in Transfer for PO.

    Hi Gurus, Scenario :Extended classic Server :SRM_SERVER 550 -SAPKIBKT05 We are not able to create subsiquent Confirmations for a PO, as the entries in table BBP_DOCUMENT_TAB, is not being cleaned by CLEAN_REQREQ_UP, even after the IDOC has been poste

  • Schedule jobs in SRM

    Hi may i know the purpose of scheduled jobs in SRM like BBP_GET STATUS2 and CLEAN REQREQUP.  i just want to know why/when we are using these jobs in SRM. please suggest me with your finest solutions. kindly help. Regards sss

  • What to buy?

    Hi all. I am thinkign about ether buying a airport extreme or airport express but i don't know witch of them is best for me My broadband is trhow a adsl and I am using a Netgear router but that roter is only using 108mb/s and that is low for my werle

  • I pad mini unable to connect to belkin wifi.thank you

    Hi ,please somebody able to help.I bought a mini ipad 32G as a family present especially for kids however un able to connect to belkin wifi ,spoken to the technical side of supplier which are talktalk and cannot find any problem,please help my 4 and