Saltar para o conteúdo principal
Versão: v18

Animação

Repetir a sequência

As imagens são apresentadas num ciclo contínuo. When the user reaches the last picture and clicks again, the first picture appears, and so forth.

Gramática JSON

NomeTipo de dadosValores possíveis
loopBackToFirstFramebooleantrue, false

Objectos suportados

Botão imagem


Mudar de volta quando liberado

Displays the first picture all the time except when the user clicks the button. Apresenta a segunda imagem até que o botão do rato seja libertado. This mode allows you to create an action button with a different picture for each state (idle and clicked). You can use this mode to create a 3D effect or display any picture that depicts the action of the button.

Gramática JSON

NomeTipo de dadosValores possíveis
switchBackWhenReleasedbooleantrue, false

Objectos suportados

Botão imagem


Alternar continuamente em cliques

Allows the user to hold down the mouse button to display the pictures continuously (i.e., as an animation). When the user reaches the last picture, the object does not cycle back to the first picture.

Gramática JSON

NomeTipo de dadosValores possíveis
switchContinuouslybooleantrue, false

Objectos suportados

Botão imagem


Mudar a cada x ticks

Enables cycling through the contents of the picture button at the specified speed (in ticks). Neste modo, todas as outras opções são ignoradas.

Gramática JSON

NomeTipo de dadosValores possíveis
frameDelayintegermínimo: 0

Objectos suportados

Botão imagem


Alternar quando rolar sobre

Modifies the contents of the picture button when the mouse cursor passes over it. A imagem inicial é exibida quando o cursor sai da área do botão.

Gramática JSON

NomeTipo de dadosValores possíveis
switchWhenRolloverbooleantrue, false

Objectos suportados

Botão imagem


Utilizar o último marco como desativado

Enables setting the last thumbnail as the one to display when the button is disabled. The thumbnail used when the button is disabled is processed separately by 4D: when you combine this option with "Switch Continuously" and "Loop Back to First Frame", the last picture is excluded from the sequence associated with the button and only appears when it is disabled.

Gramática JSON

NomeTipo de dadosValores possíveis
useLastFrameAsDisabledbooleantrue, false

Objectos suportados

Botão imagem