Init VariableAfter declaring a variable, you may want to initialize it with the Init Variable action. Trigger the action with a browser-triggered event set to onParse in the head section of the page. Choose Action > Variables > Init Variable. Choose the variable you want to initialize from the Variable menu. (You must declare your variable beforehand for it to appear in the pop-up menu.) The Value item changes automatically with the type of the variable. Use the appropriate control to supply an initial value: Boolean A check box (selected is true, unselected is false). Integer A text box that accepts whole numbers only. Float A text box that accepts numbers with decimal points. String A text box that accepts any string of text. Layer A pop-up menu showing all floating boxes in the page. LayerPos Two x and y text boxes for the position of a floating box and a Get button that reads the current position. Image A pop-up menu listing the named images in the current page. URL A typical text box, Browse button, and Point and Shoot button combination for specifying URLs. Color A color field that brings up the Color palette when clicked. Scenes A pop-up menu that lists all scenes in the current page. OnCall Action A pop-up menu listing all actions from the head section that have their trigger set to OnCall. Functions A pop-up menu that lists all function declarations from the head section of the current page. |