Jump to content
Search Community

weblongo

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

1,458 profile views

weblongo's Achievements

0

Reputation

  1. keen to get this working in captivate 2017 - have had some success i can load the library and get some elements of tweenmax working but not others. Hope someone can take this forward mike
  2. Hi, I have had some success at getting GASP to work with adobe captivate with this code below using xampp and loading the library with this function addScript( src ) { var s = document.createElement( 'script' ); s.setAttribute( 'src', src ); document.body.appendChild( s ); } addScript('https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.2/TweenMax.min.js'); then this TweenMax.to("#textbox1", 2, {backgroundColor:"#4286f4", width:"50%", top:"100px", ease:Power2.easeInOut}); What happens is that the textbox1 remains where it is and the background colour animates perfectly - so i know the library is loaded my problem is getting the reference to the object in captivate. Now this is a bit chicken and egg as the captivate community don't really get how awesome GASP is - and the Greensock peeps don't realise how cool captivate is and how many devs there are whose head will explode when they see it working I have examples i can share- but can't get down to the size i can sent via email if anyone wants to push this forward. thanks M
  3. Hi, this is a way of using lectora with greenock... and it looks great http://elearningbrothers.com/video-5-steps-for-using-greensock-animations-in-lectora/ My question...Is there a way of doing the above with Captivate 9 (i don't want to load web objects in captivate ) I guess the first thing to to work out where the green sock src file should go and if we can do simple animations it would be awesome if we can get greenock working with E-Learning developers cheers Mike
  4. I have this code that rotates a movie clip.... I use all the time, but it works great in the old timeline max but not in the new can someone help me fix it.. import com.greensock.*; import com.greensock.easing.*; var flipSpeed:Number = 0.3; flipper.back.rotationY = -180; flipper.back.alpha=0; flipper.addEventListener(MouseEvent.CLICK, flipCard1); var isFlipPlaying1 = false; var tl:TimelineMax = new TimelineMax({paused:true}); tl.append(TweenMax.to(flipper.front, flipSpeed, {rotationX:180, visible:false, ease:Linear.easeNone})) tl.append(TweenMax.to(flipper.back, 0, {alpha:1, immediateRender:false})) tl.append(TweenMax.to(flipper.back, flipSpeed, {rotationX:0, ease:Linear.easeNone})) function flipCard1(event:MouseEvent):void { switch (isFlipPlaying1) { case true : isFlipPlaying1 = false; trace("playing false"); tl.tweenTo(0); break; case false : isFlipPlaying1 = true; trace("playing true"); tl.tweenTo(tl.duration); break; } }
  5. Hi i want to achieve a scrolling parallax background, with layers in front using greensock Tween Max is there a starting script i can use? Or can anyone help me with best way to do this. regards WL
×
×
  • Create New...