Has anyone played with animated gifs recently? I'd like to make a simple splash screen for my app.
Are animated gifs still a problem for windows? And if so would it be easier to embed a video?
Thanks!
animated gif or video splash screen?
Re: animated gif or video splash screen?
You should check out this thread if you haven't already.
Re: animated gif or video splash screen?
I did read that, and I tried the scrip given but it only produced a blank square. I thought I'd ask again in case someone else has it working.
Re: animated gif or video splash screen?
Just tried the one I posted again, and it worked fine for me. Did you try that one?
Re: animated gif or video splash screen?
Download was-not-me.gif shown below:
... or use your own.
Result is animated GIF playing in borderless control.
Hope this helps...
... or use your own.
Code: Select all
var = %A_ScriptDir%\was-not-me.gif ;location of gif you want to show
Gui, 3:-border -Caption ; borderless
Gui, 3: Add, ActiveX, x0 y0 w200 h200 vWB, shell explorer ; set width (w) and height (h) values to the image size
wb.Navigate("about:blank")
html := "<html><body style='background-color: transparent' style='overflow:hidden' leftmargin='0' topmargin='0' rightmargin='0' bottommargin='0'><img src='" var "' border=0 padding=0></body></html>"
wb.document.write(html)
;Gui, 3: Color, white ; stop display of black border or...
Gui, 3: Margin, 0, 0 ; remove border altogether
Gui, 3: show, AutoSize Center
WinSet, Transcolor, 000111, transparent
return
Hope this helps...
Who is online
Users browsing this forum: No registered users and 262 guests