A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] i'm having a bad day, please check:

  1. #1
    Junior Member
    Join Date
    May 2006
    Posts
    19

    [F8] i'm having a bad day, please check:

    Code:
    this.createEmptyMovieClip("errorholder", this.getNextHighestDepth());
    	errorholder.createEmptyMovieClip("errorcontainer", this.getNextHighestDepth());
    	errorholder.errorcontainer.attachMovie("validateerror", errorholder.errorcontainer.getNextHighestDepth());
    yes i know this should be elementary.

    i want to load the movieclip "validaterror" it has the linkage of the same name.
    i've never quite understood why sometimes a holder, then container is required just to load a movieclip. any ideas people? thankey!

    James

  2. #2
    Ronze Ronze's Avatar
    Join Date
    Oct 2002
    Location
    Copenhagen, Denmark
    Posts
    185
    You can use attachMovie without creating all of the containers. Just create one:
    Code:
    this.createEmptyMovieClip("errorholder", getNextHighestDepth());
    errorholder.attachMovie("validateerror", getNextHighestDepth());
    Id this doesn't work, check the getNextHighestDepth
    --- Ronze ---

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