Visualizzazione dei risultati da 1 a 2 su 2

Discussione: PROBLEMA CON ComboBox

  1. #1
    Utente di HTML.it L'avatar di piaza
    Registrato dal
    Oct 2003
    Messaggi
    131

    PROBLEMA CON ComboBox

    Recentemente ho creato un form con al suo interno un ComboBox. Se carico direttamente il documento il ComboBox si apre e mi permette di effettuare la scelta, al contrario, se tale swf viene caricato da un altro documento tramite il comando loadMovie(), il ComboBox rimane sempre chiuso (ossia non è possibile effettuare la scelta).
    Se sapete a cosa può essere dovuta tale cosa Vi invito a darmi una risposta.
    Grazie, Loris.

  2. #2
    Ho trovato la risposta allo stesso problema in un post precedente.

    Copia il combobox dal filmato, incollalo nella _rooot (quella che ti carica il filmato contenente la combobox), cancellala dallo stage in modo da lasciarla solo in libreria. Pubblica _root e filmato.


    Dal sito Macromedia:

    Issue
    A ComboBox used in a SWF that is loaded into a level or target may not display or function properly (for example, labels may not display or data bindings may be lost).

    Reason
    This is caused by the v2 component architecture. This issue usually occurs when using v2 components inside a child SWF that is loaded by a parent SWF.

    Solution
    Add an instance of the component to the Library of the parent SWF (the movie that loads the SWF content):

    Drag an instance of the required component to the stage of the parent SWF.
    Delete the on-stage instance, but do not delete the library item.
    Note: This will increase the size of the parent SWF and will force the client to download two copies of every component used. To reduce download time it is recommend that you used shared libraries in your final publication. For more information about using shared libraries, see Using Shared Libraries (TechNote 14767).

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 © 2025 vBulletin Solutions, Inc. All rights reserved.