animated gif on a webpage

I don’t know if this is an old question, but I can’t find one.

Anybody can help me to view animated gif (drag) on a webpage?

Drag an ImageWell to your webpage. Enter the URL of your GIF in the URL field.

That’s about it really!

You know, if you only used search sometimes, you would find your answer without starting a new, unnecessary thread :

Edited, to PM instead.

Hi Michel,

Thanks for your reply. I am working on webpage not desktop form.

Hmm… This is perfectly web to me, copied from my post on the other thread, in response to Robert Bednard :

Problem is that dragging an animated gif into the project will freeze it. You have to copy it with a copy file step into Resources, then create a Webfile from it, and then you will be able to use it as URL for a WebImageView.

I have picked a progressbar animated gif from
I used a slightly modified version of the Webfile Open example :

Add MyFile as WebFile to App.

[code]dim f as FolderItem = app.executablefile.parent.child(“Resources”).child(“ajax-loader.gif”)

If f <> Nil And f.Exists Then
// Convert the FolderItem to a WebFile
App.MyFile = WebFile.Open(f) // MyFile is a property on the App object
ImageView1.url = App.MyFile.URL
End If[/code]
There are quantities of creative animated gif progressbars on the web. I just picked the first one I found.

I personally tested that solution before posting it.

Thanks Michel!

It works!