Need a little help (preloading and animating)

Okay so I am trying to combine two FLA’s.

the movie / actual flash part

and the preloader part.

So I go into the second scene of the preloader and try to paste the first frames for my actual content part (buttonclipsample.fla) but it keeps playing and I can’t get it to stop. I tried putting stop(); on the first frame of my buttonclipsample but that hasn’t done anything. Can anybody help me out?

I also can’t figure out how to animate the button sample to what I want. I want it so when I click it the box expands and as soon as it gets to 100% it flashes white (fade to white) and than goes back to how the box is now at 100% (with the dark background) and the text fades in. I know the text part includes actionscript that has to deal with alpha but thats about it…I’m also going to have more buttons so can I just take the code thats in there now for the reasizing and edit it so that if someone clicks a differnt button it goes back down, and than expands again? If anybody could offer any help it would be greatly appreciated.

Can you post your code or FLA?

The second and third lines contain links to both FLA’s

I have no idea how css files can be incorporated into text files…

But for the preloader, you’ll want to put it in onEnterFrame like this:


objNewTime = new Date();
 
this.onEnterFrame = function() {
........
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
delete onEnterFrame;
    nextScene ();
} 
};

oops… don’t forget to place “stop();” somewhere(ex. top) in the same frame.

As far as the first part… the fla’s are… combined!!
Sorry, I am not very fond of scenes… :blush:

That actually makes it easier on me. Thank you very much.

Anybody have any idea on how I would go about animating the second part of my question?

I guess what I’m really asking is how do I attatch a movie clip AFTER the text box is expanded to 100%?

Bumps*

Bump*