In order to view this page you need Flash Player 9+ support!

Get Adobe Flash player

XML Source

<code>
    
  <make reference="box" class="flash.display.MovieClip" >
    <set x="100" y="200" />
    <call method="graphics.beginFill" args="0x0000FF" />
    <call method="graphics.drawRect" args="-50,-50,100,100" />
  </make>
	
  <call method="addChild" args="box" />

  <make reference="ani0" class="Object" >
    <set x="300" rotation="90" delay="0.5" ease="Elastic.easeOut" />
  </make>
  <make reference="ani1" class="Object" >
    <set y="400" rotation="180" delay="1.5" ease="Elastic.easeOut" overwrite="false"/>
  </make>
	
  <call method="TweenLite.to" args="box, 1, ani0" />
  <call method="TweenLite.to" args="box, 1, ani1" />
	
  <make reference="tf" class="flash.text.TextFormat" >
    <set font="'Verdana'" size="20" color="0xFF0000" />
  </make>
	
  <make reference="txt" class="flash.text.TextField" >
    <set defaultTextFormat="tf" autoSize="'left'" text ="'TweenLite 1'"/>
    <set x="30" y="30" /> 
  </make>
	
  <call method="addChild" args="txt" />

</code>