A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: global function

  1. #1
    Senior Member gordonart's Avatar
    Join Date
    Jun 2003
    Location
    Sweden
    Posts
    267

    global function

    I have a function in a mc and I want to use it in another mc.
    But I does not seem to call it.
    I guess I can make the function global in some way, or?
    Mattias Gordon
    illustrator/ animator

  2. #2
    Junior Member
    Join Date
    Sep 2010
    Posts
    15
    put the function in the actionscript of the frame.. not of the movie clips

    and you should be able to call on it as

    _root.FunctionName()

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