Package: pumpkin.ui

ScreenUtils

function createButtonWithLabelAutoFit( clip : MovieClip, label : string, onClick : EventDispatcher.EventCallback ) : void

Parameters

clip

label

onClick


Description
Create button with label and auto fit the text to the label area.