Printing an embedded .swf file in a .html page

not sure which forum to ask this....so this question may
appear in other forums as well.
I have a web page that I built in DreamWeaver using CSS. On
this webpage I have a .swf file embedded in one of my <div>
tags. When the user hits File>Print, I want only the .swf file
to print and not the other areas (i.e. header, footer, nav bar
etc.) of the webpage. The following website does exactly what I
want.
http://www.chevrolet.com/avalanche/colors/
Can anyone point me in the right direction to solve how to do
this?
thanks!
D

You need to specify in the CSS which items you want to
print... Check out this...
http://www.adobe.com/devnet/dreamweaver/articles/designing_css_pt6_04.html

Similar Messages

  • Html link to multiple swf files on 1 html page

    i have a html page that has multiple (20) links to video files, i would like to play these files in the same position, within the same html page. therefore saving myself having 20 html files with the separate swf files embedded. firstly i was planning on converting my .mov files to swf to make then smaller.
    my query is, what is the best way to 'house' a swf file(s) that plays when clicked on the relative link on that page.
    i have build the page using CSS and have limited javascript knowledge although im keen to learn.
    cheers

    VIDEO GALLERY --
    You need a Flash player that supports a playlist.  If you're good with Flash and Action Script you could build a custom player.  If not, pick-one from the links below:
    Wimpy Rave simple to deploy, dirt simple to update playlists by uploading media to wimpy folder.
    WWD Player --
    http://www.woosterwebdesign.com/flvplayer/
    JW Player --
    http://www.longtailvideo.com/
    FlowPlayer --
    http://flowplayer.org/
    YouTube --
    http://code.google.com/apis/youtube/getting_started.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • FullScreenButton in SWF file in an HTML Page

    I have inserted a small video as a SWF file into my homepage along with Play, Pause, FullScreen and Mute buttons (loaded from the Flash Components panel). The Play, Pause and Mute buttons work fine. But when I click on the FullScreen Button nothing happens. It won't open the SWF video in a new page at full resolution. Any suggestions?

    your embedding html code must allow fullscreen.  if you let flash publish an html file for you and you change your publish settings to allow fullscreen, you'll see what's needed.

  • FAQ: How do I embed my SWF file in an HTML page?

    Flash Pro creates HTML wrapper files for you when you use the File > Publish command, assuming you have the HTML Wrapper format selected in the Publish settings of your FLA file.
    However, these HTML wrapper files only contain the <Object> tag code to embed your SWF file. If you want to embed your SWF file in an existing HTML page that contains other elements, you can copy and paste the appropriate HTML code into the appropriate location within your existing HTML page. You can also use Dreamweaver to add the SWF file to the page.
    The TechNote Object tag syntax contains sample HTML code that you can copy and paste, along with instructions on how to edit the code to account for the actual name and location of your SWF file.

    Hi,
    You need to set the profile option 'Viewer:Text' to 'Browser'.
    Note: 160217.1 - How to Copy/Paste from a Concurrent Request Output
    Note: 184375.1 - How to Setup The Report Output to Different Viewer Types in Oracle Applications 11i
    Thanks,
    Hussein

  • Trying to view 2 swf files from one html page

    http://www.human-landscaping.com/nextnow/public-list.html
    ON the above page at the top there is DW code to view two SWF
    files. See following code...only the Flash object on the left shows
    up. On my MACBOOK PRO it displays correctly. Just after I FTP it to
    the public server is where it and I get lost. How can I be viewing
    in from my computer and NOT from the server. I know that both SWF
    files are on the server in the directory they are suppose to be in.
    THANKS...some of the code follows:
    <div
    style="position:relative;width:675px;height:345px;">
    <div
    style="position:absolute;top:102px;left:16px;width:300px;height:100px;">
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    height="100" width="300" name="Welcome_to_NextNow">
    <param name="movie" value="WhoNextNow.swf">
    <param name="quality" value="best">
    <param name="bgcolor" value="#ffffff">
    <param name="play" value="true">
    <embed src="WhoNextNow.swf" quality="high"
    bgcolor="#00007f"
    width="300" height="100"
    name="Welcome_to_NextNow" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" play="true">
    </embed>
    </object>
    </div>
    <div
    style="position:absolute;top:16px;left:336px;width:200px;height:280px;">
    <script type="text/javascript">
    AC_FL_RunContent('codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0','heig ht','280','width','200','pluginspage','http://www.macromedia.com/go/getflashplayer','src', 'photos/NNgroup','quality','best','play','true','movie','photos/NNgroup'
    ); //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=6,0,0,0"
    height="280" width="200">
    <param name="movie" value="photos/NNgroup.swf">
    <param name="quality" value="best">
    <param name="play" value="true">
    <embed height="280" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    src="photos/NNgroup.swf" type="application/x-shockwave-flash"
    width="200" quality="best" play="true">
    </embed>
    </object>
    </noscript>
    </div>
    </div>

    bdaul wrote:
    >
    http://www.human-landscaping.com/nextnow/public-list.html
    >
    > ON the above page at the top there is DW code to view
    two SWF files. See
    > following code...only the Flash object on the left shows
    up. On my MACBOOK PRO
    > it displays correctly. Just after I FTP it to the public
    server is where it
    > and I get lost. How can I be viewing in from my computer
    and NOT from the
    > server. I know that both SWF files are on the server in
    the directory they are
    > suppose to be in.
    >
    > THANKS...some of the code follows:
    >
    > <div
    style="position:relative;width:675px;height:345px;">
    >
    >
    > <div
    style="position:absolute;top:102px;left:16px;width:300px;height:100px;">
    > <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=6,0,0,0" height="100" width="300"
    name="Welcome_to_NextNow">
    > <param name="movie" value="WhoNextNow.swf">
    > <param name="quality" value="best">
    > <param name="bgcolor" value="#ffffff">
    > <param name="play" value="true">
    > <embed src="WhoNextNow.swf" quality="high"
    bgcolor="#00007f"
    > width="300" height="100"
    > name="Welcome_to_NextNow"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash" play="true">
    > </embed>
    > </object>
    > </div>
    >
    > <div
    style="position:absolute;top:16px;left:336px;width:200px;height:280px;">
    > <script type="text/javascript">
    >
    > AC_FL_RunContent('codebase','
    http://download.macromedia.com/pub/shockwave/cabs/f
    >
    lash/swflash.cab#version=6,0,0,0','height','280','width','200','pluginspage','ht
    >
    tp://www.macromedia.com/go/getflashplayer','src','photos/NNgroup','quality','bes
    > t','play','true','movie','photos/NNgroup' ); //end AC
    code
    > </script>
    >
    > <noscript>
    >
    > <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=6,0,0,0" height="280" width="200">
    > <param name="movie" value="photos/NNgroup.swf">
    > <param name="quality" value="best">
    > <param name="play" value="true">
    >
    > <embed height="280" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > src="photos/NNgroup.swf"
    type="application/x-shockwave-flash" width="200"
    > quality="best" play="true">
    > </embed>
    >
    > </object>
    > </noscript>
    > </div>
    > </div>
    >
    >
    http://www.dreamweaverresources.com/tutorials/scroller.html

  • Why does embeded .swf file goes crazy in IE but not in other browsers?

    hi everyone
    I'm building a SharePoint page with an embedded .swf file that is capable of detecting the current URL to activate and show content. Everything goes smoothly in all the browsers I've tested it except IE. When I open the SharePoint page in IE the .swf just reproduces the frames non stop, It completely ignores my scripts and I cant find anything that could be responsible of this. besides the url detection script, i just have simple button configuration for the timeline and general stops.
    any idea?.....anyone?

    Normally when swf's play differently for different browsers it is due to the embedding code used in the html page.

  • Embedded swf file won't launch pop-up in safari

    The following page has an embedded swf file which when clicked is supposed to launch a 800x600 pop-up html file.
    http://www.artfair.com.au/index-2008.htm
    The action script I'm using in the movie is
    on (press, release) {
    getURL("javascript:openNewWindow('http://www.artfair.com.au/2008_interim/htm/in terim.htm','interim','height=600,width=800,toolbar=no,scrollbars=yes')");
    The html code is:
    <BODY bgcolor="#FFFFFF">
    <!-- URL's used in the movie-->
    <!-- text used in the movie-->
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=6,0,0,0"
    WIDTH="100%" HEIGHT="100%" id="2008" ALIGN="">
    <PARAM NAME=movie VALUE="2008.swf"> <PARAM NAME=loop VALUE=false> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=best> <PARAM NAME=salign VALUE=LB> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="2008.swf" loop=false menu=false quality=best salign=LB bgcolor=#FFFFFF WIDTH="100%" HEIGHT="100%" NAME="2008e" ALIGN=""
    TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
    </OBJECT>
    </BODY>

    Doesnt work on any browser
    XP:
    IE6
    IE7
    FIREFOX2
    or OS X 10.4.9
    safari or ff2
    post the code on Adobe.com's forums for the flash developers as theyll be able help you recode the link as ive noticed int eh XP browsers it tells me its a javascript error, ill take a nothe rpeak at the flash document/javascript and see if i can pick apart what might fix it but for the meantime id suggest submitting this to the flash forums as its a Flash/Javascript/Actionscript issue not a Safari issue
    =]
    ill let you know if i notice anything before you find a solution.
    also let me know if you do find the issue because ive been looking to put together a pop up window in flash but none seem to work properly.

  • PrevFrame() buttons in a swf file inserted in html not working in Firefox

    Hi!
    I have a very weird problem.
    I have created a photo gallery using AS3 in Flash CS5. I have used prevFrame() and nextFrame() actions for "previous photo" and "next photo" buttons as well as for "previous thumbnails" and "next thumbnails" buttons.
    All the buttons work fine when i run the swf files as well as when i run the swf files in Firefox 8.0 and IE9. However, once I insert this swf file into my html file using Dreamweaver CS5->Insert->Media->swf, the "previous" buttons dont work in Firefox 8.0! the previous image button works sometimes whereas the previous thumbnails button does not work at all!  They work fine in IE9. The next buttons also work fine in every browser. Heres my code:
    stop();
    thumbprev_btn.visible=false;
    next_btn.addEventListener(MouseEvent.CLICK, nextimage);
    prev_btn.addEventListener(MouseEvent.CLICK, previmage);
    thumbprev_btn.addEventListener(MouseEvent.CLICK, prevthumbs);
    thumbnext_btn.addEventListener(MouseEvent.CLICK, nextthumbs);
    function nextimage(event:MouseEvent):void
    if(mc_content.currentFrame==mc_content.totalFrames)
    mc_content.gotoAndStop(1);
    else
    mc_content.nextFrame();
    function previmage(event:MouseEvent):void
    if(mc_content.currentFrame==1)
    mc_content.gotoAndStop(mc_content.totalFrames);
    else
    mc_content.prevFrame();
    function nextthumbs(event:MouseEvent):void
    thumbprev_btn.visible=true;
    nextFrame();
    if(currentFrame==3)
    thumbnext_btn.visible=false;
    function prevthumbs(event:MouseEvent):void
    thumbnext_btn.visible=true;
    prevFrame();
    if(currentFrame==1)
    thumbprev_btn.visible=false;
    Please help.

    Thankyou Ned. The html file published by flash worked perfectly however the problem persisted even if i used this html file's code. But strangely, the problem disappeared after a few days! Now the original dreamweaver code is also working fine.

  • Embedded SWF files auto starting in IE but set to not auto play - Chrome, Firefox, Safari work ok

    One of the web masters at my school has embedded several Captivate 5 swf files in a web page.  I had re-exported all of them to not auto start after we realized that the originals were set to auto play upon loading (someone else made the orginials...).  Caches have been cleared on IE9, but yet, when that page loads, all of the no auto-play swfs start playing.  On Chrome, Firefox and Safari, none of them start playing when the page is loaded.  Does anyone have a clue why IE9 might be doing this and how to fix it?
    Thanks,
    Sue

    Am I correct in assuming that when your web developer set these SWFs up on the same page that he did not use the default HTM page that Captivate creates?  Did he just embed them into the web page using standard Dreamweaver code for SWFs?
    Do the same Captivate SWFs start automatically if you upload them to your web server individually with the HTM and JS files that Captivate creates?  If not, then your web developer might be better off embedding the content in his web page using individual iframes pointing at the HTM file rather than the method he previously chose.

  • Communication with Files on different HTML Pages

    I have a flex application that leads the user out of the
    application in a new html window. When the user leaves the
    application, a new flex application is embeded in the new page.
    Once the new page is loaded, i want to to communicate the new swf
    with the old swf app. When trying to communicate between the two I
    get:
    Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095:
    flash.net.LocalConnection was unable to invoke callback
    completeSale. error=ReferenceError: Error #1069: Property
    completeSale not found on flash.net.LocalConnection and there is no
    default value.
    For the sending swf file (the flash file), I have:
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" initialize="init()">
    <mx:Script>
    <![CDATA[
    import flash.net.LocalConnection;
    import mx.controls.Alert;
    private function init():void {
    var sending_lc:LocalConnection = new LocalConnection();
    //sending_lc.connect('myCon');
    try
    sending_lc.connect('myCon');
    catch (error:ArgumentError)
    // server already created/connected
    trace ("ERROR SENDING")
    sending_lc.send('myCon', 'completeSale');
    public function completeSale():void {
    Alert.show ("SALE COMPLETE");
    ]]>
    </mx:Script>
    </mx:Application>
    For the recieving swf file, I have:
    import flash.net.LocalConnection;
    public var recieve_lc:LocalConnection = new
    LocalConnection();
    public function init():void {
    recieve_lc.connect('myCon');
    recieve_lc.allowDomain("
    http://localhost/");
    //completeSale();
    public function completeSale():void {
    Alert.show ("SALE COMPLETE");
    Init is called of course at the initialization of the app.
    I have no problem communucating between two swf on a single
    page, but can two swf on two different html pages communicate?
    Thanks

    hi
    For this , you should try to use ExternalInterface instead of
    localconnection, it's a new way to communicate between to swfs or
    between felx and other languages such as javascript

  • How to display a text file in a html page?

    I have written a servlet that executes a batch file whose output is saved to a txt file. I am attempting to display content of the text file as a html page from the servlet but am struggling I have attempted to read the file and output it as shown below but it is not displaying the correct data
    Appreciate some help
    Thanks in advance
    Amjad
    Runtime r = Runtime.getRuntime();
    Process p = r.exec("C:\\Condor\\test\\QueStatus.bat");
    PrintWriter out;
    String title = "Que Status";
    response.setContentType("text/html");
    out = response.getWriter();
    FileReader fr = new FileReader ("C:\\Condor\\test\\output.txt");
    for (int chr = fr.read(); chr != -1; chr = fr.read()){
         out.print(chr);
    }

    Couple of things. First you should search the forums for how to properly exec a dos batch file. There are some problems you may run into especially with io. I suspect you may not actually be running that batch file at all.
    I would test outputing a text file separately from execing the batch file.
    Here is some code so you don't have to output 1 char at a time. Setting the content length and closing the output stream might help.
    File downloadFile = new File("c:\\blah\\blah\\blah");
    response.setContentLength((int)downloadFile.length());
    response.setContentType("text/html");
    ServletOutputStream out = response.getOutputStream();
    FileInputStream fis = new FileInputStream(downloadFile);
    byte[] buffer = new byte[1024];
    int bytesRead;
    while ((bytesRead = fis.read(buffer)) != -1) {
    out.write(buffer, 0, bytesRead);
    fis.close();
    out.close();

  • Can't see SWF file in a DW page

    Hello All,
    I have placed a SWF file on the following page as per the
    Dreamweaver instructions, , ,
    This
    Problem Page
    I have uploaded the Scripts folder, which, strangly
    dreamweaver placed at the root level of the site, , ,
    I can ee the file by it self, so it is online,
    This
    is the file on line
    What do I need to do, or change in the first page so that I
    can see the SWF file in a plain Html page?
    Thanks for your help
    Patrick

    What it's also estrange is: AC_SW_RunContent(
    'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,1,1,0'...
    As far as I know there aren't flash version 10. So IMHO your
    code it's
    not correct. I've seen this problem before in another thread.
    It's like
    when you embed your swf file there where something wrong in
    the proses
    and the code it's corrupted. Your code should be something
    like:
    <script type="text/javascript">
    AC_FL_RunContent(
    'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','769','height','163','title','1','src','/tomsweeney/i/header','quality','high','plugin spage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlas h','movie','swf_help/topheader'
    ); //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=9,0,28,0"
    width="769" height="163" title="Help">
    <param name="movie" value="/tomsweeney/i/header" />
    <param name="quality" value="high" />
    <embed src="/tomsweeney/i/header" quality="high"
    pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="769"
    height="163"></embed>
    </object>
    </noscript>
    Publish your swf file from Flash using the fla file.
    If that doesn´t work either try with swfobject
    method
    http://code.google.com/p/swfobject/
    Let see what happen.
    thedoouge escribió:
    > Well, sadly that makes two of us, , , ,

  • How to embed a swf video into an html page?

    I am haing trouble embedding my swf video into my html page. Here is my code:
    <embed height="340" width="549" src="flashvideos/test.swf" allowscriptaccess="always" allowfullscreen="true" flashvars="&amp;MM_ComponentVersion=1&amp;skinName=C:/Users/RogerPa1/Documents/Visual Studio 2008/WebSites/WebSite1/Products/Create/flashvideos&amp;streamName=C:\Users\RogerPa1\Docum ents\Visual Studio 2008\WebSites\WebSite1\Products\Create\flashvideos\Robotics&amp;autoPlay=true&amp;autoRew ind=false"></embed> 
    When I run the page the place where the flash player should be is blank. But if I right click I can select settings so the flash player is there. I'm using absolute urls for the flashvars because I read in a forum that that's what you're supposed to do. Anyway I am a little frustrated that the video won't play. I tried creating a video with no skin and the same problem occurs.
    Thank You
    idesofdecember

    Answered

  • Can't get my embedded swf files to play in HTML file

    Hi there,
    I'm just  wondering why my swf files won't play when I upload them along with my  HTML file to the server.
    The problem can be seen at the  following URL:
    http://marthalodge.com/productDev.html
    I  inserted the swf in 'insert media' - 'shockwave' and the thing works  when I press play to view it within dreamweaver. However, when I try to  view it on a browser, either locally or remotely, it doesn't work.
    Does  anyone have a suggestion as to why this might be happening?
    Thanks,
    M

    Hi,
    I did what you suggested and again, nothing shows. You can see what I did at:
    http://marthalodge.com/ProdDev.html
    Do you have any idea why this is happening? I don't get any error report when I publish my swf from Flash.

  • Disable link in embedded .swf file?

    Hi, all,
    I have embedded a flash .swf file in a topic, and it plays
    just fine in WebHelp output.
    The .swf was made as a banner in another application, where
    the user clicks on the image to bring up a new window with its own
    content. That link must be embedded in the .swf, because the html
    code in RH just puts it there and lets it run.
    I'm planning to insert a note to explain the dead link,
    saying my presentation is only to show the swf. As it stands, it
    displays a hand pointer, but a click generates a js error.
    Is there a way to disable the link from the swf without going
    back to the original developer?
    Thanks.
    Harvey

    Hi Harvey
    You said you omitted the JavaScript? Why? Was it causing
    issues? Or is it the fact the link points somewhere you really
    don't want it to?
    If so, I'm thinking you could amend the JavaScript
    to point it where you want.
    Just thinking out loud... Rick

Maybe you are looking for

  • How to avoid blank column display in output in ALV TREE

    how to avoid blank column display in output while decreasing the length of other columns in ALV Tree. Example: please refer to BCALV_TREE_01 and see the output, then decrease the length of all columns . Then you can see a blank column appearing in sc

  • Opening a PDF file without downloading first

    I have version 9.5.5 on my Apple desktop & my laptop. When I open a PDF document on my laptop, a window opens and asks if I want to save or open on screen. I like this feature, however on my desktop I do not get the choice, it goes to download only a

  • Resolution Question Before buying IMAC 27Inch

    Dear Community, Tomorrow i am planning to buy a new Imac 27 Inch at a store here in Ireland. http://www.harveynorman.ie/computing/apple/imac/apple-imac-27-3.4ghz.html But i notice with the specs provided on the website that the 27Inch Imac has a max

  • DB13 Check and Update Optimizer Statistics Error

    Dear Gurus, While Updating the Update stats in DB13 Calender it shows the Below mentioned error. BR0881I Collecting statistics for table SAPPSU.EKUB with method/sample C ...                            BR0280I BRCONNECT time stamp: 2009-01-18 02.23.01

  • How to load photo to Facebook when using ipad2

    when in FB, I want to load a photo from my library , but the browse button just not activated.. Even if I want to take a new photo n post in FB also not possible.. Please advice whats wrong with my ipad2 ..