This is a discussion on "Time line question" within the Flash & Multimedia Forum section. This forum, and the thread "Time line question are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Time line question
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Time line question
What happens if you 'start' something new (new layer, new movie clip or whatever) AFTER the last frame past the 'stop' actionscript?
In other words, movie plays, one moving portion stops, music is still playing...but you want to have something else show up on the scene when the other stuff stops. Can I just do that beginning where the other moving symbol stops moving? I know I sound like an idiot. Hopefully you understand what I mean, despite my lack of technical phraseology. lol |
|
|
|
#2
|
|||
|
|||
|
If it is on the same timeline then no, stopping stops the entire movie, not just that one layer. In order to do this you need to create movie Clips.
Lets say you have 2 animations. You want one to start and go to frame 10 and then stop. You want animation 2 to start on Frame 11 and go to frame 20. Where - = animation 0 = keyframe STOP (indicated as "stop;") x = keyframe PLAY (no need to indicate) () = empty frame You make 2 SEPERATE movie clips and use this code:
|
|
#3
|
|||
|
|||
|
JohnMitch has it, but I'm not sure if he's explained it well enough :P
Quite simply, movieclips have independent timelines and can only be stopped by their own 'stop();' command. If you issue a stop on the stage then it stops the stage, but movieclips can continue. |
|
#4
|
|||
|
|||
|
eh the best way to learn is through digging through things, with visuals.
here you go autumn_whispers2me www.eggrollindustries.com/example.fla www.eggrollindustries.com/example2.fla im pretty certain you want to do the 2nd one but the 1st one is just as easy. o yea tell me when your done downloading them so i can delete them off cuz im gunna be uploading a bunch of stuff soon so im gunna be doing some summer cleaning on my ftp server. |
|
#5
|
|||
|
|||
|
You guys are SO awesome! 8) So do I still need to copy and paste that code, or can I just use the actionscript panel to do this stop, start, etc. thing? Man, I sound so goofy, but you guys know what I mean, I'm sure.
Thanks for those examples, btw..... Master_Phat. That helps quite a bit. But... the other part of my confusion is this: if a new movie clip begins after the stop of the animation on another layer, and say that animation was an image fading in that should stay put and visible throughout the rest of the movie---will it stay put and visible while the other movie clips are playing? Thanks.. I don't know what I'd do without you guys!!! 8) |
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
|||
|
|||
|
:P
|
|
#8
|
|||
|
|||
|
er? lol If I were to draw the layers with content on them....
new content-----------------------------------start------------------------ content---------------------------------------stop (this layer still visible here after stop?) Yeah. I know I'm a dork. But it's the best way I know to show you what I mean! lol Now does it have to be a movie clip (content on bottom in example), or can it just be a static picture? |
|
#9
|
|||
|
|||
|
If there are frames after the stop then it's still visible. It's that simple. Try it and see 8)
|
|
#10
|
|||
|
|||
|
Cool! 8) T'anks.
|
![]() |
| Tags |
| time, line, question |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Seeing Line Breaks? | Jack Franklin | PHP Forum | 2 | Feb 24th, 2008 20:55 |
| reading a log file one line at a time depending on timestamp | eon201 | PHP Forum | 1 | Dec 4th, 2007 05:54 |
| Line Break | DregondRahl | Web Page Design | 6 | Jun 12th, 2007 15:33 |
| on-line training | n1gel65 | Starting Out | 2 | Jun 11th, 2007 16:27 |
| Adjusting time from server time to local time | Tim356 | Classic ASP | 10 | Jun 21st, 2004 14:57 |