topical media & game development

talk show tell print

#graph-ximpel.mx

#graph-ximpel.mx [swf] flex


  <?xml version="1.0" encoding="utf-8"?>
  <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:fc="http://www.adobe.com/2006/fc">
          
  
          
          <mx:HSlider x="403" y="14" width="114" id="repulsion" value="0.5" minimum="0.0" maximum="1.5" liveDragging="true"/>
  
          <fc:SpringGraph id="springgraph" width="100%" bottom="0" top="40" 
                  repulsionFactor="{repulsion.value}" 
                  xmlNames="[subject,connect,source,dest]">
                  <fc:dataProvider>
                          <mx:XML xmlns="">
                              <subjects xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="interactivevideo.xsd">
                    <subject id="IntroMovie" name="IntroMovie">
                            <longname>Retaliation</longname>
                            <score>0</score>
                            <videos>
                                    <video file="tube/baby-laugh" repeat="true">
                                      <branchquestion>With which weapon do you want to retaliate?</branchquestion>
                                      <overlays>
                                        <overlay time="2" position="33" size="21" label="Revolver"/>
                                        <overlay time="9" position="33" size="21" label="Revolver" position2="03" size2="21" label2="Uzi"/>
                                        <overlay time="13" position="33" size="21" label="Revolver" position2="03" size2="21" label2="Uzi" position3="04" size3="51" label3="Shotgun"/>
                                      </overlays>
                                    </video>
                            </videos>
                    </subject>
                    <subject id="Revolver" name="Revolver">
                            <longname>Retaliation with revolver</longname>
                            <score>4</score>
                            <videos>
                                    <video file="tube/web20"/>
                                    <video file="ae/005_Payback_01"/>
                            </videos>
                    </subject>
                    <subject id="Uzi" name="Uzi">
                            <longname>Retaliation with uzi</longname>
                            <score>5</score>
                            <videos>
                                    <video file="tube/about-content"/>
                                    <video file="ae/005_Payback_01"/>
                            </videos>
                    </subject>
                    <subject id="Shotgun" name="Shotgun">
                            <longname>Retaliation with shotgun</longname>
                            <score>3</score>
                            <videos>
                                    <video file="tube/china/calligraphy"/>
                                    <video file="ae/005_Payback_01">
                                    </video>
                            </videos>
                    </subject>
            
                                <connect source="IntroMovie" dest="Revolver"/>
                    <connect source="IntroMovie" dest="Uzi"/>
                    <connect source="IntroMovie" dest="Shotgun"/>
            </subjects>  
                                  
    
                          </mx:XML>
                  </fc:dataProvider>
                  
                  <fc:itemRenderer>
                          <mx:Component>
                                  <mx:Label fontSize="14" text="{data.data.longname}" color="#ffffff"/>                                        
                          </mx:Component>
                  </fc:itemRenderer>
          </fc:SpringGraph>
  
          
  </mx:Application>
  


(C) Æliens 27/08/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.