A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: About MovieClip

  1. #1
    Junior Member
    Join Date
    Jul 2015
    Posts
    5

    About MovieClip

    How To Copy the MovieClip From One Frame and Display it in some Other Frame using Action Script3.0.AnyBody Help me.

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,785
    Hi,

    You can not duplicate the clip directly, so to speak.

    I fyou mean copy it then have a look here,

    https://jadendreamer.wordpress.com/2...ects-function/

    or here

    http://board.flashkit.com/board/show...vieClip-in-AS3

    if you mean attach another one similar, then try here http://stackoverflow.com/questions/1...ogrammatically

    Basically, give your movieclip an as linkage name in the library and then use code similar to

    Below code uses "libraryClip" as the as linkage name and "outerClip" as the already on clip on stage you are adding the clip to

    PHP Code:
    var addedClip:libraryClip = new libraryClip();
    outerClip.addChild(addedClip); 

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