Jump to content
GreenSock

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

mkg14

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

2 Newbie

About mkg14

  • Rank
    Newbie
  1. Thank you! That works perfectly and the code is very simple and straightforward.
  2. Hi Carl, Thanks for your reply. A former coworker helped me with the solution, but if you have the time do you know of a way to achieve the same effect? See the attached swf file. The solution I was given is very complicated and utilizes an external coding package that my former coworker wrote, otherwise I would also post the native files. Thanks for your help! rotatingStar.swf.zip
  3. Hello, I am trying to rotate a 2D star three or four consecutive times on its y-axis, and while the rotation is happening the star is moving away from the viewer in space. Essentially the star is larger as the animation begins because it's closer to the viewer, and as it rotates it gets smaller because it's moving away from the viewer in space. Hopefully this makes sense. In terms of creating the rotation effect, I've tried the ShortRotationPlugin, but that causes the star looks a little warped as it rotates. Any help would be appreciated. Thanks in advance!
  4. Carl, Please disregard my most recent question above. I was just able to figure out how to incorporate a timer class, which solved the problem. Thanks again for your help.
  5. Thank you Carl! That worked perfectly. Thanks as well for the link to other approaches. In terms of ending the mouse event (moveIt), if the user interacts with the object I have figured out how to end it after a certain amount of time and move on to the final screen of the animation. Say, however, that the user does not interact with the object at all, but I still want to end the mouse event after a certain amount of time and move on to the final screen. Not sure how to incorporate that into the coding. (Use a timer?) Can you help? I've attached my zipped flash file. It looks super generic
  6. Hello, Is there a way for the viewer to control an object with his mouse? First I want the object to enter the stage and stop. After the object stops I would like the viewer to be able to move it up and down on the y axis using his mouse. Any help would be appreciated!
  7. I'm really sorry about that!!! I'll stick to those guidelines in the future. Thank you for your help. That worked and I only had to make one addition: Everything but the panning image reset, so I had to add the following line of code under the note "//objects on stage" in order to reset the image back to its starting position: imageMC.x = 0; The animation works perfectly now. Thanks again!
  8. Hi Carl, I have the same question about adding a replay button, but I don't understand how to apply the sample code that you've given. The complete code for my animation is below. There is only one frame in the timeline with all of the animation being controlled by AS. I'm a beginner when it comes to AS3, so please excuse my clunky code as I'm sure there's a more streamlined way to write it //imports import flash.external.ExternalInterface; import flash.net.URLRequest; import flash.net.navigateToURL; import com.greensock.TweenLite; import com.greensock.loading.ImageLoader; import com.gr
×