Using a downloaded image as the icon style for a Button

Hello
I have a problem and after a lot of investigation I have reached to no conclusion.
When setting the icon to a Button, a Class of an image is needed. This can be done very simply by embeding an image. But what I would like to do is use an image known only at runtime.
More exactly I can not download an image from an external source, obtain it bitmapData or something else, convert it and assign it as the icon style for a Button.
So my problem is that for the Flex components that need an image, a Class needs to be assigned, and I can not use an external image to download it, to convert it in some way and assign it.
Does anybody have any sugestion? Is it possible?
My purpose is to make some utility that just downloads the images and after the downloading has been completed, to notify the "client" it should take the "created Class" to use it as a style.
Thank you in advance for your time,
Claude Bur.

A quick google search turned up this solution:
http://blog.benstucki.net/?p=42
- Jason

Similar Messages

  • I have an Iphone 5 and used to download applications from the Apple store but now i couldn't download any thing although it seems that it trying to download and gives " waiting Icon " and nothing happened although there is about 9.4 Gb available space

    I have an Iphone 5 and used to download applications from the Apple store but now i couldn't download any thing although it seems that it trying to download and gives " waiting Icon " and nothing happened although there is about 9.4 Gb available space

    check the attached pics the waiting icon and it stands for long time without downloading any bit

  • HT201343 My MBP is Early 2011 but dunno why cant use mirroring with apple TV, the icon cannot be found

    My MBP is Early 2011 but dunno why cant use mirroring with apple TV, the icon cannot be found. So cannot use mirroring.
    I have follow trouble shooting , they recommend to go system preference -> display , thus can find out the mirroring icon if no mean it doesnt support. But according to the web, Early 2011 MBP should be able to use, dunno why.

    Just realise I havent updated my OS to mountain lion and this is the reason why I cannot use mirroring before ^^
    Thanks all

  • Is there a way to increase the icon size (and the text below) without using zoom?  I am trying to help out someone who has moderate visual impairment that does not want to use zoom just to see the icons and their labels.

    Is there a way to increase the icon size (and the text below) without using zoom in iOS 7?  I am trying to help out someone who has moderate visual impairment that does not want to use zoom just to see the icons and their labels.

    Hello Apple.
    It seems you have gone to great lengths to improve accessibility in many areas of the iPad. Why was this obvious problem with icon text size missed?  (It's not with the Mac.). And for so long too.
    Do you employ people with actual accessibility problems to help you do UI design?
    I think too, that some buttons are too close for people who might have motor control problems.
    I love my iPad but I fear as I age, the iPad might not keep up with me.

  • Hacked Message: Your Apple ID was just used to download Podcasts from the App Store on a computer or device that had not previously been associated with that Apple ID

    So I just got a message from Apple saying
    "Your Apple ID was just used to download Podcasts from the App Store on a computer or device that had not previously been associated with that Apple ID"
    I am new to Apple products and signed up to the app store about an hour before but have not downloaded any apps yet.
    I also turned on iCloud Drive.
    Neither of these are Podcasts and I do not have any Podcasts on my device.
    The message is a really poor warning, it could for instance list the IP address which would immediately tell me if it was me.
    It could list what type of device it was.
    It could list what Podcast was downloaded.
    But no, just some random message, probably generated by the really bad default iPhone settings that put ease of use before security.
    I have a long complex password that I do not want ot have to change just because Apple generates a stupid message.
    On Google you have a log of all logins and devices, is there something similar with Apple, so I can figure this out?

    Kroll17 wrote:
    I don't know, I thought it was pretty clear
    "was just used to download Podcasts from the App Store"
    it said it was used to download a Podcast from the App Store
    I have not down downloaded any podcasts and there are no podcasts in the podcasts app, of course if Apple were to list the podcast that was downloaded, the IP address and the device it might help one dismiss the message.
    I am running the latest v8.1.1 although how the version of my OS related to a message generated by Apple servers is beyond me, unless my device is not authenticating properly so Apple thinks I am someone else but then as I have not downloaded any Podcasts that would not seem to be the issue.
    It does NOT say you downloaded a podcast. First, podcasts are not downloaded from the App Store; they are downloaded from the iTunes store.
    It's very clear to me; the app named  "Podcasts" was downloaded, not a podcast. "Podcasts" is a app provided by Apple for managing and downloading podcasts.

  • Being that I have a Mac Pro, what program I have to use to download movies from the Veehd website?

    Being that I have a Mac Pro cpu, what program I have to use to download movies from the Veehd website?

    If you want to download veehd videos, remember not to download any plugins. I have suffered by its redirecting my homepage many times.  If you want to download the video still, you can refer to the post from which I succeeded at last after using the suggested tools.

  • I need to download image from the url and the image is in byte format.

    hi
    i need to download image from the url
    http://www.tidelinesonline.com/mobile/j2me_v1?reqType=imageJoin&imageCount=1&month=1&day=1&year=2008&id=1&imageWidth=230&imageHeight=216&imageDepth=8&imageUnits=feet&imageType=JPG&msisdn=456
    first 5 digits will be its length,we need to download except 5 digits.
    can any one know how to do that.
    thanks in advance
    Mraj

    hi
    i need to download image from the url
    http://www.tidelinesonline.com/mobile/j2me_v1?reqType=imageJoin&imageCount=1&month=1&day=1&year=2008&id=1&imageWidth=230&imageHeight=216&imageDepth=8&imageUnits=feet&imageType=JPG&msisdn=456
    first 5 digits will be its length,we need to download except 5 digits.
    can any one know how to do that.
    thanks in advance
    Mraj

  • Can I change the border style for normal cell?

    Im using Numbers on ipad2. As I say, Im wondering if I can change border style such as its width and colour for ordinary cells which is not a incerted media.
    As I know, Numbers only allows the position of borders for normal cells,,, anyone help me?

    You only get that when you have two or more consecutive messages. Try to avoid that is one option.
    You can change the icon if you want. Create another icon, call it stop.ico and put it in the icons directory (as indicated by UI_ICON). However, if you have a STOP alert, the icon changes for that alert too.
    Note: this is for Developer 6i. In 9i you cannot use ico files. Use gif files instead and put the image in the image jar file (found in OH/forms90/java directory). Since you see a big X, I believe you are using 6i.

  • How can I change the MESSAGE STYLE for messages?

    My customer complains about the big "X", as well as he thinks it's an error instead of a just message or note.
    so my question is how do i change the message style then?

    You only get that when you have two or more consecutive messages. Try to avoid that is one option.
    You can change the icon if you want. Create another icon, call it stop.ico and put it in the icons directory (as indicated by UI_ICON). However, if you have a STOP alert, the icon changes for that alert too.
    Note: this is for Developer 6i. In 9i you cannot use ico files. Use gif files instead and put the image in the image jar file (found in OH/forms90/java directory). Since you see a big X, I believe you are using 6i.

  • [svn:fx-trunk] 10006: Initial checkin of the "More styles for Spark skins" feature.

    Revision: 10006
    Author:   [email protected]
    Date:     2009-09-03 15:04:47 -0700 (Thu, 03 Sep 2009)
    Log Message:
    Initial checkin of the "More styles for Spark skins" feature. Details here:
    http://opensource.adobe.com/wiki/display/flexsdk/MoreStylesforSparkSkins
    There are some known issues:
    Panel bottom corners not rounded correctly when the panel has a control bar
    cornerRadius on Tab and DateChooser non functional
    cornerRadius values > 4 have drawing artifacts in the "down" state of Button and button-like components
    TextInput/TextArea incorrectly list lineBreak and verticalAlign as valid styles
    This checkin also includes a couple minor unrelated bug fixes:
    Remove MiniDebugTarget. This is a logging target that used MiniDebug, which hasn't worked since Flex 1.5
    Fix RTEs when setting focusSkin to null
    Optimization: don't measure skins if the host component has explicit sizes
    QE notes: Yes, many baseline images will need to be regenerated
    Doc notes: New ASDoc comments should be scrubbed
    Bugs: SDK-22931, SDK-22798, SDK-22217, SDK-19358
    Reviewer: Jason
    Tests run: checkintests, cyclone
    Is noteworthy for integration: Yes
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22931
        http://bugs.adobe.com/jira/browse/SDK-22798
        http://bugs.adobe.com/jira/browse/SDK-22217
        http://bugs.adobe.com/jira/browse/SDK-19358
    Modified Paths:
        flex/sdk/trunk/frameworks/halo-manifest.xml
        flex/sdk/trunk/frameworks/mxml-manifest.xml
        flex/sdk/trunk/frameworks/projects/airframework/defaults.css
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication. as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowed ApplicationSkin.mxml
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplication Skin.mxml
        flex/sdk/trunk/frameworks/projects/framework/defaults.css
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as
        flex/sdk/trunk/frameworks/projects/spark/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.a s
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableCom ponent.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTex tBase.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarFirstButtonSkin.m xml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarLastButtonSkin.mx ml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultButtonSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListButtonSkin.mxm l
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FocusSkin.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ListSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/NumericStepperTextInputSki n.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerDecrementButtonSkin .mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerIncrementButtonSkin .mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextAreaSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextInputSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ToggleButtonSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarFirstButtonSkin .mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarLastButtonSkin. mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ComboBoxSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DefaultButtonSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/EditableComboBoxSkin.mxm l
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PanelBorderSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PopUpButtonSkin.mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SparkSkinForHalo.as
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperDecrButtonSkin.mx ml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperIncrButtonSkin.mx ml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TextInputBorderSkin.mxml
        flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ApplicationSkin.mx ml
        flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css
        flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/BorderTestScript.mxml
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/targets/MiniDebugTarget.as

    Gordon, it looks like its been a while since you made this post.  Not sure how valid it is now...   I am particularly interested in the LigatureLevel.NONE value.  It seems that it is no longer supported.
    How do I turn of ligatures in the font rendering?
    My flex project involves trying to match the font rendering of Apache's Batik rendering of SVG and ligatures have been turned off in that codebase.  Is there any way (even roundabout) to turn ligatures off in flash?
    Thanks,
    Om

  • When I go to a website, it half-way downloads and then the screen freezes for 10-20 seconds while ads appear; this never happened till recently.

    Until recently, I loved Firefox. Lately, when I go to any website and try to download a page, the screen freezes for between 10-20 seconds while ads load. Why the screen freezes is both frustrating and annoying. I have the latest version, nothing on my computer is different, and as I said, it didn't used to do this. Any ideas what's going on?

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    * https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    * http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See:
    * http://kb.mozillazine.org/Firefox_crashes
    * https://support.mozilla.com/kb/Firefox+crashes
    * https://support.mozilla.com/en-US/kb/latest-firefox-issues
    If you have submitted Breakpad crash reports then post the IDs of one or more Breakpad crash reports (bp-xxxxxxxx-xxxxxxxxx-xxxx-xxxxxxxxxxxx). You can find the IDs of the submitted crash reports on the about:crashes page. You can open the about:crashes page via the location bar, like you open a website.
    See:
    * http://kb.mozillazine.org/Breakpad (Mozilla Crash Reporter)
    * https://support.mozilla.com/kb/Mozilla+Crash+Reporter
    * https://developer.mozilla.org/en/How_to_get_a_stacktrace_for_a_bug_report

  • HT1926 I keep getting the following message after attempting to download and install the latest update for iTunes: missing MSVCR80.dll.  error 7 (windows error 126)

    I keep getting the following message after attempting to download and install the latest update for iTunes: missing MSVCR80.dll.  error 7 (windows error 126). Anyone else having this issue? How do I get iTunes back in working order?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • "The rasterized image exceeded the maximum bounds for saving to the PNG format"

    Hi everyone, I'm using Illustrator CS4 and encountering the following problem:
    I made a level map in illustrator that exceeds 10000x10000 pixels. When I try to export the image as a PNG, I get the error "Could not complete this operation. The rasterized image exceeded the maximum bounds for saving to the PNG format". I tried saving in JPG and others as well, but got similar errors.
    How can I get around this?

    Here is an interesting discussion: http://bytes.com/topic/php/answers/735556-png-maximum-dimensions
    -- although the dimensions there are way larger than your paltry 10K x 10K. It appearts not to be a limitation of the PNG format, but solely from the software used.
    Here's a question. What on earth do you think you need 10K x 10K PNG files for?

  • How to setup the portal with the uniform style for SRM + Esourcing?

    how to setup the portal with the uniform style for SRM + Esourcing? We will setup SRM 7 + esoourcing + portal, but as we know esourcing screen style is not same with SRM, so how to uniform the style between this 2 diffirent software?  any body have idea?

    Hi,
    SAP E-Sourcing 6.0 is the solution. It is same look&feel.
    Regards,
    Masa

  • I just bought music on my iTunes account and the files did not download completely. The songs play for a minute or so then skips to next song.

    I just bought music on my iTunes account and the files did not download completely. The songs play for a minute or so then skips to next song

    If you live in a Region that allows re-downloading Music... Delete the Song and re-download it...
    Download Past Purchases
    http://support.apple.com/kb/HT2519
    If not... Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us

Maybe you are looking for

  • Photoshop CS5 Color Management

    My question has a complicated back story, but here is where I'm at.  I'm still a newby when it comes to color management.  I'm running Photoshop CS5, Lightroom 3.3, Windows 7 64-bit, Dell Studio XPS desktop, and a new Dell U2311H monitor.  I really s

  • Layout not displaying/printing on required pages

    Hi, I am using reports 6i and having a problem with the layout of a report. The report is made up of one sql query, that returns the data for 14 contracts. I need the report to produce a cover letter, a contract, a schedule, a contract and a schedule

  • Very Slow New Mac Pro

    I just got my first Mac Pro. I upgraded to Yosemite. It took nearly 5 hours to download. I thought it would have been and internet problem. But then I noticed that almost everything is slow, I am cutting the cord with PC but I expect a difference! Op

  • Part 1 cancellation

    Hi Team Please advise the steps for cancellation of part 1 , we have not captured part 2 in sap system. 1. Gr is done and part1 captured 2. Quality is done and then reversed the GR and the excise invoice document status has changed to Inprocesss and

  • AIX SSH Connectivity,  existence check failed for bin/bash

    hello; I received error AIX 7 Oracle RAC 11g R2 Oracle RAC AIX SSH Connectivity existence check failed for bin/bash on node2 but the bin/bash exists have any idea? regards siyavus Edited by: sak on May 31, 2011 10:41 PM