Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by WhiteDesign

  1. Hello!!!


    When I add a simple swf to my Shortstack facebook widget everything works brilliantly!

    I now want to include a LoaderMax swf to load other swf's (obviously) although all I get is a blank widget!?! :?


    My code...

    import com.greensock.*;
    import com.greensock.loading.*;
    import com.greensock.events.LoaderEvent;
    import com.greensock.loading.display.ContentDisplay;
    progressBar_mc.bar_mc.scaleX = 0;
    var myImage:SWFLoader = new SWFLoader("22smushyLane.swf", {container:this, 
    function progressHandler(event:LoaderEvent):void
    progressBar_mc.bar_mc.scaleX = myImage.progress;
    function completeHandler(event:LoaderEvent):void
    //get a reference to the content of the loader that fired the complete event
    var loadedImage:ContentDisplay = event.target.content;
    TweenLite.to(loadedImage, .5, {alpha:1});
    TweenLite.to(progressBar_mc.bar_mc, .5, {alpha:0});



  2. Hello! This is such a basic question but for the life of me I just can't work out how to do it!!!!!!! :oops:

    How do I tween a movieclip to move from


    var ls:LiquidStage = new LiquidStage(this.stage, 550, 555, 550, 555);
    ls.attach(mc, ls.LEFT_CENTER);




    var ls:LiquidStage = new LiquidStage(this.stage, 550, 555, 550, 555);
    ls.attach(mc, ls.RIGHT_CENTER);





  3. Hello!


    I have a movieclip which drops down and bounces to a stop half way down the page

    using the ease:Bounce.easeOut function, but is it at all possible to create an unsteady bounce?

    By that I mean to have it rotate ever so slightly left and right in time with each bounce?




  4. Hello!!! Another question! Sorry about the subject title! Just couldn't resist!


    I've created a simple button but I want to want to add a 'hit' area and I just can't fathom out how to do it.

    My button is 100px x 100px but expands to 200 x 200 when the mouse rolls over.

    I want the button to tween back to it's original size when the mouse moves away from the 100 x 100 area,

    not wait until it leaves the roll over 200 x 200 area!


    		mc.addEventListener(MouseEvent.ROLL_OVER, overThree);
    		mc.addEventListener(MouseEvent.ROLL_OUT, outThree);
    		TweenLite.to(mc, 0, {autoAlpha:0.5});
    		function overThree(evt:MouseEvent):void {
    			TweenLite.to(mc, 1, {setSize:{width:200, height:200}, autoAlpha:1});
    			trace("button THREE works");
    		function outThree(evt:MouseEvent):void {
    			TweenLite.to(mc, 1, {setSize:{width:100, height:100}, autoAlpha:0.5});
    			trace("button THREE works");



  5. Hello again!!!!


    Still being a bit of a novice I just wanted to run this code past you to make sure I'm not making a complete dogs breakfast of how I'm structuring my code or that I'm making things slow and clunky because of excess 'stuff'. The whole thing works brilliantly, I just to be sure I'm doing things properly!



    Louisa :D


    /////////////// Main Menu
    TweenLite.to(info.myMenu_btn.myMenuButtons, 0, {autoAlpha:0});
    info.myMenu_btn.addEventListener(MouseEvent.ROLL_OVER, mouseOverHandler);
    info.myMenu_btn.addEventListener(MouseEvent.ROLL_OUT, mouseOutHandler);
    function mouseOverHandler(e:Event):void {
    TweenLite.to(info.myMenu_btn.myMenuButtons, 0.5, {autoAlpha:1});
    function mouseOutHandler(e:Event):void {
    TweenLite.to(info.myMenu_btn.myMenuButtons, 1, {autoAlpha:0});
    ////////////////////// Menu Buttons
    	TweenMax.from(info.profile, 1, {autoAlpha:0, blurFilter:{blurX:20, blurY:20}});
    	TweenMax.to(info.otherInfo, 0, {autoAlpha:0, blurFilter:{blurX:20, blurY:20}});
    	TweenLite.to(info.panel, 0, {scrollRect:{left:0, right:913, top:0, bottom:516}});
    	TweenMax.to(pageMenu, 0, {autoAlpha:0, blurFilter:{blurX:20, blurY:20}});
    	function playProfileInfo(e:Event) 
    	TweenMax.to(info.profile, 1, {autoAlpha:1, blurFilter:{blurX:0, blurY:0}});
    	TweenMax.to(info.otherInfo, 1, {autoAlpha:0, blurFilter:{blurX:20, blurY:20}});
    	TweenLite.to(info.panel, 1, {scrollRect:{left:0, right:913, top:0, bottom:516}});
    	function playMoreInfo(e:Event) 
    	TweenMax.to(info.profile, 1, {autoAlpha:0, blurFilter:{blurX:20, blurY:20}});
    	TweenMax.to(info.otherInfo, 1, {autoAlpha:1, blurFilter:{blurX:0, blurY:0}});
    	TweenLite.to(info.panel, 1, {scrollRect:{left:0, right:913, top:0, bottom:430}});
    ////////////// Close Panel	
    	function closeProfile(e:Event) 
    	TweenMax.to(info, 1, {autoAlpha:0, blurFilter:{blurX:20, blurY:20}});
    	TweenMax.to(pageMenu, 1, {autoAlpha:1, blurFilter:{blurX:0, blurY:0}});
    	function closeBtnProfile(e:Event) 
    	TweenMax.to(info, 1, {autoAlpha:0, blurFilter:{blurX:20, blurY:20}});
    	TweenMax.to(pageMenu, 1, {autoAlpha:1, blurFilter:{blurX:0, blurY:0}});

  6. Hello Jack!


    I just wanted to say how brilliant your Tween Proxy 3D is!

    I find using your 3D rotation cleaner and more reliable than using the 3D tool in flash!

    For example, when applying a reflection effect with the Tween Proxy I didn't have any dramas as all

    but when I used the 3D flash tool I had a terrible time trying to get the refection distance to work properly.


    Thanks for such a brilliant product!!!



  7. Did I ask a really dumb question? :shock:

    The solution is probably really obvious and now I've made myself look like a bit of an idiot!


    I applied a tween to the movieclip holding the image but obviously that didn't work!


    Louisa :?

  8. Hello! Another question!!!


    I'm trying to create a looping TweenProxy3D. Is that possible?

    The tween works brilliantly but it won't loop!





    import com.greensock.*;
    import gs.utils.TweenProxy3D;
    import flash.geom.*;
    var tp:TweenProxy3D = new TweenProxy3D(mc);
    tp.registration = new Vector3D(250, 100, 0);
    TweenLite.to(tp, 5, {rotationX:360, loop:0});

  9. I wasn't sure where to pop this question so I'll stick with the Tweening category!


    I love the SmoothImageLoader! Brilliant! How do I apply a tween when it loads so it fades in, doesn't just appear!



  10. I've attached a screen capture from the same site of a group of photos/panels which scroll left across the screen when the mouse is positioned to the right of the screen, then vice versa, but the scrolling stops when the mouse is in the middle of the screen.


    Hope that makes sense! :?



  11. oh! :(


    That's a shame because I wouldn't be at all suprised if they had used your tweens! There are lots of simple yet brilliant effects such as little drop down windows complete with flawless bounce ease functions and motion blurs.


    I'll find another example of a scrolling menu!



  12. Sorry!!! I tend to walk away when a site loads (slightly slower broadband speed than I'd like) so I didn't even see the Oakley menu at the bottom of the intro!

    If you wait for the site to load then press 'Entre' then hit Oakley you'll see the very nice little menu. Sorry about that!!! :oops:



  13. Hello!!!


    I've just been browsing the THE FWA (www.thefwa.com) website and spied a site which has a menu which scrolls up or down when the mouse rolls over it, no clicking required until you find something worth clicking on! I love the effect because it's so simple but (I'm still really, really new to actionscript otherwise I wouldn't be asking) I'm just curious to know if it's possible to create the effect using Greensock?


    Louisa :D