History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-18517
Type: New Feature New Feature
Status: Open Open
Assignee: Maxim Mossienko
Reporter: Markus Halttunen
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Add support for creating ActionScript 3 project without flex

Created: 23 Jun 08 18:03   Updated: 08 Sep 08 20:06
Component/s: Flex Support

Build: 8,280
Severity: Medium


 Description  « Hide
Basically, I'd like to have a project where I don't need to define any MXML or that doesn't need to include the Flex component libraries. I simply choose the main class (extending a Sprite) that I have implemented in AS, and that class will be added on the stage as a the root object. Please try the following in FlexBuilder (you hopefully have at least one license for it and if you don't, there is a 60 day evaluation license available):

1) Go to File / New / ActionScript Project
2) Enter "Test" as project name and click "Finish"
3) The project with "Test.as" will be created. Implement some code, e.g:
public function Test() { var textField : TextField = new TextField(); textField.text = "Hello World!"; addChild(textField); }
4) Go to Run / Run Test

You should see "Hello World!" on the screen. No MXML or Flex components involved.



 All   Comments   Work Log   Change History      Sort Order:
Taras Tielkes - 24 Jun 08 12:55
You can do this with IDEA. Just download the (free) Flex SDK and configure it in the Flex facet.

Markus Halttunen - 02 Jul 08 22:46
Taras, I'm not sure you're right. Could you please provide step by step instructions (like the ones in the description) on how to do it with the latest EAP?

Henri Karapuu - 08 Sep 08 19:25
I think this is invalid issue, there is no problem in creating ActionScript-only project, works exactly same as having MXML as the main entry point.

Markus Halttunen - 08 Sep 08 20:06
Henri, you may be right. Perhaps this has changed since I created the issue or I'm simply missing some instructions. Would you be able to write the steps required to do it like I did for the Flex Builder above?