Hi everybody, I'm new to timelinelite, someone recommend it to me to help me solve the problem i had, and it did, thanks for that incredible tool ! But now I'm having some other issues.
Let me try to describe what I want, and hopefully someone will generously help me...
The main stage has several different movieclips, each one containing a few buildings (it's a city landscape divided in different grounds).
Some of the buildings are actually made of three different buildings, and the idea is to make them switch one from the other, randomly. So let's say I have two mc, (background and foreground), each one composed of 5 or 6 mc (building1, buiding2, etc..).
A function called every 10 seconds with a timer, randomly picks a building, like building2, and plays it.
Building2 has 3 children on its timeline, Fading one out and the next one in at the same time, then stops.
That way, next time the random function picks it, it's gonna play from where it is to the next stop, fading the visible sub building out and revealing the next one.
I'm trying to reproduce that using timelinelites, as i think it's gonna improve it a lot, AND might solve the issue I have which appeared when the b****** client asked for the sub buildings to have mouseEventListeners...
The way I designed it at first makes it hard to add mouseover effects and I have a feeling i should :
- create a timelinelite for each randomized building
- adding labels to be able to target every 'state' of the building so that i could play them randomly
- adding listeners to the building only when it's visible on the stage
- removing them when it's not visible anymore
- ...
First things firts, I started trying to create a timelinelite that would just make my sub building appears one after the other, and i'm stuck already..
Any idea how to structure that ?