Jump to content
Search Community

saruzaru

Members
  • Posts

    5
  • Joined

  • Last visited

saruzaru's Achievements

0

Reputation

  1. I'm using the transform matrix because I'm trying to move really big movieclips with huge bitmaps and transparent flv's in them, and transform matrix proved to be the best way to achieve that, without the movieclip jumping and skipping as much as regular x,y or scrollRect manipulating. I wanted to use roundProps because the flv components in the movieclip are noticeably moving at a different pace than the bitmap behind them. Am I mistaken? does using transform matrix tx, rather than simple x, have any performance advantage in manipulating large objects?
  2. how could one achieve that? roundProps of a transformMatrix tx or the like... does anyone know?
  3. I finally made it work It had nothing to do with TimelineMax after all. When I was doing my calculations: skyXto = (sky_mc._width - Stage.width); fieldXto = (field_mc._width - Stage.width); both the widths of the mc's i was trying to move around were the same as the stage width, that's why it wasn't moving. It was all because of scrollRect, that is somehow buggy because I needed to null it a couple of times until sky_mc._width was the original one, not the one of the scrollRect Sorry for all the trouble! At least now I know how to remove and see what tweens the timeline has
  4. You are right, that wasn't what I wanted(scope wise), thank you. The problem still exists. After I remove the tweens from the timeline(i'm not really sure if timeline.remove(tween) really works though, I don't know how to test that) and insert the new ones, my traces of the timeline progress indicate that it changes, but visually nothing happens. It's like the insert doesn't work any more. I have uploaded the .fla I'm working on here:https://www.wetransfer.com/dl/2rNIe2Qx/80b0b641f4bf28c27c8b908013f602b0caa72e8a4590efe0530628bb9905edc2e355050f12de421 Maybe you have the time to look at it. Also, how could one make a listener for timeline.currentProgress?
  5. First of all, hello! I have a similar problem, I am trying to update some variables(skyXto & fieldXto) in some tweens inserted in a timeline. And in order to achieve this,when I resize the stage, I try: skyXto = (sky_mc._width - Stage.width); fieldXto = (field_mc._width - Stage.width); parallaxTween.remove(skyTween); parallaxTween.remove(fieldTween); delete skyTween; delete fieldTween; var skyTween:TweenMax = new TweenMax(sky_mc,11,{scrollRect:{x:skyXto},ease:Linear.easeNone}); var fieldTween:TweenMax = new TweenMax(field_mc,11,{scrollRect:{x:fieldXto},ease:Linear.easeNone}); parallaxTween.insert(skyTween); parallaxTween.insert(fieldTween); Does anyone have any idea why this doesn't work?
×
×
  • Create New...