Cropped Flash in HTML

I am testing a carousel menu and have uploaded the test pages to www.garynewport.com.
If I run the flash directly (http://www.garynewport.com/menu.swf) then it runs as I want it to.
If I run it within an HTML page then it is smaller, tucked to the right and is cropped.
If I create the HTML within Flash (Publish) then the same problem.
Can anyone help me please?

Hello,
I have just played around with CSS...and hopefully got what you are after.
I think KGLAD was correct in the beginning, your embed tag in the HTML is incomplete.
Here's what I did:
enclosed the <embed> tag around <object></object> tag. (this is the correct way to embed, Google "embed flash in html" for more examples)
set the style of <object> tag to be <object width="100%"> (this is optional, I just do it anyway...can't remember the reason)
wrape the <object> and <embed> in a <div class="spinning-menu"> (this is the best pratice, objects should get wrapped by divs, beside, its lot easier to assing divs with CSS classes and styles later on)
create a CSS class .spinning-menu { margin: 0 20%; }, this will center your spinning menu, leaving 0% margin at the top, while 20% margin left and right. The % are respective to the window/browser size, so that when you resize the window, the margins are maintained.
change the width property of the <embed> tag to be 100% (this is to ensure your flash shows 100% of the widths)
Just a screen shot....making sure this is what you are after....the white border is just to show you where is the <div>, not included as part of the steps above. As you can see, the movie is not at the center of the page, and not cropped (I could only see 1/2 of the blue men in your home page)
Hope this helps....

Similar Messages

  • How to embed flash in html

    I have been trying to embed a flash swf document in a free
    website hosting site called Weebly. You can add html code to it and
    i have been reading up about the ways to embed flash in html. I
    have tried all the codes but when you first save the file where
    does it have to be saved?

    Felixhj wrote:
    > I have been trying to embed a flash swf document in a
    free website hosting site
    > called Weebly. You can add html code to it and i have
    been reading up about the
    > ways to embed flash in html. I have tried all the codes
    but when you first save
    > the file where does it have to be saved?
    >
    I'm sure weebly have instruction for it and would be best to
    try to search the site.
    In most cases you upload the file to some folder and define
    the path in your embed tag,
    or upload to your hosting space and direct that path to the
    file there.
    As I said, each company practice differently, check with
    them.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How to "crop" flash file in Dreamweaver

    Is it possible to "crop" flash file in Dreamweaver, for
    example I want to eliminate the white margin on the left side of
    the swf file.
    Do I have to change the original file (in Flash). Please help
    me to solve the problem, Thanks!!!

    In the embed tag, add wmode="transparent"...this will make
    the white match your background color. It will not resize the
    stage.

  • How to pass text from flash to html?

    how to pass text from flash to html?

    This is a wonderful sample i found online.
    pls run using a server so that it can display properly
    http://active.tutsplus.com/tutorials/actionscript/flash-html-javascript-externalinterface/

  • Control Flash from HTML (k)

    I have a button in HTML that I want to use to control the
    flash on the
    page it sits on.
    When the button is rolled over, I want to pass a variable to
    the Flash
    movie so that something happens.
    How can I do this in Dreamweaver?
    -Kirk

    It's a stupid way of doing it, but I got it to work using the
    FSCommand.
    I send the user to a frame in the Flash movie. That frame has
    the
    variable set to the "On" state. I then have them go to
    another frame for
    the "Off" state.
    -Kirk
    W. Kirk Lutz wrote:
    > I know that it would be easier. But I have a very tall
    flash file of a
    > floorplan. I have a legend for the floorplan that I want
    to float in a
    > layer so that when someone scrolls down the page, the
    legend follows. I
    > Can make a scroller in flash, but would prefer to try
    and control Flash
    > via HTML.
    >
    > I know you can pass a variable in HTML to flash, but if
    it has to reload
    > the page each time the user will be throwing their
    machine out the window.
    >
    > Any way to control Flash?
    >
    > I've tried to send the user to a frame in Flash via the
    FSCommand, but
    > it doesn't seem to work. I have two scenes in my flash
    file. A loading
    > scene and the main scene. The FSCommand jumps me to the
    frame in the
    > loading Scene.
    >
    > -Kirk
    >
    >
    > -->dan mode wrote:
    >> It would be much easier to do the rollover button in
    Flash.
    >> Otherwise, you need a server side language that
    would populate a
    >> variable in the embedded swf code.
    >>
    >>

  • Please help flash and html mix

    dear Sirs,
    I appreciate really your responses and help.
    i am trying to make a website that uses flash and html at the
    same time i mean only the menu is flash and the rest is html, the
    menu and all other parts are well put in table and rows, and cols
    but the problem is that i need the button in the menu(flash) to
    load dynamicly the content into the page and not reload the whole
    stuff(including the flash menu )
    thanks for your time

    > i am trying to make a website that uses flash and html
    at the same time i mean
    > only the menu is flash and the rest is html, the menu
    and all other parts are
    > well put in table and rows, and cols but the problem is
    that i need the button
    > in the menu(flash) to load dynamicly the content into
    the page and not reload
    > the whole stuff(including the flash menu )
    > thanks for your time
    Every time you open page, flash reload from scratch. That's
    how it works.
    You can use frames and keep the menu in frame, which would be
    easiest solution.
    Or you could use Shared Object, something like flash's form
    of cookies.
    Make a record every time you press button, read that record
    every time you
    open the page and based on result do something with the menu
    to indicate
    that this is the clicked location, tho take note, it still
    will be loading
    the file from zero, every single time you open new html page.
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • When is Firefox metro going to come to 32 bit windows 8? and can improve flash and html 5 performance!

    When is Firefox metro going to come to 32 bit windows 8 and can you improve flash and html 5 performance it cant play 1080p videos smoothly I love Firefox but I'm using IE 10 for browsing and video, then Firefox for developing but want to use it for everything!

    This article might answer your Windows 8 questions:
    [[Does Firefox work on Windows 8 and Windows RT?]]
    Link: https://support.mozilla.org/kb/does-firefox-work-windows-8-and-windows-rt?
    As for performance issues in Firefox with Flash 1080p videos, Information about your graphics driver might help. See:
    *[[Use the Troubleshooting Information page to help fix Firefox issues]]
    This Adobe page might also be helpful (it recommends disabling hardware acceleration in Flash settings as a possible workaround):
    *http://helpx.adobe.com/flash-player/kb/video-playback-issues.html#main_Solve_video_playback_issues

  • Advice on integrating Flash and HTML

    I have googled and researched this topic on the web.
    Integrating Flash and HTML seems like a popular topic but much of
    the information is dated (using FS commands or solutions based on
    2000-2004 coding and/or hacks) I am using Flash CS3 and Dreamweaver
    CS3. I can use Actionscript 2 or Actionscript 3. Here is my goal
    I want to use a Flash navigation in the top third of my page
    and have it control and load new HTML pages in the bottom two
    thirds of the page. Some of these html pages use SPRY code but most
    are simple HTML pages. I prefer Flash over CSS because I have more
    control and predictability. What I have found so far is three
    different solutions.
    1.HTML Framesets. This seems like a really good idea but I
    thought using framesets was a fading technique and should be
    avoided. Is this true?
    2. Using the ExternalInterface class to communicate between
    Javascript and Actionscript. This also seemed like a good idea but
    it is not clear to me how to implement. Do I combine this with
    innerHTML or some type of AJAX technique.
    3. Keep everything in Flash and load different swfs into main
    Flash page. I like this idea the best and it would work for most
    pages but I still like html pages when there is alot of text or I
    want to use SPRY techniques.
    When I have posted elsewhere I get references to articles
    telling me why Flash is bad or framesets are bad or innerHTML is
    not standard HTML. The only thing I am sure about is that most
    people are pretty passionate about defending their own way of doing
    things. I am hoping someone can provide some solid information
    about what is possible and how to implement a solution.

    It works when you put it online... :)1

  • Export motion to flash or html 5?

    I like the creative possibilities in Motion but am wondering if there is a way to incorporate this into webpages via flash or html 5? Perhaps some sort of export or conversion?

    Most browsers can handle H.264 files, or at least .mp4 files (nowhere as good.)  It's coding for the players that's the pain...
    FFMpegX (ffmpegx.com) will convert video (.mov) to .FLV (but I'm not sure it would be the most recent type of flash file) — there are instructions how on the /flv.html page.
    For HTML5 (webm format) there is http://mirovideoconverter.com (open source/free) which, I just found and haven't tried yet (but I'm definitely going to check it out!)
    HTH

  • Crop flash movie from top ???

    I'm trying to crop my flash movie from the top. I'd like to
    crop it by 20 pixels or so. I heard there was a way to do this
    using the "SALIGN" parameter and alignment tags but I don't know to
    code it. Can someone revise my code (below) to include the proper
    parameters and tags? Thanks.
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xml:lang="en" lang="en">
    <head>
    <title>Photos</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <script src="Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    </head>
    <body bgcolor="#000000" text="#000000" topmargin="0">
    <div align="center"><script
    type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','widt h','766','height','720','src','header','quality','high','pluginspage','http://www.macromed ia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash','movie','header'
    ); //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=5,0,0,0"
    width="766" height="720">
    <param name=movie value="header.swf">
    <param name=quality value=high>
    <embed src="header.swf" quality=high pluginspage="
    http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="766" height="720">
    </embed>
    </object></noscript></div>
    </body>
    </html>

    Tzvetan,
    Goto Properties of the Gauge
    Behavior>common>Needle Movement
    Increment and value as "0"
    -Anil

  • Flash hijacking HTML links while images are loading

    I've designed a slide show player using Flash and Actionscript 3.0 which loads several external images. While the images are loading, the HTML links on my page (outside of the Flash movie) don't work. As soon as all the images are loaded, the links start working again. It seems like the Flash player is hijacking the browser while the images are loading which can take the better part of a minute depending on my connection speed. I can click an HTML link once during the loading time and as soon as the images have loaded, the browser loads the new page (the one the HTML links to). Once all the images are in my Temporary Internet Files folder, this problem ceases to exist (since the images no longer need to be downloaded). It's only first-time viewers that will have this problem, but it's a pretty major problem.
    To see what I'm talking about, go to:
    http://www.ericlindberg.com/indexTemp.html
    Click the Images button after the "Loading..." animation disappears but before all the images are loaded. As the images load the thumbnails at the bottom of the Flash player go from 50% to 100% opaque. If  you click the "Images" button before all the thumbnails are 100% opaque, nothing happens. However, once they are all loaded and the thumbnails are all 100% opaque, the "Images" page loads. You can do the same thing with any of the subpages in the Images section of the site and get the same results.
    Any advice would be greatly appreciated.
    Joe    

    I have something similar on my site.
    http://alt-web.com/gallery.shtml
    You might try using CSS rollovers instead of MM (javascript) rollovers.  Straight HTML links load fast and work immediately.
    http://alt-web.com/DEMOS/CSS-Sprites-II.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Firefox 11 beta is having issues loading Flash and HTML content, shows plain text instead of images

    I'm not sure what is causing the problem but it has been happening since beta 10 and now its also in beta 11. Randomly when I load any web page the page is displayed in plain text leaving all the HTML or flash content blank. Yes I have the most recent version of flash installed along with Java just in case it was looking for that mess as well. Sometimes the pages load fine, and sometimes they don't, it's like playing lotto with the internet. The only fix I know of is to either keep refreshing the page and "hope" it catches it on the reload, or closing Firefox and running CCleaner. Some times FF will load some of the visual data and leave gaps but usually its just basic text mode. I'm at a loss as to whether the problem is from Firefox or my ISP being a douche, either way its annoying that Firefox is not showing internet pages like it used to.
    Hate to see it happening but it looks like Firefox is on its way to being just another Internet Explorer clone (failure). Should have stayed with your original team, all the new folks you have hired are really mucking up the whole project and its goal of a free and open internet. Not to mention writing bad code and costing you money and more importantly the user base.
    (Update, now it's not doing it go figure, but I'm sure it will do it again at some point, perhaps its not Firefox and something else, I'll keep my eye on it and try to report any findings)

    If you use extensions (Tools > Add-ons > Extension) like <i>Adblock Plus</i> or <i>NoScript</i> or <i>Flash Block</i> that can block content then make sure that such extensions aren't blocking content.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Embedding Flash in HTML using Dreamweaver - stopped working

    Hi all, not really sure what's going on, but I've done this many times before and it's worked fine.
    I've previously embedding Flash videos I've created in Premiere and/or converted using other software.  I simply drag and drop the Flash file where I want it and then adjust layout using code/design etc and that's it, job done.  It's always played back fine.
    Now for some reason I've tried doing it again this morning and can't figure it out.  When I preview the file it doesn't even show the video, but instead displays all the icons for the controls at once in a grid where the video is meant to be.  I've tried in IE, Firefox and Chrome, updated drivers, windows, Adobe, Flash etc all to no avail.
    I've even tried doing it in a blank HTML page in case some of the template I might have been using was interfering for some strange reason; still no luck.  What's even stranger is that a site I created last year is also now not displaying Flash (FLV) content locally, but is working fine on the server.
    Does anyone have any ideas?
    (CS5 Dw:V11 build 4993, Win7 64bit SP1)
    I've pasted the code from the blank HTML page.  It's probably something really simple that I've not noticed:
    <!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=utf-8" />
    <title>Untitled Document</title>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="640" height="360" id="FLVPlayer">
      <param name="movie" value="FLVPlayer_Progressive.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="scale" value="noscale" />
      <param name="salign" value="lt" />
      <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;streamName=biblical_small _flash/Welcome&amp;autoPlay=false&amp;autoRewind=false" />
      <param name="swfversion" value="8,0,0,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 type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="640" height="360">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="scale" value="noscale" />
        <param name="salign" value="lt" />
        <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;streamName=biblical_small _flash/Welcome&amp;autoPlay=false&amp;autoRewind=false" />
        <param name="swfversion" value="8,0,0,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" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    <script type="text/javascript">
    swfobject.registerObject("FLVPlayer");
    </script>
    </body>
    </html>

    Im' having a VERY similar problem with a few estra 'happy' moments. I have a blog (WP). On this simple and VERY basic blog (with almost NO plug ins) I have attempted to embed FLV videos with CS$ Dreamweaver code.
    (This code is different in CS$ than it was in earlier versions as it now calls to the FLVPlayer_Progressive.swf as the player and uses Flashvars to pass the value of the FLV. PReviously, it was four simple lines of code that pointed directly to the SWF)
    Here was my process - I encoded the files with AE and Media Encoder to end up with Transparent FLV's. These, I then setup in Dreamweaver so I could copy the embed code. On my first attempt, it worked PERFECTLY. I was testing one particular flv, got the code and inserted it into the blog page with some special CSS to position it.
    The movie played perfectly.
    Then things got weird.
    I was excited I had a solution, so I went to put another video on another page. No luck. The second page was playing the video from the first page. As if I had copied the same code, but I hadn't. I copied code that was 'pointing' to the new file, but for whatever reason, the new file would not play.
    I did EVERYTHING. I deleted all the pages and strted fresh. I deleted the FLV's and reuploaded them. I created different folders and put each flv in it and created index.html files for each (assuming possibly there was a hardcoded element in the FLVPlayer_Progressive.swf). I copied and pasted back and forth for nearly 6 hours.
    Nothing. Each time I would copy and paste code into a blog page, it would simply pull the original video.
    THEN....things got worse.
    I pulled one video off of the server, and now NONE work. I can't get ANY videos to play. Worse, I still have the 'express install' link showing.
    Ok, so here is what I am trying to figure out;
    Does the NEW DW CS4 code somehow have control over the file that is called? Further, HOW can I get more than one FLV to play across a whole blog site.
    Here is a link to one of the pages that HAS code but is calling NOTHING. And please know that I have left copies of the necessary files ALL over the server. So they are in the root, in the 'files' folder, in the talent folder and everywhere.
    Is there a conflict flash hits when there are multiple FLV's being called? Is there a way to do this? Please help....
    Thank you

  • CSS, Flash, or HTML? What is causing the white vertical bar?

    I am using an I-frame to embed a photo gallery that was created with Adobe Bridge CS4. Adobe Bridge instructed me to make the iframe height = 75% of the width. The code is <iframe src="PhotoAlbum/index.html" width="900" height="675" frameborder="0"></iframe>
    #photoAlbum contains the iframe with the following properties:
    #photoAlbum {
    margin-top: 20px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    width: 900px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top-width: 2px;
    border-top-style: groove;
    border-top-color: #333;
    I tried changing the width to 960, 900, 850 etc with no success.
    I have tried making the background of #photoAlbum black with no success.
    The link to the photo album is http://www.gigharborrealestate.com/youtube/016/PhotoAlbum/index.html
    The site that I am having problems with is http://www.gigharborrealestate.com/youtube/016/ On the right side of the Trelliis Grove Photo Gallery is a white vertical bar.  If you go to /PhotoAlbum/index.html there is no white bar.
    Why does this bar show up when /PhotoAlbum/index.html is put into an I-frame? How can I get rid of the vertical bar?

    Cool so where do I start
    I found this Tutorial:
    http://www.toxiclab.org/tutorial.asp?ID=37
    But I've never done html in flash before

  • Preview of Flash in HTML

    I have a Flash movie (MX 2004) that tests perfectly. When I
    try to Publish preview in default HTML I dont get anywhere near the
    same results as when I tested the movie.
    I'm trying to preview the movie in IE. Sorry guys, don't tell
    me to switch to FireFox or something else...I am restricted to
    using IE.
    I am on deadline and could really use some suggestions.

    what does..."I dont get anywhere near the same results" mean?
    Chris Georgenes
    Adobe Community Expert
    www.mudbubble.com
    www.keyframer.com
    www.howtocheatinflash.com
    fixm wrote:
    > I have a Flash movie (MX 2004) that tests perfectly.
    When I try to Publish
    > preview in default HTML I dont get anywhere near the
    same results as when I
    > tested the movie.
    >
    > I'm trying to preview the movie in IE. Sorry guys, don't
    tell me to switch to
    > FireFox or something else...I am restricted to using IE.
    >
    > I am on deadline and could really use some suggestions.
    >

Maybe you are looking for

  • Error using database link

    Before creating the link, I went into my init.ora file and made sure the GLOBAL_NAMES entry was false. I then created a database link using the following: create public database link cindy_link connect to system identified by syspswd using 'PRECISEI'

  • Solaris Management Console initialization

    Pulling hair out .. please help. i have applied the patches for smc/wbem/viper (i think). I am having a problem starting the SMC server. I finally managed to direct the error output and see this: Starting SMC server version 2.0.0. endpoint created: :

  • Modify a value of a field in dynpro, from a User-Exit

    Hi guys, i have a problem and i wish you can help me. In transaction IW32, I am using EXIT_SAPLCOIH_002 to generate a stock transfer order with BAPI_PO_CREATE1. Once this bapi is used, it gives me the number of the document created. I need to put thi

  • Pg_upgrade fails for "$libdir/postgis-2.0"

    Hello I was trying to update my system, when found that postgresql needs a little tweaking from 9.2 to 9.3. Following the instructions on the wiki, I ran pg_upgrade: [26] root@xxxlinux : /home/ognyan $ su - postgres -c 'pg_upgrade -b /opt/pgsql-9.2/b

  • Understanding the TextLoc.offset property

    I am working on a script that, among other things, converts autonumber strings in a structured document into regular text. One thing that has been surprisingly unintuitive is setting up the TextLoc object that is passed to the AddText() function in o