Jump to content
Search Community

MarcusDobler

Members
  • Posts

    2
  • Joined

  • Last visited

MarcusDobler's Achievements

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hi, thank you for the answer! I haven't used the source I have used the .swc and the error seems to be in the .swc file. If I use the source code and place it in my project everything works fine? Can you place a new .swc file in the bonus-all folder?
  2. I have a crazy issue with "transformAroundPoint" my Code works perfect on iOS Xcode Simulator. But when I run the same thing on my iPad I get Errors! I never have seen any different behavior simulator vs. device. I hope anybody can help me... It also makes no difference if I don't do any scaling in transformAroundPoint always the same errors. S O U R C E C O D E >>>> ..... TweenPlugin.activate( [TransformAroundPointPlugin] ); Multitouch.inputMode = MultitouchInputMode.GESTURE; this.addEventListener( TransformGestureEvent.GESTURE_ZOOM, pointZoom ); } /** Zoom */ private function pointZoom( _event : TransformGestureEvent ) : void { trace("zoom"); var _transformPointX : Number = _event.stageX; var _transformPointY : Number = _event.stageY; /**/ var _scale : Number = _images[ _activeImage ].scaleX * _event.scaleX; var _myPoint : Point = new Point( _transformPointX, _transformPointY ); /**/ TweenLite.set( _images[ 3 ], { transformAroundPoint: { point: _myPoint, scale: _scale } } ); } <<<< E R R O R S O N I P A D >>>>> Exception fault: TypeError: Error #1006: value is not a function. at com.greensock::TweenLite/_init()[/Active/_Flash/_AS3_v12/src/com/greensock/TweenLite.as:559] at com.greensock::TweenLite/render()[/Active/_Flash/_AS3_v12/src/com/greensock/TweenLite.as:703] at com.greensock::TweenLite()[/Active/_Flash/_AS3_v12/src/com/greensock/TweenLite.as:488] at com.greensock::TweenLite$/set()[/Active/_Flash/_AS3_v12/src/com/greensock/TweenLite.as:1094] at com.ponyhof.gallery::GalleryZoomNew/pointZoom()[/Volumes/Work/Development/Projects/WordPress/src/com/ponyhof/gallery/GalleryZoomNew.as:431] at com.ponyhof.gallery::GalleryZoomNew/pointZoom()
×
×
  • Create New...