When I try to set another font with: //------------------------ var v = new Verdana();//font is embedded with Flash CS5.5 and class name is Verdana var font = new org.aswing.ASFont(v.fontName,false,false,false,true); tf.setFont(font); //------------------------ The result is this: http://www.haxer.be/guests/aswing/aswingtextfield2.png
Changing the order of setText and setFont doesn't make any difference.
Thanks in advance for any help on how to solve both issues.
Cheers,
Jan
iiley
unread,
Sep 3, 2012, 10:20:44 PM9/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aswing-...@googlegroups.com
Lib.current.addChild( is useless,
You can try just
atest = new InputTextTest();
because jframe.show() will make it be added into the stage root.
A bit bit off topic: Could you please notput any classes in the class path that are not part of the aswing library? Main is a very common name to use as a 'main' class for a project. You have a Main.hx in trunk and every time I update the svn I must delete this file because my 'main application file/class' is also called Main (and yours takes precedence). Maybe it's better to create a 'demo' folder and put your Main.hx, AsWingFlash.hxproj, compile.hxml, run.bat, bin folder etc. in there?
Thanks again!
Jan
chunbiao huang
unread,
Sep 6, 2012, 1:54:11 AM9/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to aswing-...@googlegroups.com
text size bug check in svn At revision: 1264 good idea,
classification
next time