[svn:fx-trunk] 6284: SimpleText and RichText now have a static mx_internal backgroundColor: Object property for debugging, like RichEditableText has had.

Revision: 6284
Author:   [email protected]
Date:     2009-04-27 10:37:28 -0700 (Mon, 27 Apr 2009)
Log Message:

I finally found how to set a default skin to a custom component so that users of my component will not have to set again the skinClass value of my component.
You have to create a defaults.css file at the root of your library and tell the compiler to take it into account.
The remaining problem is about the compiler. There are some steps before success and they are a bit mysterious/unclear....
I found 2 or 3 blog articles explaining those steps but the compiler arguments to use are all differents in each article...
Here are the links I found:
http://www.unitedmindset.com/jonbcampos/2010/05/12/creating-custom-spark-components/
http://www.betadesigns.co.uk/Blog/2010/05/14/default-skin-for-custom-flashbuilder-componen ts/
http://flexdevtips.blogspot.com/2009/06/default-stylesheet-in-swc-flex-library.html
Following the first article guidelines has been successful for me but I'm not marking this topic as Resolved because I'd like some answers about this whole thing...

Similar Messages

  • [svn:fx-trunk] 12057: Label (and RichText) will show text as tooltip if truncated and new showTruncationTip flag is set to true  ( defaults to false because Label is often used in skin that have their own tooltip logic ).

    Revision: 12057
    Revision: 12057
    Author:   [email protected]
    Date:     2009-11-20 11:22:05 -0800 (Fri, 20 Nov 2009)
    Log Message:
    Label (and RichText) will show text as tooltip if truncated and new showTruncationTip flag is set to true (defaults to false because Label is often used in skin that have their own tooltip logic).
    QE Notes: New API (showTruncationTip)
    Doc Notes: New API (showTruncationTip)
    Bugs: SDK-23639
    Reviewer: Gordon
    API Change: Yes
    Is noteworthy for integration: Yes
    tests: checkintests mustella/gumbo/components/Button mustella/gumbo/components/Label
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23639
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as

    Hi blabla12345,
    (untested and without warranty)
    replace this line:
    const sSaveCUBE = "CUBE";
    with this:
    const sSaveCUBE = "cube";
    Have fun

  • How do I put iPhoto in the dock when I can't drag it there? I've had iPhoto problems before, and I now have 6 iPhoto libraries with up to 5k in each. Recently had motherboard replaced and have 10.6.8.

    Can I have too many photos in an iPhoto library?

    Launch iPhoto by double clicking it in the applications folder. While it running right click on it in the Dock and select keep in Dock
    As to number of photos. 250,000 or more in an iPhoto library
    LN

  • [svn] 2622: TextBox and TextGraphic now call applyDisplayObjectProperties() at the end of their draw() method, like all other GraphicElements.

    Revision: 2622
    Author: [email protected]
    Date: 2008-07-24 16:13:32 -0700 (Thu, 24 Jul 2008)
    Log Message:
    TextBox and TextGraphic now call applyDisplayObjectProperties() at the end of their draw() method, like all other GraphicElements. This method handles setting the visibiliy of the GraphicElement's DisplayObject, among other things.
    Note: We should make it unnecessary for each GraphicElement subclass to have to call applyDisplayObjectProperties() at the end of draw(). The GraphicElement base class should ensure that this gets called at the appropriate time.
    Group now calls draw() on graphic elements even if they are invisible, because otherwise applyDisplayObjectProperties() never gets called and the TextLines stay visible. Group was assuming that the only visible stuff in a GraphicElement is drawn with Graphics calls, which isn't the case.
    This change is OK for now because every GraphicElement currently has its own DisplayObject, but it will need to be rethought when GraphicElements share DisplayObjects.
    Reviewer: Chet
    Bug: MXMLG-206 ("Setting visible property on TextGraphic does nothing")
    QA: Peter, please add a Mustella test case for the 'visible property of TextBox and TextGraphic
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/MXMLG-206
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as

    Changes for spine–aligned head:
    public class StickManTool extends JPanel
        public StickManTool ()
            limbs [16] = new Limb (lankle, lfoot, 1);
            head = new Head2D (limbs[0]);
        protected void paintComponent (Graphics g)
            head.draw(graphics);
        private void updateLimbs (Point start, Point end)
            head.setPosition();
    class Head2D extends Ellipse2D.Double
        public static double width = 30;   // width of head
        public static double height = 40;  //height of head
        Point atlas;
        Point pelvis;
        private AffineTransform xform = new AffineTransform();
        public Head2D(Limb spine)
            super ();
            atlas = spine.movingJoint;
            pelvis = spine.fixedJoint;
            setPosition();
        public void setPosition()
            // Find angle of spine.
            double dy = atlas.y - pelvis.y;
            double dx = atlas.x - pelvis.x;
            double theta = Math.atan2(dy, dx);
            //System.out.printf("theta = %.1f%n", Math.toDegrees(theta));
            // Find center of head as extension along spine from atlas.
            double cx = atlas.x + (height/2)*Math.cos(theta);
            double cy = atlas.y + (height/2)*Math.sin(theta);
            // Move to origin of head.
            xform.setToTranslation(cx-width/2, cy-height/2);
            // Rotate head about its center.
            xform.rotate(theta+Math.PI/2, width/2, height/2);
        public void draw(Graphics2D g2)
            g2.draw(xform.createTransformedShape(this));
        public double getWidth () { return width; }
        public double getHeight () { return height; }
        public void setWidth (double widthIn) { width = widthIn; }
        public void setHeight (double heightIn) { height = heightIn; }
    }

  • 1. I have an iPod which has purchases synced with I tunes with an apple ID. I now have an iPad with a new ID for cloud. I have cloud storage capacity of 5gb which came with the iPad. How can I use one ID and store my existing music in cloud?

    1. I have an iPod which has purchases synced with I tunes with an apple ID. I now have an iPad with a new ID for cloud. I have cloud storage capacity of 5gb which came with the iPad. How can I use one ID and store my existing music in cloud?

    HI Frostyfrog
    CHeck out iTunes Match which has an annual fee of £21 or thereabouts. You can store a maximum of 25,000 songs there and they all become available on your other kit, iPhone, iPad and iPod. I know it works as I have over 23000 songs uploaded of which only a few we're bought through iTunes.
    it works by comparing your music to the whole iTunes music dadata base so you access the same tunes that you could get from iTunes. If you have obscure stuff, it uploads your own music to the cloud as a copy.
    I Find it incredible that on my iPhone with its 16gb memory I can view almost 200 gb of music (ie my 23000 songs) and play any of them. Anything I add to iTunes becomes available via the cloud fairly quickly from a few minutes or a little longer if adding a lot.
    The first time you use it it will take quite a while to match your music if you have a lot, but after that it is all automatic. Read the stuff on the apple site. Your PC needs to be at least running Vista. I recommend it and at less than 50p a week it's good value.
    Good luck

  • My old laptop broke beyond repair and I now have a new laptop. How can I import my itunes account to a new computer?

    My old laptop broke beyond repair and I now have a new laptop. How can I import my itunes account to a new compute

    Try buttons are meant for Trial installations
    Note : Make sure you had Signed in to Creative Cloud using Email ID using which you had purchased subscription .
    If you had signed in with valid email ID already , Sign out from Creative Cloud and Sign in.
    https://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    Still you are getting Try buttons??
    1) Right click on the Finder icon on dock and select "Go-To Folder" option.
    2) You will get a text box, type-in below mentioned command and then hit 'Return' key.
    /etc
    3) It will open the etc folder, please look for file named "hosts" and copy the same to Desktop screen.
    4)Double click on Hosts file , it will open with TextEdit .
    Let me know whether you can see any Adobe entries like 127.0.01 activate.adobe.com ...xxxxxx.adobe.com.....etc???

  • TS2972 My computer crashed and the hard drive is no longer.  I have purchased a new laptop but now have no access to my old itunes library.  My laptop has created a new itunes account with NOTHING in it?? My Itouch has everything loaded but it wont sync

    My computer crashed and the hard drive is no longer.  I have purchased a new laptop but now have no access to my old itunes library.  My laptop has created a new itunes account with NOTHING in it?? My Itouch has everything loaded but it wont sync with this itunes account....HELP

    - Transfer iTunes purchases:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    - Transfer other music by using a third-party program like one of those discussed here:
    newer copy
    - Connect the iPod to the computer and make a backup by right clicking on the iPod under Devices in iTunes and select Back Up
    - Restore the iPod from that backup
    Note that the iPod backup that iTunes makes does not included synced media like apps and music.

  • Installed iTunes on my laptop Windows 7 64 bit and I now have the following problems 1) iTunes volume won't adjust with the laptop volume control, only within iTunes, 2) playback doesn't work unless I click play twice and 3) the iTunes Store won't open

    Installed iTunes on my laptop Windows 7 64 bit and I now have the following problems 1) iTunes volume won't adjust with the laptop volume control, only within iTunes, 2) playback doesn't work unless I click play twice and 3) the iTunes Store won't open

    Installed iTunes on my laptop Windows 7 64 bit and I now have the following problems 1) iTunes volume won't adjust with the laptop volume control, only within iTunes, 2) playback doesn't work unless I click play twice and 3) the iTunes Store won't open

  • My hard drive crashed and I now have a new one installed. I have lost my purchased Adobe Creative Suite 6 Design Standard MAC OS. I have the reciept and product; can I reinstall it into the computer?

    My hard drive crashed and I now have a new one installed. I have lost my purchased Adobe Creative Suite 6 Design Standard MAC OS. I have the receipt and product; can I reinstall it into the computer?

    Download CS6 products
    Mylenium

  • My iphone 4 was stolen and I now have a replacement and I'm tryin g to get all my music back on that was stored on an external hardrive. It has shown up in Itunes as aprevious library but when I try to sync it up to my new phone it won't do it.

    My iphone 4 was stolen and I now have a replacement. Luckily my music was stored on an external hard drive and when I transferred it to itunes it came up as previous library. I've been trying to sync it to my new phone but it's not working. All my apps etc have synced but the music won't. What can I do?

    Click: Restoring your iTunes Library backup (from an external drive) here >  iTunes: Back up your iTunes library by copying to an external hard drive
    BTW, if you are a resident of the U.S, have iTunes 10.3 or later, and iOS 4.3.3, you can re download your iTunes purchases for free.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I purchased photoshop 9 previously and I now have a new laptop that does not have a 'disk' tray. Where do I download this from to put on my new laptop? I went to the download section and there is no download for English

    I purchased photoshop 9 previously and I now have a new laptop that does not have a 'disk' tray. Where do I download this from to put on my new laptop? I went to the download section and there is no download for English

    I assume you mean Photoshop Elements 9.
    Download from: Download Photoshop Elements products | 9, 8, 7

  • HT201441 Hi Just bought ipad 2 off someone they showed it to me working and the removed it from icloud and reset. now have started to setup at home and it is asking for an apple id he or i do not know what should i do ?

    Hi Just bought ipad 2 off someone they showed it to me working and the removed it from icloud and reset. now have started to setup at home and it is asking for an apple id he or i do not know what should i do ?

    Restore the Device as New.  See Section 6 here... http://support.apple.com/kb/HT4137
    Note:
    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818

  • Help!   I just updated my I phone and I now have over 4,000 emails.  What happened and how do I delete them?

    Help!   I just updated my I phone and I now have over 4,000 emails.  What happened and how do I delete them?

    Aren't they in your iTunes library?  If so, sync them back to your phone.  If not, redownload them (http://support.apple.com/kb/HT2519).

  • My kids have been playing on my iMac and I now have a black box on the screen that describes where the cursor is or what I am typing etc.

    My kids have been playing on my iMac and I now have a black box on the screen that describes where the cursor is or what I am typing etc.
    Can anyone help me with removing this box
    I thought it might be subtitles but not sure?

    How about asking your kids? 
    Care to share which OS you are using? 

  • I restored my ipod and i now have 35.66GB of other data on my ipod and it only sinked my music that i bought on itunes how do i fix this?

    I restored my ipod and i now have 35.66GB of other data on my ipod and it only sinked my music that i bought on itunes how do i fix this? i have an ipod 5 with ios 7.1.2. ive tried restarting my computer restarting my ipod and restoring it. i also tried to delete apps nothing works.

    This happened to me with the same device. I wouldn't worry about having it just say other as that is just information, if you really need to know what is using the most of your device's storage to to Settings > General > Usage > Manage Storage and that will tell you what apps are using in terms of your storage. Besides that, "other" is just iTunes knowing that there is information, how much there is, just not what it is. So syncing your device a few times and letting it stay plugged in should allow iTunes to recognize what information is on your iPod. Hope I could help!

Maybe you are looking for

  • BEx report issue on setting offset value

    Friends, I have got a Bex reporting requirement as follows. Given a Calendar week I have to show data for 5 Key figures for the next 3 calendar weeks.  For ex: if I enter 05/2006 I have to show data for 05/2006, 06/2006 and 07/2006.  I thoght of usin

  • BW upgrade 3.0 to 3.5

    HI all, we are about to upgrade a BW project from 3.0 to 3.5. could any one explain me the upgrade procedue. and pl mail me if u have any extact procedure documents and live issues. Thanks in advance. kiran [email protected]

  • Error message says cannot open because of missing ssl3.dll

    Computer was working fine yestrday, but when I booted up today an error messge said Firefox would not open because my computer was missing ssl3.dll. Where do I find, replace and install this .dll?

  • [Gnome 3] Terminal notification window [solved]

    Hi guys, I already searched with dconf-editor but didn't find any entry to disable the notification window whilst trying to close a gnome-terminal when used with the root account. Any approaches? Regards Last edited by orschiro (2011-09-04 19:35:13)

  • Forgot passcode, have never synced and don't have Find my iPhone set up...

    So my daughter has only had her phone for about 2.5 weeks now.  Due to her brother pestering her to want to know her passcode, she's changed it multiple times and now cannot recall what she entered.  It's completely locked now.  It has never been syn