AS3Query Set Properties


/ Published in: ActionScript 3
Save to your folder(s)

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

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


Copy this code and paste it in your HTML
  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. });

URL: http://bit.ly/as3query

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.