Solved

FInd all instances of a symbol

Posted on 2007-03-28
2
1,230 Views
Last Modified: 2012-06-27
I'm in Flash (8 Pro) and I need to find all instances of a symbol in my FLA.

For instance, if in the libaray, my MovieClip is named "wheel" I want to find any instance of that MovieClip that is used anywhere in a given FLA ("wheel1", "wheel2", "backtire").

Is this possible?

Thanks!
0
Comment
Question by:mediapanderer
2 Comments
 
LVL 2

Accepted Solution

by:
khoama earned 500 total points
ID: 18810866
To my knowledge, this is not possible using built -in funnction of Flash. My suggestion is: put a variable inside the movieclip symbol then loop through all the movieclip instances in the main movie, check if that variable is defined and set. If it is, then that movieclip is the instance of your symbol.
0
 

Author Comment

by:mediapanderer
ID: 18831053
Thanks for your idea!  Although, most of the Flash movies I work with have hundreds of movieclips...4-5 nested within 4-5 other movie clips, so do you see this solution working in that scenario?

Thanks!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question