Welcome, Guest
  • Author Topic: Flash HTML Table  (Read 61168 times)

    ev

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 502
      • View Profile
    Re:Flash HTML Table
    « Reply #15 on: 03/31/03, 21:23 »
    auto scale will be an option, like i said, a boolean var that u set when u instantiate the object.
    i am having a fair amount of trouble with the new version of the app, (namely with resizing and annoying little bug with certain nested tables), so i'm not gonna give any release date.
    we'll see what happens with the development speed.  stick with it though b/c its gonna be a killer app!
    if i dont have it ready when my site is out, i'll still release version 2 for people to play around with.
    ev

    ev

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 502
      • View Profile
    Re:Flash HTML Table
    « Reply #16 on: 04/01/03, 21:31 »
    i've fixed all the bugs i've encountered so far, including some particularly annoying ones in nested tables.
    everything is working correctly.
    however:
    i still have to complete my width resizing method
    i need to make a height resizing method
    if i can get this resizing stuff done... god damn!, it'll be awesome!
    in order to help:
    can people please give me info about how to use recursive loops containing multiple "for" and or "for in" loops without going over that flash 256 loop limit?
    what i have to do is loop through the object that is populated by the xml and adjust the values within based on the sizes.  however, the object is built in the same heirarchy as the xml.  the for loop works from the outside of the object towards the inside (highest to lowest in the object heirarchy)...but for correct resizing, i need to work from the lowest object (innermost table) towards the outside.  if i cant do that, i need to keep looping and use a var as a flag to keep track of when no more resizes are done.  that makes for poor coding practice (in my opinion), is over running the flash loop limit, but is the only way i can think of doing it.
    anyone with OOP experience, help me out a bit.
    ev

    Flash-db

    • Administrator
    • Systems Administrator
    • *****
    • Posts: 1876
      • View Profile
      • Flash-db.com
    Re:Flash HTML Table
    « Reply #17 on: 04/02/03, 03:51 »
    Here are the files for the sample posted on Flash-db:

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

    Hopefully they provide some help.  Although - I'm sure Ev's is much better then this one.  this one requires that your html files are really structured and doesn't do any type of auto resizing.

    The one posted above is poorly done - and I hadn't posted it before mostly because the code was written a long time ago when Flash MX first came out and isn't that good.  If anyone can improve upon it though...
    Flash-DB

    ev

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 502
      • View Profile
    Re:Flash HTML Table
    « Reply #18 on: 04/02/03, 15:15 »
    aww! now everyone is gonna use ur app  :(

    ev

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 502
      • View Profile
    Re:Flash HTML Table
    « Reply #19 on: 04/02/03, 19:04 »
    well, i think i have the width resizement system down...
    still some stuff i'm considering to add, since if u adjust the size of one table, u'll have to adjust the size of all the parent tables to fit it...or i could leave that feature out, it might take up too much.  but anyway...
    i have it such that u can auto resize by adjusting the size of the image (scaling it), the size of the table, or the size of the table row (td as its called in my app).
    this is all a user set var
    i'll keep ya guys posted on new developments
    ev
    « Last Edit: 04/02/03, 20:57 by ev »

    ev

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 502
      • View Profile
    Re:Flash HTML Table
    « Reply #20 on: 04/02/03, 21:04 »
    i got the height resizement working as well!
    so the app is nearing completion, i just gotta think about how to make sure all parent tables resize with their child tables (shouldnt be too hard to compute, but i just wanna attack it with a fresh and clear mind) and then add the method for attaching the rendered object to the scroll pane, maybe add some style props for the scroll pane and it'll be done
    i gotta do some speed tests and such, thoroughly test it, but i'm thinking that it will be done at the latest by June... (i wont be able to work from mid april through mid may).  but that is the latest, i will work on it whenever i have free time.  today i had a lotta time, i hadnt done any programming in a few days and i was able to attack the whole thing with a clear mind.  its amazing how much that helps, everything is just so much easier.
    ev

    ev

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 502
      • View Profile
    Re:Flash HTML Table
    « Reply #21 on: 04/14/03, 19:57 »
    well, i took a long break cuz i had a lotta stuff to do.  i went back to tackle the resizement and...
    i can't do the parent table width resizement. infinite loop, flash cant handle it, cuz everytime i change the table's or subtables size, i need to loop all over again fromt he start and...
    its complicated, to my knowledge its impossible.  if when i release it, someone makes the change, well with the license i release it with, they'll have to share that code with me.
    and i'd appreciate it a lot.
    theres a somewhat better explanation of why i think it wont be possible that i typed up in comments in the class .as when i had the proverbial lightbulb floating over my head.
    the app is near completion, just a few minor things i wanna do.  that'll have to wait till mid may to do.
    i also wanna do some sample apps to show off its capabilities.  right now its damn fast on my local machine.
    but know that its coming soon!
    ev

    ev

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 502
      • View Profile
    Re:Flash HTML Table
    « Reply #22 on: 04/16/03, 16:59 »
    major update!
    :) :)
    i added some crazy new stuff that will certainly make a lotta developers happy and make this app more extensible.
    previously, <image> tags had a link attribute (<image link=""/>) which created a link that would be opened in a _blank window when a user clicked the image.
    well now i've added support for events.  parameters will be onEvent and onEventArgs.  onEvent will be the path to the function to call and onEventArgs will be a string to pass to that function.  
    the onEvent function will recieve a path to the image mc object that called it as arguments[0], and the onEventArgs as arguments[1].  
    the events supported are onRollOver, onRollOut, onPress and onRelease.
    ev

    vipin

    • Server what's that
    • *
    • Posts: 10
      • View Profile
      • Email
    Re:Flash HTML Table
    « Reply #23 on: 04/20/03, 22:25 »
    Hi ev,

    Nice to get updates from you.

    Any idea as to when you expect to make a test/beta version available?

    I'd also like to inform you that the Beta version of Deng has been launched as well. Not yet been able to test it but it sounds promising (ofcourse it would be an overkill if all you want is a table in flash).

    Regards,
    Vipin Kanwar

    Allen Manning

    • Server what's that
    • *
    • Posts: 2
    • Technical Director, Prismix Ltd.
      • View Profile
      • Prismix Ltd.
      • Email
    Re:Flash HTML Table
    « Reply #24 on: 04/28/03, 08:56 »
     :-\

    I can't wait to see it myself.  I would love to test good Flash HTML Table rendering components.

    What is the current best testable code for doing this?  There seems to be alot of Vaporware out there...

    ev

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 502
      • View Profile
    Re:Flash HTML Table
    « Reply #25 on: 04/28/03, 14:10 »
    ok, my app is pretty much done.  i have a lotta crap to worry about right now
    namely sats, sat 2s and ap tests
    once thats over i can finalize and package my app and i also wanna get my website up.
    so please bear with me.
    sorry its taking so long.
    if u just want tables, no images, no events, and u dont care about file size, then i'd go w/ deng for now.

    ev

    Allen Manning

    • Server what's that
    • *
    • Posts: 2
    • Technical Director, Prismix Ltd.
      • View Profile
      • Prismix Ltd.
      • Email
    Re:Flash HTML Table
    « Reply #26 on: 04/29/03, 02:09 »
    ev,

    8)

    That's cool, but my project must move ahead.  I might be able to use your code if you get me a sample by EOB today GMT.  Otherwise I've gotten Sam Wan's code working (after some bug fixing) and I'll just move ahead with that.

    Good luck with school...

    allen

    ev

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 502
      • View Profile
    Re:Flash HTML Table
    « Reply #27 on: 04/29/03, 14:27 »
    sorry dude,
    no can do.  u can always port it over at a later date.
    i've seen sams wans code...
    i saw the flashhtml table on flash-db and it intrigued me, but there was no source and it was lacking in many aspects (though it is a cool app).  so i searched the web, found sam's code which was more advanced in that it had nested tables and such, but lacking very much.  
    then i decided to make my own and i really hope i can get it out soon.
    once again, im sorry i cant get u the app, but i have neither the time nor the resources at this point.

    ev

    ev

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 502
      • View Profile
    Re:Flash HTML Table
    « Reply #28 on: 06/16/03, 15:31 »
    its coming soon guys....please be pacient.  i just dont have the time to devote to completing and distributing this project right now.

    ev

    ev

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 502
      • View Profile
    Re:Flash HTML Table
    « Reply #29 on: 07/02/03, 10:37 »
    well goddamn!  :)  :)  :)   :) :)  :) :)
    a while ago i posted how width resizement couldnt be done in such a way that it expands the size of the parent table.
    how wrong i was...
    i came back to it now, as im working on a full component/ as method set, and i went back and redid the height and width resize methods.
    it seems i was originally on the right track, but i overlooked some things that threw flash into an infinite loop.
    i worked all that out, and now resizement is perfect.  this is gonna be one of the best flash extensions ever!!

    ev