Document class vs timeline

I have 5 products to display. Each has an image and a text box with some product info which get animated in.

I am stuck between using the document class and the timeline.

Option 1 -

I put the 5 products and corresponding text on frames 1, 10, 20, 30 and 40 and use actions in the actions layer. Each product is on its own frame.

The ideal situation would have all the product movieclips on their own frames AND have them avialable to the document class. Why does the document class only have access to MC’s on the first frame?

Option 2

I put all the movieclips on layer1 and layer them up hiding and displaying the image and text when required.

With this option all my code is in the Document Class.

Can someone tell me the best method or even an alternative to this? Option 1 is easier to work with in the flash ide but opition2 is neater.

Any opinions/suggestions will be much appreciated

The main timeline of your movie is the timeline of the doucment class. It has access to any data from the frame it is on (the same as any MovieClip).

Personally I’d do it the second way but do whatever you feel is easiest.

Because when the your playhead is on frame 1, it only shows what is available on frame 1. The other movieclips all exist at some future point in time.

Flash doesn’t “compact” up your timeline so all objects placed at a future time exist from the start - it only allows access to whatever is available on the current frame.