dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: write a variable from a movieclip to the mainmovie...

  1. #1
    Member
    Join Date
    Oct 2000
    Location
    The Netherlands
    Posts
    97

    Exclamation

    does anybody know how to write a textvariable to another level? Like from a movieclip to the mainmovie.
    Thanks already

  2. #2
    Senior Member
    Join Date
    May 2001
    Posts
    180
    If you want to write to a variable 'mainVar' on the main movie from a MC, it would look like this:

    _root.mainVar = "This is Cool Text";

    Or else to another level:

    _level1.mainVar = "This is again Cool Text";

  3. #3
    Member
    Join Date
    Oct 2000
    Location
    The Netherlands
    Posts
    97

    thanks

    Originally posted by jweaver
    If you want to write to a variable 'mainVar' on the main movie from a MC, it would look like this:

    _root.mainVar = "This is Cool Text";

    Or else to another level:

    _level1.mainVar = "This is again Cool Text";
    Thanks man,

    I'm gonna try it right now

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