FLASH - load image loadClip


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



Copy this code and paste it in your HTML
  1. var imageListener:Object = new Object();
  2. imageListener.onLoadInit = function() {
  3. var aimageTween:Tween = new Tween(holder_mc, "_alpha", Regular.easeOut, 0, 100, 1, true);
  4. }
  5. var imageLoader:MovieClipLoader = new MovieClipLoader();
  6. imageLoader.addListener(imageListener);
  7. imageLoader.loadClip("/photos/filename.png", holder_mc);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.