PlayerIO

The fastest way to build online games without breaking a sweat.

ActionScript3 Reference

actionscript 3 Achievement class informationClass Achievement

Namespace: playerio
Language: ActionScript 3

An Achievement

Properties

 
public
completed :Boolean [read-only]

True when progress == progressGoal

public
description :String [read-only]

The description

public
id :String [read-only]

The id of the achivement

public
imageUrl :String [read-only]

A url to the image of the achievement

public
lastUpdated :Date [read-only]

Last updated time, in UTC

public
progress :int [read-only]

Current progress made towards the ProgressGoal of this achievement

public
progressGoal :int [read-only]

The progress value to reach to complete the achievement

public
progressRatio :Number [read-only]

A value in the range [0:1] indicating the progress made towards completion.

public
title :String [read-only]

The title of the achievement

Achievement.completed

public
completed :Boolean [read-only]

True when progress == progressGoal

Achievement.description

public
description :String [read-only]

The description

Achievement.id

public
id :String [read-only]

The id of the achivement

Achievement.imageUrl

public
imageUrl :String [read-only]

A url to the image of the achievement

Achievement.lastUpdated

public
lastUpdated :Date [read-only]

Last updated time, in UTC

Achievement.progress

public
progress :int [read-only]

Current progress made towards the ProgressGoal of this achievement

Achievement.progressGoal

public
progressGoal :int [read-only]

The progress value to reach to complete the achievement

Achievement.progressRatio

public
progressRatio :Number [read-only]

A value in the range [0:1] indicating the progress made towards completion.

Achievement.title

public
title :String [read-only]

The title of the achievement