dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Buttons not working within embedded SWF

  1. #1
    Chemist
    Join Date
    Oct 2002
    Location
    San Francisco
    Posts
    204

    Buttons not working within embedded SWF

    I am embedding a SWF within another using the following code:
    Code:
    loadMC.loadMovie("about.swf", 1);
    Within the loaded SWF I have a few buttons:
    Code:
    resumeBut.onRollOver = function() {
    	resumeBut.gotoAndStop("on");
    }
    resumeBut.onRollOut = function() {
    	resumeBut.gotoAndStop("off");
    }
    resumeBut.onPress = function() {
    	trace("button");
    }
    clientsBut.onRollOver = function() {
    	clientsBut.gotoAndStop("on");
    }
    clientsBut.onRollOut = function() {
    	clientsBut.gotoAndStop("off");
    }
    clientsBut.onPress = function() {
    	trace("button");
    }
    When I play the entire flash movie, the SWF loads but the buttons don't work. Does anyone have any ideas why my buttons won't work???

    Thanks a lot!!!

  2. #2
    Chemist
    Join Date
    Oct 2002
    Location
    San Francisco
    Posts
    204
    Fixed!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center