fcms.Tools class contains functions for easy manipulation of data.

fIndex Properties

Modifiers

Property

Description

static monthNames Specifies names of the months.
static dayNames Specifies names of the days.

fIndex Methods

Modifiers

Method

Description

static addTag Wraps string inside tag.
static capitalize Converts first letter of every word in a string to upper case.
static

trim

Removes white space characters from the begining and end of the string.

static truncate Truncates string.
static

capitalize

Converts first letters of words in string to upper case.

static highlight Applies formatting to characters inside the textfield.
static

pushLetters

Sets content of the text field using "push letters" effect.

static

setHover

Defines style change when mouse is over the hyperlink.

static formatNumber Formats the number.
static getDateFromString Converts a string to Flash Date object.
static

formatDate

Formats the date.

static tween Tween movieclip properties.
static

getThumb

Returns thumbnail path.

See also

fIndex.recordInit, fTemplate.recordInit