Jump to content

martis last won the day on July 28 2012

martis had the most liked content!


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by martis

  1. Hey guys, I run into sites that have great page transitions and are what I think are 'single page sites'. (ie http://humans-machines.com/ ) I understand how to build HTML, CSS, JS files, but I am not too familiar with building single page experiences... My question is... whats a good single page framework to start with knowing the goal is to build in custom page transitions using GSAP? Thanks!
  2. Thanks Blake! Ended up doing exactly that... Kind of a lot of overhead having to do separate tween calls for objects of objects, but such is life Took a look at the pixi plugin, awesome solution, may be a little beyond my knowledge/time at the moment.
  3. Having trouble finding an example of working with Three.js properties? Example line.rotation.y TweenMax.to(line1, 1, {rotation.y:180}); // does not like the .y Thanks!
  4. Yes, I tried adding overflow:visible... did not work sadly
  5. I found a fix... It was to add padding-right and negative margin-left, then move the whole thing margin-left
  6. Hey guys, I noticed in Safari that SplitText will clip the right side of some italic characters... Does anyone have a suggestion around this? Besides manually setting the width wider so it does not clip? Thanks, James
  7. Hey guys, Seems like a simple thing, but I'm not sure if it exists... Is there an onComplete that fires when ALL the tweens in a stagger have completed? Thanks
  8. Hey thanks Dipscom... I really like all the parameters you can pass it. Thanks!
  9. Hey guys, Found this post that had a great method for polite loading *scripts* in GDC... http://greensock.com/forums/topic/12147-polite-loading-gsap-into-a-dc-html5-banner/?hl=polite+loading#entry50072 I know this isn't GSAP specific (but lots of smart people on here)... Was wondering if anyone had a simple example showing polite loading *image assets* into the banner. Note: This is for straight up HTML/CSS/JS Thanks!
  10. Wanted to ask a technical question of where is the best place to link to GSAP in your HTML? I downloaded the starter HTML5 file for a 300x250 animated banner to do some experimentation on. I guess it makes the most sense to put it here? <!DOCTYPE html> <html lang="en"> <head> <meta data-template-name="Template_H5T_inpage-300x250-image"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="style.css"> <script type="text/javascript" src="https://s0.2mdn.net/ads/studio/Enabler.js"></script> </head> <body> <div id="main-container"> <div id="exit"></div> <div class="feature" id="feature"> <div id="main-img-0"></div> </div> </div> <script type="text/javascript" src="https://s0.2mdn.net/ads/studio/cached_libs/timelinelite_1.18.0_dbe88c20554c170a56f44600f31a97d9_min.js"></script> <script src="logic.js"></script> </body> </html>
  11. martis

    Inspiration Sites

    Hey guys, Outside of the showcase on this site, what are some other sites you guys enjoy visiting to get inspiration from? Thanks!
  12. To be clear... I have MC A, B, C C is inside of B which is inside of A If I do TweenMax.killChildTweensOf(A, true) it should only stop tweens for B, not C? Or will it go down the nested display list and kill B and C? If not, I wrote this little function which seems to work // Loop through and kill tweens of all children private function killChildTweensOf( mc : *) : void{ if(mc is DisplayObjectContainer) { TweenMax.killChildTweensOf(mc, true); for(var i:uint = 0; i < mc.numChildren; i++) { var child : * = mc.getChildAt(i); killChildTweensOf(child); } } }
  13. Hi guys, I have a scenario where I have many MovieClips with many children, that have children, etc... I am looking for a way (most likely a function) that I can pass a MovieClip to and have it killChildTweensOf of all its children, and their children and their children etc.... I know killAll exists, but I have other tweens happening that I want to continue. Has anyone created a function that could loop through a MC and all its children, and their children and killChildTweensOf until there are no more children? Thanks in advance!
  14. Hey guys, Was wondering if anyone has created an example of applying smooth but random movement, scale, and speed to an object. I am trying to create an effect where it feels like balls of light are smoothly moving around the screen to random spots at random speeds in a smooth manner. Thanks!
  15. Hey guys, Not sure if LoaderMax can handle this or not but here is my situation. My main SWF is in the root directory. (Main.swf) I am loading SWFs from root/resources/assets (Loaded.swf) The SWFs that are being loaded are trying to load assets from a relative /resources folder (root/resources/assets/resources) My problem is that when I load the SWFs into the main SWF in the root folder, it now looks at root/resources for those other assets, not root/resources/assets/resources. My ideal solution would be to not have to edit the SWFs that I am loading in as a third party is producing them. Is there anyway to somehow give the SWF context to its root directory when I load it in so it works? EDIT: The experience is running in the standalone player, not the web Found a solution, but it requires me to make edits to the SWFs that are being loaded in: public static function getFullPath($loaderInfo:LoaderInfo):String { var myAbsolutePath:String; var myRelativePath:String; myAbsolutePath:String = $loaderInfo.url; var stringStart:Number = 0; var stringEnd:Number = myAbsolutePath.lastIndexOf("/")+1; myRelativePath = myAbsolutePath.slice(stringStart, stringEnd); return myRelativePath; } Thanks, James
  16. Hello everyone, Wanted to see if anyone had some advice/examples of how to go about doing angled page wipes/transitons? My gut is telling me use an SVG polygon, but wanted to see what others thought. Would love if the solution worked with any window dimensions... Thanks!
  17. This works, thank you Carl!
  18. Is there a way to view a list of topics I am following? Trying to use it as a bookmark of sorts. Thanks!
  19. Perhaps... I think what I am really looking for was a way to avoid the performance hits when tweens in the timeline start. Jack had an example where in one line of code he jumped to the end, then back to the beginning to achieve this.
  20. Hey guys, I remember seeing a lot of posts where you could move the playhead to the end of a timeline then back to the start to "cache" the start values and such. What is the best method to do this again? Thanks, James
  21. Thanks Diaco, this is awesome! Now for the hard question What if I have a tween within a long timeline that I want to change on the fly?