Flash mc button multiple functions
Flash mc button multiple functions
- Started
- Last post
- 2 Responses
- wwfc
Morning! I am trying to combine multiple functions into a movieclip button in flash but I can't work out what is wrong with my script:
http://pastebin.com/d5a3ca38aI have looked long and hard but can only find references to a single function but nothing on combining more than on function!
Anyone put me right on this please?
- wwfc0
...I think I know what is stopping the code working - how do I rewrite:
if (_root.CENTERpages.A1._currentfr... == 1)
_root.CENTERpages.A1.gotoAndPlay...
to work with a this.onrelease call?
this is the only bit of code that can be stopping it working - although there are a few calls to check mc current frame in the whole this.onrelease script...
if (_root.CENTERpages.A... == 1)
_root.CENTERpages.A1...
wwfc
- badgorilla0
It looks to be your open/close function tags (i.e. "{" "}") --