Jump to content
Search Community

opamint

Members
  • Posts

    15
  • Joined

  • Last visited

opamint's Achievements

0

Reputation

  1. opamint

    addCallback error

    Hi, I'm trying to insert a callback into a timeline using this code: <script type="text/javascript" src="src/uncompressed/TweenMax.js"></script> . . . tl.to( d1,1, {css:{autoAlpha:1}}) .to( d2,1, {css:{autoAlpha:1}},0) .to( d3,1, {css:{autoAlpha:1}},0) .addCallback(pauseMyMovie,14.5) and I'm getting this error message: Uncaught TypeError: Object [object Object] has no method 'addCallback' Without addCallback line everything is working fine. What I'm doing wrong? Thank you very muck! Octavian
  2. Now it realy works! Thank you very much! I believe that your product is fantastic!
  3. I know that some instructions are redundant but I've used them hoping that will fix the issue. I've downloaded the new package but the problem still persists. What else should I change in order to make it works? I've set the currentProgress to 100000 for the reversed flow because I want a virtualy endless loop. I've also tried the timeScale property, but if the command is repeted this will double the speed of the flow again and again, so I believe the duration property is a better option. Thank you!
  4. Yes, this is the issue. You have right, the currentProgress is 0 but I've already tred something like as you are suggesting but still the flow stops. Here is the code attached.
  5. Here is the fla file which shows the issue. Thank you!
  6. My code is pretty big and I have to make a simple version which shows the same issue. I will send you the fla file tomorrow. Thank you very much!
  7. Sorry, it's my mistake. The code still doesn't work. When I thy to change the duration "on the fly" for the tween which have reverted flow, the movement stops.
  8. It works! Thank you very much for your quick solution!
  9. I have a problem when I change the duration of the tween "on the fly". I use repet=-1 option (repeted indefinitely) and when I set the new duration , the tween is stoping after that duration, without repeting the tween. What should I do in this case? Thank you!
  10. Sure. I try to control myTimeline using two buttons for play and for pause. The swf is visible loaded and is visible playing when I try to pause it.
  11. Hi, I have a file which has a timeline like this: var myTimeline:TimelineMax = new TimelineMax(); This file is loaded inside a main movie and I have to pause/play the load movie timeline from the main movie. The swf file is loaded inside a movieClip named slideContainer. I've tried something like this but doesn't work: slideContainer.myTimeline.pause(); and slideContainer.myTimeline.play(); I have to mention that the loaded swf file is for sure the slideContainer because I've done something like this after the loading of the swf: function loadFinished(event:Event):void { slideContainer=event.target.content as MovieClip; addChild(slideContainer); } Do you have any suggestions? Thank you very much!
  12. Thanks for your answer. I am a huge admirer of your work.
  13. Here is a CS3 version with two tubes. You have to use the latest greensock classes inside the com folder. You don't need to make the tweens transparent. A mask can be used instead. There is someone who knows how to use a path generated with the pencil tool not programmatically like in greensock example? Thank you!
  14. I believe spycatcher need something like I've done in the attached file. The boxes and the path should be added to a MovieClip and than you can apply masks and color effects to this movie. I have a question for greensock: It is possible to use a complex path created using the pencil tool not just a path defined programatically? Thank you very much!
×
×
  • Create New...