In FB there are two buttons: Source and Design. So you can switch the views.
See docs about FB there http://www.adobe.com/products/flex/features/flex_builder/
TextInput whith listeners will be like this:
private function myFunction(event:MouseEvent):void
// do something
<mx:TextInput text="Some text" click="myFunction(event)"/>
Hello Natasha, hello to all…
I am confused. I don’t want to write on mxml “language” my graphic class. I want to register variables, create new objects on runtime and so on; I don’t prefer and want to implement all this stuff on mxml language!
When I open an .mxml there are the two buttons you mention, but working on .as files, only on code you may work, no Design button is available. So, the fact is that FB doesn’t help to design .as files.
How may I design a “display container” (a graphic class) with FB ide and use it as a graphic class (as will be descendent of Sprite)?
With other words my question is: How may I use the design ability of FB working with .as code files? I hope this question is clearer.
Best regards, Dennis
In desing mode you can edit and view only .mxml files.
ok, how practical may I use the mxml (designed container) from an .as class?
As you want!
You can create a class that extend your .mxml class.
You can create objects of this class...