how to create dynamic movie clip

This is a discussion on "how to create dynamic movie clip" within the Flash & Multimedia Forum section. This forum, and the thread "how to create dynamic movie clip are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 28th, 2007, 13:17
New Member
Join Date: Mar 2007
Location: World
Age: 24
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
how to create dynamic movie clip

hello guys,i need to know how to make a movieclip dynamically...

i used the code bellow to create one but i need to repeat it let say for ten times.

Code: Select all
     import flash.display.BitmapData;
_root.createEmptyMovieClip("temp_header", _root.getNextHighestDepth(), {_alpha:0});
var headerLoader:MovieClipLoader = new MovieClipLoader();
var headerListener:Object = new Object();
headerLoader.addListener(headerListener);
headerListener.onLoadInit = function(header_mc:MovieClip) {
    bitmapHeader = new BitmapData(_root.temp_header._width, _root.temp_header._height);
    bitmapHeader.draw(header_mc);
    _root.temp_header.removeMovieClip();
    //_root.createEmptyMovieClip("nav", 8);
    bannerHolder.attachBitmap(bitmapHeader, _root.getNextHighestDepth());
};
headerLoader.loadClip("..//Images/after_header_1.gif", _root.temp_header);
stop();
Reply With Quote

Reply

Tags
please help

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
unload movie clip transition. monkeygraphik Flash & Multimedia Forum 0 Jan 29th, 2008 12:37
Unload movie clip problem monkeygraphik Flash & Multimedia Forum 2 Sep 11th, 2007 08:37
Accessing a movie clip ClrWtrDsgnr Flash & Multimedia Forum 1 Sep 10th, 2007 13:23
Removes Movie clip without my say so magnetica Flash & Multimedia Forum 2 Jun 15th, 2007 02:21
Button within a movie clip therussian Flash & Multimedia Forum 0 Nov 4th, 2005 18:16


All times are GMT. The time now is 04:38.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43