-
Ok im trying something new here. as u can see on my footer i have a flower on the right hand side. Is there a way that when u click on the flower the whole intire footer starts to fill up with small flowers and then the movie restarts once its filled.
Jon
-
Try this...
http://files.driveway.com/download/v...+click+fxs.fla
If you need some help on adapting this for your needs, email or post back.
Regards,
Leo Lima
-
Thanx for that textFX but i was going more along the lines of new images poping up covering the footer then restarting the movie once that is finnished.
Jon
-
Should be simple, use a duplicate movie clip statement, a counter, and set the x and y position to a random number. When the counter finishes you can use similar code to remove all of the movie clips.
In fact, it sounded kind of interesting so I wipped up an example .fla and .swf to show you what I mean. Go here to get them, they are under the DUPLICATE EXAMPLES heading.
Hope it helps :D
---Edited---
After re-reading your message, I will make another suggestion :).
Instead of using the Random() function to get the x and y coordinates (like I did), simply start the coordinates at 0,0 and move them consecutively each loop. That way you can be sure to cover the whole screen (you will lose the randomized look, which is not all bad)
[Edited by TiefighT on 08-26-2000 at 04:06 AM]
-
Thanx tighfight that was exactly what i wanted exept for one thing. I am uploading the footer so u can see the problem. When the flowers are done it doesnt restart the movie how can i get this effect to take place. I would like either that or to make a quot when they all disapate that says something like have a nice day and then a button th restart the movie. Also when i try to get the flower to either fade in using Alpha or to spin in from the side using motion tween it apears as a box so i ended up just deleting that layer all together.
But i think i have a solution should i add the action scripting to the same layer as the tweening.
Click on the white flower on the footer and watch Thanx.
also u can download the fla by going here
http://lit420.tripod.com/
or
http://lit420.tripod.com/downloads/flower.zip?1
[Edited by RebbelX on 08-26-2000 at 04:08 PM]
-
No problem rebbel, I posted the fixes to my website (you can find them here, respond or e-mail me when you get them and I will take them down).
I think the problem you were having with rolling the flowers in was that you have to have a MC in the scene with the instance name "flower" before the duplication to work. So I just made a layer below the button that rolls in (the button just appears on top of the movie clip but you can't tell).
As for the "have a nice day", I just told the remove duplicate movies frame to point to a new keyframe labeled "finish". In the keyframe I have a movie that fades in a grey box (to cover all of the background stuff), then it wips in the text and a button. The button simply uses a tell target to go to the first frame of the main timeline.
---Edited---
Oh and by the way, the letters got skrewed up becuase I don't have the original fonts. At most you should just have to change the letters back to the font you had them at and they should work. :)
Don't hesitate to yell if something dosen't work or if you need something else :D.
Hope it helps
-
Thanx alot TighFight when i need help with that type of stuff i know who to goto. Im going to look at that edited version u made and see how you did it. Again Thanx alot.
Jon
-
judging from your new spiffified (is that a word?) footer, I assume you have already gotten the files off of my geocities account.
I will delete them from the geocities website so you don't have to worry about evil people getting their grubby little mits on them :eek:
See ya around :D
-
Thanx alot again tiefight but one thing i couldnt find any diffrnce in the code exept for the label is there some were i should look to find the changes you made with th flowers.
Thanx alot you are alot of help.
Jon
-
The only code I changed was in the last frame of the duplicate flowers layer (the one that loops back to the remove duplicate movies frame).
Originally it pointed to frame 1 when the counter ran out, I just changed it to point to the new movie clip I created (the one with the "have a nice day" in it)
I obviously had to add a little code for the "Restart" button that appears under "Have a nice day!", but other than that all changes were aesthetic.
Hope it helps
-
ok i checked it out and this is the code i saw tell me if this is what u changed.
If (counter > 0)
Go to and Play ("remove")
Else
Go to and Stop ("finish")
End If
because that was on the last frame of the duplicate flower layer.
Jon