A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: _x position of a movieclip

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    4

    _x position of a movieclip

    Hi there,

    Why cant i position a simple movieclip when i click a button?
    I feel like a total dork


    The script of the button:

    on (press) {
    setProperty (_root.eventsout, _x, 77);
    }



    "eventsout" is a movieclip, placed in the 1 and only frame that is my flashfile, the button which contains the script to move the movieclip is placed in the same frame!

    can anyone please help me out??

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    Try:

    on (press) {
    root.eventsout._x = 77;
    }

  3. #3
    Junior Member
    Join Date
    Apr 2003
    Posts
    4
    Originally posted by iaskwhy
    Try:

    on (press) {
    root.eventsout._x = 77;
    }
    Thanx!

    but the problem was that i placed another button in my button,
    so my actionscript had to be placed on THAT button..

    Thanx again for the quick reply

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