Jump to content

Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

Everything posted by cwiens

  1. I was thinking that too. Thanks for jumping in with your expertise!
  2. Found the solution. Not completely sure why putting it in a function solved it but this created zero errors. var item = $('[aria-label="myElement"] svg') go(); function go() { TweenLite.to(item, 1, {left:"63px"}); }
  3. I was just trying to un-minify the app.min.js file to see where the heck that error is pointing to. It is hard to get through to someone technical enough on the Storyline end to understand questions like that.
  4. Storyline does not give me any control over publishing min files.
  5. I took that out and it no longer throws the above error. Still the push errors though.
  6. Sorry about that. Put the wrong link. This is pointing to an uncompressed TweenMax.js file. https://360.articulate.com/review/content/2c72465e-38f4-44ec-9b5a-e0295c4a6601/review
  7. It works well so I am tempted to just ignore the error. I use GreenSock outside of Storyline all the time and would love to get it working in our eLearning authoring tool, Storyline. The animation tools are weak in Storyline.
  8. Here is the most simplified I can get it. There are just two triggers (storyline coding) that first load the CDN and then tween the box on the stage. You can see for all 3 tweens it throws the PUSH error. https://360.articulate.com/review/content/e71d0732-f5d1-4f16-817f-c7c3a2c5be3d/review var bx = $('[aria-label="box01"] svg') TweenMax.set(bx, {transformPerspective:450}); TweenMax.to(bx, 4, {alpha:1, scale:.8, rotationY:45, ease:Back.easeOut}); TweenMax.to(bx, 4, {delay:4, scale:1, rotationY:-45, ease:Back.easeOut}); TweenMax.to(bx, 4, {delay:4, scale:5, rotationY:0, ease:Back.easeOut});
  9. Thanks for the reply. Yes, I agree, Storyline is making it difficult for sure. Since it is a push error I was wondering if Greensock was tripping on the [] in the variable definition. I will try to strip it down further and point to the uncompressed TweenMax.
  10. Sorry I am not able to create a CodePen for this because it is happening in storyline. I figured out how to use Greensock directly in Storyline by using this code to get the object name using Jquery. var SL1_01 = $('[aria-label="leftIntro"] svg') TweenMax.set(SL1_01, {transformPerspective:450}); TweenMax.to(SL1_01, 4, {alpha:1, scale:.8, rotationY:45, ease:Back.easeOut}); Here is an example in Articulate Review, after you click start the left stripes rotate. https://360.articulate.com/review/content/28f18475-4a3c-4eef-ba4e-37546b6d5c20/review For every tween it throws an error, but still works perfectly. Uncaught TypeError: Cannot read property 'push' of undefined at g.l.render (TweenMax.min.js:14) at Object.o.render (app.min.js:3) at Object._._updateRoot (app.min.js:3) at Object.o.dispatchEvent (app.min.js:3) at e (app.min.js:3) Is it because of the brackets? It does not work without them. The only way to target objects in Storyline is to use the Accessibility feature and name object and include the svg statement at the end. Again this works great but throws the above error with every object we tween. I would love to just ignore the error but would rather solve it :). Thanks for
  11. me too. Great solve. Tried so many other things and I kept getting some larger jpg's loading while the animation had already started. I am using jquery which normally resolves this but I think the extra large jpgs were loading but not fully rendering. Not sure but this approach seems to have fixed it.
  12. Figured it out. It was a scoping issue. I added window. to make the function global and it works. window.pauseTL = function () { tl.pause(); }
  13. My problem is I can not control TweenMax from outside of the Adobe Animate HTML structure. It throws all my GSAP code into an external JS file but then wraps it up in a closed function and it becomes a scoping issue that is hard to resolve. I am going to just hand code for now.
  14. Yes, I have referenced that for sure. Thanks! Really the only reason why I occasionally use Adobe Animate is because you do not have to write any CSS, You can mask things very easily. CSS not that big a deal but MASKING is huge. I am sure I can do similar using parent DIV's. Curt
  15. Hi, this is a very specific issue. I am using Greensock to add HTML5 animations to Storyline (eLearning tool) it will allow you to add web objects to a slide. I have figured out how to communicate between my hand coded GSAP animations and Storyline just fine by targeting the iframe that the web object lives in. Occasionally we use Adobe Animate with GSAP and that is where it breaks. Adobe animate changes the scope of the GSAP code putting it in a closed function: I can fire this function: function controlAnimate(){ alert(); //tl.pause(); } Anything in this function, which is where the GSAP code lives, is not accessible. (function (cjs, an) {... GSAP code is in here. I have tried everything to access the GSAP code with no luck. I know this is a scoping issue I am just not sure how to get around the function with closure. above function firing the alert from Storyline in the animate html. Anything inside (function(... does not work. https://360.articulate.com/review/content/0112d7f3-c73e-475a-adb6-15f30ed9f4bf/review Successful control of hand coded GSAP animation from Storyline: https://360.articulate.com/review/content/5e2693d1-be09-44d8-84ee-eca0dfee96e5/review This is a bit more of an adobe animate question I guess throwing it out there just in case anyone has a clue. DANKE!
  16. I am leary of any tools that add their own code. My banners are clean and free of any proprietary code which makes trouble shooting easy and keeps file sizes at a minimum. I have spelled this out a few times on the forum, not sure if other are using the same approach. I have created a template in photoshop that has all my banners sizes in one doc. Everything is using the CC feature Generate/Image assets. I have one layer group for each size that holds all the banner contents and is exported automatically for the static backup banner. All the assets for the HTML banners have layer names such as: 2017_Q1_ CS_NewYear _DR_HTML5_12-25-2016_to_1-15-2017_P34416_160x600/txt01.svg, we use folders to track everything and then I use generic naming for the layer assets with txt01.svg, product01.png or .jpg. I put my html template in the same folder, all the common code and assets are on a CDN. Any changes I make in photo shop to the assets are automatically updated and all that I have to do is refresh the browser to see the changes. I do not know how it could be any easier. Dragging things around on timelines is laborious in my opinion. This is a pretty rapid work flow for me.
  17. Created some holiday banners this last year with a streaming video background, some gif animations. http://cwiens.com/curt/shutterfly_holiday_2016/2016_Q4_CS_Holiday_DR_HTML5_11-01-2016_to_12-25-2016_P29046_300x600/index.html AOL rejected the video background (file size) but they passed everywhere else.
  18. cwiens

    DrawSVG help

    Thanks guys, yeah I put the thicker stroke on to see if I could use fill:none and animate the stroke. I figured this was too complex. Thanks for the feedback so I can take a different approach!
  19. cwiens

    DrawSVG help

    I am trying to create a "handwriting" type effect here and when I animate this it is way too complex. http://cwiens.com/curt/shutterfly_holiday_2016/test/ I am wondering if anyone knows how I can prep this .svg so it animates more like handwriting.
  20. https://www.richmediagallery.com/detailPage?id=8133 Just found this.
  21. Hmm, I have noticed some performance differences between the two Alpha seems to tween bitmaps more smoothly. Maybe it is my imagination
  22. OMGOSH. thanks. I have been off for a couple weeks and I guess I stopped looking at details, lol. THANKS!
  23. I searched the forums and could not find a specific answer to this. I have a main timeline and nested timelines. I want to repeat the main timeline 3 times. Whenever I pass in the repeat parameters into the main timeline the whole thing breaks var mainTimeline = new TimelineMax(repeat:2, repeatDelay:20); I am about to put everything into one timeline due to time constraints but wondering if anyone has a solve for this? Thanks!
  24. Moat.com use to be a great place to see display in the good old days of Flash. You used be able to hover over ads and see the animation. Looks mostly static now. Here are some Father's Day ads I did recently: http://cwiens.com/curt/shutterfly_fathersday_2016/
  25. Thanks, I did a deeper cache clearing and that did it. Danke!