jimhere
July 15th, 2004, 09:47 PM
I'm trying to make a color-swatch picker for a real estate site (swatches for house colors). I did a pretty good job (for me) of actionScripting the swatches. But I think I need assistance...
In the .fla the swatches gray MCs with related AS linked through separate AS/text files (which define's the swatch's color). They're text files so the client can change the hex numbers without knowing Flash. There's also a Tool Tip that shows the model number on mouseover, but this is NOT in that text file.
There are nine swatches, so I have nine different AS/text files for them.
How can I make it so all the info for swatch colors AND tooltips are in one AS/text file rather than in several? Would this be some sort of array? (I'm not sure how to set that up.)
In the .fla the swatches gray MCs with related AS linked through separate AS/text files (which define's the swatch's color). They're text files so the client can change the hex numbers without knowing Flash. There's also a Tool Tip that shows the model number on mouseover, but this is NOT in that text file.
There are nine swatches, so I have nine different AS/text files for them.
How can I make it so all the info for swatch colors AND tooltips are in one AS/text file rather than in several? Would this be some sort of array? (I'm not sure how to set that up.)