Posted By

adamcoulombe on 12/15/10


Tagged

properties as3 as3query


Versions (?)

AS3Query Set Properties


 / Published in: ActionScript 3
 

URL: http://bit.ly/as3query

as3query written by nitoyon. http://tech.nitoyon.com/blog/2008/01/as3query_alpha.html

Package download: http://bit.ly/as3query

  1. //import as3query.*;
  2.  
  3. $(myMovieClip).attr({
  4. //SOME EXAMPLE AS3 MOVIECLIP PROPERTIES
  5. //CAN USE ANY OF THESE PROPERTIES: http://bit.ly/g6q27x
  6.  
  7. x:100, // sets x position to 100
  8. y:150, // sets y position to 150
  9. width:300, // sets it's width to 300
  10. height:320, // sets it's height to 320
  11. alpha:0.5, // sets opactiy to 50%
  12. rotation:45 // sets it's rotation to degrees
  13. });

Report this snippet  

You need to login to post a comment.