Visualizzazione dei risultati da 1 a 10 su 10

Discussione: elementi scrollpane

  1. #1
    Utente di HTML.it L'avatar di alpeweb
    Registrato dal
    Oct 2002
    Messaggi
    1,691

    elementi scrollpane

    vorrei modificare con il registerSkinElement il bg ed i vari colori
    purtroppo non ho sotto mano il manuale e non so nemmeno se c'è qualche esempio sul manuale.
    magari in qualche tutorial c'è qualcosa ?????

    Ho provato a disabilitare il bg ma non riesco,
    figuriamoci con i colori delle freccie.

    Grazie a tutti.

  2. #2
    Utente di HTML.it L'avatar di negatyve
    Registrato dal
    Feb 2001
    Messaggi
    9,479
    Se devi cambiare solo il colore:

    codice:
    var stile = new FStyleFormat();
    stile.arrow = 0xFFCC00;
    stile.addListener(tuo_pane);

  3. #3
    Utente di HTML.it L'avatar di alpeweb
    Registrato dal
    Oct 2002
    Messaggi
    1,691
    Bè non devo cambiare solo il colore delle freccine,
    ma praticamente tutto, visto l'esempio cmq mi cerco i vari nomi
    degli skin elements e provo a cambiarli con la stessa logica
    Giusto?????? ......... o no?

  4. #4
    Utente di HTML.it L'avatar di negatyve
    Registrato dal
    Feb 2001
    Messaggi
    9,479
    Si, in questo modo:

    codice:
    var stile = new FStyleFormat();
    stile.arrow = 0xFFCC00;
    stile.background = 0xF00000;
    ......
    stile.addListener(tuo_pane);
    C'è tutta la lista degli elementi modificabile nell'help del flash, quello del tasto F1.

    FStyleFormat.arrow
    The color of the arrow used in scroll bars and drop-down lists.

    FStyleFormat.background
    The color of the background portion of a component.

    FStyleFormat.backgroundDisabled
    The color of the background portion of a disabled component.

    FStyleFormat.check
    The color of the check mark in a selected check box.

    FStyleFormat.darkshadow
    The color of the inner border or darker shadow portion of a component.

    FStyleFormat.face
    The main color of the component.

    FStyleFormat.foregroundDisabled
    The foreground color of a disabled component.

    FStyleFormat.highlight
    The color for the inner border or darker shadow portion of a component when it is selected.

    FStyleFormat.highlight3D
    The color for the outer border or light shadow portion of a component when it is selected.

    FStyleFormat.radioDot
    The color of the dot in a selected radio button.

    FStyleFormat.scrollTrack
    The color of the track in a scroll bar.

    FStyleFormat.selection
    The color of the selection bar highlighting a list item in a component.

    FStyleFormat.selectionDisabled
    The color of the selection bar that highlights a list item in a disabled component.

    FStyleFormat.selectionUnfocused
    The color of the selection bar when the component does not have key board focus.

    FStyleFormat.shadow
    The color of the outer border or light shadow portion of a component.

    FStyleFormat.textAlign
    The alignment (left, right, or center) for text displayed in or on a component.

    FStyleFormat.textBold
    Specifies whether text is bold (true) or not (false).

    FStyleFormat.textColor
    The default text color in all components assigned to the style format.

    FStyleFormat.textDisabled
    The color of the text in a disabled component.

    FStyleFormat.textFont
    The name of the font to display text.

    FStyleFormat.textIndent
    The indentation of the text from the left margin to the first text character, in pixels.

    FStyleFormat.textItalic
    Specifies whether text is italic (true) or not (false).

    FStyleFormat.textLeftMargin
    The left paragraph margin for text, in pixels.

    FStyleFormat.textRightMargin
    The right paragraph margin for text, in pixels.

    FStyleFormat.textSelected
    The color of a selected list item in a component.

    FStyleFormat.textSize
    The size of the text, in points.

    FStyleFormat.textUnderline
    Specifies whether text is underlined (true) or not (false).

  5. #5
    Utente di HTML.it L'avatar di alpeweb
    Registrato dal
    Oct 2002
    Messaggi
    1,691
    grazie Gentilissimo come al solito...
    ho visto tutta la serie format style per il testo,
    e immagino siano relativi agli scroll di testo e basta,
    non credo siano applicabili al clip concatenato nello scrollpane

    Può essere?

  6. #6
    Utente di HTML.it L'avatar di negatyve
    Registrato dal
    Feb 2001
    Messaggi
    9,479
    No, assolutamente, valgono solo per il componente. Per lo scrollpane, puoi usare:

    FStyleFormat.arrow
    The color of the arrow used in scroll bars and drop-down lists.

    FStyleFormat.background
    The color of the background portion of a component.

    FStyleFormat.backgroundDisabled
    The color of the background portion of a disabled component.

    FStyleFormat.darkshadow
    The color of the inner border or darker shadow portion of a component.

    FStyleFormat.face
    The main color of the component.

    FStyleFormat.foregroundDisabled
    The foreground color of a disabled component.

    FStyleFormat.highlight
    The color for the inner border or darker shadow portion of a component when it is selected.

    FStyleFormat.highlight3D
    The color for the outer border or light shadow portion of a component when it is selected.

    FStyleFormat.scrollTrack
    The color of the track in a scroll bar.

    FStyleFormat.shadow
    The color of the outer border or light shadow portion of a component.

  7. #7
    Utente di HTML.it L'avatar di alpeweb
    Registrato dal
    Oct 2002
    Messaggi
    1,691
    come immaginavo...

    scusa l'ultima rottura, alcuni stili li ho cambiati,
    ma non riesco a disabilitare lo sfondo
    ciò mi permetterebbe di evitare lo sfondo sul clip.

  8. #8
    Utente di HTML.it L'avatar di negatyve
    Registrato dal
    Feb 2001
    Messaggi
    9,479
    codice:
    tuo_pane.boundingBox_mc._visible = false;

  9. #9
    Utente di HTML.it L'avatar di alpeweb
    Registrato dal
    Oct 2002
    Messaggi
    1,691
    MA QUANTE NE SAI???

  10. #10
    Utente di HTML.it L'avatar di negatyve
    Registrato dal
    Feb 2001
    Messaggi
    9,479
    Ne ho avuto bisogno anch'io.. :)

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.