Jump to content

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


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Newbie

About thrasherstudios77

  • Rank
  1. Hello I have a master timeline that contains, 1 timeline per slide, each slide contains multiple tweens and 'labels' for animation in and out. This animation sequence runs over the course of a slideshow, where a user can hit next, prev, pause, play and let the slideshow play through uninterrupted. The master timeline is built on the 'slider-init' event, so before the slideshow animates in the first slide, all the timelines and tweens have been created. Now on the slideshow 'slide-change' event I need to seek(), either to a time value or to a label that corresponds to the current slide'
  2. Jamie Thanks but I do understand that. That's why my specific question was how to use the $(document) with the $.each so it does get re-triggered after the AJAX request , the issue is not a bad Ajax request. Remember I mentioned that the Mouse Event Handlers were being re-triggered using the $(document) syntax. I was hoping I could use the same trick with the $.each. Maybe this is a question for stackoverflow but Jonathon asked for more information on the problem so I provided it.
  3. Both types of each functions work the first time but both types fail once the AJAX request comes back. Here is my code. $(document).on('mouseover','.items .item >:first-child',this.itemOver); $(document).on('mouseout','.items .item >:first-child',this.itemOut); itemOver: function() { this.animation.play(); }, itemOut: function() { this.animation.reverse(); }, $.each(items, function(i,element) { var tl = new TimelineLite({paused:true}), front = $(this).find(".front"), back = $(this).find(".back"), ease = 'ease-in-out', timing = 0.4; TweenLite
  4. Thank you that example worked great. However I have a new issue. On the page that this script is on I am loading the items with the flip effect with AJAX. So it works the first time but when new items get loaded to the page with AJAX the $.each method is not retriggered. Mouse Events still work after returned Ajax request using the below code (for some reason I can't get .hover to work with $(document) like in the example...hmm..be really curious to see how to do that instead of having to use 'mouseover' and 'mouseout') $(document).on('mouseover','.item >:first-child',this.itemOv
  5. Hi I am trying to recreate this common CSS 3D flip effect but using only jQuery and TweenLite. Here is a working codepen with the CSS3 effect I am trying to recreate. http://codepen.io/rudeworks/pen/kamEb And here is my jQuery attempt so far. http://codepen.io/ben_jammin/pen/vGspk?editors=001 On my example I am able to get it to flip front to back the first time the way it should be, but having issues on "mouseout" and then on the second "mousenter" everything gets jacked. Any help is appreciated.
  6. Hi I need someway using TweenLite to add tween properties after the tween has been created, not during an animation but in a different method. Before to achieve this I was utilizing TweenMax.updateTo() method, but now I need to achieve the same thing but with TweenLite. Here is the working code using TweenMax. openMenu: function(e) { this.containerTween = new TweenLite.to(this.container, this.duration, { force3D: true, ease: this.ease, }); this.addFX('in', this.fxType); } addFX: function(transition, type) { switch (type) { case '3d-rotate-in':
  7. To take this maybe a step further is there a way to dynamically remove tweens from an object. Get a list of current tween properties on a tweened object then say run a loop to remove each of these tween properties private function removeTweens(media:DisplayObject):void { //Run a loop to find all the tween properties on an object // Of course this doesn't work but just to get the idea across for each(var prop in tweenProps){ prop.remove = true } } Now that I know that keeping a tween alive on an object takes a bit of a hit on performance I would really like to start remo
  8. I am trying to find a way to completely remove some tween effects from my video as I have noticed that once they are applied the CPU takes a performance hit of about double. So I apply an effect to my video when the video is paused and then it gets removed when the video is playing again. And I try to remove the effect completely like this private function removeTweens():void { TweenMax.to(_video, 0.6, { ease:Circ.easeOut, blurFilter: { blurX:0, blurY:0 },colorMatrixFilter: {brightness:1, contrast:1, saturation:1 }, onComplete: function():void { TweenMax.killTweensOf(_vi
  9. Ok but I only tried to shut down the stream in the first place because I am having the issues with mulitple streams playing at the same time. Like I mentioned if I go to a different video slide and then I hit the play/pause button the current video slide stops playing but the previous video slide starts, so although I am not seeing the previous video I can hear it playing, which lets me know that the previous video slides stream is still active right?? This may help some. Each video slide carries with it a unique VideoLoader as well as a unique instance of my custom VideoPlayer class (whic
  10. I have a slideshow where each slide can be a video, swf, image ect. Each video slide is a VideoLoader instance and has its own video player. So I am running into this issue where if I watch one video slide and then navigate to another video slide when I hit the play pause button it stops the current video and starts playing the previous slide's video. So its like there are 2 streams currently in memory. So I thought that what I needed to do was on transition out of a slide I should close the netstream for the video slide I am navigating away from. Like this public function disab
  11. Yeah that would work great for checking the loaders after they have been created. Thanks Jack
  12. I downloaded a newer version of LoaderMax and the getChildAt() method was there, strange that it wasn't a part of my initial install. Was this added in latter versions?
  13. I tried searching for that method and believe it doesn't exist in my current LoaderMax Version /** * VERSION: 1.761 * DATE: 2010-12-07 * AS3 * UPDATES AND DOCS AT: http://www.greensock.com/loadermax/ **/ I assume a newer version of LoaderMax has this feature? My version came from a default install of Gaia framework
  14. Well how about that...getChildAt doesn't show up in my code hinting for some reason (FlashDevelop) getChildren() and getChildIndex() do but not getChildAt(), should have looked at the docs more closely. I thought it strange you didn't include that feature but you did Now I need a way to switch between which type of loader being returned to my getMedia() method. I could just use a switch statement but I am wondering if LoaderMax doesn't come with a feature I may have overlooked like LoaderMax.type or something?