Embedding Flash In HTML
Greetings,
I have recently happened upon an alternate method of embedding Flash content in HTML that is far less cumbersone than the traditional method of using the <object> and <embed> tags. The nice thing about this method is that it also does your detection and allows for the display of alternate content. I'm in the midst of testing on different platforms/browsers/OSs now, but I just wanted to throw this out there to see if anyone has heard of it, used it and/or formed an opinion of it.
The markup is as follows:
<object type="application/x-shockwave-flash" data="aMovie.swf" width="400" height="300"> <param name="movie" value="aMovie.swf" /> <img src="noflash.gif" width="200" height="100" alt="" />
</object>
Where movie.swf is the flash content and noflash.gif is the alternate content that will be displayed in the absence of the correct Flash player (or one at all).
The developer refers to this as "The Satay Method". I won't get into it here, but there is a pretty good explanation of this method that can be found at http://www.alistapart.com/stories/flashsatay/index.html
Anyway, I will be conduction further tests, but did want to check and see if anyone has run into this at all. If you have and would like to share thoughts, I'm all ears.
Thanks,
-d
-dave
FlashKit > Flash Help > Flash General Help
Posted on: 03-27-2003, 10:51 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Embedding Flash In HTML
There is probably an easy answer...
I know extremely basic html...if I want to use flash for a web site, do I publish the document as .html? Plus, don't I need to embedd the flash into the html?? I just need to know what steps to follow.
Very new to this part...thanks for any help.
Embedding HTML (and PDF) Into Flash
This is kind of backwards, but I need to embed some HTML documents into my Flash interface. A company already has an interactive HTML questionnaire, and they want it (along with a lot of other different types of files - such as .swf and .pdf) to be wrapped in a nicer interface.
I currently use Javascript to launch a browser window with the document with no status or address bar (you can see an example of this and the interface at http://manufacturing.stanford.edu)
Is there any way to "embed" an html file into Flash?
I'd also like to embed pdf documents (note: I've already looked at Flashants but would rather not have to have the user install another plugin).
Maria
Embedding Flash MX In HTML
I found this code on an old tutorial:
<OBJECT CLASSID="clsid27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="100"
HEIGHT="100" CODEBASE="http://active.macromedia.com/flash5/cabs/
swflash.cab#version=5,0,0,0">
<PARAM NAME="MOVIE" VALUE="moviename.swf">
<PARAM NAME="PLAY" VALUE="true">
<PARAM NAME="LOOP" VALUE="true">
<PARAM NAME="QUALITY" VALUE="high">
<EMBED SRC="moviename.swf" WIDTH="100" HEIGHT="100" PLAY="true"
LOOP="true" QUALITY="high"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
So, how do I have to change this code to support Flash MX? Obviously this is just for adding Flash buttons and banners and such into an existing table. I'm using FrontPage 2002, if that's any help.
Embedding Flash Into Html?
so i never learned html....though it seemed like a good idea but now i am regreting it...i built this menu for someone with a site they built in imageready and i found the code to add to the html to embed the flash but i cant for the life of me get it in the right place...i have tried it all over the htmal source and cant get it right...any help i would appreciate..
Embedding Flash Into HTML
Hi guys (and gals who don't like being one of the guys)
I've always used the following code to embed flash into HTML:
<embed src="flash.swf" width="640" height="480" border=0 type="application/x-shockwave-flash" quality="high"></embed>
But with the advent of additional security built into the newest Internet Explorer, it always gets blocked. I've not seen any other sites with the problem, so should there be another way I embed flash into html?
Thanks for your help!
Embedding Html In Flash
Hey guys,
Just wondering if anyone knew how to create a flash "frame" around a html file without using html frames because they're not the best.
I'm talking like an interactive flash site with buttons that change the html content of a central bit of the site.
Any ideas?
[F8] Embedding Html In Flash
I have a simple website that I created and want to put up a video that will play directly from YouTube. What I want to do is embed the code they give me onto an SWF and have it play the video. I seem to be able to do this on a Dreamweaver page and on blogs but no matter how hard I try, the code comes up as text when I preview in HTML(Default). I have tried having it as dynamic text, input text, you name it and I can't seem to get it to play the video instead of the text displaying text. Can this even be done? If so, how how how?
I have a video embedded now that runs off my server but it takes forever and a day to load. Are there any other solutions to get a high quality 2min. video to play without at least a 2min. wait?
Flash Embedding In Html
hi
i m confused why i cant see my flash movie on browser
this is my html code
<HTML><HEAD><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
<!--
body {
margin-left: 0%;
margin-top: 0%;
margin-right: 0%;
margin-bottom: 0%;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</HEAD>
<BODY>
<!--url's used in the movie-->
<!--http://www.blackpulp.com/forums/-->
<!--text used in the movie-->
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','100%' ,'height','100%','id','rezrrctn','align','m iddle','src','../swf/rezrrctn','quality','high','scale','noscale','bgco lor','#999999','name','rezrrctn','allowscriptacces s','sameDomain','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','../swf/rezrrctn' ); //end AC code
</script><noscript><OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100%" height="100%" id="rezrrctn" align="middle">
<PARAM name="allowScriptAccess" value="sameDomain">
<PARAM name="movie" value="full prototype.swf">
<PARAM name="quality" value="high">
<PARAM name="scale" value="noscale">
<PARAM name="bgcolor" value="#999999">
<EMBED src="swf/full prototype.swf" quality="high" scale="noscale" bgcolor="#999999" width="100%" height="100%" name="full prototype" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</OBJECT></noscript>
</BODY></HTML>
plz suggest if there any problem with text
with this text i m seeing only blank screen nothing else
thnx in advance
Embedding Flash 5 In HTML
I've seen this computer that does display Flash in the IE browser but my material is not showing on it. Am I doing something wrong with the way I'm embeding? Is it outdated?
Here is what I've been doing:
HTML Code:
<div style="position:absolute;top:130;left:460;z-index:12">
<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0
height=400 width=200 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="movie" VALUE="Slinky3.swf"><PARAM NAME="quality" VALUE="high">
<EMBED src="Slinky3.swf" quality=high WIDTH=200 HEIGHT=400
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
</div>
Here is the link to my pages:
http://www.freewebs.com/tubespace
Any ideas?
Embedding Flash In HTML
Althought I use Flash daily in my work, it's been a while since I've done a website. What's the preferred method of embedding Flash in a web page these days. Is SWFObject still the way to go? Keep in mind, I'm still using Flash7. Thanks in advance.
Embedding Flash In Frontpage HTML
Can someone assist me in trying to embed my file into Frontpage.
I took the sample from the site below and tried to use it. It worked when I used notepad but I'm practicing in Frontpage.
(Site) http://www.w3schools.com/flash/flash_inhtml.asp
(code)
<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" width="550" height="400">
</embed>
</object>
I put it in the HTML page of Frontpage and saw the info I put in when I went to preview. Does anyone happen to know if there's a user friendly tutorial somewhere out there. I would be most gracious.
Embedding Html 'set Area' Within Flash
I am trying to create a product CD in Flash for the first time. I have seen an idea that i would like to create but have no idea how to do this.
Imagine a Flash file 600x400, within this there is an area to the right that has html embeded within the flash (a big white square).
Each time the user clicks on any of the buttons (on the left), the area on the right changes to info regarding that button. On further investigation i realised that each of the html pages are actually html files being called and placed within Flash.
Can anyone please show me how this is done as I cant find anything on this at all.
Thanks
Embedding Flash Functions In Html
I've done this before, but completely forgot about it. And now I need to use it again, however I can't find out how.
What I want is to embed a function in html in flash.
something along the lines of "<a href=flash_function:myFunc, 1>wweeee</a>"
except... i'm pretty sure "flash_function" isn't right. Do you guys know what i'm talking about? If so, please help me out.
Thanks
pureDesi
Embedding More Complex Html In Flash?
I'm wondering if it is possible to embed html in a flash movie beyond the limited html text you can use in a textField? For example, I have a box/panel in my flash interface that I want to display information. This information will change depending what is clicked on, and the information to be displayed will be stored in an XML file. Right now, the XML looks something like this:
<callout name="name" type="circle" size="100" locX=100 locY="100" info="mydata.html"/>
where "mydata.html" is an html page containing the information to be displayed. I want to use html because this content could be either text, an image, or a video, so I could create html pages with the content formatted appropriately and then I would like to just pull it into a movieclip in my flash movie and display as is. Is this possible?
Embedding Flash Into HTML Emails
is it possible to embed Flash into an HTML email? if it is, how do i do it? I already know how to do HTML emails and I know that imagery has to be located on a server and I tried that with a .swf, but it won't work.
Embedding Flash In HTML Positioning HELP
i embedded my flash movie in my html page successfully BUT i want to have it in the middle of the stage and it is alwasy to the left ofthe page..... i tried align but it didnt work,,,
i want my swf file in the middle ofthe page how can i do it???!!!!
PLEASE HELP
Thanks
HTML Embedding Flash To A Website
Ok. I made my first EVER flash movie. I bought some books on how to MAKE the movie and read everything i could on the net, but i can not seem to find the answer to my questions.
I have dreamweaver mx 2004 and read that you can import your flash file and it will give you the basic code so i did that, changed the file path names to the actual file paths that the files were uploaded to on my server, and i STILL cant get it to work.
This is the HTML i am trying to use: (this is with the local path, not my website path)
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
Embedding HTML In A Flash Site
I'm trying to add the HTML code for a PayPal button to my website, but for the life of me, I can't seem to figure out how. Is there a way to add HTML to a Flash file, or even to a Flash generated button? Am I even making sense? I'm a complete programming newb, this website is my first project. Any help anyone can offer is greatly appreciated.
Embedding HTML Into My Flash Website
Hello All,
I am new here I bought a Flash template and have edited the content and now I need to know how to embed a HTML code, it is actually a music store to sell product and I am at wits end!!!!!!!!!
Can somebody Help poor little ol' me LOL
Thanks in advance for your time
Trouble In Embedding Flash In HTML:
Hello every one,
I started practicing Action Script and am stuck for the first time itself.
I created an .as file where I defined my image viewer class and using that I created a swf file. I can see that working if I open the swf file in browser. But surprisingly, when I embed it in the html page, it is not running smooth.
Can anyone look in to it?
you can see my problem here:
http://www.pmpresume.com/flash/images/flashes/demo.swf (working)
http://www.pmpresume.com/flash/test.html (same swf not working)
Thank you
Embedding An Html Page In Flash
i was wondering if it was possible to embed an html page into a flash movie, sort of like an iframe. anyone know if its possible?
Embedding Flash Animation On HTML
A fellow developer has said to me that I can embed a Flash animation file (.swf) just like I would include a graphic file (.jpg or.gif) I was only aware of using the embed src tag to achieve this. Can anyone shed a light if there's any alternative embedding technique for Flash files?
Question About Embedding HTML Into Flash
Well, I really want to embed my phpBB message boards into my flash site.. but I'm afraid I don't know how... someone told me that you could use HTML in flash someway, but he didn't know how.
Does someone has the answer for this?
maybe this is how this board was embedded?
[frustration]
by the way,
when is Macromedia going to publish the codes for .fla compression, so that we can go from .swi to .fla whenever we want?[/frustration]
Embedding External Flash Swf Into Html Page
HI there,
I have a html page, predominately html with a flash movie in the center of the page. I have used external swf in the movie, using the load swf and unload features. Unfortunately when played in through the html build these external swf movie don't load?
Does anyone know why this is? Or is there a way around this? Ideally i don't want one flash movie as it's large and i want to load it more effeciently.
Thanks
Help would be greatly appreciated!
Help With Embedding Flash Drop Down Menu In HTML
Hi,
I have spent hours creating a drop down menu using flash pretty much from scratch. I have run into a bump in the Road. Basically what i'm trying to do is add my drop down menu into a HTML document. The problem i'm having is that the menu itself is only 50px in height, but with the drop down links it goes over 350px. What i need to do is somehow find a code that will enable the drop down links to go over my html page, rather than requiriing the full 350px height.
This link is the menu in full size, but most of the drop down links are cut off. http://www.easternsuburbs.org.au/New...ite/index.html
This link is the full sized one with all the links. http://www.easternsuburbs.org.au/New...te/index2.html
Basically i want to know if its possible to have the links fall down over the page, rather than taking up all that space.
Hope someone understands what i'm trying to explain. Thanks for your time,
Crackers.
Embedding Flash Menu In HTML Page
Hi everyone.
I have created an HTML site and have left a div area for navigation.
It is my intention to place a XML driven flash menu (modified from this menu XML menu ) into the DIV tag.
I have created, uploaded etc all of the relevant files but the movie will not play. Page is here
The SWF, FLA, XML are all located in ../templates/navigation/
where have i gone wrong.
Thanks in advance
Embedding Html-page Into Flash-file
Im wondering if there is a way to load an ordinary html-page into a MovieObject or something in Flash?
Id like have a frame made up of flash, and include a phpBB-forum into a window of sorts inside the flash-file.
Embedding Flash Into HTML - Satay Or SWFObject?
Hi,
Currently I’m using the Flash Satay method to embed Flash in my HTML code and I’m happy because it validates.
However now that SWFObject is the latest incarnation and also seems small and easy to set-up would it be wise to switch to this or stick with the Satay method?
Grabbing HTML Form Data/embedding Flash
Is there a way of grabbing text from a form field in HTML and then sending as a variable to Flash?
I can get Flash into HTML/Javascript but I have never done it the other way.
Thanks
Embedding HTML Into Flash Documents (and Not The Vice-versa)
does ANYBODY know how to view html in a flash document. i have a script written that writes news to an html file. but now i'm making a flash version of my site, and want the same news posted in flash. i know you can use the "Field1.html=true;" and everything, but there's too much incompatability between my html and flash. (eg, i use "&" in the links, <font> tags cause problems, etc)
i attached .SWF document, so take a look at it please! (couldn't post .fla .... the file size was too big)
Image Maps And Embedding HTML Onto Flash Movie
I know how tto embed a Flash movie into an HTML page. How do i embed an HTML page into a Flash move?
I created an image map in HTML because i didnt know how to do it in Flash5.
The rest of the movie is done in Flash, including the navigation bar. The Flash-implemented navigation bar on the top of the page remains static. When a link is clicked, various movie clips are loaded in the bottom 3/4 (main body) of the page . Is there a way to load the HTML page (with image map) into the main body of my page when the relavant link is clicked? Or is there an alternate way of doing this (say, like converting the image map into a Flash movie clip?)
Any help would be greatly appreciated!
Thanks!
Debbie
Embedding Flash In Dead Centre Of HTML Page
Hi guys, how would I go about doing this? I can get it horizontally centre but I have no idea to make it vertically centre relative to the browser height. Tried putting it in a table with 100% height but it doesn't work!
Embedding Non-standard Fonts In HTML Text Areas (Flash MX)
Hello,
I have an HTML text area in Flash MX for which the default font is "Arial Bold" (a font I'm embedding).
Using HTML, I have been able to change the fonts in this text area to Arial, Courier, and Times.
My question is: Using HTML, can I enter other fonts, like "Comics Sans MS", etc.
e.g.
This text is in Arial Bold, but <FONT FACE="Comic Sans MS">this text is in Comic Sans MS</FONT>, and <FONT FACE="Arial">this text is in Arial</FONT>
If not via HTML, is there some other way to accomplish this?
- Darren
Embedding Swfs In Html That Loads Into Dynamic Textfield In Flash
Hi...
I'm pretty rusty with my actionscripts now...
So pleading for help for this problem.
I'm trying to embed or load a swf (lets say from youtube), that i've written on a html.txt, which will be displayed in my dynamic textfield, in my flash file.
I've no problem updating or including images in the html.txt, which load beautifully into my flash file.
However, are there any ways of doing the same for another flash file?
Thanks in advance..
Embedding Swfs In Html That Loads Into Dynamic Textfield In Flash
Hi...
I'm pretty rusty with my actionscripts now...
So pleading for help for this problem.
I'm trying to embed or load a swf (lets say from youtube), that i've written on a html.txt, which will be displayed in my dynamic textfield, in my flash file.
I've no problem updating texts or including images in the html.txt, which load beautifully into my flash file.
However, are there any ways of doing the same for another flash file?
Thanks in advance..
Embedding Flash Movies In An HTML Page Without Browser Warning...
Hi guys...I have been using Flash for some time now....My problem is how to embbed a flash swf movie file in an HTML or XHTML page without the browser warning the user that this web site is trying to install ActiveX content on her or his computer....Almost all professional sites does not display a warning message in the browser...So how can I do this???
[CS3] Embedding Flash In HTML ...White Flash
Hi Can someone please help.
I amtearing my hair out!!!
Prior to loading my flash movie the page flashes white for a split second.
Thought it was a transparency problem so here is what I've done....
1. Used <param name="wmode" value="transparent" />
2. Used <param name="bgcolor" value="#02021E" />
since #02021E is my background.
3. Used wmode="transparent"
All to no avail can someone look at the html source code for me at
http://www.memphismark.com
It has me stumped.
Someone with some experience am sure could solve this in minutes.
I would be eternally greatful.
Kind Regards
Mark
Embedding Flash In HTML (Flash Satay)
Would you point your browsers at The Flash Satay Experiment?
I am investigating browsers that work with the Flash Satay method of embedding Flash into a HTML page.
Thanks, Ant.
Embedding Html In Xml Tags, When Rednering Text As Html
Quick question,
I have a site that reads all content from an external xml. The text box that reads this info renders the content as html; does anyone know how to go about putting an html tag in an xml tag so that flash can read it?
So would it be possible to do:
<content>
" Welcome to the site<br>we are happy to have you here<br><img src="logo.jpg"> "
</content>
Embedding Html
is it possible to embed an html page (or code) into a flashmovie?
for instance: a news-section, a textblock in a MC.... is it possible to import a html page INTO the movie??????
tnx
Embedding An Html Instead Of An Swf
Hi all,
I had my index script all worked out but now I want to embed a published fla instead of a swf. Can anyone help me with this?
Thx!!
Liz
Html Embedding Help...
i have a flash movie with a background size of 800x600...but when i publish it, there's always a bit of extra room on the sides...
any help?
-chlor
Embedding Swf Into Html....
this is not really a flash question as such but hopefully someone can help....
i want to embed an swf into a html file and have the text displayed to the left of the image (see attached jpg for example). the code <IMG BORDER="0" ALIGN="Left" SRC="yourimage.jpg"> Your Text..... works fine for a static image but doesn't work with the swf.
any idea's?
thanks
Embedding With HTML
Alright, here's my situation. I have a .swf file which is running fine. I have a dynamic text link that's getting its variable information from an .html file. I want to know if it's possible to have a .swf file loaded through this process. I've tried doing it by like have the .html file work like "variablename=" and then the published .html file for the .swf. Nothing shows up. Is there any other way that I can have this .swf file byw dynamically loaded when the user clicks a button? It's basically a .swf inside another .swf that i'm looking for, but I don't want it imported in the library, i want to be able to access it through a link, having it stored in the same directory as the original .swf file. Basically I want to avoid having to have a large .swf file and having to re-upload the whole file if i'm only making changes to the smaller emebedded .swf. Any ideas on how I can do this would be greatly appreciated. Thanks in advance.
Embedding Into HTML
Hey I lost the code for embedding Flash SWFs into HTML
does anybody have it?
Embedding Html
Hey everyone, i just one to know if it is possible to embed html codes in flash 8 so that i won't have to update the information everytime.
|