| | Flash e css max4001976, senza xml max4001976 | |
| |
| | |
| max_400 |
| | semplice collegamento tra flash e css modificando il css si modificano tutti e 3 i filmati swf nel foglio di stile 'stile.css' CODICE p { font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif; color: #FF0000; font-size: 14; }
a { font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif; color: #0000FF; }
h1 { font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif; color: #FF6600; font-size: 16; font-weight: bold; }
h2 { font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif; color: #666666; font-size: 14; font-style: italic; } in flash nel fotogramma di tutti e tre i fla CODICE var cssext = new TextField.StyleSheet(); cssext.load("stile.css"); cssext.onLoad = function(success) { if (success) { casella.styleSheet = cssext; casella.htmlText = testo; casella2.styleSheet = cssext; casella2.htmlText= testo2; } } testo="<p>Questa č la seconda pagina</p>" testo2="<p>ciao</p>"; nel foglio di stile se cambiate il colore cambierą il colore del titolo di tutti e 3 CITAZIONE p { font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif; color: #FF0000; font-size: 14; }
| | |
| |
|
| 0 replies since 7/9/2010, 14:55 24 views |
| |
| | |