The Daily Click ::. Forums ::. Klik Coding Help ::. "Simple" AVI screensaver
 

Post Reply  Post Oekaki 
 

Posted By Message

BBalazs



Registered
  10/07/2004
Points
  41
23rd September, 2004 at 13:50:45 -

There is an avi file given and I want to make a simple screensaver with it (in mmf). All the features I want:

1. Exit on keypress
2. Full Screen AVI playback
2. Looping play of AVI

Sounds easy isn't it? The problem is that when I finish it, I test it, wow, it works! Than put the files (avi, scr, cca) into the Windows\system32 folder, double click scr file, it works! But when I go to display properties, than set it up so that it will have that screensaver, I click test and I get a wonderful MCI error: file cannot be found (the avi). Try to check the folder, filename, blablabla. What object can do this to me and will even make Windows find the file... I tried AVI object, VideoPro Object, DirectShow object. But please tell me if I'm doing something wrong.

P.S.: I give the object the following: name.avi not C:\HGFKAS\FKAS\name.avi so that it is relative (the same folder as the cca) but it DOES NOT WORK.

 
n/a

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
23rd September, 2004 at 14:07:48 -

In Display Properties, the working directory may be different from the directory the screensaver is in.

Try ".\name.avi" and not just "name.avi" - it might help, though it's just a guess.

 
http://www.davidn.co.nr - Games, music, living in America

BBalazs



Registered
  10/07/2004
Points
  41
25th September, 2004 at 12:19:23 -

It did not quite work out yet... Has anybody got any ideas?

 
n/a

Tigerworks

Klik Legend

Registered
  15/01/2002
Points
  3882
25th September, 2004 at 13:32:08 -

How about appdrive$ + appdir$ + "name.avi" ?

 
- Tigerworks

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
25th September, 2004 at 22:12:48 -

Yeah, I was gonna say, that would work. That way WHATEVER dir. its in, as long as the AVI is with the screensaver, it will play it. Its not like its focused on finding it in a spacific spot on someones computer.

 
http://www.facebook.com/truediamondgame

BBalazs



Registered
  10/07/2004
Points
  41
27th September, 2004 at 09:20:26 -

Still! It is still not working! Thanks everybody but it is still not OK for some strange reason. I make the file in C:\Downloads\Screensaver than put the 3 files (avi, scr, cca) into C:\WINDOWS\system32 Than go to display properties, screensaver, select the file and than I get an MCI error (the same) but when clicking test it works fine, except the video is not scalled for screen size

Anyone who has something similar screensaver in MMF or TGF please send me the files so that I may replace the movie with the one I want to put in. Please make sure you won't protect the file! Thanks. My e-mail is bbalazsmail@freemail.hu

Thanks again

 
n/a
   

Post Reply



 



Advertisement

Worth A Click