How to create a button and assign a value to a text box within it in actionscript?

Can we create an instance of a button from the library dynamically?

If you have already a button Symbol in your Library with the linkageName buttonSymbol just attach the button on Stage and asign values to it via the button’s name.

The full code:

this.attachMovie(“buttonSymbol”, “btn”, 1);
this.btn.txtField.text = “a Text”;

Continue reading “How to create a button and assign a value to a text box within it in actionscript?”

What Is Adobe/Macromedia Flex?

As a web developer you’ve often found yourself wishing there was a way to make web applications that weren’t limited to the heavy restrictions of HTML. You’ve used JavaScript to make your forms a little more intuitive with dynamic/context driven comboboxes, but to do anything more often requires heavy amounts of JavaScript and DHTML. Even if you are a pro at it, it’s extremely time consuming to make workflow interactive and user friendly. More importantly, why would you want to be spending so much time on core UI functionality when you’re getting paid to work on business logic and workflow.

Flex to Flash is like Ajax to Javascript. It’s another interface, tagg-based language, editor and approach meant to make the “Flash” people not think about Flash as a designer tool. It is Macromedia’s way of pushing Flash where the $$ are. Continue reading “What Is Adobe/Macromedia Flex?”