Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Timeline Question?



http://www.2and2.net/Uploads/Images/odear.JPG
Ok, i have a MC on frame1, with the user clicks on the clip it fades away.


Question:
How do i make it so, when the user clicks it plays the clip, then jumps to frame 5?



ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 06-13-2006, 09:11 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

OnDrag:scroll Thru Timeline / OnRelease: How To Resume Playing The Timeline
i want to scroll thru the timeline by dragging a slider. (just like scolling thru QT) framenumber will be calculated based on slider._x.
when release slider, timeline should play from that point normally

when i stop dragging the slider, the procedure of gotoAndPlay(calculatedFramenumber)does not stop and movie sticks on that frame where slider-button was released.

slider-button-code:
on (press) {
startDrag("", false, 276.5, 331.5, 757.5, 331.5);
}
on (release) {
stopDrag();
}

slider mc-code:
onClipEvent (enterFrame) {
slideframe = math.ceil(1.892*(_x-276.5)+1908);
_root.gotoAndPlay(slideframe);
}
onClipEvent (mouseUp) {
_root.play();
}


can anyone help me on that simple issue?

Controlling A Movie Clip's Timeline Separately From Main Timeline
I've got a problem here that I've been trying to figure out for a while now, and it seems like it should be way easier than this. Here's what I've got:

I'm trying to make a neato little flash swf with lots of buttons that you can push and another little movie clip will show some little animation.

I thought I could get this done pretty simply by making a bunch of buttons, giving them an over, down, hit, sound, etc. and then having one single movie clip do all of the animations, but cleverly use stop(); and gotoandplay();

I have tried a few different ways, searched through the help & tutorials, looked all over forums on the internets, and I still can't get this to work. The main timeline is really just 1 frame, and its only purpose is to just hold all of the buttons. I have given all of the buttons instance names (ending with _btn). There is a separate layer in the main timeline for the actionscript alone, and was hoping to put all of the gotoandplay commands there. The code that I am trying to use in that frame is:


Code:
this.WV_btn.onRelease = function(){this.productzmovie_mc.gotoAndPlay(2);
};
The productzmovie_mc has a command to stop(); in the first frame, and I am trying to get a button to skip to the next frame to get it going. I put a stop(); on the last frame of that animation so that it won't run through the whole thing on the first button press. If I remove that stop(); on the first frame, the whole animation just runs whenever I test it and the button has no effect.

I thought this would be way simpler than making 25 separate movie clips and hiding them or spawning them. Does anyone know what I could be doing wrong here? This seems like a pretty simple operation, and I am probably screwing up some mundane detail (I always do that). Be gentle, I am trying to learn Flash and I am a bigtime n00b. I can post the .fla if you need to see it, but it's pretty simple so far, just lots of buttons.

Thanks!

ActionScript Differences Between Main Timeline And Movie Timeline?
Hello,

Could someone explain the difference if Action Script is on the main timeline or in a movie clips time line which is on the main timeline?

I guess I mean is with regards to referring to other items or movie clips or external scripts etc.

To try and clarify what i'm going on about....

I have a form that uses a php script. The form.swf is brought into my main movie with 'loadmovie' action script.

When the form.swf is run on its own it works. When someone enters the info and hits 'send' the form gets what it needs from the php script and then goes to a 'sucsess' frame. Great.

But..

When the form.swf is run from within my main movie and someone hits 'send' the form goes to my 'fail' frame (even though it is sending the email), the php script is returning a 'fail - invalid email entered' message to the flash form (the email was valid though!!).

Because the form.swf works on its own I'm guessing that, when loaded into the main movie, i need to add something to make it talk to the php properly.

The odd thing is that it must be talking to the php as it is sending the email!!! So why is the php sending back a 'fail' and not a 'success'.

It could be that the form.swf is just not getting a response from the php and so it going to the fail frame. In which case, if my form movie is within my main movie what do i add to the php (or action script) to receive the info to the nested movie.

I cant work it out.

Thanks soooo much for your help.

Julian

Play Movie In Timeline But Keep Main Timeline In Place
Hello,

Scenerio: You are at frame 1 of the timeline and it's stopped, you hit a button and it jumps you to frame 20 and then at frame 20 a movie clip plays.

Question. Can I have that movie play for however long I want (let's say it's a 100 frame movie) BUT have my main timeline still sit on frame 20? And then when the movie is done playing it goes to frame 21 of the main time line? Currently I have to make my main timeline be the same length as any movie I have in it, and so my main timeline ends up being an absurdly long.

Just a general answer will help - which action scripts would I be looking to use (I'm using Flash 8 Pro)?

Thanks

Playing Timeline In Reverse Mode (the Whole Timeline, Not A MC)
hi,
I have to make a flash book where you can view each page forward and backwards - as if you were actually reading the book by clicking on a next or back button depending on what you wanna do.
My problem is: I have the main timeline and all the animations are placed there without using any MCs.

i know a similar topic has been covered hundred of times on this forum, but i didn't found anything covering this specifical issue.

All topics refer to MC's placed on the timeline, but i have all my stuff on the main timeline, without any mc's, so.... i have to ask
Is there any script to make the movie, once stopped, move backwards and then stop, when it finds the stop command?????????

Help!
Thanx in advance
Mcclaine

Movie Clip Timeline Vs. Main Timeline
Ok, i have made a movie clip in Swift 3d and have imported it into Flash MX. Now it is in the first frame as flash will place it there and what i would like to have happen is to tell frame 1 that when the movie clip's timeline ends and stops(frame 90) to then move the parent timeline to continue with stuff
If any one reads this please help or refer me to a MX book that is worth the valuble time we think we have!
Mike

Child MC Timeline Controlling _root Timeline
I have a main Timeline which holds a child MC. The Child MC (text01aMC) runs to a length of 156 frames (text fades up and fades down). I'm trying to move the main time line forward one frame once the child clip has reached frame 156.

I'm using the following code:

stop();
if (_root.text01aMC._currentframe>=156) {
_root.gotoAndPlay(2)
}

This code doesn't seem to do anything?

Can anyone help.

Looping Timeline W/ Delay Swf Imported To New Timeline
I'm pretty new at this and I may be having a conceptual problem. I made a movie that loops with an action script delay. That part works fine. When I preview it plays the way I want it to with a delay before it loops again. Then I export to a swf. On my new movie I "import to library" the swf file. Then I drag it onto a keyframe on my timeline. The clip plays fine but the delay I had in the action script doesn't seem to work anymore. I'm sure there must be something wrong with the way I'm going about this. Is there some other way to delay the imported movie loop?
Thanks

Movie Symbol Timeline & The Main Timeline
Hi guys,

There is the frame in my main timeline which has a movie symbol and when the timeline heads reaches & stops at this frame & start playing the movie symbol timeline, i want that when the timeline head reaches at the end frame of the movie symbol timeline, it should take me to the any frame number/label of the main timeline i want.

I tried adding the action to the end frame of the movie symbol to take me to a different frame of the main timeline but it doesn't do anything. It remains at the same frame of the main timeline.

Is there any way out?

Regards, Rohit

How To Control The Main Timeline From An MC Timeline?
May an action in a movie clip's timeline or within an OnClipEvent target the scene's main timeline, say, forcing the swf to go to its third frame, for example? Thanks for any idea.
P.S. Actionscript 1.0

Main Timeline Vs Mc Timeline Smackdown
I've made a little animation in a mc several instances of which sit looping on the main timeline.
I want these mcs to load at intervals on the main timeline, frame 1, 5, 10 etc. (a kind of twinkling stars thing if you must know.)
The problem is the main timeline overrides the mc's timeline.
I was able to sort of fix this by shortening the main timeline, but I can see this solution is not satisfactory for any number of reasons, and even at the most basic level it seems erratic.
Obviously my understanding of this issue is too theoretical and not practical enough, or the other way around.
How can I force the main timeline to really accept the mc timeline instead of just pretending to?

A Timeline Application? (NOT The Flash Timeline)
Hi All,

I'm looking for something I can use to create timelines for a web application I'm building.
When I say "Timelines", I dont mean the "flash timeline". I mean something like this: http://usfweb2.usf.edu/50/images/site/timeline-small.jpg

I've seen and used lots of handy flash chart applications, like "PHP/SWF Charts"
I'd like something just like that, but only to create timelines with.

Any ideas where to look? Google is no help cause if I search "Flash" and "Timeline" together, i get millions of results for THE flash timeline. :(
I'm willing to pay a bit for it too, so its alright if its not free.

A Value From The Main-timeline To A Moviclips Timeline
Hi!
I have a movieclip on the scene. I also have a button on the scene and when I press the button I want to send a variable-value to the movieclip. I have a variable set in the actual frame on the main-timeline but the movieclip doesn´t catch that, when traced I get undefined. Can I send a value from the main-timeline to a moviclips timeline?

A Value From The Main-timeline To A Moviclips Timeline
Hi!
I have a movieclip on the scene. I also have a button on the scene and when I press the button I want to send a variable-value to the movieclip. I have a variable set in the actual frame on the main-timeline but the movieclip doesn´t catch that, when traced I get undefined. Can I send a value from the main-timeline to a moviclips timeline?

Control Of Main Timeline From Another Timeline
Working in Flash Pro 8 (on a Mac), I've got a movie clip on the main timeline. Within the movie clip is a button which, upon pressing, reveals a series of three more buttons.

My objective here is that when you press any one of those given buttons that are within the single button that is within the movie clip an instance of which is on the main timeline that it will take you back to a specific frame on the main timeline.

I am having a devil of an unsuccessful time with the concept of connecting back to the main parent timeline from a child timeline.

Any words of direction on how this is accomplished would be, as usual, appreciated.

Christian Seaborn
seaborn.christian@gmail.com

Timeline With Timeline Question
I've got four movies loading in one main movie. The problem is that while some of the scripts in those movies still work (the drag button, for instance), some don't, including the close button which takes you back from the frame you're on to the first frame.

I'm guessing this has something to do with the fact that I'm making a command relating to a timeline that is now inbedded in another timeline. So, how do I keep timeline related scriptw working, while my movie is living inside another movie's timeline?

Thanks,
Matthew

Use Timeline's Frames Or Use Mc's Own Timeline?
on various sites like this one: http://www.no-tec.com/not_quite_there.html, he probably used the original timeline for motion tween and so forth.

But for me, after the preloader, when i do stuff, what i do is i dont use the orig. timeline but i use mc's own timeline to create animation.

Is this a bad way to create animation at the start?

MC Timeline & Main Timeline
Hi all,

This is going to sound very simple, but I'm having some trouble understanding exactly how the timelines work. I've tried searching online but I haven't found what I'm looking for.

I have two animated movieclips. The first one is 50 frames long and the second one is 200 frames long.

On the main timeline, I want to the first clip to play and when that has finished I want the second clip to play. But I put them onto the main timeline, each on a different layer, they play at the same time.

I understand MC's play independently of the main timeline, but I've tried placing the second MC on the 50th frame of the main time line so it will play after the first MS has finished but it doesn't work.

Placing them both on the first frame of the main timeline obviously makes them both play at the same time...

How/where would I position the animated movie clips on the timeline so one plays first then the second one plays?

Can anyone please explain this or maybe point me towards a tutorial?

Many thanks.

Use Timeline's Frames Or Use Mc's Own Timeline?
on various sites like this one: http://www.no-tec.com/not_quite_there.html, he probably used the original timeline for motion tween and so forth.

But for me, after the preloader, when i do stuff, what i do is i dont use the orig. timeline but i use mc's own timeline to create animation.

Is this a bad way to create animation at the start?

Help - Timeline?
When a button is pressed to go to next scene, instead of "jumping" I want the movie in the current scene to finish playing to the end of its timeline before going to the next scene.

Is there any way to make this happen?? If so, how??

Thanks in advance for any help/advice you can offer.

MC Timeline
What's the actionscript code for a button on the main timeline that has to tell an MC to go to a certain frame in its own timeline?

Timeline Help...
How can I make frame selection like Flash 5? I just don't get how to edit frames in this version.. which is really a pain.. ya know?

U2 Timeline
Can anyone tell me a tutorial, etc. where I can find an example of a timeline similar to that used on the u2.com site?

thanks,
jhb

TIMELINE
Hi i have several layers which perform certain things in my flash file.

From frame 87-195 a rectangle is split and reveals the main page.....now i have 4 buttons as the nav that let u access 4 different pages contact....products...etc and when the user clicks the button i want it to reverse this animation so it closes the rectangle....then re-opens with the specific page there....

Is it possible to copy frames 87-195 and reverse them so it would go backwards? so from frames 196-204 it would have the animation in reverse?

any help appreiciated....

p.s. Sorry about this hard post....i dont expect to get many replies

Timeline
I would like a tutorial for time line management. I read the one at this site. It didn't do it for me. The problem I have is separating Keyframes. I want some blank frames between them so I can can handle more than one object on one layer. Flash 5.

Thanks in advance

Timeline Help
Being a newbie, I am trying to teach myself Flash through tutorials, forums and such. I came across an interface in FlashKit that I have been "taking apart" to see how it's done. It is located at:

http://www.flashkit.com/movies/Inter...5922/index.php (Movies Top : Interfaces : Sites : Page 16)

I have never come across one where everything is contained in 2
layers and shows up in the first and second frames only. I always try to
follow the existing timeline to duplicate the tweening, plot the menu items, etc. and as such, I don't see what frame the contact menu button should be targeted to where one would place the contact information text (hope this
makes sense).

I have written the author but have not received a response. Thanks
for any help coming my way :-).

Foxy

Mc & Timeline
help: now that my mc follows the mouse, it should jump to a certain
frame in the mc-timeline when the mc reach the mouseposition, how do i do that?
thanx 777

End Of MC Go To New MC On Timeline
I have a MC embedded on the root with a stop action in the middle. Once bttn is clicked I have it play the rest of my MC. When the ened of that MC is reached I want to go to to another embeded MC on the root. Any ideas??

thanks

Timeline....
I'm making a timeline, and I can't seem to get the scripting to finish it off. I'm pretty new at Flash (I'm using version 5), so this may be an easy fix to longtime users. By looking at the attached file, it's pretty clear what I'm trying to do - basically this slider bar drags along a timeline, and when it drags past a certain date, information about that date appears (or technically, when the slider bar drags past a certain date, the movie goes to a specified frame). Anyway, please take a look at this because I can't figure out how to make the "gotoFrame" actions work appropriately - thanks!!!...

Timeline
How do i put something in the main timeline and/or how do i know it is there?

MP3 In MC Timeline
i have a fla with a movieclip that contains an MP3 in that movieclips timeline, so that I can precisley synchronize animations to specific points in the MP3.

my question is this:
how can I pause the MC containing the MP3 then restart it from the paused position by clicking a button?

i can get the sound to stop or play, but not pausing.

I tried to get it to save the current frame
and then save that variable then when play is pressed it should pick up from that spot but it doesnt.

This is for a presentation.

Any ideas, or examples of controlling an MP3 that is layed out INSIDE a timeline and not called externally?

cheers!

Timeline
Does anyone have or know where I can get a really cool scrolling time line? I' looking for somthing that you can click and drag a scrollbar horizontally and when you release it, it will snap to certain points of the time line automatically

anyone?

Timeline
Is there anyway that I could use a Flash 5 timeline on Flash MX? That Flash MX timeline is just too confusing...

Timeline
Hello,
I am trying to make a game that has a timeline in the frame that can be modified by the player. The purpose is so that the player can, basically create a movie by placing clips in the order that they what on a timeline that would be at the bottom of the screen. I got the idea from a fireworks game on the crayola web site.
If you go to the site you may see what I am trying to explain:
http://www.crayola.com/kids/games/co...eworks&ok=true

Thanks
Jay

Timeline
I am working on a time line chronologging 20 years of our history.

I have a neat idea but I have no idea how to execute it.

I need a horizontal sliding bar which can move freely, but snap to certain points.

I need the dragging of this bar to change the position and viewing window of 4 different graphics.

*sigh* I can draw everything when my computer returns from the store, but I cannot do the actionscripting.

can anyone lend a hand?

-Z

+--------------------------------------------+
| Message 1 |
+--------------------------------------------+
+----------------------+
| Date 1 |
+----------------------+

|-----------8-------|---------------------|

+----------------------+
| Date 2 |
+----------------------+
+--------------------------------------------+
| Message 2 |
+--------------------------------------------+

* 8 - Slider

Timeline
can anyone give me a fla for a scrolling time like the one on mowtown website.
I already have the one by tjko http://www.flashkit.com/movies/Inte...-1677/index.php
I need it to be a bit more involved exactly like motowns

Timeline Help
Im not s ure if this action scripting problem or a a timeline problem:
I have a on a new scene named 'work" on frame 1 the following layers an aciton laer stating "stop" then the two layers below a button and then a movie . Right now the movie is playing when you click to this scene - it seems as though the stop action is not working - . What i want to happen is the button to release and play this movie - what am i doing wrong.

Timeline
Can you play two sections of the time line at the same time? If so how?

Timeline Help.
I'm VERY new to flash development and I'm hoping someone could answer a simple question.

I have a movie that has a movie clip embedded into it. (by movie clip I mean I created a symbol with the behaivor of a movie clip) I need the movie clip to control the time line in the parent movie. How is this done?

If you need more detail here they are...

The movie clip is embeded in frame 5 of my parent movie. This movie clip asks the user a set of three questions. Once all the questions have been answer correctly there is a "continue" button. On press, I'd like the button to move the parent movie ahead to the next frame, which in this case would be frame 6. Currently the action script I created doesn't work. The script is...

on (press) {
nextFrame();
}

...which does nothing. I think I know why (becuase it's trying to control the movie clip rather than the parent movie)

Thank you to anyone who can help.

Regards,
Curt

Timeline
Does anyone know of where i can get a fla thats roughly in the design on the classic motown history timeline interface

See Timeline........
Is there any way to see the timeline and action scripts in a flash movie or video that someone has posted on the net? I build websites with Frontpage 03 and can go to just about any website and edit it with Frontpage to see their table layout etc......Someone told me the file is in my temp files once I watch the movie and can get to it from there.......All I can seem to see is the fla. file not the swf. Any answers??????

Set RGB In Timeline?
I have a timeline with a movie clip symbol moving across the screen. At the end of the timeline I have a go to and play (1) so that the timeline loops. That part works fine. I want the color of the symbol to change each time the timeline loops. I put a set RGB random action at the end of the timeline.

The problem is everytime my timeline hits the setRGB action it does change the color the way I want it to but it stops the timeline from playing. It always stops the timeline playing whereever I put the setRGB action. Is there a way to get the timeline to keep playing after this?

Thanks.

Help With Timeline
ok maybe I am just way new but here i go. I have a movie clip that when the page loads I do not want it to play. i want it to play when someone rolls over it with the mouse. how do i get it to stop on frame 1 then goto frame 2 on rollover? tried the goto and stop and did not work. please help me.

Timeline Help
Isn't there a way to put notes in your timeline to help keep track of what is going on in your movie? I just want to put a couple words in a keyframe.

Thanks!!

Lyn

[F8] Timeline And MC
Hey, could anyone give me a pointer?

I need an MC to start playing but only when another MC finishes... Lets say..

MC1 is inside MC2 and i need MC1 to start after MC2 has finished playing...
something like that! hah, rather confusing but it's the best way i could think of explaining it.

Any help would be appriciated,

Regards,

Curt

Timeline
Is there a way to make all the frames come together into one timeline? I don't want to make next time lines so that it can move. It's really annoying.

[MX] Timeline
is there anyway to copy a timeline from one flash file and past it into another? I have this template and the main .swf has navigation buttons and a logo at the top and I need to figure out how to keep that at the top? so can I just copy and past? or what code do I need to alter? I am so lost here!!! any help is greatly appreciated!!!! thank you!

Timeline
Hi.

I have a movieClip in my main timeline. When the movieClip reaches a certain frame, I want the main timeline to gotoAndPlay another frame.

At the moment, I have the following code on the frame in the movieClip where I want the change to occur:

this._parent.gotoAndPlay(2);

This is, however, not working. Any suggestions?

Thanks.

Timeline Var
Hiya

is it possible to increment a variable on the timeline from a Class ?

i can do it the other way round ...

Timeline
Hi all,
anybody got any ideas about how to create a timeline using director
cheers

Copyright © 2005-08 www.BigResource.com, All rights reserved