dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: How do you share variables in different movie clips...

  1. #1
    Junior Member
    Join Date
    May 2001
    Posts
    24
    you see, i have 2 MCs, and i load a variable.txt on one of them and i don't really want to load them on both cause of some reason of mine...

    so my problem is, i need to load them on one, and let that clip transfer it to another clip...

    i hope you guys understood what i'm trying to say..

    plz help

  2. #2
    [title goes here]
    Join Date
    Apr 2002
    Location
    usa
    Posts
    124

    Talking once is enough...

    in most cases...theres really no need to load variables to more than one movie.....

    if you load the vars into _level0......just refer to them from your 'clips' like this:

    _root.myvar

    if you want to refer to the variable from 'movies' on other levels......use this ref:

    _level0.myvar


  3. #3
    Junior Member
    Join Date
    May 2001
    Posts
    24
    oh yea...i forgot about that..

    heh, thankx

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