Name

LzSprite() (dhtml)

Synopsis

JavaScript: LzSprite
Type: Function
Access: private
Runtimes: dhtml
Topic: Kernel.DHTML
Declared in: WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js

Description

LzSprite.js

Details

Methods (60)

addChildSprite()
private function addChildSprite(sprite);
bringToFront()
private function bringToFront();
CSSDimension()
private function CSSDimension(value, units);
destroy()
private function destroy(recursive);
__destroyImage()
private function __destroyImage(url, img);
__discardElement()
private function __discardElement(element);
__findParents()
private function __findParents(prop);
getHeight()
private function getHeight();
__getImage()
private function __getImage(url, skiploader);
getMCRef()
private function getMCRef();
getMouse()
private function getMouse(xy);
__getPos()
private function __getPos();
getWidth()
private function getWidth();
getZ()
private function getZ();
__globalmouseup()
private function __globalmouseup(e);
__gotImage()
private function __gotImage(url, obj);
__imgonerror()
private function __imgonerror(i);
__imgonload()
private function __imgonload(i);
__imgontimeout()
private function __imgontimeout(i);
__incrementFrame()
private function __incrementFrame();
init()
private function init(v);
__LZsetClickRegion()
private function __LZsetClickRegion(cr);
__mouseEvent()
private function __mouseEvent(e);
play()
private function play(f);
predestroy()
private function predestroy();
__preloadFrames()
private function __preloadFrames();
sendBehind()
private function sendBehind(behindSprite);
sendInFrontOf()
private function sendInFrontOf(frontSprite);
sendToBack()
private function sendToBack();
setBGColor()
private function setBGColor(c);
setClickable()
private function setClickable(c);
__setClickable()
private function __setClickable(c, who);
setClip()
private function setClip(c);
setColor()
private function setColor(c);
setContextMenu()
private function setContextMenu(cmenu : LzContextMenu);
LzView.setContextMenu Install menu items for the right-mouse-button
__setCSSClassProperty()
private function __setCSSClassProperty(classname, name, value);
setCursor()
private function setCursor(c : String);
Sets the cursor to the specified cursor ID.
setDefaultContextMenu()
private function setDefaultContextMenu(cmenu : LzContextMenu);
LzView.setDefaultContextMenu Install default menu items for the right-mouse-button
setFontName()
private function setFontName(val, prop);
__setFrame()
private function __setFrame(f);
setHeight()
private function setHeight(h);
setMaxLength()
private function setMaxLength(v);
setOpacity()
private function setOpacity(o);
setPattern()
private function setPattern(v);
setResource()
private function setResource(r);
setShowHandCursor()
private function setShowHandCursor(s : Boolean);
Shows or hides the hand cursor for this view.
setSource()
private function setSource(url, indirect);
setVisible()
private function setVisible(v);
setWidth()
private function setWidth(w);
setX()
private function setX(x);
setY()
private function setY(y);
__setZ()
private function __setZ(z);
stop()
private function stop(f);
stretchResource()
private function stretchResource(s : String);
Sets the view so that it stretches its resource in the given axis so that the resource is the same size as the view. The has the effect of distorting the coordinate system for all children of this view, so use this method with care.
unload()
private function unload();
__updateClip()
private function __updateClip();
__updateFrame()
private function __updateFrame(force);
__updateQuirks()
private function __updateQuirks();
__updateStretches()
private function __updateStretches();
__zCompare()
private function __zCompare(a, b);

Prototype Properties (32)

blankimage
private var blankimage;
capabilities
private var capabilities = { ... };
__children
private var __children = null;
clickable
private var clickable = false;
clip
private var clip = null;
cursor
private var cursor = null;
__defaultStyles
private var __defaultStyles = { ... };
frame
private var frame = 1;
frames
private var frames = null;
height
private var height = null;
loading
private var loading = false;
__LZclick
private var __LZclick = null;
__LZdiv
private var __LZdiv = null;
__LZimg
private var __LZimg = null;
opacity
private var opacity = null;
__parent
private var __parent = null;
playing
private var playing = false;
__poscache
private var __poscache = null;
__poscachedirty
private var __poscachedirty = true;
quirks
private var quirks = { ... };
resource
private var resource = null;
resourceHeight
private var resourceHeight = null;
resourceWidth
private var resourceWidth = null;
source
private var source = null;
stretches
private var stretches = null;
text
private var text = null;
__topZ
private var __topZ = 1;
uid
private var uid = 0.0;
visible
private var visible = null;
width
private var width = null;
x
private var x = null;
y
private var y = null;

JavaScript Synopsis

private function LzSprite(owner, isroot);