
Use Content Assist 189
When you begin entering an MXML tag, code hints are immediately displayed, as shown
here:
2. Type the word panel and you’ll see that the list of options is reduced to display only those
that contain the characters you have typed. Once you’ve entered the word panel, the Panel
component is the only option displayed and you can press Enter to add it to your code.
3. To add attributes to the Panel component, press the Spacebar and code hints are once again
displayed. The list of options is limited to those that can be added to the Panel component.
4. Enter the following line of code using the Content Assist feature:
<mx:Panel width="250" height="250" layout="absolute" >
When you enter the closing bracket, the closing tag is automatically added to your code:
<mx:Panel width="250" height="250" layout="absolute" >
</mx:Panel>
Content Assist is available when editing MXML, ActionScript, and CSS code.
Comentários a estes Manuais