A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: KPushButton with round edges

  1. #1
    Junior Member
    Join Date
    Sep 2008
    Location
    In the middle of the univers
    Posts
    7

    KPushButton with round edges

    Hello alltogether,

    I created a button with as with the line:
    CreateKPushButton("button1",1,0);

    Is it possible to influence the edges of the button ?

    I would like to make the top edges round and would like to leave the bottom edges as they are...
    In addition I would like to change the font-size and face of the lable auf the button...
    I tried (for font-size):

    var textformat = new TextFormat();
    textformat.size = 14;
    button1.setLabel("Step 1",textformat);

    but it doesn't work :-(

    Is that possilble with AS ?

    kind regards....

    torfnase :-)

  2. #2
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Quote Originally Posted by torfnase
    I would like to make the top edges round and would like to leave the bottom edges as they are...
    That's not possible using this component.

    Quote Originally Posted by torfnase
    In addition I would like to change the font-size and face
    button1.setStyleProperty ("textFont", "_typewriter");
    button1.setStyleProperty ("textSize", 14);
    button1.setLabel("Label 1");

  3. #3
    Junior Member
    Join Date
    Sep 2008
    Location
    In the middle of the univers
    Posts
    7
    thank you very much...
    I will test this soon... :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center