Jump to content
Search Community

jjmorga

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by jjmorga

  1. When you do a movieClip.reverse() using tween plugin it nulls out any dynamically added children to the movieClip as well as any attributes manipulated like color. Any ideas how to get around this??

  2. i simply cant get this working in a class structure! any ideas?

     

    ReferenceError: Error #1069: Property myNumber not found on LightningSample and there is no default value.
    at com.greensock::TweenNano/init()
    at com.greensock::TweenNano/renderTime()
    at com.greensock::TweenNano$/updateAll()

  3. Greetings,

     

    I am trying to manipulate the easing portion of the tween call with a dynamically set variable, kind of like this:

     

    var myTween = "Sine.easeInOut"
    TweenNano.to(my_mc,1,{_y:99, ease:myTween});
    

     

    What type of variable is the tween expecting? Can this be done?

     

    Thanks

     

    Jacob

  4. Hey all,

     

    Here is the symptoms:

    A static embedded movieclip is tweened from point A to point B with the new motionBlur filter applied. Works great offline in a static enviroment. When used online on the same stage as a movieclip that is loading in a external image it seems to switch off all motionBlur ability permanently. Once a dynamic image is loaded into any other movieclips (not the one I'm tweening with motionBlur mind you) it disables the filter altogether for future use. Very strange indeed.

     

    I have debugged for a couple hours to come to this conclusion, my straight forward test code is below. Any insights, hints, or musings are greatly appreciated.

     

    System.security.allowDomain("*");
    import com.greensock.TweenMax;
    import com.greensock.plugins.*;
    TweenPlugin.activate([MotionBlurPlugin]);
    TweenPlugin.activate([MotionBlurPlugin]); //only do this once in your SWF to activate the plugin
    
    loadBackground();
    
    function loadBackground(){
       var movieClipLoader:MovieClipLoader = new MovieClipLoader();
       movieClipLoader.loadClip("image01.jpg", loader_mc);
       var list = new Object();
       list.onLoadInit = function(target_mc:MovieClip) 
       {
    	TweenMax.to(ball_mc, 1, {_x:Stage.width, _y:Stage.height/2, motionBlur:{strength:5, quality:1}});
       }
       movieClipLoader.addListener(list);
    }

  5. Greetings,

     

    I can't get the motionBlur to work whatever I try... I've downloaded the new com folder for v11 and i'm using the code below:

     

    import com.greensock.TweenMax;
    import com.greensock.plugins.TweenPlugin;
    TweenPlugin.activate([MotionBlurPlugin]); //only do this once in your SWF to activate the plugin
    TweenMax.to(ball_mc, 2, {_x:400, _y:300, motionBlur:true});

     

    Am I missing something here? Do I need to donate to get the MotionBlurPlugin.as file? I also attached all my source [attachment=0]motionblurTest.zip[/attachment] including the new com folder... I appreciate it very much :)

×
×
  • Create New...