CSS type selectors are not supported in components ?

If I put an <mx:Style> section in an MXML-based
component, I get a number of warnings stating
CSS type selectors are not supported in components. That
said, the styles appear to actually work, and I'd sure
like them to work. Is this a bug in the compiler, or is this
truly not supported?

Hi!
I have the same problem when I apply a style to a Panel, I have a Canvas component and contains a Panel inside, but I fail to apply the css.
I call the css from the main file main.mxml, but when I load the component will give a warning message and does not apply the style. "CSS type selectors are not supported in components: 'Panel' "
This is file main.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
      xmlns:comp="components.*" backgroundAlpha="0" horizontalScrollPolicy="off">
     <mx:LinkBar dataProvider="myComp" horizontalCenter="0" y="380"/>
     <mx:ViewStack id="myComp" horizontalCenter="0" resizeToContent="true">
           <comp:component_01 height="100%" width="85%" label="HOME"/>
           <comp:component_02 height="100%" width="85%" label="GALLERY"/>
           <comp:component_03 height="100%" width="85%" label="TECHNOLOGY"/>
      </mx:ViewStack>
     <mx:Style source="skin_prototype02.css"/>
</mx:Application>
File component_02.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%">
      <mx:Panel title="Photo gallery" x="10" y="10" width="575"
            horizontalScrollPolicy="off"> 
      </mx:Panel>
</mx:Canvas>

Similar Messages

  • "there was a problem connecting to the server. URLS with the type 'file' are not supported"

    i have a new macbook pro 13" and every 6 minutes or so it pops up a window that says "there was a problem connecting to the server. URLS with the type 'file' are not supported". it never seems to cause any problems but is supremely annoying. how can i make this come to an end?

    I tried someone's solution of taking another external disc and plugging it in, then when it showed up and time machine asked if I wanted to use it or that someone might be trying to trick me, I chose not use it.  Then I  shut down my computer, plugged in the original Lacie, and rebooted the computer and all seems to work fine now-- the Lacie appears on my desktop and all seeems to be in working order. Who knows why or anything else,- as weird as it gets- but for now things seemed fixed--- maybe others can try this too-- it worked for me so far.

  • "There was a problem connecting to the server.   URLs with the type "file:" are not supported.  Why?  What can be done to eliminate it?

    After upgrading to Mountain Lion, I repeatedly get this message:  "There was a problem connecting to the server.   URLs with the type "file:" are not supported. 
    Why? 
    What can be done to eliminate it?

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • Message - There was a problem connecting to the server. URLs with the type "file:" are not supported

    new macbook pro receving this message: There was a problem connecting to the server. URLs with the type "file:" are not supported. What is causing this and how do

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • There was a problem connecting to the server. URLs with the type "file:" are not supported. OK

    I have just upgraded to Mountain Lion from Leopard, but now I keep getting this message when I open some web-pages and every time I wake the Mac up after going to sleep. For some odd reason I get it in Swedish sometimes (installed language) and some times in English...
    There was a problem connecting to the server.
    URLs with the type "file:" are not supported.
    OK
    What is this and how can I get rid of it. I use Firefox and have updated to latest version.

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • Since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    A Davey1 wrote:
    Not a nice answer!
    Posting "Check the 'More like this'" area and not simply providing the answer is a great way to make these groups worthless.
    You're ignoring context.  On the old Apple Discussion Groups I never posted replies like that, instead giving people relatively detailed answers.  The new Apple Support Communities made things worse by introducing certain inefficiencies.  Then came Lion.  The flood of messages that came with Lion required a painful choice for any of the people who had been helping here: (1) Give quality responses to a few questions and ignore the rest.  (2) When applicable, give a brief answer such as the one that you found objectionable.  (3) Give up all the other normal activities of life and spend full time trying to answer questions here.
    People who needed help with Lion problems seemed to have trouble discovering existing message threads that described how to solve their problems.  I never posted the suggestion of "Check the 'More like this' area" without verifying that the help that the poster needed could be found there.  Even doing that, what I posted saved me time that I could use to help someone else.
    The people helping here are all volunteers.  None of them is being paid for the time they spend here.  They all have a life outside of Apple Support Communities.  It's arrogant of you to demand that people helping here spend more time than they already do.

  • I'm being shown an error pop-up message periodically saying "There was a problem connecting to the server. URLs with the type 'file:' are not supported." I have a brand new MacBook Pro, and at no time am I actually having trouble connecting to the server.

    I'm being shown an error pop-up message periodically saying "There was a problem connecting to the server. URLs with the type 'file:' are not supported." I have a brand new MacBook Pro, and at no time am I actually having trouble connecting to the server, but this message continues to pop-up several times a day at random intervals. Is there something I'm doing wrong? Or is my computer just having a glitch? Other than that, and a mildly sticking caps lock button, it's working perfectly.
    Thank you!

    Alright it didn't solve it. Any other suggestions?
    I haven't suggested a solution yet. I want to know whether you still get the messages while Time Machine is disabled. Do you? If so, try any or all of the solutions proposed in this thread:
    There was a Problem connecting to the...: Apple Support Communities

  • I keep getting an error message saying "There was a problem connecting to the server.  URLs with the type "file:" are not supported."  Can someone help me get rid of it.

    I keep getting an error message saying "There was a problem connecting to the server.  URLs with the type "file:" are not supported"  Can someone help me locate and get rid of this error.

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • My Mac suddenly started getting a pop up message saying "There was a problem conecting to the server. URLs with the type "file" are not supported." My internet is working fine,no problem connecting. I just keep getting this message which I click off .

    My Mac suddenly started getting a pop up message saying "There was a problem conecting to the server. URLs with the type "file" are not supported." My internet is working fine,no problem connecting. I just keep getting this message which I click off and continue working.

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • Since updating to mountain line, error message "There was a problem connecting to the server. URLs with the type "file:" are not supported" keeps popping up

    Since updating to Mountain Lion in the last week, an error message keeps popping up. The graphic is the button with 3 stick men holding hands and the message is "There was a problem connecting to the server. URLs with the type "file:" are not supported". Any solutions found?

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • After loading lion, I get an error message "There was a problem connecting with the server.  URL's with the type "file" are not supported."

    After loading Lion, I have been getting an error message "There was a problem connecting to the server.  URLs with the type "file:" are not supported."  There does not seem to be any actual problem with internet connectivity, but it is persistent and annoying.  Any idea of its cause and treatment?

    Take a look at this link, https://discussions.apple.com/message/16156214#16156214

  • Error message: URL's with the type "file:" are not supported.  I get this pop-up twice each time I enter Safari and Mail.

    Everytime I go into Mail and/or Safari, I receive a pop-up the states "There was a problem connecting to the server.  URL's with the type "File:" are not supported.  The pop-up comes up twice each time and I have to click "ok" to close them.  Only started after install of OS Lion 10.7.  Any one else have this and is there a solution.  It is just plain irrating that is does this each time I check my mail or go on the internet.  Thanks!

    That's interesting. I bet that helps other Safari users! 

  • I keep getting an error message there was a problem connecting to server.  URLs with the type "file" are not supported

    I keep getting an error messahe that says
    There was a problem connecting to the server.  URLs with type "file" are not supported
    Any ideas?

    Actually, in my case, turning off Time Machine didn't work. I had the same problem. We definitely traced it to Time Machine. The "Fix" was this: plugged in and designated different external HD as Backup volume. Then unplugged it and plugged in the original disc (after testing in in a different machine) and now the computer recognized it and error message stopped popping up. The Apple tech was as puzzled as I as to why this worked, but perhaps, forcing the machine to re-recognize it (or maybe even, gettting it recognized by a different machine first) somehow worked some magic.

  • I upgraded to Lion yesterday. Now I keep getting and error message: there was a problem connecting to the server. URLs with type "file:" are not supported. What server?

    I upgraded to Lion yesterday. Now I keep getting and error message: there was a problem connecting to the server. URLs with type "file:" are not supported. What server? How do I get rid of this.

    Take a look at this link, https://discussions.apple.com/message/16156214#16156214

  • Error message pops up:  url files of type "file:" are not supported.  How can I get rid of this?

    Error message pops up:  url files of type "file:" are not supported.  How can I get rid of this?

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

Maybe you are looking for

  • Why is it that when i try to open up a game it opens the app for 10 seconds then quits? on my mackbook air.

    so when i open an app downloaded from the app store the game opens for about 10 seconds then quits?

  • E50 number to contact name matching bug?

    Hello, I just got an E50 (RM-170, software V 07.36.00).  It seems to have a very irritating bug in the way numbers are matched to contacts in the 'recent calls' lists: - an entry in the list will show the contact name *only if* the number appears onl

  • Enterprise manager ADDM and AWR

    I'm currently using Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 What is the licensing concept of AWR? Is that built-in by default to the above release or does it requrie any pricing? I would like to use the ADDM feature for monitoring p

  • Boot Camp  - Windows won't install

    Hi, I'm running OS X 10.10.2 on my iMac 7.1 (2.4 GHz Intel Core 2 Duo, 4 GB 667 MHz DDR2 SDRAM). On completion of Boot Camp partition Windows 7 DVD won't install - I get a black screen prompting me to select boot mode. However, keyboard and mouse are

  • Serial number status problem at cancellation of GR

    Hi, System is giving error message  at the time of cancellation GR---->"SERIAL NUMBER STATUS CAVL IS ACTIVE". I have assigned the same serial number,which i had used at the time of goods receipt. please provide me the solution for this serial number