Flash :: Timeline - Movie Only Lasting 1 Second?
Jul 22, 2011
I'm working on an autorun CD, and the first step that I tried to do was to publish the file I have. I've made a small index for a catelog I'm working on, and when disc is put in the persons computer, what is suposed to happen is a flash made index comes up with options to view catelog or exit or go to website etc. I just published the file, selected windows projector (exe) and published it. I found the file easily enough, but whenever I double click to open it, the screen for the index flashes once and then closes. I've never used Flash before, so I'm not sure why its doing this.
The only idea that I possibly have is that there is an issue with the timeline. I dont really know how to use timelines. The only thign that is supposed to really move in the index is a line of scrolling text at the top (which I edited within the actual animation itself so nothing shows up for duration on the main timeline, but the scrolling is supposed to last for 40 seconds). When I test it in Flash it works fine, the screen comes up, text scrolls over and over, and it stays open.
Right now my timeline looks like this: timeline
View 1 Replies
Similar Posts:
Nov 16, 2009
How would I make a function last 10 seconds? For example, the function would stop after 10 seconds. I know you have to use timers, but can't quite figure out how to accomplish this.
View 9 Replies
Jul 10, 2010
I'm on the last stage of developing my game, and I need to display a countdown timer, lasting 3 minutes. I want to display the time counting down in the format "3:00" and then when the timer hits the full 3 minutes an event is fired and it stops, and I display a few other things along with it in the same function. The difficulty I have is actually doing the bit where I display the timer and update it accordingly. If there is any genius out there who can do this (In AS3) then you are my new best friend. I only have a few hours till my submission deadline, and this thing is KILLING ME!!! hypothetically.
View 6 Replies
Apr 26, 2009
I'm trying to make a flash website that has clickable buttons that will play different movie clips. But I dont know how to make it to just play the movie clip with the button you click without playing all the movie clips on the main timeline.
View 1 Replies
Jun 10, 2009
why the timeline inside these movie clips and the timeline on the main scene have to correspond to work. [URL]
View 1 Replies
Feb 2, 2010
I cannot seem to find anything of what I need from google.(Well, I can find the reverse method to what i need ) Basically I wish to access a variable declared in the Root Timeline from my Movie clips timeline.
[Code]...
View 2 Replies
Oct 9, 2009
I have a file comprised of 1 scene and two movie clips. The clips are instanced into the Main Timeline and occupy Frames 1 and 2 respectively.MovieClip1 is an animation that has navigation buttons that appear at the end of the clip. I'm trying to get mouse click navigation to make Frame 2 on the Main Timeline active.
Here is what I'm trying but it is not working:
btExplore.addEventListener(MouseEvent.CLICK, ExploreClick);
function ExploreClick (evt:MouseEvent):void {
gotoAndStop(2);
}
this takes the animation to Frame 2 of the Movie Clip Timeline not Frame 2 the Main Timeline.
View 9 Replies
Jun 1, 2011
I want to play the movie in the timeline, so i dont have to export the file every time i want to see the movie clip.
This is a school prosject so please respond quickly.
View 1 Replies
Jun 9, 2011
I am trying to embedded an flv into a flash movie timeline that runs at 12fps.My source avi is 60 seconds in duration. However using cs3 video encoder with the frame rate set to 12 fps results in an flv that uses up 1440 frames of my timeline.In fact any frame rate selected always results in an flv of this frame length? Assuming that I need the flv to be 720 frames total (60 seconds * 12 frames), and not twice that duration as that would still have to be played at 24 fps. I undertand that there is a relationship to the original fps the movie was shot in (in this case 24fps) but will/does the encoder not produce an flv with the frame rate altered to match my timeline fps? or do you basically have to use a camera that shoots the original avi at 12fpsto get it to play in 12 fps timeline??
View 4 Replies
Apr 3, 2012
I'm trying to control the timeline in my Flash movie. How I have my movie set up is:
1. The main timeline with AS, sound, some text that appears at the end of the movie (credits), and a movie clip of an entire scene with background. Inside the movieclip background, I have several other movie clips of parts of a duck animating, the background scene changing color, and a mask that opens and closes the scene (at the begining it opens and at the end it closes), and an object that I just added ( a ball). I gave the ball an instance name of ball_mc and all I want to do is to make that ball stop from looping the animation when the ball's movieclip is done playing.
I've tried to put a stop(); at the end of the timeline in the ball's movieclip, but that did not work. I'm missing something, but I'm totally clueless when it comes to ActionScript. I've only been working with Flash for about 6 months and haven't really gotten into AS a whole lot.
I have been doing some searching around some and have come up with import flash.display.MovieClip; and this.stop(); or this.gotoAndStop(); and/or gotoAndPlay(); and ball_mc stop(); I've tried using these codes, but I'm still missing something. Sometimes, I get an error that comes up and says that my varable isn't defined. I have no idea how to define a varable?what i need to do to control the timeline to make my movieclip ball_mc stop playing at the end of the ball's movieclip on the timeline?
View 15 Replies
Aug 28, 2008
I'm trying to export a little animated logo to a video file.
Thing is, I'm using tweener animations, and it's all animated in actionscript. So there's nothing going on on the timeline, except for the first frame that contains the actionscript code and my objects in their starting position.
So when I export, it's just showing a static messed up image of all my elements, which should be hidden from start (due to itemMc.alpha = 0; on basically every item).
View 6 Replies
Oct 12, 2006
Can someone point me to an action script that can display a timeline on a flash movie. I don't want to use a component. I would like to learn how to program this using actions script.
It need to be able to move the slider back and forth to move the flash movies timeline back and forth. It almost needs to look and act like the Timeline in the flash editor.
View 1 Replies
Jan 16, 2011
[Code]...
So, can I access layers on this MainTimeline to get all Movie Clips on this layer ? So I can do a simple operation "A_1_2.buttonMode = true;" to all my MC's (in an array for example) without writing every line (lot of MC's on layer and lot of lines).
View 1 Replies
Jan 28, 2011
I have been trying to create a play/pause button for the main timeline in my flash movie. Created a movie clip with 1st frame - a pause graphic, then on 2nd frame - play graphic, labelled the frames 'pause' and 'play' consecutively and put a stop action on the first frame of the movieclip. Then put the following code in the actions layer of the main timeline (and gave instance name of 'ppBtn' to the movieclip):
var pp:Boolean = true;
function ppState(event:MouseEvent) {
if(pp) {
stop();
event.target.gotoAndStop('pause');
[Code] ....
It works in stopping and starting the movie but the actual movieclip doesn't toggle between the pause and the play graphics (just stays on the 'pause' state - 1st frame).
View 5 Replies
Feb 23, 2010
For the life of me I can't figure out how to trace out the current label in my movie's main timeline. This is in AS3. I have a button on stage that spans the timeline of the movie. It detects keypresses. I want to trace the current frame label that the play head is on.
[Code].....
I get "_level0" for this...and undefined for the rest. What am I doing wrong here?
View 1 Replies
Aug 16, 2011
I've looked through similar question on this site and can't find a solution, so here is my problem: I have a save function that saves some data.This function is in 1 movie clip in another movie clip. After the save I want to gotoAndStop(1) of the main time line not the current nested one. Below is the code:
[Code]...
View 3 Replies
Apr 4, 2006
I have a Flash movie that attaches a .as defined MovieClip in the first frame of the timeline.In my MovieClip class, I attach a background image movie and a couple of buttons and whatnot - basically building a screen.If the user clicks a certain button on the screen (the button is defined entirely in actionscript and isn't on the flash stage at all), then I want to pop up a Window component.In my class file, I define _win:Window; but do not instanciate it initially.I defined the button's onPress event inside a load listener - this is that definition.
loadListener.onLoadComplete = function(targetMovie:MovieClip):Void {
targetMovie.onPress = function() {
_parent._win = PopUpManager.createPopUp(_parent, Window, true, { title:"", closeButton:false});[code]....
View 1 Replies
Sep 7, 2003
How can I tell Flash to wait 5 seconds before loading my movie without using frames in timeline?[code]...
View 5 Replies
Dec 6, 2004
i think i may have a challenge for you. I would like to have a flash movie load to a random keyframe in a timeline when the page loads. Basically, i'd like to set up a timeline with say 10 movies. When the page loads, i'd like the flash to randomly select from some predetermined keyframes (obviously where each movie starts) and when that movie ends, jump to another section of the timeline. This way, the loading of the movies is somewhat seamless and it looks like i've made 10 different flash movies.
Even if it's not possible to all load from the same timeline, i'd like to have it play the first movie, then when it reaches an ending frame, it loads another random movie from a directory on the server, and then keeps going and going until it can't stand it anymore.
View 4 Replies
Apr 14, 2004
Is it possible to target a loaded movie within the main timeline and stop sounds in that particular movie only?
View 4 Replies
Dec 6, 2009
I have my flash document set up in the following way: On the main timeline I have my buttons that I want to play movie clips embedded inside a movie clip on the main timeline.However, when I click each different button, the current movie clip stops playing and then the movie clip corresponding to the button plays.
I want them all to be able to play at once. So for example you push button 1 and the alien plays, but half way through you could click button 2 and the alien clip would keep playing, but also the helicopter clip would begin to play as well.Here is the code I have so far:
building_btn1.addEventListener(MouseEvent.CLICK, alien);
building_btn2.addEventListener(MouseEvent.CLICK, helicopter);
function helicopter(e:MouseEvent):void {[code]......
View 1 Replies
Dec 6, 2010
I have a flash file which contains two movie clips, one is on frame 1 which contains a button which will navigate you to the other movie clip which is on frame 10 with a frame label that i would like to target.
View 2 Replies
Mar 13, 2011
I have researched the subject for some time now and still haven't figure it out.I use midas3 library (Midi-actionscript3) to import midi to flash. I get each note-item on a timeline. I get the divisions value (192) and all of the "GET-TEMPO" elements are equal to 81.I tried a lot of combinations to get the actual time of the midi but still no good (timeline*192/60 for example).The reason I know it is not synchronized to the actual time is that when I visualize the notes as simple rectangles in flash - I check if they appear exactly to what the mp3 file plays (I have converted the midi file to this mp3 using simple conversion program)I have read a lot about how all is calculated but still haven't figure out the number I need to use to get it right (timeline * MysteriusConstant = ReaTIME, what is the value of MysteriusConstant? is it really constant? and if not how do I calculate how it is changed?)
View 1 Replies
Feb 23, 2011
I've got a main timeline .swf file called "blank.swf" which contains nothing but two blank movie clips one called called "pproduct", the other called "ppalette". In the script frame of this main timeline I use the simple "Loader = new Loader();" method to load a URL of an .swf file into the "ppalette" movie clip. The "ppalette" movie clip contains several color chip buttons, each of which use the same Loader method above to load an external .swf into a clip. Here's what I want to do: let those color chip buttons, when the "blank.swf" file loads, be used to load an .swf movie into the "pproduct" clip on the main timeline. I'm wanting to be able to swap depths with various movie clips which will take out the movie which has the palette, but I want whatever that palette has loaded in the original "pproduct" clip to stay there.
[Code]...
View 3 Replies
Sep 23, 2009
Should have farmed this job out (may have to, anyone want it?). I have created four movie clips, that work individually. When I put them into the main timeline, they don't play. Here's what I have tried:
* Create one layer, put one clip in the first frame, plays perfectly
* Add second layer, put second clip in the first frame of new layer, all I see when I play the movie is the background on the stage, no clips play
* Deleted layer, added second keyframe to layer with first clip. Put second clip into second frame, same result, all I see upon playing is the stage What I am trying to accomplish is to have these four movie clips (basically slides of info) play one after the other and then loop back and start over. What am I missing?
View 3 Replies
Jun 24, 2009
Is there Actionscript 2 that can be put in a preloader and play only the first movie clip on the root timeline instead of all of the root's timeline (which happens using getBytesLoaded or movieclip._framesLoaded() )? I want the preloader to just load the first movie clip and let the user
read this screen while the rest of the root timeline continues to download.
View 1 Replies
Feb 26, 2010
I have a main SWF that loads in an external SWF(2) which has a button that when clicked loads in another external SWF(3). (we'll call them SWF 2 and 3) what I was finding was when I clicked the button on the external SWF (2), when SWF (3) loaded in the contents of the main SWF and SWF (2) were still visible . However I managed to remove the contents of SWF(2) by doing unload movie easily as they run on the same timeline...the problem is I don't know how to unload movie on the main SWF when SWF(3) is being fired because it doesn't run on the same timeline as the main SWF. Surely it is somehow accessible since it is visible in the background ...even if they aren't on the same timeline? how would i get the movie to unload in the main SWF?
View 19 Replies
Sep 2, 2010
How to find Timeline Position of my Movie.
View 16 Replies
Mar 29, 2009
Are there any examples or tutorials on AS3 scrubbers? I cant find any that don't deal with flv control... I need swf timeline control and dont have the knowhow to convert an as2 version.
View 14 Replies
Mar 22, 2009
right direction for doing something similar in Flash, I mean the ability to drag a timeline of a movie with a mouse... http:/[ur]....
View 5 Replies