01-24-2003, 05:51 PM
I am not too familiar with flash and with some help i made an intro for my site. How do i make it run? I know html and everything but never have used flash in my life. The flash file is, "Intro.fla" What should my code be?
01-24-2003, 06:04 PM
You need to publish the movie (file => publish (settings)) this will give you a *.swf which can be viewed with Flash player. Your publishing options will enable an html page with the necessary html to be created too.
01-24-2003, 06:24 PM
Alright i just tried that but still, i want the background black and it in the middle and when it stops to go to another page. Whenevr it publishes it gives me a window with the flash on the top left of the screen.
01-24-2003, 06:28 PM
I also cant even make it fit, a piece of it is cut off
01-24-2003, 06:29 PM
To center the movie, you can put it inside a table and align both vertical & horizontally to the middle
01-24-2003, 06:32 PM
Can someone give me their screen name for you help me, i need this done asap.
what are you not understanding ??
01-24-2003, 06:58 PM
The page will be the same as the movie's background by default. If you want to change it you'll need manualy edit the html
01-24-2003, 07:34 PM
but the whole video doesnt show, only half when i publish it! plese im me at jasonap1!
01-24-2003, 08:33 PM
boy your signature says it all...
anyway, if the movie doesn't fit on the page then guess what? you need to resize it so that it fits (usually) a 800X600 resolution.
anyway, if you know html like you said, then changing the back ground color should not be a problem, nor should centering the movie.
01-24-2003, 08:42 PM
K i finally got it, here:
Well there is no home page so dont complain but how do i make it link to a home.html once the flash is over? The quality is at good with 12 fps so dont tell me to lower the qaulity. It runs slow first time around but second time it runs well. Now how do i make it go to the site right after the flash video? Thanks
Ok in the last frame of you movie put an action statement there.
Use the getURL() which should be under browser/network in the actions panel.
01-24-2003, 09:15 PM
huh? can someone explain better?
01-24-2003, 09:24 PM
Create a keyframe at the end of the movie, before any stop() command you may have there... insert the actionscript geturl("http://address.com"); in this keyframe.
01-24-2003, 09:36 PM
I did that and it loads the page even before the movie starts. This will be so much easier over aim, please im me at jasonap1
01-24-2003, 09:41 PM
Alright i finally got it thanks. Next step, people keep complaining it runs slow the first time but after it runs fine, how do i make a loading screen or something in the beginging to use to make the movie run faster?
You have alot of questions today dont you :p
Go to flashkit.com and look in the tutorial sections or search on the board for posts of this nature. There are vast amounts there.
01-24-2003, 09:52 PM
Don't have aim I'm afraid, neither do I have Flash installed at the mo, jsut going off memory ;)
Now, you'll need to preload the animation.
Insert two new key frames at the beginning of the movie before the animated section (ie move it all along a few frames if need be). Now insert the following actionscript into the first keyframe:
ifframeloaded(68); //--- 68 is an example only here, exchange it for the LAST frame in your movie
GoToAndPlay(3); //--- this needs to be the first frame of the animated section of the movie
And this in the second keyframe:GoToAndPlay(1); //this loops the movie back IF the final frame as specified in keyframe one has NOT loadedYou may wish to insert a "loading" graphic in these first two frames too so the user knows what's happening.
01-24-2003, 10:08 PM
K sounds right, awesome, thanks
01-24-2003, 10:31 PM
Damn i thought that would work mouse but it didnt, look:
Maybe the coding is wrong or something
01-24-2003, 10:40 PM
What version of Flash are you using?
The syntax changes with each version :rolleyes: You might want to try:If Frame Is Loaded()Look here for more details: http://www.flashkit.com/tutorials/Interactivity/Preloade-Eddie_Ca-33/index.php
01-24-2003, 11:38 PM
Naw that sounds like flash 4, anoyne know it for MX? I think its the gotoandplay causing problems.
01-24-2003, 11:56 PM
GoToAndPlay is valid actionscript.Try getting rid of the semicolons ( ; )