Jump to content
Search Community

kirks61

Members
  • Posts

    11
  • Joined

  • Last visited

kirks61's Achievements

0

Reputation

  1. That did it! Thanks! ks
  2. I have just upgraded to CS5, and I'm noticing that Flash is not performing consecutive tween commands simultaneously like it used to in my project. It only performs the last command. In the code below, only the last command gets executed. If I put everything in the same command, it would cause unwanted results. TweenLite.to(MaskStar_mc, 3, {_xscale:5000,_yscale:6500, ease:Linear.easeIn}); TweenLite.to(MaskStar_mc, 1, {_x:-10,_y:10, ease:Linear.easeIn}); TweenLite.to(MaskStar_mc, 2.5, {_rotation:-359, ease:Linear.easeIn}); Any idea what I'm doing wrong or what I need to do differently in CS5? I know I should be using AS3 but this project is going to be AS2 for various reasons so I need an AS2 solution. ks
  3. Never mind, my classpath was not specific enough. It was including folders containing AS2 and AS3 classes. Once, I narrowed down the path to just the AS2 code, it worked fine!
  4. I have created an AS2 project with Flash CS3 that uses TweenLite heavily. The project was almost completed after several months of work when my computer died. My owner got me a new computer with CS5. I added the classpath to TweenLite to Flash CS5 and opened my project. When I publish the project in CS5, Flash obviously sees the TweenLite library just fine (no compiler errors) but NONE of the TweenLite animations work. Is there a compatibility issue between Flash CS5 and TweenLite with AS2 files? Or, am I doing something else wrong? All future projects will be created in AS3 but this one was too far along to convert and there's not enough time to do that with the project due in a couple of weeks. Thanks for any help, ks
  5. I realized the problem and fixed it not long after posting this request. Actually, what I did was: ArrowLeft_mc.onRelease=function(){ switch (xpos) { case -245: TweenLite.to(mcSlider2, 1, {_x:0}); xpos = 0; break; case -490: TweenLite.to(mcSlider2, 1, {_x:-245}); xpos = -245; break; case -735: TweenLite.to(mcSlider2, 1, {_x:-490}); xpos = -490; break; case -980: TweenLite.to(mcSlider2, 1, {_x:-735}); xpos = -735; break; default: ; } } ks
  6. I created an AS2 sliding movieclip that uses buttons to slide a multi-pane movieclip left or right 245 pixels at at time. I'm having trouble getting the buttons to recognize that the movieclip has moved over (see that the _x position has changed) so that it knows to move the movieclip to the next _x position using the AS2 code below: var xpos:Number; xpos = mcSlider2._x; //trace(xpos); ArrowLeft_mc.onRelease=function(){ switch (xpos) { case -245: TweenLite.to(mcSlider2, 1, {_x:0}); break; case -490: TweenLite.to(mcSlider2, 1, {_x:-245}); break; case -735: TweenLite.to(mcSlider2, 1, {_x:-490}); break; default: ; } } ArrowRight_mc.onRelease=function(){ switch (xpos) { case 0: TweenLite.to(mcSlider2, 1, {_x:-245}); break; case -245: TweenLite.to(mcSlider2, 1, {_x:-490}); break; case -490: TweenLite.to(mcSlider2, 1, {_x:-735}); break; default: ; } } ArrowRight_mc works only when mcSlider2 when _x is 0. Previously, I used a statement that moved the movieclip left or right 245 pixels at at time but that caused a lot of problems although it worked. Any idea why this isn't working? Do I need to use setInterval? If so, how would I incorporate that without interfering with Tweenlite?
  7. Yeah, I ended up doing it by hand in less than 30 minutes while taking forever to research a coded method. Thank though. ks
  8. I'm trying to animate drawing an outline of a photo of a group of people. In the past, I have manually created the outline as a path, broken it apart to separate the segments, then deleted each segment frame by frame. It's a painfully slow but effective method, especially with variations in the shape of the outline. I'm thinking that there's got to be an easier way to do this with TweenMax. Is there? If so, will the AS2 version do it? ks
  9. Oh yeah, that makes sense. Heck, it's been a long time since I worked on a project like this. Thanks. Also, I plan to convert this project to AS3. I've just got to learn some of the code ... especially how to load and control videos.
  10. Sorry for taking so long to reply, just really overwhelmed with work. Anyway, here's a link to a work on progress: http://www.oromamedia.com/msecenter.com/ When you click on the 10 Years Anniversary Video (lower-left corner of phone display), the phone should rotate to -90 When you click on the blue Done button, it should rotate back to original position. I fixed the nested function error but I'm still getting the same results. I've tested in FireFox 3.6.13 and Internet Explorer 8.0.6, Windows XP service pack 3, Flash player 10.1.102.64 I'll work on another fla as soon as I can.
  11. I'm using TweenLite AS2 v.11 to do a simple -90 degree rotation along with other tweens. All of the tweens work in the Flash development tool just fine. However in the browser, the rotation doesn't work at all. Any ideas what I might be doing wrong? mcSlider2.mcHomeScreen.mcIconVideo.onRelease=function(){ TweenLite.to(_root.mcPhone, 1, {_x:200, _y:450, _rotation:-90 }); TweenMax.allTo([mcArrowLeft,mcArrowRight,mcTopBar,mcScreenTitleBar,mcSlider2,mcInnerGlare,_root.mcPhone.mcGlare], 1, {_alpha:0}); TweenLite.to(mcAnnivVideoScreen, 1, {_alpha:100}); TweenLite.delayedCall(1.1, hidemcAnnivVideoScreen); function hidemcAnnivVideoScreen(){ mcArrowRight._visible = false; mcTopBar._visible = false; mcScreenTitleBar._visible = false; mcSlider2._visible = false; } } mcAnnivVideoScreen.mcBtnDone.onRelease=function(){ TweenLite.to(_root.mcPhone, 1, {_x:626, _y:16, _rotation:0 }); TweenMax.allTo([mcArrowLeft,mcArrowRight,mcTopBar,mcScreenTitleBar,mcSlider2,mcInnerGlare,_root.mcPhone.mcGlare], 1, {_alpha:100}); TweenLite.to(mcAnnivVideoScreen, 1, {_alpha:0}); mcArrowRight._visible = true; mcTopBar._visible = true; mcScreenTitleBar._visible = true; mcSlider2._visible = true; }
×
×
  • Create New...