PDA

View Full Version : play btn works in edit, but not when exported


frank_zhao
03-24-2006, 12:55 AM
i am horriblely newb at this, but with out your help

i have the movie stopped after it finished loading, then it should display a button that says play, and when clicked, it should go to a frame with a picture.

the button works when i enable simple frame actions and simple buttons, but when i export the movie, the movie will load up, but show me a button that has nothing writen on it, and clicking it would not work.

i have consulted a friend who taught me this, but i let him see it, he said that i did everything right (sure, whatever) but he could not figure out what was wrong.

i hope somebody here can help me troubleshoot the problem, i learn best by examples

oh, and if you notice something totally wrong, please tell me what code i should use instead of the one i have now.

http://media.putfile.com/loadtest56

the frame the button is in has this code in it


stop();


the button in that frame is indeed set to be a button symbol (not movie clip, my first mistake never to be repeated) and its code is


on (release) {
gotoAndPlay("start");
}


start is the name of the frame i want it to jump to

if anyone must know, i use mx 6.0, and dont feel like ever updating.
my fla file is 1.4mb so i cant attach it.

thanks in advance for the time taken to read this

guiltfilter
03-24-2006, 03:08 AM
Your code is fine. What are your publish settings when you exported to swf? If your is nested inside another symbol you may want to try _root.gotoAndPlay("start"); and make sure your code is on the button and not the timeline.

You really need to post the .FLA file for a fix.

frank_zhao
03-25-2006, 02:01 AM
here it is

sophistikat
03-25-2006, 04:44 AM
you had your button component inside a button.
take a look at fla and see the difference.

frank_zhao
03-25-2006, 05:35 AM
o.O Russian Doll first strikes html and now this?

that fixed it right up! thanks a bunch!

OMG YOU LIVE IN TORONTO, SO DO I !!!1!!ONE!!11!!1!!!ELEVEN!!1