A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Button to act in other movieclip in same flash

  1. #1
    Junior Member
    Join Date
    Oct 2010

    Question Button to act in other movieclip in same flash

    Let's see, how can I describe my problem so you know what I am talking about....if unclear, let me know so I can try to rephrase it

    I found a free flash template that simulates pages of a book.
    Once this book is open, the two pages are defined as independent movie clips (but not a separate flash files according to the properties).

    Question: How can I program a button on one page (movieclip) to have a response on the opposing page (the other movieclip)?

    I tried using the

    " .onRelease = function ()}"

    combined with
    "gotoAndStop" and a frame number

    adding the name of the movie clip, but it doesn't seem to work (don't get an error about the syntax) as nothing happens once I click the button.

    Anyone understands my issue and has me a solution?

    Thanks so much !!


  2. #2
    Senior Member
    Join Date
    Aug 2000
    paths, maybe? From the button parent timeline (1st mc):

    btn.onRelease = function () {

    All instances have to be present for this to work.


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