Hi Friends, i have a requirement that i have a static function
public static function dgItemClk(event:ListEvent):void
{
titleWinkishore = PopUpManager.createPopUp(this, titewin, true)
as
titewin;
PopUpManager.centerPopUp(titleWinkishore);
kishore=XMLList(clickedData);
var vbx:VBox=new VBox();
vbx.percentWidth=100;
vbx.percentHeight=100;
vbx.setStyle('paddingLeft',4);
vbx.setStyle('paddingRight',4);
vbx.setStyle('paddingTop',4);
vbx.setStyle('paddingBottom',4);
vbx.setStyle('verticalAlign','middle');
vbx.setStyle('horizontalAlign','center');
for(var i:int=0;i<kishore.children().length();i++)
{
var hbx:HBox = new HBox();
hbx.percentWidth=100;
hbx.setStyle('paddingLeft',4);
hbx.setStyle('paddingRight',4);
hbx.setStyle('paddingTop',4);
hbx.setStyle('paddingBottom',4);
hbx.setStyle('verticalAlign','middle');
hbx.setStyle('horizontalAlign','center');
var lbl1:Label = new Label();
//lbl1.width=100;
lbl1.minWidth=100;
var colon:Text=new Text();
colon.text=':';
var txtAns:TextInput = new TextInput();
txtAns.editable=false;
txtAns.setStyle('borderStyle','solid');
//txtAns.percentWidth=100;
hbx.addChild(lbl1);
hbx.addChild(colon);
hbx.addChild(txtAns);
lbl1.text=kishore.children()[i].name();
txtAns.text=kishore.children()[i];
vbx.setStyle('borderStyle','solid');
vbx.addChild(hbx);
}
titleWinkishore.addChild(vbx);
}
but here the static does not support the 'this' key, so please any one
tell me solution for this i need to call a title window
even i had tried (application.application) in place of 'this'
but i couldnt get that
please help me regarding this
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.