Jump to content

Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Newbie

About petervee

  • Rank
  1. Hi Carl, Thanks for the response, this points me in the right direction. Cheers
  2. Hi guys, I'm trying to build a 2 way tween (in 4 quadrants) using TweenLite with the colorTransform plugin. I'm doing this on a stage with a mouse move listener, so for example: stage.addEventListener(MouseEvent.MOUSE_MOVE, mve) function mve(evt:Event):void{ var percY = (stage.mouseY / stage.height).toFixed(2) TweenLite.to(mc, 1, {colorTransform:{tint:0xff0000, tintAmount:percY}}); } This works fine in 1 direction (top and bottom), but I want it to work 4 ways - have a look at screenshot which hopefully explains it better.. As you move towards each corner, top left, top ri
  3. Solving your own issues is always fun! Ok I worked it out, I had to first add the bitmap to a movieclip new_mc = new MovieClip; new_mc.addChild(; manager.addItem(new_mc); There probably is a better way to do it, but works for me Also - I thought that the addChild method uses DisplayObject and effectively turns bitmaps into movie clips? Maybe I'm missing something Cheers, gr8 library once more.
  4. Hi there I realised an older version of this question has been asked, however I believe mine is different. I'm using the new AS3 version to load an image (from an external domain I do not control) through a proxy PHP file (on my server)... I can't add it to the manager to be transformed. Code below private function loadImage(url:String):void { var image_url:URLRequest = new URLRequest("http://localhost:8888/proxy.php?http://OTHERDOMAIN.com/image.jpg"); imageLoader.load(image_url, new LoaderContext(true)); imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoade
  5. Try this function, I've actually just written it today with TransformManager Firstly, download this bad boy - You will need it to export JPGS, very solid class! http://code.google.com/p/as3corelib/sou ... Encoder.as Then, reference these classes (Hope i'm not missing any) import flash.net.FileReference; import flash.net.FileFilter; import com.adobe.images.JPGEncoder; import com.greensock.transform.*; The function below is where it all happens, you can obviously tweak the dimensions of output (mine are 550x800) The most important part is that the Bitmap you are drawing