A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Symbol Library question

  1. #1
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    Symbol Library question

    How do I create instances of a library item via Actionscript?

  2. #2

  3. #3
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Chris is right. Here's also some info on other types.

    MovieClip
    myChildMC = myMC.attachMovie('linkID', 'myMC_Child', depth, initObject);

    Sound
    mySound = new Sound(targetMC);
    mySound.attachSound('linkID');

    Bitmap (requires flash 8, KM 5.3.0)
    myBitmap = flash.display.BitmapData.loadBitmap('linkID');

  4. #4
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Thanks, Didn't realize it's the same as in standard AS... Somehow thought it was different in KM... Silly boy

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