Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 18

Discussione: [MX] css globali

  1. #1

    [MX] css globali

    Ciao ho creato un set css globale via As, ma non mi becca il font ...

    codice:
    _global.styles.RadioButton = new mx.styles.CSSStyleDeclaration();
    _global.styles.RadioButton.setStyle("backgroundColor","0xFFFFFF");
    _global.styles.RadioButton.setStyle("borderColor","0x000000");
    _global.styles.RadioButton.setStyle("font",Harmony);
    _global.styles.RadioButton.setStyle("fontSize","8");
    _global.styles.RadioButton.setStyle("color","0xFFFFFF");
    Funziona tutto, il font l' ho pubblicato in libreria come Harmony, inoltre gli ho dato il linkage, sempre come Harmony, ma non va ...
    Mi mette il suo _sans del cavolo.

  2. #2
    risolto, ma non so se me lo include come font

    codice:
    _global.styles.RadioButton = new mx.styles.CSSStyleDeclaration();
    _global.styles.RadioButton.setStyle("backgroundColor","0xFFFFFF");
    _global.styles.RadioButton.setStyle("borderColor","0x000000");
    _global.styles.RadioButton.setStyle("fontFamily","FFF Harmony" );
    _global.styles.RadioButton.setStyle("fontSize","8");
    _global.styles.RadioButton.setStyle("color","0xFFFFFF");

  3. #3
    Utente di HTML.it L'avatar di negatyve
    Registrato dal
    Feb 2001
    Messaggi
    9,479
    >risolto, ma non so se me lo include come font

    aggiungi:

    codice:
    _global.styles.RadioButton.setStyle("embedFonts",true);

  4. #4
    ok ma Neg dove posso trovare tutti gli stili per i components???
    Normalmente vado su ultrashock, ma non ci sono tutti ...

    Neanche nel manuale flash ... tu ne sai qualche cosa?


  5. #5
    sera a Voi

    mi intrufolo dentro questo 3d se posso.. per motivi molto simili a quelli di raffaeu, in particolare sarei interessato al cambio colore dello scroll della textArea, senza andare a cambiare direttamente i componenti dentro Flash . (non è esattaemnte la stessa cosa, ma siamo in zona...)

    grazie ciao
    Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
    Mechanics & Expert Tuning Fix Z3 Roadster Community

  6. #6
    beh per lo scroll nella text area devi usare queste proprietà:

    codice:
    backgroundColor 
     The background of a component. This is the only color style that does n 't inherit its value. The default value is transparent. 
     
    borderColor 
     The black section of a three-dimensional border or the color section of a two-dimensional border. The default value is 0x000000 (black). 
     
    borderStyle 
     The component border: either "none", "inset", "outset", or "solid". This style does not inherit its value. The default value is "solid". 
     
    buttonColor 
     The face of a button and a section of the three-dimensional border. The default value is 0xEFEEEF (light gray). 
     
    color 
     The text of a component label. The default value is 0x000000 (black). 
     
    disabledColor 
     The disabled color for text. The default color is 0x848384 (dark gray). 
     
    fontFamily 
     The font name for text. The default value is _sans. 
     
    fontSize 
     The point size for the font. The default value is 10. 
     
    fontStyle 
     The font style: either "normal" or "italic". The default value is "normal". 
     
    fontWeight 
     The font weight: either "normal" or "bold". The default value is "normal". 
     
    highlightColor 
     A section of the three-dimensional border. The default value is 0xFFFFFF (white). 
     
    marginLeft 
     A number indicating the left margin for text. The default value is 0. 
     
    marginRight 
     A number indicating the right margin for text. The default value is 0. 
     
    scrollTrackColor 
     The scroll track for a scroll bar. The default value is 0xEFEEEF (light gray). 
     
    shadowColor 
     A section of the three-dimensional border. The default value is 0x848384 (dark gray). 
     
    symbolBackgroundColor 
     The background color of check boxes and radio buttons. The default value is 0xFFFFFF (white). 
     
    symbolBackgroundDisabledColor 
     The background color of check boxes and radio buttons when disabled. The default value is 0xEFEEEF (light gray). 
     
    symbolBackgroundPressedColor 
     The background color of check boxes and radio buttons when pressed. The default value is 0xFFFFFF (white). 
     
    symbolColor 
     The check mark of a check box or the dot of a radio button. The default value is 0x000000 (black). 
     
    symbolDisabledColor 
     The disabled check mark or radio button dot color. The default value is 0x848384 (dark gray). 
     
    textAlign 
     The text alignment: either "left", "right", or "center". The default value is "left". 
     
    textDecoration 
     The text decoration: either "none" or "underline". The default value is "none". 
     
    textIndent 
     A number indicating the text indent. The default value is 0.
    ma sono molte di piu'

  7. #7
    Originariamente inviato da raffaeu
    beh per lo scroll nella text area devi usare queste proprietà:


    backgroundColor
    The background of a component. This is the only color style that does n 't inherit its value. The default value is transparent.
    sai, con quelle proprietà posso cambiare la textArea e infatti è ok.. ma per lo Scroll nada! rimane sempre di quel bianco grigio..
    Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
    Mechanics & Expert Tuning Fix Z3 Roadster Community

  8. #8
    guarda purtroppo ho recuperato solamente queste infatti speravo di poter trovare nel forum qualche link interessante, ma per ora nada, appena ne so di + ...

  9. #9
    Originariamente inviato da raffaeu
    guarda purtroppo ho recuperato solamente queste infatti speravo di poter trovare nel forum qualche link interessante, ma per ora nada, appena ne so di + ...
    :adhone: ti dò uno scoop..
    ho ribaltato non solo questo forum, ho ribaltato la Spagna la Germania e la Francia..
    forse si ricava qualcosa negli states :adhone:

    cmq non c'è traccia di codeAS per cambio colore dello Scroll
    ho persino chiesto in alto.. ma le doamnde stanno nel cestino..

    grazie raffaeu
    Interactive Html/CSS/JS Playground | @webbeloz ( cip..cip! )
    Mechanics & Expert Tuning Fix Z3 Roadster Community

  10. #10
    webbeloz prometto di trovare e postare

    :metallica

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.