YOU seem to be here for the first time? If so, check out our welcome message!

Announcement: It's the Interactive TOTM for May 2026 [EOS] posted yesterday

This is: Home > Help > Flashtease

General

Commands

Visual layout

  • horiz() - Arrange multiple elements horizontally
  • mult() - Create multiple elements in one spot
  • page() - A simple page layout generator
  • vert() - Arrange multiple elements vertically

Content elements

Interface elements

  • buttons() - Display a custom list of buttons
  • go() - Display a single button
  • yn() - Display two buttons for a yes/no question

Control flow

  • delay() - Create a timer and display it
  • goto() - Forward the user to another page

Control flow - PCM2 style

Instructions

  • stroke() - Demonstrates stroking speed

Utility functions

Before we begin...

First of all, thanks for taking the time to learn this stuff and contribute a new FlashTease. The community, the Team and myself (seraph0x) truly appreciate the time and effort authors like you put in for the benefit of all.

Now, before we start, if you have never created a regular webtease, I strongly suggest you do that first. FlashTeases really can be overwhelming and having written one or two regular teases can give you the drive to learn this much faster!

Hello World!

The script is based around actions. An action usually represents one page in the tease. The first action is always called "start". A single page script could look like this:

start#text('Hello World!');

The text() command simply displays text. Make sure that you always put your text either in 'single quotes' or "double quotes"!

More action

Normally, however, you'll want to have more than one action.

start#page(
	'This is the first page, click CONTINUE to go on.',
	pic('gouranga.jpg'),
	go(barnaby#)
);

barnaby#page(
	'I\'m the second page.'
	// and so on ...
);

Now there are two new commands here. pic() displays a picture. We specify exactly what picture we want. If we didn't specify a name, the tease would choose a picture randomly. (see Media Manager)

The other new command is go(). go() displays a button with the label "Continue". If the user clicks on it, the tease goes to the next page or - as we call it - action.

Continue