Link to home
Start Free TrialLog in
Avatar of happyprogramming
happyprogramming

asked on

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 ..in some corner or top of my page.
What should i need to do to place it on exact place, size ..
regards
Avatar of zenlion420
zenlion420

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.

j
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>
</div>

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 =/)
Avatar of happyprogramming

ASKER

For eg suppose myflash.swf is my flash movie.
ASKER CERTIFIED SOLUTION
Avatar of zenlion420
zenlion420

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial