Skip to content →

Month: November 2008

Distribution Provisioning Profile not showing up

I recently spent about 2 hours trying to get my Distribution Provisioning Profile to show up. I followed the instructions and did everything, but still it would not show up.

Then I came across this thread:

The first suggestion was to create a new project. I created a new project and my Distribution Provisioning profile appeared in it. Then I went back to my main project and it appeared there too. Problem solved!

Comments closed

Adobe Flex ComboBox Cell Padding

Recently I was trying to figure out how to make the padding in the cells of a <mx:comboBox> smaller than the default. This proved to be much harder than I thought. But I eventually found a solution.

Here is what the default looks like:

Here is the code I came up with:

<mx:Script xmlns:mx="">
import mx.controls.Alert;
import mx.core.Application;
public var app:* = Application( Application.application );
private function comboBox_open(evt:DropdownEvent):void {
evt.currentTarget.dropdown.variableRowHeight = true;
<mx:ComboBox id=”myComboBox” dataProvider=”{mx.core.Application.application.bbapp.cityXML}” labelField=”NAME”
close=”app.closeHandler(event)” cornerRadius=”0? dropdownStyleName=”gameSelectBox” visible=”false” fontSize=”12? open=”comboBox_open(event);”>
<mx:Label text=”{data.NAME}” paddingTop=”-5? paddingBottom=”-5?/>

And here is the final output:


One Comment