Jump to content
5 posts in this topic

Recommended Posts

Hi folks, I've started getting into some tutorials in Flash to help me design my own site. I've been hitting a couple of brick walls and I'm stumped completely! The first thing I wanted to do was to add a stop action to the end of my movie so it won't keep looping endlessly. Well that went ok except that it wouldn't play at all. So logically I thought I probably need to add a start movie action at the beginning. Well that didn't work either. So I decided to go to the flashkit site and try a tutorial to see what i was missing in my practice movie. So I found this tutorial on how to make a play button for a flash movie.

 

I made a button and put it in a keyframe on the first frame of the movie. I also have an action layer with a stop action on the last frame. I also made a little shape with motion tweens so I have something on screen to let me know that the movie is actually playing. Everything looks ok except that when I go to add an action to my button the actions window says that "Current selection cannot have actions applied to it". Frustration is starting to set in as I've tried to google around with no luck. Not to mention most tutorials are for older versions of flash and I'm on CS3.. If somebody could set me on the right path I'd be very grateful. I've uploaded the .fla file to yousendit if anybody wants to take the time to look at it for a second. Here's the file.

 

 

Thanks,

Yoda

Link to comment
https://www.insanelymac.com/forum/topic/60359-flash-noob-needs-help/
Share on other sites

I made a button and put it in a keyframe on the first frame of the movie. I also have an action layer with a stop action on the last frame. I also made a little shape with motion tweens so I have something on screen to let me know that the movie is actually playing. Everything looks ok except that when I go to add an action to my button the actions window says that "Current selection cannot have actions applied to it".

Thanks,

Yoda

 

This kind of action can only be applied in buttons. Create button to start and stop the actions, ok?

This kind of action can only be applied in buttons. Create button to start and stop the actions, ok?

 

What do you mean by "can only be applied in buttons"? I've gone into the edit button screen with the 4 frame timeline and I still can't assign an action to the button. Please explain if you could. Oh and BTW, assume I know nothing (because I don't) :angel:

Yoda:

 

1. create the button (you can do anything tou want in the 04 frames inside the button).

2. Insert that button in the main timeline.

3. Select the button (just select it, not to edit it) and click in the actions tab.

4. Insert the code to start or stop the animation.

 

The code looks like this:

 

on (release) {

gotoandplay (1);

}

 

or

 

on (release) {

stop;

}

 

If you need something more precise, the code might change.

×
×
  • Create New...