Insert .swf with HTML?
Moderators: Víctor Paredes, Belgarath, slowtiger
Insert .swf with HTML?
Does anybody know if it is possible to put the .swf file exported from Moho into a web page with simple HTML code?
it's really easy. Publish a swf export from Flash, and then adapt it for your movie. If you haven't got Flash (Macromedia do a 30-day trial anyway), I can email you the code, or put it up here. It's very obvious what everything is, and what variables you need to change.
Jah
Jah
You can't have everything. Where would you put it?
Try something like this:
Using both the 'object' and 'embed' tags should keep things cool for older browsers. Most of the parameters should be self explanatory, but here are a couple that you may need to tweak:
wmode... sets the display window type for the flash movie. options are 'opaque', transparent' or 'window'.
quality... sets the playback quality. options are 'low', 'medium', 'high', 'autolow', 'autohigh' and 'best'.
Code: Select all
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100" height="100" title="A Flash Movie Made With Moho">
<param name="movie" value="../relative_path/your_movie.swf" />
<param name="quality" value="autolow" />
<param name="wmode" value="transparent" />
<embed src="../relative_path/your_movie.swf" width="100" height="100" quality="autolow" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
wmode... sets the display window type for the flash movie. options are 'opaque', transparent' or 'window'.
quality... sets the playback quality. options are 'low', 'medium', 'high', 'autolow', 'autohigh' and 'best'.
Eall cræft unnytt bið þonne Engel on þinum flintloce micgeð
The <object> 'codebase' and <embed> 'pluginspace' attributes identify where the browser can find the activex control and plugin respectively. They are not downloaded unless they are required - either because they are not already installed or the movie needs a newer player than the one currently installed.
Yup, there's a 'loop' attribute which can be either 'true' or 'false' for both the <object> and <embed> tags. The default value is 'true' so you don't generally need to include it.
John O
Yup, there's a 'loop' attribute which can be either 'true' or 'false' for both the <object> and <embed> tags. The default value is 'true' so you don't generally need to include it.
John O
Eall cræft unnytt bið þonne Engel on þinum flintloce micgeð