Swf embed without html file

I have a swf file but no html file was generated. how can I embed this? Using iframe? But how?
I am pretty sure I put the swf in the folder in idisk that is the name of the site, e.g., idisk>Web>Sites>iweb>cameraobscura
But what comes after that?

Hey Jabberwock...
Check this page out...
http://www.w3schools.com/flash/flash_inhtml.asp
It has good info on the basic, basic stuff that you need to have in the <embed> or <object> tag for flash...
And I really learned a lot from this page of explanations into the need for all that classid stuff and codebase stuff...
http://www.alistapart.com/articles/flashsatay/
And finally, this is something that I am still digesting, but it looks like a nice javascript method of embedding flash (though it doesn't seem as neat and simple as the above methods)...
http://blog.deconcept.com/swfobject/
BTW, the above (first and second) HTML method is how the Google flash video is set up, so that's sort of how I got looking into this with all the Flashvars and other variables like autoplay.

Similar Messages

  • How to embed the html file into form 6i?

    How to embed the html file into form. What control activeX should i use? please help!!!!!!

    You can use web.show_document function for this purpose. See
    form builder help topics for more details.
    Hope this helps.

  • I can't put swf or html files with external files like spritesheets on my website.

    Hello,
    I developed a small test-application for my website. I did this using Flash Builder and Starling.
    My website is created with Adobe Muse, if I try to place the SWF, it gives me an error. If I embed the .html file in an html-object, I get a blank screen.
    Every other swf I created that has no external files such as spritesheets works fine, I can either place it or embed in html.
    I have to say that I did not publish the website yet, as it is useless if I can't show my projects on it, but as I said the normal swf files work and the others not.
    Does anyone have a suggestion or solution?
    There must be one because there are a lot of Starling applications (e.g. Hungry Hero) that are embedded in a website.
    Many thanks.

    Hello,
    I developed a small test-application for my website. I did this using Flash Builder and Starling.
    My website is created with Adobe Muse, if I try to place the SWF, it gives me an error. If I embed the .html file in an html-object, I get a blank screen.
    Every other swf I created that has no external files such as spritesheets works fine, I can either place it or embed in html.
    I have to say that I did not publish the website yet, as it is useless if I can't show my projects on it, but as I said the normal swf files work and the others not.
    Does anyone have a suggestion or solution?
    There must be one because there are a lot of Starling applications (e.g. Hungry Hero) that are embedded in a website.
    Many thanks.

  • Embed .html file in eMail

    Hi,
    i need to embed a .html file (to send as a newsletter) in the mail.
    pls let me know how to do.
    it will be more useful if u send a sample code.
    Thanks,
    Natesh.

    http://java.sun.com/developer/EJTechTips/2004/tt0426.html#1
    and other examples in google
    http://www.osix.net/modules/article/?id=39

  • How to embed html-file into swing

    hello,
    can anybody help me how to embed a html-file into a swing application??
    I try to write a swing-application, that connects to a Internetpage via Sockets.
    The problem is, that I can only see the sourcecode of the InternetPage in my JTextArea, but I want to see the whole Page just like in a browser.
    I hope anybody can help me to solve this problem, thanx mina

    u will need to use the JEditorPane component instead of Jtextarea.here is a url to help u get started
    http://java.sun.com/docs/books/tutorial/uiswing/components/simpletext.html#editorpane

  • Can i embed an html page in the webdynpro

    i am having a html file which will select one file and will upload to the server...
    can i embed that html file in my web dynpro application...

    Sunil,
    Currently there is no way to pass data from non-WebDynpro application to WebDynpro application.
    The only options are start-up parameters and portal eventing, both are inappropriate for your scenario.
    Why not to use regular WebDynpro component with IWDFileUpload control?
    VS

  • Embed  html file without using IFrame UI

    Is there any way to embed html file without using IFrame UI?

    Hi
    To embed a static HTML content inside your view, Iframe is the easiest form or else, you can provide links through Linktourl UI or through a static text or a button, invoke a action and display the HTML content inside the frame or call it in a seperate (external) window.
    Otherwise, we have only less options!
    if you have anything specific, do let us know
    thanks
    sathya

  • How do I get the SWF file to send a variable to HTML file

    I am new to flash and trying to figure out how this is working. I have a task to upgrade a web site. I have a map of ND with some cities on it. I needed to add a new city to the SWF which did not seem to be hard (asuming I did it correct). The action on all the buttons for each city look like this except the name after the # is the city selected.
    on (release)
        getURL("locations_info.html#minot", "location_content");
    In HTML code snip that controls this looked like this :
                          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="627" height="400">
                            <param name="movie" value="flash/map.swf">
                            <param name="quality" value="high">
                            <embed src="flash/map.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="627" height="400"></embed>
                          </td>
                        </tr>
                        <tr>
                          <td align="left" valign="top"><IFRAME src="locations_info.html" name="location_content" width="627" height="190" scrolling="no" frameborder="0"></IFRAME></td>
                          </tr>
                      </table>                 
                      </td>
    snip from the locations_info.html file looks like:
      <tr>
        <td align="left" valign="top"><table width="687" border="0" cellspacing="0" cellpadding="10">
          <tr>
            <td align="left" valign="top"><p class="maintext12"> </p>
              <p class="maintext12"><strong><a name="minot"></a>Minot/Home Office</strong><br>
                408 20th Ave SW, Suite 101, Minot, N.D. 58701<br>
                Main line: (701) 852-5383<br>
                Toll Free: (800) 735-4955<br>
                Fax: (701) 852-6272<br>
                Office hours: Monday - Friday 8 a.m. to 5 p.m.</p>
              <p> </p>
    Can someone help me understand way when I run this from my system it should load and address information for the correct city from the locations_info.html file but it doesn't. Nothing shows up..
    Jeanne

    If all of the other getURL() directives in the movie use the same syntax for the named anchor link then that part should be OK. In the html document, locations_info, again, if all of the named anchors look like the one that you listed, then you may just need to clear your cache to get the new anchor to work.
    The a name="XXX" anchor is being depricated in some browsers. You can use id="XXX", or both, instead. Although if one works, they should all work.

  • FLV embedded in a SWF file, does not play in HTML file.

    Hi,
    I embedded a FLV file into flash movie clip, which on publish plays well on SWF file, but when the same is embedded in HTML, it does not play.
    What is it i'm missing ..
    Kindly help.
    Regards
    Shashi

    First, clarify this... are you embedding the .flv into the time line, as in:
    The .FLV file is imported on the  timeline of a movie clip.
    I embedded the .flv file,
    If you are in fact embedding the video, then there is no external video file... it's embedded into the timeline.
    If you are using the FLVPlayback component and an external vid file to display the video and the .swf when testing plays the video just fine but not on the HTML Web page:
    SWF plays external video file, as soon as I embed SWF in HTML, it no longer playes the external video file.
    then it's most likely a pathing problem.
    If you are placing the .swf on a Web page and the .swf and/or the .flv file are not both in the same folder as the Web page.... then the .swf should NOT work when you test it directly! That's because it should be pathed to play from the Web page and not the location of the .swf.
    For your review:
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Best of luck,
    Adninjastrator

  • .swf without .html flicker? (captivate cs5)

    Hello!
    I have an issue with Captivate 5, which I did not have in the older version (Captivate 1).
    When I publish our Captivate into a Flash file format : if I publish it with the "export to html format" box checked, everything play just fine, but if I publish it without the box checked (without the .html file), the .swf doesn't work anymore!
    By "doesn't work", I mean :
    the playback control bar is on top-left of the screen instead of being in the bottom-middle of it;
    the logo "projet created by adobe captivate 5" is flickering on top of all the content;
    the page is running in loop.
    The .swf must be loaded in one of our Flash document by actionscript (which is why we don't need the .html). As I mentionned before, our e-learning worked just fine before that way, we just had to make an update in the online training, when I saw that with the new Captivate it didn't work anymore.
    Has someone ever encountered this problem? Do someone has any solutions?
    Thank you very much.

    I've seen similar issues to the one you describe when you have some component in the project (possibly a playback bar) that is set as AS2. Captivate 5 will only accept components published as AS3.

  • .swf doesn't work when embed to html

    I have a quote .swf file that when I open in my PC and fill
    the form works, but when I embed the same .swf to an html page
    doesn't, this .swf file works on a different server than the one I
    post the html is there any special parameter or any other
    sugestion, to make it work, here is the link to the .swf embeded to
    the html
    Text

    you are trying to do a cross domain work. you'll have to
    allowDomain so it can load content from different domains...
    it's fairly simple, and this article explains how:
    http://www.adobe.com/devnet/flash/articles/fplayer_security_04.html
    hope it helps

  • SWF and HTML files separate directories.

    I am generating HTML wrapper dynamically and it runs
    successfully (No JavaScript errors etc.). I right click on the page
    and it displays "Print,Settings, About Flash Player"
    Problem is that my SWF file which resides somewhere else on
    the HTTP server is not played at all. I get a blank page. The path
    to SWF was provided in HTML using an alias defined on the HTTP
    config file.
    If I run static HTML file in the same directory as SWF file
    the page is generated OK.
    Am I missing a crossdomain.xml file but everything is on the
    same domain (so ruled out).
    Please help.

    Hi zetokore, and welcome to the Community!
    You cannot separate the HTM and SWF files, so don't try.
    These files are designed to be symbiotic and must be accessed from
    the same location. Your "getaround" won't work because if you link
    to the SWF instead of theHTM, the output will be warped ... the HTM
    file contains sizing parameters for display of the SWF; so without
    proper sizing, the SWF will appear warped.
    In short - you'll have to live with it, because what you are
    seeing is Captivate's designed behavior.
    To emphasize the point: Design and record your Captivate
    projects at the size they are to be displayed to the end-user ...
    always! And - again always - link to the HTM file, never to the
    SWF.
    .

  • Open in same window and clean cache from swf + html file generate with InDesign CS5

    Hi,
    1)
    I have a Indesign web file exported to swf + html.
    In my document I have a button that point to url (this url is html file of a second Indesign swf + html).
    When I click on button, the url was find an open in another window.
    Is it possible to open this second url in the same window?
    If yes How.
    I think this information is in the swf file and not in html.(How modify the swf code?)
    2)
    How to clean the cache when you reload the url? (in the html generate file)
    I'will very please if somebody of you could help me. it's Important for me.
    Regards
    Philippe

    Okay, I found the code but I can't get it to work locally.  If you have a web server maybe you can upload the files (swf and html) after you Publish them:
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    var myURL:URLRequest = new URLRequest ("http://www.google.com");
    testlink.addEventListener(MouseEvent.CLICK, clickText);
    function clickText(myevent:MouseEvent):void {
    navigateToURL(myURL, "_self");
    you have to have on the stage a link element called "testlink" (see the code above) which would be a Movie Clip with the label testlink.  It can be anything from InDesign:  a button, a rectangle, a circle, a graphic, you get the idea.  Just select that object in Flash and label it testlink or anything you choose but if you change the name from testlink also change the name in the code snippet where the line "addEventListener" is.

  • Print HTML File Without Showing on Screen

    Hi Everyone
    Is there a way to print a file (in particular, an html file) from a java app without actually displaying the file on the screen.
    ie. print from command line.
    I am creating an html file from within java app and would like to print it in one step.
    Any help would be greatly appreciated.
    Thanks
    Kelly

    Hi,
    Heres some code from an app I wrote that prints out text. I've stripped out little sensitive bits.
    // Procedure to perform when print button is pressed
       void printButton_actionPerformed(ActionEvent e){
         int x, y, pageNo = 1, maxPageHeight, textHeight = 0;
         Date today = new Date();
         String tempLine = new String("");
         String tempString = new String();
         Graphics pg;
    // Create date and time formats
         SimpleDateFormat dateFormatter = new SimpleDateFormat("dd/MM/yy");
         SimpleDateFormat timeFormatter = new SimpleDateFormat("HH:mm:ss");
    // Create date and time strings
         currentDate = dateFormatter.format(today);
         currentTime = timeFormatter.format(today);
    // Turn off double buffering
         RepaintManager.currentManager(this).setDoubleBufferingEnabled(false);
    // Get a print job
         PrintJob printjob = getToolkit().getPrintJob(this, "<printjob name>", null);
         if (printjob != null) {
           maxPageHeight = printjob.getPageDimension().height-(rowHeight*2);
           pg = printjob.getGraphics();
           if (pg != null) {
             pg.setColor(Color.black);
             pg.setFont(new Font("Courier", 0, 10));
    // Print header
             textHeight = topOfPage;
             pg.drawString("Report      Date " + currentDate +
                           "      Time " + currentTime + "  Page " + pageNo,
                           30, textHeight);
             textHeight += rowHeight;
             pg.drawString("File: " + dataFile , 30, textHeight);
    // Print errors
             textHeight += rowHeight*2;
             pg.drawString("Errors", 30, textHeight);
             textHeight += rowHeight;
             pg.drawString("------", 30, textHeight);
             textHeight += rowHeight;
             pg.drawString("col1         col2 col3                 Value        Reason",
                            30, textHeight);
             textHeight += rowHeight;
             pg.drawString("------------ ---- -------------------- ------------ --------------------",
                            30, textHeight);
             if(errorData != null){
               for(x = 0; x < errorData.length; x++){
                 textHeight += rowHeight;
                 if(textHeight > maxPageHeight){
                   pg = nextPage(pg, printjob, ++pageNo);
                   textHeight = topOfPage + rowHeight*2;
                 tempLine = "";
                 for(y=0; y<columnLengths.length; y++){
                   tempString = errorData[x][y] != null ?
                                roundLength(errorData[x][y].toString(), columnLengths[y])
                                : roundLength(" ", columnLengths[y]);
                   tempLine += tempString + " ";
                 pg.drawString(tempLine, 30, textHeight);
             pg.dispose(); // flush page
           printjob.end();
       }Hope that helps.
    Rob.

  • How do I save a pdf as an html file without losing formatting?

    How do I save a pdf as an html file without losing formatting?  My coworker is able to do this on her Adobe 9 by saving to html css 4.0 - I have Adobe 11 and have not been able to save as an html at all without loosing formatting.

    Are the PDF files that you are attempting to Save As HTML tagged?

Maybe you are looking for

  • Can there be multiple Master Detail Views, if yes then how? Please suggest

    Dear All, In first master-detail view, I have a button, which when clicked will trigger the second detail view. I tried invoking second master detail view but was not able to see the second master view. Could you please guide as to how to go about th

  • Slow Macbook Pro- please help, I don't understand previous advice.

    Hello all, I have a very slow Macbook Pro running on Lion 10.7.3. I looked up this problem on the forums before I sent this message but I didn't quite understand the advice. I have been on something called Disk Utility and Activity Monitor but don't

  • What is the best way to covert a MPEG-4 movie in IMOVIE?

    What is the best way to convert a MPEG-movie in imovie?

  • Using Mac Mini as DRV

    I'm thinking about getting a new mac mini to use as a media center and DVR. I've found several software programs to record on a mac. EvolutionTV, AlchemyTV, MyTV/x, EyeTV are some of them. Has anybody tried these programs? Any opinions on plusses and

  • Why did my file get huge?

    I'm working on a long document in CS5.5 that's mostly text; there are only 4 linked BW images in ~140 pages. I needed to export it for someone who is working in CS4, so following the instructions, I updated to 7.5.2, then exported the IDML. I then sa