flash giving me an error for no reason?
onClipEvent (load) {
adding = false
subtracting = true
}
onClipEvent (enterFrame) {
if (_alpha <= 25){
adding = true
subtracting = false
}
if (_alpha >=65) {
adding = false
subtracting = true
}
if (adding){_alpha ++}
if (subtracting){_alpha --}
}
and flash keeps telling me that the "onClipEvent (enterFrame)" function is only available to movie clips. the problem is that what i applied this code to IS a movie clip, what gives?
PS: i converted a button to a movie clip. (from the common libraries)
thanks for the help
Also, it's generally good practice to put semicolons in; I'm not sure but I think they might even be required now.
Your problem probably stemmed from the fact that you'd converted from a button to a movie clip, but I can't be sure without seeing it.
#If you have any other info about this subject , Please add it free.# |
Posted in xn--oq0a.com | edit