Flash help-trying to make movement buttons images (getting error 1009)

Help! I am trying to create a portfolio site, and I want my photo strip to flow and then become buttons. I did the buttons, but once the tape stops I get this message.

TypeError: Error #1009: cannot access a property or method of a null object reference.
at portfolio_fla::MainTimeline/frame62()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()

This is the code I have in the Panel actions

Stop();

LISTEN TO THE CLICK OF THE BUTTONS

pics_mc.card_btn.addEventListener (MouseEvent.CLICK, cardClick);

function cardClick(e:MouseEvent):void {}
trace ("cardClick");

}

pics_mc.wine_btn.addEventListener (MouseEvent.CLICK, wineClick);

function wineClick(e:MouseEvent):void {}
trace ("wineClick");
}

pics_mc.edge_btn.addEventListener (MouseEvent.CLICK, edgeClick);

function edgeClick(e:MouseEvent):void {}
trace ("edgeClick");

}

pics_mc.group_btn.addEventListener (MouseEvent.CLICK, groupeCliquez here);

function groupClick(e:MouseEvent):void {}
trace ("groupClick");

}

pics_mc.romeo_btn.addEventListener (MouseEvent.CLICK, romeoClick);

function romeoClick(e:MouseEvent):void {}
trace ("romeoClick");

}

I am new to flash
Thank you!

1009 error indicates that one of the objects targeted by your code are out of reach.  This may mean that the object...
 
n ' is not in the display list
n ' is not have an instance name (or the name of the instance is misspelled)
n ' is not in the frame where this code tries to talk to her
-is animated in place, but is not assigned the name of the instances of each keyframe for her
-is one of the two or more consecutive keyframes of the same objects without a name assigned in the image previous (s).
 
If you go to your section to publish the Flash settings and select permit debugging option, your error message should have a suite of line number the number of the frame that will help you to isolate the object that is involved.

Since you say that you move things in, I suspect the 4th listed element could relate to your problem, but it could be one of them.

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • Satellite A200 - WLan disappeared in Device Manager

    Hello A few days ago my wireless card work properly without any problem.Today, I want to connect to a wireless router and I saw that my card is missing. I reinstall, I made something possible, but here? m receiving the message - please insert card or

  • Pavilion dm4: external microphone input

    I have a Pavilion dm4, a few years old. In my view, it has a built-in microphone (it looks like a LED in the mic jack) which works, but I want input from an external source. The insert in the mic socket can be removed and a microphone plugged here? I

  • Configure.VI IMAQdx sometimes shows error

    I use blocks of IMAQdx to capture images and store them on the hard drive, Sometimes, when I run the VI, it displays the error in "configure.vi". but when I restart my computer and rerun the VI It wil work well. I'm unable to find the cause of the er

  • EliteBook 8440p: driver please

    I want this car please ACPI\HPQ0004* HPQ0004

  • Vista not seeing PC on network

    My network is connected to a WRT54GS, before I had a wired version not wireless I could see the end network. Now with the WRT54GS I see her, I can ping, internet access, print to the network printer, and others with XP can see my vista PC. It is a pa