How To: Using Embedded Images for Drawing Fills

I had some challenges making this seemingly simple feature work, so as I found no examples, I made an example on how to do this.  The key I found was using the “BitmapAsset” class which is compatible with posting our embedded image into BitmapData objects. That put things together.
See the full narrative at:  http://digitalshowcase.biz/wordpress/?p=234
Download the Flex Project here:  http://digitalshowcase.biz/flex/FillsWithEmbeddedImages.zip
- Alan Gruskoff, Digital Showcase LLC

>>says that this export technique does not work, it produces a low res screen version of the file.
Are you certain the original files were any better?
My preferred method of doing this works well, but it takes a few extra steps. I'd make a high-res PDF out of the PM file, then pick apart the PDF to extract the graphics. Are the graphics raster or vector? If they're raster, you can use Acrobat's Touch-up Object tool to open them in Photoshop. If they're vector, you can open the PDF in Illustrator and save out the graphics from there.
HTH

Similar Messages

  • How to use background image for a page that work in Netscape..???

    Hi there
    Is there anyway around to use background image for a portal page that works well with netscape.
    As I have used that but in coming in Netscape.
    thanks
    Rakesh

    1) You post questions in the wrong forum. (As you title says this is a Swing question).
    2) Not once in your last 10 postings have you ever bothered to reply to a posting to thank people for the help you have received.
    I seriously doubt you well ever get answers in the future.

  • How to use embedded image in TextArea in Air (differs from Flex) ?

    So I was trying the example from the LiveDocs:
    Making hyperlinks out of embedded images
    http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_04.html
    This doesn't seem to work in an Air application (the image doesn't show).
    Even simply adding an image with a relative path doesn't work in Air (the image doesn't show either):
        <mx:Image source="../assets/butterfly.gif" />
    I'm sure I must be missing something really straightforward here, can anyone help ?
    Also, more generally, where I can see the source code of TextArea and RichTextEditor, understanding their inner working would be a great help.
    Thanks

    Embedding images in htmlText in a TextFiled isn't supported in AIR.
    See: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/TextField.ht ml#htmlText
    The source for the Flex components is included in the Flex SDK.

  • How to use a photo for a fill on a logo

    Ive been trying for days to figure this out but I cant. Im not well versed with photoshop though, so Im coming to the community here for help. Im not a master with terms and tools either so I might be kinda slow.
    Im trying to get a logo for my friends business to go on top of a background image and then, in a way crop the image out from the background leaving jsut the logo with the image within its boundary and then empty space around the logo. I have an example that a person from another forum tried to do for me to walk me thru but he stopped helping me suddenly.
    (that is kind of what I want to do. That was the example someone did for me but I cant figure out how he did it. the words in my layer is not text and its an image I was given so I am not sure how to fill it.)
    Thats what I have to work with, its a sketchy photo since its a screenshot then compressed so the quality is lacking.  I have it a a little firther a long now to this
    And that is where I am stuck, its kind of the opposite of what I want to do.
    Thanks for the help if you can lead me the right way!

    Just to follow up on the above response, you need something that looks more like this:
    then you can either:
    A) Have this as an actual layer above the picture and set the blend mode to "Darken" or "Multiply"
    OR
    B) Have a layer filled with black above the picture and use a mask that looks like the inverse of above (ie. black letters with white background on the mask)
    Mike

  • How to Use an Image to Customize the Static Button Widget

    Can I just get someone to help me figure out how to use an image to customize the static button widget, please?
    I have tried using several different types of images, but none of them seem to actually change the appearance of the button.
    Thanks!
    Laura
    Captivate 5.5

    I tried to use the tools within the widget itself - it offers you the opportunity to use an image (see screenshot below).
    I also opened it in Flash and tried to replace the images for one of the button styles there w/ my own, but in re-publishing the SWF from there I broke the widget.  When I attempted to use the edited widget, there were no customization controls available after I inserted it (see screenshot two below).

  • How to use java api for function activity in embed oracle workflow?

    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

    The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

  • I am new to Firefox; how do I set up for auto fill for the various forms that need the same info time and time again; thanks.

    I am new to Firefox; how do I set up for auto fill for the various forms that need the same info time and time again; thanks.

    Make sure that you do not run Firefox in permanent Private Browsing mode.
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    *Deselect: [ ] "Always use private browsing mode"
    *Select : [X] "Remember search and form history"
    See also:
    *https://support.mozilla.org/kb/Form+autocomplete
    <i>[locking thread due to the age]</i>
    If you have further questions then please start a new thread.
    *[[/questions/new start a new thread]]

  • How to use a dictionary for multi languages when displaying mess

    how to use a dictionary for multi languages when displaying messages??

    1st you have to define new messages in the dictionary:-
    1.     We have to open the application.
    2.     Functional administrator responsibility.
    3.     Core services.
    4.     Messages.
    •     Create message button.
    •     Now fill the name of the message that we want to call it from our code in the Code field.
    •     Fill the application name with short name of the application.
    •     Choose the language.
    •     Set the text you want to be displayed.
    2nd, Now in the CO in the in the process form request you will code throw new OAException ("application short name","Code").
    Now run and see the result.
    3rd we want to use Arabic messages, use the same one you have created for saving as an example but you choose duplicate and set the language Arabic.
    •     Run the page.
    •     Choose preferences.
    •     Current Session language = Arabic.
    Now you can see the result.

  • Using custom images for radiobuttons

    Hi
    I'm looking for help with creating a radio buttons with external images (fetched from XML/Javascript file) cause, I don't want to use standard looking radio buttons from components. I wish to use different images for each state of the button.
    Any one can help me with some ideas how to change look of then radio buttons?

    To manage homegrown radiobuttons as a group, you would incorporate an event listener function that manages the group.  That function would know which radio button was selected via the event target and would act to reset all of the other radios while setting the one selected.  I don't have a specific AS3 example, but below is a rough draft of the function/scenario.  In this, I am using 3 radio buttons that have numerically differentiated instance names (rb1, rb2, rb3)...
    var selectedRadio:MovieClip;
    function manageRadios(evt:MouseEvent){
         // first reset all radios
         for(var i:uint = 1; i<4; i++){
              this["rb"+String(i)].gotoAndStop(1);  // frame displaying deselected state
         selectedRadio = MovieClip(evt.currentTarget);
         selectedRadio.gotoAndStop(2);           // frame displaying selected state
         trace(selectedRadio.name);
    rb1.addEventListener(MouseEvent.CLICK, manageRadios);
    rb2.addEventListener(MouseEvent.CLICK, manageRadios);
    rb3.addEventListener(MouseEvent.CLICK, manageRadios);
    In this case, each radio button is simply a two framed movieclip, with stops for each frame... frame 1 displays the unselected state, and frame 2 displays the selected state.
    For the code shown, I include an external variable (selectedRadio) that can be used to target information related to the selected Radio button.  So if you assigned each radio with a variable (let's say you name it varName) that would hold data to be used in the processing elsewhere, you can get it using: selectedRadio.varName

  • Struts - using html:image for link

    I would like to use an image for a link but I am not sure how to do this. Right now I'm using the <html:link> tag and using the action mapping. Can this be done using the <html:image> tag?
    Here's an example of what I'm currently doing.
    <html:link action="/homePage"><bean:message key="General.button.HomePage"/></html:link>I'm new at java and struts and could definitely use a little help.
    Thanks!
    bfrmbama

    yeah, <html:image> is a form submit button... in HTML, it's this:
    <input type="image" name="thename" src="thesrc" value="thevalue" />
    <html:link> has onmouseover and onmouseout attributes... so you just put the mouseover script stuff there.

  • Can any one suggest me how to use drawPixels method for 40 series devices

    Hello!
    I am using drawPixels method of DirectGraphics class the code I have written is :-
    Image offscreen=DirectUtils.createImage(width,height,0x00000000);// width and heights are integer value
    public final int MODEL=DirectGraphics.TYPE_INT_8888_ARGB ;
    Graphics offgra = offscreen.getGraphics();
    DirectGraphics directgraphics = DirectUtils.getDirectGraphics(offgra);
    directgraphics.drawPixels(imgData,false,0,width,0,0,width,height,0,MODEL); // imgData is a int array(int imgData[]) which contains required pixels of image.
    The above code is working fine with NOKIA 60 series device but when i use it with NOKIA 40 series device it gives java.lang.IllegalArgumentException.
    same time if i use :-
    directgraphics.drawPixels(imgData,false,0,width,0,0,width,height,0,DirectGraphics .TYPE_USHORT_4444_ARGB ) ;
    // imgData is a short array(short imgData[]) which contains required pixels of image. i have used different formet here.
    it works fine with 40 series device,
    can any one suggest me how to use drawPixels method for 40 series devices with format
    DirectGraphics .TYPE_INT_8888_ARGB .

    If Remote wipe is activated it can't be undone. And Once the Wipe is done, the device can nö longer be tracked.
    Sorry.

  • How to use Batch operation for two xsodata services?

    Hi All,
    I have two xsodata services. How to use submit batch for two xsodata services
    Thanks,
         Mj

    Gateway Batch Calls from SAPUI5

  • How to use same actions for differ pop-up

    Hi gurus,
    I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
    But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
    Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
    Plz sugges me.
    <b>Points will be sured.</b>
    Sanket sethi

    Hi,
    Take one integer value attribute in the context of view
    when you r performing action on POP1 set it's value to 1
    when you r performing action on POP2 set it's value to 2
    create one method which receives integer argument, say diaplay(int a)
    In the action call display(wdContext.currentContextElement().get<intvariable>()) by passing the value in the context attribute
    in display() method, Check the value of integer variable..
    if it is 1 then perform action related to POP1
    if it is 2 then perform action related to POP2
    Regards
    LakshmiNarayana

  • How to use same actions for differ pop-up buttons

    Hi gurus,
    I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
    But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
    Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
    Plz sugges me.
    <b>Points will be sured.</b>
    Sanket sethi

    Hi ,
    u can use the method SUBSCRIBE_TO_BUTTON_EVENT of the IF_WD_WINDOW interface ... to handle the event fired by the popup .....used this method after creating the popup window ...
    regards
    Yash

  • How to Use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA

    Hi ,
      How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
      May i know what are the input parameters & fields mandatory
      for each Table structures ct_data , ct_datax , it_descript , it_longtext.
      Can any one explain me Step by Step Process.
      B'cos i tried with below code. Equipment is not getting created.
      wa_itab-equipment_ext = '000000000100000001'.
      wa_itab-descript      = 'Test 2 -> Lube Oil Pump'.
      wa_itab-text_language = 'EN'.
      wa_itab-sdescript     = 'Short Description'.
      APPEND wa_itab TO it_itab.
      CLEAR  wa_itab.
      LOOP AT it_itab INTO wa_itab.
        ct_data-ta_guid       = '000000000000000001'.
        ct_data-equipment_ext = wa_itab-equipment_ext.
        ct_data-descript      = wa_itab-descript     .
        ct_data-valid_date    = sy-datum.
        ct_data-equicatgry    = 'M'.
        APPEND ct_data.
        CLEAR  ct_data.
        ct_datax-ta_guid       = '000000000000000001'.
        ct_datax-equipment_ext = 'X'.
        ct_datax-equipment     = 'X'.
        APPEND ct_datax.
        CLEAR  ct_datax.
        it_descript-ta_guid       = '000000000000000001'.
        it_descript-text_language = wa_itab-text_language.
        it_descript-descript      = wa_itab-sdescript    .
        APPEND it_descript.
        CLEAR  it_descript.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'LTXT'.
        it_longtext-text_line      = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'aaaaaaaaaaaaaaa'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'bbbbbbbbbbbb'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'cccccccccccccccc'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      call BAPI-function in this system
        CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
          TABLES
            ct_data     = ct_data
            ct_datax    = ct_datax
            it_descript = it_descript
            it_longtext = it_longtext
            return      = return
          EXCEPTIONS
            OTHERS      = 1.
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          WRITE : 'Successful'.
        ENDIF.
        IF NOT return IS INITIAL.
          LOOP AT return.
            IF return-type = 'A' OR return-type = 'E'.
              WRITE : 'Error'.
            ENDIF.
          ENDLOOP.
        ENDIF.
        REFRESH  return.
      ENDLOOP.
    Regards
    SUrendar

    Hi ,
      How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
      May i know what are the input parameters & fields mandatory
      for each Table structures ct_data , ct_datax , it_descript , it_longtext.
      Can any one explain me Step by Step Process.
      B'cos i tried with below code. Equipment is not getting created.
      wa_itab-equipment_ext = '000000000100000001'.
      wa_itab-descript      = 'Test 2 -> Lube Oil Pump'.
      wa_itab-text_language = 'EN'.
      wa_itab-sdescript     = 'Short Description'.
      APPEND wa_itab TO it_itab.
      CLEAR  wa_itab.
      LOOP AT it_itab INTO wa_itab.
        ct_data-ta_guid       = '000000000000000001'.
        ct_data-equipment_ext = wa_itab-equipment_ext.
        ct_data-descript      = wa_itab-descript     .
        ct_data-valid_date    = sy-datum.
        ct_data-equicatgry    = 'M'.
        APPEND ct_data.
        CLEAR  ct_data.
        ct_datax-ta_guid       = '000000000000000001'.
        ct_datax-equipment_ext = 'X'.
        ct_datax-equipment     = 'X'.
        APPEND ct_datax.
        CLEAR  ct_datax.
        it_descript-ta_guid       = '000000000000000001'.
        it_descript-text_language = wa_itab-text_language.
        it_descript-descript      = wa_itab-sdescript    .
        APPEND it_descript.
        CLEAR  it_descript.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'LTXT'.
        it_longtext-text_line      = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'aaaaaaaaaaaaaaa'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'bbbbbbbbbbbb'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'cccccccccccccccc'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      call BAPI-function in this system
        CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
          TABLES
            ct_data     = ct_data
            ct_datax    = ct_datax
            it_descript = it_descript
            it_longtext = it_longtext
            return      = return
          EXCEPTIONS
            OTHERS      = 1.
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          WRITE : 'Successful'.
        ENDIF.
        IF NOT return IS INITIAL.
          LOOP AT return.
            IF return-type = 'A' OR return-type = 'E'.
              WRITE : 'Error'.
            ENDIF.
          ENDLOOP.
        ENDIF.
        REFRESH  return.
      ENDLOOP.
    Regards
    SUrendar

Maybe you are looking for

  • How to round off quantity in inventory

    Hi, How to avoid decimal places for PC(Piece) in the goods movement transactions..  I have given 0 decimal places in CUNI transaction. It is working properly for Production Order during Conrimation but it is not working in Inventory transactions like

  • Document management

    I work on a large cfmx application that stores documents. The number one requested improvement is that users be able to open a word document, make changes and have them save directly to the server without having to re-upload. I am told Sharepoint Por

  • How can I get this to work with NAT?

    Hi Masters,  I need to add a route-map to a static NAT but the option seems to be available only if using inside/outside NAT, not if using enable NAT.  This is a CISCO1921/K9 running 15.2(4)M6 Here's what I mean:  R2(config)#ip nat inside source stat

  • IDoc User exit: OREDRS (Basic Type ORDERS05)

    hi experts, I need to enhance FM u201CIDOC_INPUT_ORDERSu201D. So I had created the new project ZENHVEDA via tcode CMOD and under this new project, I assigned the VEDA0001 enhancement. I wanted to enhance Function exit EXIT_SAPLVEDA_001 (INCLUDE ZXVED

  • Zen Vision:M and Album Art

    So I know it has album art and I should be happy about, and I am. But I wish I could zoom in! Has anyone found a way, or is there a hack! Please do tell?