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




Scrolling PHP Tables In Flash (Help)



ok, so I'm trying to take a SMF1-1 file that draws PHP info and plugs it into a flash table, and use it as the content for this scrollable movie instance tutorial.

However, I can't get the first SMF1-1 tutorial to work inside of a movie instance. Currently, you can see this version in root of flash works great. But this version inside movie instance 'test' on layer "test" of the root doesn't load the tables.

Here is the coding I have that is supposed to load the PHP from the test movie instance:

PHP Code:




// Test function sends user on to labelled success or failure frame when called. 
test = function (success){ 
if (success){ 

// On a successful transfer - we create the 'heading_array' and 'story_array' arrays from the delimited 'heading' and 'story' LoadVars variables. 
heading_array = dataloader2.heading.toString().split("|");
story_array = dataloader2.story.toString().split("|");

gotoAndPlay("loaded");} // then forward to the flash frame labelled 'loaded' 
else{ 
gotoAndPlay("failed"); // then forward to the flash frame labelled 'failed' 


}; // End of test Function. 

// Start of actual transfer commands. 
dataloader1=dataloader2=new LoadVars(); // create new LoadVars object called 'dataloader1'. 
dataloader1.flashdata="value"; // assign the variable 'flashdata' to the new LoadVars object this is the variable which will be read in the PHP script (if required).
dataloader1.onLoad=test; // call the test function when the transfer is complete. 
dataloader1.sendAndLoad("phpscript.php", dataloader2, "POST"); // begin the transfer (using 'dataloader2' as the object to return results to).
stop(); // stop the movie (continues on calling the 'test' function). 






Then inside the article movie instance on the "loaded" frame of "test" movie instance, I have this to setup the display of the data:

PHP Code:




// Layout vars
space=45; // Pixels between story and new heading
yloc=0; // Initial Y location of first article

// Being article list construction
for(i=0;i<(_level0.heading_array.length);i++){

// Create new article text fields (in 'article' MC)
attachMovie("article","article"+i,this.getNextHighestDepth());

// Add array text to heading and story fields
eval("this.article"+i).heading.text=_level0.heading_array[i];
eval("this.article"+i).story.text=_level0.story_array[i];

// Position 'article' MC at correct Y co-ords (using 'yloc' var)
eval("this.article"+i)._y=yloc;

// Increment 'yloc' var the height of the text field
yloc+=(eval("this.article"+i).story.textHeight+space);

// Alter heights of layout box and story text field depending on length of content
eval("this.article"+i).storylayout._height=eval("this.article"+i).story.textHeight+8;
eval("this.article"+i).story._height=eval("this.article"+i).story.textHeight+8;

} // End article list construction 







What am I doing wrong?




View Complete Forum Thread with Replies

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

Tables In Scrolling ?
I need to create a scrollable table, anyone had to do this before? If so how do I do it?

TIA

How To Do Tables In Flash?
Hello

Can anybody tell me how to make the tables in flash using the HTML and text box?

Thanks
Narendra

Tables In Flash MX
Hi All,

I'm using Flash MX to prepare a presentation CD. It will include a catalogue of products. These will consist of tables with maybe some pictures, mostly text. However, I can't form these in Flash, and I can't import them either?
How can I place these tables in Flash? Any ideas? Capturing the screen and placing it as an image will take up too much space, I think. Maybe placing it as a JPG in an external .swf file? Is this possible ? Thank a lot,

Omer

Flash In Tables
Hello fellow flashkitters. i'm designing a website for a local band. My design is going to be an HTML page with a table, each cell in the table will have a separate swf. My question is wether or not there is a way to control one swf from another. i hope that's clear enough. Thanks for your help.

Flash Within Tables
http://www.geocities.com/mif_inc/test.html

I am trying to embed flash within a table. The problem is that I want the swf to take up the entire table and not just a portion of it. Any help would be appreciated for this newb

Tables In Flash?
HI all,

I'm wondering if there's a component that will let me type text into cells and resize accordingly (i.e. like a html table)

Cheers

Using Tables In Flash?
Hi

can anybody help, have never figured out how to do this or what it would be called in flash and therefore cant find any help files.....

bascially like the website http://www.thanea.com/ars/ has a totally flash main page but uses a set size movie in centre. Its like you would make a table in HTML so the website can be scaled and everything fits to each corner.......

anybody point me in the right direction, (ie tuturial or example file?)

thanks jp

Using Tables In Flash?
Hi

can anybody help, have never figured out how to do this or what it would be called in flash and therefore cant find any help files.....

bascially like the website http://www.thanea.com/ars/ has a totally flash main page but uses a set size movie in centre. Its like you would make a table in HTML so the website can be scaled and everything fits to each corner.......

anybody point me in the right direction, (ie tuturial or example file?)

thanks jp

Tables In Flash
Hi all,

I'm in need of a decent table class for an AS3 project. I don't need anything too fancy - just the ability for the text content to wrap in cells & the whole table to expand downwards in a nice orderly way when more space is needed in a cell. A scroll bar would be good too but not essential.

Time is short on this one, so I haven't time to write one myself - anyone got any recommendations?

PMF

Tables In Flash
Hi,
I want to know if there is any way we could create tables in Flash 8 and assign different colors to different tables.I want to do this for my website,but no way.The only way i figured out is to design a rectangle with the desired color,place it on a different layer and under the text which i want it to appear under.
But this is not how i want to design.I want to know to design it in a similar fashion as we do it in Dreamweaver or something similar to that.I would surely appreciate all the help i can get in this regard. Thank you in advance.

Tables In Flash
Is it possible to import a table from a textfile which has been formatted with html to a textbox in flash, and have the tables displayed there?

Ie. are the td-tags in html available to either the normal textboxes in flash, or the css-versions of them in flash?

Tables In Flash
Does anyone know if it is possible to dynamically build tables in Flash in order to display data as you would with a html + ASP loop.

Tables In Flash
Is it possible to import a table from a textfile which has been formatted with html to a textbox in flash, and have the tables displayed there?

Ie. are the td-tags in html available to either the normal textboxes in flash, or the css-versions of them in flash?

*** TABLES IN FLASH ***
i would like to create a table in flash where i can easily add or remove rows, and where clicking on
one of the heading will sort the tables subjects by that value.

An example would be a table with three heading such as "name", "date", "file size". And when a user
clicks on "name" all the subjects underneath will be listed in alphabetical order, and the same would
go for both date and file size.

Any help that you could give me would be great.
thanks.

Using Tables In Flash?
I have an HTML file with tables in it - and I need to load it into a section on a Flash site. It's easy to do using an IFRAME in Dreamweaver, but is it possible to do this in Flash? Thanks in advance for any help.

TABLES In Flash?
Is there any way flash can embed or create tables without manually having to draw them? And is there any way an HTML file can be loaded into a movie?

Please Help.

Using Flash In Tables With Images
hey flash people

I'm new to this forum, and I have a flash problem.

I cant get it to line up properly with images in a table.

<a href=http://www.nikoplus.com/mwatt/testing/ target="blank_">SEE HERE</a> (layout.htm)

basicaly I made the background image in photoshop and sliced it up, the pixels dont line up tho, even tho mathematiclty they should (and yes the image is perfectly centred in the flash file)

I'm stumped, somtimes it lines up, other times it doesn't...

HELP!

Creating Tables In Flash
does anyone know how this table was created?

macromedia flash table

i'm looking into the possibilities of creating tables dynamically in flash and this seems like the best example i've seen so far.

are they dynamically generating dynamic text fields? or using some sort of component?

thanks!

Creating Tables In Flash
Is there a drop down menu option to create a table in Flash like there is in other word processing program or will I have to create the table by hand.

Dynamic Tables In Flash
Is there some way of creating dynamic tables in Flash? It doesn't have to be an actual table, but something that visually resembles a table.

I need to load some data from an external file (which I know how to do) and then display the information in a table format. Problem is that I don't know until runtime how many rows my 'table' needs to have, so I can't draw a proper table in design mode.

Would it be possible to draw a row and make a symbol out of it, and then use AcionScript to add instances of this symbol as required at runtime, showing external data in each instance as it is added? Would it also be possible to control through ActionScript where these instances are located on the stage?

Sorry for all the questions, but this one is driving me nuts!

Html Tables And CSS In Flash?
Hi:

Is posible to call html tables in the scene in flash?
...and CSS?

: )

Question About Flash And Tables
If I have an html table with one column and two rows, can I put a swf in the top row and have it change the content of the bottom row.


Click something in the swf and have the html in the bottom row change...

Controlling ASP Tables With Flash
Hello all,

I have a menu system built in Flash on the left hand side of my page, however on the ride hand side of the page i have many tables which I would like to show and hide according to which button they click on the left..
is there any way to do this?

I'm using VB 2003 and Flash 8

Thank you

Flash, Macs, And Tables = BAD
Hello,

Myself and a few other classmates are having problems displaying our flash movies inside tables on an html page. The problem only occurs when viewing our sites through a Mac computer. I believe the browser is (IE 5.x)

What happens is that sometimes the page will load fine with the flash movie displaying, but once a link is clicked on in the movie, the Flash seems to disapear behind the table so that the background of the table is covering the flash movie. Once you move the mouse over a button (triggering an animation) certain parts of the flash movie will start to appear from the background in square blocks, but most of the movie remains hidden.

Here is the site where this can be seen:
My Site

I've consulted numerous people about this problem and no one has the slightest idea what exaclty is wrong. Everything works fine on a PC by the way.

Thanks,
Eric

Help With Importing Tables Into Flash
Hi. I wonder if any of you guys can help me.

I need to import some tables into my flash web site.

The charity that I'm producing the website for have calendars for the courses they run and users of the charity's site have requested that these calendars be posted onto the website.
They also ask that it be possible to be able to print these calendars directly from the web page.

At the moment the original tables are in Word documents.
I can transfer them successfully into Excell, Access and even HTML.

Is there any way that I can transfer these files into a flash movie (dynamically)?

I have tried using the dynamic text field option with rich text set to true and/or turned on. Unfortunately this completely ignores the tables.

Can this be done?

Any help would be muchly appreciated.

Thanks.

Andy.

HTML Tables In A Flash
Hi. people.

been diggin around & found this.

http://www.flash-db.com/FlashTable/

It worked for me.

I can now show my tables as they were originally intended in HTML. I needed to do a lot of tag changing though. Also the format of the tables come out differently in Flash cokpared to HTML. Still acceptable though.

Hope this helps someone (else) out there.

Bye for now.

Andy.

Flash Elements In Tables
I currently run a website that is set up with several flash elements butted up next to each other using tables (http://www.deltasoniccarwash.com). This method used to be fine. The tables were invisible to the user. With the latest update of internet explorer this is no longer the case for pc users. Now when my site is viewed in Explorer on a PC grey boxes appear highlighting my table. I am completely redesigning the entire site but if there is any immediate solution to the problem I would greatly appreciate it. Thanks.

Paul

Html Tables In Flash
How does one go about putting a table into a flash document, that is controlled by an html page on the server? I've searched everywhere but I've only found a few that charge for the service. I know there must be a simple way of accomplishing this.

-John

How To Create Tables In Flash?
How can I create tables withing Flash?

What I want to do is make 4 dynamic text fields and 1 text file which will hold the text that will go into the fields. Now say the text file is 1200 characters long and the text fields can only hold 300 chars each. How would I distribute the text file among the 4 text fields?

Any and all help is much appreciated. Thanks.

Html Tables Into Flash
Hi everybody,

I'm lloking for a way to create HTML tables into flash...

If there any way that flash recognized html table tags loading them from an external file?

Or do you know any component or resource that creates ir form and html or XML external file? (in that case can be used bgcolor / colspan / cellspan, etc)

If someone knows anything about it, I would be eternally thankful!

Does Anyone Know HOW TO MAKE TABLES IN FLASH ?
Hi all !
I'm working on forum in flash and i've got this problem:

I need to have some structure for messages from users - maybe the table is the best choice - but how to make it in flash ??

Is there the only way - using of nested movieclips ? and what about variable width and height of cells which is needed for different length of messages ?

Is there any component that can make this job ?

Can you give me some small how-to for making tables using movie clips ?

Is there any other way how to represent messages in flash ??

Related Tables In XML With Flash
Hi,

i'm doing a CD presentation project using FlashMX and there must be a database to hold number of companies, so that a user can get the CD make search for companies by sector, products, .... etc.

i decided to use XML as an offline database not need any setups or installations for servers by the user ....

my question is: can i use related tables search within the XML file from the FlashMX or is it better to make more than one XML file to do the searches?

How Can Flash Control Html In Tables?
Ok, I have a page with 2 tables. One side is Flash, and the other is html. How do I control the html from the flash side or vise versa? I don't want the flash to change in anyway when I'm controlling the html side.

Unwanted Space Around Flash In Tables
I have been trying to figure out why a small space shows up around a small flash element that is put into my html.(http://www.creativeinstinct.com/forum.html )This small space throws off my entire table set. It seems to look alright in Explorer..but netscape is another story..Please help..

HighScore Tables In Flash Question
All over the net the tutorials ive found for HighScore tables in Flash all mention using PHP or / XML. I was just wodering is it possible to use ".txt" file instead and have it stored locally in the same folder as my flash program.

If any1 has done this before could you please upload the file or if there are any links to some tutorials that cover this aspect could some1 post a link to it please.

Muchos appreciatedos
CoopZ

HighScore Tables In Flash Question
All over the net the tutorials ive found for HighScore tables in Flash all mention using PHP or / XML. I was just wodering is it possible to use ".txt" file instead and have it stored locally in the same folder as my flash program.

If any1 has done this before could you please upload the file or if there are any links to some tutorials that cover this aspect could some1 post a link to it please.

Muchos appreciatedos
CoopZ

Swap Flash Movies In Tables
Hi, can anyone tell me if/how I can get flash movies to change in a web page. i.e I have two columns in a table - if I have a navbar or button set in the left column, I want to be able to use them to select and run one of four flash movies in the right hand column.

I'm looking for an alternative to having a different page for each movie.

Flash In Dream Weaver In Tables
ive read messages on here b4 about puttin flash in dream weaver by placing it in a table. whats the advantage of doin this? i just usually throw it in and html file and center it, what does the table change

Making Tables In Flash (datagrid?)
What's your preferred way of creating tables in Flash?

I looked into the Datagrid component, but its not that flexible as far as the design of table goes, or maybe I'm missing something.

Lets say I use datagrid.

- How can I put image backgrounds to cells?
- How Can I make the corners of the table round?
- When I sort a column, how do I make it show a little arrow next to the column label?

I might have further questions, if there is any expert in this willing to give me some pointers.

Thanks in advance.

Flash Animation Troubles In Nested Tables
http://www.concentric.net/~Gatienza/timelineproblem.htm

can someone please help me out? my animation does not appear right off the bat until i mouseover it. it is not a button, just a simple movie clip. it doesn't have this problem when it is in a table, but once it's in a NESTED table this happens. any help would be appreciated. is it something simple that i am overlooking?

thanks in advance,
jgatienza

Playing Pre-loading Movies / Tables In Flash
Hi,

Ive been using flash for a while now and should know how to do this but can never find out how to... hope someone can help!

Ive designed websites that are made up of lots of flash files like www.wellplayed.com but I am currently working on my first totally flash site....
Please can someone help with one of these Q's

########### QUESTION 1 ################
how do you play a movie within a movie (so it includes the load bar) so that the navigation will always be there and not have to load the whole site at once???

########### QUESTION 2 ################
Ive seen flash websites that fit to the whole browser window and like HTML use some type of frames so you can have a bar along the bottom that fits to the page what ever size and then a main movie sizes.... for example http://www.thanea.com/ars/ ....how is this done? is there any tuturial?


Any help appriciated> >>> if poss you have any examples of this or can point me to one on flashkit it would be great

cheers jp

Flash To HTML (Switching Out Background Tables)
I am trying to build a flash controller which changes out a background located inside a table inside of my html document.

Currently I have the Flash trying change the background to my html file through javascript.

In javascript, I am using document.write(' ' +args ' ') and having it controlled by a function inside of flash to keep switching out the background(text). . . I am having Flash pass this data out, and I can call it from an alert, but I am not able to write out that information using the document.write command (like above).

I think document.write is called only once on the page load. I need it to be called anytime I hit the next button inside of flash.

Does anyone know of a way to cycle out the background image of my table using flash as the controller?

Thank you for your time.

--J

Can I Use Html Tables In Flash Text Field ?
Hi Friends!
I m trying to use html tables in Flash text fields. infact i m trying to show mail headers jsut like we see in yahoo or hotmail inbox. i m trying to show my data (coming form xml file in Flash) just like that.. can anybody help me??
here is something i m trying to do but it is not working in the way i want...

Using Tables In Flash. (utilizing The Full Screen Size Of The HTML)
I've noticed a new (or old) feature of Flash where it seems like you can use HTML like tables within your FLA. There are MANY uses out there but for refference here is a great example of its usage. http://www.cgvimax.com/

If anybody can help I would appreciate it!
Thanks all!

Flash MX/MySQL -searching Tables Based On User Input
Howdy,

As a "newbie" to MySQL/PHP I am having a small problem searching for the contents of a table based on user input.

What I am trying to do exactly is take input from the user (through Flash) and this input will correspond to a table name which has been set up. From there, I am trying to retireve the information from the table selected and display the contents in Flash.

In PHP I am using the following code:

$tableName = $_POST['tableName'];
//corresponds to flash (var) text input
.
.
.
$query = "SELECT * FROM '$tableName'";
$result = mysql_query($query);
$numrows = mysql_num_rows($result);

The query executes but the result is the empty set. Can you please provide any suggestions as to how I can select a table from MySQL based on the user input?

CHEERS!!!!!!

R.S

Swf In Tables ?
I have swf in middle cell in table, when I press button in flash I want other swf to show in the same position and it shows on full screen.
what kind of target command I shoul use ?

Tables?
is there a way to make tables thru actionscript in Flash?
Is this what the datagrid is supposed to simulate?

IF not, what exactly is the datagrid for?

thanks,
-myk

Tables
Can anyone offer advice on the best way to create a table for data entry in Flash MX?

Tables
I want to add small thumbnail pictures that will enlarge on click, how is this done? I assume it is actionscript. I wanted to place the thumbnail pics on a scrollable frame in some sort of table, so that I can have picture descriptions as well. Is there a way to use tables in flash? The scrollable table would be placed on a movie clip.

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