How to Publish flash!

I hv created some flash movies like banner ad.
I want to published or insert on my my web page like image some corner or top of my page.
What should i need to do to place it on exact place, size ..
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

didn't you specify the size when you were developing it?  if so, use:

File>export movie

You should also use the "publish settings/preview" to optimize your movie first.

after you've exported it, use your html editor to place it where you'd like on your page.

If you use 'File->Publish" you can tell it to generate an HTML file for the banner ad.  You can open that file and take the <object> code from it.  Then you could use DHTML and a CSS to place it at precise pixel coordinates if you want.  Just give it a layer.

Or export the flash banner then use Dreamweaver MX to place the banner, you can even do the CSS in dreamweaver.

// inside CSS
.banner{ width:100;height:50;top:50;left:50 }

// inside HTML
<div class="banner">
   <object>flash banner here</object>

That should work, just adjust the CSS code for proper start coord, and the same width and height as your banner.

Or you could do the whole site in Flash :-)
Oh, forgot... you need to include the css in the DHTML code (obviously =/)
happyprogrammingAuthor Commented:
For eg suppose myflash.swf is my flash movie.
<title>HappyProgramming Align Top-Left Corner</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="left">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=",0,29,0" width="250" height="32">
    <param name="movie" value="file:///C|/YOURROOTFOLDERHERE/myflash.swf">
    <param name="quality" value="high">
    <embed src="file:///C|/YOURROOTAGAIN/myflash.swf" quality="high" pluginspage="" type="application/x-shockwave-flash" width="250" height="32"></embed></object>

*Change where i have YOURROOTFOLDER to match the root folder for your page contents/images*


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.