dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Using MC's as Buttons

  1. #1
    Member
    Join Date
    Jul 2006
    Posts
    44

    Using MC's as Buttons

    Is it possible to assign buttong functions such as on (release) and on(rollOver) and etc. to a movie clip?

  2. #2
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,379
    Of course. Observe. Place any mc in frame 1 and frame 2. In the frame1 movie clip actions:
    Code:
    on(release) {
    	_root.gotoAndStop(2)
    }
    And its the same from the frame 2 mc actions

    Code:
    on(release) {
    	_root.gotoAndStop(1)
    }
    You'll see it works just fine.

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