dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Error #1069: Propriety__transitionManager not found

Hybrid View

  1. #1
    Member
    Join Date
    Jan 2008
    Posts
    55

    Error #1069: Propriety__transitionManager not found

    Hello

    Im having an error 1069 Property_transitionManager not found in subMenu and there is no default value.
    at fl.transitions::TransitionManager$/start()
    at Painel3/onClick()

    Heres my code:

    Code:
    package {
    	
        import com.greensock.TweenLite;
        import com.greensock.TweenMax;
        import com.greensock.*;
        import com.greensock.easing.*;
        import flash.display.*;
        import flash.events.*;
        import flash.display.MovieClip;
        import fl.transitions.*;
        import fl.transitions.easing.*;
        import flash.net.URLRequest;
        import flash.display.Loader;
        import flash.events.Event;
        import flash.events.ProgressEvent;
    
    	
    
    	
    	public class Painel3 extends MovieClip
    	
    	{
    		private var inFocus:MovieClip;
    		
    		public function Painel3():void
    		{
    			setupClips();
    			addEventListener(Event.ENTER_FRAME, loop);
    		}
    		
    		private function setupClips():void
    		{
    			
    		con2.mainButton.addEventListener(MouseEvent.ROLL_OVER,onOver);
    con2.mainButton.addEventListener(MouseEvent.ROLL_OUT, onOut);
     con2.mainButton.addEventListener(MouseEvent.CLICK, onClick);
    			
    			var len:int = con2.cont3.numChildren;
    			
    			for(var i:int=0; i<len; i++)
    			{
    			var mc:MovieClip = MovieClip(con2.cont3.getChildAt(i));
    				mc.buttonMode = true;
    				mc.loc = [mc.x, mc.y];
    				mc.addEventListener(MouseEvent.CLICK, subOnClick);
    				con2.cont3.visible = false;
    				
    			}
    					}
    								
    								
    		private function onOver(e:MouseEvent):void
    		{
    			
    		}
    		
    		private function onOut(e:MouseEvent):void
    		{
    			
    		}
    		
    		private function onClick(e:MouseEvent):void
    		{
    			var mc:MovieClip = MovieClip(e.currentTarget);
    			con2.cont3.visible = true;
                TransitionManager.start(con2.cont3, {type:Wipe, direction:Transition.IN, duration:1, easing:None.easeNone, startPoint:5} );			
    		}
    								
    								
    	    private function subOnClick(e:MouseEvent):void
    {
       videoPlayer.visible = true;
       videoPlayer.source = e.currentTarget.videoPath;
       
    }
    
    		
    		private function loop(e:Event):void
    		{
    			var distx:Number = mouseX / 1200;
    			var disty:Number = mouseY / 1100;
    			TweenLite.to(con2, 2, { 
    						rotationY:(-70 +(140*distx)), 
    						rotationX:(70 -(145*disty)),
    						ease:Expo.easeOut 
    						 });
    		}
    	}
    }
    Ive imported whats needed and checked the spelling and everything is ok.

    And heres the code for the subMenu.as:

    Code:
    package  {
    	
        import com.greensock.TweenLite;
        import com.greensock.TweenMax;
        import com.greensock.*;
        import com.greensock.easing.*;
        import flash.display.*;
        import flash.events.*;
        import flash.display.MovieClip;
        import flash.net.URLRequest;
        import flash.display.Loader;
        import flash.events.Event;
        import flash.events.ProgressEvent;
        import fl.transitions.*;
        import fl.transitions.easing.*;
    	
    	
    	public class subMenu extends MovieClip {
    		
    		 public var videoPath:String; 
    		
    		
    		public function subMenu() {
    			// constructor code
    			menu1.buttonMode = true;
    			menu2.buttonMode = true;
    			menu3.buttonMode = true;
    			menu4.buttonMode = true;
    	     menu1.addEventListener(MouseEvent.CLICK,link1);
                 menu2.addEventListener(MouseEvent.CLICK,link2);
                 menu3.addEventListener(MouseEvent.CLICK,link3);
                 menu4.addEventListener(MouseEvent.CLICK,link4);
    			
    			}
    		
    		function link1(e:MouseEvent) {
           
               function startLoad()
    {
    var mLoader:Loader = new Loader();
    var mRequest:URLRequest = new URLRequest("AugmentedReality_v1.swf");
    mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
    mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
    mLoader.load(mRequest);
    }
    
    function onCompleteHandler(loadEvent:Event)
    {
            addChild(loadEvent.currentTarget.content);
    }
    function onProgressHandler(mProgress:ProgressEvent)
    {
    var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
    trace(percent);
    }
    startLoad();
    		}
           
            function link2(e:MouseEvent) {
           
           
               videoPath = "luis_martins.flv";
            }
           
            function link3(e:MouseEvent) {
           
           
               videoPath = "luis_martins.flv";
            }
           
            function link4(e:MouseEvent) {
    		videoPath = "luis_martins.flv"
    		}
    	
    	
    	
    }
    }
    Thanks for your help.
    Last edited by FabM; 07-18-2010 at 05:12 PM.

  2. #2
    Member
    Join Date
    Jan 2008
    Posts
    55
    Anyone?

  3. #3
    Member
    Join Date
    Jan 2008
    Posts
    55
    Btw,i get this error when i Export for actionscript the subMenu.as.

    When i dont export it i dont get this error but then the buttons dont work.

    I guess it has something to do with it but i being inexperienced with as3 i cant find out the problem.

    Pls help. Thanks very much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center