Log in

View Full Version : Need 2 tuts/scripts urgent please



mossawi
05-24-2007, 06:26 AM
Hi everyone...

Im trying to do the following and your help would be greatly appreciated...

1- see where it says More Numbers in the plate number area, it shifts to the next set of plates when you click it, and if you click a plate then the number would change on the red car...

http://www.emiratesauction.ae/english/index.html

any idea how i can do somethign like that?

2- see the countdown thing: http://www.shannons.com.au/pages/auc...ID6ECCKEUA5A5J, I want to do the same, I saw a script on DD but the it doesnt look as good as the flash one on the site i posted, any idea how i can do something like that?

thanks a lot in advance and your help is greatly appreciated.

tech_support
05-24-2007, 06:45 AM
Umm...
http://www.shannons.com.au/images/sitemap/sorry_header.jpg

mossawi
05-24-2007, 06:31 PM
ahh sory,

hope it works now: http://www.shannons.com.au/pages/auctions/index.jsp?id=V9ID6ECCKEUA5A5J

mossawi
05-24-2007, 07:45 PM
i found this tutorial, but anyone has any idea how i can make it work with universal timing??

http://www.kirupa.com/developer/mx/countdown.htm

thanks in advance...

Medyman
05-25-2007, 03:46 PM
As for your first situation...it's pretty simple really.

Break it up into two parts.
1) The horizontal tween when you click "More Numbers"
For this effect take a look into the Tween class or some other tweening engine (MCTween, Zigo, Fuse etc...).

Using Flash 8's own Tween class you would need something like this:


new Tween(NumbersMC, "_x", Regular.easeOut, NumbersMC._x, NumbersMC._x + NUmbersMC._width, 1, true);
*Make sure to import the tween class


(2) Changing the number on the car.
Create a dynamic text field on the license plate of the car. Set the instance name to plateText.

Then, in the onRelease function of each plate, add the following:


plateText.text = "###"

Medyman
05-25-2007, 03:48 PM
i found this tutorial, but anyone has any idea how i can make it work with universal timing??

What do you mean by universal timing? Do you mean having the timing server side, instead of based on the viewer's system clock.

if so, have a look at this:
http://www.brandspankingnew.net/archive/2005/06/flashactionscri.html

With a small php script you can turn this into a timer based on a server side clock.