Jump to content
Search Community

birds4

Members
  • Posts

    6
  • Joined

  • Last visited

birds4's Achievements

0

Reputation

  1. I have some music I'm trying to fade in on one frame and fade out in another frame. The music isn't activated by a button or anything. I'm just using the Sound class/SoundChannel to make it start and stop on the frames I want. I know that it can be done with the Volume Plugin, but I haven't worked with audio before in TweenLite/TweenMax, so I don't know where to start.
  2. Oh, thanks! I used the AutoAlpha plugin for movie clips before, but not for buttons. Now I know. Thanks again!
  3. I have a new project where I have many keyframes, each with a little animation. The user clicks a button to advance to the next frame, but I want the button to be invisible and unclickable until the animation on each frame has finished playing. Currently, it looks something like this (just an example): var tl1:TimelineLite = new TimelineLite(); tl1.append(TweenLite.from(mc1, 0.5, {alpha:0})); tl1.append(TweenLite.from(mc2, 2, {alpha:0})); After this, I want the button to be visible, so I added this: tl1.append(TweenLite.from(btn_next, 0.01, {alpha:0})); btn_next.addEventListener(MouseEvent.MOUSE_UP,buttonPressed); function buttonPressed(event:MouseEvent){ nextFrame() } But I noticed it is still clickable when invisible, and I would like for it to be unclickable. Might be an easy solution, but what do I know? Thanks in advance!
  4. Hi, I found a bit of code that allows me to simulate a shaking effect when applied to a movie clip. function shakeTween(item:MovieClip):void { TweenMax.to(item,0.1,{repeat:2, y:item.y+(1+Math.random()*5), x:item.x+(1+Math.random()*5), delay:0.1, ease:Expo.easeInOut}); TweenMax.to(item,0.1,{y:item.y+(Math.random()*0), x:item.x+(Math.random()*0), delay:0.3, ease:Expo.easeInOut}); } shakeTween(item); I can change the intensity of the shake, but I don't know how to change the duration. Right now, it only shakes for a split second and I want it to last much longer. Any help would be appreciated. Thanks in advanced!
  5. Hi Carl, thanks for your reply. You're right about #1, it was just my computer being slow. It doesn't happen on another computer or online. And I think I got the text part working well enough. Yes, RoughEase was exactly the effect I was looking for. It works, but it moves my mc upwards after it finishes. I want it to stay in the center of the stage. How can I do this? Here's the code: TweenLite.to(bg1, 6, {y:0, ease:RoughEase.create(1.5, 200)}); Thanks in advance!
  6. Hi! I recently became a greensock member and love it so far. However, I don't have much time to experiment around with things since I am so busy. I have a few questions on how to achieve certain tweening effects (don't worry, they're nothing too complicated). I have access to all the plugins so that isn't an issue. 1. I have a few basic mcs that I want to be invisible from the beginning, and pop in one by one. My code works, but when I test the movie I can see all the frames for a split second (like the blink of an eye) before they disappear and play. I'm not sure if it's just my computer or if it's my code. I'm using tween from alpha of 0 like below: timeline.append(TweenLite.from(frame1_mc, 3, {alpha:0})); 2. SplitTextField is awesome, but how would you make a typewriter effect where each individual letter appears one by one with no special fading, resizing, or anything? 3. I was also wondering how to make an earthquake effect where an mc would shake around for a little bit before stopping. I thought I saw a plugin that can do that, but I forgot the name. Anyways, that's all I have for now. I'm kind of on a tight schedule as this Flash is due in a couple days. It doesn't even need to be in Flash, but I decided to do it because it helps me learn and it gives it an extra bang!
×
×
  • Create New...