RSS Feed von www.video-flash.de

www.video-flash.de

Flash & Video

SWF Screensaver for Mac

Create your own flash screensavers

SWF Screensaver for Mac Logo

SWF Screensaver for Mac is a Flash screensaver maker. You can easily create your mac screensavers with your own SWF files.

  • Native Mac OS X screensaver (10.4 and 10.5)
  • Use your own SWF files (Flash and Flex)
  • Create a custom Flash preferences panel
  • Dual screen support
  • Different scale modes
  • Flash Player version check
  • Check if internet connection is available


(0.9.2)

License

Creative Commons License

This work is licensed under . The attribution is placed in the options panel of the screensaver. For noncommercial purposes, you can use the application for free.

If you want to use SWF Screensaver for Mac commercially, please donate 10€ (Paypal-Link). In this case, the attribution won’t be displayed.

Video: How to create a flash screensaver

Quick Start Guide

1. Right-click the screensaver application. Choose “Open Package Contents” in the context menu.
How to open the screensaver package

2. You can see several folders. The most important one is “Resources” because it contains the SWF files. Replace screensaver.swf with your screensaver SWF file and config.swf with your preferences SWF file.
Content of the screensaver package

3. That’s it! Close the package and double-click the screensaver. Enjoy your new screensaver!

FAQ: Features

How does SWF Screensaver work?

SWF Screensaver for Mac is a native Mac OS X screensaver built with XCode. Just copy your own SWF file into the package!

Can I save preferences?

Yes, you can realise preferences by using shared objects which are kind of flash cookies. The swf file in the config panel saves a value that can be read by your screensaver swf file. You can find an example in the download.

Are dual screens supported?

Yes, the screensaver will be displayed on both screens.

What happens if the user doesn’t have flash player installed (or just an old version)?

You can define and design a custom message.

How to install the screensaver?

The user just has to double click the screensaver … it’s a Mac :)
(Mac OS X will automatically launch the system preferences and install the screensaver.)

Which flash player versions are supported?

You can target any flash player version because the screensaver uses the flash player currently installed in Safari (on the client system).

FAQ: Development

How can I change the scale mode?

Open the file “screensaver.html” and search for params.scale. You can choose between four scale modes: showall (default), noscale, noborder, exactfit.

Let’s imagine you are showing a 800×600 flash animation with a rectangle and a circle on a 16:10 display (1680×1050). The four scale modes would look like this:

showall:
Scale mode: showall

noscale:
Scale mode: noscale

noborder:
Scale mode: noborder

exactfit:
Scale mode: exactfit

How can I change the background color?

Open the file “screensaver.html” and search for params.bgcolor. Change the value of this parameter with a hex color code.

How can I change the “no flash player” message?

Open the file “screensaver.html” and search for div id="myContent". Replace the HTML code within this div with your own code. For testing purposes, you can alter the flash player version in the line swfobject.embedSWF to a higher number (e.g. 11.0.0) that doesn’t exist. So you can check the message.

What are the dimensions of the config panel?

400×)
( 500× and 0.9.1)

Can I use more than one SWF file?

Yes, you can use as many SWF files (or even other file types) as you need. Just copy them in the “Resource” folder (or create a subfolder in “Resource”).

Using offline files (Sandbox Security)

Please take care of flash player’s security model (). You can’t load local files and access the web at the same! Of course, you can fix this by changing the sandbox to “local trusted” in the Flash Player preferences. But if you deliver the screensaver the users will have to do this, too. So I think that isn’t good idea.

One way to avoid this: Include all the assets you need in your SWF file. So you don’t need local access. Or: Use the feature “online check”

Online check (0.9.1)

This features allows you to check if an internet connection is available. To activate this, open the info.plist and set CheckIfOnline to true. Then, write the servername in OnlineCheckServername that will be pinged. Important: Don’t start with http://, just write www.myserver.com.

If there’s an online connection, the file from the parameter ScreensaverFile will be loaded. If you are offline, it’s the file in ScreensaverFileOnlineCheckFailed.

To avoid the security sandbox problems (see above), set the publish settings (”File > Publish settings > Flash”) correctly in Flash. For the online swf file, it’s “network access”. For the offline one, it’s “local files”.

How can I log data from my flash screensaver?

Screensaver:
For the Mac OS X screensaver, open the info.plist and set the parameter DebugMode to true. Everytime, the screensaver runs, a log file called Log.txt will be written in the same directory where the info.plist is.

Flash:
You can use LogBook to log messages from your screensaver flash content to the AIR LogBook application. See here:

Status and open issues:

Open:
- If the flash content is “noscale”, the preview screen doesn’t look nice

Feedback

Post your feedback here.

Thanks to …

SWFObject

Release notes

0.9.2: Config panel is now 400×400 (same as Instantstorm)
0.9.1: New online check feature
0.9: Initial release

Old versions:

0.9.1 Beta
0.9 Beta

Aktuelle Kommentare

  • Screenium wurde auf 1.2 aktualisiert. [mehr...]
  • Und die Glücksfees hat wieder mal gezogen … Die Gewinner sind: Sven und Oliver... [mehr...]
  • SWFObject 2.2 (siehe http://www.video-flash.de/inde x/swfobject-2-2-erschienen/ ) ist... [mehr...]
  • Version 2.4 ist draußen: Since version 2.0.4 * Added a new function called inspect() *... [mehr...]
  • Annahmeschluss :-) Die Auslosung erfolgt heute Abend gegen später … [mehr...]

Aktuelle Trackbacks

Suche

Am Ball bleiben …

Kategorien

Über diesen Blog

Florian PlagDies ist ein Blog von | Tipps, Tricks und News zum Thema Flash, Flex, Video | Open Source FLV Flash Fullscreen Video Player | Streaming, Encoding |

Interaktives Video im Internet mit Flash

Flashvideo Buch Cover