Hi,

Just started messin' with AS3 and added a mx.controls.Menu through script.
According to the docs, Menu inherits indirectly from ScrollConrolBase, and it does indeed seem to have some scrolling-related properties...

I've tried this:

   var myMenu:Menu = Menu.createMenu(null, arrMenu);
   myMenu.show(menux, menuy);
   myMenu.maxHeight=200;
   myMenu.showScrollTips = true;
   myMenu.verticalScrollPolicy = ScrollPolicy.ON

Menu draws fine with the correct height and stuff, no errors, but no scrolling.

Am I being stupid?

Thanks,
Chris.

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to