Wiki.Novemberborn, sIFR 3 Documentation & FAQ

FlashInteractor

This class handles callbacks from the Flash movie, and can invoke events in the Flash movie.

getFlashElement()

Returns a reference to the HTML <object> element.

available()

Returns true if the Flash element is in the document, false otherwise.

getAlternate()

Returns a reference to the HTML element containing the alternate content.

replaceText(content, alternate)

Replaces the text inside the sIFR Flash movie, and the alternate content.

Arguments

content (String)
The new text. Can be a HTML string.
alternate (Array)
Only necessary if you use sIFR in an XHTML document. The elements of the array must be DOM nodes to be inserted into the document as alternate content.

resetMovie()

Re-inserts the Flash movie.

resize()

Updates the size of the Flash movie.

changeCSS(css)

Arguments

css (String/Object/Array)
The argument can be of the same types as the css keyword argument for sIFR.replace() See JavaScript Methods. The following CSS properties cannot be changed:
  • leading
  • background-color
  • opacity
  • blend-mode
  • text-align
  • text-transform

Updated on May 26, 2008 19:48 by Mark Wubben (82.74.122.8)

| See revision | Back in time (4 older revisions)


Navigation

sIFR 3 Documentation & FAQ

sIFR lets you use your favorite font on your websites by cleverly working with Flash, JavaScript and CSS. Here you'll find it's documentation and the FAQ. Leave a link to your implementation in the Examples!

Please donate

If you like sIFR, please consider making a donation so Mark can spend more time on it. Thank you.

Inside this wiki

Other destinations

Licensing

This wiki is licensed under the GNU Free Documentation License.

Miscellaneous

TextDrive

RubyOnRails