Urgent! HTML table cell - Flash movie display browser dependent

Hi all,
I wonder if anyone has experienced the same problem i have
(note, Windows XP, Dreamweaver 4).
Consider the (rough) HTML code attached: A simple HTML table
of one column and two rows is constructed to hold an image banner
link and a Flash movie banner link in each cell consecutively.
The Flash movie works normally when the HTML page is viewed
in IE and Opera, until that is, it is placed inside a table cell.
Inside the cell the flash movie seems to disappear, though i
suspect it collapses to an image 1 pixel in height, as this can
just about be seen using Opera.
Is there something that I am missing? The code of course
seems correct to me - perhaps there is a browser setting i am
missing?
Any help apprceiated - as i need to implement this code ..
Daz

Hi Alan,
Dont think that was the problem (percentages used to scale to
users browser?) ... though you did set me thinking!
Was tired before, so only just remembered that when i was
experimenting with setting the Table Properties the image was
actually occasionally visible!!
Short version: When formatting a cell containing a Flash
animation dont leave the H field blank or use % (even though you're
suppose to be able to!), use pixels instead - otherwise the Flash
image collapses/disappears. Blank and % are fine everywhere else
(I did type a long answer before, but it got eaten by the
forum monster
Someone/i will probably figure out
why this is so or maybe i've just rediscovered the wheel
here - but thats not really important now - because my Flash
animation now renders similarly across IE, Opera and FireFox !!
So thanks for your help!
Daren

Similar Messages

  • How can HTML call a Flash movie?

    Greetings Everyone!
    I'm sincerely hoping that someone has the answer for me. I'm
    a newbie, but trying so very hard to understand... :) I've read
    books, pages & pages of this forum, 'net searches - I haven't
    found a complete answer to my challenge so far - thanks in advance
    for any help you can give...
    Here's where things are:
    1) I've created a series of swf Flash movies that loop (at a
    particular size so they can play inside of an html table cell)
    2) I've created html buttons in another cell
    What I'm trying to do:
    1) Like a swap file in HTML (where you click a button and an
    image changes elsewhere on the page, click another button, and that
    image swaps to a different image file)
    I want to have a flash movie play on a click of a button, click
    another button, and a different flash movie plays in the same
    spot.
    The challenge is the interaction between Dreamweaver and
    Flash and getting HTML to talk to Flash.
    Here's the code direction I've been heading ...
    ...IN MY HTML code...
    I have a onMouseClick event for each button link. In this
    code I set some variable names inside it.
    onMouseClick="setFlashVariables('sendmovie','myMovie=activeMovie1')"
    ---- this would be for button 1.
    onMouseClick=
    "setFlashVariables('sendmovie','myMovie=activeMovie2')" ---- this
    would be for button 2
    onMouseClick
    ="setFlashVariables('sendmovie','myMovie=activeMovie3')" ---- this
    would be for button 3
    Basically, I'm setting a 'myMovie' variable to 'activeMovie1'
    or 'activeMovie2' or 'activeMovie3' when one of the buttons is
    clicked.
    If 'myMovie' variable is equal to 'activeMovie1' by clicking
    a link, this will tell a flash movie: (" Hey flash! Variable
    'myMovie' is equal to 'activeMovie1'. Act accordingly."). When the
    2nd button is clicked, 'myMovie' will be equal to 'activeMovie2'
    and so on.
    I need to declare the 'myMovie' variable in my flash movie -
    how do I do that?
    ...IN FLASH...
    1. I need to create one variable which will act as a variable
    receiver from HTML. (What I called "myMovie")
    2. I gather I need to create an IF statement so that
    "myMovie" is set to which "activeMovie" ( it could be
    activeMovie1/activeMovie2/activeMovie3 etc ) ,
    ----->Question:
    Where should the IF statement be and
    How should it be written?
    Admittedly I don't know Action Script 3 very well.
    if myMovie is equal to "activeMovie1"
    then load a movie. (This movie will be a movie related to my
    1 Button.)
    else if myMovie is equal to "activeMovie2"
    then load a movie. ((This movie will be a movie related to
    your 2 Button.)
    else if myMovie is equal to "activeMovie3"
    then load a movie. ((This movie will be a movie related to
    your 3 Button.)
    Here's where I'm stuck....
    1) If I've already made my movies into swf files where does
    an IF statement go?
    2) I'm missing the mechanics of how to connect the dots here
    - how do I get button 1 to load movie 1 and start playing
    automatically? When I click button 2, movie 1 is replaced by movie
    2 and starts playing automatically.
    It's a detailed explanation (I know) - I'm hoping someone has
    an answer for me that's equally explicit. Thanks so much much for
    taking the time to read it!!

    Anybody?

  • Read Only and HTML Table Cell Attributes

    Hi Guys,
    I believe i have come accross a bug - i'm been working on a form that can be filled out and printed - when going into print for sake of the output looking nice i set the form element to read-only.
    As soon as an element such as a drop down box, text feild, text area, etc which display as "[selected value]" in plain text in read only mode, are changed to the read only mode apex seem to ignore the html table cell attributes.
    For example i have a id number in the top left and then a version number in the top right. Both use a text feild; the top left uses 'width="100%"' for it's HTML Table Cell Attribute to push the right cell to the right. and the right cell has 'align="right"'. Now this works fine when read only is off... but as soon as read only is on, both the width and the alignment are totally ignored, and i can't find any sign of them in the code.
    Because this is for printing; using the "disable" on the form element instead of "read only" function, isn't appropriate as disabled will make the elements faded and hard to read when printed, and keeping the elements as is will allow the user to edit information on the print screen - which is not appropriate.
    Is this a bug? Will it be fixed soon? Is there any work around?
    Cheers,
    Alex

    Use the "Read Only Element Table Cell(s) Attributes" in the Read Only region of the Item edit form.
    Scott

  • Flash movie display issues in IE

    Hi Everyone!
    This message is a cross-post and I apologize, but there seems
    to be more traffic in this forum and I really could use some input
    on my question. Here goes:
    I'm new to this forum, but have a little experience with
    Flash. I'm building a site, mixing flash with css and html on a
    webpage (obviously). When I test the pages in Internet Explorer,
    the display jumps around quite a bit when I navigate between web
    pages (looks fine when clicking through frames in the movies). This
    is the first time I've ever seen this (in the few times I've built
    flash-heavy sites) and this display issue doesn't happen in
    Firefox, Opera or even old Netscape. Unfortunately - most of the
    world is using IE, so I need a little help.
    I thought perhaps the Flash Satay solution might be the
    answer, but I'm not a handy programmer so before I go mucking
    around with it, I thought I'd get some thoughts from other flash
    users...
    Here's the link: mustardseedwoodworking.com/testing The pages
    in question (and the only ones that are working, really) are the
    home page, the about page, and then galleries one and two.
    (Oh finally, I'm viewing these pages both locally, on my
    computer and online after being uploaded. I have cable internet
    access. I realize Gallery 2 loads a bit more slowly than Gallery 1,
    but the primary reason I'm using flash to display the tables is
    because I want large, high rez photos. )
    Thanks in advance!
    Michelle

    Did you upload the Scripts folder that DW places in the root
    of your site?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Dunk11" <[email protected]> wrote in
    message
    news:eavmev$olm$[email protected]..
    >I need some help getting Internet Explorer to show my
    flash movie.
    >Everything
    > looks fine in FireFox, but when I test it in IE my
    movies will not load.
    > I can
    > however go directly to the .swf file in IE and it will
    load. But when I
    > try to
    > view in on the actual webpage it will not. Here is the
    link
    >
    http://www.duncanandthompson.com/test/test.htm
    > Thanks
    >

  • Centering a Flash movie in Browser??

    If all I have embedded in an html page is a small Flash
    movie, how do get it to center in a browser so it's not flushed
    left??
    Any help on this would be great. Thanks!

    > If all I have embedded in an html page is a small Flash
    movie, how do get
    > it to center in a browser so it's not flushed left??
    I create a Div (or a table) and center that.

  • How to center flash movie in browser window

    Can anyone explain how to horizontally center my Flash movie in the web browser window after publishing?
    A bit of background:
    I was able to achieve this using <center></center> tags a few years ago. But I have since upgraded to CS5 and I understand that this old method is now obsolete.
    I have found a few threads/forums that address this, but I know nothing about HTML and these threads don't help me because they assume you have more knowledge than I possess. When opening up the index.html file in Dreamweaver I can't find anything that looks vaguely familiar to what is being discussed. I have found some code samples using <div></div> tags but have no idea where to place it.
    So I will need it explained to me in a step by step fashion, including which file I need to fix and what program I should use. Code samples will be very welcome if you can tell me exactly where it goes.
    Thanks in advance...

    Just realized that there is no scrolling functionality with the .swf generated from the new CS5. Can anyone help out by providing revised code for centering and scrolling?
    I found something elsewhere in the forums that worked for both centering and scrolling that worked fine yesterday, but upon visiting my site today for testing, it did not allow the scrolling, and centering did not work in Firefox. Tested both Safari and Firefox on 2 Macs running Snow Leopard.
    Again, much appreciated - nice to visit forums where people are interested in helping instead of screaming at each other. Will visit the Illustrator or Indesign forum to see if I can help out someone there...

  • Table cell flashing

    Hi,
    Before I start to hack away a solution that might not be fx-like, I'd like to get your expert opinion about implementing cell flashing for a table view.
    I have done this several times in Swing (using a timer, a customer renderer, switching the bg/fg colors 3 times, and firing up an even table cell update), but how do implement this feature in JavaFX?
    * The table cell renderer (override def call (...)) could be used
    * The bg/fg color switch can be done using different css styles
    * what would be the best way to implement the timer and ask the view to "repaint" a specific cell?
    Thx v much

    Below is a bit of code that does something like what you want (the port to groovy should be easy). It may need some testing/tweaking for a real scenario and I'm not sure just how many animated cells you could have going at a time before performance becomes an issue (maybe someone from the JFX team could comment on this?).
    Also, regarding the use of styles for animating the change, you should be aware of this: Removing CSS style classes?
    Basically you need to make sure your 'default' style has values set for everything your 'highlight' style messes with, otherwise the highlight won't get turned off.
    import javafx.animation.FadeTransition;
    import javafx.animation.Timeline;
    import javafx.application.Application;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.control.TableCell;
    import javafx.scene.control.TableColumn;
    import javafx.scene.control.TableView;
    import javafx.scene.control.cell.PropertyValueFactory;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    import javafx.util.Callback;
    import javafx.util.Duration;
    public class TestApp extends Application
        public static void main(String[] args)
            Application.launch(args);
        @Override
        public void start(Stage stage) throws Exception
            BorderPane root = new BorderPane();
            TableView<Person> table = new TableView<Person>();
            table.getItems().addAll(
                    new Person("Cathy", "Freeman"),
                    new Person("Albert", "Namatjira"),
                    new Person("Noel", "Pearson"),
                    new Person("Oodgeroo", "Nooncal")
            TableColumn<Person, String> firstNameCol = new TableColumn<Person, String>("First Name");
            firstNameCol.setCellValueFactory(
                    new PropertyValueFactory<Person, String>("firstName")
            table.getColumns().add(firstNameCol);
            TableColumn<Person, String> lastNameCol = new TableColumn<Person, String>("Last Name");
            lastNameCol.setCellValueFactory(
                    new PropertyValueFactory<Person, String>("lastName")
            lastNameCol.setCellFactory(new Callback<TableColumn<Person, String>, TableCell<Person, String>>()
                public TableCell<Person, String> call(TableColumn<Person, String> column)
                    final FlashingLabel label = new FlashingLabel();
                    label.setStyle("-fx-background-color: #ffaaaa");
                    TableCell<Person, String> cell = new TableCell<Person, String>()
                        protected void updateItem(String value, boolean empty)
                            super.updateItem(value, empty);
                            label.setText(value);
                            label.setVisible(!empty);
                    cell.setGraphic(label);
                    return cell;
            table.getColumns().add(lastNameCol);
            root.setCenter(table);
            Scene scene = new Scene(root, 800, 600);
            scene.getStylesheets().add("styles.css");
            stage.setScene(scene);
            stage.show();
        public class FlashingLabel extends Label
            private FadeTransition animation;
            public FlashingLabel()
                animation = new FadeTransition(Duration.millis(1000), this);
                animation.setFromValue(1.0);
                animation.setToValue(0);
                animation.setCycleCount(Timeline.INDEFINITE);
                animation.setAutoReverse(true);
                animation.play();
                visibleProperty().addListener(new ChangeListener<Boolean>()
                    public void changed(ObservableValue<? extends Boolean> source, Boolean oldValue, Boolean newValue)
                        if (newValue)
                            animation.playFromStart();
                        else
                            animation.stop();
        public class Person
            private String firstName;
            private String lastName;
            private Person(String firstName, String lastName)
                this.firstName = firstName;
                this.lastName = lastName;
            public String getFirstName()
                return firstName;
            public String getLastName()
                return lastName;
    }

  • AP with Flash movie displays up or down 8 pixels

    I've finally got my website up, with a flash movie (swf) of a
    slideshow. It looks incorrect in DW (CS4), the movie is too low,
    but displays correctly in Firefox and Safari (mac) - except in
    Explorer (on a pc), where it displays too low: exactly like it
    shows in DW. The background is a PS work, including a 'frame' to
    play the movie within. Problem...
    http://cinzophoto.com
    Thanks for any help. I can't find anything in the code doing
    this.
    Laurence

    OK,  and Thanks again
    //add the listener for each button
    nav_button[i].addEventListener(MouseEvent.CLICK, menuClick); 
         addChild(nav_button[i]);
    //menuClick Code
    function menuClick(e:MouseEvent):void
    e.target.removeEventListener(MouseEvent.CLICK, menuClick);
    this.addEventListener(MouseEvent.MOUSE_UP, resetButton);  //removes children from the navGroup movie clip
    this.addEventListener(MouseEvent.ROLL_OUT, menuOut, false, 0, true); //retracts the drop down list
    setButtonIndex(e.target.name);
    addLinks(e.target.name);  // adds drop down links to the navGroup movie clip
    TweenLite.to(navGroup, .4, {y:navGroup.height,onComplete:showMe()});  //shows the drop down link list movie clips
    //relate the above line to the target name
    lastTarget = e.target.name;
    Note: the displacement happens whenever I add a child to the stage, either the navGroup or the mask clip (dmask). The mask clip
    is a rectangle with a fill.
    Thanks
    eholz1

  • Getting html into a flash movie

    A client is concerned with getting some html text picked up
    by the search engines. I've already created a flash site they are
    happy with. Now they are asking if I can actually make part of
    their flash site include some html text layed over the flash movie
    or something like that.
    All I could think of was some way (perhaps with javaScript)
    of making the buttons in the swf movie load html text.
    Does anyone know if this is possible?
    Thanks.
    A
    P.S. Someone mentioned the "SWFObject method" but I was
    curious if there was another way to do this. Remember the main
    concern here is that search engines can pick up the text.

    >> P.S. Someone mentioned the "SWFObject method" but I
    was curious if there
    >> was
    another way to do this. Remember the main concern here is
    that search
    engines
    can pick up the text.
    That's the way to go if you want search engines to spider a
    Flash site.
    SWFObject writes the Flash content to a <DIV> on your
    page. Inside that div
    element, you place your HTML page... you can do dynamic stuff
    with PHP,
    whatever. If your user doesn't have Flash, or if a spider
    hits the page,
    they will see the HTML content within the div. If they do
    have Flash, then
    SWFObject overwrites the div with the Flash, and your user
    sees the Flash.
    Works a treat...
    If you want an example: www.arandell.com
    Turn off JavaScript and refresh, and you'll see the HTML
    version. Google
    spiders this site perfectly.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Can I place a button within a specific html table cell?

    Hi folks,
    Subject says it all, I'm trying to place a button in a specific table cell, and don't know how to do it. It's weird that apex has all of the items that you can code directly using apex_item, but not a button. Am I missing something simple?
    Any help would be appreciated,
    Regards,
    -Adam vonNieda

    Depending on what theme you are using the code that makes up a button will vary, some are only input items, some are three table cells. You can examine the source of your page to see what your theme does.
    I have successfully put the following code in a report column header.
    <input type="button" id="DELETE" onclick="doSubmit('DELETE');" value="Delete"/>I use this as the header for a column of check boxes, so the user can select records and delete the selected.
    What Theme are you using, and what do you want the button to do (just submit the page)

  • Showing HTML behind a flash movie

    Hi,
    I have a div layer containing a flash file which sits on top of some HTML. When the flash file is clicked, an animation is played. After this animation i want the flash file to disapear and the HTML behind the flash file to become clickable.
    The flash is an animation of a door opening, to reveal the HTML below it.
    I can make a flash file with a transparent background but the HTML below the flash layer is unclickable.
    Any ideas how i can make this clickable without refreshing the page? I have attached an example of my situation.
    Thanks,
    Tony

    >> P.S. Someone mentioned the "SWFObject method" but I
    was curious if there
    >> was
    another way to do this. Remember the main concern here is
    that search
    engines
    can pick up the text.
    That's the way to go if you want search engines to spider a
    Flash site.
    SWFObject writes the Flash content to a <DIV> on your
    page. Inside that div
    element, you place your HTML page... you can do dynamic stuff
    with PHP,
    whatever. If your user doesn't have Flash, or if a spider
    hits the page,
    they will see the HTML content within the div. If they do
    have Flash, then
    SWFObject overwrites the div with the Flash, and your user
    sees the Flash.
    Works a treat...
    If you want an example: www.arandell.com
    Turn off JavaScript and refresh, and you'll see the HTML
    version. Google
    spiders this site perfectly.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Flash movie height & browser scrollbar

    I have an image gallery with a bunch of thumbnails displayed
    on the page in a grid-like layout. Currently, the swf sits in a
    HTML page set at 100% width and height. There's a resize listener
    that adjusts the layout so that the thumbnails all fit on the page
    at once. So, as the browser window gets narrower, the columns
    decrease and rows increase as the thumbnails get pushed down the
    page.
    The problem is, once the thumbnails get pushed far down far
    enough to go past the bottom of the browser, the overflow is hidden
    and the thumbs "below the fold" are not accessible.
    Is there a way to pass the dynamic height of the SWF, so that
    the browser detects whether or not it should display the side
    scroll bar?

    I think what you did must work (about setting the SWF width
    and height to 100% HTML).

  • Flash movie display

    hello
    i have built this site, www.emsworthcricketclub.com
    for internet explorer 8, and below, there is a short flash film.
    can anyone help me get rid of the horrible borders at the top?
    thanks
    malcolm

    I believe it has to do with the js call to the swf not
    updating although I don’t understand why there is a change to
    be updated when the triggering event is a null change to the
    template. Active content to run in files on my computer was not
    enabled, but enabling it does not correct the problem. The problem
    is exhibited in IE, Firefox, and Netscape. I have not tested
    others.
    I have tried using both site relative & document relative
    paths, both methods exhibit the same problem, an invisible swf in
    the preview.
    I have found a work around to bring back the swf display in
    preview. Within Dreamweaver Local Files, move the template files
    from the Template directory to the root directory, and then move it
    back to the template directory. The links are updated with each
    move and I find it’s best to not have any files or pages open
    in the Dreamweaver display.
    Yesterday I reported the issue was relative to preview only,
    but I retract that today. Yesterday I built a sample site to
    exhibit the problem but the problem only occurs in preview and not
    on the sample site, www.kenbits.com. The site I’m working on
    today exhibits the problem both in preview and on the site. Here
    are two sample pages,
    home.comcast.net/~woods_of_pardee/indexok.htm, &
    home.comcast.net/~woods_of_pardee/indexbroken.htm.
    Thank you for your continued support and research on my
    problem.

  • Flash movie display in Mozilla Firefox

    I have a website that has a flash embedded header. It display
    fine in IE but in mozilla Firefox it display the header twice. here
    is the link to the website:
    http://anationtv.com.
    Please advise, thank you...

    Thomas,
    Thank you so much!!! IE never complaint before so I though I
    was fine. Thanks again...
    Cheers!

  • HTML banner [into] flash movie

    Greetings all!
    To put it simply, and after much research but little find, I have this question for you all.
    How do I take this:
    [The code: (url=http://www.gametracker.com/server_info/74.201.57.185:27017/][img]http://cache.www.gametracker.com/server_info/74.201.57.185:27017/b_350_20_0B4D8E_2ED0E0_FF FFFF_000000.png[/img][/url)]   - for a forum setting..... OR    -    <a href="http://www.gametracker.com/server_info/74.201.57.185:27017/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/74.201.57.185:27017/b_350_20_0B4D8E_2ED0E0_FF FFFF_000000.png" border="0" width="350" height="20" alt=""/></a>  for a website setting.
    and insert it in one of the frames of my movie to show once the movie reaches that frame?

    var myLoader : Loader = new Loader ( ) ;
    myLoader . contentLoaderInfo . addEventListener ( ProgressEvent . PROGRESS , onProgressStatus ) ;
    myLoader . contentLoaderInfo . addEventListener ( Event . COMPLETE , onLoaderReady ) ;
    var fileRequest : URLRequest = new URLRequest ( "http://www.gametracker.com/server_info/74.201.57.185:27017" ) ;
    myLoader. load ( fileRequest ) ;
    public function onProgressStatus ( e : ProgressEvent ) {
    // this is where progress will be monitored
    trace ( e . bytesLoaded , e . bytesTotal ) ;
    public function onLoaderReady ( e : Event ) {
    // the image is now loaded, so let's add it to the display tree!
    addChild ( myLoader ) ;

Maybe you are looking for

  • No internet access for vlan devices

    Hey folks,  I'm new to cisco and have only recently started study for my ccna. In preperation for this i've gotten my hands on a cisco emi 3550-48 port switch so i can play and test some scenario's.  Now, I've setup a couple of vlans (200,201 and 202

  • Tax category DE 2 is not defined for country 1

    Hi to all, We are in retail project while changing the article master following data is coming automatically to tax data in general data DE Germany MWST Output Tax O Unbranded Other. When I save the article master, i am getting following error. Tax c

  • Problems importing my class

    Hello I'm writting just a simple game to get me back into java using Linux 7.0 When using windows a while back it compile ok buy wont on my Linux I have provided just the import statements because i know the rest of the code is fine. import java.awt.

  • Ios 8.3 homescreen top dropshadow

    i'm not sure what the proper terminology is for this, but the top-dropshadow on my homescreen disappeared in the ios 8.3 update and there doesn't seem to be anyway to adjust the settings to bring it back. it is now very difficult to read the signal s

  • New ipod - prolem with upgradin to 8.0 and hebrew,,

    hello all i'm using the itunes for a long time and erevytime that i upgraded it it worked great. i now have itunes 7.7 and i wanted to upgrade it to 8.0 i downloaded the program and when i istall it an error message apper ..it says: "there is a probl