A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [AS3] instance name?

  1. #1
    Junior Member
    Join Date
    Oct 2008
    Posts
    13

    [AS3] instance name?

    Hi
    I know that this question may sound a bit noobish, however I got to ask this.l Is there a way of modifying "instance name" without actually seeing the .swf object on the stage (because it imports on request)

    And secondly, I'm doing a school project and forgot to put an intro animation in front of actual thing, how can I do that noww?

    I'll appreciate any help// deadline is tommorow

  2. #2

  3. #3
    Junior Member
    Join Date
    Oct 2008
    Posts
    13
    Aight cool, but in this case what do I put as my MovieClip?
    mapa or mapa.swf doesn't work :

    var request:URLRequest = new URLRequest("mapa.swf");
    var loader:Loader = new Loader()
    loader.load(request);
    addChild(loader);

    //mapa.name = 'myMovie' ??

  4. #4
    AS3 Mod
    Join Date
    Sep 2007
    Location
    O-H-I-O
    Posts
    2,385
    PHP Code:
    var mapa:MovieClip = new MovieClip();
    var 
    loader:Loader = new Loader();

    loader.load(new URLRequest("mapa.swf"));
    mapa.addChild(loader);
    mapa.name 'myMovie';

    this.addChild(mapa); 

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