Jump to content


  • Posts

  • Joined

  • Last visited

Contact Methods

Profile Information

  • Gender
    Not Telling
  • Location
    Arnhem | The Netherlands
  • Interests
    Games, Movies, Comics, Lego

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ApplePI's Achievements



  1. Hi, Just a neat little thing I discovered today, when using a calaculation in JS with the a possible output of 'NaN' you can prevent errors like this: var newWidth = value1*value2; TweenMax.set(element,{ width:newWidth || 0 }); Hope this helps someone out, regards, Ivo
  2. Hi, I was wondering if I can call directionalRotation plugin directly in Javascript. Something like: var shortAngle = TweenMax.directionalRotation("420_short"); > shortAngle = 60 I just need the value returned by the plugin, I'm not using it in a Tween or something. Is that possible?
  3. Ok, I don't know this is a GreenSock bug or not but this happens a lot. When tweening the opacity of several divs and/or images at the same time, sometimes some divs/images disappear while- or after the tweening is done. The solution is very simple, instead of tweening the opacity to the value of '1', I use a value of '0.99'. And everything is working fine again. I found out this a solution for Firefox and FireFox Android. I don't if there are more browser with the same problem out there, but this might help.
  4. I had the same problem, I found out it this effect appears only with divs with a 'position:relative' property. When set to 'position:absolute' there is no problem...
  5. Hi, I've tried the solution you described (CSSRule) but I get a Security error in FireFox FireBug: SecurityError: The operation is insecure. specs: GreenSock TweenMax Beta 1.8.2 CSSRulePlugin.min.js version beta 0.5 FireFox 18.0.2 FireBug 1.11.1 Windows 7
  6. Hi, I'm trying to tween a Raphael set: var atomH1_1 = paper.set(); var atom_Circle1 = paper.circle(10, 10, 25).attr({id: 'circle1','gradient':'70-#00CC00-#00FF00','stroke-width': '0'}).data('id', 'circle1'); var atom_Circle2 = paper.circle(20, 20, 25).attr({id: 'circle2','gradient':'70-#0000CC-#0000FF','stroke-width': '0'}).data('id', 'circle2'); atomH1_1.push(atom_Circle1); atomH1_1.push(atom_Circle2); tween1 = TweenMax.to(atomH1_1, 0.3, {raphael:{'tx':100,'ty':100,'scaleX':0.5,'scaleY':0.5},ease:Power1.easeInOut, onComplete:nextStep}); But it seems it triggers an error in GreenSock (): TypeError: c is undefined file:///E:/the%20Factory/Vialight/06_www/js/greensock/plugins/RaphaelPlugin.min.js Line 13 When I use the Raphael animate, it works fine, (but that's not what I'm looking for): atomH1_1.animate({transform: "t100,100"}, 1000); Is it not possible to tween Raphael sets? Or what am I doing wrong? EDIT : I sort of solved the problem by using multiple targets in GreenSock: var mySet = [atom_Circle1,atom_Char1]; TweenMax.to(mySet, 2, {raphael:{'tx':100,'ty':100},ease:Power1.easeInOut});
  7. I found a 'bug'. In case two divs are placed on top of each other and the opacity of both is animated, text in the upper div will dissapear when the tween is completed. I tested this 'bug' in serveral browser and effect was the same overall. The workaround is to set the opacity to '0.99' instead of '1': new TweenLite(myText, 2, {css:{opacity:0.99}, delay:3}); PS. In the bottom div contained a image, the upper div is only text.
  8. Thanks, I will try that. Do you know if there is a list of css properties that GreenSock can animate. I searched the documentation but couldn't find it...(?)
  9. Hi, I'm a newbie so maybe this is dumb question. I like to animate the color of links, something like: new TweenLite(myMenu, 1, {css:{a:linkColor:"#FFF"}}), But I can't find the property for a:link or a:visited. Is there cheatsheet for all CSS properties that GreenSock can animate. thanks, Ivo
  10. Hi, I just replaced the GreenSock V11 with an old version (import gs.* etc.), the encryption software has no problems with this version. For now it okay, the stuff I wanted to do with GreenSock V11, can also be done with the older version. The bug is in the encryption sofware, but it's good to be aware of such problems. By-the-way, I'm really happy working with GreenSock, it saves so much development time
  11. Hi, I'm recently using the latest version of GreenSock Beta V11. I also use Amayeta SWF Encrypt 6.0 to encrypt the .swf files. Today I found out that the Encrypted .swf crashes and throws the following error: VerifyError: Error #1068: can not reconcile class com.greensock.TweenLite and *. at com.greensock::TweenLite$/updateAll() Has anybody has similiar problems with encrypted .swf files and GreenSock. PS. I'm also contacted the Amayeta support about this. regards, Ivo van de Grift