![]() |
Register | Login | |||||
![]() |
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
![]()
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - Flash :S |
![]() ![]() ![]() |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Malow![]() Goomba Level: 9 Posts: 8/25 EXP: 3055 For next: 107 Since: 03-15-04 From: Rock Forest, Qu�bec, Canada Since last post: 145 days Last activity: 11 hours |
| ||
Well, I have to make a short flash movie for a job, but I NEVER did flash before, and I'm really wondering how to make it... I have six maps, and six buttons. The six maps are the same, but at different years (evolution of a territory). My six buttons are for the six years. When I click on a button, I want the actual map displayed to fade out, and then the desired map fade in (the one matching with the button I clicked). So if you understand well, it makes a fun transition between the 2 images. It's really easy to do with 2 images, but with 6? And I'm still not familiar with the layers system, and I did not have any tutorial on Flash, so I don't know if there is an easy way to do it, or if I should, for example, make 36 layers (for the 36 images transitions) and then when you click on a button, look at which image is currently shown and depending of that, play the right layers. Or Maybe I should put the 36 possibilities on the same layer? Bahh I don't know! So if anyone has some good knowledge with flash, I really could use some help. If you need more informations, just ask. Thanks |
|||
Wyv![]() Shyguy Level: 16 Posts: 44/87 EXP: 18530 For next: 1726 Since: 05-30-04 Since last post: 467 days Last activity: 339 days |
| ||
I wish I could help further, but all I can really do is suggest you look around at Flashkit.com. Sorry. | |||
Malow![]() Goomba Level: 9 Posts: 9/25 EXP: 3055 For next: 107 Since: 03-15-04 From: Rock Forest, Qu�bec, Canada Since last post: 145 days Last activity: 11 hours |
| ||
Thx, but I couldn't find anything. ![]() Btw, I just made the same thing, but with javascript, so you can have a better idea of what I want... but in Flash, lol http://acmlm.overclocked.org/Malow/Job%20Web/img/fadetest.htm |
|||
Drag![]() Flurry ![]() I don't post anymore! o_O Level: 26 ![]() Posts: 153/254 EXP: 98946 For next: 3329 Since: 03-15-04 From: Deogon Vally, Dragon Country Since last post: 316 days Last activity: 44 days |
| ||
I suggest using actionscript. I'm sorry as I am unable to help very much because my trial copy of Flash MX is expired. Hmm... An EASY way to do it, since it's just six images (and not like 20 or so. ![]() Next, in your action script, add a on event.enterframe (or something like that, I can't check, sorry) routine (since it will call the code repeatedly at the frame rate), and check for if each variable is 1 or 0. Something like this: if (variablepic1 == 0) { pic1.opacity-- } else { pic1.opacity++ } And repeat for the remaining 5 variables. I don't know if the values will wrap around, or if they'll reset to 100 if it's above 100, or 0 if below 0, but if it does, you can probably figure out a way to fix it. If you need the fade to go faster, you can do two things. Either increase the framerate, or change the pic1.opacity-- to something like pic1.opacity = pic1.opacity - 4 or something. I hope this helps. ![]() |
|||
Malow![]() Goomba Level: 9 Posts: 10/25 EXP: 3055 For next: 107 Since: 03-15-04 From: Rock Forest, Qu�bec, Canada Since last post: 145 days Last activity: 11 hours |
| ||
Hey thanks, I'll try that ![]() EDIT: I'm strating to understand how flash works! But still couldn't figure how to do that ![]() (edited by Malow on 06-17-04 01:12 PM) |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - Flash :S |
![]() ![]() ![]() |