A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Creating Movie clip on button press

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    15

    Creating Movie clip on button press

    Im making a flash game. And Need to have a menu (sized based on what they click, small medium large) referenced from a movieclip, and variables passed to it. Im using CS4/AS2. Is there a function i can put on my button to create a movie clip at a location? Thanks in advance!

  2. #2
    Senior Member
    Join Date
    Jun 2008
    Posts
    549
    You can use the _x & _y properties of a movie clip to set the location.

  3. #3
    Junior Member
    Join Date
    Oct 2009
    Posts
    15
    Whats the code for on(release) to create a movie clip named "medium_menu" and pass variable 1 2 and 3 to it?

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