1 Reply Latest reply on Apr 20, 2010 4:46 AM by Ned Murphy

    Accessing Button inside Movieclip/ScrollPane


      Hello all,


      I'm trying to understand how to build a button inside a movieclip.  I have a template that has movieclips within movieclips, and when I create a button (all using AS2) the button will work if I test the scene, but in the whole flash movie it does not work.  I also have some buttons located inside a ScrollPane that also do not call correctly.


      For my button I am using this code:


      facebookbtn.on (release) {




      ^ This is placed on the button "facebookbtn". I also tried using: _root.bgPages.pg1.facebookbtn.on (release), to no avail.


      For the one inside a ScrollPane I am attempting to call a javascript function:



           import flash.external.ExternalInterface;




      ^ This also does not work, with or without the button name before on(release).


      I'm putting the FLA file here so that if anyone has the time, could help me with this quick problem. Thanks!


      FLA: Download FLA