PDA

View Full Version : Flash



Crestbane
05-25-01, 02:38 AM
How do i incorporate flash 5 into my html code?

gmcd33
05-25-01, 10:26 PM
<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" width="550" height="400">
</embed>
</object>

This should be a start, its been a long long time since I messed with Flash.

Crestbane
05-26-01, 10:57 AM
ah thank you !

Juggernaut
05-28-01, 04:11 PM
If you want to customize more and make it more for YOUR own movie (ie the width and height), open up u'r file in Flash..then go to File, Publish...it will create the .swf and the .html file for you..then just open an html editor and copy the code from the file that Flash produced and paste it into u'r actual html file (the one u want the movie in).

catngo
05-28-01, 05:11 PM
okay, the other way around. How do you insert html code into flash?

Chris
05-29-01, 06:17 PM
You can build html around the flash by inserting the flash in a page, but you cant insert html into flash

neutral
06-25-01, 03:31 PM
not necessarily true...

in flash, you can create a dynamic text box that will display HTML 1.0, which means only the most basic tags, but still very functional HTML.

this information could come from an external file outside of the movie, such as a .txt file, or given to a variable coded within the movie itself. if anyone would like an example, just let me know.

an example of dynamic text boxes can be found here. the preloader i created counts off certain variable values as it loads the content of the movie, the content being a song, these variables relay speed, progress, amount, etc of the movie downloaded, or left to download. mind you this is not HTML being presented in a text box, just another function of them...

simulate fast download:
http://www.thinktankindustries.com/preloader/

simulate slow download:
http://65.14.213.126/preloader/