My account
Shopping cart
Knowledge base
Support


XML Slide Show V3 XML



Overview | Properties | Methods | Events | XML

view a XML sample file

V3 Component XML standard files you can hold and set the following data:
  • component properties
  • xml data used by the component
  • style data (not the case)
the V3 Component XML basic file structure is the following:

<component>
      <properties>
           <propertyName>
                    <type>propertyDataType</type>
                    <value>propertyValue</value>
           </propertyName>
           ...
     </properties>
      <data>
            <item url='www.jumpeyecomponents.com' target='_blank' itemEvents='true' function='myFunc(param1,param2)' contentPath='myimage.jpg' myAttribute='myValue' >
            ...
      </data>
</component>


Component properties

All properties that can be set from Component Inspector, can also be set with this V3 XML type of file.
You can also set properties for the component that are standard MovieClip (or other extended class) properties, such as _x, _width, _xscale, _alpha, etc for AS2 or x, width, scaleX, alpha, etc for AS3. All properties has to be declared like in the following example:

<tweenType>
      <type>String</type>
      <value>Bounce</value>
</tweenType>


Data tag

A data node contains many items labeled as <item>, an item may have the following attributes:

DATA ATTRIBUTES:
contentPath = the visual content to be loaded inside each item (each slide), external or internal (image.jpg , myMcLinkageId)
itemEvents (only in AS2) = optional boolean value. (default:false) if true, the slide will act like a button, triggering events on the component

URL METHOD ATTRIBUTES:
url = a url address to be followed when user clicks on the item, itemEvents must be true
target = the url target

FUNCTION ATTRIBUTES:
function = the function with brackets and params like in eg.: myFunc(param1,param2)

USER-DEFINED ATTRIBUTES:
any other attributes can be inserted here. you will have access to them from the item itself with dot notation All properties has to be declared like in the following example: <item url='www.jumpeyecomponents.com' target='_blank' itemEvents='true' function='myFunc(param1,param2)' contentPath='myimage.jpg' myAttribute='myValue' >

Overview | Properties | Methods | Events | XML