Jump to content
Search Community

frank6

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by frank6

  1. Hi all,

     

    I am planning to create a "virtual camera" that basically zooms and pans in the space(3D). I would like to know if TweenMax could be my friend for that in term of performance? Is there any tips that would make my life easier ?

     

    Thanks in advance!

  2. Hi,

     

    I have a timeline that contains those two tweens :

     

    tween = TweenMax.from(mc,.7,{x:stage.stageWidth+100+mc.width, autoAlpha:0, motionBlur:true, ease:Cubic.easeOut})
    timeline.insert(tween, 0);
    
    tween = TweenMax.to(mc,.7,{x:-mc.width,autoAlpha:0, motionBlur:true, ease:Cubic.easeIn})
    timeline.inser(tween, 3.5);
    

     

    and later I do this

     

    timeline.totalProgress = scrubber.progress
    

     

    The problem is that sometimes I skip betweens two tweens and my mc isn't visible. I assume that's because its last tween ended with a alpha=0 because of the autoAlpha but what should I to avoid that ?

     

    Thanks in advance !

  3. Ok.. I realised that I was wrong with the context property of the loader. I've been able to load my swf sucessfully and make it play but now the problem is that I can't access the Page object from the PageLoader. When I try to use the page variable in my onCompleteHandler function I get the error message :"Type Coercion failed: cannot convert com.test::Page@28001f81 to com.test.Page."

     

    context = new LoaderContext(false, new ApplicationDomain(null))
    		loader = new LoaderMax({onComplete:onCompleteHandler});		 
    		pageLoader = new SWFLoader("page.swf",{name:"page",context:context, autoPlay:true, container:this});
    		loader.append(pageLoader);
    		loader.load();

     

    Thanks again!

  4. Hi,

     

    I have this swf which has a document Class extending a dynamic class named PageKernel and another swf with a document class named PageLoader. When the PageLoaded loads the Page, the page isn't playing has if there was a compile error. When I remove the document class PageKernel from the nested swf it works. Does anyone have an idea of what I am doing wrong ?

     

    Thanks in advance !

    Francis

×
×
  • Create New...