A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Button position help!

  1. #1
    Member
    Join Date
    Nov 2008
    Posts
    52

    Button position help!

    Hi, I have created a new button using the "Convert to Symbol" method. Using AS3.0, I would like to view/change the position of that button. I named my button "ss" and here is my "test" code:

    trace(ss.X);


    The error message I get is:

    1119: Access of possibly undefined property X through a reference with static type flash.display:SimpleButton.



    What do I do? I want to be able to interactively change the position of that button.

    Thank you!

  2. #2
    Hammer
    Join Date
    Mar 2001
    Location
    Warrington UK
    Posts
    274
    shouldn't it be x not X

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