Tile Component (Version 2.1.0)
789 downloads / 4340 views
Rating: 4.19
Author
- Name
- Elvis Mehmedovic
- Site
- http://emehmedovic.com/
- Contact
- mailto:me@emehmedovic.com
Release Date
14 Feb 2008 21:30
Platform
AS 2.0, Flash Player 7/8/9
Description
Use this component to tile any symbol.
After installing the extension, you can find Tile Component in the Components Panel in Flash. Code hints and syntax highlighting are available.
Version 2.0.1: Architecture upgraded to XMCA 0.3 (same version as Menu Component 2.0.0 and Scrollbar Component 1.0.1)
Version 2.1.0: Miscellaneous internal updates.
Preview and Downloads
Discussion
Elvis Mehmedovic (21 May 2004 19:28)
Short API Reference
================
class xm.components.TileComponent extends xm.corpus.resizableComponent
Methods
-------------
function setSize(p_width:Number, p_height:Number):Void - Resizes the component.
function disableRefresh(p_val:Boolean):Void - Disables refresh() method to prevent superfluous refreshing while setting multiple properties. Setting to false will automatically call refresh().
function refresh(Void):Void - Updates display (usually used only internally).
function flush(Void):Void - Removes all attached tile symbols (usually used internally to enforce full complete refresh).
Properties
----------------
tile:String - Linkage name of the symbol to tile.
manualTileWidth:Number - Width of the tile symbol; if set to 0, component will use symbol's _width.
manualTileHeight:Number - Height of the tile symbol; if set to 0, component will use symbol's _height.
tileSpacingH:Number - Horizontal spacing between tiles.
tileSpacingV:Number - Vertical spacing between tiles.
rowCount:Number - Number of tiles displayed verticaly (read-only).
colCount:Number - Number of tiles displayed horizontaly (read-only).
applyMask:Boolean - Defines whether the mask should be applyed or not.
(Inherited: width, height, maxWidth, minWidth, maxHeight, minHeight)
Events
----------
rowCountChange - Invoked when rowCount changes
colCountChange - Invoked when colCount changes
(Inherited: resize)
Inherited Dispatcher Methods
----------------------------
(Same as in V2 components; see documenatation for V2 components. You can also use on(event) syntax.)
function dispatchEvent(p_eventObj:Object):Void
function addEventListener(p_eventName:String, p_handler):Void
function removeEventListener(p_eventName:String, p_handler):Void
(Advanced)
function addEventListenerL(p_eventName:String, p_obj:Object, p_handler):Void
function removeEventListenerL(p_eventName:String, p_obj:Object, p_handler):Void
function removeAllEventListeners(p_eventName:String):Void
Elvis Mehmedovic (18 Jul 2005 16:24)
Version 2.0.1: Architecture upgraded to XMCA 0.3 (same version as Menu Component 2.0.0 and Scrollbar Component 1.0.1)