Skip to main content
Known Participant
March 26, 2010
Answered

need help non-null error: xml or onComplete?

  • March 26, 2010
  • 2 replies
  • 1659 views

Can someone tell me what this means?

The slideshow its referring to is a something I purchased online and is embedded into my movie.

Does it mean  I need to put and onComplete function on the page thats loading this?  Is it for the xml or the slideshow movie?

Or am I missing eventListener somewhere?

Error #2007: Parameter listener must be non-null.
    at flash.events::EventDispatcher/addEventListener()
    at slideshow_fla::TheWholeSlideshow_1/xmlLoaded()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

Thanks in advance

Barbara

This topic has been closed for replies.
Correct answer Andrei1-bKoviI

I just fixed a textfield problem I was having and it seems to be

working alot better, I just uploaded it. I know the error is still

an issue, but Its one thing that i know for sure isn't causing a

problem. I can now go back and forth from photo gallery to video

and both load over and over again.

But I do realize I have to fix the output errors.

I do have code for the external swf. Would it help to see it?


It may. Also, perhaps first thing to check if the xml that contains images url is pointing to right things - some errors in slide show relate to unresolved urls.

2 replies

schugabugAuthor
Known Participant
March 26, 2010

Thats is my question, I just have this code on the frame  that I want it to play on and it plays on the first try, after that it's not loading.

I don't know what i am doing wrong or how or where to code to put the listener.  I've tried so many things, obviously not the right thing!

var ss1Req:URLRequest = new URLRequest("slideshow/slideshow.swf");
var ss1loader:Loader = new Loader();

        _1a.x = 10;
        _1a.y = 70;
        ss1loader.load(ss1Req);
        _1a.addChild(ss1loader);
       
   
    ss1loader.unload();

This is the buttoncode that takes user to the page

smm1_btn.addEventListener(MouseEvent.MOUSE_DOWN, slide);
        function slide(event:MouseEvent):void  {
            if (this.vidPlayer == !null)
        this.vidPlayer.stop();
        SoundMixer.stopAll();
            MovieClip(this.parent).gotoAndStop("photo");
           
        }

This is the site :

http://www.stacykessler.com/test.html

Thanks,

schugabugAuthor
Known Participant
March 26, 2010

that address was wrong

its

http://www.stacykessler.com/test1.html

Inspiring
March 26, 2010

Show code of how you add listener.