I am working on a US map that was developed by someone else, and they do not have an answer for a bug in the programming.
The Flash file contains each of the 50 U.S. States as objects with instance names and they are defined as variables through AS 2 on the Flash File timeline. A separate AS 2 file creates each U.S. State as a "region" dynamically and manages the depth of objects throughout the many lines of code. The properties of each state, such as it's background color, are then defined in an XML file.
As I define a color variable for each U.S. State in the XML file, the color of the state writes over top of another object (created dynamicaly through AS 2 code and then defined in the XML), which is the locations and their "dots" that indicate their geographic (i.e.: a location can be a service center located in Texas).
I've tried everything I can think of, and read and followed every instruction I can find in order to move the Location text and their corresponding "dots" to write on top of each state with no success. I'm just a beginner in AS and have come from the design side. This stuff is mostly vodoo to me to begin with. Can anyone help me? Would this file be better if migrated to AS 3.0? If so, how in the world do I do that? Remember, I'm no programmer.
I've attached a Zip file for any of you code warriors out there they may have the answer.
if the dot is a child of the state and, you "color" the state, the child will be "colored", too. to remedy, create another movieclip (say bgcolor) child of the state and color it. manage your dot movieclip so its depth is greater than bgcolor.
The "dot" is an image. The state mc is named "region" and is a child of the mc "map". The "location" mc is also a child of the "map" mc. Can you tell me how to define the "location" mc to be a child of the "region" mc? That may be the answer to this. Please take a look at the AS file before answering, as it's really confusing how depth is managed in this file. Thx.
sorry, maybe someone else will help you. i don't usually download and correct files.