Skinning buttons in Spark

Hi guys,
Is this ture to say that for every button that has an icon in spark, a new skin should be created?

I threw together a quick demo of this and posted it on github.
Here you go: http://github.com/simb/IconButtonDemo
Hope that helps.
Simeon Bateman
[email protected]
Principal Instigator
PNW Rain LLC

Similar Messages

  • [svn:fx-4.x] 14327: Fix maximize/ restore button in spark chrome skin when running on AIR 2.

    Revision: 14327
    Revision: 14327
    Author:   [email protected]
    Date:     2010-02-22 08:48:05 -0800 (Mon, 22 Feb 2010)
    Log Message:
    Fix maximize/ restore button in spark chrome skin when running on AIR 2.
    Listen for the Window state change event instead of expecting the change to happen immediately.
    QE notes: None.
    Doc notes: None.
    Bugs: SDK-25303
    Reviewer: Alex
    Tests run: checkintests
    Is noteworthy for integration: No.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25303
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/airspark/src/spark/components/Window.as
        flex/sdk/branches/4.x/frameworks/projects/airspark/src/spark/components/WindowedApplicati on.as
        flex/sdk/branches/4.x/frameworks/projects/airspark/src/spark/components/windowClasses/Tit leBar.as

    Stope
    Mailing me ***
    Sent from my I phone

  • Skin Button Doesn't Appear

    I have created two skin buttons--print and e-mail. The print
    button appears when I publish the help file project to the server,
    the e-mail button does not. The e-mail button does appear in the
    View Primary Layout screen. Has anyone else ever experienced this
    problem or know of the fix?

    Resolved. Forgot to check the box in Window Properties to
    display the button.

  • How do I access flvplayback skin buttons?

    I am using a .swf that contains a flvplayback component with
    a skin set. How do I access the skin buttons and their events
    through actionscript? I see no reference to them as individual
    buttons.
    Thank You in advance for your help

    You need CC2014 for these masks.

  • Font Perso dans un skin button

    Bonjour,
    j'essaye d'utiliser une font speciale dans un skin d'un button dans un projet Flex Mobile Project. Mon skin
    <?xml version="1.0" encoding="utf-8"?>
    <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark">
      <!-- host component -->
      <fx:Metadata>
                        [HostComponent("spark.components.Button")]
      </fx:Metadata>
      <!-- states -->
      <s:states>
                        <s:State name="disabled" />
                        <s:State name="down" />
                        <s:State name="over" />
                        <s:State name="up" />
      </s:states>
      <s:Label id="labelDisplay" fontFamily="fashionista"
    />
    </s:Skin>
    Mon Main
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     applicationDPI="160"
                                   >
              <fx:Style source="Main.css"/>
      <s:VGroup>
                        <s:Label text="main menu" fontFamily="fashionista"/>
                        <s:Button skinClass="testSkin"  label="main menu"  />
      </s:VGroup>
    </s:Application>
    Mon Main.css
    /* CSS file */
    @namespace s "library://ns.adobe.com/flex/spark";
    global
      content-background-color: white;
    @font-face {
      fontFamily:"batcadf";
      src: url("/assets/fonts/batcadf.swf");
    @font-face
              fontFamily: "BATCAFDGothic";
              src: url("/assets/fonts/batcadf.ttf");
              embedAsCFF: true;
    @font-face
              fontFamily: "Helvetica";
      src: url("/assets/fonts/Helvetica.ttf");
      embedAsCFF: true;
    @font-face
              fontFamily: "HelveticaNeue LightCond";
      src: url("/assets/fonts/HelveticaNeueLightCond.ttf");
      embedAsCFF: true;
    @font-face
              fontFamily: "fashionista";
      src: url("/assets/fonts/fashionista.ttf");
      embedAsCFF: true;
    Apres plusieurs tests sur main.css, je n'arrive pas utiliser la fon dans le skin voila ce que je vois
    Merci pour tout aide
    b.

    Ca change pas grand chose malheuresement
    FXP : http://minus.com/mYfcucHVw/1f

  • Open link (PDF) in new window from WebHelp custom skin button

    This question relates to my work with FM>RH integration. But the task I'm trying to accomplish is something specifically done in RH with customization of WebHelp skins, so I'm posting in this forum. I'm running RH9 on Windows XP Pro.
    We have recently replaced WebWorks with RH and finally have the mapping files set up to generate Help from our FM source files. Celebration was short, because then we realized that our users wanted a PDF option. We haven't done any mapping to create PDFs from RH, and that seems kind of silly anyway, since we have superior PDF generation from the FM files.
    So I set about making a custom button in the header of a WebHelp skin that will link to a PDF. I accomplshed that work, but its behavior falls short of the functionality I'd like to see. Currently, you click on the button and it opens the PDF in the browser window of the Help system. I want it to open in a new window, so I can keep the experience clean for the users, separating Help and PDF. I don't know if this is possible.
    Here is where I am at. To create button I navigated to:
    Project Set-up/Skins/NEW SKIN/WebHelp Skin Editor/ Main/NEW BUTTON
    When I choose the edit icon to customize the new button, there is an option to choose Link or JavaScript. I got the PDF to open inside the Help browser by just using the Link option and specifying the PDF. I have tried to use the JavaScript option without success. My JS may be wrong, but when I choose inline JS option and place anything there, it turns all the navigation buttons to gobbledy ****. Specifying an external JS file doesn't work at all.
    Any direction or help would be appreciated.
    Thanks,
    Douglas

    I see one other shortcoming with this solution now that I've implemented it. Our Help follows the applictions through a convoluted path of development servers, amongst other strangeness with the way we deploy Help and PDF documentation. My concern is referencing a single URL/file on a server. Since we're moving things around, that doesn't really work well, we want the PDF to be with the Help system, if possible. Is there a way to reference the PDF as a relative link in the baggage files, so it will pull it from whatever server the Help system resides on without having to make changes?
    UPDATE:
    It seems if you place the PDF in the WebHelp folder and reference it as the JavaScript, the Help system automatically reats it as root folder and find it there. So, I think this is the solution to my question? However, this is a bit annoying, as it means you have to remember to manually place the file in the compiled Help system. I had earlier experimented with placing the PDF as a baggage file, but those don't seem to carry over when you compile Help. Is there any way to put the PDF in the Baggage Files and designate that it be included in compiled Help?

  • How do I print a topic using skin button?

    I have tried achieving this using the toolbarscripts01.js created by Willem Van Weeden on Peter Grainge's site. I've implemented .js in the skin for use with PDFs before, so I'm pretty sure I'm doing it right, but on click, nothing happens, when it should print. Script and instructions can be found here.
    http://www.grainge.org/pages/authoring/twisty/twisty.htm
    I'm using RH10 and outputting WebHelp.
    I should also mention that I first tried the method called Print Button for WebHelp on this page, but it didn't work either.
    http://www.grainge.org/pages/snippets/snippets.htm#print
    Has anyone else successfully created a print topic button in the skin nav bar? Any suggestions for alternatives or what I might be doing wrong?

    Neither of the scripts would be there unless they had been tried first.
    The first one has a Rh project set up that you can download. First please try that and confirm that it is working there.
    Are you testing on generated output rather than preview?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Edit WebHelp Skin Buttons?

    On the Toolbar tab in the WebHelp Skin Editor, can the
    default buttons (Contents, Index, etc.) in The Main and Nav Bar
    lists be rearranged or deleted? When I select one of these buttons,
    the delete button ( - minus button) is disabled. And there seems to
    be no way to reorder them.

    Hi dchell and welcome to our community
    When you generate WebHelp in the following manner:
    Locate the Single Source Layouts area and double-click the
    WebHelp layout
    You have options in the ensuing dialogs that allow you to
    choose whether the TOC/Index/Search/Glossary buttons appear and in
    which order.
    Cheers... Rick

  • Need Christi skin buttons in French

    Hello,
    I'm using RH7 to provide webhelp documentation both in English and in French. I've created a webhelp layout using the Christi skin. My problem is that I do not know where to find French buttons for Contents and Search buttons (Index is ok). Could someone help me find a solution to have these buttons in French? I have a SMART objective on this item (06/30/10).
    Thanks for your help.

    Hi techwriter38 and welcome to the RH community.
    You'll have to amend the skin to pick up a button image complete with the french translation. You'll have to do this yourself (e.g. using Photoshop).
    Read the RoboColum(n) for a tips, tricks and musings on the Technical Communication Suite products.
    Follow the RoboColum(n) on Twitter

  • Skin Buttons Too Large

    In the Skin, I have the buttons Contents, Index, and Search.
    I created another one called Checklists. The graphic is the perfect
    size for both this and the mouse over. However, the area around the
    button is too big (I have a screen shot). Any idea how I can fix
    this? Right now, all my buttons aren't lining up and I am loosing
    space.
    Thanks,
    Stacie

    Hi Stacie
    Is your button also using text? What I mean by this is to ask
    if when you are in the Skins Editor and you edit the button, is
    there text in the field labeled "Text"? If so, the behavior is to
    surround the button image as well as the text with what looks like
    a "Pressed In" area. If you remove the text, this should go away.
    Give that a go and see how it goes.
    Cheers... Rick

  • Programmatic Skinning Button

    I have created button inside a class. I want to skin it using
    image. I have written following line
    btn.setStyle("upSkin","img.jpg");
    But it gives error. Can some body please help me .

    This little snippet might do the trick if you are selecting from a known list that is pre-determinable.
    Esentially I cheated by floating the boolean over a picture ring and setting the BG color of the boolean to transparent.  You still can't paste a new picture into a picture ring at run-time so this may not be exactly what you are looking for.
    Jeff

  • How to modify functionality of skin buttons in Flash

    I am using Captivate 4.  I am creating some practice activities that need a Show Hint button and a Do It For Me button. I've modified 2 of the original buttons in the Coolblue skin provided by Captivate 4, and now need to modify their functionality. Here is what my modified skin looks like when I run it in my Captivate project:
    The Do it for Me button is just another Next button, so I can handle that using the same code used in the Forward button.  My problem is the Show Hint button, which should show/hide specific hidden Text Captions (that I have placed in the Captivate slides and tagged with variable names) on mouseOver/mouseOut events or onClick.
    How can I accomplish this using the button in the skin?.  I am a graphic designer and don't have a lot of programming skills.  Can one of the brilliant Flash/Captivate folks that visit this site point me in the right direction?  Any info/help will be much appreciated.
    Thanks!

    I've come up with a bit of a crazy solution but believe it will accomplish what you wish and resolve all your problems!
    The image you inserted into your first post, the one of the customized playbar you're trying to configure with Flash, create it as a jpg exactly as you wish it to appear.  Insert it at the bottom of every slide in your presentation, add click boxes around the buttons, then configure their properties to accomplish exactly what you wish.  You can even set it all up on the first slide then simply copy and paste the image and all click boxes at once to the remainder of the slides.
    For the rewind button set the click box to "go to first slide".  Set play to "continue".  Back and forward set as "jump to previous" and "jump to next" and so on...
    Everything you're trying to do is very easy within the Captivate project utilizing click boxes.  By setting it up this way it will appear as though the user is using the Flash playbar and they'll never know the difference.  Once set up, go to the project menu, skin editor, and remove the actual playback controls.
    Even your last post, asking about jumping ahead 2 slides instead of one, can easily be accomplished by setting that button/click box to "jump to slide" then entering the correct slide number.
    I know this isn't what you've asked for, but sometimes thinking outside the box is the only way to accomplish what we desire as software doesn't always work the way we'd hope!
    Hope this helps.
    randy

  • Want to Create a Skin Button that runs JavaScript

    Hi Everyone,
    I'm using RoboHelp 9.
    I found a script (see below) that creates an email and automatically inserts the URL from where the user is sending the email.
    I pasted the script directly into the HTML of a page to test it worked – and it does.
    However, I now want to add a button to a skin that runs this javascript for each page, and have no idea where to begin to get the button to run correctly. I have been able to create a button on a skin, and can see that there are javascript options but that’s as far as it goes…
    <script type="text/javascript">/*<![CDATA[*/document.write("<a href=\"mailto:[email protected]?subject=ACME%20Application%20("+document.title+")&body="+location.href+"%0A%0A"+"\">Send Feedback</a>")/*]]>*/</script>
    Thanks everyone in advance.
    Emma

    Hi Peter,
    Thanks so much for your information - it has worked perfectly!
    The only thing that wasn't obvious in the snippet information was where to actually put the script text on the Action tab. At first I pasted the script into the Inline Javascript option in the bottom section. This did nothing so I pasted the script into the OnClick action option. This worked perfectly.
    Is it okay to leave the script text in the OnClick option?
    Thanks again.
    Emma

  • Unable to add button to spark datagrid

    when i add the code and launch, i get a white screen - no errors.  I'm able to do it in the flex libraries but not spark, here is my code (top does not work so commented out)
    <s:DataGrid dataProvider="{EdsDataArray}" width="100%">
                                  <s:columns>
                                            <s:ArrayList>
                                                      <s:GridColumn dataField="id"/>
                                                      <s:GridColumn dataField="NAME"/>
                                                      <s:GridColumn headerText="Remove">
                                                                <!--s:itemRenderer>
                                                                          <fx:Component>
                                                                                    <mx:Button label="Delete" click=""/>
                                                                          </fx:Component>
                                                                </s:itemRenderer-->
                                                      </s:GridColumn>
                                            </s:ArrayList>
                                  </s:columns>
                        </s:DataGrid>
                        <mx:DataGrid id="dg" dataProvider="{EdsDataArray}" width="100%">
                        <mx:columns>
                                  <mx:DataGridColumn headerText="ID" dataField="id"/>
                                  <mx:DataGridColumn headerText="NAME" dataField="NAME"/>
                                  <mx:DataGridColumn headerText="Remove">
                                            <mx:itemRenderer>
                                                      <fx:Component>
                                                                <mx:Button label="Delete" click=""/>
                                                      </fx:Component>
                                            </mx:itemRenderer>
                                  </mx:DataGridColumn>
                        </mx:columns>
      </mx:DataGrid>

    Hi,
    Try the following to work for Spark:
    <s:GridColumn headerText="Remove" editable="false">
        <s:itemRenderer>
            <fx:Component>
                <s:GridItemRenderer>
                    <s:Button label="Delete" />                               
                </s:GridItemRenderer>
            </fx:Component>
        </s:itemRenderer>
    </s:GridColumn>

  • Custom FLVplayback skin buttons

    I have searched all over the web and have found multiple site
    with titles about customizing the FLVplayback skin. But they all
    seem to fall short when it comes to loading a developers own
    custome graphics.
    Now, I might have just simply missed the boat or I am
    overlooking the obvious. But I can't seem to find any examples or
    details about how to use my own custom graphics created in
    photoshop, and put them in place of the default graphics used in
    the Flash provided skins.
    I ma looking for someone to suggest a book on this subject or
    link to a detailed tutorial on how this is done.
    Thanks

    erm.. You just need to grab the single buttons from the
    component library and replace the graphics with your owns. It's
    also explained in the help file of Flash how to do that.
    If you need any help, let me know.

Maybe you are looking for

  • Getting Error Message "A task was canceled" while deploying solution in SharePoint 2013.

    Hi All, I am Getting below mentioned error message while trying to deploy the solution. Error occurred in deployment step 'Recycle IIS Application Pool': A task was canceled. Any help on this? Thanks!!

  • SQL Server 2012 Reporting Services, Report Manager - Page not found

    Hi all, I am working on migrating reports to a new server so we can upgrade to a new machine and to SQL Server 2012 SP2.  The machine is up and running on Windows Server 2012 and I have installed SQL Server EE 2012 SP2.  I have imported the three dat

  • Xfer iTunes playlist to GB3 w/few keystrokes...

    I wish to transfer a playlist from iTunes to GB3 with a few keystrokes. Right now I have to drag each song to the timeline. Much too time consuming. I also want each song to be staggered onto two tracks. So when I want to download to disk it will all

  • Spacewalk 2.2 released

    Hey all, We have released Spacewalk 2.2 Server for Oracle Linux on http://public-yum.oracle.com. Release Notes: Spacewalk 2.2 for Oracle® Linux 6 Upgrade instructions from 2.0: 1.2 Installing and Upgrading Spacewalk We have also released the Spacewal

  • Planned service via BAPI

    Hi, I was trying to create a service entry via BAPI_ENTRYSHEET_CREATE. It's giving error 'unplanned services text (some text) not allowed'. I am using a planned PO. How BAPI is understanding it is a unplanned service. Any field there in BAPI for this