Visualizzazione dei risultati da 1 a 6 su 6

Discussione: css + flash

  1. #1
    Utente di HTML.it
    Registrato dal
    Jan 2002
    Messaggi
    687

    css + flash

    ciao sto cercando di capire meglio i css e mi sono letto la guida che c'è qui su html.
    ci sono tutti i vari esempi di layout ecc.
    Ora stavo provando a fare qualche cosa da solo.
    Ho provato ad inserire una piccolissima animazione .swf (il logo con un effetto) nella pagina in questione (layout monolitico) e se provo a validare la pagina mi viene scritto:
    Line 51, column 19: there is no attribute "SRC"

    <embed src="copertina.swf" quality="high" pluginspage="http://www.macrom

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.



    Line 51, column 43: there is no attribute "QUALITY"

    ... <embed src="copertina.swf" quality="high" pluginspage="http://www.macromedi



    Line 51, column 62: there is no attribute "PLUGINSPAGE"

    ...tina.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashpl



    Line 51, column 113: there is no attribute "TYPE"

    ...cromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>



    Line 51, column 144: element "EMBED" undefined

    ... type="application/x-shockwave-flash"></embed></object>

    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element), or by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).


    se lo tolgo è perfetta.

    come si deve fare per inserire correttamente un swf?

    ciao a tutti

  2. #2
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    21,188
    I CSS non c'entrano.
    Il problema e` il tag <embed> che non fa parte dello standard W3C.
    Dovresti usare il tag <object>, che ha il problema di non essere correttamente riconosciuto da qualche versione di IE.

    Non specifichi che DOCTYPE usi, ma forse il Transitional potrebbe lasciarti passare qualche trucco per far funzionare il flash in tutti i browser.
    Nuova politica di maggiore severita` sui titoli delle discussioni: (ri)leggete il regolamento
    No domande tecniche in messaggi privati

  3. #3
    Utente di HTML.it
    Registrato dal
    Jan 2002
    Messaggi
    687
    ciao, già uso Transitional.

    tu cosa mi consigli? utilizzare object?

  4. #4
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    21,188
    Tieni presente che io i tag non standard non li considero neppure. Quindi sono decisamente di parte. E di conseguenza non posso dare consigli.

    Comunque per una risposta ragionata (da parte di qualcuno che ha usato ancora flash, non da parte mia), serve il DOCTYPE (non hai specificato se usi HTML4, o XHTML1.0); e serve conoscere quale compatibilita` ti interessa.

    Puoi anche trovare informazioni utili sul sito di constile.org (o altri siti che trovi tra i "link utili" di questo forum).
    Nuova politica di maggiore severita` sui titoli delle discussioni: (ri)leggete il regolamento
    No domande tecniche in messaggi privati

  5. #5
    Utente di HTML.it
    Registrato dal
    Jan 2002
    Messaggi
    687
    Cioè tu in qualsiasi cosa fai non inserisci flash per via di questo problema?

    il doc
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    per la compatibilità i browser netscape7, opera/firefox ultima versione e provo tutto con quelli.
    per explorer dalla 5 in poi: se il problema object si presenta con versioni + vecchie è lo stesso.

    cmq visiterò il sito che hai detto

  6. #6
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    21,188
    Originariamente inviato da nikasil
    Cioè tu in qualsiasi cosa fai non inserisci flash per via di questo problema?
    No.
    Io non uso flash. Uso solo JS. E` molto piu` compatibile.

    E` una piccola rinuncia sui movimenti, ma ne guadagna l'usabilita`, l'accessibilita`, e la velocita` di scaricamento.

    Chiaramente e` una mia idea, e nonposso imporla agli altri. So che alcuni siti di e-commerce devono stupire. A me stupire non interessa.
    Nuova politica di maggiore severita` sui titoli delle discussioni: (ri)leggete il regolamento
    No domande tecniche in messaggi privati

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.