Jump to content
Search Community

lancetom

Members
  • Posts

    4
  • Joined

  • Last visited

lancetom's Achievements

0

Reputation

  1. Hi Chris, So I finally managed to get the code working , thank you it's nice. But I have a few more question, It's seem that the dragger hide the symbol that is scrub through the stage even if this one is up on the element list, maybe there is something to do ? Because even If I lower the opacity I will not able to click on any button. I try with srollTop but I can't scroll more than a few pixel, what setting should I put in the code ? And the last, how would you do to have control on the timeline ? Does the timeline got a name like ("Timeline") Thanks for the code
  2. Hi Chris, I am sorry but I am not a master in Javascript, I have some trouble to get the script working. I have tried to explain as better as I could. I found this script write on scroll in the stage for edge animate: Var positionScrollVertical = $(e.target).scrollTop(); Var pas = Math.floor(positionScrollVertical / 980 * 2000) // 980 = width of the stage, 2000 = length of timeline, there is an animation from 0 to 2000 ms. Sym.stop(pas); /*The animation is played when scroll down. And it adds a symbol that is played between 220 and 260 px*/ //play If(positionScrollVertical >220 && positionScrollVertical <260) { Sym.getSymbol(“SymbolName”).play(); } //Hide If(positionScrollVertical > 700) { Sym.getSymbol(“SymbolName”).play(0); } This is basically what I want to do with the JSAP draggable plugin and throwprops to add some better effects. I have recapitulated all the process in an exemple. 1// I have my stage with a height of 2000 px and a width of 1024 px. 2// And I have a symbol (“Square”) that is a simple square that is out of the stage and that come from left to right in the stage in 2000 ms. this symbol is located at 600 px (height of the stage). 3// So I want when I scroll down the stage (with the Jsap draggable) to 600 px to make the symbol playing and reverse when I scroll up for exemple. 4// And same with an animation on the timeline, it’s a simple square (“Square_2”) also located at 700 px (height of the stage) same as before out of the stage and it comes on the stage in 2000 ms. Thanks for your help Tom
  3. Hi all, Thank you to all you guys for all the very quick answers !! Ok I will try the code you wrote Chris, and you are forgiven if there is any mistake , I coudn't have done better...Gongratulations for your son.
  4. Hi all, I was wondering if there is a way to control the timeline of edge animate like a parallax effects with the draggable and throwpropsplugin. I am able to scroll the stage with the draggable : Draggable.create(sym.$("Stage"), {type:"scrollTop"}) but I don't know how to take control of the timeline and play animation and symbol when scrolling down and reverse when crolling up. I want to be able to do an animation that could be like this web site " http://www.flashvhtml.com/ ". Thanks for any help !
×
×
  • Create New...