menu problem


hi, i'm having problem menu subitems.

menuproblem.jpg

 

 

 

here code i'm using

  var mymenu:menu;
  mymenu = null;
  mymenu = menu.createmenu(null, menulist, false);   //menulist have structure of xml

  var pt1:point = new point(this.dgmousex, this.dgmousey);
  pt1 = contenedor.localtoglobal(pt1);
  mymenu.show(pt1.x,pt1.y);

interesting. might want try setting appropriate parent displayobject in place of null value in createmenu().



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい