Jump to content
Search Community

booglebop

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by booglebop

  1. I have a lot of movieClips that are going to basically be doing the same animation with tweenProxy3D. My questions is, do I have to set up vectors for the registrations points of every single movieClip I want to tween? I would like to simply use initial registration point that I set when converting to a symbol. For my purposes, right now, all of the movieClips with have centered registration points. Would you give me some examples of how I can do this? Thanks in advance!
  2. Ahh, looks like the "tween to frame" will work for frame by frame animations. Still curious about calling functions though.
  3. Let's say I have everything set up as a timelineMax. Is it possible to call a function in the middle of the timelineMax sequence without stopping it? For example, if in the middle of my timelineMax sequence I need to insert a frame by frame animation for one of the objects on the stage. Is there a way to basically call a separate function from somewhere in the middle of the timelineMax sequence without stopping it? I hope this makes sense. I'm very new to actionscript. Thanks!
  4. I'm attempting to create an animation that transforms the symbols around it's centerpoint in z-space, faking the appearance that it's spinning. Right now I'm trying to use the transform manager and using the following code: researchIntroAnim.insert(TweenMax.from(dollarSign, 0.25, {scaleX:0, scaleY:0, delay:1, transformMatrix:{skewY:-180}, ease:Back.easeOut})); This gets me half the "rotation" i'm looking for. Is there some way to repeat or yoyo this so that it appears to go all the way around? My goal is to have it spin 2-3 times and then stop. Note that this "spin" animation i'm looking for is part of a much longer timeline (researchIntroAnim) so it would need to somehow fit into a larger timeline as apposed to having it as it's own independent animation. I tried to create a separate timeline for just the spin and then nest that timeline inside the researchIntroAnim timeline but I wasn't able to figure out how it would work. I'm on a deadline so your help is greatly appreciated. Thanks and great work on a great product.
  5. that does the trick! it seems to be ignoring the delay: though...doesn't matter if i put 1 or 15 seconds...it just fires right away.
  6. ahhh ok cool. would you mind giving me an example? i'm not sure what i would substitute for myFunction and "myString" and where does the stagger come in... is that the function or the string? sorry i'm a designer trying to code, not a coder trying to design thanks again for all the help!
  7. makes sense, thanks. no errors, however now i've lost the stagger of the tweens. ? var buildHexTL:TimelineMax = new TimelineMax(); buildHexTL.insert(TweenMax.from(hexMama, 0.5, {delay:1, autoAlpha:0, ease:Linear.easeOut})); buildHexTL.insertMultiple(TweenMax.allFrom([hexOrangeA,hexGreenA,hexOrangeB,hexOrangeC,hexGreenB,hexOrangeD,hexGreenC,hexOrangeE,hexOrangeF,hexOrangeG,hexOrangeH,hexOrangeI], 1, {autoAlpha:0, delay:1, stagger:0.2, scaleX:0, scaleY:0, ease:Back.easeOut}), buildHexTL.duration);
  8. if i call it using TweenMax.allFrom() i get this error 1067: Implicit coercion of a value of type Array to an unrelated type gs.core.tween:Tweenable. same block of code as above with the exception that TimelineMax.allFrom changed to TweenMax.allFrom (last line in block of code below) function buildHex():void { var buildHexTL:TimelineMax = new TimelineMax(); var addHexes:Array=[hexOrangeA,hexGreenA,hexOrangeB,hexOrangeC,hexGreenB,hexOrangeD,hexGreenC,hexOrangeE,hexOrangeF,hexOrangeG,hexOrangeH,hexOrangeI]; buildHexTL.append(TweenMax.from(hexMama, 0.5, {delay:1, autoAlpha:0, ease:Linear.easeOut})); buildHexTL.append(TweenMax.allFrom(addHexes, 1, {autoAlpha:0, delay:1, stagger:0.2, scaleX:0, scaleY:0, ease:Back.easeOut})); } ahhh... as far as the dropshadowfilter being applied via an array...i think you're right. the INITIAL filter values are applied/assigned via the array however when i actually tween those values i use a simple TweenMax statement. //apply initial values via array var hexShadow:DropShadowFilter = new DropShadowFilter(); hexShadow.distance=0; hexShadow.angle=0; hexShadow.color=0x000000; hexShadow.alpha=0; hexShadow.blurX=0; hexShadow.blurY=0; hexShadow.strength=0; var hexFX:Array=[hexOrangeA.hexFX,hexOrangeB.hexFX,hexOrangeC.hexFX,hexOrangeD.hexFX,hexOrangeE.hexFX,hexOrangeF.hexFX,hexOrangeG.hexFX,hexOrangeH.hexFX,hexOrangeI.hexFX]; for (var k:int = 0; k hexFX[k].filters=[hexShadow]; } //tween the shadow TweenMax.to(event.target.hexFX, 0.3, {dropShadowFilter:{color:0x000000, alpha:0.4, blurX:50, blurY:50, strength:1, angle:45, distance:40}}); although i'm still using the "hexFX" var (which contains the initial array) in the TweenMax.to statement. maybe it's because i use event.target... i dunno? if i do it this way it seems to work...but then i've lost the align and staggar functionality of timelineMax which i need in this case TweenMax.from(hexMama, 0.5, {delay:1, autoAlpha:0, ease:Linear.easeOut}); TweenMax.allFrom([hexOrangeA,hexGreenA,hexOrangeB,hexOrangeC,hexGreenB,hexOrangeD,hexGreenC,hexOrangeE,hexOrangeF,hexOrangeG,hexOrangeH,hexOrangeI], 1, {delay:1.5, autoAlpha:0, delay:1, stagger:0.2, scaleX:0, scaleY:0, ease:Back.easeOut});
  9. hmmm.. good to know. that's weird because the dropshadowfilter is applied via an array and it works. so i just downloaded the updated class files and i'm getting this error: 1061: Call to a possibly undefined method allFrom through a reference with static type Class. it's referring to this line: buildHexTL.append(TimelineMax.allFrom(addHexes, 1, {autoAlpha:0, delay:1, stagger:.2, scaleX:0, scaleY:0, ease:Back.easeOut})); found in the following block of code. function buildHex():void { var buildHexTL:TimelineMax = new TimelineMax(); var addHexes:Array=[hexOrangeA,hexGreenA,hexOrangeB,hexOrangeC,hexGreenB,hexOrangeD,hexGreenC,hexOrangeE,hexOrangeF,hexOrangeG,hexOrangeH,hexOrangeI]; buildHexTL.append(TweenMax.from(hexMama, 0.5, {delay:1, autoAlpha:0, ease:Linear.easeOut})); buildHexTL.append(TimelineMax.allFrom(addHexes, 1, {autoAlpha:0, delay:1, stagger:.2, scaleX:0, scaleY:0, ease:Back.easeOut})); } any ideas? and thanks again!
  10. re-downloaded and installed class files-no dice. i have attached the problem file. all i'm trying to do is have the hexagons glow. stop glowing on mouseover and resume on mouseout. maybe i'm approaching it in the wrong way so any feedback on my noob actionscripting is welcome...i'm pretty sure the problem lies on line 45 - var glowHex:TweenMax = TweenMax.to(hexFX, 1, {glowFilter:{color:0xffffff, alpha:0, blurX:10, blurY:10, quality:3, remove:true}, yoyo:true, repeat:-1}); but maybe i'm looking in the wrong place. thanks so much for the help.
  11. nothing changed. (i rebooted lol). i'm using the lastest version of timelineMax (which rocks i might add).
  12. this code was working fine yesterday and for some reason this morning i'm getting: TypeError: Error #1009: Cannot access a property or method of a null object reference. at gs.plugins::FilterPlugin/initFilter() at gs.plugins::GlowFilterPlugin/onInitTween() at gs::TweenLite/init() at gs::TweenMax/init() at gs::TweenMax/renderTime() at gs.core.tween::SimpleTimeline/renderTime() at gs::TweenLite$/updateAll() i need to have this thing working today (deadline) so any help is greatly appreciated. here is the code: //set up glow var hexGlow:GlowFilter = new GlowFilter(); hexGlow.color=0xffffff; hexGlow.alpha=1; hexGlow.blurX=10 hexGlow.blurY=10 hexGlow.quality=3 //add fx to hex var hexFX:Array=[hexOrangeA.hexFX,hexOrangeB.hexFX,hexOrangeC.hexFX,hexOrangeD.hexFX,hexOrangeE.hexFX,hexOrangeF.hexFX,hexOrangeG.hexFX,hexOrangeH.hexFX,hexOrangeI.hexFX]; for (var k:int = 0; k hexFX[k].filters=[hexGlow]; } var glowHex:TweenMax = TweenMax.to(hexFX, 1, {glowFilter:{color:0xffffff, alpha:0, blurX:10, blurY:10, quality:3, remove:true}, yoyo:true, repeat:-1});
×
×
  • Create New...