User Tools

Site Tools


collectionviewer

CollectionViewer

The CollectionViewer component manages the display of components and elements.

Characteristic Definition
Type Interactive Display Object
Category Component
Scope Local
Position *
Parents Container
Children *
Gestures *
Requirements none

Attribute

Type

Description
amountToShow Number
animateIn true/false

See Also: Display Attributes

<CollectionViewer id="collection" autoShuffle="true">
    <VideoViewer id="video-viewer-1"  x="200" y="300" mouseChildren="true" gestureReleaseInertia="true" disableNativeTransform="false" disableAffineTransform="false">
        <Video id="video1" class="video_element" src="library/assets/Ancient Ice and Our Planet's Future.mp4" width="640" height="360" />
    </VideoViewer>		
    <ImageViewer id="image-viewer-1" x="200" y="300" mouseChildren="true" gestureReleaseInertia="true" disableNativeTransform="false" disableAffineTransform="false">
        <Image id="img1" class="image_element" src="library/assets/atlatl_cave.jpg" resample="true" width="700"/>
    </ImageViewer>			
    <MP3Player id="mp3-player-1" x="200" y="300" mouseChildren="true" gestureReleaseInertia="true" disableNativeTransform="false" disableAffineTransform="false">
        <MP3 id="mp3-1" class="mp3_element" src="library/assets/RuthCalledShot_vbr.mp3" width="700" height="320"/>
    </MP3Player>
</CollectionViewer>
collectionviewer.txt · Last modified: 2015/09/18 12:19 by glass