A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: html & edit box browser problem

  1. #1
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    html & edit box browser problem

    Hi
    I have developed an application based on XML.
    Everything work well except content loaded from xml file into dynamic html or a edit box with html behaviour, do not work as a html but as text.
    I mean, for example, mother - in portuguese mãe, if i write on xml file mãe, load and show mãe and not mãe.
    Can some one help me?...
    Thanks
    Rui Paiva

    PS - if some one have interest on code, i can display it. It's based on a Senocular tutorial for Flash MX + XML.
    If edit box work well it's only necessary do a menu xml file and contents xml files and without you touch in a sigle piece of code, you canupdate your site.~Any time you want change layout, you can do it without to touch in a single of content or menu xml files.

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    html & edit box browser problem

    Hi
    There is a problem with my above quote.
    Code:
    mãe
    would show
    Code:
    mâe
    on browser, but show
    Code:
    mãe
    Rui

  3. #3
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    html & edit box browser problem

    Another error
    Sorry but i can't write latin code for html. All i have written was parsed and converted for html
    Sorry
    Rui

  4. #4
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    We'd love to see the code...

    As to the problem. Dynamic HTML has a VERY limited tag set. This is a limitation of the flash player.

  5. #5
    Junior Member
    Join Date
    Apr 2004
    Posts
    14
    Try this code in startscript:

    --------------------------

    System.useCodepage = true;

    --------------------------

    and try to export (dynamic html) font outlines.

    works for CE charset, but wouldn't know if it's any good on macs.

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    code

    Hi Blanius

    Here the attached file

    Rui
    Last edited by rui_eduardo; 09-29-2008 at 11:30 AM.

  7. #7
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    xml + swf

    Hi
    I have made some reseach on google about iso-8859-1 latin characteres
    and after some testes i'm thinking then probably i got a solution.
    So, for we get these latin characteres we must write on xml file as numeric html entity and not as symbolic html entity.
    Please check here: www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html .
    Besides this i got that with some basic html tags, as <p><font face color size><ul><li> we can have a good and interesting content presentation, as you will find on attached file.
    Please click on link menu, kirupa/tutorials/web and please let me know your comments about.
    Rui

    PS - I'm still developing this code and i intend to do a site example.
    Last edited by rui_eduardo; 09-29-2008 at 11:30 AM.

  8. #8
    Junior Member
    Join Date
    Apr 2004
    Posts
    14
    yes but I think you can save yourself some effort if you use dynamic html area instead of editbox, and .useCodepage - well at least this works for easteuropean charset.

    also onScroll (and onFocus - of content editbox) code is redundant if you just use scroller in 3dfa - just assign it to HTMLwhatever in it's properties.

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    xml + swf

    Hi Machomaus
    I'm using just now ".useCodepage" on edit box.
    Anyway, i'm going now try html + ".useCodepage".
    Thank you
    Rui

  10. #10
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    new version

    Hi
    Do you remenber xml menu based on Senocular tutorial, wich
    i puted here my 3dfa version?...
    Now, please kind check this link and see this teste version:
    http://www.sagos.pt/TESTES/xml_teste.html .
    So, the swf file is only one.
    I have one xml file with date for each one of menus, as well
    the content xml for each one language.
    So, when i want update i do not need touch on swf file.
    When i want change layout, all elements must continue, but i can change what i want, between some parameters, of course, but i do not need touch in xml files.
    This kind of develope it will be extraordinary when 3dfa get better html and css capacities.
    Please take not yhen i have to make some tunning in spannish content.
    So, let me know your opinion about this, loading time, develope system, etc., it would be great if all in this forum contribute for better 3dfa capacities, because in mine opinion, 3dfa as other flash program are not only for animations or games.
    Bibi
    Rui Paiva

  11. #11
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    your feedback

    Hi
    It's important to me know your feedback about this kind of application, as it work, as it load, what need for improvements, etc.
    Thanks in advance
    Rui

  12. #12
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    I'm impressed. Great work!

    I'm surprised you haven't gotten more feedback on this (I know how that is).

    This method is pretty usefull.

  13. #13
    Senior Member
    Join Date
    Nov 2003
    Location
    Coimbra - Portugal
    Posts
    139

    thanks

    Hi Blanius
    Thanks for your kind words.
    Just now i'm doing the loading security system.
    When i finnish it, probably on next weekend, i'll
    put the code on fly, for your download, in case of you are interest.
    Bibi
    Rui

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center