How does mxml work

Posted on 2011-05-13
Last Modified: 2012-05-11
I have a sample-script, that I expect to work by simply uploading it to a server, but it only consist of an mxml-file and two .as-files in folders. I have never been able to understand flex. What am I missing. How do I see it live in a browser. The script could be found here.
Question by:petersego
    LVL 29

    Accepted Solution

    Scripts are working fine.
    You need to download and install Flash Builder

    Create a new Project File->New->Flex Project
    Give a project name and very important for you scripts pick "Use specific SDK" ->Select 3.5
    Click Finish button

    Now copy files from ZIP under you project src directory
    Right click on S3PostSampleTest.mxml file and select "Set as Default Application"
    Right click on the same file again and pick Run As->Default Application

    Author Comment

    Thanks, at last I suddenly understand how Flex is working, but something is either wrong with the files or - more probably - my attempts.
    First of all I copied the entire folder S3PostSample to the src-directory.
    After setting S3PostSampleTest.mxml as deault I tred to right-click again, but did not find Run As->Default Application.
    Set as Default Application is still there, just below Run Application.
    When I try to do that, I get an error saying Error exist in project. When I continue anyway, I get an error saying File not found: .../bin-debug/S3PostSampleTest.html

    I also notice that there is small crosses placed on some of the files - indicating some kind of errors.

    When you wrote that scripts are working fine, was that because you tested it?

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    AdvancedDataGrid 4 337
    Adobe Error Message - kenlly.dll 7 665
    AS3 auto playing child movie clips? 2 627
    Flex AS3 image Compression 2 658
    First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now