Resources
Demos
|
Flash FAQ
Here are some Q&A regarding Flash. More to come later.
How to do a loading scene
Poser animation to Flash
GoToFrame action in the movie from an HTML page
How to open a new window with a button click Including "Fullscreen"
How to close a window from Flash
How to create letters that glow
How to detect Flash
How to do frame animation in Adobe Dimensions
Select the objects you want to animate. Select=Operation select=Generate Sequence do the animation - rotate for example
select=End Sequence save your files in .ai format.
How to open a new window with a button click
This is just an example:
Double click on your button
Select=Action
Select=GetURL
At the URL type in= javascript:openWindow()
Now in your Html file put in the following code::( do not forget the script tags)
function openWindow()
{
window.open('http://www.youflashmovie.html', 'flashmovie','width=325,height=426', 'status=1,resizable=no','scrollbars=yes')
}
Make sure you adjust the hight and the width
for fullscreen
function openWindow()
{window.open('http://www.youflashmovie.html','flashmovie','toolbar=no, location=no,directories=no,menubar=no,status=1,fullscreen=yes','scrollbars=yes');
}
.
Put your movie inside the Html file
If you wan to open more windows just put in more scripts, like:
openWindow1(),openWindow2(),openWindow3(),etc... and do not forget to put in the same at your action coding as well.
How to close a window from Flash
Select=Action
Select=GetURL
write in:
javascript:parent.close()
That will close the current window. Depending on the browser, you might see
an alert if you really want to close the window or not.
How to do a loading scene
Insert a new scene into your movie. That is the one that should load first.
In the new scene make two new keyframe at the top layer.
Double click on the first one.
Select=Action
Select=If Frame is Loaded
Select=Go to and Play
On the right side select the last scene and the last frame of your movie.
Now for the second keyframe
Double click on it.
Select=Action
Select=Go to and Play
On the right side select =current scene Frame1
Now insert a new layer into the first scene of your movie and put in an animation you want to play while the movie is loading.
For an example check out this site:
http://www.geocities.com/Eureka/2604/head.htm or download sample .fla file:
http://www.kentdesign1.com/samples/loadingsample.zip
Transplanting Poser animation into Flash
Create your animation in Poser. Save them as BMP. or TIFF. images. The best is to use half size setting so your files will not get to large.
In your Flash movie create a new symbol and import the Poser images. You have to trace and optimize them (Select=Curves, Select=Optimize). I use the highest setting. If you use Onion Skinning then it shouldn't take longer than a minute or so for the whole thing. sample file: Poser animations
Here is an easy way to create glowing letters:
Create your letter, than create a symbol and place a copy of your letter into the first frame of your symbol. Select your letter and break it apart. Color your letter red or blue. Add 20 more frames in the symbol. Insert a key frame at the last frame and change the coloring of your letter. Select the first frame and under tweening select=shape.
Place the symbol you just created behind your letter and scale it to make it a bit bigger.
You can check it out here:
http://www.kentdesign1.com/flash/glowing_edge.html
Flash detection script Copy the script and change the URL-s (Your_Flash.html, No_Flash.html ) for your pages. Demo
|