A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: trying to trace the name of something

Threaded View

  1. #1
    Member
    Join Date
    Oct 2002
    Location
    England
    Posts
    80

    trying to trace the name of something

    Hello

    I have an empty movieclip that's on the stage. I'm then placing a movieclip inside it, like so:
    PHP Code:
    function addTinySection() {
        var 
    tiny:MovieClip = new tinySection();
        
    completeLoader.addChild(tiny);
        
    tiny.name="tiny"+1;
        
    trace(completeLoader.getChildAt(0).getChildAt(2).name);
    }
    addTinySection(); 
    I can trace the child name of the movieclip "completeLoader", but I can't trace any of the children names of "tiny".

    I've attached the example for you to see.

    Cheers
    Attached Files Attached Files

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