admhays
02-14-2010, 08:55 PM
I am creating a calendar for a website. I have it looking the way I would like and it functions just fine but I know there is a better way to code it. As it stands I have a structure like this: (here is a link (http://www.strivingforcairo.com/test/calendar.fla) to the .fla file)
master_mc
"months_mc"
dayBox_mc
- I am having to set 31 different instance names to get the Mouse_OVER and Mouse_OUT to take effect on each day. Is there a way to target all the dayBox_mc's without having to set an instance name for each?
As it stands now I am copying and pasting the first block of code and just changing all the instance and mc names. Which works just fine but I want to know how to do it correctly and efficiently.
Thanks!
master_mc
"months_mc"
dayBox_mc
- I am having to set 31 different instance names to get the Mouse_OVER and Mouse_OUT to take effect on each day. Is there a way to target all the dayBox_mc's without having to set an instance name for each?
As it stands now I am copying and pasting the first block of code and just changing all the instance and mc names. Which works just fine but I want to know how to do it correctly and efficiently.
Thanks!