fix simple popups with more than one custom button - check for the PopupButton.CUSTOM flag within item.type and not a strict equality between PopupButton.CUSTOM and the item.type

So the callback on this works...

PopupManager.instance.showSimple("Choose!", "Mode select", [
	{ type:PopupButton.CUSTOM, text:'Custom 1' },
	{ type:PopupButton.CUSTOM + 1, text:'Custom 2' }
], handler);

...

function handler(flag) {
	trace(flag==PopupButton.CUSTOM);
	trace(flag==PopupButton.CUSTOM+1);
}
Fixed sliding in Stack
* Removed statement, replacing slide transition with none
* put setting of initial x after making item visible
Merge pull request #89 from RudolfVonKrugstein/master

Fixed sliding in Stack
Cleaned up buttons/labels
textAlign on buttons/texts/textinputs
Fix for #59
Fix #74
Fix #84
Merge pull request #78 from mikedotalmond/custom-popup-handlers

Fix click handler on simple popups with more than one custom button....
Can now use hypenated css syntax

Either things like "backgroundColor" or "background-color" are valid in
css
Fixed placeholdText alignment issue
Added checkbox/optionbox styles to default theme
Calendar updates
doc update
added SVG to resource Manager
render svgs in StyleHelper when backtoundImage ends in "svg"
Merge pull request #97 from RudolfVonKrugstein/pull

SVGs
Various fixes

Mainly exposed by updating the showcase application
haxelib
allow icon of button to fill whole button with iconPosition="fill"