Skip to main content
Participant
March 24, 2012
Question

Actions on button or MovieClip instances are not supported in ActionScript 3.0.

  • March 24, 2012
  • 1 reply
  • 1068 views

WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored.

created A WEBSITE IN CS4

  •   I TESTED THE MOVIE CLIP
  • When I click on any 1 of the 6 buttons assigned to a page
  • it will go to its assigned frame
  • however if I try to test the next button
  • it will not go to the page
  • so im only able to test 1 button inthe clip
  • anyone will work but only one

also the icons buttons that are linked to websites

their are four and the last one on my action ascript pops up as I run the test movie clip

before i even click anything

any suggestions

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
March 24, 2012

1.  remove the code causing the warning.

2.  what frame are you button listeners defined on?

Participant
March 24, 2012
  • all of my buttons aare on my menu's layer in different frames

  • in my code the function is:  

function servicepage(event:MouseEvent):void {

    gotoAndStop(3)

}

  • all of my webpages are in different frames on the pages layer

  • and each page frame number is in () in the code

  • I'm not getting the warning anymore.

  • these two things are still happening
  • I cant click between pages in my test movie
  • and when I open the test movie to see if everything is working
  • the last URL in my code pops up without me clicking anything

  • I have 6 buttonss to go between pages

and 4 buttons to go to URLS

kglad
Community Expert
Community Expert
March 25, 2012

do you have code in those different frames adding an event listener for the corresponding button?