Learn how to a build a cloud-first strategyRegister Now


How does mxml work

Posted on 2011-05-13
Medium Priority
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

dgofman earned 2000 total points
ID: 35752707
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

ID: 35752915
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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Sometimes MS breaks things just for fun... In Access 2003, only the maximum allowable SQL string length could cause problems as you built a recordset. Now, when using string data in a WHERE clause, the 'identifier' maximum is 128 characters. So, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

864 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