Publish Flash on the Website?

Good day to all guru

Dose anyone have the Autoscript to load(run) the flash on a webpage.

I’m trying to publish my flash on a wabsite but to fine out I never put in the autoscript, and I’m not sure how and what script to put and not sure how it should work. I already have the swf and the html on the domian server but just won’t load and run and how do u get the preloader to run first and follow by your own swf file, help any guru. Thank You.

preloader answer: there are tons of preloaders around, just use the search function. But to as how it works, usually you create a scene1 (loading) and a scene2 (movie). You check the bytesloaded and the bytestotal in the scene1 and when they are equal, you goto scene2. You can also play with the width of a MC like a line and the pourcent loaded like:
[AS]
onClipEvent(onLoad){
MyWidth = _root.YourLineClip._width}

onClipEvent(onEnterFrame){
pourcent = getBytesLoaded()100/getBytesTotal();
_root.YourLineClip._width = pourcent
MyWidth;
if(getBytesLoaded == getBytesTotal()){
//goto scene2 - sorry i’m lazy}
[/AS]

Alymer Fudd voive
Daniel, poor Daniel.

Unfortunately you’ll have no luck publishing your flash to a wabsite

lol. I couldn’t resist.