Jump to content
Search Community

kuriusOne

Members
  • Posts

    2
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    nyc
  • Interests
    flash, photography, skateboarding

kuriusOne's Achievements

0

Reputation

  1. It sure sounds like one of your targets must be null. Have you triple-checked to make sure you're passing in legitimate targets? I'd recommend putting a trace() above any suspect tween and see if the target is null. hi again and thanks for the quick response, OK, i'll put a trace on all my tweens; thing is, it was working fine before i upgraded from v10 to v11, i just thought there might be something obvious. thanks and i'll be back.
  2. Hi there, First off, Fantastic Class! I used to just code my own tween manager in every fla file, but now, this had made my life SOO much easier. Issue with the upgrade though.. i get this Error #1009 with the standard code I saw in the initial post: at com.greensock::TweenLite/init() at com.greensock::TweenMax/init() at com.greensock::TweenMax/renderTime() at com.greensock.core::SimpleTimeline/renderTime() at com.greensock::TweenLite$/updateAll() So if you could help, I'd VERY much appreciate it. here is the only function i'm having a problem with (all other tweens in the site work great, i suspect it may have to do with using so many variables, but we'll see huh?): //toggle pages visible function showModules(news:uint, schedule:uint, bio:uint, media:uint, ast:uint, cv:uint, rv:uint, mail:uint) { if (news == 1) { trace("Bringing in "+latestMod+" @ X coor "+latestMod.x+" with Width of "+latestMod.width+" with Speed of "+modSpOut+" to Alpha "+news); //latestMod.x = stage.stageWidth + (latestMod.width + 101); TweenMax.to(latestMod, modSpOut, {autoAlpha:news, x:stage.stageWidth - (latestMod.width-88), blurFilter:{blurX:0, blurY:0}, glowFilter:{alpha:.95, blurX:4, blurY:4, color:0x333333, strength:3}, delay:0.5, ease:Regular.easeOut}); } else if (news == 0) { TweenMax.to(latestMod, modSpIn, {autoAlpha:news, x:stage.stageWidth + latestMod.width, blurFilter:{blurX:21, blurY:3}, glowFilter:{alpha:0, blurX:7, blurY:7, color:0x333333, strength:3}, ease:Regular.easeOut}); } if (schedule == 1) { //latestMod.x = stage.stageWidth + (latestMod.width + 101); TweenMax.to(scheduleMod, modSpIn, {autoAlpha:schedule, x:stage.stageWidth - (scheduleMod.width-88), blurFilter:{blurX:0, blurY:0}, glowFilter:{alpha:.95, blurX:4, blurY:4, color:0x333333, strength:3}, delay:0.5, ease:Regular.easeOut}); } else if (schedule == 0) { TweenMax.to(scheduleMod, modSpOut, {autoAlpha:schedule, x:stage.stageWidth + scheduleMod.width, blurFilter:{blurX:21, blurY:3}, glowFilter:{alpha:0, blurX:7, blurY:7, color:0x333333, strength:3}, ease:Regular.easeOut}); } if (bio == 1) { //latestMod.x = stage.stageWidth + (latestMod.width + 101); TweenMax.to(bioMod, modSpIn, {autoAlpha:bio, x:stage.stageWidth - (bioMod.width-88), blurFilter:{blurX:0, blurY:0}, glowFilter:{alpha:.95, blurX:4, blurY:4, color:0x333333, strength:3}, delay:0.5, ease:Regular.easeOut}); } else if (bio == 0) { TweenMax.to(bioMod, modSpOut, {autoAlpha:bio, x:stage.stageWidth + bioMod.width, blurFilter:{blurX:21, blurY:3}, glowFilter:{alpha:0, blurX:7, blurY:7, color:0x333333, strength:3}, ease:Regular.easeOut}); } if (ast == 1) { //latestMod.x = stage.stageWidth + (latestMod.width + 101); TweenMax.to(astMod, modSpIn, {autoAlpha:ast, x:stage.stageWidth - (astMod.width-88), blurFilter:{blurX:0, blurY:0}, glowFilter:{alpha:.95, blurX:4, blurY:4, color:0x333333, strength:3}, delay:0.5, ease:Regular.easeOut}); } else if (ast == 0) { TweenMax.to(astMod, modSpOut, {autoAlpha:ast, x:stage.stageWidth + astMod.width, blurFilter:{blurX:21, blurY:3}, glowFilter:{alpha:0, blurX:7, blurY:7, color:0x333333, strength:3}, ease:Regular.easeOut}); } if (cv == 1) { //latestMod.x = stage.stageWidth + (latestMod.width + 101); TweenMax.to(cvMod, modSpIn, {autoAlpha:cv, x:stage.stageWidth - (cvMod.width-88), blurFilter:{blurX:0, blurY:0}, glowFilter:{alpha:.95, blurX:4, blurY:4, color:0x333333, strength:3}, delay:0.5, ease:Regular.easeOut}); } else if (cv == 0) { TweenMax.to(cvMod, modSpOut, {autoAlpha:cv, x:stage.stageWidth + cvMod.width, blurFilter:{blurX:21, blurY:3}, glowFilter:{alpha:0, blurX:7, blurY:7, color:0x333333, strength:3}, ease:Regular.easeOut}); } if (rv == 1) { //latestMod.x = stage.stageWidth + (latestMod.width + 101); TweenMax.to(rvMod, modSpIn, {autoAlpha:rv, x:stage.stageWidth - (rvMod.width-88), blurFilter:{blurX:0, blurY:0}, glowFilter:{alpha:.95, blurX:4, blurY:4, color:0x333333, strength:3}, delay:0.5, ease:Regular.easeOut}); } else if (rv == 0) { TweenMax.to(rvMod, modSpOut, {autoAlpha:rv, x:stage.stageWidth + rvMod.width, blurFilter:{blurX:21, blurY:3}, glowFilter:{alpha:0, blurX:7, blurY:7, color:0x333333, strength:3}, ease:Regular.easeOut}); } if (mail == 1) { //latestMod.x = stage.stageWidth + (latestMod.width + 101); TweenMax.to(mailMod, modSpIn, {autoAlpha:mail, x:stage.stageWidth - (mailMod.width-88), blurFilter:{blurX:0, blurY:0}, glowFilter:{alpha:.95, blurX:4, blurY:4, color:0x333333, strength:3}, delay:0.5, ease:Regular.easeOut}); } else if (mail == 0) { TweenMax.to(mailMod, modSpOut, {autoAlpha:mail, x:stage.stageWidth + mailMod.width, blurFilter:{blurX:21, blurY:3}, glowFilter:{alpha:0, blurX:7, blurY:7, color:0x333333, strength:3}, ease:Regular.easeOut}); } if (media == 1) { trace("MEDIA Section Up!"); } else if (media == 0) { TweenMax.to(filmStrip, 0.5, {autoAlpha:media, ease:Regular.easeOut}); TweenMax.to(slidesMc, 2, {autoAlpha:0, y:stage.stageHeight+101, blurFilter:{blurX:0, blurY:12}, ease:Regular.easeOut}); TweenMax.to(mb, 1, {autoAlpha:media, ease:Regular.easeOut}); titleTxt.text = ""; vYN = false; } } I apologize for this being lengthy, but I wanted to give you the whole scenario. As you can see, I also tried trace statements to test, but they all come back with values.. I'm so clueless right now, heh. Thanks SO much, in advance, for any help received!
×
×
  • Create New...