dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Coding Screensaver in flash.

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Location
    India
    Posts
    11

    Coding Screensaver in flash.

    Hi all flashers out there,
    How can I create a screensaver in flash. I know we can create it with the many applications that are available but I want to create it without those software applications as they charge heavily and thier trials are irritating.

    I know how to rename an exe to .scr and how to make it install in the main win directory, but was unable to make it work.
    What is the basic coding I 'll have to do for a simple Windows screensaver in fscommand ???? Any ideas, comments, links related to information on this topic will be genuinely acknowledged.
    Thanx.
    Last edited by aslamonline; 07-20-2004 at 02:48 AM.
    ASL

  2. #2
    Tim (Super Moderator) Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,766
    An SCR file is basically an EXE file with some enhancements particular to screensavers. One of the key things a screensaver must be able to do is get the startup flags from the command line. Windows passes some arguments to a screensaver at startup so it knows whether to start in live, standard, preview or configuration mode. Since you can't get at the command line from a Flash EXE so you can never really make a screensaver from one without some outside assistance (third party tool or custom programming).

  3. #3
    Junior Member
    Join Date
    Jun 2004
    Location
    India
    Posts
    11
    Thanks for the info. Northcode.
    I have spent the past couple of days trying to find out how a
    screensaver works. After some research I learnt that we have to pass
    arguments like -c for config -s for starting -p for preview
    etc. at the command line.
    I tested by renaming the flash exe to .scr and opened it but it just
    showed me an empty flash player. But when I executed the same file from the dos prompt it worked fine.

    I 'll be thankful if you give me some idea about the third party tools
    I can use or the kind of custom programming that may help me.
    ASL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center