UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Flash of background colours during animation of a GIF    
 
   
OzzyGaz
post Jan 11 2005, 12:09 AM
Post #1

UtterAccess Member
Posts: 36



Dear all

I am going insane. I am animating a series of transparent GIF images over a textured form background image using the code below (images are on top of each other). When i run the form the image flashes the colour of the form background when each image changes (flashes are the colour of whatever the background is set to). The images are transparent so i don't think that is the problem. The thing i don't understand is that after a couple of cycles the flashes stop and the animation works perfectly and does not flash again? Anyone have any clues???

It has taken me ages to sort out a decent image and then export it to a series of images and then sort out the transparency so i am not going to let this one beat me.

Any help will really reaaly be appreciated

OzzyGaz (IMG:http://www.utteraccess.com/forum/style_emoticons/default/crazy.gif)

Private Sub Form_Open(Cancel As Integer)
Counter = 0
End Sub

Private Sub Form_Timer()

If Counter = 20 Then
Counter = 0
End If

Me("Image" & CStr(Counter)).Visible = True

If Counter = 0 Then
Me.Image19.Visible = False
Else
Me("Image" & CStr(Counter - 1)).Visible = False
End If

Counter = Counter + 1
End Sub
Go to the top of the page
 
+
OzzyGaz
post Feb 8 2005, 06:18 PM
Post #2

UtterAccess Member
Posts: 36



For anyone who was interested i solved the problem. I had the timer/refresh rate set too high.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 23rd May 2013 - 05:33 AM