Term
Which of the following graphic format file types will the Flash Builder compiler correctly parse? .fxg .psd .ai .fla |
|
Definition
|
|
Term
| What can go in fx:Declarations? |
|
Definition
| non-visual children of the application |
|
|
Term
| Where do non-visual declarations such as RemoteObject, WebService, and HTTPService belong? |
|
Definition
|
|
Term
| where does one define declarative graphics? |
|
Definition
|
|
Term
| How do you control layout? E.G. vertical, horizontal? |
|
Definition
s:layout tag. For example: s:layout> s:VerticalLayout/> /s:layout> |
|
|
Term
| Why are states sooo much better in Flex 4? |
|
Definition
1) All children exist all the time... so you can access children anytime 2) Components properties can be defined based on state name. For example, if you have a state called "Blue" and another called "Red", your label's width could change like so:
Label Red.width="20" Blue.width="30" /> |
|
|
Term
| In the past, a base view state had to be defined explicitly by setting a currentState attribute... How do you define a default state in Flex 4? |
|
Definition
| The first defined state is the default. |
|
|
Term
| no more AddChild and RemoveChild classes from Flex 3 States... how do you accomplish this in Flex 4? |
|
Definition
| Use the includeIn and excludeFrom MXML tag attributes in each tag in the document. |
|
|
Term
| In Flex 4 states, SetProperty and SetStyle classes, as well as the SetEventHandler class, have been replaced with..? |
|
Definition
| Individual propertyName. = "" tag attributes |
|
|
Term
| How would you change a Button's click action per state, given that there are two states: formSubmit and defaultState..? |
|
Definition
click.defaultState="formHandler()" click.formSubmit="currentState='defaultState'" |
|
|
Term
| In Flex 4, what is the tag attribute that selects which states an object should appear in? |
|
Definition
| Include in: includeIn="defaultState". |
|
|
Term
| To use type selectors in CSS (e.g. Button {}), what new thing is required for this to work? |
|
Definition
A Namespace: mx:style> @namespace "http://www.adobe.com/2006/mxml";
/mx:Style> |
|
|