Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How does mxml work

Posted on 2011-05-13
2
Medium Priority
?
346 Views
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.
http://aws.amazon.com/code/1092?_encoding=UTF8&queryArg=searchQuery&x=10&fromSearch=1&y=11&searchPath=all&searchQuery=flash
0
Comment
Question by:petersego
2 Comments
 
LVL 29

Accepted Solution

by:
dgofman earned 2000 total points
ID: 35752707
Scripts are working fine.
You need to download and install Flash Builder

https://www.adobe.com/cfusion/tdrc/index.cfm?product=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
0
 

Author Comment

by:petersego
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?
0

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