Creat an autorun in Flash with a full screen presentation

I was asked if I knew how to do this a couple days ago, and even if I thought I had said it before, I’ll explain the whole procedure again. Because I was asked how to create an autorun in Flash with a full screen presentation.

Assuming we’re using ActionScript 2.0 we’ll use the next code: fscommand(“fullscreen”, “true”);

With which we indicate Flash that we want a full screen presentation from the very beginning.

You won’t want that if somebody presses ESC the presentation minimizes itself, nor when clicking with the right button of the mouse, a big menu pops up in Flash. To do this use:

fscommand(“showmenu”, “false”);
fscommand(“trapallkeys”, “true”);

Now we publish the file as a Flash .exe

In order to do this, we go to File \ Publish Setting (Ctrl. + Shift + F12)
We put a checkmark at  “Windows Projector (.exe), and we click Publish.

Now we’re done with the Flash, now we create the autorun. We open a Note pad and we introduce the following code:

[autorun]
OPEN=nombre.exe

We save it as autorun.inf

You save the .exe and the autorun in a CD or DVD and it’s done!

Post a Comment