Jump to content
GreenSock

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

lgeis

Members
  • Content Count

    15
  • Joined

  • Last visited

Community Reputation

1 Newbie

About lgeis

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'll try that-thank you very much for your help! And yeah, I don't know why I referenced LoaderMax being that I'm Instantiating SWFLoader. My advice: don't get old! L
  2. Greetings from Boise, I'd like to create a single Instance of LoaderMax. I'd like to use that Instance to call one of several .swf's to load, dynamically, via a MouseEvent. myLoader.urlOrRequest = "myURL.swf" throws an 1119: "Access of possibly undefined property urlOrRequest through a reference with static type com.greensock.loading.SWFLoader." What am I missing, please? Thanks ahead of time! case this.palmer_Aerial.eastBuildingAerial: this.removeChild(this.palmer_Aerial); this.removeChild(this.mainTitle); changeLoader.urlOrRequest = "eastBuilding.swf" changeLoad
  3. Oh-goodness, I don't think you're missing anything. It's much more likely that my comprehension is flawed. I'm trying to establish a rotation point using offsets from the Registration point to gain some understanding into the matter. I don't want to be a high-maintenance subscriber... Am spending a bit of time working out various potentials. Will certainly post it up if I can engineer a solution... Thanks! L
  4. Well, Jack-thanks very much for your very gracious help, but this is one I'm going to have to abandon. I'm just not able to "get it," I guess. Maybe over the New Year when I have some spare time I'll dive in just for grins-and if I do stumble into a solution I'll forward it on... Happy New Year!
  5. Well Jack, I guess we've just run into my own personal brick wall. BTW...I can't find a ShortRotationPlugin syntax for use with the RotateAroundPointPlugin in the documentation-but am not sure it could be used anyway. Here's the code (.fla). Everything works great except the Rotation (lines 72 & 73 below). Would you accept a feature request for a RotateAroundCursorPlugin with a LocalPoint Parameter? Ha! If there's something I'm doing wrong relative to the greensock stuff and it's obvious and no bother, let me know, please. //imports/activations/initializations import com
  6. Jack, I've found a couple of examples of the behaviors I'd like to TweenLite/TweenMax. Here's the first example: http://www.myflashxml.com/dynamic_photo_gallery/friction/index.html In that first example there is an elasticity that may or may not be necessary. Here's another example: http://www.sideroller.com/wck/ In the second example, the top Flash Window is a Box2D demo. The first demo has a bunch of shapes on Stage, which you can Click & Drag-they exhibit similar physics. The Object follows the Cursor as it should via startDrag(), but the Object responds to the Point
  7. Well, if the code I threw out there does actually do what you want (I threw it together in a rush...my apologies) you could get by without TransformAroundCenterPlugin by just ensuring that any Shapes you build do have their Registration Point in the Center and just TweenLite'ing them as an Object without the Plugin. Good luck!
  8. Greetings from Beautiful Boise, UbiAssassin! I created a circular shape and converted it to a MovieClip, put an Instance on the Stage and named that instance buttonA. The Symbol's Registration Point is in the center. Here's the code I came up with: import com.greensock.TweenLite; import com.greensock.easing.Quad; import com.greensock.plugins.TweenPlugin; import com.greensock.plugins.TransformAroundPointPlugin; import com.greensock.OverwriteManager; TweenPlugin.activate([TransformAroundPointPlugin]); OverwriteManager.init(OverwriteManager.AUTO); TweenLite.defaultEase = Quad.easeO
  9. Looking around-just a thought in pseudocode: angleDegs = atan2(mouseY - cardY, mouseX - cardX); var angleRads = angleDegs * Math.PI/180 TweenLite.to (card, .5, {rotation: angleDegs}); I'll look more into RotateAroundPointPlugin in a bit. Any advice welcome. Thanks! Leo
  10. Greetings from Beautiful Boise! I have some playing card (rectangular) MovieClips on the Stage. I want to startDrag() them via MOUSE_DOWN, and stopDrag() them via MOUSE_UP, measuring the speed of the motion and decaying it via ThrowPropsPlugin. Easy enough, and that's complete/fully functional. But what I'd also like to do is have the rectangle respond to the direction of motion by rotating around the mouseX and mouseY point so that it is drug behind the cursor until MOUSE_UP. I have tried the RotateAroundPointPlugin and cannot seem to configure it properly. I can trace() the p
  11. Ha! OK, I uncovered the problem. Evidently Jack has snookied into my office and named a Movie Clip in my Library "Matrix" with linkage "Matrix" as well. I don't know why someone would do such a thing, and I'm sure there's some sort of law against it. Probably some sort of naming convention violation. It couldn't possibly by my own stoopidity. All fixed! Thanks!
  12. Thank you very, very much Carl. I had tried the pointIsLocal: true parameter but had some other issues that were compounded by my being dumber than dirt. I've got 'er working now. Happy!
  13. Greetings from Beautiful Boise! I have a Sprite in which are several other Sprites as Children. The Parent Sprite is quite large: about 3500 Pixels square, and I have scaled it down (.2) to fit into a relatively small area on my Stage. My goal is to, via a ComboBox Selection, enlarge the Parent Sprite to a scaleX = scaleY = 1 (apologies, I'm not using the GreenSock ScalePlugIn on this) while simultaneously moving the Parent Sprite so that the Child is "zoomed in to." In other words, I have a large aerial photograph of a golf course that is scaled down, and I wish to scale it up and
×