[Tutor] Flash Objects

Leung Cris krazie_mu_boi at hotmail.com
Thu Dec 4 00:32:09 EST 2003


For those who don't kno, I'm using Livewires. How can i make an object look like they are flashing?I was trying this code:

for i in range(10):
			circle(50, 60, 45, colour = Colour.red, filled = 1)
			circle(50, 60, 30, colour = Colour.white, filled = 1)
			time.sleep(0.5)
			circle(50, 60, 45, colour = Colour.blue, filled = 1)
			circle(50, 60, 30, colour = Colour.white, filled = 1)
			time.sleep(0.5)

50 is the x point, 60 is the y point, and 45 and 30 is the radii . Time.sleep(0.5) makes python do nothing for 0.5 seconds. Well, it didn't work out as i thought it would. It simply did nothing for 10 seconds, and then show me a blue circle (with white cirlce inside).

_________________________________________________________________
¨Ï¥Î MSN Messenger¡A»PªB¤Í¦b½u¤W²á¤Ñ: http://messenger.microsoft.com/tc 




More information about the Tutor mailing list