Hello Is het possible to set a margintop for a form element in actionscript?
var frm:Form = new Form(); frm.setStyle("marginTop", 20);
Or something like this?
Thank you
Hello Is het possible to set a margintop for a form element in actionscript?
var frm:Form = new Form(); frm.setStyle("marginTop", 20);
Or something like this?
Thank you
You almost had it. You need to set paddingTop
, instead of marginTop
.
So:
var frm:Form = new Form();
frm.setStyle('paddingTop', 20);