Jump to content
GreenSock

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

timaging

Members
  • Posts

    250
  • Joined

  • Last visited

Everything posted by timaging

  1. Hi, I see that I can use the volume feature, but it appears that you have to call an external sound. I need to call an internal sound that's on a layer in the timeline because the server this goes on doesn't support calling external sounds for some firewall reason or something. I've tried calling the name to the frame, and the internal sound name, but none seem to be working. Is this possible? import com.greensock.plugins.VolumePlugin; TweenPlugin.activate([VolumePlugin]); //activation is permanent in the SWF, so this line only needs to be run once. TweenLite.to(mix02.mp3, 1, {volume:0}); this code throws an error, and so does calling the name. I don't see a way to make the sound a movie clip. thanks, Dave
  2. oh my god I'm so embarrassed! thank you! Dave
  3. here is the error I'm getting: Scene 1, Layer 'Layer 1', Frame 2, Line 211 1120: Access of undefined property yourTimeline. Line 211 in my code is the CLICK function: yourTimeline.currentProgress = 0.9; Dave
  4. Hi Carl, Did my second post clarify further: Here's sort of a compiled setup, but removing several of my timeline requests: var yourtimeline:TimelineMax = new TimelineMax({repeat:0,onComplete:myFunction}); yourtimeline.insert(new TweenLite(buttonSkipOff, 1, {autoAlpha:1, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:1})); function myFunction():void { } buttonSkipOff.addEventListener(MouseEvent.MOUSE_OVER, fl_MouseOverHandlerS); function fl_MouseOverHandlerS(event:MouseEvent):void { TweenLite.to(buttonSkipOver, 0.2, {autoAlpha:1, blurFilter:{blurX:0, blurY:0}}); } buttonSkipOff.addEventListener(MouseEvent.MOUSE_OUT, fl_MouseOutHandlerS); function fl_MouseOutHandlerS(event:MouseEvent):void { TweenLite.to(buttonSkipOver, 2, {alpha:0, blurFilter:{blurX:20, blurY:20}}); } buttonSkipOff.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPageS); function fl_ClickToGoToWebPageS(event:MouseEvent):void { yourTimeline.currentProgress = 0.9; } my attempt is to get to the end of this timeline using this code above. I just watched the tutorial video and it seems that this could be correct, but maybe the function attached to timelineMax is the issue. I then removed that and still got errors. thanks! Dave
  5. I'm now realizing I should probably clarify further. the code I have in the function now works fine, but it's not where the client wants to go: navigateToURL(new URLRequest("rules.html"), "_self"); And, my timeline is set up as such: var yourtimeline:TimelineMax = new TimelineMax({repeat:0,onComplete:myFunction}); yourtimeline.insert(new TweenLite(buttonSkipOff, 1, {autoAlpha:1, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:1})); function myFunction():void { } the, below that I have the timeline code for the button: buttonSkipOff.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPageS); function fl_ClickToGoToWebPageS(event:MouseEvent):void { yourTimeline.currentProgress = 0.9; } It seems that I have to call that timeline name somehow. I'm also going to re-watch the timeline video and hopefully that will shine some light on my situation. thanks!! Dave
  6. Hi, I was just trying to check out the volume code, and got this (see image attached) The transition doesn't finish. Dave
  7. Hi, I am trying to figure out how to get a button to go to the end of a timeline, around 66 sections. Here is what I have: buttonSkipOff.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPageS); function fl_ClickToGoToWebPageS(event:MouseEvent):void { yourTimeline.currentProgress = 0.9; } this however throws an error. I think I have to call "yourtimeline" somehow, but can't quite get it? thanks, Dave
  8. Hi Carl, if you scroll to the right, you will see that there is in fact the scene there. gotoAndPlay works fine with timeline, but that code for some reason didn't work just using TweenMax. Not sure why, but I also don't know enough about the interaction of the actionscript with the scene.
  9. ok, so just to note, I was able to get this resolved by using TimelineMax, although I'm curious if there is in fact a way to do it without that. There must have been a bug in my last timelinemax because it's working now... no errors thrown and didn't work is interesting though.
  10. Hi There- I personally don't know of any, but I see that Greensock has complimented the folks at FlashEff for their transitions. I use them in conjunction with greensock and it works pretty well. http://www.flasheff.com/
  11. Thanks Carl-I think however the greensock code may not understand this? Check out this screenshot attached. I'm getting a bunch of atcom errors, and it's telling me my scene was not found, but clearly you can see it's there: ArgumentError: Error #2108: Scene Nav01intro was not found. atflash.display::MovieClip/gotoAndPlay() atMIC_eCard01_fla::MainTimeline/goNextScene() atFunction/http://adobe.com/AS3/2006/builtin::apply() atcom.greensock.core::TweenCore/complete() atcom.greensock::TweenMax/complete() atcom.greensock::TweenMax/renderTime() atcom.greensock.core::SimpleTimeline/renderTime() atcom.greensock::TweenLite$/updateAll()
  12. Hi, I tried searching the forum and modifying something that was already there, but it doesn't appear to be working. At the end of a series of Tweens, I want this to to to the next scene: TweenMax.to(stateOutline, .5, {alpha:0, delay:14.5, onComplete:stateOutline.gotoAndPlay(1, "Nav01intro")}); but it doesn't go and throws an error? Maybe this can't be done? I tried doing all this using timelineMax, but for some odd reason the animation wouldn't work. I'm just hammering this out line by line for now. thanks, Dave
  13. yep. no problem. I'll create both and send you versions. it has a preloader on it, and it's an internal presentation so it's fine.
  14. yeah, not sure. the only thing I did was change alpha to autoAlpha and it went up. I think it's fine though for this project.
  15. ok, so first very quick test shows that the corruption is fixed. The file size (already 2.3 megs), is now 3.1 megs. I think that will be fine, but if there is a way to get that down, that would be awesome. THANK YOU! Dave
  16. ok. I'll try Auto Alpha but yes, I have several dozen pix on top of each other assembled as you mention. I notice that if I drag them off to the side then I do not get the corruption.
  17. well, I've found something but it's not the final answer. I've set an array to turn visible to false for everything after that point in the timeline. This works, but if I put visible:true in to each timeline instance, it just flashes on and I need it to fade on. any suggestions would be immensely appreciated. thanks! Dave
  18. Hi there, check this url out. Notice that it runs fine in Firefox, but really bad in Safari. Can anyone think of a reason this might happen? I've never seen this one before: http://www.taylorimaging.com/clientArea/10-PER-049/ thanks, Dave
  19. Hi, I'm trying to get this sequence playing smoothly. It seems to run OK locally, but once I post it, I have problems http://www.taylorimaging.com/clientArea/10-PER-049/ do you think maybe the loader isn't loading all the way? currently I have OverwriteManager.init(OverwriteManager.AUTO); would this be the best solution for this? thanks, Dave
  20. thanks! this appears to have done the trick- Dave
  21. definitely no progressHandler there either: import com.greensock.*; import com.greensock.easing.*; import com.greensock.plugins.*; TweenPlugin.activate([blurFilterPlugin, MotionBlurPlugin]); import com.greensock.text.SplitTextField; OverwriteManager.init() var allClips:Array = [text01, text02, bar, woody_700color_01, woody_700color_02, FordColor700w, modelA_Aged, woody_Aged, woody_Color, challengerLG01, challengerLG02, challengerLG03]; TweenMax.allTo(allClips, 0, {alpha:0, blurFilter:{blurX:20, blurY:20}}); var yourtimeline:TimelineMax = new TimelineMax({repeat:0,onComplete:myFunction}); yourtimeline.insert(new TweenLite(modelA_Aged, 8, {x:-310, y:-260, alpha:1, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}})); yourtimeline.insert(new TweenLite(FordColor700w, 3, {alpha:1, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:7})); yourtimeline.insert(new TweenLite(woody_Aged, 0.1, {alpha:1, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:11})); yourtimeline.insert(new TweenLite(woody_Aged, 1, {x:"-20", y:"0", alpha:0, ease:Quad.easeInOut, blurFilter:{blurX:10, blurY:10}, delay:11.1})); yourtimeline.insert(new TweenLite(woody_Aged, 0.1, {alpha:1, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:11.5})); yourtimeline.insert(new TweenLite(woody_Aged, 1, {x:"-20", y:"-20", alpha:0, ease:Quad.easeInOut, blurFilter:{blurX:10, blurY:10}, delay:11.6})); yourtimeline.insert(new TweenLite(woody_Aged, 0.1, {alpha:1, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:12})); yourtimeline.insert(new TweenLite(woody_Aged, 1, {x:"-20", y:"0", alpha:0, ease:Quad.easeInOut, blurFilter:{blurX:10, blurY:10}, delay:12.1})); yourtimeline.insert(new TweenLite(woody_Aged, 0.1, {alpha:1, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:12.5})); yourtimeline.insert(new TweenLite(woody_Aged, 6, {x:"-400", y:"-400", alpha:1, ease:Quad.easeInOut, blurFilter:{blurX:10, blurY:10}, delay:13.1})); yourtimeline.insert(new TweenLite(woody_700color_02, 2, {alpha:1, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:14})); yourtimeline.insert(new TweenLite(woody_700color_01, 2, {alpha:1, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:15.5})); yourtimeline.insert(new TweenLite(challenger, 1, {ease:Quad.easeInOut, blurFilter:{blurX:50, blurY:50}, delay:18})); yourtimeline.insert(new TweenLite(challengerLG01, 4, {x:-8, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:19})); yourtimeline.insert(new TweenLite(challengerLG01, 2, {alpha:1, delay:19})); yourtimeline.insert(new TweenLite(challengerLG01, 2, {alpha:0, delay:21})); yourtimeline.insert(new TweenLite(challengerLG02, 4, {y:-330, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:22})); yourtimeline.insert(new TweenLite(challengerLG02, 2, {alpha:1, delay:22})); yourtimeline.insert(new TweenLite(challengerLG02, 2, {alpha:0, delay:24})); yourtimeline.insert(new TweenLite(challengerLG03, 4, {x:-350, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:25})); yourtimeline.insert(new TweenLite(challengerLG03, 2, {alpha:1, delay:25})); yourtimeline.insert(new TweenLite(challengerLG03, 2, {alpha:0, delay:27})); yourtimeline.insert(new TweenLite(bar, 2, {alpha:1, y:"-20", ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:29})); yourtimeline.insert(new TweenLite(text01, 1, {alpha:1, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:30})); yourtimeline.insert(new TweenLite(text02, 1, {alpha:1, ease:Quad.easeInOut, blurFilter:{blurX:0, blurY:0}, delay:31})); function myFunction():void { yourtimeline.stop(); } stop();
  22. Hi There- I opened this file in a different version of Flash and got an error on this line saying it was a Duplicate Function Definition: function progressHandler(event:LoaderEvent):void { myTextField.text = int( loader.progress * 100 ) + "%"; } Taking this out worked, but I kinda wanted to try and use it.
  23. Hi there- I did try that. I also found that if I removed the text percentage information that it started to work, although I'd like to have that. thanks, Dave
  24. I should also mention that if I remove the loader altogether, the project works fine, but I definitely need the loader. thanks! Dave
  25. Hi, I just tried putting this on frame 1 of my project: import com.greensock.loading.*; import com.greensock.events.LoaderEvent; import com.greensock.loading.display.*; stop(); var loader:SelfLoader = new SelfLoader(this, {onProgress:progressHandler, onComplete:completeHandler}); function progressHandler(event:LoaderEvent):void { progressBar.scaleX = event.target.progress; } function progressHandler(event:LoaderEvent):void { myTextField.text = int( loader.progress * 100 ) + "%"; } function completeHandler(event:LoaderEvent):void { this.gotoAndPlay(2) } but when it goes to frame 2, which also has stop();, it goes nutty. http://www.taylorimaging.com/clientArea/10-PER-049/10-PER-049_LoG.html any ideas would be greatly appreciated. I appear to have everything named correctly, and I've even tried gotoAndStop for the second function, but that doesn't hold it.
×