(CC'ing from http://amsn.sourceforge.net/forums/viewtopic.php?t=1902 )
I already posted a bit of code here to do that (not mine), well took that I got to work this crappy thing: in amsn, line 96, add -------------------- source splash.tcl splash_start "skins/default/pixmaps/loganim.gif" --------------------- line 273 (before cmsn_draw_main) add --------------------- splash_close 2500 --------------------- 2500 is the time to wait before the splash is destroyed (in msecs; you may set it to 1000 or don't specify for 0) now open up a new file and save it as splash.tcl; put these in there: --------------------- proc splash_start {imgfile } \ { wm withdraw . toplevel .splash wm overrideredirect .splash 1 canvas .splash.c -highlightt 0 -border 0 if {[catch {image create photo splash -file $imgfile}]} \ { error "image $imgfile not found" } .splash.c create image 0 0 -anchor nw -image splash foreach {- - width height} [.splash.c bbox all] break .splash.c config -width $width -height $height set wscreen [winfo screenwidth .splash] set hscreen [winfo screenheight .splash] set x [expr {($wscreen - $width) / 2}] set y [expr {($hscreen - $height) / 2}] wm geometry .splash +$x+$y pack .splash.c raise .splash update } proc splash_close { {delay 0} }\ { if {$delay > 0} \ { after $delay { destroy .splash; wm deiconify . } } } -------------------------- now amsn will show a crappy globe on startup (took from default skin; it's not the globe itself to be crappy but the splash as it is :P) I wanted to use the amsn banner which you have on the main site, but I couldn't figure out how to make that work with images other than gif... I'm sure you know how. The real thing I'm not sure about regarding such an approach is that a skin maker can't design his own splash; on the other hand if you let to do this, the splash wouldn't be loaded enough early (parse skin xml and related source files and so on) and therefore it would become completely useless HTH -- _____/\/o\/\/here/\/\an_____ NoWhereBlog: www.nowhereland.it deviantArt: http://nowhereland.deviantart.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Amsn-devel mailing list Amsn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amsn-devel