Jump to content
Search Community

opamint

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by opamint

  1. 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. 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!

  3. 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!

  4. 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!

  5. 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...