Reply LinkBack Thread Tools Search this Thread
Old 22-04-2009, 09:16   #1 (permalink)
jwalker80
Senior Member
 
jwalker80's Avatar
 
Join Date: Dec 2005
Location: Dublin, Ireland
Posts: 105
multiple instances of movieclip

Hey,

Im looking to create multiple instances of a movieclip using AS2

I am trying to create the attached image with multiple instances of the same movieclip.

How do i go about creating this uniform pattern of circles from the same symbol in AS2?

Do I change the linkage and then extend the movieclip as a class, then use a for loop? :S
Attached Thumbnails
multiple-instances-movieclip-lights.jpg  
  Reply With Quote
Old 22-04-2009, 19:16   #2 (permalink)
hinch
Registered User
 
hinch's Avatar
 
Join Date: Mar 2009
Location: UK
Posts: 57
Yeah a loop should do the trick. Make sure the symbol can be exported to actionscript then loop using attachMovie taking in mind the symbols height and width and stage height and width. If you need any help with it I've just done something with the same principles.
  Reply With Quote
Old 23-04-2009, 09:15   #3 (permalink)
jwalker80
Senior Member
 
jwalker80's Avatar
 
Join Date: Dec 2005
Location: Dublin, Ireland
Posts: 105
cool thanks, might give u a shout if i need to!
  Reply With Quote
Old 05-06-2009, 06:59   #4 (permalink)
hypesol
Banned
 
Join Date: Jun 2009
Posts: 16
hey this is very easy but you would have to use array for this and for positioning get width and height of last object and pass to the new object
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive
Web Hosting by Heart Internet, vBulletin © 2000-2009 Jelsoft Enterprises Limited.
Search Engine Optimization by vBSEO 3.0.0 RC8
Web Hosting by Heart Internet