Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

this is a stupid button question

Status
Not open for further replies.

katiekat

Technical User
Jun 6, 2000
300
US
There are 4 scenes in my movie, in the last one, I have a text button that is supposed to take you back and replay the movie. The action on it is:

on (release) {
gotoAndPlay ("intro", 1);
}

It doesn't work. I don't know why. I have tried everything. I DON'T GET IT, and it's driving me up the wall. It's the last piece for a movie that I am doing, and it's holding up the works. All because I can't get the stupid thing to go. Please help before I hurt someone. :) Holy tek-tips batman!:-0
 
Excuse me for askin'... But is "intro" a label or your scene name?

;-) "If nothing else, I can always serve as a bad example!”

 
Well... Your code works for me! Must be something else wrong somewhere!
What is actually happening at the present when you hit that button? Nothin'? Wrong scene? Or what else?


You could try adding an actions layer on your scene 4 and setting an action to goto & play the intro, rather than using your text button, to see if that works!
If so, there's something wrong with your button's action!

Other things to check:

The order of your movie, i.e. is the intro the first scene in the list outside of the loader if you have one?
Have you checked all of the key frames(if you have more than one, on your text button, to see if they all hold the same action?

;-) "If nothing else, I can always serve as a bad example!”

 
this button is part of a roll out menu, there are 2 other get url actions that work fine. I made a test button and put it on the same frame, and it worked fine. I don't get it at all. Could the rollout actions have something to do with it? Holy tek-tips batman!:-0
 
I might be wrong... But I don't think the roll out menu is in fault. If you still have your test button... Can't you redesign it to match your new button? If not, maybe you should try making another new button alltogether!

Best I can do without seeing your .fla!

;-) "If nothing else, I can always serve as a bad example!”

 
It's just sitting there, waiting for you to press a button.

The intro is the first scene, there is no preloader.

I don't understand what you are asking about the keyframes in the button. I can't add actions to keyframes in a button, it won't let me. (all the actions are greyed out if I look at the dialog box.)

I am very unhappy that I can't figure this out. Holy tek-tips batman!:-0
 
I was talkin' of the possible numerous keyframes of the instance of your button. Say you were fading in this button for example, you would have had at least 2 keyframes on it! Didn't you set the action of this button by right-clicking it on stage and hitting actions?

My connection is giving up on me today... Might be a while before I can reply again!

;-) "If nothing else, I can always serve as a bad example!”

 
you rule. I am a peon. :) Thank you, thank you, thank you. Holy tek-tips batman!:-0
 
What's a peon? (I'm French-Canadian!)
...Likaaaaa... in chess?

Does that mean I get a star?

B-) "If nothing else, I can always serve as a bad example!”

 
A peon... a lowly person on the food chain. The person in the mail room who doesn't know anything about the company. :)

I need to test the keyframe solution, but that seems to be the one that makes sense. What I don't understand is why the other buttons work, but that one doesn't. Maybe because they are "get urls" and not frame actions? Would that make a difference?

*oy* This will be the death of me.

Did I mention also that it's a movie clip? Maybe I'm being a dumbo about that. Some rule that I never knew anything about? I learned flash by just doing it, so I'm sure there's a whole bunch of stuff that I don't know even exists. Perhaps there is some place I can go to learn more?

Thanks a bunch!!! Holy tek-tips batman!:-0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top