Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Embed Swf Into Centre Of Html Table



ok - i've got my sexy little swf all finished and it's sitting nicely in the centre of a table in a html file the swf is 760px x 420 px so in theory when a user with a 800 x 600 res opens it - it will fit snugly into their browser window but i want to set it up so if someone with a larger scren res opens it - it will simply sit smack bang in the middle of their browser window i have the table width set to 100% any ideas - my brain is fried



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 04-14-2005, 07:59 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Embed Swf Into Centre Of Html Table
ok - i've got my sexy little swf all finished and it's sitting nicely in the centre of a table in a html file

the swf is 760px x 420 px

so in theory when a user with a 800 x 600 res opens it - it will fit snugly into their browser window

but i want to set it up so if someone with a larger scren res opens it - it will simply sit smack bang in the middle of their browser window

i have the table width set to 100%

any ideas - my brain is fried

Embed Html Table In Flash?
I bought a CD w/FlashMX sample sites. The swf files have animation at the top w/thumbnails underneath with plenty of links and rollovers. But the fla file on my CD shows only the top animation. Is something missing or do I change all the bottom stuff in Dreamweaver and bring it into Flash?

How To Insert My SWF In A Table From HTML (EMBED)?
Dear friends, I created my SWF on the Flash 8. Now I am using Dreamweaver CS3, to publish my swf on the center of the HTML.
Bellow follow a part of my HTML code.

<center><table width="900" border="0">
<tr>
<td> ************* which code should I insert here to insert my swf from Flash 8 ? ******************** <td>
</tr>
</table>
</center>

Thank you for the attention,
Best Regards.

Can I Embed Flash In A Table?
I'm wondering if there's something special you have to do to embed a flash file into a table? I thought I knew HTML well enough, but I can't figure out what's missing or wrong with my coding to make this work. It loads the page, and tells me that there is flash there if I right click on it, but there's nothing there but blank white page.

I've attached the txt version of my coding, please take a look and tell me if there's something obvious that's wrong.

I appreciate any help immensely.

(Just think, if you guys keep helping me figure this stuff out, eventually I'll know enough to return the favor to someone else, heh...)

Can You Embed Flash In The Background Of A Table Or Cell?
I would like to have a flash movie sit in the background of an html page with content sitting over top. I tried with layers but learnt by default swf will always sit over top.
So i thought maybe by embedding flash in the background of a table or cell with a nestled table sitting over top with the content.
Is this possible?

thanks in advance

Display Html Table In Html Enabled Textfield. Alternative?
hello!

i'm facing an issue due to the shortcomings of html tag support in flash.
The xml file containing the content to be displayed in a textfield (with html enabled) on the stage, contains a table. Right now, it displays each cell underneath each other, as if it were a paragraph. Any idea if there is a way to do this?

Also, is it possible to display an image inside a textfield (loading a img src="myimage.jpg" ) ?

thanks a lot!

alex

Centre Flash On HTML
I have created a basic site backdrop to put other movies on top. I use firefox mainly and these days it seems as important to design for this as much as IE. I want my flash file centered vertically and horizontally on the page. - The problem i have is with multiple tabs the size is smaller so my flash file doesnt fit exactly and looks off-centre to the viewer.
any ideas?

Centre Flash Movie In Html Doc
Hello,
I have created a flash movie, but before I upload it I want to centre it within a html doc. It won't let me centre it. I am using dreamweaver.
It just automatically loads to the left, and I want it so that whatever size monitor it is displayed on it will centre within it.

Also is it possible to make it scale, depending on size of monitor. I know I can do that by sending viewer to swf file rather than html, but this has to be html.


thanks for any help

Centre Flash File In HTML Pop-up?
I want to have my flsh site centred in the middle of the opening pop up window. It centres on the horizontal but not on the vertical.
Any one know why?
I have put in the <center> bits in HTML before and after the two <objects> , but still no joy:

http://www.groovegrocer.pwp.blueyond...MainSite2.html

Flash File In Centre Of Html Issue With MX2004
hi. in dreamweaver MX I often create a table 100% wide and 100% high, then centre align, to place my flash in the centre...i.e. the flash is in the very centre no matter the browser size.

When I follow the same steps in dreamweaver MX 2004 my object always sits at the very top no matter what I do...I have looked at the code and can't figure it out. If copy the html code from dw MX then the table works fine....so something is different with MX 2004?

Anyone got any ideas?? Seems simple but frustrating for me...????

Embedding Flash In Dead Centre Of HTML Page
Hi guys, how would I go about doing this? I can get it horizontally centre but I have no idea to make it vertically centre relative to the browser height. Tried putting it in a table with 100% height but it doesn't work!

Centre Flash Movie In Middle Of Html Page?
Hi everyone.
I've just followed lee's tutorial on full browser flash. I have applied this technique to my site and all has worked well. The flash movie takes up the whole browser window, i have fixed the active x problem in IE and everything works as per normal.
I have one very annoying problem though, and that is that whenever i publish my .swf from flash, it creates my index.html page which is all good, but i can not figure out how on earth i center the swf file in the middle on the html page with an equal margin between the bottom of the swf file and the top of the swf file.
To see what i'm talking about here, goto http://www.jacksrambles.com
As you can see the swf file take up the whole browser window, and the tile graphic is tiled correctly, but the actual swf file sit at the top left of the browser window.
Any ideas?
Thanks, JacoX

HTML Table
I've been looking around the forums and the only way I'm seeing to have HTML tables in flash is to buy that component. Am I missing something? I need to be able to copy paste HTML table code right into flash, so my "client" can easily update it...

An HTML Table In Flash?
I'm potentially developing an application that will be displaying lots of data to the user. I'm looking to find or develop some reusable code that mimics some of the HTML Table functionality.

So basically, I'm looking for a system that can:
- Take an array of data
- Create a grid or rows and columns based on that data
- Size the rows and columns based on a spec.
- Allow for customizable colors.

I've scoured the movies section of flashkit for such a beast, but to no avail. Any help appreciated.

If I don't find something, maybe I'll code it (possibly using the new drawing capabilities of mx). Any thoughts welcome.

- Matt C

Simple HTML Table Help
For my non-flash site, I am creating everything in a complex set of tables, but I always run into problems when I want images to seamlessly link between table cells. I already use "border=0 cellspacing=0 cellpadding=0" in the actual table tags and I set the cells to the exact same size as the images I put in them. It still leaves a small gap between the cells though, which looks bad. Is there something I am missing for this to work such as another thing to put in the table tags?

Reading An HTML Table
Hey there, thanks 4 taking the time.

-How can I read an HTML generated table, to display it
in a Flash movie ?

I followed a tutorial about reading text files, but
it doesn't seem to work with HTML files.

An application reads an Oracle database which generates
a report in HTML in a table format. Should it be easier
to read the information directly from the DB ??
...I really don't think so he he, at least for me
because I have no idea about database managers. That's
why I thought reading the generated table from the
HTML file should be easier...but how ??

Thanks a lot !!

How To Read HTML Table
Hey there, thanks 4 taking the time.

-How can I read an HTML generated table, to display it
in a Flash movie ?

I followed a tutorial about reading text files, but
it doesn't seem to work with HTML files.

An application reads an Oracle database which generates
a report in HTML in a table format. Should it be easier
to read the information directly from the DB ??
...I really don't think so he he, at least for me
because I have no idea about database managers. That's
why I thought reading the generated table from the
HTML file should be easier...but how ??

Thanks a lot !!

Table TAG Problem In HTML
hi plz help me that how can i place flash swf file in TABLE TAG of HTML
i m facing problem in it plz tell me hurry
thanks

Html <table> In Flash
hi
í need to make a table on my flash site but everything i tried wasn´t successfull.
can i put it into a dynamic text-field? if so how do i put in the full html-code?

thanx

Load Swf Into Html Table
hello experts,
this is my problem, i'v build a website where the menu is a flash movi inserted into a html page, in the same page i've a table called 'content', i'm using no frames, is there a way to load a certain swf movi into that content table from the flash movi with get url... but what will be the target

thx

SWF That Scales In Html Table
I'm creating a website that contains html and a flash SWF. The flash SWF is in an html table. The table will expand and contract as the browser is resized.
Is it possible to use actionscript to tell the SWF to scale along with the table.
(I'm using Flash 8),
thanks

Embeding In A .html Table?
Hey Dudes!

FLASH 8

I am using the detect for flash setting in my .html so the people who dont have flash player 9 can GET IT.

Is it possible in the string below, To tell flash to embed the .swf in a particular table in my .html?




+ '<embed src="Intro.swf" quality="high" bgcolor="#282828" '
+ 'width="1024" height="100%" name="Intro" align="center"'
+ 'play="true"'
+ 'loop="false"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
+ '</embed>'
+ '</object>';

Import Html Table
Hi all,
I found the way how to load html page into dynamic text box. But flash supports only basic html tags where aren't table tags <tr><td>. How can I display table in flash loading from external data? XML? Thanks for any ideas. I'm using Flash 8.

chulimanga

.swf As HTML Table Background
My goal is to have this BG.swf file as the background for an HTML table which I'll then put some context over the BG.swf background.....if possible.

Here's my HTML so far:

<body>
<table width="780px" height="96px" background="BG.swf">
<TR>
<TD>

      <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','780','height','96','src','BG','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','BG','wmode','transparent' ); //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="780" height="96">
        <param name="movie" value="BG.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="transparent">
        <param name="SCALE" value="noborder">
        <embed src="BG.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
        type="application/x-shockwave-flash" width="780" height="96" wmode="transparent" scale="noborder" align="top"></embed>
      </object>
</noscript>
</TD>
</TR>
</table>
</body>

**********************************************
**********************************************

I actually need this above table to have the BG.swf file as the background if possible and this below table as the text:

<table width="780" cellspacing="0" cellpadding="0" height="40" border="0" align="center">
  <tr>
    <td bgcolor="#C89292" height="24" class="text" align="center">Club Text:<br/>
    <table width="100%" border="0" summary="All of our great sponsors!">
      <caption>
        <span class="style4">Please visit our great sponsors:        </span>
      </caption>
      <tr>
        <td>Sponsor 1</td>
        <td>Sponsor 2</td>
        <td>Sponsor 3</td>
        <td>Sponsor 4</td>
      </tr>
    </table></td>
  </tr>
</table>

Thanks!



HTML Table Parser
don't get excited, I've not built it yet.....but before I do - has anyone else? I figure it can't be that tricky in mx.....

Html Table Into Flash?
Is there a way to get a nicely formated html table into a flash text box?

Fla Navigation With HTML Content In Table
Hello, I'm wondering if this can be done: I need to have a flash navigation bar at the top of the table, with HTML content in other parts of the table. I know this much can be done. However, i would like to be able to navigate through the different HTML content pages via the flash navigation bar, without reloading the flash bar every time i load a new HTML page. Can this be done, since they would be in the same table? Any example code would be great, as I am obviously just learning this stuff. Thanks!

eric

Layering SWF On Top Of Html Table Cell
I am trying to layer an .swf file on top of an html table cell. I would prefer not to use absolute positioning because all browsers display their pixels and margins differently. I need this to line up perfectly in the table. Is there another, more simple way to do this? I don't need the flash file to be transparent at all. I just want there to be something (the html) underneath the .swf in case a user does not have the plug-in installed.

All I really need to know is how to make an .swf file overlay something in a html table cell.

Thanks!

Render HTML Table In Flash
Hi all,
Anyone here who knows how to work with HTML tables in Flash, I think there are some components developed by using XML and Flash Action Scripting.

Initially i requires the following functionality from HTML tables:
(1) Support for percentage widths on tables
(2) Support for nesting
(3) Support for IMAGES in cells(JPEG only. GIF/PNG later with Claus Wahler's projected upgrade to jpg2swf)
(4) Change the root node to "<BODY>" to allow complete document rendering. Not just tables.
(5) Support for inline styles
(6) Support for table scrollable

Thankx in Advance
MFQadeer

Render HTML Table In Flash
Hi all,
Anyone here who knows how to render HTML tables in Flash, I think there are some components developed by using XML and Flash Action Scripting.

Initially i require the following functionality from HTML tables:
(1) Support for percentage widths on tables
(2) Support for nesting
(3) Support for IMAGES in cells(JPEG only. GIF/PNG)
(4) Change the root node to "<BODY>" to allow complete document rendering. Not just tables.
(5) Support for inline styles
(6) Support for table scrollable

Thanx in Advance
MFQadeer

HTML Centering Table Question
I know this isnt Flash related (yet), but i need a little help. I made a temp page for a project i'm about to start on. I thought that i could make a table with 100% width and 100%height, then make a table insdie of that, the same dimensions as the one image i want to insert, and make it always be dead center of the page... It aint working.. here's my code. anyone wanna troubleshoot my html? Its been a while.


PHP Code:




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Rowdy House Productions</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<div align="center">
  <table width="100%" height="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td><div align="center"></div>        <table width="700" height="450" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="452">            <img src="images/coming_soon.jpg" alt="Rowdy House Productions.... Coming Soon...." width="700" height="450">          </td>
        </tr>
      </table></td>
    </tr>
  </table>
</div>
</body>
</html>






to see how its appearing, check out http://www.rowdyhouseproductions.com

thanks,
-myk

FlashMX Menu For HTML Table?
I've looked and can't find help with making a nice flash menu, that loads the requested link in another portion of the page. Maybe in iTables? I'm not quite sure how it works. Maybe php? (I don't know php much if at all).

I've done some pages entirely out of flash but most of the people that contacted me were useing dial up and it was very bandwidth entencive.

Thanks for any and all help,
Justin

HTML Related, Table Problem
Hi,

!!First, I know I'm posting on the wrong board, but my problem is quite urgent!!

I'm having a problem with my table layout.

As you can see here, under the menu on the left side, there's a little green box (written configuration manager). That box is made out of jpg slices that I organized in little tables.
http://www.wrapmation.com/newver/TRA...hp?module=tm09

However, when I fill the middle(big blank area) with imported text, the little box gets all messed up. I know the reason is because the browser does not know which tables to resize so it resizes all of them proportionately.
http://www.wrapmation.com/newver/TRA...raqManager.php

What I want to know is is there a way to set somekind of an attribute to disable the stretching of certain table?

This is a problem that I've had for ages, please help!

Thanks,
David

HTML Related, Table Problem
Hi,

!!First, I know I'm posting on the wrong board, but my problem is quite urgent!!

I'm having a problem with my table layout.

As you can see here, under the menu on the left side, there's a little green box (written configuration manager). That box is made out of jpg slices that I organized in little cells in main table.
http://www.wrapmation.com/newver/TRA...hp?module=tm09

However, when I fill the middle(big blank area) with imported text, the little box gets all messed up. I know the reason is because the browser does not know which cells to resize so it resizes all of them proportionately.
http://www.wrapmation.com/newver/TRA...raqManager.php

What I want to know is is there a way to set somekind of an attribute to disable the stretching of certain cells?

This is a problem that I've had for ages, please help!

Thanks,
David

EDIT: Too much typos.

Loading An HTML Table Into Flash
...So I just found out that you can't put <table> tags into an external text file to load into Flash. That pretty much devastated my project. But I do have a glimmer of hope that something can be done. Maybe you guys can help with some creative ideas? I would appreciate it tremendously.

Here is the problem. I want to load external text that looks like this into a scrolling text box:

BLASER K95 PRESTIGE .30-06&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;$3,000
BLASER LUX 7MM REM MAG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$3,109
BLASER R93 270 W/ SYNTHETIC STOCK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$1,972
BLASER R93 ATTACHE .308 W/ CASE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;$4,392
BLASER R93 LUX 375 SAF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$3, 533
BLASER R93 TK LUX STOCK RECEIVER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;$1,857

Any ideas?

Thanks so much!

Oh... and I have Flash MX (not 2004)

Loadinh Html Table Into Flash
Hi.

I tried to load html table into my flash and it only loaded the text
in table and not the lines of the table.

I used this code:

this.createTextField("tData", this.getNextHighestDepth, 0,0, 80, 40);
tData.multiline = true;
tData.wordWrap = true;
tData.border = true;
tData.html = true;
tData.condenseWhite = true;

var htmlTable:LoadVars = new LoadVars();
htmlTable.onData = function(loadedTable:String):Void{
tData.htmlText = loadedTable;
};
htmlTable.load("table.htm");

my table.htm file is a very simple table, nothing special about it.

any ideas ??

External Text In Html Table
i have external text that is loaded into my flash site works fine but i want to use that same txt file to load into a html frame for my html only site. thanks in advance for any help.

Loading HTML Table Into A Dropdown
I have an HTML table with a listing os countries and thier area codes. Now i want to load all this information into a flash drop down box...does anyone know how?

[F8] AS2 | Importing HTML TABLE Into Flash?
Hi there,

I'm going crazy cause I cant find out how to import a table made in HTML into a Flash File and make it scrollable?

Can you help me PLEEEEZZZ.....

This is the table http://ifdezine.com/dg/flash/data_wb_inks.html

I'm a newbie and need to have this explained to me in a simple way please please

Regards - Christopher

AS2 | Importing HTML TABLE Into Flash?
Hi there,

I'm going crazy cause I cant find out how to import a table made in HTML into a Flash File and make it scrollable?

Can you help me PLEEEEZZZ.....

This is the table [url]http://ifdezine.com/dg/flash/data_wb_inks.html[/url]

I'm a newbie and need to have this explained to me in a simple way please please

Regards - Christopher

Importing A Html Table Into Flash
Here's the problem. I Have flash application that takes the data from a User, the data is sent to an ASP.Net page, where it returns an array of numbers. Those numbers are the names of the JPG that are imported it to flash (results)
into a scroller that has one on top of the other. that works fine. the problem is the designer, redesigned its so that 2side by side, the 2 undernegth and so on.
So im trying to think of a way to display these images in that way.

Is it possible to import a html table into a movieclip? i know flash can use some html. but what im thinking is when the info is passed to ASP.NET, it can generate a Html table so i can havve freedom of how it can be displayed.

Thanks.

Andre

Loading HTML Table Into Flash
Hi.

I'm sending information from flash using asp script to my access db file and I'm interested to query the database and code this information to an html table
and then to load this table into flash, is it possible ?? how ??

any ideas how to make this possible ??

Thanks.

Flash Positioning In HTML Table
Can someone please tell me why on this page...

http://www.gregorypaige.com/online/index.html

...when viewed with a Mac looks fine, but when viewed with a PC the Flash animation on the left of me with the map etc. (315 px. by 425 px.) is positioned one pixel too high, overlapping the white table border? I don't even get how this is possible with the way the HTML is written.

Will someone please look at the code? It's very very simple and is probably something small I am just overlooking.

Thanks!
Gregory

Loading A Transparent Swf Into A Html Table
Really basic question (we are flash noobs) but we are just debating this here. We have a html page into which we have a table with a background image. What we want to do is load a transparent swf movie into this table so we can see the background image still. Still making sense? anyway wahy we want to do is load and unload swf's into this table without affecting the background (and still see the background). I sure it can be done fairly easily but just intersted to know how others would go about it, thanks

Formating Like A Html Table Using Imported Xml?
Hi there,
I desperatly need some formating help.

I need to have two columns. one for a bit of text. and one for a price.
problem is some columns have more lines than others.

Can anyone point me in the direction of a tutorial(s)?
Or tell me where to look

Any help would be awesome.

Flash Hides My Html Table
I created a website with a drop down menu in html. I have a flash file that is directly below it. When you hover over the menu bar (specifically "News and Events") the submenu is hidden by the flash. The website is (no longer available). The flash shows up kind of slow so give it a minute. I have tried playing with the z-indexes and wmode="transparent" and I can't get anything to work. I also have not been working with html very long, so if anyone has any suggestions, please PLEASE let me know. Feel free to "view source" to see what I have. Thanks!

AS2 | Importing HTML TABLE Into Flash?
Hi there,

I'm going crazy cause I cant find out how to import a table made in HTML into a Flash File and make it scrollable?

Can you help me PLEEEEZZZ.....

This is the table http://ifdezine.com/dg/flash/data_wb_inks.html

I'm a newbie and need to have this explained to me in a simple way please please

Regards - Christopher

Loading HTML Table Into Flash
Hi.

I'm sending information from flash using asp script to my access db file and I'm interested to query the database and code this information to an html table
and then to load this table into flash, is it possible ?? how ??

any ideas how to make this possible ??

Thanks.

Flash Positioning In HTML Table
Can someone please tell me why on this page...

http://www.gregorypaige.com/online/index.html

...when viewed with a Mac looks fine, but when viewed with a PC the Flash animation on the left of me with the map etc. (315 px. by 425 px.) is positioned one pixel too high, overlapping the white table border? I don't even get how this is possible with the way the HTML is written.

Will someone please look at the code? It's very very simple and is probably something small I am just overlooking.

Thanks!
Gregory

Copyright © 2005-08 www.BigResource.com, All rights reserved