Flash ActionScript button prob

LincLinc OwnerDetroit Icrontian
edited February 2004 in Science & Tech
Using Flash MX 2004 I wrote some text, converted it to a symbol (behavior: button) and now I want it to go to frame 315 when it's clicked so I added this script to the keyframe it's in:

on (press) {
gotoAndPlay(315);
}

When I check it, it says:

Mouse events are permitted only for button instances
on (release){

I find this very perplexing, since it definitely is a button instance :scratch: Any thoughts?

Screenshot:

Comments

  • DogSoldierDogSoldier The heart of radical Amish country..
    edited February 2004
    Did you establish the Up, Down, Over and Hit states? Double click the button, and just paste itself into the down state.
  • LincLinc Owner Detroit Icrontian
    edited February 2004
    I inserted keyframes in those states also - still the same error.
  • LincLinc Owner Detroit Icrontian
    edited February 2004
    :banghead:

    Look closely at that screenshot... particularly which tab is highlighted under the actionscript. Definitely not the button tab.

    :banghead:

    5 hours of my life... wasted.
  • DogSoldierDogSoldier The heart of radical Amish country..
    edited February 2004
    I know exactly how you feel. I'm a Flash n00b. It's not enough I'm proficient with Illustrator, Photoshop, Acrobat, QuarkXpress and Dreamweaver.. now they want me to learn Flash in order to redevelop our website. And I find the interface so counter-intuitive, I had to buy a book in order to better get a handle on it. :(
  • LincLinc Owner Detroit Icrontian
    edited February 2004
    Oh, and there's the ActionScript ridiculousness. We seriously suspected it was just Flash deciding to not read the scripts right for no reason at all... because that happens. It's the only language where you can code one thing and it decides whether or not it really wants to do it that way :rolleyes: You'd think after all these years they'd have a more reliable and user-friendly product...
Sign In or Register to comment.