How would this be done? if it needed to be done. For example you have a button - you need to swap it out for a diffrent button if some condition is met in some state.
Or - you populate a list (data list) based on a vector
How is this type of in line scripting handeled and done and are there examples?
So no one knows how to do this?
There are many ways to accomplish this.
Button swapping can be done with Flex states (define <s:states><s:State name="state1" /><s:State name="state2" /></s:states> and then in your button, you can specify includeIn="state2")
Or you could write ActionScript code in an fx:Script block that does a removeElement()/addElement() or toggles visibility.
Assigning data can be done in MXML using binding syntax (but you still have to assign the data in ActionScript).
P.S: The right place for questions unrelated to Flash Builder is the Flex General discussions forum.