|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Complete newbie w/ component question
I'm a newbie, been working w/ Flash for about 3 mos. I have an animation completed that will be presented through a webpage, but I would like for it to be controllable. I've checked a few component download sites but I can't find the kind of controller that I need for this project. Does anyone know of a good downloadable movie controller/player that has a similar layout as Quicktime (or other standard viewers)?
Thx! |
|
#2
|
||||
|
||||
|
it's probably going to be a lot easier to just make your own rather than try and download one. The flash shared library has pre-made buttons, and then you just add the actions to them.
|
|
#3
|
|||
|
|||
|
I tried adding buttons today and I just can't get it to work right. If someone could help me figure out what I'm doing wrong, I would be very greatful.
I have an animation and when it completes a button layer displays the button instance. In preview this all works great. The button layer has only one active frame -- the keyframe with the button instance, which is on frame 40 of the movie. I need this button to jump the viewer to information that is on another layer at frame 45. I've tried to use go toAndStop (I don't know ActionScript, I'm doing this through the built-in actions) on the keyframe with the button instance. This jumps the movie to the frame, but it bypasses the button -- so instead of the viewer cliecking the button and jumping to the frame, it goes straight from the animation to the frame w/ no button. Makes sense, because it doesn't seemt o me like I have applied anything to the button directly. I tried looking through my Macromedia training book and the example in there has a line that's not in my code - "on (press) }". I tried adding that code manually so it now looks like: on (press) { gotoAndStop(45); } ...but this is what I get when I preview: Scene=Scene 1, Layer=Button, Frame=40: Line 1: Mouse events are permitted only for button instances on (press) { So I thought that maybe I should be applying the action to the button directly, but the "goto" option is grayed out on every frame within the button so I can't. I'm sorry -- this has to be simple for most of the people out there, but this is the first time I'm trying to use Flash for something other than straight animation and I'm about ready to give up. ![]() |
|
#4
|
|||
|
|||
|
Sorry - I may have figured it out somewhat. I can get the button to load Frame 45, but only if frame 45 contains a "stop" action... surely that isn't what I'll have to do all the time, though, because if 45 - 50 were to be an animation, it would never display...?
Last edited by Static Hysteria : August 6th, 2003 at 01:58 PM. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Complete newbie w/ component question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|