How to Publish flash!

Posted on 2003-11-09
Last Modified: 2010-04-03
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 ..
Question by:happyprogramming
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Expert Comment

ID: 9711926
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.


Expert Comment

ID: 9715754
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 :-)

Expert Comment

ID: 9715759
Oh, forgot... you need to include the css in the DHTML code (obviously =/)

Author Comment

ID: 9718574
For eg suppose myflash.swf is my flash movie.

Accepted Solution

zenlion420 earned 50 total points
ID: 9718720
<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*


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to disable  HTML5 video in chrome 2 1,580
Google Chrome pepflashplayer.dll 8 208
You Tube Videos not playing 9 136
Can not play videos on in Chrome 13 144
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question