Insert 100% width flash banner in HTML

Hi all,
i am trying to insert a 100% width flash banner in an html
page. The problem i am facing is that i am inserting the banner
inside a div which has some margin in it. This is effecting the
percentage size of the flash banner. How can i display the flash
banner in that div without the margin width effecting the flash
banner size.
(01) - <div style="margin:0px;"> <object
classid="somevalues"></object>
The size of the flash banner is perfect and when the window
is resized the flash banner fills in perfectly with the div tag and
the retains its width and height
(02) - <div style="margin:50px;"><object
classid="somevalues"></object>
The flash banner gets effect and the width is effected.
Please help....

> BUT if I try to insert a Flash movie/banner into the
template - then it
> does not appear of ANY of the site files.
Because of the active content .js fix, when you insert a .swf
file into a
template, you must use a Site Root relative path for it.
Open the .dwt template file.
Double-click on the .swf in design view- the "browse to file"
dialog box
should come up showing the currently selected file.
look in the bottom of that dialog box for the pulldown to
change from
document relative path to site root relative path. Change it
to site root.
click okay and save the file, and let changes propagate.
does it show in the child files now?
[note- It may still not show during local preview because
site root relative
paths in javascript will not make any sense during local
preview- they
should work fine on the remote host if the site has it's own
domain name
though]
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/

Similar Messages

  • How to insert a shoutbox and a counter in a flash file with html code?

    How to insert a shoutbox and a counter in a flash file with
    html code?
    Code shout box
    <!-- BEGIN MYSHOUTBOX.COM CODE -->
    <iframe src="
    http://489676.myshoutbox.com/"
    width="152" height="300" frameborder="0"
    allowTransparency="true"></iframe>
    <!-- END MYSHOUTBOX.COM CODE-->
    Code compteur
    <script type="text/javascript" src="
    http://www.123compteur.com/counterskinable01.php?votre_id=268303"></script><noscript><a
    href="
    http://www.123compteur.com"
    target="_blank">compteur</a></noscript>

    thx =D

  • How to achieve 100% width banner graphic atop page that handles user resolution changes

    I have a banner that can be divided into three distinct pieces.  I'd like to achieve the following distribution:
    Left piece 60%, middle 20%, and right 20%
    In HTML I'd just use a 100% width table and set cell widths to those percentages from left to right.  How's this done in Flex?
    I'm trying all manner of  ConstraintColumn configurations but it appears I can only get two columns to work at say 60%-40%, and not three as listed above.
    Is ConstraintColumn the right place to be looking here or is there some better approach?
    Thanks

    Works like a charm with horizontalGaps set to 0.  Thanks much.

  • Fullscreen published in flash - htm 100%  width and height file is too big

    Hello everyone
    I need some help to create a fullcreen flash animation inside
    dreamweaver.
    What I did was to create a html file published in flash 100%
    width and height.
    It worked well on my explorer browser, but the size of the
    file is 995 k and this would be my index.
    When I publish on my provider the file doesn't open, probably
    is too big as an index, i don't know.
    Is there anyone there that could help me on that one?
    Thank you
    This is the code on Dreamweaver html
    <HTML>
    <HEAD>
    <meta http-equiv=Content-Type content="text/html;
    charset=ISO-8859-1">
    <TITLE>back_men</TITLE>
    </HEAD>
    <BODY bgcolor="#262626">
    <!-- URL's used in the movie-->
    <!-- text used in the movie-->
    11cf-96B8-444553540000"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    WIDTH="100%" HEIGHT="100%" id="back_men" ALIGN="">
    <PARAM NAME=movie
    VALUE="file:///C|/betoko_webfiles/flash_files/betoko/back_men.swf">
    <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor
    VALUE=#262626> <EMBED
    src="file:///C|/betoko_webfiles/flash_files/betoko/back_men.swf"
    quality=high bgcolor=#262626 WIDTH="100%" HEIGHT="100%"
    NAME="back_men" ALIGN=""
    TYPE="application/x-shockwave-flash" PLUGINSPAGE="
    http://www.macromedia.com/go/getflashplayer"></EMBED>
    </OBJECT>
    </BODY>
    </HTML>
    <script type="text/javascript"
    src="fixit.js"></script>

    Well, firstly you have > 60 minutes of video, therefore, you should not use the 60 minute preset. Since you have 80 minutes of video, you're probably better off using the 90 minute preset.
    Secondly, the presets assume that you are compressing your audio to AC3 with A.pack or Compressor 2 (depending on which version of DVDSP you're using). Uncompressed audio takes up lots of disc space and bandwidth.
    Thirdly, the difference between the measured size in the Finder and the size in DVDSP is the difference between true gigabytes (how the Finder measures things) and billions of bytes (how DVDSP measures things). When you Get Info in the Finder, look at the number following the file size in GB... it's a larger number that's so many billions of bytes. This larger number should agree with the number you see in DVDSP. See the DVD FAQ for a discussion of this issue.

  • Full-browser window flash, 100% width/height not working

    Hello.
    I'm pretty sure this issue has been discussed before but I
    couldn't find a suitable answer.
    I need my flash website to fill the whole browser window. In
    the 1st frame of my .fla file I used:
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    In the Publish Settings, I used 100% width and height and
    Default scale mode.
    I even tried adding CSS styles to the .html file, defining
    padding and margin as 0px and applying them both to the body tag
    and to a custom class that was later applied to the object tag that
    embeds the .swf file on the html.
    Still, the latest versions of Firefox, Safari and Opera (all
    on Mac OSX Leopard) still display a border around the website.
    What can I do? Thanks in advance.

    Thank you for posting.
    I've created a small video to show how to create a 100% width rectangle element. Please refer to the following Link : http://screencasteu.worldsecuresystems.com/aish/2013-03-21_1414.swf
    Hope this helps.
    Regards,
    Aishvarya Raj Rastogi

  • Steps to insert a clickTag in a Flash Banner with Flash MX 6 & Adobe CS3 Version

    Hi Folks
    I am very new to this forum + having a basic level of
    understanding with Flash Software (like Flash MX & Adobe CS3).
    By profession i am online trafficker, and because of the fact that
    our Flash Creative Designer has gone on a leave, i therefore
    stumble upon with a challenge of inserting a "clickTag" in a flash
    banner.
    Here my expertise stands null, but yeah offocurse i did try
    many options but no result.
    So guys help me in this, what i wish to know the exact step
    by step procedure to insert a "clickTag" in a Flash banner for both
    Flash MX version 6 & Adobe CS3 version.
    I'll be happy if you guys come up with any step by step
    sitemap.
    Thanks & Cheers
    Nawaz Shahzad

    Right, well who could blame Adobe for saying that? It's not
    Adobe's fault. It's that most of the hosting sites have cold feet
    (IMHO) and fear that they'll have viewers who don't have the latest
    version which means their advertisers won't get the most bang for
    their buck.
    I keep waiting for them to at least increase the max
    allowable player version to FP8... but I have not seen that yet...
    will keep my fingers crossed that it happens soon. But what it
    boils down to is that you need to check with the hosting site
    before designing a banner so that you don't include filters (FP8)
    or use AS3 (FP9) if they are not supporting those players
    yet.

  • Space issue in Firefox related to Flash banner

    I have a website with validated XHTML and CSS that displays an unwanted space only in Firefox under a Flash banner.  The site has been tested in IE6/7/8, Firefox, Chrome, Safari, Opera, AOL, and Netscape.  Firefox is the only problem.  After posting this issue to Experts Exchange, it was determined that the code Dreamweaver generates to insert Flash causes the problem.  An expert on that site originally thought there were two instances of the object and removed what handles IE.  The site then displayed correctly in all other browsers, but would continuously try to load the Flash file in IE. Obviously, that is not the resolution.  I have tried inserting various IECCs without finding the right combination.  --  The live site is http://www.imfgsol.com.  The test page that contains code suggested by Experts Exchange is http://www.imfgsol.com/default2.html  --  I would great appreciate any help resolving this issue!!  Thanks!

    Thanks so much for your help!  Adding the param, removing the IECCs, and correcting the tag closing resolved the issue.  The http://www.imfgsol.com/default2.html page now loads in IE 6/7/8 and validates.
    For anyone that might have this issue, following was the problem and resolution:
    When inserting a Flash banner using Dreamweaver, the following code was created:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="963" height="113" class="imgpad" vspace="0" id="FlashID" title="Innovative Manufacturing Solutions">
          <param name="movie" value="images/IMSbanner.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="6.0.65.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object data="images/IMSbanner.swf" type="application/x-shockwave-flash" width="963" height="113" vspace="0">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
            <!--[if !IE]>-->
            </object>
          <!--<![endif]-->
        </object>
    The display was fine in all browsers other than Firefox.  In Firefox, an unwanted space was created due to the way it read the IE code.  The space below the banner is illustrated here:
    By removing the separate objects and IECCs and adding the param as suggested, there is no longer a space in Firefox and the display is correct in IE 6/7/8, Firefox, Chrome, Safari, Opera, AOL, and Netscape.  The code that works correctly is:
    <object data="images/IMSbanner.swf" type="application/x-shockwave-flash" width="963" height="113" vspace="0">
            <param name="movie" value="images/IMSbanner.swf" />
            <param value="high" name="quality" />
            <param value="opaque" name="wmode" />
            <param value="6.0.65.0" name="swfversion" />
            <param value="Scripts/expressInstall.swf" name="expressinstall" />
            <img width="112" height="33" alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"></a></p>
              </div>
        </object>

  • Problems zooming out with a Flash Banner

    I have created a Flash banner for the home page of my website.  Here is the link to the page I am working on:  http://adirondackvic.org/CSSTest9July2012-2.html
    When I zoom in to increase the size of the web page, the Flash banner rescales automatically.  However, when I zoom out, to decrease the size of the web page, the Flash banner does not automatically rescale.  It remains the same size and you have to hit the refresh button to get it to rescale to fit the newly resized page. 
    Is there a fix for this?  I searched the forum and the web and have not found an answer.  I put a question on this in another forum, but received no responses. I found some discussions of the issue on the web and on this forum, but I was not able to figure out how to incorporate the suggestions into my page.  I tried changing the scale from exactfit to showall, as recommended, but that created a problem with the appearance of the page. (The banner no longer fit properly into the header window.) I also tried (as recommended by one of the entries in this forum) to change width="100%" height="100%" or width="100%" height="auto".  This fixed the problem for Internet Explorer, but then the entire banner disappeared in Firefox. 
    Please help!  I am at my wit's end....  Thank you.  ellen
    Here is the relevant  code:
    <div class="header"><!-- end .header -->
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="960" height="100" align="absmiddle" id="FlashID" title="FlashBanner">
          <param name="movie" value="BannerTest16.swf">
          <param name="quality" value="high">
          <param name="wmode" value="opaque">
          <param name="swfversion" value="6.0.65.0">
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="../Scripts/expressInstall.swf">
          <param name="LOOP" value="false">
          <param name="SCALE" value="exactfit">
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object data="BannerTest16.swf" type="application/x-shockwave-flash" width="960" height="100" align="absmiddle">
            <!--<![endif]-->
            <param name="quality" value="high">
            <param name="wmode" value="opaque">
            <param name="swfversion" value="6.0.65.0">
            <param name="expressinstall" value="../Scripts/expressInstall.swf">
            <param name="LOOP" value="false">
            <param name="SCALE" value="exactfit">
                  <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                  <div>
          <img src="Images/Banner102 -- Saint Regis Mountain from the Barnum Brook Trail --  June 2012-1.jpg" width="960" height="102" alt="Paul Smith's College VIC" align="absmiddle">         
                  </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object>
      </div>

    Kevinsoffice wrote:
    iDevices are pretty much dead hardware since they dont support popular flash. How many mac forums are filled with people complaining about Apples choice not to support it. And with much better hardware coming out like the Samsung line there are better choices then iStuff.
    The evidence does not support that position.
    As expected,  Adobe has stopped developing Flash on mobile devices (iOS and Android)
    http://www.businessinsider.com/adobe-to-kill-mobile-flash-starting-august-15-2012-6
    http://www.digitaltrends.com/mobile/adobe-flash-for-android-gone-with-barely-a-whimper/
    Flash is dying, iStuff is alive and well.

  • Flash Banner in iWeb

    I have a flash banner that I want to put on my web page and I don't know how to do it in iWeb.
    It doesn't show up in my media browser so I can't just drop it in like a movie or photo.
    When I click and drag it onto the page, I just get a rectangle shape outline with the name of the file on it, but I don't see the actual file.
    any help would be greatly appreciated.
    thank you

    Hi There,
    I have a flash movie .swf playing on a site I am working on www.systematic-uk.com
    Insert html snippet
    Insert the following code;
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0, 0" width="334" height="194" align="middle"> <param name="movie" value="http://www.ckis.co.uk/flash/systematiccgi.swf"> <param name="allowScriptAccess" value="always"> <embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="334" height="194" align="middle" src="http://www.ckis.co.uk/flash/systematiccgi.swf" allowScriptAccess="always"></embed></object>
    Of course, change the location of my movie for your one and resize accordingly.
    Works a treat.
    Mark

  • Problem with a flash banner in a php includes

    I am creating a site that has many pages and I made an includes file for the header of the page that contains my navigation bar, i then made a template of the page to use for all my pages.
    Now I have created a flash banner that i want to play in the header of all my pages but i´m having problems getting it to show on all the pages.
    Firstly I added the flash swf into my includes file and inserted the flash into the includes file page using insert flash from the dreamweaver menu (code below):
    <?php $currentPage=basename ($_SERVER['SCRIPT_NAME']);?>
    <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <div id ="adBanner">
      <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','468','height','60','title','advertise','src','advertise_banner','quality','high','plu ginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveF lash','movie','advertise_banner' ); //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="468" height="60" title="advertise">
        <param name="movie" value="advertise_banner.swf" />
        <param name="quality" value="high" />
        <embed src="advertise_banner.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"></embed>
      </object></noscript>
    </div>
    <div id ="NavBar">
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p><a href="index.php" <?php if ($currentPage == 'index.php') {echo 'id="here"';}?>>Home</a></p>
        <p><a href="about.php" <?php if ($currentPage == 'about.php') {echo 'id="here"';}?>>About Us</a></p>
      <p><a href="contact.php" <?php if ($currentPage == 'contact.php') {echo 'id="here"';}?>>Contact Us</a></p>
      <p><a href="advertise.php?ad=y" <?php if ($currentPage == 'advertise.php') {echo 'id="here"';}?>>Advertise</a></p>
      <p> </p>
        </div>
    Great the flash ad works when I load the includes page in a browser and when i look at all my other pages that have the link to the includes file the flash file shows as a grey box with F in the center, however if i load any of these pages into a browser the flash ad does not show.
    I also tried doing exactly the same, adding the flash to the header of my template and saving it. However this did not update all of the pages that use the template, the flash ad would play in the browser if I load the template in the browser. (in this instance the actual swf file was in my templates folder with the template page).
    The final thing i tried was just to add the flash to one of my pages just to see if it would work when i loaded the page into a browers, it didn´t and i don´t understand why as it worked on the includes page and template page. (the swf file in this case was in the file along with all the pages of my site).
    It doesn´t seem that i have a problem with the actual flash banner, i just cannot seem to put it in the pages that i want to.
    Any help or input in this matter will be greatly appreciated.
    Thank you in advance.

    I don't know if this will be of any help but I have a flash rotator that I use on a few pages setup in a seperate file as well, here is the code from my include file
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="884" height="402" id="myFlashContent">
        <param name="movie" value="/Image-Rotator-V2.swf" />
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="/Image-Rotator-V2.swf" width="884" height="402">
        <!--<![endif]-->
         <a href="http://www.adobe.com/go/getflashplayer">
          <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
         </a>
        <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    I also added the following to the head section of the page the flash is used on.
    <script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" type="text/javascript"></script>
    Regards
    Richard

  • How to publish a flash banner without generating errors?

    I need to upload a flash banner every time a condition is
    verified. But I have troubles from the HTML code I use to call the
    flash banner.
    <CFIF #file# IS "fox">
    <div><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    width="468" height="60" vspace="0" hspace="0"><param
    name=movie value="
    http://www.site.com/banners/#address#"><param
    name=quality value=high><embed src="
    http://www.site.com/banners/#address#"
    quality=high pluginspage="
    http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="468" height="60"
    vspace="0" hspace="0"></embed></object></div>
    </CFIF>
    The error i receive is:
    Just in time compilation error
    Invalid parser construct found on line 30 at position 220
    ColdFusion was looking at the following text:
    =
    Invalid expression format. The usual cause is an error in the
    expression structure.
    This error is generated by the HTML code inside the CFIF tags
    because if I change the code between the conditional tags CFIF, it
    works fine.
    Exemple:
    <CFIF #file# IS "fox">
    <div>
    Now it works correctly!
    </div>
    </CFIF>
    Please could you suggest me how to resolve this trouble?
    Than You,
    rikros

    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=5,0,0,0"
    # is a reserved CF symbol. If your template has a
    non-CF-related # symbol
    in it, you need to escape it (##).
    http://www.adobe.com/go/tn_17016
    Adam

  • How to get flash banner to play back on iphone

    Hello,
    I have website (basic) that i created with a flash rotating banner. Banner works fine on all computers but won't play on iphone. I'm aware that there are limitations at this point with flash and iphones. How are webdesigners creating rotating banners and the like that play on iphones? Can this be done in flash cs3? thanks, Owen

    Well you are on your way to success then, GOOD JOB!!
    Here's the simple, easy way to get this going:
    Download swfobject ver 1.5 here (my site):
    http://www.cidigitalmedia.com/swfobject.js
    Let's just put all your Flash files in the the same folder to simplifly things during testing... later you can move them to any folder you want, just remember that the paths to those files then need to be changed to be relative to the Web page that your .swf file is on, not the physical location of the actual file.
    Practice in a brand new html Web page......copy and paste this into the code view, or copy and paste into NotePad and save as file type .html
    Be sure to put the swfobject file, the Flash .swf file, the .mov file and this html file all in the same folder during testing.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript" src="swfobject_off.js"></script>
    <title>Flash on the iPhone</title>
    </head>
    <body>
    <div id="flash">
    <p>This this the .mov version and not the Flash version</p>
       <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="256" width="320">
        <param name="src" value="sample_iTunes.mov">
        <param name="autoplay" value="true">
        <param name="type" value="video/quicktime" height="256" width="320">
        <param name="wmode" value="transparent"/>
        <embed src="sample_iTunes.mov" height="256" width="320" autoplay="true" type="video/quicktime" wmode="transparent" pluginspage="http://www.apple.com/quicktime/download/">
        </embed>
       </object>
       <script type="text/javascript">
      // <![CDATA[
      var so = new SWFObject("sample_iTunes.swf", "sample_iTunes", "320", "240", "8", "#ffffff");
      so.addParam("wmode", "transparent");
      so.write("flash"); 
      // ]]>
      </script>
       </div>
    </body>
    </html>
    Edit to match your .swf and .mov file names and change dimensions to suit.
    I've purposely "turned off" swfobject by giving it an in-correct file name "swfobject_off.js"... so initially it will NOT work..result is you will see your "alternate content", the .mov.
    Once you can confirm that your alt content is working, edit the swfobject file name to "swfobject.js", removing the _off part.
    Now your browser will find that file.. swfobject will try detect the Flash plugin, if it finds it, it will
    so.write("flash"); 
    rewrite the div id=flash with the Flash content and violla... you'll have your Flash banner and iPhone users will have theirs!
    The best of both worlds!
    Best of luck!
    Adninjastrator

  • SWF at 100 % width and proportional height

    I have a SWF that I would like to use in an XHTML 1.0 Strict document.
    My need is that the flash must:
    - Be 100% width
    - Grow / shrink proportionally in height (depending on width)
    - The flash may not be cropped or distorted
    - I must be able to to put a div just before the flash
    - I must be able to place a div right after the flash
    The flash should behave just as if you pasted below image in an HTML file:
    <img
    style ="
    width: 100%;
    min-width:800px;
    min-height:280px;
    height: auto; "src="xxxx"
    alt ="-"/>
    I need it to show a dias show (SWF), where the size changes with the browser window size.
    If some someone can help, I would be very happy :-)

    Here is an older post that has examples of various scaling:
    Here are examples of different scaling parameters available in the Publish settings. You can also add these parameters directly in the html (<param name="scale" value="noscale"). All the examples replace the actual Flash dimensions with 100% for both width and height (width="100%" height="100%"). These examples use the old <object> and <embed> to illustrate the different ways to scale Flash. Once you understand how it works I’d recommend that you use swfobject to place the Flash in your final project.
    View the source code for each page to see the full code.
    http://www.cidigitalmedia.com/tutorials/scale/exact_fit.html
    "exactFit" scales the file to fit exactly within the confines of the screen, irregardless if the movie becomes consequently distorted. The original aspect ratio is not maintained. So round things are not round and squares are not square.
    http://www.cidigitalmedia.com/tutorials/scale/noScale.html
    "noScale" is the default setting, and causes the movie to be displayed at the originally designed dimensions.
    http://www.cidigitalmedia.com/tutorials/scale/no_border.html
    "noBorder" causes the movie to be scaled to what ever dimensions are needed to have no border surrounding the movie within the player, which consequently could result in some of the movie being cut off from view. In other words, the movie will maintain the original aspect ratio and will fill the screen completely. But if the movie has to be streched wider to fill both sides of the screen, it will also stretch taller, but then some of the top and the bottom of the movie may be cut off from view.
    http://www.cidigitalmedia.com/tutorials/scale/show_all.html
    "showAll" scales the movie to the size of the screen (which could cause pixelation if the file contains raster information), the difference between showAll and exactFit is that showAll mantains initial movie size proportions. Because it maintains the original aspect ratio, there can be space to the sides or the top and bottom. But everything always shows and they are not distorted. But notice the photo in the center, it becomes pixilated at larger screen resolutions.
    The trickiest part of trying to go full screen is that it’s difficult to make the Flash wider without making it taller also, that is, to maintain the correct proportions or aspect ratio of everything on the stage. These methods are just simple scaling accomplished with html. There are also methods to dynamically scale the stage and it’s elements using Actionscript… but that’s a much more complex undertaking.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Adninjastrator

  • Flash Banner Ad

    Hi All,
    I am facing a weired problem in my webpage.
    I am having a html page, which embeds the windows media
    player object and one banner ad. This banner ad i am getting from
    another vendor.
    In my page i have to call this ad like the below code.
    <script language="JavaScript" src="
    http://mythridpartyvendorsite.com?...">
    </script>
    and I have a media player that code in html as follows.
    <SCRIPT LANGUAGE="JavaScript">
    document.write ("<OBJECT id='videoFrame_Player'
    classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' height='300px'
    width='400px' type='application/x-mplayer2' viewastext>")
    document.write ("<para name='url' value
    ='http:myurl.com'>)
    ..............................other parameter etc
    </script>
    When the expandable banner ad runs in this page. When I
    mouseover on the "AD" that will expand. when I click the close
    button of the "AD" it stops my windows media player.
    I am not sure why its happening and how its happening.
    Because I flash banner ad comes from some vendor.
    I did some research on this. I think when these ad trying to
    communicate to the posted server, looks like its stops my media
    player. Is this related to any security on flash?
    If someone knows or comeacross this issue. please update me.
    This is really helpful for my page.
    Thanks.

    Hi,
    Are you talking about the Mercedes leaderboard ad?  Because that look a lot more complicated than "fade in - fade out" images?
    Anyway... I am looking at the easiest way to create a banner ad with fade in - fade out images that I have created in illustrator.
    This tutorial helped me alot.
    http://www.youtube.com/watch?v=gFw-1D8yaMs&NR=1
    cheers

  • Slideshow within composition widget - 100%width image causes bug

    Hi community,
    I asked once before for a solution. 
    Tried to solve it by myself, but everything I tried didn't change the problem and no one posted something similar.
    I placed a combination of a composition and a slideshow widget at my site because I want to have
    - triggers on which you can klick
    - 100% width images
    - the background images of the middle part of the site should change together with the slideshow image
    So I placed in every target of the composition widget a slideshow with only one image (set to 100% width) and the other elements.
    When I start the preview in the browser (Safari+Firefox), the images of the slideshow are set to 100% indeed, but the most times during the slideshow they are shifted to the right (always to the position where the other content starts),
    or - if I have a very small browser window - they are shifted to the left.
    In that moment I change the size of browser window a bit, they switch back to their 100%width look.
    Can anyone help me?
    Add some screenshotsr better understanding
    If I set the images not to 100%width it works well.
    Thanks
    nadine

    Did you find an answer to this?  If so, it would be great to see what you found.
    If not, I've come up with a workaround although it's not the best designed solution, but it works.
    First an explanation.  Although I didn't spend enough time researching Adobe Muse generated JavaScript for all the details, I found that the slideshow seems to correctly dynamically set its pixel width to a width that spans the browser window, however the css left property is not always dynamically adjusting properly and therefore shifts the image off of the screen. This appears to be something buggy or unintentional with the Adobe Muse generated code.
    So to solve this, the workaround is to keep triggering the window resize event so that the left property updates through the Adobe Muse generated script.  It would be better of course to trigger this only when the slideshow changes.  Or would even be better if the Adobe Muse team fixes the bug as well as makes it easier to create 100% width compositions so that the slideshow workaround is not even needed.
    In the meantime, here's how to implement the fix:
    1) In Adobe Muse, go to the page that your slideshow exists on
    2) Object > Insert HTML...
    3) Paste the below JavaScript
    <script>
    function triggerResize() {
    //trigger resize event
    if (document.createEvent) { // W3C
        var ev = document.createEvent('Event');
        ev.initEvent('resize', true, true);
        window.dispatchEvent(ev);
    } else { // IE
        document.fireEvent('onresize');
    //call the trigger evey 100 milliseconds
    setInterval(function () {triggerResize();}, 100);
    </script>

Maybe you are looking for

  • SLOW LDB Problem

    The program Ive been given to 'enhance' uses a logical database. I tried to argue that a 40 min response time was reasonable but they are not buying it. (we have to try right?) Nearly 98% of the time used by this program is in database access. I foll

  • How to syncronise iPod with ipad2

    I purchased an iPad and an iPod. iPad has iTunes already installed. But i cannot syncronise my iPod. I did not find it in the an Option to do that. Am I just blind or do i Need a Computer to syncronise all my Devices?

  • Multiple/separate storage accounts?

    Hi, I plan to have a production SQL Server server and a test one.  For each, I plan to create separate logical drives: - 1 for data files - 1 for log files - 1 for TempDB OPTIONS: (1) Create all VHDs from the same storage account (2) Have one storage

  • Problem while startup of tomcat

    iam getting this error The system cannot find the file -Djava.endorsed.dirs=. why this is so.

  • Error in scheduler agent

    Hi Folks, I'm getting below error whenever I lunched the scheduleragent.Please give me the valuable inputs on same Error com.sunopsis.tools.core.exception.SnpsRuntimeException: java.sql.SQLException: socket creation error at com.sunopsis.dwg.cmd.n.a(