View Full Version : Flash

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

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

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

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

05-28-01, 03: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).

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

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

06-25-01, 02: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:

simulate slow download: