1120: Access of undefined property contact.


hey im in middle of designing flash wesbite.. ive followed tutorial , im stillll having problems...when create buttons , want action script buttons go home page , stuff error message.. heres code looks , pretty looks ame on tutorial aswell:s

 

stop();

 

//handle events buttons...
video.addeventlistener(mouseevent.click, clicksection);
home.addeventlistener(mouseevent.click, clicksection);
photography.addeventlistener(mouseevent.click, clicksection);
printdesign.addeventlistener(mouseevent.click, clicksection);
pricelist.addeventlistener(mouseevent.click, clicksection);
contact.addeventlistener(mouseevent.click, clicksection);
function clicksection(evtobj:mouseevent){
    //trace shows what's happening.. in output window
    trace ("the "+evtobj.target.name+" button clicked!")
    //go section clicked on...
    gotoandstop(evtobj.target.name);
}

 

i hope 1 can me this... unusual how im following tutorial aswell , code still aint working:s

hi,

 

just check frame label have put according button name or not



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO