
Insert and position controls 137
The layout should look like the following example in Design mode:
7. Switch to the editor’s Source mode by clicking the Source button in the document toolbar.
The ListControl.mxml file should contain the following MXML code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Panel x="10" y="10" width="350" height="200" title="Rate Customer
Service">
<mx:ComboBox id="cbxRating" x="20" y="20" width="100"></
mx:ComboBox>
<mx:Button x="140" y="20" label="Send"/>
</mx:Panel>
</mx:Application>
8.
Save the file, wait until Flex Builder finishes compiling the application, and then click the
Run button in the toolbar. If you’re using the plug-in configuration of Flex Builder, select
Run > Run As > Flex Application.
Kommentare zu diesen Handbüchern