- Introduction
- Apprendre Flash 5 pas à pas
- Symboles et Occurrences
- Techniques
- Programmer dans Flash 5
-
Actions (Bases)
- Actions (Niveau intermédiaire)
- Actions (Fonctions avancées
)
- Variables
- Fonctions
- Objets
- Flash 4 (Archives)

 

Liste (non exhaustive) des commandes disponibles dans Flash 5.0

Listes :

[ ] (array access operator).

Fonctions :

{ } (object initializer).

Objets :

new.

Navig. :

gotoAndPlay,

gotoAndStop,

nextFrame,

prevFrame,

prevScene,

nextScene,

play.

Variables :

Set (variable),

var.

Autres :

setProperty,

while,

getURL,

fscommand,

loadMovie,

loadVariables,

unloadMovie,

tellTarget,

ifFrameLoaded,

trace,

startDrag,

duplicateMovieClip,

removeMovieClip,

stopDrag,

On(Mouse Event),

onClipEvent,

break,

call,

continue,

delete,

do while,

else,

else If,

evaluate,

eval,

for...in,

for,

function,

if,

end if,

include,

print,

newline,

printAsBitmap,

return,

stop,

swapDepths,

with,

boolean,

escape,

getProperty,

getTimer,

getVersion,

getMousePosition(),

globalToLocal,

hitTest,

int,

keycode,

localToGlobal,

string,

number,

parseFloat,

parseInt,

random,

targetPath,

unescape,

chr,

length,

substring,

ord.

Propriétés :

_alpha,

_currentframe,

_droptarget,

_framesloaded,

_height,

_highquality,

_url,

_name,

_rotation,

_focusrect,

_soundbuftime,

_target,

_totalframes,

_visible,

_width,

_xmouse,

_x,

_xscale,

_ymouse,

_y,

_yscale,

Couleur :

Color,

Color.getRGB(),

Color.getTransform,

Color.setRGB,

Color.setTransform,

Date :

Date,

Date.getDate,

Date.getDay,

Date.getFullYear(),

Date.getHours,

Date.getMilliseconds,

Date.getMinutes,

Date.getMonth,

Date.getSeconds,

Date.getTime,

Date.getTimezoneOffset,

Date.getYear,

Date.setDate,

Date.setFullYear,

Date.setHours,

Date.setMilliseconds,

Date.setMinutes,

Date.setMonth,

Date.setSeconds,

Date.UTC.

Clavier :

Key,

Key.getAscii,

Key.getCode,

Key.isDown,

Key.isToggled.

Maths :

Math,

Math.abs,

Math.acos,

Math.asin,

Math.atan2,

Math.ceil,

Math.cos,

Math.E,

Math.exp,

Math.floor,

Math.log,

Math.LN2,

Math.LN10,

Math.LOG2E,

Math.LOG10E,

Math.max,

Math.min,

Math.pow,

Math.PI,

Math.round,

Math.sin,

Math.sqrt,

Math.SQRT1_2,

Math.SQRT2,

Math.tan.

Movieclip :

Movieclip,

MovieClip.attachMovie,

Movieclip.duplicateMovieClip,

Movieclip.gotoAndPlay,

Movieclip.gotoAndStop,

Movieclip.loadMovie,

Movieclip.loadVariables,

Movieclip.nextFrame,

Movieclip.play,

Movieclip.prevFrame,

Movieclip.removeMovieClip,

Movieclip.startDrag,

Movieclip.stop,

Movieclip.stopDrag,

Movieclip.unloadMovie.

Number :

Number,

Number.toString,

Number.valueOf,

Number.MIN_VALUE,

MAX_VALUE.

Sélection :

Selection,

Selection.getBeginIndex,

Selection.getCaretIndex,

Selection.getEndIndex,

Selection.getFocus,

Selection.setFocus,

Selection.setSelection.

Son :

Sound,

Sound.attachSound,

Sound.getPan,

Sound.getTransform,

Sound.getVolume,

Sound.setPan,

Sound.setTransform,

Sound.setVolume,

start([secondOffset]),

Sound.stop.

String :

XML :

 

Et quelques autres... (moins importantes ou pour les très très très bons...)

 

 

< Sommaire