A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Is it a BUG, or what...

  1. #1
    Member
    Join Date
    Oct 2000
    Posts
    64
    Hi guys

    Why is it that if I want to trigger a function on a MovieClip with an onMC event, it doesn't work, and if I call the same function on a button or in a Frame, it works fine?

    I work with Flash 5 Format AS.

    PLEASE HELP

    cheers
    chris

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Make sure you've updated the path to the function, let's say you have 2 clips one name clipa and 1 clipb both on the main timeline. if you have a function in clipa you can't use

    clipa.functionName();
    from clipb to call the function.
    you'd have to use

    _root.clipa.functionName();

  3. #3
    Member
    Join Date
    Oct 2000
    Posts
    64
    That did it!

    Thanks a bunch, Catbert.

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