Search the Community

Showing results for tags 'selectedtargetobjects'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 / JS
    • GSAP
    • Banner Animation
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Categories

  • HTML5 / JS
    • Public
    • "Simply Green" Package
    • "Shockingly Green" Package
    • "Business Green" Package
  • Flash
    • AS3
    • AS2

Found 1 result

  1. It seems I can use "manager.selectedTargetObjects" to change dropShadowFilter, color, opacity and so many other things. but I cant seem to get it to resize an item. when i click my button, the bitmap inside the holder resizes and snaps back when you click on the item again. but if i was to put a drop shadow on the same way it works on the holder.. Any help would be most appreciated. fit_in.buttonMode = true; fit_in.addEventListener(MouseEvent.CLICK, fitwindow); function fitwindow(e: MouseEvent): void { var myh = stage.stageHeight - 57.7; var myw = stage.stageWidth; var items: Array = manager.selectedTargetObjects; var stageCenter_x:Number = stage.stageWidth/2; var stageCenter_y:Number = stage.stageHeight/2; var picCenter_x:Number = items.width/2; var picCenter_y:Number = items.height/2; items.x = stageCenter_x - picCenter_x; items.y = stageCenter_y - picCenter_y; for (var i: int = 0; i < items.length; i++) { TweenLite.to(items.target, 0.75,{x:picCenter_x, y:picCenter_y, width:myw, height:myh}); } }