How to get premultiplied alpha in a png embedded with compression=true

Hi there,
I found that the [embed] tag has many undocumented features (and WHY ... WHY are they not documented?! and IS there any place where it is all thoroughly documented? Well, the one in the Flex documentation isn't really that helpful)
So you can embed PNGs in a compressed way like JPGs with compression=true and quality=70 i.e. to save a transparent PNG with JPEG compression.
BUT when I do that, the alpha seems to not get premultiplied, it doesn't behave like when I don't compress it. The shadows aren't dark anymore but almost lighten the areas up. When not using compression & quality, the shadow areas look like they're supposed to.
When using a PNG compressed by the Flash IDE, it works.
So, is there ANOTHER undocumented embed-feature which lets you control if the alpha-channel gets premultiplied or not?
That would really help in some cases.
Right now I'm still using the Flash IDE for that, but it would be nice to know if there is a way to make it work merely by Flex EMBED tags.

Hi corlettk,
Thanks for your reply. I have defined my map as Map<String, Boolean> selectedIds = new HashMap<String, Boolean>();
            selectedIds.put("123-456", true);           
            int m=123; int n=456;
                                 selectedIds.put(String.valueOf(m) + "-" + String.valueOf(n),true);
            boolean viv = selectedIds.get("String.valueOf(m)-String.valueOf(n)");
            System.out.println(viv);
            My problem is the hashmap key must be set dynamically ("123-456" is just an example) and when i get the value i should be able to pass those varibales in an expression correctly. Please let me know how can i pass an expression like the one above as a hashmap key. Please advise.

Similar Messages

  • Need to know how to get my apple account to sync up with a new email on my phone and delete the old one in a step by step process??

    Need to know how to get my apple account to sync up with a new email on my phone and delete the old one in a step by step process??

    After you change the account settings as I described below hold your finger on any app until they all wriggle, then tap the "-" on each purchased with her Apple ID. Press the HOME button when done. Then go to the App Store and buy or download the apps you want.

  • How to get Camera RAW / Photoshop CS5 to work with Canon 100D?

    How to get Camera RAW / Photoshop CS5 to work with Canon 100D? I don't want to by this product again and again...

    In what way is ACR not working in Bridge?  Is there no right-click Open in Camera Raw available from Bridge, or there is, but the ACR version is less than ACR 6.7.1 or what exactly is the issue? 
    Also, if you open Photoshop and do Help / About Plug-ins / Camera Raw, is ACR missing from the list, or if not, what version does it say is installed?
    You might also want to describe what methods you have tried to correct the issue, since saying you've tried what you've seen posted and they didn't work, isn't really much to go on.

  • Any info on how to get iCloud calendar, contacts, etc to sync with office 365 on macbook pro?, any info on how to get iCloud calendar, contacts, etc to sync with office 365 on macbook pro?

    Any info on how to get icloud calendar, contacts, etc to sync with office 365 on macbook pro?

    You can't, there is no connection between the services, use one or the other.

  • How to get  shipped orders, unshipped orders and orders with open deliverie

    Hi
    how to get  shipped orders, unshipped orders and orders with open deliveries
    can anybody answer this.
    points would be rewrded
    Thanks

    Hi,
    You can check in the VBUK table for the status of an order. If you do a Query on VBUK table to get all the orders whose delivery status is not 'C' or the total goods movement status is not 'C' you get to know the orders not yet shipped.
    Hope this helps. Reqard points if useful.
    David.

  • How to get the line in the template (smartform) with out using under score

    Hi,
         How to get the line in the template (smartform) with out using under score,
         and how to print the box (line the check box - small squre box (which is used ot mark the tick by the user in front of the item).
         Please provide the valueble answer as early as possible.
    Thanks,
    Ravi

    Hi Ravi,
    Line -
    Use a SMATSTYLE for this purpose.in the smartstyle create a paragraph or character with underline atribute.Then call the smartstyle in the text.
    Search SDN with Key <b>UNDERSCORE</b>.. will get few more posts on the same.
    For Checkbox - refer link
    Re: Quick Question on Smartforms
    Re: putting tick mark into check box in smartform
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar

  • How to get iPod 4 to play wifi-nice with my other wireless devices?

    Anyone has this problem? It's either iPod 4 or everything else!
    I just bought a new iPod 4 in additional to my iPod 3. I doesn't feel as good as my current iPod, but that's beside the point. My iPod 3 is still the favorite, even before I found the problem.
    All of my wireless devices at home work just fine:
    . -Motorola Wireless Modem (set to g, wep sec)
    . -iPod 3
    . -Apple Macbook
    . -Gateway laptop
    . -Lenovo laptop
    . -2 Sony laptops
    . -Nokia tablet
    . -HTC winmo phone
    *iPod 4 join my Motorolla wireless
    . +*ONLY IPOD 4 WORKS*
    . +The following wireless STOP working
    . -iPod 3
    . -Apple Macbook
    . -Gateway laptop
    . -Lenovo laptop
    . -2 Sony laptops
    . -Nokia tablet
    . -HTC winmo phone
    *Poweroff iPod 4
    . -All wireless devices work
    *Poweron iPod 4, Airplane on
    . -All wireless devices work
    *Poweron ipod 4, Airplane off
    . -All wireless devices work
    *Poweron iPod 4, but not join Motorola wireless
    . -All wireless devices work
    How to get iPod 4 to play wifi-nice with my other wireless devices?
    Message was edited by: iUser

    Thanks again for you help.  I finally got the music resting on my iPad moved into iTunes and then got the music resting on my iPod backed up in iTunes.  Final step was to get the music on my iPad onto my iPod without loading the iPod music onto the iPad.  I use my iPod strictly for music and don't want to clog my iPad with all those songs.   Anyway, long process but it worked.  Thanks again.

  • How to get all the values of a variable with F4 with checkboxes to select

    Dear Experts,
    After Executing a query by giving let 3 values(Out of 10 Values) to a variable.
    To give 2 more input values to the same variable(i.e.,total I wanted to give 5 inputs this time ),after refreshing the query,for that variable if I click F4, I am seeing the historical values(i.e.,3) and remaining 7 values also But with out any Check Boxes besides them to select the 2 inputs.
    In the same F4 Screen, If I click all values(an Icon at The bottom),then also Im seeing but no check Box.
    I hve tried by deleting the Delete Personalization also,but no use.
    Please tell me How to get all the values with F4 with check boxes to select ,whatever I want??
    Thanks in advance

    Take a look at the InfoObject and go to the Business Explorer tab. If the 'Query Def. Filter Value Selection' is set to 'Only Values in InfoProvider', you're only going to get the values in F4 that exist in the InfoProvider, not everything in the Master Data. This would need to be changed to the value of 'Values in Master Data Table' if you want it to show everything possible when F4 is chosen.
    Likewise, you're going to need to look at the query and go to the Advanced tab for the InfoObject. Make sure that the radio button for 'Values in Master Data Table' is selected. If not, then you should change that selection.

  • I have very thin, colored lines running vertical on my desktop monitor screen.  I don't know where they come from or how to get rid of them.  I started with one and now have three.  Can anyone give me some insight about what to do in getting rid of them?

    I have very thin, colored lines that have shown up on my IMac monitor screen.  I don't know where they came from or how to get rid of them.  I'm concerned now because I started with one and now have three.  Does any know why this occurs or how to get rid of them?

    I got an address from Applecare, although I can't place my hand on it right now. I didn't bother persuing the letter route myself as I didn't expect much. I know that the location was Cork, Ireland though as that where the UK Applecare is based as far as I'm aware. The best thing to do is to call Applecare (if it's free) and discuss the issue. State that you are not happy wit the fact that you will have to pay to have the problem resolved especiiay if it is an ongoing problem that has not been resolved. I ended up speaking to a senior manager of the Applecare team who then proceeded to tell me about mailing in my grievence to customer services division or something like that.
    If I can find the address I may post it if I'm allowed.
    In the case of age, Schools usually have a 5-year life-cycle as they tend to be used differently than consumer machines, i.e. being used constantly on a daily basis for at least 12 hours with no break. you would expect issues to appear after a few years, but I expect problems that arise through defects to be resolved and stay resolved. As I mentioned we had machines for around 2 years before the lines appeared and sent them to be repaired. I'm happy with that. What I am unhappy about is the fact that the problem has reappeared exactly in the same way and now I'm left with around 7 machines that I either pay loads to repair or, the more likely replace the machines with newer ones since the age is now big enough to warrant the replacement.
    Sorry for the lengthy moan, but these are the reasons I purchased Apple ahrdware in the first place to avoid the "not our problem" stance some PC vendors  usually take, similar to the Dell monitors thread mentioned in here somewhere.

  • How to get rid of the new bottom layer with piano roll etc. in arrange??

    Hey guys,
    Just a quick question i suppose.
    I work with 2 screens.
    When I double click a midi event, i want the piano roll to open in a floating window, just like it used to be, and not in the new bottom layer (pop up) bar in the bottom of the arrange window. I want this because i like to edit on the second screen while still haveing an overview of my arrange on my 1st screen.
    Does anyone know how to do this? Or perhaps know how to get rid of this new bar all together?
    I hope someone does....
    thanks in advance!
    cheers,
    PM

    how annoying is it to go to a seperate screen set and then click a midi region just to edit it?
    You haven't grasped the concept of screensets.
    In the "old" way of working, in your arrange, you double-click on a region, which opens that region in an editor. You may have to move the editor position/size etc. You make your edits, and then close the window.
    The screenset way of doing this is simpler and quicker. In your arrange, you select your region (one click, rather than a double click). You then hit a key command, lets' say "2" to switch to your editor screenset, which has the eitor or combination of editors you use, in link mode. As soon as you hit your 2 key, the editors will be recalled at the precise locations you specified, showing you the contents of your selected region.
    When you are finished editing, just hit "1" to go back to your main arrange window.
    Once you get used to this, you'll find it's a lot quicker and more efficient than all that rsi double clicking and window closing...

  • Does anyone know how to get apple mail in Lion to connect with Exchange 2007?

    Does anyone know how to get apple mail in Lion 10.7.2 to connect with Exchange 2007?  It worked perfectly with Snow Leopard... upgraded to lion and it won't work.  We use Exchange 2007 with SP 3 and Rollup 4.  Won't connect... and I can't get Apple to give me any direction. 

    We finally got it to work today.  We had to call and pay for the microsoft support service, but the issue was on the server end.  We had to go into the iis manager... went to sites... when to default website...and changed the SSL settings for Auto Discover, EWS Exadmin, echange, exchweb, owa... and the rest..
    Change the settings to ignore client certificates.
    Problem solved. Can finally send and receive.

  • How to get photo albums off of iphone 4s with itunes

    My computer has a virus so I hooked my iphone 4s to another computer with itunes. I need to get some photo albums off the iphone that I synced with the other computer but the only thing that comes up are the photo stream photos. My question is how can I get them off it is taking up space on icloud and I just don't want them anymore. please help.

    Please explain to me what kind of photos end up outside the sandbox. Photos taken or saved with the phone are in the Camera Roll. Other photos on the iPhone would be synced via iTunes from the computer. Those pictures are already on the computer and can be removed from the phone via another sync. Importing the photos with import utility on the computer, like a digital camera is how to get the pictures. I'm not sure what these other photos are that you are referring to, or where they are coming from.

  • How to get start to develop Oracle database applications with NetBeans?

    Dear Ladies and gentlemen,
    I am new to NetBeans. And I know nothing about Oracle. I have installed the
    NetBeans 6.8, and I want to learn Oracle database application development
    with NetBeans. I don't know how to get start. Give me some suggestions,
    please. Thank you very much.
    Best Regards
    Ma Xiaoguang

    Download Oracle Express Edition for educational purposes and start from there.
    Download at:
    http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
    Documentation at:
    http://www.oracle.com/pls/xe102/homepage

  • How to get my iPod Classic 160 to work with my blu ray disc player

    How do I get my iPod Classic 160 to work with my blu ray disc player?

    Whats the model of the blu ray player?
    I'm assuming you would have to to buy a dock or AV cables that connects to ipod and correspond with the model of player.

  • How to get music into iPod library other than with iTunes?

    I am using an iPhone video editing app and want to add music to the clips. The option presented is to "add music from iPod library. I am presently traveling abroad and do not have my MacBook to sync music into my iPhone. There is tons of free music available online but the question is how to get any of it into my iPod library. I've tried a third party "download" app but it stores music inside the app, not in the iPod library. Are the only ways to put music in my iPod library either 1) sync from my MacBook or 2) buy from iTunes store? or are there other options?
    Thanks much.  

    The Jazz website you showed had Real audio files, and these won't be able to be played in the iPod app anyway.
    But there are options for websites with mp3s.
    There are apps that can play mp3s and make playlists, and some that can download music from legit websites and then play it.
    Do a search for "mp3 play download" in the itunes store.
    I have never needed one, but there are a few there that seem to offer what you are asking.
    Theuy won't add the music to the ipod app, but they play themselves so that might be what you are looking for.

Maybe you are looking for