A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Click and place?

  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    38

    Click and place?

    Ok im making a car type game where you can select your accessories and such. I have all the symbols, movie clips and buttons, made but I got stuck when i came to the following question:

    How can I get the movieclip to appear where I specify, x y location?, when I click a button?(using Actionscript)

    Can anyone here help me with this question?

  2. #2
    ReMember gobbles's Avatar
    Join Date
    Nov 2002
    Location
    Denmark
    Posts
    983
    Hi

    If you got an MC and want to place it at..say 50,50 you could do so by this action:

    on (release){
    MC._x=50
    MC._y=50
    }

    all done..

    have fun
    http://www.rickigregersen.com ...finally a blog!

    Your damned if you do...but your particually damned if you don´t

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