PDA

View Full Version : mixed movie clip


pdechery
02-13-2003, 12:23 PM
Hi.

Before starting to explain this new threat, I would like just to thank everybody who kindly helped me out with my first one, specially Billy T, who came with the obvious solution I couldn´t see. Thanks Billy ! (By the way, the site is working pretty good now, check at : www.webstyle.com.br)

This new threat may be very simple to those more experienced with ActionScript. Just download the attached file and see the situation. It´s kinda hard to explain, but when you see it, you´ll surely know what I´m trying to do. Anyway, I´ll try to explain :

I have a shape that have two buttons in it. In each button press, the shape will came out with a different animation, transforming itself in different ways. In a way, it shows a telefone number, in other way shows a mail adress.

I figured out to make two movie clips, one to show the "mail" animation, other the "fone" animation. My trouble is to found out how to make the actionscript for that idea.

Please, If you want to help, check out the file, and bring me some ideas. I´ll be very thankful.

Note : the two movies are in separated places just to ease the understanding of the problem. They should appear in the same place, as if they were one.

Pierre

lbower
02-13-2003, 06:23 PM
It looks like you only attached the .swf file. Can you attach the .fla file instead?

pdechery
02-13-2003, 06:30 PM
IBower,

Sure I can post the fla. I´ll do it tomorrow (don´t have it right now).

Let me just ask you one question : did you see the swf, right ? So, you figured out what kind of problem I´m trying to solve ? Need some explanation ?


Thanks,

Pierre

lbower
02-13-2003, 08:19 PM
I took a look at it, and it looks fine. So I must not be understanding what the problem is.

pdechery
02-14-2003, 11:38 AM
Hi IBower,

I´ll try to explain :

You open the swf and you see two shapes that look the same way. One shape (the lower one) contains the "mail" animation, which is loaded by the "bird" button. The upper one, has the "fone" animation, which is loaded by the "fone" button. Is acting this way, right ?

So, what am I trying to do ?

It´s simple. I need these two movies to visually "split" in one. I need just one shape on the screen, containing all the buttons and animations. So, instead of seeing two shapes doing different animations when you a button, try to imagine only one shape that can do the same animations, when you hit one or other button. Get it ? Only one shape will show you the fone number and the mail adress !

The two movies look the same way because of that reason. They should be in the same place. So I´ll have two movie clips, one above the other, with the same buttons in each other, containing actionscripts. How should be the actionscripts for these buttons ?

I´m attaching the fla file so you´ll see the actionscripts I´ll try to write, whitout success.

If it is still not clear to you or anybody, it won´t be any problem for me to explain it again as many times it´s necessary.

Thanks,

Pierre

pdechery
02-14-2003, 11:57 AM
IBower,

If you check the following link it will be easy to understand what I´m trying to achieve :

www.webstyle.com.br

When you go for it, check the upper corner of the layout. Something familiar ? Sure there is ! Well, you´ll notice that only the fone animation is active. I want the mail animation to be active too ! Is this it. Thank you !

Bye,

Pierre

lbower
02-18-2003, 06:20 PM
Pierre,

I think I understand now what you're trying to do. Here's a mock up that you can take a look at. The .swf doesn't work so well, but I think if you take a look at the .fla, you'll understand what it's supposed to do. (I'm not so great at doing tweening - not a lot of practice - but you seem to have that part down pretty well.)

Let me know if I've once again missed the mark on what you're trying to accomplish.

electronic ink
02-18-2003, 06:21 PM
Here you go pdechery.

I think this was what you were after. Although you've probably solved it your self by now.

electronic ink

pdechery
02-18-2003, 06:31 PM
Thank you guys !

I was almost giving it up... I´m going to test the files in home and tomorrow will come with some comments.

Thank you all ! You´re great !

Pierre

pdechery
02-21-2003, 02:09 PM
IBower and Electronic Ink,

I cannot thank you sufficiently, but, anyway, thanks a lot to you both ! You´re great !

The right solution came from Electronic Ink although... You got that right, boy ! I was insisting that the solution was in having two movie clips (mail and phone) in separate layers. I thought I´ll need to write Actionscripts for the buttons in the two movies to control each other... It would be a pretty hard job, and I didn´t even knew if it was going to work right !

But then E.I. came with that simple and obvious solution : all the animations in the same movie clip just controlled by simple "play" and "goto" actionscripts ! I would never came to that by myself...

I updated the site and everybody can check it by now... it´s working good ! See it at : www.webstyle.com.br

Thanks a lot,

Pierre

electronic ink
02-21-2003, 03:19 PM
my pleasure pdechery.

Thanks for getting back to us with a responce.

electronic ink