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 8330283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:04:47+00:00 2026-06-09T02:04:47+00:00

I am running Flex Builder on a Mac using the Flex3.6A compiler. I have

  • 0

I am running Flex Builder on a Mac using the Flex3.6A compiler. I have been trying to use a Date object, but it keeps giving me errors, even when I run the most basic files from the Flex documentation. For example, the following fails:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600" creationComplete="init()">
<mx:Script>
    <![CDATA[
        private function init():void{
            var now:Date = new Date();
            trace(now)
        }
    ]]>
</mx:Script>
</mx:Application>

I’ve never before had a problem like this on the Mac. Am I running the wrong compier?

  • 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-09T02:04:48+00:00Added an answer on June 9, 2026 at 2:04 am

    Insofar as using different versions of the compiler itself with another version of the SDK, this isn’t necessarily a problem with regard to Spark or MX components, the newer compiler should be backwards compatible, for example I made a new Flex 4.6.0 project and changed the base class of the main.mxml file to mx:Application and it compiles and runs fine. One obvious change is that the default theme looks more like the default spark theme instead of the old halo, though I would guess you could manually pull in the old style definitions, or in your case using the older SDK swcs you would probably get this automatically.

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
                    xmlns:s="library://ns.adobe.com/flex/spark" 
                    xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <s:Label text="Just a test"/>
    </mx:Application>
    

    Please post your particular errors, to get more detailed feedback. Generally speaking it’s probably best to use the same version of the compiler that came with the SDK since that’s probably what everything was tested with, but for the most part I would guess the compilers are backwards compatible, the syntax of MXML and AS3 haven’t really changed only extensions via the spark and fx namespace have been added, but I don’t think anything has changed drastically enough to break backwards compatibility (that is if compiler is newer than SDK source I believe it will work but not vice versa, particularly due to the playerglobal.swc/flash player version changes utilized by the framework).

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

Sidebar

Related Questions

I've got Flex Builder 3 running on a Mac. I'm using the Flex 3.2
Using Flex Builder 4.5 with rails running on localhost on a brand new MacBook
I have an application running on flex and php, connected using amfphp, i added
I develop Flex-Java applications which is running under Apache Tomcat. I use Flex Builder
Using Flash Builder 4 (with 4.1 flex). Trying to create a state change after
I'm a complete Flex/Flash noob, running Adobe Flash Builder 4 Beta 2. I have
Im using flex 4 While running a application i got this error Flash Builder
I have been experiencing a strange issue in Flex Builder 3 where certain dialogs
I am trying to use trace() in flash builder 4 - but it doesn't
I'm currently trying to get a Tomcat server I have running in Eclipse on

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.