News:

If you need instructions on how to get through the hotels, check out the enclosed instruction book.

Main Menu

Creating epic animations, without tears!

Farted by Blue, January 16, 2008, 11:18:49 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Blue

(Please note, this is currently a work in progress. I will try to add images and more tips asap. I don't even have Flash on the PC I'm using at the moment, so this is from memory, so bear with me till I get to edit this propperly)

I have probably lost over 200 hours of work in Flash or more due to crashes, corruptions, faulty symbols, etc. YOU WILL TOO, unless you read this simple guide. :)

Step 1: Beginning your project with a custom template.

I'll assume you have finished your script for this animation, and are itching to get started in the production of the animation itself.

Pro Tip: When starting a new project that you know will be BIG, go ahead and create a root directory on your hard-drive to save all the files to, name it after your production. You might want to put sub-directories in it for "sound effects", "dialog sound", "music", "artwork", and other "misc" stuff that you will be using later on.

Open up Flash, and select to create a new Flash document.



The first step is to choose your frame-rate. If you intend on doing a traditional frame-by-frame animation you may want to select a low frame-rate between 12 and 20. If you want to produce a more modern vector-based animation you should choose a frame-rate between 20 and 30 (or higher if you intend on something minimalistic with few effects or blends).



Pro Tip: You may find yourself wanting to try out the "Flash Project" option. While using this is very helpful in keeping all your files organized with smaller projects, for our purposes in an epic it can actually slow you down. The reason for this is that you will have to keep adding and removing files from the project list when you create new scenes or new versions of scenes. Personally I find it much simpler to just keep a window open containing the project folder directory. Think of it as an auto-updating Flash Project.

If you are creating a vector-based animation (typical Flash), do not be afraid to use a higher frame-rate. Using a high frame-rate can actually make animating easier, as tweens will be easier to smoothen out, timing will be more precise, and choosing specific points as key-frames will be far less taxing.

Pro Tip: To make things a little easier on yourself when working on a large flash (or one with a high frame rate), you might want to set the frames in the time-line "small" and "short" to keep things un-cluttered, and help you navigate the time-line better.


Now, to select your background color. Remember that you can always change this later. Typically Black is the most useful for fade-outs and transitions, so I like to stick with that, but this is your animation so choose the most likely color for you to use the most often in the background.



Now choose your height and width. NOTE: Many people skip over this step and end up with the very generic looking default size. Do not go any smaller than the default size, unless you feel that you absolutely must. Average screen resolutions get higher every year, and you may find yourself revisiting a creation you made in a year or so having to squint to see the details. Also try not go any larger than 800 pixels wide or 600 pixels high so that your friends with ancient PCs will still be able to see the entire frame.  Remember that wide-screen is quickly becoming the way of all film, television and computer viewing, so I would recommend a wide aspect ratio.



My current personal preference is a width of 800 and a height of 335. This makes the Flash in simulated Animorphic Wide-screen (or SCOPE format, as it's called in the film industry).

Now to make a "Frame Guide". This is a hollow (lines only) rectangle that is a hair larger than your visual workspace (the box in the middle of your work space). Create one, and make sure to align it so that it is vertically and horizontally in the center of your stage

Select the rectangle tool.

set the fill to "no fill", the line color to something highly visible, and the thickness to hairline.

Draw any sized rectangle, then change the width and height of it to 2 pixels larger than your stage's width and height.

Select your rectangle, and align it to the stage. After this it should be perfectly surrounding your stage box in the middle of the screen.


Once you have this rectangle in place, right click it, and "Convert to Symbol...". Make sure to set it as a "Movie Clip".



Then double click it (going into edit mode for the symbol).

Now make sure to keep the Frame Guide in a layer of it's own, locked so that you don't move it by accident. You might want to go ahead and add a couple empty layers beneath it for use later. Also, add some spacer frames to give you some room for animating later on.



Pro tip: Don't worry about naming your layers, or symbols as it is usually a waste of time unless it is to remind you of some hidden symbol or audio track of abnormal importance.

NOTE: Later when animating, you want to keep the Frame Guide layer above all other layers, so that at a glance you know what will be visible, and what will be out of frame. It will also help in other ways (to be explained later).

Select the first frame on your Frame Guide layer, and insert the following Actionscript (you can right click on the frame, and go down to "Actions" to quickly get to the Actionscript tab):
_root.stop()


(NOTE: Your screen will look differently, I'm just trying to keep things close together to avoid massive screen-shots)

Now change the last frame in your Frame Guide layer to a keyframe (F6), select it, and insert the following Actionscript into that keyframe:
_root.nextframe()


(Remember that it is important to keep this keyframe at the end of your scene animation)

You may want to test publish this quickly to make sure the Frame Guide is not visible in the player (it shouldn't be).

Congradulations! You have now created your template for the rest of your epic.

Save your template as something like YourMovieName_template.fla

Go ahead and close the template, and set that FLA file to "write protected" so that you don't accidentally save over it later, as you will be using it quite a lot.

Step 2: Creating your first scene.

NOTE: While Flash appears to be well structured for creating scenes and keeping them organized, IT IS NOT. Do not use the built in Scenes, or you will regret it, as they can cause alot of synchronization issues.

Typically a scene in the film industry is no longer than 5-15 seconds long, usually much less. In order to make a good and content-rich animation you NEVER want to re-use parts of a scene. Each scene should have it's own background, it's own content, it's own sound, etc. So we will be creating each individual scene in it's own FLA making sure that we keep ourselves to this standard. Splitting your animation in this manner will also have other benefits:

1) If flash crashes during a save, you will (in a worst case scenario) loose a single scene of work, and not an entire work.

2) If you have a corruption or a "bad symbol" (a symbol that for no apparent reason causes the publishing to fail as long as it exists in your flash), you should be able to pinpoint the problem much easier without having to search your entire animation.

3) For publishing and previewing purposes you don't have to wait as Flash chugs away to publish/preview an entire animation, and instead you only have to wait a couple seconds as your current scene is published. Pro Tip: You always want to do publishing previews to "HTML" as the internal Flash player can crash, and doesn't always accurately represent how your flash will be displayed to your audience.

4) Lets say you decided to go one way with your scene just to try something out, making drastic changes, but then you end up hating it. Never fear, you don't have to undo like crazy (which may not save you), just go to the previous version of the file before you made that slew of major changes. You might want to save over the bad version if you hated it.

Alright, now open your template (YourMovieName_template.fla). You will be starting with your template file for each new scene.

Before you start editing, go ahead and "Save As" to a new file name, creating a new "scene file" such as: YourMovieName_SceneNameAnd/OrNumber_MakeNumber.fla  ."MakeNumber" here represents the number of times you have made major changes to this file (start at 001). Every time you have made a major change (something that takes time to recreate) you need to "Save As" and add 1 to that number, so that you'll always know which one is the latest version, and if the file becomes corrupt at any point, you can always go back to the previous version with minimal loss. Saving the numbers in your files with preceding zeros also helps your PC sort them correctly when viewing an entire directory.

An example of the files I would save for one single scene over time might be:
TheFaded_TitleSequence001_001.fla  
TheFaded_TitleSequence001_002.fla  
TheFaded_TitleSequence001_003.fla  
TheFaded_TitleSequence001_004.fla  
TheFaded_TitleSequence001_005.fla  
TheFaded_TitleSequence001_006.fla  
TheFaded_TitleSequence001_007.fla  
TheFaded_TitleSequence001_008.fla  
TheFaded_TitleSequence001_009.fla  
TheFaded_TitleSequence001_010.fla  
TheFaded_TitleSequence001_011.fla  
TheFaded_TitleSequence001_012.fla


Ok, back to your animation. You've saved the file "YourMovieName_SceneNameAnd/OrNumber_001.fla". Now to begin actually making the scene. Double click your Frame Guide to go into edit mode. Now, treat this movieclip before you as if it were your entire scene.

Remember to keep your Frame Guide as the topmost layer, keeping it's final keyframe (the one containing the actionscript) as the last frame of this scene.

When you preview publish this animation, the movieclip containing the Frame Guide will play out in full, even though it only consumes a single frame on the parent (root) time-line.


Repeat this process for each scene in your movie.

Creating a movie in this way, means that if you get bored or tired of one scene you can jump on to another, and back again. You do not have to worry about creating your animation linearly. You always know where you left off with each scene, because it will be the file with the largest number at the end. This will help you make sure each scene is as good as you can make it, while keeping everything nicely organized and backed up.

Step 3: Combining your scenes into one contiguous film.

Ok, so now you have about a hundred fla files. Make sure that you are COMPLETELY done with every little scene. You DO NOT want to have to edit any scenes past this point or it will cause confusion and will be a major hassle.

You want to start by opening your template one more time, but this time you want to delete everything in it. Open the Library (CTRL-L) and delete the Guide Frame (and any other) symbol/s from your movie so that it retains the frame-rate and size aspects of your scenes, but without anything in it.

Save the file as "YourMovieName_EDIT_MakeNumber.fla". This will likely be the first of many, as you go through the final editing process.

Now would be a really nice and juicy time to create or import your preloader and menu.

Remember how I said to NOT use the "Scenes" aspect within flash? Well, here is one place where it can be useful. In Scene 1 (within this Flash) you want there to be your preloader, and your menu. In Scene 2 (within the flash), you will be adding the actual scenes that you have been creating. But instead of copying and pasting thousands of frames, do the following:

While you still have your "EDIT" FLA open, open the final version of the scene you want to show up FIRST in your animation. For me, this would be "TheFaded_TitleSequence001_012.fla".

In the scene FLA, open your symbol library (CTRL-L).

Create a new library folder, and label it as the name of this scene.

Then select all symbols in the library, and move them (drag them) into the folder you just created. This will make sure that when you put this scene into your EDIT FLA, you will not get prompts asking you if you want to replace symbols with other symbols of the same name. This is basically a cheat to get around naming every single symbol in every scene.

Now, select the first frame containing the Frame Guide symbol (remember this symbol should now contain the entire scene), and copy that frame (right-click copy frame/s). This may take a moment, so try to be patient. When Flash has finished copying, you will have the entire scene in your clipboard in one convenient frame.

Pro Tip: If you have nested movieclips (movieclips inside other movieclips of a depth more than 5) in your scene like I often do. You may notice that flash will "hang" for several seconds or even minutes when trying to copy, move, or alter a movieclip (or frame containing one) like this. A work-around for this, is to create a temporary symbol at the destination point, and then do a symbol "swap" replacing it with the one that you were trying to move/copy/alter. This usually happens instantly, where copying & pasting or moving regularly would have taken minutes of stalling. This may also help you avoid complete crashes on slower machines.

Now go back to your EDIT FLA, into Scene 2 (within flash) where we have a blank time-line. Paste the frame you have in your clipboard on the first frame of that timeline (right-click paste frame/s). Again, this may take a moment on some machines. You should now have the entire first scene of your animation in that single frame.

Now would be an excellent time to SAVE. Save your EDIT file, adding 1 to the number at the end. You can now close your first scene FLA.

Repeat this process for every final edit scene FLA, till you have one frame for every scene all in this single time-line. They can even be on the same layer if you like. This way, you can even re-arrange the frames that represent the scenes if you feel like making some editing changes.

Final Thoughts:
Now, when your movie starts to play, it will step through each scene frame, one at a time. Each scene will play out in full, till it reaches the keyframe that tells the _root movieclip to step to the next frame. While watching the movie, if somone right-clicks and presses "Play", the movie will simply jump to the next scene in the sequence. This method makes it very easy to implement a chapter managing bar at the bottom if you desire, or to create a chapter/scene viewer much like the ones you find on DVDs. You even have each scene as it's own movieclip, so the user can preview the scene while his mouse hover's over it before clicking and going directly to it (just make sure that particular menu is in a loop in the timeline so the _root.play() functions don't interfere).

Tips to avoiding publishing grief:
Flash likes to crash during the publishing phase, so remember the following:
  • Save before every publish! You don't have to save it as a completely new file, but at least hit CTRL-S, or whatever key combination you have to save. If you get in the habit of saving before every publish you will save yourself an amazing amount of grief. REMEMBER, CTRL-S BEFORE F12.
  • Have patience. Unless you have an error box on the screen, Flash may appear to have crashed but is really just chugging away on some nested movieclips. So if you forgot to save don't freak out and kill the process. Instead get up, go to the bathroom, get something to eat and see if it's merely a false alarm. I've had a 10 second animation (with deeply nested movieclips) take as long as 20 minutes to publish on a 2Ghz machine, so this is not uncommon.
  • Have a window of Internet Explorer 6 open at all times for previewing. Using IE to publish works much faster if it doesn't have to open up a new window all the time. Sometimes, if there is no IE window Flash can sometimes get stuck trying to open one. It also helps if you're using IE 6 and NOT the horrible piece of crap that is IE7. If you have IE7 I recommend you uninstall it, going back to IE6 if you can. If you miss the cool features IE7 has, then get Firefox, because that's likely where M$ copied them from. Try not to fall in the habit of closing the IE window when you're done previewing, and instead simply minimize it. If you are using IE6 Flash will continue publishing to the same window each time (and won't create new tabs every time).
[FLASH=http://files.myfrogbag.com/mupff0/snowflake.swf]width=670 height=200 quality=medium wmode=transparent[/FLASH]

zl

This is  a really clear and helpful tutorial!

But I'm worried - if I have a song I want to play continuously through the movie, I'm not sure this method would work?

I would want it on stream, to set up more precise synchronization.  If I split up the music, I'm guessing there would be little stops between scenes.  

If I split it up temporarily, then put a full version in the final combined .fla, I think the music would gradually get off-synch due to discrepancies in my cuts of the song versus how fast the scenes move.

Is there a solution I'm missing?

Topcatyo

This is a great tutorial.  I do a lot of the things listed in this (creating a frame guide and all that) all up to step 2 because I'm lazy with creating files and whatnot.
But, I will try most of the stuff taught in the tutorial.
Question:  If I want to make a pause/play button work in the move if all the scenes are in movieclips, how do I do that?

LeekClock

Oh man I remember you posting the testframe tip ages ago on the old site. Deja vu. It was you, wasn't it?

Great tutorial. Just in time for the ClockCrew TeamUp event.

Blue

Quote from: Mr. Tadakichi;1179287This is  a really clear and helpful tutorial!

But I'm worried - if I have a song I want to play continuously through the movie, I'm not sure this method would work?

I would want it on stream, to set up more precise synchronization.  If I split up the music, I'm guessing there would be little stops between scenes.  

If I split it up temporarily, then put a full version in the final combined .fla, I think the music would gradually get off-synch due to discrepancies in my cuts of the song versus how fast the scenes move.

Is there a solution I'm missing?

Thank you, I will try to add more explanation on sounds soon. This tutorial is far from finished. There are a few tricks up my sleeves, but there are also some paradigms that should be avoided and I'll try to get that stuff covered as well.

Quote from: LeekClock;1179496Oh man I remember you posting the testframe tip ages ago on the old site. Deja vu. It was you, wasn't it?

Great tutorial. Just in time for the ClockCrew TeamUp event.

I'm honestly not sure. This is something that I discovered on my own years ago in the days of flash 3, and I've been using it ever since. I don't remember ever explaining it to anybody because it always seemed like such an obvious thing to do. Apparently though, it isn't that obvious to some.
[FLASH=http://files.myfrogbag.com/mupff0/snowflake.swf]width=670 height=200 quality=medium wmode=transparent[/FLASH]

buttplug

Blue, where is that flash you made that had thet guy crying? I want to see it!

Blue

Quote from: JEFF K.;1179567Blue, where is that flash you made that had thet guy crying? I want to see it!

Not sure which you're talking about. If it's the 9-11 tribute... it's here (the only remaining copy I hope): http://911digitalarchive.org/repository_object.php?object_id=2406

If you're shocked that that piece of shit made it to television, you aren't the only one. It's even more shocking that it got an emotional response from the news lady. But I had it completed within hours of the event, so it was one of the first 9-11 tributes on the web, and at that point Bin Laden was only just being talked about, but since I had already read a great deal on him (including his 60 page declaration of war against us) there was no shadow of a doubt in my mind that it was him. I got so much shit for pointing a finger at Bin Laden, then weeks later I got shit for spelling his name wrong (when in actuality it was the media that started changing the way they spelled his name. In his own translated documents they spelled it the way I did). Anyway, it eventually got deleted from NG due to Josh Bedn. Here is the aftermath (notice the score at time of death).
[FLASH=http://files.myfrogbag.com/mupff0/snowflake.swf]width=670 height=200 quality=medium wmode=transparent[/FLASH]

HeinekenClock

Holy shit Blue, thanks!
added new bookmark "BlueClock<3"

This is 100% exactly what I needed, a good way to organise stuff. Thanks!

Topcatyo

So I'm guessing you've either forgotten about this or are taking your time with the more tips you promised and whatnot :(

Blue

Quote from: topkatyo;1209519So I'm guessing you've either forgotten about this or are taking your time with the more tips you promised and whatnot :(

actually, I forgot. :)

Had a lot on my plate lately. I will get back to this soon tho.
[FLASH=http://files.myfrogbag.com/mupff0/snowflake.swf]width=670 height=200 quality=medium wmode=transparent[/FLASH]

Topcatyo


TapedeckClock

this should be saved.
it was a nice tutorial :)
WWWWWWWWWW

TorchClock

This is a great tutorial. Although there is a flaw. "_root" is not in AS3 so the whole thing wouldn't work.

buttplug

Quote from: WOLF;1247166This is a great tutorial. Although there is a flaw. "_root" is not in AS3 so the whole thing wouldn't work.

Then use AS2?

TorchClock

Quote from: ButtplugClock;1247171Then use AS2?

I mean the point I was making is that he was using AS3 when he showed those steps.

AlbinoClock

I'm surprised you're not using the action script camera. Unless the movie I'm making is really simplistic, I always use that thing.

http://internetcult.org/fla/ASCAM.fla

CrustClock

I'm very happy to be able to smugly say that I've been doing this for the last few years, and it's a very useful way of fixing most audio sync problems and is a good way to organise everything in one timeline, too ('scenes' really ramp up filesize).

Blue

Quote from: ouıqןɐ;1266505I'm surprised you're not using the action script camera. Unless the movie I'm making is really simplistic, I always use that thing.

http://internetcult.org/fla/ASCAM.fla

I would strongly advise people to use it, but not if they are very new to animation and the concept of the workspace. They didn't have anything like this when I first started using flash, 10 years ago.
[FLASH=http://files.myfrogbag.com/mupff0/snowflake.swf]width=670 height=200 quality=medium wmode=transparent[/FLASH]

AlbinoClock

Quote from: Deep Blue;1266534I would strongly advise people to use it, but not if they are very new to animation and the concept of the workspace. They didn't have anything like this when I first started using flash, 10 years ago.

Yeah I could see it being a bit confusing if you're just starting out.

Oh, also another way to keep audio from fucking up is to fill in the spaces on all your audio layers with blank sound (generate silence in audacity). I'm sure you know that but I thought I'd toss it in.

Sinister Clock

If you want any guides which you don't want seen when you publish, you can set them as guides or masks. I know guide layers are meant for guiding tweens around but they don't mess anything up as long as you don't have any layers set as "guided" right under them.