Adobe Air + Box2D.swc = TypeError: Error #1009 // New way to handle .swc files in Flash for iOS Apps?

Hi,
I need your help please - I have to update one of my iOS Apps. In this App I use Box2d for a simple maze game (it's an app for kids). When I publish & test this game on my Mac it works fine. I can drag my Hero (fish) through this Maze and all collision detections, gravity etc. work perfect.
When I test it on my iPad it doesn't work. The device debugger shows this error message:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
  at global$init()
  at global$init()
  at Box2DAS.Common::b2Base$/initialize()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_ Retina/src/com/Box2DAS/Common/b2Base.as:31]
  at wck::WCK/create()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/src/com/wck/ WCK.as:26]
  at misc::Entity/ensureCreated()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/s rc/com/misc/Entity.as:50]
  at misc::Entity/handleAddedToStage()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Ret ina/src/com/misc/Entity.as:100]
  at misc::Entity/handleAddedToStage()
Line 31: loader = new CLibInit();
I guess "CLibInit" should come from the .swc file.
The thing is:
I didn't change anything in this maze game - it seems this has to do something with the new Flash and/or Adobe Air version. Box2D.swc file is included:
It always worked like this - and it works when testing it on my Mac - but it is no longer working on my current system.
So I started my Mac from an older system (10.9.5 on an external HD) and published the App from Flash CS6 and Adobe Air 13.0 - then it suddenly worked on my iPad as before. I was able to tap an the fish and drag it arround.
The same project / app published from my current OS X 10.10 + Flash CC 2014 + Adobe Air 15.0.0.302 is not working. I always receive this Error Message - I can not drag the fish - nothing happens. And I have no idea why this happens and what else I could do. I searched the whole day for a solution but didn't find anything.
So did anything change by the way Flash and/or Air handles .swc files? Is there an other way to include: import cmodule.Box2D.* / CLibInit ?
Please - if anyone has a clue - please let me know!!
Best regards
Jan

Update:
There is also an Android Version of this App. I just published and tested a new version of it on my kindle fire & Samsung Galaxy Tab 2. On both Tablets the maze works perfect. I'm able to drag the fish around etc.
Then I published this Android Version for iOS and tested it on my iPad. Again I'm getting the Error message:
TypeError: Error #1009: Cannot access a property or method of a null object reference. 
  at global$init() 
  at global$init() 
  at Box2DAS.Common::b2Base$/initialize()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_ Retina/src/com/Box2DAS/Common/b2Base.as:31] 
  at wck::WCK/create()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/src/com/wck/ WCK.as:26] 
  at misc::Entity/ensureCreated()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/s rc/com/misc/Entity.as:50] 
  at misc::Entity/handleAddedToStage()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Ret ina/src/com/misc/Entity.as:100] 
  at misc::Entity/handleAddedToStage
...and the fish is stuck - I can't drag it - nothing happens. So this error only occurs when I publish the App for iOS - as an .ipa. Did anything change in the way Air handles .swc files?
I'm totally confused
If anybody has an idea what I could try - PLEASE LET ME KNOW!!

Similar Messages

  • New to action script and getting: TypeError: Error #1009: Cannot access a property or method of a nu

    I am getting this message in the output tab for buttons that I am trying to create.  Here's the code:
    import flash.events.MouseEvent;
    stop();
    function goHome(myEvent:MouseEvent):void {
    gotoAndStop("home");
    SoundMixer.stopAll();
    function goAbout(myEvent:MouseEvent):void {
    gotoAndStop("about");
    SoundMixer.stopAll();
    function goBusiness(myEvent:MouseEvent):void {
    gotoAndStop("business");
    SoundMixer.stopAll();
    function goContact(myEvent:MouseEvent):void {
    gotoAndStop("contact");
    SoundMixer.stopAll();
    function goArchives(myEvent:MouseEvent):void {
    gotoAndStop("archives");
    SoundMixer.stopAll();
    function goBioTech(myEvent:MouseEvent):void {
    gotoAndStop("bioTech");
    SoundMixer.stopAll();
    function goRealEstate(myEvent:MouseEvent):void {
    gotoAndStop("realEstate");
    SoundMixer.stopAll();
    function goTechnology(myEvent:MouseEvent):void {
    gotoAndStop("technology");
    SoundMixer.stopAll();
    function goEnergy(myEvent:MouseEvent):void {
    gotoAndStop("energy");
    SoundMixer.stopAll();
    home_btn.addEventListener(MouseEvent.CLICK, goHome);
    about_btn.addEventListener(MouseEvent.CLICK, goAbout);
    business_btn.addEventListener(MouseEvent.CLICK, goBusiness);
    contact_btn.addEventListener(MouseEvent.CLICK, goContact);
    archives_btn.addEventListener(MouseEvent.CLICK, goArchives);
    bioTech_btn.addEventListener(MouseEvent.CLICK, goBioTech);
    realEstate_btn.addEventListener(MouseEvent.CLICK, goRealEstate);
    technology_btn.addEventListener(MouseEvent.CLICK, goTechnology);
    energy_btn.addEventListener(MouseEvent.CLICK, goEnergy);
    I ran the debugger and got this:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at peakInsights_fla::MainTimeline/frame1()[peakInsights_fla.MainTimeline::frame1:48]
    I guess it's telling me there's a problem with line 48 but what?
    The home, about, business, contact, and archives button works. On the business page there are the remaining buttons biotech, technology, real estate, and energy. when i test it; i get the finger but the buttons don't work. this is my first flash site so I'am new, new.

    I followed the steps and read some of your comments on the same top topic in another thread. When I put it on the first frame it was okay but the next button on that page had the same problem.  So what I am guessing is that I have to either create a document class or put the actions where the buttons are.  Am I understanding that correctly?  In the other thread in which you helped someone else; there was so comments about document class.  I found a tutorial on it and the way I understand it is that it you can put you actions in an external document.  But you have to include in the event listener the frame in which you want that action to happen.
    Thaks for your help.  And patience.

  • TypeError: Error #1009: Cannot access a property or method of a null object reference.      at FC_Home_A

    Dear Sir,
    I really need your valuable assistance i was about to finish a project but at very last moment i am stuck. Here is the explanation below...
    I have two files called "holder.swf" and "slide.swf" i want to improt the "slide.swf" using this action below
    var myLoader:Loader = new Loader();
    var url:URLRequest = new URLRequest("slide.swf");
    myLoader.load(url);
    addChild(myLoader);
    myLoader.x = 2;
    myLoader.y = 2;
    Also i have attached the flash file of "holder.swf". My concern is the moment i am calling the "slide.swf" inside the "holder.swf" it is showing the following error...
    " TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at FC_Home_Ads_Holder_v2_fla::MainTimeline() "
    Here are the files uploaded for your reference, please download this file http://www.touchpixl.com/ForumsAdobecom.zip
    This error is being occured from "MainTimeline.as" file here is the code been use inside of this file below....
    package FC_Home_Ads_Holder_v2_fla
        import __AS3__.vec.*;
        import adobe.utils.*;
        import com.danehansen.*;
        import com.greensock.*;
        import com.greensock.easing.*;
        import com.greensock.plugins.*;
        import flash.accessibility.*;
        import flash.desktop.*;
        import flash.display.*;
        import flash.errors.*;
        import flash.events.*;
        import flash.external.*;
        import flash.filters.*;
        import flash.geom.*;
        import flash.globalization.*;
        import flash.media.*;
        import flash.net.*;
        import flash.net.drm.*;
        import flash.printing.*;
        import flash.profiler.*;
        import flash.sampler.*;
        import flash.sensors.*;
        import flash.system.*;
        import flash.text.*;
        import flash.text.engine.*;
        import flash.text.ime.*;
        import flash.ui.*;
        import flash.utils.*;
        import flash.xml.*;
        public dynamic class MainTimeline extends flash.display.MovieClip
            public function MainTimeline()
                new Vector.<String>(6)[0] = "Productivity";
                new Vector.<String>(6)[1] = "Leadership";
                new Vector.<String>(6)[2] = "Execution";
                new Vector.<String>(6)[3] = "Education";
                new Vector.<String>(6)[4] = "Speed of Trust";
                new Vector.<String>(6)[5] = "Sales";
                super();
                addFrameScript(0, this.frame1);
                return;
            public function init():void
                var loc1:*=null;
                com.greensock.plugins.TweenPlugin.activate([com.greensock.plugins.Aut oAlphaPlugin]);
                loc1 = new flash.net.URLLoader(new flash.net.URLRequest(this.XML_LOC));
                var loc2:*;
                this.next_mc.buttonMode = loc2 = true;
                this.prev_mc.buttonMode = loc2;
                stage.scaleMode = flash.display.StageScaleMode.NO_SCALE;
                stage.align = flash.display.StageAlign.TOP_LEFT;
                loc1.addEventListener(flash.events.Event.COMPLETE, this.xmlLoaded, false, 0, true);
                this.prev_mc.addEventListener(flash.events.MouseEvent.CLICK, this.minusClick, false, 0, true);
                this.next_mc.addEventListener(flash.events.MouseEvent.CLICK, this.plusClick, false, 0, true);
                return;
            public function xmlLoaded(arg1:flash.events.Event):void
                var loc1:*=null;
                var loc2:*=0;
                this.xmlData = new XML(arg1.target.data);
                loc2 = 0;
                while (loc2 < this.LABELS.length)
                    loc1 = new Btn(this.LABELS[loc2], loc2);
                    this.btnHolder_mc.addChild(loc1);
                    this.BTNS.push(loc1);
                    trace(this.LABELS[loc2]);
                    ++loc2;
                this.current = uint(this.xmlData.@firstPick);
                trace("-----width-----");
                trace(this.contentMask.width);
                var loc3:*=this.contentMask.width / this.LABELS.length;
                trace(loc3);
                loc2 = 0;
                while (loc2 < this.BTNS.length)
                    this.BTNS[loc2].width = loc3;
                    this.BTNS[loc2].x = loc3 * loc2;
                    ++loc2;
                this.btnHolder_mc.addEventListener(flash.events.MouseEvent.CLICK, this.numClick, false, 0, true);
                this.selectMovie();
                return;
            public function numClick(arg1:flash.events.MouseEvent):void
                this.killTimer();
                this.current = arg1.target.i;
                this.selectMovie();
                return;
            public function killTimer():void
                this.timerGoing = false;
                if (this.timer)
                    this.timer.reset();
                    this.timer.addEventListener(flash.events.TimerEvent.TIMER, this.plusClick, false, 0, true);
                    this.timer = null;
                return;
            public function selectMovie():void
                if (this.timerGoing)
                    this.timer = new flash.utils.Timer(uint(this.xmlData.ad[com.danehansen.MyMath.modulo(t his.current, this.xmlData.ad.length())].@delay), 1);
                    this.timer.start();
                    this.timer.addEventListener(flash.events.TimerEvent.TIMER, this.plusClick, false, 0, true);
                while (this.holder_mc.numChildren > 0)
                    this.holder_mc.removeChild(this.holder_mc.getChildAt(0));
                var loc1:*=new flash.display.Loader();
                loc1.load(new flash.net.URLRequest(this.xmlData.ad[com.danehansen.MyMath.modulo(thi s.current, this.xmlData.ad.length())].@loc));
                this.holder_mc.addChild(loc1);
                var loc2:*=0;
                while (loc2 < this.BTNS.length)
                    this.BTNS[loc2].deselect();
                    ++loc2;
                this.BTNS[com.danehansen.MyMath.modulo(this.current, this.xmlData.ad.length())].select();
                var loc3:*=this.BTNS[com.danehansen.MyMath.modulo(this.current, this.xmlData.ad.length())].x + this.BTNS[com.danehansen.MyMath.modulo(this.current, this.xmlData.ad.length())].width / 2 + this.btnHolder_mc.x;
                trace("addLength:" + this.xmlData.ad.length());
                trace(loc3, com.danehansen.MyMath.modulo(this.current, this.xmlData.ad.length()));
                com.greensock.TweenLite.to(this.indicator_mc, 0.3, {"x":loc3, "ease":com.greensock.easing.Cubic.easeOut});
                loc1.contentLoaderInfo.addEventListener(flash.events.Event.COMPLETE, this.adLoaded, false, 0, true);
                return;
            public function adLoaded(arg1:flash.events.Event):void
                var evt:flash.events.Event;
                var loc1:*;
                evt = arg1;
                try
                    evt.target.content.xmlData = this.xmlData.ad[com.danehansen.MyMath.modulo(this.current, this.xmlData.ad.length())];
                catch (er:Error)
                return;
            public function minusClick(arg1:flash.events.MouseEvent):void
                this.killTimer();
                var loc1:*;
                var loc2:*=((loc1 = this).current - 1);
                loc1.current = loc2;
                this.selectMovie();
                return;
            public function plusClick(arg1:flash.events.Event):void
                if (arg1.type != "timer")
                    this.killTimer();
                var loc1:*;
                var loc2:*=((loc1 = this).current + 1);
                loc1.current = loc2;
                this.selectMovie();
                trace("next");
                return;
            public function ENDED(arg1:flash.events.Event):void
                if (arg1.type != "timer")
                    this.killTimer();
                var loc1:*;
                var loc2:*=((loc1 = this).current + 1);
                loc1.current = loc2;
                this.selectMovie();
                trace("next");
                return;
            public function STARTED(arg1:flash.events.Event):void
                this.killTimer();
                return;
            function frame1():*
                this.timerGoing = true;
                addEventListener("endNow", this.ENDED, false, 0, true);
                addEventListener("startNow", this.STARTED, false, 0, true);
                this.init();
                return;
            public const XML_LOC:String=stage.loaderInfo.parameters.xmlLoc ? stage.loaderInfo.parameters.xmlLoc : "home_ads.xml";
            public const LABELS:__AS3__.vec.Vector.<String>=new Vector.<String>(6);
            public const BTNS:__AS3__.vec.Vector.<Btn>=new Vector.<Btn>();
            public const TRANSITION_TIME:Number=0.2;
            public var contentMask:flash.display.MovieClip;
            public var btnHolder_mc:flash.display.MovieClip;
            public var holder_mc:flash.display.MovieClip;
            public var indicator_mc:flash.display.MovieClip;
            public var prev_mc:flash.display.MovieClip;
            public var next_mc:flash.display.MovieClip;
            public var current:int;
            public var xmlData:XML;
            public var timer:flash.utils.Timer;
            public var timerGoing:Boolean;
    Here is the folder uploaded on the server for you to get clear picture, please click on this link to download the entire folder. http://www.touchpixl.com/ForumsAdobecom.zip
    I am not being able to resolve the issue, it needs a master to get the proper solution. I would request you to help me.
    Thanks & Regards
    Sanjib Das

    Here is the entire code of MainTimeline.as below, please correct it.
    package FC_Home_Ads_Holder_v2_fla
        import __AS3__.vec.*;
        import adobe.utils.*;
        import com.danehansen.*;
        import com.greensock.*;
        import com.greensock.easing.*;
        import com.greensock.plugins.*;
        import flash.accessibility.*;
        import flash.desktop.*;
        import flash.display.*;
        import flash.errors.*;
        import flash.events.*;
        import flash.external.*;
        import flash.filters.*;
        import flash.geom.*;
        import flash.globalization.*;
        import flash.media.*;
        import flash.net.*;
        import flash.net.drm.*;
        import flash.printing.*;
        import flash.profiler.*;
        import flash.sampler.*;
        import flash.sensors.*;
        import flash.system.*;
        import flash.text.*;
        import flash.text.engine.*;
        import flash.text.ime.*;
        import flash.ui.*;
        import flash.utils.*;
        import flash.xml.*;
        public dynamic class MainTimeline extends flash.display.MovieClip
            public function MainTimeline()
                new Vector.<String>(6)[0] = "Productivity";
                new Vector.<String>(6)[1] = "Leadership";
                new Vector.<String>(6)[2] = "Execution";
                new Vector.<String>(6)[3] = "Education";
                new Vector.<String>(6)[4] = "Speed of Trust";
                new Vector.<String>(6)[5] = "Sales";
                super();
                addFrameScript(0, this.frame1);
                return;
            public function init():void
                var loc1:*=null;
                com.greensock.plugins.TweenPlugin.activate([com.greensock.plugins.AutoAlphaPlugin]);
                loc1 = new flash.net.URLLoader(new flash.net.URLRequest(this.XML_LOC));
                var loc2:*;
                this.next_mc.buttonMode = loc2 = true;
                this.prev_mc.buttonMode = loc2 = true;
                stage.scaleMode = flash.display.StageScaleMode.NO_SCALE;
                stage.align = flash.display.StageAlign.TOP_LEFT;
                loc1.addEventListener(flash.events.Event.COMPLETE, this.xmlLoaded, false, 0, true);
                this.prev_mc.addEventListener(flash.events.MouseEvent.CLICK, this.minusClick, false, 0, true);
                this.next_mc.addEventListener(flash.events.MouseEvent.CLICK, this.plusClick, false, 0, true);
                return;
            public function xmlLoaded(arg1:flash.events.Event):void
                var loc1:*=null;
                var loc2:*=0;
                this.xmlData = new XML(arg1.target.data);
                loc2 = 0;
                while (loc2 < this.LABELS.length)
                    loc1 = new Btn(this.LABELS[loc2], loc2);
                    this.btnHolder_mc.addChild(loc1);
                    this.BTNS.push(loc1);
                    trace(this.LABELS[loc2]);
                    ++loc2;
                this.current = uint(this.xmlData.@firstPick);
                trace("-----width-----");
                trace(this.contentMask.width);
                var loc3:*=this.contentMask.width / this.LABELS.length;
                trace(loc3);
                loc2 = 0;
                while (loc2 < this.BTNS.length)
                    this.BTNS[loc2].width = loc3;
                    this.BTNS[loc2].x = loc3 * loc2;
                    ++loc2;
                this.btnHolder_mc.addEventListener(flash.events.MouseEvent.CLICK, this.numClick, false, 0, true);
                this.selectMovie();
                return;
            public function numClick(arg1:flash.events.MouseEvent):void
                this.killTimer();
                this.current = arg1.target.i;
                this.selectMovie();
                return;
            public function killTimer():void
                this.timerGoing = false;
                if (this.timer)
                    this.timer.reset();
                    this.timer.addEventListener(flash.events.TimerEvent.TIMER, this.plusClick, false, 0, true);
                    this.timer = null;
                return;
            public function selectMovie():void
                if (this.timerGoing)
                    this.timer = new flash.utils.Timer(uint(this.xmlData.ad[com.danehansen.MyMath.modulo(this.current, this.xmlData.ad.length())].@delay), 1);
                    this.timer.start();
                    this.timer.addEventListener(flash.events.TimerEvent.TIMER, this.plusClick, false, 0, true);
                while (this.holder_mc.numChildren > 0)
                    this.holder_mc.removeChild(this.holder_mc.getChildAt(0));
                var loc1:*=new flash.display.Loader();
                loc1.load(new flash.net.URLRequest(this.xmlData.ad[com.danehansen.MyMath.modulo(this.current, this.xmlData.ad.length())].@loc));
                this.holder_mc.addChild(loc1);
                var loc2:*=0;
                while (loc2 < this.BTNS.length)
                    this.BTNS[loc2].deselect();
                    ++loc2;
                this.BTNS[com.danehansen.MyMath.modulo(this.current, this.xmlData.ad.length())].select();
                var loc3:*=this.BTNS[com.danehansen.MyMath.modulo(this.current, this.xmlData.ad.length())].x + this.BTNS[com.danehansen.MyMath.modulo(this.current, this.xmlData.ad.length())].width / 2 + this.btnHolder_mc.x;
                trace("addLength:" + this.xmlData.ad.length());
                trace(loc3, com.danehansen.MyMath.modulo(this.current, this.xmlData.ad.length()));
                com.greensock.TweenLite.to(this.indicator_mc, 0.3, {"x":loc3, "ease":com.greensock.easing.Cubic.easeOut});
                loc1.contentLoaderInfo.addEventListener(flash.events.Event.COMPLETE, this.adLoaded, false, 0, true);
                return;
            public function adLoaded(arg1:flash.events.Event):void
                var evt:flash.events.Event;
                var loc1:*;
                evt = arg1;
                try
                    evt.target.content.xmlData = this.xmlData.ad[com.danehansen.MyMath.modulo(this.current, this.xmlData.ad.length())];
                catch (er:Error)
                return;
            public function minusClick(arg1:flash.events.MouseEvent):void
                this.killTimer();
                var loc1:*;
                var loc2:*=((loc1 = this).current - 1);
                loc1.current = loc2;
                this.selectMovie();
                return;
            public function plusClick(arg1:flash.events.Event):void
                if (arg1.type != "timer")
                    this.killTimer();
                var loc1:*;
                var loc2:*=((loc1 = this).current + 1);
                loc1.current = loc2;
                this.selectMovie();
                trace("next");
                return;
            public function ENDED(arg1:flash.events.Event):void
                if (arg1.type != "timer")
                    this.killTimer();
                var loc1:*;
                var loc2:*=((loc1 = this).current + 1);
                loc1.current = loc2;
                this.selectMovie();
                trace("next");
                return;
            public function STARTED(arg1:flash.events.Event):void
                this.killTimer();
                return;
            function frame1():*
                this.timerGoing = true;
                addEventListener("endNow", this.ENDED, false, 0, true);
                addEventListener("startNow", this.STARTED, false, 0, true);
                this.init();
                return;
            public const XML_LOC:String=stage.loaderInfo.parameters.xmlLoc ? stage.loaderInfo.parameters.xmlLoc : "home_ads.xml";
            public const LABELS:__AS3__.vec.Vector.<String>=new Vector.<String>(6);
            public const BTNS:__AS3__.vec.Vector.<Btn>=new Vector.<Btn>();
            public const TRANSITION_TIME:Number=0.2;
            public var contentMask:flash.display.MovieClip;
            public var btnHolder_mc:flash.display.MovieClip;
            public var holder_mc:flash.display.MovieClip;
            public var indicator_mc:flash.display.MovieClip;
            public var prev_mc:flash.display.MovieClip;
            public var next_mc:flash.display.MovieClip;
            public var current:int;
            public var xmlData:XML;
            public var timer:flash.utils.Timer;
            public var timerGoing:Boolean;

  • Stupid TypeError: Error #1009:

    Ok, guys I have posted this same question to a few forums but no luck. So heres my problem that im getting when I complile my swf. I get this stupid, compiling error message, I know what its reffering to but I tried tackleing the line which its referring to but no luck.
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at net.schemagroup.ui::Interface/revealDropDown()[/Users/abel/Desktop/mySite/fla/net/schemag roup/ui/Interface.as:174]
    at net.schemagroup::LatestWorks/initRevealDropDown()[/Users/abel/Desktop/mySite/fla/net/sche magroup/LatestWorks.as:407]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at SetIntervalTimer/onTimer()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    So basically i'm just calling a instance method from my LatestWorks.as class. Which this instance method is defined in Interface.as class also, my Interface.as class is initialized through my Shell.as class.
    Heres my hiarchy of my class structure.
    here are my classes in order Shell.as,Interface.as, and LatestWorks.as
    Here is Shell.as class
    Code: Select all
    package net.schemagroup
       import gs.*;
       import gs.easing.*;
       import flash.display.*;
       import flash.media.Sound;
       import flash.media.SoundChannel;
       import flash.media.SoundLoaderContext;
       import flash.media.SoundTransform;
       import flash.events.*;
       import flash.net.*;
       import net.schemagroup.ui.Interface;
       import net.schemagroup.LatestWorks;
       public class Shell extends MovieClip
          public var duration:Number;
          public var swfWidth:uint;
          public var swfHeight:uint;
          private var mySound:Sound;
          private var urlSound:String;
          private var urlRequest:URLRequest;
          private var soundBuffTime:Number;
          private var sndChannel:SoundChannel;
          private var testingSound:Boolean;
          private var transform0:SoundTransform;
          private var directoryPath:String;
          private var latestPage:MovieClip;
          var myWork:LatestWorks;
          public function Shell()
             soundBuffTime = 1000;
             var myInterface:Interface = new Interface();
             myInterface.revealInterface(interface_mc);
             latestPage = pages_mc.page0_mc;
             testingSound = true;
             duration = 0.75;
             if (testingSound)
                directoryPath = "../ambient/";
                urlSound = directoryPath + "06_Dabz_Beat.mp3";
             else
                directoryPath = "ambient/";
                urlSound = directoryPath + "06_Dabz_Beat.mp3";
             mySound = new Sound();
             urlRequest = new URLRequest(urlSound);
             var context:SoundLoaderContext = new SoundLoaderContext(soundBuffTime, true);
             mySound.load(urlRequest, context);
             sndChannel = mySound.play();
             transform0 =  sndChannel.soundTransform;
             addEventListener(Event.ENTER_FRAME, onPosition);
             myWork = new LatestWorks();
             swfWidth = stage.stageWidth;
             swfHeight = stage.stageHeight;
             setDefaultStageSettings();
             stage.scaleMode = StageScaleMode.NO_SCALE;
             stage.align = StageAlign.TOP_LEFT;
             stage.frameRate = 30;
             stage.addEventListener(Event.RESIZE, resizeDisplay);
             var myFullScreenSprite:Sprite = MovieClip(usability_controls_mc.fullscreen_mc);
             myFullScreenSprite.buttonMode = true;
             myFullScreenSprite.addEventListener(MouseEvent.CLICK, _handleClick);
             pages_mc.page0_mc.title0_mc.mask = pages_mc.page0_mc.mask_mc;
             pages_mc.page0_mc.scrollBox_mc.sb.mask = pages_mc.page0_mc.scrollBox_mc.maskscrollbar_mc;
          private function goFullScreen():void
             if (stage.displayState == StageDisplayState.NORMAL)
                stage.displayState = StageDisplayState.FULL_SCREEN;
             else
                stage.displayState=StageDisplayState.NORMAL;
          private function _handleClick(event:MouseEvent):void
             trace("here!");
             goFullScreen();
          private function onPosition(e:Event):void
             var soundPosition:uint = Math.ceil(Math.ceil(Math.abs(sndChannel.position))/Math.ceil(Math.abs(mySound.length)) * 100);
             if (soundPosition == 90)
                removeEventListener(Event.ENTER_FRAME, onPosition);
                transform0.volume = 1;
                TweenMax.to(sndChannel, 12, {volume:0});
                var mySound2:Sound = new Sound();
                var context2:SoundLoaderContext = new SoundLoaderContext(1000, true);
                mySound2.load(new URLRequest(directoryPath + "14_Broken_Language.mp3"), context2);
                var sndChannel2:SoundChannel = mySound2.play();
                var transform:SoundTransform =  sndChannel2.soundTransform;
                transform.volume = 1;
                TweenMax.from(sndChannel2, 12, {volume:0});
          public function setDefaultStageSettings():void
             pages_mc.page0_mc.scrollBox_mc.mask_content_mc.width = swfWidth;
             pages_mc.page0_mc.bar6_mc.expandbar2_mc.width = swfWidth;
             pages_mc.page0_mc.bar5_mc.expandbar_mc.width = swfWidth;
             usability_controls_mc.x = swfWidth - usability_controls_mc.width;
             usability_controls_mc.y = swfHeight - usability_controls_mc.height;
             myWork.setStageHeight = swfHeight;
             myWork.setStageWidth = swfWidth;
             myWork.setupParameters(latestPage);
             myWork.runInitAnimation();
             trace("My stageWidth is: "+ myWork.setStageWidth);
             trace("My stageHeight is: "+ myWork.setStageHeight);
             pages_mc.y = swfHeight - 478;
             trace("Pages y is: " + pages_mc.y);
          public function resizeDisplay(e:Event):void
             swfWidth = stage.stageWidth;
             swfHeight = stage.stageHeight;
             myWork.setStageHeight = swfHeight;
             myWork.setStageWidth = swfWidth;
             pages_mc.page0_mc.scrollBox_mc.mask_content_mc.width = swfWidth;
             pages_mc.page0_mc.bar6_mc.expandbar2_mc.width = swfWidth;
             pages_mc.page0_mc.bar5_mc.expandbar_mc.width = swfWidth;
             usability_controls_mc.x = swfWidth - usability_controls_mc.width;
             usability_controls_mc.y = swfHeight - usability_controls_mc.height;
             pages_mc.y = uint(swfHeight - pages_mc.height);
    Here is Interface.as class
    Code: Select all
    package net.schemagroup.ui
       import gs.*;
       import gs.easing.*;
       import flash.events.*;
       import flash.display.*;
       import flash.utils.setTimeout;
       import flash.net.URLLoader;
       import flash.net.URLRequest;
       import flash.net.Socket;
       import flash.text.AntiAliasType;
       import flash.text.TextFieldAutoSize;
    a
       public class Interface extends MovieClip
          private var duration:Number;
          private var xml:XML;
          private var movContainer:MovieClip;
          private var movDropDownContainer:MovieClip;
          private var myMenuArray:Array;
          private var myMenuDropArray:Array;
          private var newY:uint;
          private var oldY:uint;
          private var spacer:int;
          private var timedProcess:int;
          private var myMainDrop:DropItem;
          public function Interface():void
             duration = 0.75;
             spacer = 12;
             myMenuDropArray = [];
             myMenuArray = [];
          public function revealInterface(myContainer:MovieClip):void
             trace("Revealing Interface!");
             movContainer = myContainer;
             movDropDownContainer = myContainer.container_mc;
             var yArray:Array = [-10.0,6,105];
             var delayArray:Array = [2,2.15,2.45];
             TweenMax.to(movContainer.logo_mc, duration, {y:yArray[0], delay:delayArray[0], alpha:1,timeScale:1, ease:Strong.easeOut});
             TweenMax.to(movContainer.bar0_mc, duration, {y:yArray[1], delay:delayArray[1], alpha:1,timeScale:1, ease:Strong.easeOut});
             TweenMax.to(movContainer.bar1_mc, duration, {y:yArray[2], delay:delayArray[2], alpha:1,timeScale:1, ease:Strong.easeOut, onComplete:loadXML});
          private function loadXML():void
             var testingSound = true;
             var xmlPath:String;
             if (testingSound)
                xmlPath = "../xml/interface.xml";
             else
                xmlPath = "xml/interface.xml";
             var xmlURLRequest:URLRequest = new URLRequest(xmlPath);
             var xmlURLLoader:URLLoader = new URLLoader(xmlURLRequest);
             xmlURLLoader.addEventListener(Event.COMPLETE, onComplete);
          private function onComplete(e:Event):void
             xml = new XML(e.target.data);
             //trace(xml);
             if (xml != null)
                buildInterface(xml);
             else
                trace("XML did not load successfully!");
          private function buildInterface(e:XML):void
             var xmlLength:uint = e.menu.section.page.length();
             var xmlLength2:uint = e.dropdown.section.item.length();
             //trace("XMLength is: "+ xmlLength);
             var xmlList:XMLList = new XMLList(e.menu.section.page);
             var xmlList2:XMLList = new XMLList(e.dropdown.section.item);
             myMainDrop = new DropItem();
             myMainDrop.mainDrop_mc.txt.text = e.dropdown.section.attribute("title");
             myMainDrop.mainDrop_mc.txt.autoSize = TextFieldAutoSize.LEFT;
             myMainDrop.mainDrop_mc.txt.antiAliasType = AntiAliasType.ADVANCED;
             myMainDrop.alpha = 0;
             myMainDrop.y = int(Math.round(myMainDrop.height / 2));
             myMainDrop.buttonMode = true;
             myMainDrop.mouseChildren = false;
             myMainDrop.addEventListener(MouseEvent.CLICK, dropDown);
             var yArray:Array = [0,spacer * 2];
             TweenMax.to(myMainDrop, duration, {y:int(spacer), alpha:1, ease:Strong.easeOut});
             movContainer.dropcontainer_mc.addChild(myMainDrop);
             oldY = uint(movContainer.dropcontainer_mc.y +  -  spacer);
             for (var i:uint = 0; i < xmlLength; i++)
                //trace(xmlList[i].title);
                var myItem:MenuItem = new MenuItem();
                myItem.myText_mc.txt.htmlText = xmlList[i].title.toString();
                myItem.myText_mc.txt.autoSize = TextFieldAutoSize.LEFT;
                myItem.myText_mc.txt.antiAliasType = AntiAliasType.ADVANCED;
                myItem.y = int(myItem.height + spacer) * i;
                myItem.alpha = 0;
                myMenuArray.push(myItem);
                var setDynamicDelay = Number("0." + 1) * i;
                trace(setDynamicDelay);
                myItem.mouseChildren = false;
                myItem.buttonMode = true;
                myItem.addEventListener(MouseEvent.CLICK, selectedPage);
                TweenMax.to(myItem, duration, {y:yArray[i], alpha:1, delay:setDynamicDelay, ease:Strong.easeOut});
                movContainer.container_mc.addChild(myItem);
             for (var j:uint = 0; j < xmlLength2; j++)
                //trace(xmlList[i].title);
                var dropItem:MenuItem = new MenuItem();
                dropItem.myText_mc.txt.text = xmlList2[j].title.toString();
                dropItem.myText_mc.txt.autoSize = TextFieldAutoSize.LEFT;
                dropItem.myText_mc.txt.antiAliasType = AntiAliasType.ADVANCED;
                dropItem.y = int(spacer) * j;
                dropItem.x = int(spacer);
                myMainDrop.container_mc.y =  -  int(myMainDrop.container_mc.height);
                newY = myMainDrop.container_mc.y;
                myMenuDropArray.push(dropItem);
                dropItem.buttonMode = true;
                dropItem.mouseChildren = false;
                dropItem.addEventListener(MouseEvent.CLICK, selectedPage);
                myMainDrop.mask_mc.height = myMainDrop.container_mc.height;
                movDropDownContainer.addChild(dropItem);
                if(j >= xmlLength2-1)
                   //timedProcess = setTimeout(revealDropDown, 400);
          private function dropDown(e:MouseEvent):void
             revealDropDown();
          private function selectedPage(e:MouseEvent):void
          public function revealDropDown():void
             TweenMax.to(movDropDownContainer, 1, {y:200, ease:Strong.easeOut});
             TweenMax.to(myMenuArray[1], 1, {y:movDropDownContainer.height + spacer + spacer/2, ease:Strong.easeOut});
    Here is LatestWorks.as class
    Code: Select all
    package net.schemagroup
       import gs.*;
       import gs.easing.*;
       import flash.events.*;
       import flash.net.URLLoader;
       import flash.net.URLRequest;
       import flash.geom.Rectangle;
       import flash.net.Socket;
       import flash.display.*;
       import flash.utils.*;
       import flash.filters.BlurFilter;
       import flash.text.AntiAliasType;
       import flash.text.TextFieldAutoSize;
       import net.schemagroup.ui.Interface;
       public class LatestWorks extends Interface {
          private var currentCount:uint;
          private var setDelays:Array;
          private var imageTarget:Array;
          private var myXCordBoxArray:Array;
          private var myYCordBoxArray:Array;
          private var setBlurX:Array;
          private var setBlurY:Array;
          private var setTimeScale:Number;
          private var setDuration:Number;
          private var passXMLength:Number;
          private var imageRatio:Number;
          private var xmlPath:String;
          private var timedProcess:Number;
          private var xmlLength:int;
          private var xmlLength2:int;
          private var xmlURLRequest:URLRequest;
          private var xmlURLLoader:URLLoader;
          private var xml:XML;
          private var categorySelector:uint;
          private static var spacer:int=10;
          private var passMask:Sprite;
          private var passScrollBar:MovieClip;
          private var projectItemURL:Array;
          public var catButtonsArray:Array;
          public var passContainer:MovieClip;
          public var whatState:Boolean;
          private var imageDirectory:String;
          private var counter:Number;
          private var projectImageWidth:Number;
          private var testingXML:Boolean;
          public var btnClicked:Boolean;
          private var passedArray:Array;
          public var scrollBarWidth:Number;
          public var whatCategory:int;
          public var increment:int;
          public var increment2:int;
          private var swfWidth:int;
          private var swfHeight:int;
          private var projectsLoaded:Boolean;
          private static const tintColor:int=0x0180AA;
          public var mainObject:MovieClip;
          private var myInterface:MovieClip;
          private var myThumbContainer:DisplayObjectContainer;
          private var someInterface:Interface;
          public function LatestWorks():void
             this.projectsLoaded=false;
             this.increment=0;
             this.increment2=0;
             this.catButtonsArray=[];
             testingXML=true;
             if (testingXML) {
                imageDirectory="../images/";
                xmlPath="../xml/portfolio.xml";
             } else {
                imageDirectory="images/";
                xmlPath="xml/portfolio.xml";
          public function setupParameters(latestPage:MovieClip):void {
             this.mainObject = latestPage;
             this.passScrollBar= mainObject.scrollBox_mc.sb.scrollbar_mc;
             this.passMask= mainObject.mask_mc;
             this.passContainer= mainObject.scrollBox_mc.content_mc;
             counter=30;
             setBlurX = [5,
             5,
             5,
             0,
             150,
             150,
             10];
             setBlurY = [10,
             10,
             10,
             10,
             150,
             150,
             0];
             myXCordBoxArray = [-260,
                -55,
                -147,
                271,
                289,
                this.swfWidth+577,
                this.swfWidth+368];
             myYCordBoxArray = [this.swfHeight + -50,
                this.swfHeight + -167,
                this.swfHeight + -309,
                this.swfHeight + 72,
                this.swfHeight + 72,
                this.swfHeight + 142,
                72];
             setDelays=[0,0.35,0.55,0.75,0.95,1.15,1.35,1.45];
             setTimeScale=2;
             this.mainObject.categoryHolder_mc.mask = this.mainObject.mask_category_mc;
             setDuration=0.75;
          public function runInitAnimation():void {
             var objectLength:uint = 7;
             for (var i:int = 0; i < objectLength; i++) {
                var myMC:DisplayObject = this.mainObject["bar"+i+"_mc"];
                //trace("Counter is: " + i + " " + myMC.name + " Ycord is: "+  myYCordBoxArray[i]);
                TweenMax.from(myMC, setDuration, {blurFilter:{blurX:setBlurX[i],
                  blurY:setBlurX[i]},
                  x:myXCordBoxArray[i],
                  y:myYCordBoxArray[i],
                  delay:setDelays[i],
                  timescale:Math.random() * setTimeScale,
                  ease:Back.easeInOut});
                if (i>=4) {
                   TweenMax.from(mainObject.bar5_mc, setDuration, {blurFilter:{blurX:setBlurX[5],
                    blurY:setBlurY[5]},
                    x:myXCordBoxArray[5],
                    delay:setDelays[5],
                    ease:Strong.easeOut});
                   TweenMax.from(mainObject.bar6_mc, setDuration, {blurFilter:{blurX:setBlurX[6],
                    blurY:setBlurX[6]},
                    x:myXCordBoxArray[6],
                    delay:setDelays[6],
                    ease:Strong.easeOut});
                   TweenMax.to(this.passMask, setDuration, {scaleX:1, delay:2, ease:Strong.easeOut, onStart:AssignXMLSettings});
                   break;
          public function AssignXMLSettings():void {
             xmlURLRequest=new URLRequest(xmlPath);
             xmlURLLoader=new URLLoader(xmlURLRequest);
             xmlURLLoader.addEventListener(Event.COMPLETE, onLoaded);
          public function onLoaded(e:Event):void {
             xml=new XML(e.target.data);
             if (xml.data!=null) {
                trace(xmlPath + " successfully loaded!");
                buildPortfolio(xml);
                buildCatMenu(xml);
                TweenMax.to(mainObject.categoryHolder_mc, 0.75, {y:221, ease:Strong.easeOut});
                TweenMax.to(mainObject.scrollBox_mc.maskscrollbar_mc, setDuration, {scaleX:1,  ease:Strong.easeOut});
             } else {
                trace(xmlPath + " did not load successfully!");
          public function buildCatMenu(e:XML):void {
             var xmlList:XMLList=e.category.items.catitem;
             xmlLength2=xmlList.length();
             var XPos:int=0;
             var myCatMain:CatItem = new CatItem();
             myCatMain.category_txt.htmlText=e.category.@main;
             myCatMain.category_txt.autoSize=TextFieldAutoSize.LEFT;
             myCatMain.category_txt.antiAliasType=AntiAliasType.ADVANCED;
             mainObject.categoryHolder_mc.addChild(myCatMain);
             var TextValue:int=myCatMain.width;
             for (var i:uint = 0; i < xmlLength2; i++) {
                var myCatItem:CatItem = new CatItem();
                myCatItem.category_txt.htmlText=xmlList[i].title;
                myCatItem.category_txt.autoSize=TextFieldAutoSize.LEFT;
                myCatItem.category_txt.antiAliasType=AntiAliasType.ADVANCED;
                myCatItem.btnClicked=xmlList[i].@setDefault;
                myCatItem.whatCategory=i;
                //trace(xmlList[i].@setState);
                myCatItem.x=TextValue;
                XPos=myCatItem.width;
                catButtonsArray.push(myCatItem);
                TextValue+=Number(spacer+XPos);
                mainObject.categoryHolder_mc.addChild(myCatItem);
                myCatItem.buttonMode=true;
                myCatItem.mouseChildren=false;
                myCatItem.addEventListener(MouseEvent.CLICK, catClick);
                myCatItem.addEventListener(MouseEvent.MOUSE_OVER, catOver);
                myCatItem.addEventListener(MouseEvent.MOUSE_OUT, catOut);
                if (catButtonsArray[i].btnClicked==true) {
                   catButtonsArray[i].buttonMode=false;
                   catButtonsArray[i].mouseEnabled=false;           
                   TweenMax.to(catButtonsArray[i], 1, {tint:tintColor, delay:0.45, ease:Strong.easeOut});
          private function catClick(e:MouseEvent):void {
             var myButton:MovieClip=MovieClip(e.currentTarget);
             if(projectsLoaded)
             projectsLoaded = false;
             myButton.buttonMode=false;
             myButton.mouseEnabled=false;
             TweenMax.to(myButton, 1, {tint:tintColor, ease:Strong.easeOut});
             categorySelector = myButton.whatCategory;
             removeItems();
             validateCategories();
             myButton.btnClicked=true;
             changeTitle(myButton.category_txt.text);
          public function removeItems():void {
             //trace("Remove items fired!");
             var setDynamicDelay:Number;
             for (var i:int = 0; i < xmlLength; i++)
             setDynamicDelay = Number("0."+ 1) * i;
             var myItem:MovieClip = imageTarget[i];
             //trace(myItem.name);
             //trace("RemoveItem count is: "+ i + " out of " + Number(xmlLength-1));
             TweenMax.to(myItem, 1, {blurFilter:{blurY:50},
             y:this.swfHeight - myItem.height,
             ease:Strong.easeOut,
             delay:setDynamicDelay,
             onComplete:removeTarget,
             ease:Strong.easeOut});
          public function removeTarget():void {
             increment++;
             //trace("Increment is: "+ increment);
             this.passContainer.removeChildAt(0);
             if (increment >= Number(xmlLength))
                increment = 0;
                //trace("Increment is: "+ increment);
                //trace("Increment is equal to: "+ Number(xmlLength-1));
                buildPortfolio(xml);
          private function validateCategories():void {
             for (var i:int = 0; i < xmlLength2; i++)
                if (catButtonsArray[i].btnClicked==true)
                   TweenMax.to(catButtonsArray[i], 1, {removeTint:true, ease:Strong.easeOut});
                   catButtonsArray[i].buttonMode=true;
                   catButtonsArray[i].mouseEnabled=true;
                   catButtonsArray[i].btnClicked=false;
          private function changeTitle(e:String):void {
             TweenMax.to(mainObject.mask_mc, 0.75, {scaleX:0, ease:Strong.easeOut, onComplete:loadTitle, onCompleteParams:[e]});
          private function loadTitle(e:String) {
             mainObject.title0_mc.title_txt.htmlText=e;
             if(e == "WEBSITES")
             TweenMax.to(mainObject.title0_mc, 0.75, {x:120, delay:0.45, ease:Strong.easeOut});
             TweenMax.to(mainObject.bar6_mc, 0.75, {x:550, delay:0.45, ease:Strong.easeOut});
             TweenMax.to(mainObject.mask_mc, 0.75, {scaleX:1, delay:0.45, ease:Strong.easeOut});
             }else{
             TweenMax.to(mainObject.title0_mc, 0.75, {x:226, delay:0.45, ease:Strong.easeOut});
             TweenMax.to(mainObject.bar6_mc, 0.75, {x:656, delay:0.45, ease:Strong.easeOut});
             TweenMax.to(mainObject.mask_mc, 0.75, {scaleX:1, delay:0.45, ease:Strong.easeOut});
          public function buildPortfolio(e:XML):void
             trace("Building Portfolio!");
             //trace("XML category is: " + categorySelector);
             var xmlList:XMLList=e.projectitem[categorySelector].item;
             xmlLength=xmlList.length();
             //trace("Length of section is: " + xmlLength);
             var itemGap:Number=20;
             var setDynamicDelay:Number;
             currentCount=0;
             passXMLength=Number(xmlLength);
             var imageRatio:uint=passXMLength/passXMLength;
             //trace("Image ratio is: " + imageRatio);
             imageTarget=[];
             projectItemURL=[];
             for (var i:uint = 0; i < xmlLength; i++)
                /*trace("-----------------------------------");
                trace("Client is: " + xmlList[i].client);
                trace("Description is: " + xmlList[i].description);
                trace("Platform is: " + xmlList[i].platform);
                trace("Launch is: " + xmlList[i].launch);
                trace("-----------------------------------");
                var myItem:ProjectItem = new ProjectItem();
                myItem.name="item"+i+"_mc";
                myItem.x=Number(myItem.width+itemGap)*i;
                myItem.y=Number(this.swfHeight/2 - myItem.height);
                projectImageWidth=Number(myItem.width+itemGap)*i;
                //trace("Project image width is: " + projectImageWidth);
                this.passContainer.addChild(myItem);
                imageTarget.push(myItem);
                //trace(imageTarget[i].name);
                myItem.text_mc.description_txt.htmlText = xmlList[i].description.toString();
                myItem.text_mc.description_txt.wordWrap = true;
                myItem.text_mc.description_txt.autoSize = TextFieldAutoSize.LEFT;
                myItem.text_mc.description_txt.antiAliasType = AntiAliasType.ADVANCED;
                projectItemURL.push(imageDirectory + xmlList[i].attributes());
                setDynamicDelay = Number("0."+1)*i;
                TweenMax.to(myItem, 0.75, {blurFilter:{blurY:50}});
                TweenMax.to(myItem, 0.75, {blurFilter:{blurY:0}, y:0, delay:setDynamicDelay, ease:Strong.easeOut});
                if (i == xmlLength-1) {
                   trace("Preloading images!");
                   //preloadImages(projectItemURL,imageTarget);
                   preloadImages();
                   timedProcess = setTimeout(initRevealDropDown, 10000);
                   this.passScrollBar.width=Number(myItem.width+itemGap/imageRatio);
          public function initRevealDropDown():void
             clearTimeout(timedProcess);
             someInterface = new Interface();
             someInterface.revealDropDown();
          private function preloadImages() {
             var loaderURLRequest:URLRequest=new URLRequest(projectItemURL[currentCount]);
             var loader:Loader = new Loader();
             loader.contentLoaderInfo.addEventListener(Event.OPEN, _onOpen);
             loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, _onProgress);
             loader.contentLoaderInfo.addEventListener(Event.COMPLETE, _handleImageLoaded);
             loader.load(loaderURLRequest);
          private function _onOpen(e:Event):void {
             //trace("loading started!");
             imageTarget[currentCount].preloader_mc.gotoAndPlay("play");
          private function _onProgress(e:ProgressEvent):void {
             var loadBytes:Number=e.target.bytesLoaded;
             var totalBytes:Number=e.target.bytesTotal;
             var percent:Number=Math.ceil(loadBytes/totalBytes*100);
             //trace("BytesLoaded: " + loadBytes + " out of " + totalBytes + " Percentage: " + percent);
             imageTarget[currentCount].preloader_mc.percent_mc.pct_txt.text=Math.ceil(loadBytes/totalBytes*10).toString();
          private function _handleImageLoaded(e:Event):void {
             //trace("Finished loading: " + e.target.url);
             imageTarget[currentCount].preloader_mc.percent_mc.pct_txt.text="";
             imageTarget[currentCount].container_mc.alpha=0;
             imageTarget[currentCount].container_mc.addChild(Bitmap(e.target.content));
             imageTarget[currentCount].preloader_mc.stop();
             TweenMax.to(imageTarget[currentCount].preloader_mc, 0.75, {alpha:0, ease:Strong.easeOut});
             TweenMax.to(imageTarget[currentCount].container_mc, 0.75, {alpha:1, ease:Strong.easeOut});
          if (currentCount<passXMLength-1)
                currentCount++;
                preloadImages();
             }else if(currentCount >= passXMLength-1)
                //trace("Current count is equal to xmlLength!");
                projectsLoaded = true;
                //trace("ProjectsLoaded is: "+ projectsLoaded);
          private function catOver(e:MouseEvent):void {
             var myButton:MovieClip=MovieClip(e.currentTarget);
             TweenMax.to(myButton, 1, {tint:tintColor, ease:Strong.easeOut});
          private function catOut(e:MouseEvent):void {
             var myButton:MovieClip=MovieClip(e.currentTarget);
             if (myButton.btnClicked!=true) {
                TweenMax.to(myButton, 1, {removeTint:true, ease:Strong.easeOut});
          public function get selectCategory():uint {
             return this.categorySelector;
          public function set selectCategory(e:uint):void {
             this.categorySelector=e;
          public function get getState():Boolean {
             return this.whatState;
          public function set getState(setState:Boolean):void {
             this.whatState=setState;
          public function get setStageHeight():int
             return swfHeight;
          public function set setStageHeight(whatHeight:int):void
             swfHeight = whatHeight;
          public function get setStageWidth():int
             return swfWidth;
          public function set setStageWidth(whatWidth:int):void
             swfWidth = whatWidth;
    Please anybody, it would be very helpful since i'm still trying to tackle as3 classes.
    thanks
    abe

    so, movDropDownContainer (which i know is myContainer.container_mc) doesn't exist WHEN revealDropDown() is called (and that error message is displayed).
    we already know it does exist and movDropDownContainer is defined correctly when your constructor is called so some time after that the timeline that contains myContainer.container_mc must move and it no longer exists or actionscript is used to remove the movieclip.
    the most subtle way that can happen is with a timeline created instance (ie, created in the ide).  there are lots of ways this can happen.  obviously, if you see that your timeline moves to or through a frame where myContainer.container_mc doesn't exist, it should be clear why you're seeing that error message.  but this error can be caused by more difficult to understand situations.
    for example, if it appears that movieclip is in every frame but it's in a layer with more than 1 keyframe, then you can have identically named instances (and that all look the same) that are not the same instance.  in fact, the only sure way to know that movieclip exists in keyframes where it appears to exist is to clear all the keyframes in its layer (after the first keyframe where it appears) and then create all the additional keyframes.  at that point, if you do not remove the movieclip from the stage, in any keyframes, all the instances will be the same.  if you do anything else or you've done anything else, you're going to run into this problem.

  • Another TypeError: Error #1009 Problem

    Hey all,   I've searched the 'net and searched these forums but can't seem to figure out what I'm doing wrong.  I'm creating a flash based game for school that so far has ten frames on the timeline.  I have buttons on frame one, frame 5, and frame 10. I have actionscript code to control those buttons on frame 1, frame 5, and frame 10 respectively.  The code is worded identically on each frame with the exception that I've changed the button names and the function names that are called when the mouse button is pressed.   The code works fine on frame 1 and on frame 5, but when I click the button on frame 5 that sends me to frame 10, I get this error immediately:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at keys2BibleTest_fla::MainTimeline/frame10()
        at flash.display::MovieClip/gotoAndStop()
        at keys2BibleTest_fla::MainTimeline/stormBtnHandler1()
    I have verified that each instance of the buttons do indeed have the name of the button being listened for in the event handlers. I can change the type from button to movieclip and it works fine.  I can also remove frames 1 through 9 and the code works.
    Here's the code:
    Frame 1:
    stop();
    enterBtn.addEventListener(MouseEvent.MOUSE_DOWN, enterBtnHandler1);
    function enterBtnHandler1(event:MouseEvent):void {
        gotoAndStop(5, "Scene 1");
    Frame 5:
    import flash.events.MouseEvent;
    stormBtn.addEventListener(MouseEvent.MOUSE_DOWN, stormBtnHandler1);
    function stormBtnHandler1(event:MouseEvent):void {
        gotoAndStop(10, "Scene 1");
    chickenOutBtn.addEventListener(MouseEvent.MOUSE_DOWN, chickenOutBtnHandler1);
    function chickenOutBtnHandler1(event:MouseEvent):void {
        gotoAndStop(1, "Scene 1");
    Frame 10:
    import flash.events.MouseEvent;
    creationBtn.addEventListener(MouseEvent.MOUSE_DOWN, creation);
    function creation(event:MouseEvent):void {
        gotoAndStop(3, "Scene 1");
    lifeBtn.addEventListener(MouseEvent.MOUSE_DOWN, lifeOfChrist);
    function lifeOfChrist(event:MouseEvent):void {
        navigateToURL(new URLRequest("http://www.ceoutreach.org"));
    I can't for the life of me figure out what's wrong.  Can anyone help?
    Thank you,
    Mike

    Ned,
    thank you for your reply. Unfortunately, my buttons are on separate layers and separated by blank keyframes to boot.  When I posted originally, the buttons were all on the same layer BUT separated by blank keyframes. After doing some research on the web, I moved the buttons to their own separate layers (one button per layer) and kept the blank keyframes as well.
    Currently, my only filled keyframes are one, five, and ten. All other keyframes are blank except for my labels and actionscript code. I'm using separate layers for labels and actions, too. I attempted to attach the file with my original post but received the message that .fla files are not allowed.  I don't know about your window, but mine says Max size 5.0 MB (my file is 2), All files types allowed except.... .fla is not one of those in the exception list so I expected it to go.
    It's got something to do with the two buttons on frame 10.... I just went into the actionscript and bypassed frame 5, going directly to frame 10 when the Enter button is depressed, and got the same error message.   There's something in the code I'm just not seeing.... when I comment out the code for the buttons, no error message.  Put the code back in, error message comes back.  Delete the buttons and the code and insert new ones, the error message comes back.
    It's got me totally stumped.
    Thank you for trying,
    Mike
    Edit: I forgot to mention, frame ten is the only place on the timeline where instances of these particular buttons are being used. The other frames are populated with different buttons.  Also, when I change the type to movieclip, everything works.  Weird, huh?

  • TypeError: Error #1009: Cannot access a property or method of a null object reference.

    Hi all,
    I am new to ActionScript and Flash, and I am getting this error: TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at jessicaclucas_fla::MainTimeline/stopResumescroll()
    I have several different clips in one movie that have scrolling content. When I click a button to move to a different clip that doesn’t have a certain scroll, it gives me this error. I cannot figure out how to fix this. You can see the site I am working on: http://www.jessicaclucas.com. I would really appreciate some help! Thank you in advance. Here is the code:
    //Import TweenMax and the plugin for the blur filter
    import gs.TweenMax;
    import gs.plugins.BlurFilterPlugin;
    //Save the content’s and mask’s height.
    //Assign your own content height here!!
    var RESUMECONTENT_HEIGHT:Number = 1500;
    var RESUME_HEIGHT:Number = 450;
    //We want to know what was the previous y coordinate of the content (for the animation)
    var oldResumeY:Number = myResumecontent.y;
    //Position the content on the top left corner of the mask
    myResumecontent.x = myResume.x;
    myResumecontent.y = myResume.y;
    //Set the mask to our content
    myResumecontent.mask = myResume;
    //Create a rectangle that will act as the Resumebounds to the scrollMC.
    //This way the scrollMC can only be dragged along the line.
    var Resumebounds:Rectangle = new Rectangle(resumescrollMC.x,resumescrollMC.y,0,450);
    //We want to know when the user is Resumescrolling
    var Resumescrolling:Boolean = false;
    //Listen when the user is holding the mouse down on the scrollMC
    resumescrollMC.addEventListener(MouseEvent.MOUSE_DOWN, startResumescroll);
    //Listen when the user releases the mouse button
    stage.addEventListener(MouseEvent.MOUSE_UP, stopResumescroll);
    //This function is called when the user is dragging the scrollMC
    function startResumescroll(e:Event):void {
    //Set Resumescrolling to true
    Resumescrolling = true;
    //Start dragging the scrollMC
    resumescrollMC.startDrag(false,Resumebounds);
    //This function is called when the user stops dragging the scrollMC
    function stopResumescroll(e:Event):void {
    //Set Resumescrolling to false
    Resumescrolling = false;
    //Stop the drag
    resumescrollMC.stopDrag();
    //Add ENTER_FRAME to animate the scroll
    addEventListener(Event.ENTER_FRAME, enterResumeHandler);
    //This function is called in each frame
    function enterResumeHandler(e:Event):void {
    //Check if we are Resumescrolling
    if (Resumescrolling == true) {
    //Calculate the distance how far the scrollMC is from the top
    var distance:Number = Math.round(resumescrollMC.y - Resumebounds.y);
    //Calculate the percentage of the distance from the line height.
    //So when the scrollMC is on top, percentage is 0 and when its
    //at the bottom the percentage is 1.
    var percentage:Number = distance / RESUME_HEIGHT;
    //Save the old y coordinate
    oldResumeY = myResumecontent.y;
    //Calculate a new y target coordinate for the content.
    //We subtract the mask’s height from the contentHeight.
    //Otherwise the content would move too far up when we scroll down.
    //Remove the subraction to see for yourself!
    var targetY:Number = -((RESUMECONTENT_HEIGHT - RESUME_HEIGHT) * percentage) + myResume.y;
    //We only want to animate the scroll if the old y is different from the new y.
    //In our movie we animate the scroll if the difference is bigger than 5 pixels.
    if (Math.abs(oldResumeY - targetY) > 5) {
    //Tween the content to the new location.
    //Call the function ResumetweenFinished() when the tween is complete.
    TweenMax.to(myResumecontent, 0.3, {y: targetY, blurFilter:{blurX:22, blurY:22}, onComplete: ResumetweenFinished});
    //This function is called when the tween is finished
    function ResumetweenFinished():void {
    //Tween the content back to “normal” (= remove blur)
    TweenMax.to(myResumecontent, 0.3, {blurFilter:{blurX:0, blurY:0}});

    Hi again,
    Thank you for helping. I really appreciate it! Would it be easier to say, if resumescrollMC exists, then execute these functions? I was not able to figure out the null statement from your post. Here is what I am trying (though I am not sure it is possible). I declared the var resumescrollMC, and then I tried to put pretty much the entire code into an if (resumescrollMC == true) since this code only needs to be completed when resumescrollMC is on the stage. It is not working the way I have tried, but I am assuming I am setting up the code incorrectly. Or, an if statement is not supposed to be issued to an object:
    //Import TweenMax and the plugin for the blur filter
    import gs.TweenMax2;
    import gs.plugins.BlurFilterPlugin2;
    //Save the content's and mask's height.
    //Assign your own content height here!!
    var RESUMECONTENT_HEIGHT:Number = 1500;
    var RESUME_HEIGHT:Number = 450;
    var resumescrollMC:MovieClip;
    if (resumescrollMC == true) {
    //We want to know what was the previous y coordinate of the content (for the animation)
    var oldResumeY:Number = myResumecontent.y;
    //Position the content on the top left corner of the mask
    myResumecontent.x = myResume.x;
    myResumecontent.y = myResume.y;
    //Set the mask to our content
    myResumecontent.mask = myResume;
    //Create a rectangle that will act as the Resumebounds to the scrollMC.
    //This way the scrollMC can only be dragged along the line.
    var Resumebounds:Rectangle = new Rectangle(resumescrollMC.x,resumescrollMC.y,0,450);
    //We want to know when the user is Resumescrolling
    var Resumescrolling:Boolean = false;
    //Listen when the user is holding the mouse down on the scrollMC
    resumescrollMC.addEventListener(MouseEvent.MOUSE_DOWN, startResumescroll);
    //Listen when the user releases the mouse button
    stage.addEventListener(MouseEvent.MOUSE_UP, stopResumescroll);
    //This function is called when the user is dragging the scrollMC
    function startResumescroll(e:Event):void {
    //Set Resumescrolling to true
    Resumescrolling = true;
    //Start dragging the scrollMC
    resumescrollMC.startDrag(false,Resumebounds);
    //This function is called when the user stops dragging the scrollMC
    function stopResumescroll(e:Event):void {
    //Set Resumescrolling to false
    Resumescrolling = false;
    //Stop the drag
    resumescrollMC.stopDrag();
    //Add ENTER_FRAME to animate the scroll
    addEventListener(Event.ENTER_FRAME, enterResumeHandler);
    //This function is called in each frame
    function enterResumeHandler(e:Event):void {
    //Check if we are Resumescrolling
    if (Resumescrolling == true) {
    //Calculate the distance how far the scrollMC is from the top
    var distance:Number = Math.round(resumescrollMC.y - Resumebounds.y);
    //Calculate the percentage of the distance from the line height.
    //So when the scrollMC is on top, percentage is 0 and when its
    //at the bottom the percentage is 1.
    var percentage:Number = distance / RESUME_HEIGHT;
    //Save the old y coordinate
    oldResumeY = myResumecontent.y;
    //Calculate a new y target coordinate for the content.
    //We subtract the mask's height from the contentHeight.
    //Otherwise the content would move too far up when we scroll down.
    //Remove the subraction to see for yourself!
    var targetY:Number = -((RESUMECONTENT_HEIGHT - RESUME_HEIGHT) * percentage) + myResume.y;
    //We only want to animate the scroll if the old y is different from the new y.
    //In our movie we animate the scroll if the difference is bigger than 5 pixels.
    if (Math.abs(oldResumeY - targetY) > 5) {
    //Tween the content to the new location.
    //Call the function ResumetweenFinished() when the tween is complete.
    TweenMax.to(myResumecontent, 0.3, {y: targetY, blurFilter:{blurX:22, blurY:22}, onComplete: ResumetweenFinished});
    //This function is called when the tween is finished
    function ResumetweenFinished():void {
    //Tween the content back to "normal" (= remove blur)
    TweenMax.to(myResumecontent, 0.3, {blurFilter:{blurX:0, blurY:0}});

  • Adobe AIR won't install - error in CryptAcquireContext

    Trying to install updated Adobe AIR.  Failed to update, so uninstalled and tried again.  Still fails.  Problem is in MSI install, so that log is included as well.
    Adobe log:
    [2014-09-20:16:25:09] Runtime Installer begin with version 15.0.0.249 on Windows Vista x86
    [2014-09-20:16:25:09] Commandline is:
    [2014-09-20:16:25:09] No installed runtime detected
    [2014-09-20:16:25:11] Relaunching with elevation
    [2014-09-20:16:25:11] Launching subprocess with commandline c:\users\myuser\appdata\local\temp\airc80f.tmp\adobe air installer.exe -ei
    [2014-09-20:16:25:12] Runtime Installer begin with version 15.0.0.249 on Windows 7 x86
    [2014-09-20:16:25:12] Commandline is: -stdio \\.\pipe\AIR_4156_0 -ei
    [2014-09-20:16:25:12] No installed runtime detected
    [2014-09-20:16:25:12] Starting silent runtime install. Installing runtime version 15.0.0.249
    [2014-09-20:16:25:12] Installing msi at c:\users\myuser\appdata\local\temp\airc80f.tmp\setup.msi with guid {7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}
    [2014-09-20:16:25:12] Error occurred during msi install operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1603" errorID=0]
    [2014-09-20:16:25:12] Rolling back install of c:\users\myuser\appdata\local\temp\airc80f.tmp\setup.msi
    [2014-09-20:16:25:12] Rollback complete
    [2014-09-20:16:25:12] Exiting due to error: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1603" errorID=0]
    [2014-09-20:16:25:12] Exiting due to error: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1603" errorID=0]
    [2014-09-20:16:25:12] Runtime Installer end with exit code 7
    MSI install log:
    === Verbose logging started: 9/20/2014  16:25:12  Build type: SHIP UNICODE 5.00.7601.00  Calling process: C:\Users\myuser\appdata\local\temp\airc80f.tmp\adobe air installer.exe ===
    MSI (c) (A0:20) [16:25:12:297]: Resetting cached policy values
    MSI (c) (A0:20) [16:25:12:297]: Machine policy value 'Debug' is 0
    MSI (c) (A0:20) [16:25:12:297]: ******* RunEngine:
               ******* Product: c:\users\myuser\appdata\local\temp\airc80f.tmp\setup.msi
               ******* Action:
               ******* CommandLine: **********
    MSI (c) (A0:20) [16:25:12:297]: Client-side and UI is none or basic: Running entire install on the server.
    MSI (c) (A0:20) [16:25:12:297]: Grabbed execution mutex.
    MSI (c) (A0:20) [16:25:12:297]: Cloaking enabled.
    MSI (c) (A0:20) [16:25:12:297]: Attempting to enable all disabled privileges before calling Install on Server
    MSI (c) (A0:20) [16:25:12:307]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (F8:34) [16:25:12:307]: Running installation inside multi-package transaction c:\users\myuser\appdata\local\temp\airc80f.tmp\setup.msi
    MSI (s) (F8:34) [16:25:12:307]: Grabbed execution mutex.
    MSI (s) (F8:B0) [16:25:12:307]: Resetting cached policy values
    MSI (s) (F8:B0) [16:25:12:307]: Machine policy value 'Debug' is 0
    MSI (s) (F8:B0) [16:25:12:307]: ******* RunEngine:
               ******* Product: c:\users\myuser\appdata\local\temp\airc80f.tmp\setup.msi
               ******* Action:
               ******* CommandLine: **********
    MSI (s) (F8:B0) [16:25:12:307]: Machine policy value 'DisableUserInstalls' is 0
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 00004109110000000000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 00004109110000000000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 000041091A0090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 000041091A0090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 00004109440090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 00004109440090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 00004109450090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 00004109450090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 000041094B0090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 000041094B0090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 00004109510090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 00004109510090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 00004109511090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 00004109511090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 00004109610090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 00004109610090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 00004109611090400100000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 00004109611090400100000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 00004109711090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 00004109711090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 00004109750000000000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 00004109750000000000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 00004109810090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 00004109810090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 00004109910090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 00004109910090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Setting cached product context: machine assigned for product: 00004109A10090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:307]: Using cached product context: machine assigned for product: 00004109A10090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 00004109A20000000100000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 00004109A20000000100000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 00004109A20090400100000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 00004109A20090400100000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 00004109AB0090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 00004109AB0090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 00004109B10090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 00004109B10090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 00004109B30000000000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 00004109B30000000000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 00004109C20090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 00004109C20090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 00004109E60090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 00004109E60090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 00004109F10090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 00004109F10090400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 00004109F100A0C00000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 00004109F100A0C00000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 00004109F100C0400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 00004109F100C0400000000000F01FEC
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 18E5D76494382984E9183C76E48D4E15
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 18E5D76494382984E9183C76E48D4E15
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 1AE98DF52C99EE04BB5F028F99E17D65
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 1AE98DF52C99EE04BB5F028F99E17D65
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 1af2a8da7e60d0b429d7e6453b3d0182
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 1af2a8da7e60d0b429d7e6453b3d0182
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 2C32D537CEB46C54F98C94EC6B1BD8FA
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 2C32D537CEB46C54F98C94EC6B1BD8FA
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 32FA08E84B7111642BE8861A412B4388
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 32FA08E84B7111642BE8861A412B4388
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 440C75EA2198181A0A4ECBD2BAA390A2
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 440C75EA2198181A0A4ECBD2BAA390A2
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 46A934DE810F4DD4B85A23D858BA90BA
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 46A934DE810F4DD4B85A23D858BA90BA
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 49C549AAE58284ED3AF00701C55608ED
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 49C549AAE58284ED3AF00701C55608ED
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 4EA42A62D9304AC4784BF238120755FF
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 4EA42A62D9304AC4784BF238120755FF
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 537144223895A2DAC55CAFC2DCE77F23
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 537144223895A2DAC55CAFC2DCE77F23
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 538B92CC5A599DC380B79FD4B7E9CCB9
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 538B92CC5A599DC380B79FD4B7E9CCB9
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 5775F9B7C8C8E4A2C0BA47AEA75FBC90
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 5775F9B7C8C8E4A2C0BA47AEA75FBC90
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 5B3B929D6C65CC643B3A1A7A48BC8B4E
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 5B3B929D6C65CC643B3A1A7A48BC8B4E
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 5ED62A6B5B2F85D45907F47C060EF0DC
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 5ED62A6B5B2F85D45907F47C060EF0DC
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 68AB67CA7DA73301B744BA0000000010
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 68AB67CA7DA73301B744BA0000000010
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 6A2BCED7622C2406C9B2381396053DE0
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 6A2BCED7622C2406C9B2381396053DE0
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 7414007EACC2C134AA50A21B669B87D5
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 7414007EACC2C134AA50A21B669B87D5
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 79FDB2E57C0EEA57921EE59AAD62F2F2
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 79FDB2E57C0EEA57921EE59AAD62F2F2
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 86DFAEADA4BB70542A148C08D4E26AD6
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 86DFAEADA4BB70542A148C08D4E26AD6
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 873B5C2BF6457A5777751CAEFAFAE933
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 873B5C2BF6457A5777751CAEFAFAE933
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 93BAD29AC2E44034A96BCB446EB8552E
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 93BAD29AC2E44034A96BCB446EB8552E
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 97C95D9D080B49C47BA2E14B23DE91E2
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 97C95D9D080B49C47BA2E14B23DE91E2
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: 9eab5ec6ac3d99b498a1d16c1c815acf
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: 9eab5ec6ac3d99b498a1d16c1c815acf
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: A7C380116D0D4AD4C8A3478B83E90CB7
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: A7C380116D0D4AD4C8A3478B83E90CB7
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: A9A38029D9457504888E22E30A5836AF
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: A9A38029D9457504888E22E30A5836AF
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: AA37CCA8115655C71B9AE8D5D1AEAF3A
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: AA37CCA8115655C71B9AE8D5D1AEAF3A
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: AFAD45F1162926A45BD9C6F9624BF84E
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: AFAD45F1162926A45BD9C6F9624BF84E
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: B7017234E59EC514194954F8EC6DFB21
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: B7017234E59EC514194954F8EC6DFB21
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: BE4EBED704B66673BB53C5BB3C58AD73
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: BE4EBED704B66673BB53C5BB3C58AD73
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: C173E5AD3336A8D3394AF65D2BB0CCE6
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: C173E5AD3336A8D3394AF65D2BB0CCE6
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: c1c4f01781cc94c4c8fb1542c0981a2a
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: c1c4f01781cc94c4c8fb1542c0981a2a
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: D1E6D466C6A2D45D135A6BCB03EC0B6C
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: D1E6D466C6A2D45D135A6BCB03EC0B6C
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: D7314F9862C648A4DB8BE2A5B47BE100
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: D7314F9862C648A4DB8BE2A5B47BE100
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: DBA18E807F972C9488F1DFC60B796539
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: DBA18E807F972C9488F1DFC60B796539
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: E9F5B9A63FAC4622D90A3E479F3A2497
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: E9F5B9A63FAC4622D90A3E479F3A2497
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: F132429DD20DB0E45B11CCA4E0E35D74
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: F132429DD20DB0E45B11CCA4E0E35D74
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: F60730A4A66673047777F5728467D401
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: F60730A4A66673047777F5728467D401
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: F65865963B6B0EB4ABB0F894B53E0233
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: F65865963B6B0EB4ABB0F894B53E0233
    MSI (s) (F8:B0) [16:25:12:317]: Setting cached product context: machine assigned for product: F92F4A37CA13DBE4AAB1C05C1FC8F838
    MSI (s) (F8:B0) [16:25:12:317]: Using cached product context: machine assigned for product: F92F4A37CA13DBE4AAB1C05C1FC8F838
    MSI (s) (F8:B0) [16:25:12:317]: SRSetRestorePoint skipped for this transaction.
    MSI (s) (F8:B0) [16:25:12:317]: File will have security applied from OpCode.
    MSI (s) (F8:B0) [16:25:12:317]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'c:\users\myuser\appdata\local\temp\airc80f.tmp\setup.msi' against software restriction policy
    MSI (s) (F8:B0) [16:25:12:317]: SOFTWARE RESTRICTION POLICY: c:\users\myuser\appdata\local\temp\airc80f.tmp\setup.msi has a digital signature
    MSI (s) (F8:B0) [16:25:12:327]: SOFTWARE RESTRICTION POLICY: c:\users\myuser\appdata\local\temp\airc80f.tmp\setup.msi is permitted to run at the 'unrestricted' authorization level.
    MSI (s) (F8:B0) [16:25:12:327]: End dialog not enabled
    MSI (s) (F8:B0) [16:25:12:327]: Original package ==> c:\users\myuser\appdata\local\temp\airc80f.tmp\setup.msi
    MSI (s) (F8:B0) [16:25:12:327]: Package we're running from ==> c:\Windows\Installer\f504.msi
    MSI (s) (F8:B0) [16:25:12:327]: APPCOMPAT: Compatibility mode property overrides found.
    MSI (s) (F8:B0) [16:25:12:327]: APPCOMPAT: looking for appcompat database entry with ProductCode '{7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}'.
    MSI (s) (F8:B0) [16:25:12:327]: APPCOMPAT: no matching ProductCode found in database.
    MSI (s) (F8:B0) [16:25:12:327]: MSCOREE not loaded loading copy from system32
    MSI (s) (F8:B0) [16:25:12:337]: Machine policy value 'TransformsSecure' is 0
    MSI (s) (F8:B0) [16:25:12:337]: User policy value 'TransformsAtSource' is 0
    MSI (s) (F8:B0) [16:25:12:337]: Machine policy value 'DisablePatch' is 0
    MSI (s) (F8:B0) [16:25:12:337]: Machine policy value 'AllowLockdownPatch' is 0
    MSI (s) (F8:B0) [16:25:12:337]: Machine policy value 'DisableLUAPatching' is 0
    MSI (s) (F8:B0) [16:25:12:337]: Machine policy value 'DisableFlyWeightPatching' is 0
    MSI (s) (F8:B0) [16:25:12:337]: Enabling baseline caching for this transaction since all active patches are MSI 3.0 style MSPs or at least one MSI 3.0 minor update patch is active
    MSI (s) (F8:B0) [16:25:12:337]: APPCOMPAT: looking for appcompat database entry with ProductCode '{7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}'.
    MSI (s) (F8:B0) [16:25:12:337]: APPCOMPAT: no matching ProductCode found in database.
    MSI (s) (F8:B0) [16:25:12:337]: Transforms are not secure.
    MSI (s) (F8:B0) [16:25:12:337]: Note: 1: 2205 2:  3: Control
    MSI (s) (F8:B0) [16:25:12:337]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\Users\myuser\AppData\Local\Temp\MSIbde4d.LOG'.
    MSI (s) (F8:B0) [16:25:12:337]: Command Line: CURRENTDIRECTORY=C:\Users\myuser\Desktop CLIENTUILEVEL=3 MSICLIENTUSESEXTERNALUI=1 CLIENTPROCESSID=5024
    MSI (s) (F8:B0) [16:25:12:337]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{50BE8427-EA12-458B-8357-F12866B92756}'.
    MSI (s) (F8:B0) [16:25:12:337]: Product Code passed to Engine.Initialize:           ''
    MSI (s) (F8:B0) [16:25:12:337]: Product Code from property table before transforms: '{7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}'
    MSI (s) (F8:B0) [16:25:12:337]: Product Code from property table after transforms:  '{7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}'
    MSI (s) (F8:B0) [16:25:12:337]: Product not registered: beginning first-time install
    MSI (s) (F8:B0) [16:25:12:337]: Machine policy value 'DisableMsi' is 0
    MSI (s) (F8:B0) [16:25:12:337]: Product {7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD} is not managed.
    MSI (s) (F8:B0) [16:25:12:337]: MSI_LUA: Credential prompt not required, user is an admin
    MSI (s) (F8:B0) [16:25:12:337]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
    MSI (s) (F8:B0) [16:25:12:337]: Entering CMsiConfigurationManager::SetLastUsedSource.
    MSI (s) (F8:B0) [16:25:12:337]: User policy value 'SearchOrder' is 'nmu'
    MSI (s) (F8:B0) [16:25:12:337]: Adding new sources is allowed.
    MSI (s) (F8:B0) [16:25:12:337]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
    MSI (s) (F8:B0) [16:25:12:337]: Package name extracted from package path: 'setup.msi'
    MSI (s) (F8:B0) [16:25:12:337]: Package to be registered: 'setup.msi'
    MSI (s) (F8:B0) [16:25:12:337]: Note: 1: 2205 2:  3: Error
    MSI (s) (F8:B0) [16:25:12:337]: Note: 1: 2262 2: AdminProperties 3: -2147287038
    MSI (s) (F8:B0) [16:25:12:337]: Machine policy value 'AlwaysInstallElevated' is 0
    MSI (s) (F8:B0) [16:25:12:337]: User policy value 'AlwaysInstallElevated' is 0
    MSI (s) (F8:B0) [16:25:12:337]: Product installation will be elevated because user is admin and product is being installed per-machine.
    MSI (s) (F8:B0) [16:25:12:337]: Running product '{7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}' with elevated privileges: Product is assigned.
    MSI (s) (F8:B0) [16:25:12:337]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\Users\myuser\Desktop'.
    MSI (s) (F8:B0) [16:25:12:337]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '3'.
    MSI (s) (F8:B0) [16:25:12:337]: PROPERTY CHANGE: Adding MSICLIENTUSESEXTERNALUI property. Its value is '1'.
    MSI (s) (F8:B0) [16:25:12:337]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '5024'.
    MSI (s) (F8:B0) [16:25:12:337]: Machine policy value 'DisableAutomaticApplicationShutdown' is 0
    MSI (s) (F8:B0) [16:25:12:337]: PROPERTY CHANGE: Adding MsiRestartManagerSessionKey property. Its value is '0057c37733caa34bafcf9d434ebfa6b7'.
    MSI (s) (F8:B0) [16:25:12:337]: RESTART MANAGER: Session opened.
    MSI (s) (F8:B0) [16:25:12:337]: TRANSFORMS property is now:
    MSI (s) (F8:B0) [16:25:12:337]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.
    MSI (s) (F8:B0) [16:25:12:337]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\AppData\Roaming
    MSI (s) (F8:B0) [16:25:12:337]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\Favorites
    MSI (s) (F8:B0) [16:25:12:337]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\AppData\Roaming\Microsoft\Windows\Network Shortcuts
    MSI (s) (F8:B0) [16:25:12:337]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\Documents
    MSI (s) (F8:B0) [16:25:12:337]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
    MSI (s) (F8:B0) [16:25:12:337]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\AppData\Roaming\Microsoft\Windows\Recent
    MSI (s) (F8:B0) [16:25:12:337]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\AppData\Roaming\Microsoft\Windows\SendTo
    MSI (s) (F8:B0) [16:25:12:347]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\AppData\Roaming\Microsoft\Windows\Templates
    MSI (s) (F8:B0) [16:25:12:347]: SHELL32::SHGetFolderPath returned: C:\ProgramData
    MSI (s) (F8:B0) [16:25:12:347]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\AppData\Local
    MSI (s) (F8:B0) [16:25:12:347]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\Pictures
    MSI (s) (F8:B0) [16:25:12:347]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
    MSI (s) (F8:B0) [16:25:12:347]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
    MSI (s) (F8:B0) [16:25:12:347]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
    MSI (s) (F8:B0) [16:25:12:347]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu
    MSI (s) (F8:B0) [16:25:12:347]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop
    MSI (s) (F8:B0) [16:25:12:347]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
    MSI (s) (F8:B0) [16:25:12:347]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
    MSI (s) (F8:B0) [16:25:12:357]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
    MSI (s) (F8:B0) [16:25:12:357]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\AppData\Roaming\Microsoft\Windows\Start Menu
    MSI (s) (F8:B0) [16:25:12:357]: SHELL32::SHGetFolderPath returned: C:\Users\myuser\Desktop
    MSI (s) (F8:B0) [16:25:12:357]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates
    MSI (s) (F8:B0) [16:25:12:357]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts
    MSI (s) (F8:B0) [16:25:12:357]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16
    MSI (s) (F8:B0) [16:25:12:357]: MSI_LUA: Setting MsiRunningElevated property to 1 because the install is already running elevated.
    MSI (s) (F8:B0) [16:25:12:357]: PROPERTY CHANGE: Adding MsiRunningElevated property. Its value is '1'.
    MSI (s) (F8:B0) [16:25:12:357]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.
    MSI (s) (F8:B0) [16:25:12:357]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
    MSI (s) (F8:B0) [16:25:12:357]: PROPERTY CHANGE: Adding USERNAME property. Its value is 'myuser'.
    MSI (s) (F8:B0) [16:25:12:357]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
    MSI (s) (F8:B0) [16:25:12:357]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'c:\Windows\Installer\f504.msi'.
    MSI (s) (F8:B0) [16:25:12:357]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'c:\users\myuser\appdata\local\temp\airc80f.tmp\setup.msi'.
    MSI (s) (F8:B0) [16:25:12:357]: Machine policy value 'MsiDisableEmbeddedUI' is 0
    MSI (s) (F8:B0) [16:25:12:357]: EEUI - Disabling MsiEmbeddedUI due to existing external or embedded UI
    MSI (s) (F8:B0) [16:25:12:357]: EEUI - Disabling MsiEmbeddedUI for service because it's not a quiet/basic install
    MSI (s) (F8:B0) [16:25:12:357]: Note: 1: 2205 2:  3: PatchPackage
    MSI (s) (F8:B0) [16:25:12:357]: Machine policy value 'DisableRollback' is 0
    MSI (s) (F8:B0) [16:25:12:357]: User policy value 'DisableRollback' is 0
    MSI (s) (F8:B0) [16:25:12:357]: PROPERTY CHANGE: Adding UILevel property. Its value is '2'.
    === Logging started: 9/20/2014  16:25:12 ===
    MSI (s) (F8:B0) [16:25:12:357]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.
    MSI (s) (F8:B0) [16:25:12:357]: Doing action: INSTALL
    MSI (s) (F8:B0) [16:25:12:357]: Note: 1: 2205 2:  3: ActionText
    Action start 16:25:12: INSTALL.
    MSI (s) (F8:B0) [16:25:12:357]: Running ExecuteSequence
    MSI (s) (F8:B0) [16:25:12:357]: Doing action: FindRelatedProducts
    MSI (s) (F8:B0) [16:25:12:357]: Note: 1: 2205 2:  3: ActionText
    Action start 16:25:12: FindRelatedProducts.
    MSI (s) (F8:B0) [16:25:12:357]: Doing action: ValidateProductID
    MSI (s) (F8:B0) [16:25:12:357]: Note: 1: 2205 2:  3: ActionText
    Action ended 16:25:12: FindRelatedProducts. Return value 1.
    Action start 16:25:12: ValidateProductID.
    MSI (s) (F8:B0) [16:25:12:357]: Doing action: SetSHAREDADDINFOLDER
    MSI (s) (F8:B0) [16:25:12:357]: Note: 1: 2205 2:  3: ActionText
    Action ended 16:25:12: ValidateProductID. Return value 1.
    MSI (s) (F8:B0) [16:25:12:357]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'SetSHAREDADDINFOLDER'
    MSI (s) (F8:B0) [16:25:12:357]: PROPERTY CHANGE: Modifying SHAREDADDINFOLDER property. Its current value is '(computed)'. Its new value: 'C:\Program Files (x86)\Adobe\Flash Player\AddIns\airappinstaller'.
    Action start 16:25:12: SetSHAREDADDINFOLDER.
    MSI (s) (F8:B0) [16:25:12:357]: Doing action: CostInitialize
    MSI (s) (F8:B0) [16:25:12:357]: Note: 1: 2205 2:  3: ActionText
    Action ended 16:25:12: SetSHAREDADDINFOLDER. Return value 1.
    MSI (s) (F8:B0) [16:25:12:357]: Machine policy value 'MaxPatchCacheSize' is 10
    MSI (s) (F8:B0) [16:25:12:357]: Baseline: Sorting baselines for {7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}.
    MSI (s) (F8:B0) [16:25:12:357]: Baseline: New baseline 15.0.0 from transaction.
    MSI (s) (F8:B0) [16:25:12:357]: Baseline: Sorted order Native: Order 0.
    MSI (s) (F8:B0) [16:25:12:357]: Baseline Data Table:
    MSI (s) (F8:B0) [16:25:12:357]: ProductCode: {7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD} Version: 15.0.0 Attributes: 0 PatchId: Native BaselineId: -2147483648 Order: 0
    MSI (s) (F8:B0) [16:25:12:357]: Baseline File Table:
    MSI (s) (F8:B0) [16:25:12:357]: PROPERTY CHANGE: Adding ROOTDRIVE property. Its value is 'c:\'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding CostingComplete property. Its value is '0'.
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Patch
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: PatchPackage
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: MsiPatchHeaders
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: __MsiPatchFileList
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: PatchPackage
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2228 2:  3: PatchPackage 4: SELECT `DiskId`, `PatchId`, `LastSequence` FROM `Media`, `PatchPackage` WHERE `Media`.`DiskId`=`PatchPackage`.`Media_` ORDER BY `DiskId` 
    MSI (s) (F8:B0) [16:25:12:367]: Delta compression fallback method for this product transaction is 'MSI 2.0 legacy obsolescence'
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Patch
    Action start 16:25:12: CostInitialize.
    MSI (s) (F8:B0) [16:25:12:367]: Doing action: FileCost
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: ActionText
    Action ended 16:25:12: CostInitialize. Return value 1.
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: MsiAssembly
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Class
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Extension
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: TypeLib
    Action start 16:25:12: FileCost.
    MSI (s) (F8:B0) [16:25:12:367]: Doing action: CostFinalize
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: ActionText
    Action ended 16:25:12: FileCost. Return value 1.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Patch
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Condition
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'c:\'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Modifying WindowsFolder property. Its current value is 'C:\Windows\'. Its new value: 'c:\Windows\'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Modifying SHAREDADDINFOLDER property. Its current value is 'C:\Program Files (x86)\Adobe\Flash Player\AddIns\airappinstaller'. Its new value: 'c:\Program Files (x86)\Adobe\Flash Player\AddIns\airappinstaller\'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Modifying CommonFilesFolder property. Its current value is 'C:\Program Files (x86)\Common Files\'. Its new value: 'c:\Program Files (x86)\Common Files\'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding AIR property. Its value is 'c:\Program Files (x86)\Common Files\Adobe AIR\'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding Versions property. Its value is 'c:\Program Files (x86)\Common Files\Adobe AIR\Versions\'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding Version property. Its value is 'c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding Resources property. Its value is 'c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\'.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding WebKitLic property. Its value is 'c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\WebKit\'.
    MSI (s) (F8:B0) [16:25:12:367]: Target path resolution complete. Dumping Directory table...
    MSI (s) (F8:B0) [16:25:12:367]: Note: target paths subject to change (via custom actions or browsing)
    MSI (s) (F8:B0) [16:25:12:367]: Dir (target): Key: TARGETDIR , Object: c:\
    MSI (s) (F8:B0) [16:25:12:367]: Dir (target): Key: WindowsFolder , Object: c:\Windows\
    MSI (s) (F8:B0) [16:25:12:367]: Dir (target): Key: SHAREDADDINFOLDER , Object: c:\Program Files (x86)\Adobe\Flash Player\AddIns\airappinstaller\
    MSI (s) (F8:B0) [16:25:12:367]: Dir (target): Key: CommonFilesFolder , Object: c:\Program Files (x86)\Common Files\
    MSI (s) (F8:B0) [16:25:12:367]: Dir (target): Key: AIR , Object: c:\Program Files (x86)\Common Files\Adobe AIR\
    MSI (s) (F8:B0) [16:25:12:367]: Dir (target): Key: Versions , Object: c:\Program Files (x86)\Common Files\Adobe AIR\Versions\
    MSI (s) (F8:B0) [16:25:12:367]: Dir (target): Key: Version , Object: c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\
    MSI (s) (F8:B0) [16:25:12:367]: Dir (target): Key: Resources , Object: c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\
    MSI (s) (F8:B0) [16:25:12:367]: Dir (target): Key: WebKitLic , Object: c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\WebKit\
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Adding INSTALLLEVEL property. Its value is '1'.
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: MsiAssembly
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2228 2:  3: MsiAssembly 4:  SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`,  `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE  `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ?
    Action start 16:25:12: CostFinalize.
    MSI (s) (F8:B0) [16:25:12:367]: Doing action: MigrateFeatureStates
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: ActionText
    Action ended 16:25:12: CostFinalize. Return value 1.
    Action start 16:25:12: MigrateFeatureStates.
    MSI (s) (F8:B0) [16:25:12:367]: Doing action: InstallValidate
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: ActionText
    Action ended 16:25:12: MigrateFeatureStates. Return value 0.
    Action start 16:25:12: InstallValidate.
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Deleting MsiRestartManagerSessionKey property. Its current value is '0057c37733caa34bafcf9d434ebfa6b7'.
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Dialog
    MSI (s) (F8:B0) [16:25:12:367]: Feature: Runtime; Installed: Absent;   Request: Local;   Action: Local
    MSI (s) (F8:B0) [16:25:12:367]: Feature: Management; Installed: Absent;   Request: Local;   Action: Local
    MSI (s) (F8:B0) [16:25:12:367]: Component: Runtime; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: FileTypeRegistration; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: ARPRegistration; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: template.msi; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: template.exe; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: Sentinel; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: AppInstaller; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: WebKit; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: WebKitLicenses; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: FlashPlugin; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: Setup; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: RootCertificate; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: TimestampingRootCertificate; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: AIRAppInstaller; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: DRMADOBECPVoucher; Installed: Absent;   Request: Local;   Action: Null;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: DRM; Installed: Absent;   Request: Local;   Action: Null;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: DRM15; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: DRMAIRVoucher; Installed: Absent;   Request: Local;   Action: Local;   Client State: Unknown
    MSI (s) (F8:B0) [16:25:12:367]: Component: __WebKitLicenses65; Installed: Null;   Request: Local;   Action: Local;   Client State: Null
    MSI (s) (F8:B0) [16:25:12:367]: Component: __AIRAppInstaller65; Installed: Null;   Request: Local;   Action: Local;   Client State: Null
    MSI (s) (F8:B0) [16:25:12:367]: Component: __FileTypeRegistration65; Installed: Null;   Request: Local;   Action: Local;   Client State: Null
    MSI (s) (F8:B0) [16:25:12:367]: Component: __ARPRegistration65; Installed: Null;   Request: Local;   Action: Local;   Client State: Null
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: BindImage
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: ProgId
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: PublishComponent
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: SelfReg
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Extension
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Font
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Shortcut
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Class
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Icon
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: TypeLib
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: _RemoveFilePath
    MSI (s) (F8:B0) [16:25:12:367]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'.
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: BindImage
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: ProgId
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: PublishComponent
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: SelfReg
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Extension
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Font
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Shortcut
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Class
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: Icon
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: TypeLib
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2727 2: 
    MSI (s) (F8:B0) [16:25:12:367]: Note: 1: 2205 2:  3: FilesInUse
    MSI (s) (F8:B0) [16:25:12:377]: Note: 1: 2727 2: 
    MSI (s) (F8:B0) [16:25:12:377]: Doing action: SetARPINSTALLLOCATION
    MSI (s) (F8:B0) [16:25:12:377]: Note: 1: 2205 2:  3: ActionText
    Action ended 16:25:12: InstallValidate. Return value 1.
    MSI (s) (F8:B0) [16:25:12:377]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'SetARPINSTALLLOCATION'
    MSI (s) (F8:B0) [16:25:12:377]: PROPERTY CHANGE: Adding ARPINSTALLLOCATION property. Its value is 'c:\Program Files (x86)\Common Files\Adobe AIR\'.
    Action start 16:25:12: SetARPINSTALLLOCATION.
    MSI (s) (F8:B0) [16:25:12:377]: Doing action: InstallInitialize
    MSI (s) (F8:B0) [16:25:12:377]: Note: 1: 2205 2:  3: ActionText
    Action ended 16:25:12: SetARPINSTALLLOCATION. Return value 1.
    MSI (s) (F8:B0) [16:25:12:377]: Machine policy value 'AlwaysInstallElevated' is 0
    MSI (s) (F8:B0) [16:25:12:377]: User policy value 'AlwaysInstallElevated' is 0
    MSI (s) (F8:B0) [16:25:12:377]: BeginTransaction: Locking Server
    MSI (s) (F8:B0) [16:25:12:377]: SRSetRestorePoint skipped for this transaction.
    MSI (s) (F8:B0) [16:25:12:377]: Server not locked: locking for product {7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}
    Action start 16:25:12: InstallInitialize.
    MSI (s) (F8:B0) [16:25:12:787]: Doing action: ProcessComponents
    MSI (s) (F8:B0) [16:25:12:787]: Note: 1: 2205 2:  3: ActionText
    Action ended 16:25:12: InstallInitialize. Return value 1.
    MSI (s) (F8:B0) [16:25:12:787]: Note: 1: 2205 2:  3: MsiPatchCertificate
    MSI (s) (F8:B0) [16:25:12:787]: LUA patching is disabled: missing MsiPatchCertificate table
    MSI (s) (F8:B0) [16:25:12:787]: Resolving source.
    MSI (s) (F8:B0) [16:25:12:787]: Resolving source to launched-from source.
    MSI (s) (F8:B0) [16:25:12:787]: Setting launched-from source as last-used.
    MSI (s) (F8:B0) [16:25:12:787]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'c:\users\myuser\appdata\local\temp\airc80f.tmp\'.
    MSI (s) (F8:B0) [16:25:12:787]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'c:\users\myuser\appdata\local\temp\airc80f.tmp\'.
    MSI (s) (F8:B0) [16:25:12:787]: PROPERTY CHANGE: Adding SourcedirProduct property. Its value is '{7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}'.
    MSI (s) (F8:B0) [16:25:12:787]: SOURCEDIR ==> c:\users\myuser\appdata\local\temp\airc80f.tmp\
    MSI (s) (F8:B0) [16:25:12:787]: SOURCEDIR product ==> {7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}
    MSI (s) (F8:B0) [16:25:12:787]: Determining source type
    MSI (s) (F8:B0) [16:25:12:787]: Source type from package 'setup.msi': 0
    MSI (s) (F8:B0) [16:25:12:787]: SECREPAIR: Hash Database: C:\Windows\Installer\SourceHash{7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}
    MSI (s) (F8:B0) [16:25:12:787]: SECREPAIR: SourceHash database file already exists. Deleting it.
    MSI (s) (F8:B0) [16:25:12:787]: Note: 1: 2262 2: SourceHash 3: -2147287038
    MSI (s) (F8:B0) [16:25:12:817]: SECREPAIR: New Hash Database creation complete.
    MSI (s) (F8:B0) [16:25:12:817]: SECREPAIR: A general error running CryptAcquireContext
    MSI (s) (F8:B0) [16:25:12:817]: SECREPAIR: Crypt Provider not initialized. Error:1359
    MSI (s) (F8:B0) [16:25:12:817]: SECUREREPAIR: Failed to CreateContentHash of the file: setup.msi: for computing its hash. Error: 1359
    MSI (s) (F8:B0) [16:25:12:817]: SECREPAIR: Failed to create hash for the install source files
    MSI (s) (F8:B0) [16:25:12:817]: Note: 1: 2262 2: SourceHash 3: -2147287038
    MSI (s) (F8:B0) [16:25:12:817]: SECUREREPAIR: SecureRepair Failed. Error code: 54fF84D34B8
    Action start 16:25:12: ProcessComponents.
    Error 1359. An internal error occurred.
    MSI (s) (F8:B0) [16:25:12:817]: Note: 1: 2205 2:  3: Error
    MSI (s) (F8:B0) [16:25:12:817]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
    MSI (s) (F8:B0) [16:25:12:817]:
    MSI (s) (F8:B0) [16:25:12:827]: Machine policy value 'DisableRollback' is 0
    MSI (s) (F8:B0) [16:25:12:827]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    Action ended 16:25:12: ProcessComponents. Return value 3.
    MSI (s) (F8:B0) [16:25:12:827]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (F8:B0) [16:25:12:827]: No System Restore sequence number for this installation.
    MSI (s) (F8:B0) [16:25:12:827]: Unlocking Server
    Action ended 16:25:12: INSTALL. Return value 3.
    Property(S): ARPINSTALLLOCATION = c:\Program Files (x86)\Common Files\Adobe AIR\
    Property(S): SHAREDADDINFOLDER = c:\Program Files (x86)\Adobe\Flash Player\AddIns\airappinstaller\
    Property(S): UpgradeCode = {8DA920D5-C41C-42E0-BF31-87BA49984EE4}
    Property(S): WebKitLic = c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\WebKit\
    Property(S): Resources = c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\
    Property(S): Version = c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\
    Property(S): Versions = c:\Program Files (x86)\Common Files\Adobe AIR\Versions\
    Property(S): AIR = c:\Program Files (x86)\Common Files\Adobe AIR\
    Property(S): CommonFilesFolder = c:\Program Files (x86)\Common Files\
    Property(S): TARGETDIR = c:\
    Property(S): SourceDir = c:\users\myuser\appdata\local\temp\airc80f.tmp\
    Property(S): Manufacturer = Adobe Systems Incorporated
    Property(S): ProductCode = {7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}
    Property(S): ProductLanguage = 1033
    Property(S): ProductName = Adobe AIR
    Property(S): ProductVersion = 15.0.0.249
    Property(S): REINSTALLMODE = amus
    Property(S): ARPSYSTEMCOMPONENT = yes
    Property(S): REBOOT = Suppress
    Property(S): ALLUSERS = 1
    Property(S): SecureCustomProperties = ARPSYSTEMCOMPONENT;REINSTALLMODE;SHAREDADDINFOLDER;UC8DA920D5C41C42E0BF3187BA49984EE4
    Property(S): MsiLogFileLocation = C:\Users\myuser\AppData\Local\Temp\MSIbde4d.LOG
    Property(S): PackageCode = {50BE8427-EA12-458B-8357-F12866B92756}
    Property(S): ProductState = -1
    Property(S): PackagecodeChanging = 1
    Property(S): CURRENTDIRECTORY = C:\Users\myuser\Desktop
    Property(S): CLIENTUILEVEL = 3
    Property(S): MSICLIENTUSESEXTERNALUI = 1
    Property(S): CLIENTPROCESSID = 5024
    Property(S): VersionDatabase = 200
    Property(S): VersionMsi = 5.00
    Property(S): VersionNT = 601
    Property(S): VersionNT64 = 601
    Property(S): WindowsBuild = 7601
    Property(S): ServicePackLevel = 1
    Property(S): ServicePackLevelMinor = 0
    Property(S): MsiNTProductType = 1
    Property(S): WindowsFolder = c:\Windows\
    Property(S): WindowsVolume = c:\
    Property(S): System64Folder = C:\Windows\system32\
    Property(S): SystemFolder = c:\Windows\SysWOW64\
    Property(S): RemoteAdminTS = 1
    Property(S): TempFolder = C:\Users\myuser\AppData\Local\Temp\
    Property(S): ProgramFilesFolder = C:\Program Files (x86)\
    Property(S): ProgramFiles64Folder = C:\Program Files\
    Property(S): CommonFiles64Folder = C:\Program Files\Common Files\
    Property(S): AppDataFolder = C:\Users\myuser\AppData\Roaming\
    Property(S): FavoritesFolder = C:\Users\myuser\Favorites\
    Property(S): NetHoodFolder = C:\Users\myuser\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
    Property(S): PersonalFolder = C:\Users\myuser\Documents\
    Property(S): PrintHoodFolder = C:\Users\myuser\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
    Property(S): RecentFolder = C:\Users\myuser\AppData\Roaming\Microsoft\Windows\Recent\
    Property(S): SendToFolder = C:\Users\myuser\AppData\Roaming\Microsoft\Windows\SendTo\
    Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
    Property(S): CommonAppDataFolder = C:\ProgramData\
    Property(S): LocalAppDataFolder = C:\Users\myuser\AppData\Local\
    Property(S): MyPicturesFolder = C:\Users\myuser\Pictures\
    Property(S): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
    Property(S): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
    Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
    Property(S): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
    Property(S): DesktopFolder = C:\Users\Public\Desktop\
    Property(S): FontsFolder = C:\Windows\Fonts\
    Property(S): GPTSupport = 1
    Property(S): OLEAdvtSupport = 1
    Property(S): ShellAdvtSupport = 1
    Property(S): MsiAMD64 = 6
    Property(S): Msix64 = 6
    Property(S): Intel = 6
    Property(S): PhysicalMemory = 3966
    Property(S): VirtualMemory = 5900
    Property(S): AdminUser = 1
    Property(S): MsiTrueAdminUser = 1
    Property(S): LogonUser = myuser
    Property(S): UserSID = S-1-5-21-516867113-505625012-3039445549-1003
    Property(S): UserLanguageID = 1033
    Property(S): ComputerName = DOG-HOUSE
    Property(S): SystemLanguageID = 1033
    Property(S): ScreenX = 1024
    Property(S): ScreenY = 768
    Property(S): CaptionHeight = 22
    Property(S): BorderTop = 1
    Property(S): BorderSide = 1
    Property(S): TextHeight = 16
    Property(S): TextInternalLeading = 3
    Property(S): ColorBits = 32
    Property(S): TTCSupport = 1
    Property(S): Time = 16:25:12
    Property(S): Date = 9/20/2014
    Property(S): MsiNetAssemblySupport = 4.0.30319.18408
    Property(S): MsiWin32AssemblySupport = 6.1.7601.17514
    Property(S): RedirectedDllSupport = 2
    Property(S): MsiRunningElevated = 1
    Property(S): Privileged = 1
    Property(S): USERNAME = myuser
    Property(S): DATABASE = c:\Windows\Installer\f504.msi
    Property(S): OriginalDatabase = c:\users\myuser\appdata\local\temp\airc80f.tmp\setup.msi
    Property(S): UILevel = 2
    Property(S): ACTION = INSTALL
    Property(S): ROOTDRIVE = c:\
    Property(S): CostingComplete = 1
    Property(S): OutOfDiskSpace = 0
    Property(S): OutOfNoRbDiskSpace = 0
    Property(S): PrimaryVolumeSpaceAvailable = 0
    Property(S): PrimaryVolumeSpaceRequired = 0
    Property(S): PrimaryVolumeSpaceRemaining = 0
    Property(S): INSTALLLEVEL = 1
    Property(S): SOURCEDIR = c:\users\myuser\appdata\local\temp\airc80f.tmp\
    Property(S): SourcedirProduct = {7BBAEC47-1CC0-4CB8-ADB4-531B78DBD1DD}
    === Logging stopped: 9/20/2014  16:25:12 ===
    MSI (s) (F8:B0) [16:25:12:887]: Windows Installer installed the product. Product Name: Adobe AIR. Product Version: 15.0.0.249. Product Language: 1033. Manufacturer: Adobe Systems Incorporated. Installation success or error status: 1603.
    MSI (s) (F8:B0) [16:25:12:897]: Deferring clean up of packages/files, if any exist
    MSI (s) (F8:B0) [16:25:12:897]: MainEngineThread is returning 1603
    MSI (s) (F8:34) [16:25:12:907]: RESTART MANAGER: Session closed.
    MSI (s) (F8:34) [16:25:12:907]: No System Restore sequence number for this installation.
    MSI (s) (F8:34) [16:25:12:907]: User policy value 'DisableRollback' is 0
    MSI (s) (F8:34) [16:25:12:907]: Machine policy value 'DisableRollback' is 0
    MSI (s) (F8:34) [16:25:12:907]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (F8:34) [16:25:12:907]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (F8:34) [16:25:12:907]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (F8:34) [16:25:12:907]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (F8:34) [16:25:12:907]: Restoring environment variables
    MSI (c) (A0:20) [16:25:12:907]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (A0:20) [16:25:12:907]: MainEngineThread is returning 1603
    === Verbose logging stopped: 9/20/2014  16:25:12 ===

    I have come across this forum discussion which might be relevant: wix-users - SECREPAIR: CryptAcquireContext: Could not create the default key container.
    It appears that the problem has been caused by a Microsoft Windows security update, KB2918614.  This was applied to my PC on 14 August but I think it was released on 12 August.
    I used Windows Update > View Update History > Installed Updates to uninstall KB2918614.  After a Restart, I managed to install AIR.
    My Windows version is Vista and I don't know if this problem and solution applies for other versions.

  • TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.controls::AdvancedDataGrid/findHeaderRenderer()

    Can anyone throw any light on this obscure Flex error?...
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at mx.controls::AdvancedDataGrid/findHeaderRenderer()[...path...\projects\datavisualisation\ src\mx\controls\AdvancedDataGrid.as:1350]
    at mx.controls::AdvancedDataGrid/mouseEventToItemRenderer()[...path...\projects\datavisualis ation\src\mx\controls\AdvancedDataGrid.as:1315]
    at mx.controls.listClasses::AdvancedListBase/mouseMoveHandler()[...path...\projects\datavisu alisation\src\mx\controls\listClasses\AdvancedListBase.as:8091]
    I found a related bug reported on Jira: https://bugs.adobe.com/jira/browse/FLEXDMV-1631
    But in our case, we have no zoom effect.  It may be timing related, as there is a lot of computation going on when this page, and the ADG is first initialised.
    Please?... Any suggestions or workarounds?  We don't want this falling over in the hands of our customers.
    <rant> And people wonder why I hate Flex!?  These obscure instabilities never happen when I develop Pure ActionScript.  The Flash platform is wonderfully stable.  But as soon as you bring Flex into play, things take longer to develop, it's a struggle to extend or change the behaviour of the bloated components, and everything falls apart as these bugs begin to surface.</rant>

    facing the same problem... sdk 4.1. no solution for about 2 years ????

  • Error 1009 - TypeError: Error #1009: Cannot access a property or method of a null object reference.

    hello,
    I am trying to load a menu as an external file ....  and getting this :  TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at com::menu()
    here is my code:
    if(!menuLoader){   
    var menuRequest:URLRequest = new URLRequest("menu.swf");
    var menuLoader:Loader = new Loader();
    menuLoader.load(menuRequest);
    container.addChild(menuLoader);
    menuLoader.x = 700;
    menuLoader.y = 50;
    can anyone give me a helping hand?
    thanks in advance.

    use:
    here is my code:
    if(menuLoader!=null){   
    var menuRequest:URLRequest = new URLRequest("menu.swf");
    var menuLoader:Loader = new Loader();
    menuLoader.load(menuRequest);
    container.addChild(menuLoader);
    menuLoader.x = 700;
    menuLoader.y = 50;

  • TypeError: Error #1009 on FLVPlayback

    I've been struggling with this error for a few days now, I can't seem to figure out what is actually going wrong.
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
         at fl.video::UIManager/http://www.adobe.com/2007/flash/flvplayback/internal::hookUpCustomComponents()
         at fl.video::FLVPlayback/http://www.adobe.com/2007/flash/flvplayback/internal::handleVideoEvent()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::setState()
         at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::finishAutoResize()
         at flash.utils::Timer/_timerDispatch()
         at flash.utils::Timer/tick()
    The app is one for a tourist centre, with an intro video that can be skipped by being clicked, which leads to a four options menu, of which two options lead you to frames with intro videos which can also be bypassed by a simple click. All three intro videos use the FLVPlayback 2.5 component. The app runs without any issues, even playing the videos with no problem, until, seemingly at random intervals, this error will occur. It does, however, only occur at the start or end of a video. I have had trouble tracing the error. It causes the program to become unresponsive at seemingly random intervals while the program is being used, or even if it's just running looping video. If I dismiss the error, the program will continue to run without any further issues, except for this error, which can be in turn dismissed, etc... However, when it is installed on the system it simply becomes unresponsive since dismissing it is not an option. I have not been able to catch or trace this error or its source. Any ideas? I'll attatch the code from one of my frames with the FLVPlayback, since that seems to be where the error is.
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    import flash.events.Event;
    import fl.video.FLVPlayback;
    import fl.video.*;
    var heritageVideo:FLVPlayback = heritage_sequence;
    stage.addEventListener(MouseEvent.CLICK, gotoHeritageHistory);
    stop();
    heritageVideo.addEventListener(VideoEvent.COMPLETE, gotoHeritageTwo);
    function gotoHeritageHistory(evt:MouseEvent):void
         gotoAndStop(6);
         stage.removeEventListener(MouseEvent.CLICK, gotoHeritageHistory);
         heritageVideo.removeEventListener(VideoEvent.COMPLETE, gotoHeritageTwo);
         heritageVideo.stop();
         heritageVideo.visible = false;
    function gotoHeritageTwo(evt:VideoEvent):void
         gotoAndStop(6);
         stage.removeEventListener(MouseEvent.CLICK, gotoHeritageHistory);
         heritageVideo.removeEventListener(VideoEvent.COMPLETE, gotoHeritageTwo);
         heritageVideo.visible = false;
    This is my first real as3 work, so I wouldn't be surprised if I'm missing something obvious, and I do hope that's the case. Let me know if you have any ideas!

    Hi,
    From the error, it looks like you're trying to manipulate something that isn't initialized yet.  I'm not very familiar with Flash professional (I do my work using Flash Builder), would you mind posting this over on the Flash forums?  You'll probably get a much better response over there.
    Thanks,
    Chris

  • TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un obj

    Hi,
    I have a flash file named "the_good_one.swf" with a code to load another flash file "DynamicSlideshow.swf", and I have this Error when I publish the file "TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un objeto nulo.
        at DynamicSlideshow()", how can I fix it?
    here's the code of the_good_one.swf:
    import flash.net.URLRequest;
    import flash.display.Loader;
    import flash.events.Event;
    import flash.events.ProgressEvent;
    import flash.display.Sprite;
    import flash.display.MovieClip;
    import flash.display.StageScaleMode;
    import flash.display.StageAlign;
    import flash.display.StageDisplayState;
    import SlideEngine;
    import DynamicSlideshow;
    var galeria:Galeria = new Galeria();
    var contacto:Contacto = new Contacto();
    var fullscreen:FullScreen = new FullScreen();
    var musicOff:MusicOff = new MusicOff();
    var musicOn:Music = new Music();
    addChild(galeria);
    galeria.x=stage.stageWidth-140;
    galeria.y=5;
    galeria.buttonMode=true;
    galeria.alpha=1;
    //galeria.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
    addChild(contacto);
    contacto.y=5;
    contacto.buttonMode=true;
    contacto.alpha=1;
    contacto.x=stage.stageWidth-100;
    addChild(fullscreen);
    fullscreen.y=5;
    fullscreen.buttonMode=true;
    fullscreen.alpha=1;
    fullscreen.x=stage.stageWidth-60;
    var wrapContainer:Sprite = new Sprite();
    wrapContainer.x=0;
    wrapContainer.y=25;
    wrapContainer.height=575;
    wrapContainer.width=980;
    addChild(wrapContainer);
    var container:Sprite = new Sprite();
    container.height=575;
    container.width=980;
    function startLoad() {
        var mLoader:Loader = new Loader();
        var mRequest:URLRequest=new URLRequest("DynamicSlideshow.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;
    startLoad();
    "DynamicSlideshow.swf", has a class asociated to it "DynamicSlideshow.as" and from inside that class another class is called "SlideEngine.as" here's the code of both:
    ************ here's the code of the class DYNAMIC SLIDESHOW **************
    package {
        import flash.display.Sprite;
        import flash.display.MovieClip;
        import flash.display.StageScaleMode;
        import flash.display.StageAlign;
        import flash.display.StageDisplayState;
        import flash.net.URLRequest;
        import flash.events.*;
        public class DynamicSlideshow extends Sprite
            public function DynamicSlideshow()
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.align = StageAlign.TOP_LEFT;
                var slidesfile:URLRequest = new URLRequest("data/slides.xml");
                var delaytime:Number = 4000;
                var tweentime:Number = 2;
                this.addEventListener(Event.ADDED, init);
                /*var slidesfile:URLRequest = new URLRequest(root.loaderInfo.parameters["slidesfile"]);
                var delaytime:Number = root.loaderInfo.parameters["delaytime"];
                var tweentime:Number = root.loaderInfo.parameters["tweentime"];*/
                if(delaytime < 1000)
                    delaytime = 1000;
                if(tweentime < 0.1)
                    tweentime = 0.1;
                if(tweentime > (delaytime/10000))
                    tweentime = (delaytime/10000);
                trace("heere");
                var slideengine:SlideEngine = new SlideEngine(stage, slidesfile, delaytime, tweentime);
            public function init(e:Event):void{
                    trace("yeah");
    ************ here's the code of the class  SLIDE ENGINE **************
    package
        import flash.display.Loader;
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.events.TimerEvent;
        import flash.net.URLLoader;
        import flash.net.URLRequest;
        import flash.utils.Timer;
        import gs.TweenLite;
        public class SlideEngine extends Sprite
            private var _stage:Object;
            private var _images:Array;
            private var _container:Sprite;
            private var _loader:Loader;
            private var _request:URLRequest;
            private var _currentImage:int = 0;
            private var _totalImages:int;
            private var _timer:Timer;
            private var _delay:Number;
            private var _tweentime:Number;
            public function SlideEngine(container:Object, req:URLRequest, delaytime:Number, tweentime:Number)
                super();
                _stage        = container;
                _delay        = delaytime;
                _tweentime    = tweentime;
                var ulLoader:URLLoader = new URLLoader();
                ulLoader.load(req);
                ulLoader.addEventListener(Event.COMPLETE, xmlLoaded);
                //stage.addEventListener(Event.RESIZE, stageResize);
                //addEventListener(Event.ENTER_FRAME, onFrame);
            private function xmlLoaded(e:Event):void
                var ldr:URLLoader = e.target as URLLoader;
                ldr.removeEventListener(Event.COMPLETE, xmlLoaded);
                var xml:XML = new XML(e.target.data);
                var imageList:XMLList = xml.slide;
                _totalImages = imageList.length();
                setupImages(imageList);
            private function setupImages(list:XMLList):void
                _images = new Array();
                var _item:XML;
                for each(_item in list)
                    _images.push(_item.image);
                initGraphics();
            private function initGraphics():void
                _container = new Sprite();
                _stage.addChild(_container);
                _container.y = 25;
                _loader    = new Loader();
                _request = new URLRequest(_images[_currentImage]);
                _container.addChild(_loader);
                startSlideshow();
            private function startSlideshow():void
                _loader.load(_request);
                _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
                _timer = new Timer(_delay);
                _timer.addEventListener(TimerEvent.TIMER, loadNewImage);
                _timer.start();
            private function loadNewImage(e:TimerEvent):void
                _request = new URLRequest(_images[_currentImage]);
                _loader.load(_request);
                _timer.stop();
            private function imageLoaded(e:Event):void
                _currentImage ++
                if(_currentImage == _totalImages)
                    _currentImage = 0;
                _stage.addEventListener(Event.RESIZE, stageResize);
                addEventListener(Event.ENTER_FRAME, onFrame);
                TweenLite.from(_loader, _tweentime, {alpha:0});
                _timer.start();
            private function stageResize(e:Event):void{
                _loader.x = _stage.stageWidth/2 - _container.width/2;
                _loader.y = _stage.stageHeight/2 - _container.height/2 + 20;
                //_loader.scaleX = _stage.stageWidth/980;
                //_loader.scaleY = _stage.stageHeight/600;
            private function onFrame(e:Event):void{
                _loader.x = _stage.stageWidth/2 - _container.width/2;
                _loader.y = _stage.stageHeight/2 - _container.height/2 + 20;
                //_loader.scaleX = _stage.stageWidth/980;
                //_loader.scaleY = _stage.stageHeight/600;

    Well, I think I found the cause,inside the initGraphics function, I do a trace line by line from the top, scanning every element in the code, and I found that the _stage, if I run the slideshow.swf is traced like [object Stage], but when I run the_good_one.swf file (who load the other swf files) the error appears instead of [object Stage]. Of course the stage of the slideshow.swf is only for that file, and I'm importing this file into the_good_one.swf file, who has it's own stage... uuuuffff!!!
    private function initGraphics():void
                _container = new Sprite();
                _stage.addChild(_container);
                _container.y = 25;
                _loader    = new Loader();
                _request = new URLRequest(_images[_currentImage]);
                _container.addChild(_loader);
                startSlideshow();
    So, the question of the million dollars is... how do I fix that? I remember that I've read something about that in a post blog that talks about the DisplayList, do you know how to fix it?

  • TypeError: Error #1009 (loaded SWF)

    I'm pulling out my hair on this one!
    I'm just starting a site (full-Flash site) using CS3 and AS3.
    I'm pretty much accustom to the new AS3 changes. I built a rough
    structure to make sure the way I wanted to set the site up would
    work (loading in external SWFs, etc.). The tests worked.
    Now, I'm going in to make some things real, and I'm getting
    this error as soon as an external SWF loads in:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at test_fla::MainTimeline/test_fla::frame2()
    I've tried narrowing it down, couldn't find the exact culprit
    (had to remove every ounce of ActionScript before it started to
    function again). So I started to rebuild that movie entirely --
    cleared out the Library and deleted every layer. Didn't work.
    Couldn't even add a stop(); action in Frame 1.
    Then I started completely fresh File > New, rebuilt again.
    I tested after every single change. I finally built it up to the
    point where I first tested the original, and it worked. So, then I
    added a couple more things tested again, and got the error again.
    Ahh, so I removed EXACTLY what I had just added. Tested again. SAME
    ERROR -- now it won't go away no matter what I remove!
    Crazier yet is that I can still load in my other test SWF
    files and they have actions in them, and they're set up the exact
    same way -- but they work...
    The whole site is new, so every SWF is CS3/AS3. I'm not even
    doing anything crazy, so I'm getting pretty frustrated trying to
    build an all AS3 site and I can't even do basic stuff....
    I can upload/email the FLA files in question if anyone has
    time to look...
    Thanks,
    Brandon

    Well, when I test the loaded SWF within the Flash environment
    (by itself), it plays just fine.
    Then, I try to play the root containing movie (both within
    Flash and on the web server) and as soon as that section loads, is
    when the error occurs.
    I've tried tracing everything. even down to putting trace()
    actions between every layer. Can't determine what causes it...
    One thing I noticed (but I assume is a naming convention that
    Flash uses), is in the error above you see "test_fla", well, lets
    say I have these files:
    test-container.fla
    test-home.fla
    I don't have a test_fla, but the error code refers to it
    anyway...

  • TypeError: Error #1009 A.S 3.0

    Sorry i am bad in English...In this case, I'm still new.I have this error
    "TypeError: Error #1009: Cannot access a property or method of a null object reference. at Monster/hurtPlayer() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at fl.motion::AnimatorBase/end() at fl.motion::AnimatorBase/handleLastFrame()
    This my code:  
    var monstersInGame:uint;
    var monsterMaker:Timer;
    var container_mc:MovieClip;
    var cursor:MovieClip;
    var winning:wins = new wins();
    var gameovers:gameover = new gameover();
    var livecherep:liveimg = new liveimg();
    var score:int;  var energy:int;
    var live:Number =3;
    var myTimer2:Timer;
    var myTimer3:Timer;
    var monster:MovieClip; function startlevel(); {container_mc = new MovieClip(); addChild(container_mc);  energy = energy_mc.totalFrames; energy_mc.gotoAndStop(energy); if(live==3){     lives.gotoAndStop(3);} if(live==2){     lives.gotoAndStop(2);} if(live==1){     lives.gotoAndStop(1);} monstersInGame = 8;     monsterMaker = new Timer(1000,monstersInGame); monsterMaker.addEventListener(TimerEvent.TIMER, createMonsters); monsterMaker.start(); cursor = new Cursor();      addChild(cursor);                     Mouse.hide ();          stage.addEventListener(MouseEvent.MOUSE_MOVE, dragCursor);          score = 0;         }   function dragCursor(event:MouseEvent):void   {      cursor.x = this.mouseX; cursor.y = this.mouseY; }  function createMonsters(event:TimerEvent):void   {         monster = new Monster();     monster.x = Math.random() * stage.stageWidth;     if (monster.x <= 100) {       monster.x = 100;    }   else if (monster.x >= 380) {    monster.x = 350;   }     monster.y = Math.random() * stage.stageHeight;     if (monster.y <= 100)     {       monster.y = 100;      }   else if (monster.y >= 380)   {    monster.y = 350;   }      container_mc.addChild(monster);     }   function nextf(event:TimerEvent) // timer for winning   {  myTimer2.removeEventListener(TimerEvent.TIMER_COMPLETE,nextf);   removeChild(winning)   gotoAndStop(4);  }   function nextm(event:TimerEvent) // timer for gameover   {  myTimer3.removeEventListener(TimerEvent.TIMER_COMPLETE,nextm); removeChild(gameovers)   gotoAndStop(13);      }        function increaseScore():void //if win  { score ++; if(score >= 6)  {  monsterMaker.stop();     removeChild(container_mc);     removeChild(cursor)         stage.removeEventListener(MouseEvent.MOUSE_MOVE, dragCursor);                  addChild(winning)          myTimer5 = new Timer(1000,1); myTimer5.addEventListener(TimerEvent.TIMER_COMPLETE,nextf);  myTimer5.start();                 } }  function decreaseEnergy():void // if lose  { energy --; if(energy==4){     energy_mc.gotoAndStop(4);}     if(energy==3){     energy_mc.gotoAndStop(3);}     if (energy==2){     energy_mc.gotoAndStop(2);}      if(energy==1){     energy_mc.gotoAndStop(1);}      if(energy==0){     energy_mc.gotoAndStop(1);}            if(energy <= 1) { live--;         monsterMaker.stop();     removeChild(container_mc);     removeChild(cursor)                 Mouse.show();      stage.removeEventListener(MouseEvent.MOUSE_MOVE, dragCursor);         if (live==0)  { addChild(gameovers)   myTimer6 = new Timer(1500,1); myTimer6.addEventListener(TimerEvent.TIMER_COMPLETE,nextm);  myTimer6.start(); }         else {     gotoAndStop(9);     } } } [/HIGHLIGHT]  but this code i am have in MovieClip monster :  [HIGHLIGHT] import fl.motion.Animator;  import fl.motion.MotionEvent; var this_xml:XML =
                                                                                                                                                                          ;  var this_animator:Animator = new Animator(this_xml, this);  this_animator.play();  this_animator.addEventListener(MotionEvent.MOTION_END, hurtPlayer);  function hurtPlayer (Event:MotionEvent): void  {          var main:MovieClip = MovieClip(this.parent.parent);              main.decreaseEnergy();          this.parent.removeChild(this); }  this.addEventListener(MouseEvent.CLICK, killMonster);  function killMonster(event:MouseEvent):void  { gotoAndPlay(31) ; this_animator = new Animator(this_xml, this);  this_animator.play(); this_animator.addEventListener(MotionEvent.MOTION_END, die); } function die(event:MotionEvent):void  {     var main:MovieClip = MovieClip(this.parent.parent);     main.increaseScore();         this_animator.removeEventListener(MotionEvent.MOTION_END, hurtPlayer) this.parent.removeChild(this); }   [/HIGHLIGHT]
    As I understand it, the error is in the function hurtPlayer at monster movieclip .I am ran Debug movie, showed on main.decreaseEnergy(); in hurtPlayer function.Please help me.Thanks.

    This code i have in mine timeline first frame:
    var monstersInGame:uint;
    var monsterMaker:Timer;
    var container_mc:MovieClip;
    var cursor:MovieClip;
    var winning:wins = new wins();
    var gameovers:gameover = new gameover();
    var livecherep:liveimg = new liveimg();
    var score:int;
    var energy:int;
    var live:Number =3;
    var myTimer2:Timer;
    var myTimer3:Timer;
    var monster:MovieClip;
    function startlevel();
    container_mc = new MovieClip();
    addChild(container_mc);
    energy = energy_mc.totalFrames;
    energy_mc.gotoAndStop(energy);
    if(live==3){     lives.gotoAndStop(3);}
    if(live==2){     lives.gotoAndStop(2);}
    if(live==1){     lives.gotoAndStop(1);}
    monstersInGame = 8;
    monsterMaker = new Timer(1000,monstersInGame);
    monsterMaker.addEventListener(TimerEvent.TIMER, createMonsters);
    monsterMaker.start();
    cursor = new Cursor();
    addChild(cursor);
    Mouse.hide ();
    stage.addEventListener(MouseEvent.MOUSE_MOVE, dragCursor);
    score = 0; 
    function dragCursor(event:MouseEvent):void
    cursor.x = this.mouseX;
    function createMonsters(event:TimerEvent):void
    monster = new Monster();
    monster.x = Math.random() * stage.stageWidth;
    if (monster.x <= 100)
    monster.x = 100;
    else if (monster.x >= 380)
    monster.x = 350;
    monster.y = Math.random() * stage.stageHeight;
    if (monster.y <= 100)
    monster.y = 100;
    else if (monster.y >= 380)
    monster.y = 350;
    container_mc.addChild(monster);
    function nextf(event:TimerEvent) // timer for winning
    myTimer2.removeEventListener(TimerEvent.TIMER_COMPLETE,nextf);
    removeChild(winning)   gotoAndStop(4);
    function nextm(event:TimerEvent) // timer for gameover
    myTimer3.removeEventListener(TimerEvent.TIMER_COMPLETE,nextm);
    removeChild(gameovers)
    gotoAndStop(13);
    function increaseScore():void //if win
    score ++;
    if(score >= 6)
    monsterMaker.stop();
    removeChild(container_mc);
    removeChild(cursor)  
    stage.removeEventListener(MouseEvent.MOUSE_MOVE, dragCursor);         
    addChild(winning)  
    myTimer5 = new Timer(1000,1);
    myTimer5.addEventListener(TimerEvent.TIMER_COMPLETE,nextf);
    myTimer5.start();         
    function decreaseEnergy():void //if lose
    energy --;
    if(energy==4){     energy_mc.gotoAndStop(4);}
    if(energy==3){     energy_mc.gotoAndStop(3);}
    if (energy==2){     energy_mc.gotoAndStop(2);}
    if(energy==1){     energy_mc.gotoAndStop(1);}
    if(energy==0){     energy_mc.gotoAndStop(1);}      
    if(energy <= 1)
    live--;  
    monsterMaker.stop();
    removeChild(container_mc);
    removeChild(cursor)          
    Mouse.show();
    stage.removeEventListener(MouseEvent.MOUSE_MOVE, dragCursor);  
    if (live==0)
    addChild(gameovers)
    myTimer6 = new Timer(1500,1); myTimer6.addEventListener(TimerEvent.TIMER_COMPLETE,nextm);
    myTimer6.start();
    else
    gotoAndStop(9);
    This code i have in MovieClip monster:
    import fl.motion.Animator;
    import fl.motion.MotionEvent;
    var this_xml:XML =   HERE I inserted the classic tween code with the instance name "this" to use in the ActionScript
    Sorry i am cant insert there this classic tween code
    var this_animator:Animator = new Animator(this_xml, this);
    this_animator.play();
    this_animator.addEventListener(MotionEvent.MOTION_END, hurtPlayer);
    function hurtPlayer (Event:MotionEvent): void
    var main:MovieClip = MovieClip(this.parent.parent);
    main.decreasyEnergy(); in this line i am have error
    "TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Monster/hurtPlayer()[Monster::frame1:35]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fl.motion::AnimatorBase/end()
    at fl.motion::AnimatorBase/handleLastFrame()
    at fl.motion::AnimatorBase/nextFrame()
    at fl.motion::AnimatorBase/handleEnterFrame()"
    this.parent.removeChild(this);
    this.addEventListener(MouseEvent.CLICK, killMonster);
    function killMonster(event:MouseEvent):void
    gotoAndPlay(31)
    this_animator = new Animator(this_xml, this);
    this_animator.play();
    this_animator.addEventListener(MotionEvent.MOTION_END, die);
    function die(event:MotionEvent):void
    var main:MovieClip = MovieClip(this.parent.parent);
    main.increaseScore();
    this_animator.removeEventListener(MotionEvent.MOTION_END, hurtPlayer);
    this.parent.removeChild(this);

  • TypeError: Error #1009 - I know how to fix it. But I don't know whats going on!

    I have a project that I’m working on that includes working in different scenes and frames. It’s a book project with lots of pages (frames) and chapters (scenes) so I have can’t avoid working in a single frame (like a game). I get a runtime error (TypeError: Error #1009: Cannot access a property or method of a null object reference.) when accessing an object inside of a movieclip. However, I have identified the problem and know how to fix it. But when I fix it the functionality goes away. Here’s how it happens:
    On frame #1 of Scene 2 I click on a button to go to a frame #2.
    On frame #2 is the offending code:
         stage.addEventListener(MouseEvent.MOUSE_UP, moveChapters);
    //********************Navigation Bar code ********************//
    function moveChapters(event:MouseEvent):void
            if(event.target == bottomNav.Chapter_1)
            trace("Chapter #1 is working!");
    FYI, this code is part of a navigation bar the will take the user to different chapters. It is visible on stage. I haven't fully built it yet. For example, "if( event.target == bottomNav.Chapter_1)" will take the user to chapter 1, "bottomNav.Chapter_2," will take the user to chapter 2, so on and so forth. "bottomNav" is a movieclip and "Chapter_1" is a button inside it.
    When I go back to frame #1 of Scene 2 and then click on “Home” button to go back to the main page (Frame #1 of Scene #2) I get the Error #1009.
    When I comment out the “if(event.target == bottomNav.Chapter_1)” I don’t get the error but know I don’t have any functionality.
    Is there a better way to do this?

    Adding the event listener to the stage for this sort of functionality is a bad idea. Even though Flash can, apparently, resolve the objects inside the movieClip, you are making the connection between the object and the event that you want to capture more difficult than it should be. A better approach is to place all of the target objects into an array and then attach the event listener to each object in the array. Then you can easily extract the target from the event.
    Something like this might work for you:
    var chapterList:Array = new Array(bottomNav.Chapter_1,bottomNav.Chapter_2,bottomNav.Chapter_3);
    for(var i in chapterList) {
         chapterList[i].addEventListener(MouseEvent.MOUSE_UP,moveChapters);
    function moveChapters(event:MouseEvent):void {
         var thisChapter:Object = event.target;
               //  etc

  • Help! TypeError: Error #1009: Cannot access a property or method of a null object reference.

    I'am the just start learning actionscript 3, follow is my code, when i lauch the code, it still report the error in frame 36 but did not locate the error in which line. please help me debug them.... TypeError: Error #1009: Cannot access a property or method of a null object reference.
    stop();
    fm_button.visible = false;
    import caurina.transitions.*;
    var menu_label_North:Array = new Array("Animals Collection", 
                                                                                     "Flowers Collection",
                                                                                     "Leaves Collection",
                                                                                     "Mixed Collection",
                                                                                     "Extra Collection",
                                                                                     "Special Awards",
                                                                                     "Company Background",
                                                                                     "Contact Information");
    var total_north:Number = menu_label_North.length;
    var i_north:Number = 0;
    var page_north:Number;
    var main_menu_North:MovieClip = new MovieClip();
    stage.addChild(main_menu_North);
    for (i_north = 0; i_north < total_north; i_north++)
              var btn_north = new flashmo_button();
              btn_north.name = "btn" + i_north;
              btn_north.x = fm_button.x + i_north * ( fm_button.width + 12 );
              btn_north.y = fm_button.y;
              btn_north.buttonMode = true;
              btn_north.item_no = i_north;
              btn_north.flashmo_click_area.addEventListener( Event.ENTER_FRAME, btn_enter_north );
              var each_substring_north:Array = menu_label_North[i_north].split("|");
              btn_north.flashmo_button_label.fm_label.text = each_substring[0];
              btn_north.item_url = each_substring[1];
              main_menu_North.addChild(btn_north);
    function btn_over_north(e:MouseEvent):void
              e.target.parent.over = true;
    function btn_out_north(e:MouseEvent):void
              e.target.parent.over = false;
    function btn_click_north(e:MouseEvent):void
              var mc= e.target.parent;
              if ( mc.item_url != undefined )
                        navigateToURL( new URLRequest( mc.item_url ), "_parent" );
              else
                        change_page_north(mc.item_no);
    function btn_enter_north(e:Event):void
              var mc_north = e.target.parent;
              if ( mc_north.over == true )
                        mc_north.nextFrame();
              else
                        mc_north.prevFrame();
    function change_page_north(no:Number):void
              for (var i:Number = 0; i < main_menu_North.numChildren; i++)
                        var mc = MovieClip( main_menu_North.getChildAt(i) );
                        mc.over = false;
                        mc.flashmo_click_area.visible = true;
                        mc.flashmo_click_area.addEventListener( MouseEvent.ROLL_OVER, btn_over_north );
                        mc.flashmo_click_area.addEventListener( MouseEvent.ROLL_OUT, btn_out_north );
                        mc.flashmo_click_area.addEventListener( MouseEvent.CLICK, btn_click_north );
              var mc_selected = MovieClip( main_menu_North.getChildAt(no) );
              mc_selected.over = true;
              mc_selected.flashmo_click_area.visible = false;
              mc_selected.flashmo_click_area.removeEventListener( MouseEvent.ROLL_OVER, btn_over_north );
              mc_selected.flashmo_click_area.removeEventListener( MouseEvent.ROLL_OUT, btn_out_north );
              mc_selected.flashmo_click_area.removeEventListener( MouseEvent.CLICK, btn_click_north );
              page_north = no + 1;
              play();
    change_page_north(0);// default page on load
    flashmo_credit.addEventListener( MouseEvent.CLICK, goto_fm_north );
    function goto_fm_north(e:MouseEvent):void
              navigateToURL( new URLRequest( "http://www.flashmo.com" ), "_parent" );
    music_credit.addEventListener( MouseEvent.CLICK, goto_music_north );
    function goto_music_north(e:MouseEvent):void
              navigateToURL( new URLRequest(
              "http://www.premiumbeat.com/royalty_free_music/byPiece.php?id=2614" ),
              "_blank" );

    click file>publish settings>swf and tick "permit debugging".  retest.
    the line number of the code that contains that non-existant object you're trying to reference will be in the error message.  indicate that line of code if you're not sure which object that is.

Maybe you are looking for

  • Reset during installation

    Hello, I am attempting to install Solaris 9 on this system: SuperMicro P4DPR-8G2+ Motherboard Dual 2.2 GHz Xeon Processor Seagate 37 GB SCA HD The Solaris installer appears to identify my system as having a Adeptec AIC-7896 SCSI controller, but the m

  • Transfer monitor with concurrency issues

    I'm currently working on a project where the user may choose a domain name from a source list to fetch a bunch of subpages. To the user this looks like a single, large download. Since this may or may not take a substantial amount of time each downloa

  • A better file manager?

    Is there a better file manager for someone going from the Windows or Gnome Linux world on OS X? I am looking for something like Windows Explorer or Nautilus. Both of these offer a left side panel that expands to a tree view of the filesystem, and a r

  • Log & transfer crashes with a big amount of clips

    Hi everybody, I'm converting some 5D footage with log & transfer to proresLT. I was plannig to have this done during the night but when i'm putting a big amount of clips (I have a looot of clips !) fcp crashes. Are you aware of somethng like that ? T

  • Is the power adapter rated 100-240v for the HP Stream 13 Laptop ?

    Hi, I want to buy it. and i want to be shore about the voltage... .....Is the power adapter rated 100-240v for the HP Stream 13 Laptop ? Thank You.