A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: In the Movie Clip or _root?

  1. #1
    Junior Member
    Join Date
    Dec 2002
    Location
    _root.home.room.chair
    Posts
    23

    In the Movie Clip or _root?

    Hi.

    I was just wondering what in your opinion is the best place to put your code. In the Movie Clip that you are going to be affecting or in the _root level?

    I always put it in the Movie Clip but in a book that i'm reading at the moment, it puts the code in _root.


    Thanks


  2. #2
    incredibulus-actionscriptum magnetos's Avatar
    Join Date
    May 2001
    Posts
    2,160

    Re: In the Movie Clip or _root?

    Originally posted by CTT_Mustapha
    Hi.

    I was just wondering what in your opinion is the best place to put your code. In the Movie Clip that you are going to be affecting or in the _root level?

    I always put it in the Movie Clip but in a book that i'm reading at the moment, it puts the code in _root.


    Thanks

    well i put functions and code related to the mc inside the mc and
    and global functions on the _root
    i dont know if this makes any difference in terms of cpu speed though
    Last edited by magnetos; 01-12-2003 at 10:58 AM.

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