Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8272407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T07:07:03+00:00 2026-06-08T07:07:03+00:00

I am getting a very weird error within my Flex 4 CSS file. The

  • 0

I am getting a very weird error within my Flex 4 CSS file. The problems panel within Flex is saying that the error exists on line 8 of a file that only has 6 lines. Here is the error:

1071: Syntax error: expected a definition keyword (such as function) after attribute namespace, not s.

Here is the CSS file within <project root>/src/assets/styles/pages/ReviewsStyles.css (only 6 lines):

@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";

.reviewer {

}

That’s all that this file contains. There aren’t any other files with the same class name as this stylesheet any where in the project. Oddly enough, this problem occurs no matter what name I give the stylesheet, even if the old one is deleted and re-created. Closing Flash Builder doesn’t resolve the error, and the compiled SWF throws a runtime error.

Any ideas on this one?

Thank you for your time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T07:07:04+00:00Added an answer on June 8, 2026 at 7:07 am

    Grr… ( please excuse the release of steam 😀 )

    I found out why. I was including the stylesheet in my application like this:

    <fx:Script source="../assets/styles/pages/ReviewStyles.css"/>
    

    But its not <fx:Script>, it’s <fx:Style>, and hence the weird errors that I was receiving.

    Hope that helps someone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a file that I am getting a very weird error on. The
I am getting a very weird error when using VBA in excel. I am
We are getting a very weird behavior in our development environment that is consistent
I am having a very weird issue with templates. Getting an error error: ‘traits’
I'm getting this very weird error. I call it weird because the full error
I'm getting very weird error on the page on every other refresh but NOT
I'm getting a very weird exception when trying to deploy my app on JBOSS
I notice that I am getting very poor performance for either or both inserts
I am getting a very strange error in my code. This assignment is for
I have just started getting a very strange error when using jQueryMobile for my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.