[Flashcoders] createTextField and _alpha
hi i have a created TextField in a created emptyMovieClip in a MC, and when i made my MC._alpha = 0, the textField inside still appears ! now, if i run the same script with an attachBitmap instead of TextField, the bitmap disappears with my MC._alpha = 0. any ideas ? thanks bhir ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] createTextField and _alpha
Hello :) use an embed Fonts in your animation :) var tf:TextField = createTextField(field, 1, 10, 10, 150, 20) ; tf.setNewTextFormat ( new TextFormat (MyFont, 12) ) ; // MyFont is the link name in you library tf.embedFonts = true ; tf.text = Hello World ; tf._alpha = 50 ; NB : Read your ActionScript reference _alpha (TextField._alpha property) public _alpha : Number Sets or retrieves the alpha transparency value of the text field. Valid values are 0 (fully transparent) to 100 (fully opaque). The default value is 100. Transparency values are not supported for text fields that use device fonts. You must use embedded fonts to use the _alpha transparency property with a text field. EKA+ :) 2006/8/22, bh [EMAIL PROTECTED]: hi i have a created TextField in a created emptyMovieClip in a MC, and when i made my MC._alpha = 0, the textField inside still appears ! now, if i run the same script with an attachBitmap instead of TextField, the bitmap disappears with my MC._alpha = 0. any ideas ? thanks bhir ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] createTextField and _alpha
ok, it's working thank's a lot EKA bhir Le 22 août 06 à 22:15, eka a écrit : Hello :) use an embed Fonts in your animation :) var tf:TextField = createTextField(field, 1, 10, 10, 150, 20) ; tf.setNewTextFormat ( new TextFormat (MyFont, 12) ) ; // MyFont is the link name in you library tf.embedFonts = true ; tf.text = Hello World ; tf._alpha = 50 ; NB : Read your ActionScript reference _alpha (TextField._alpha property) public _alpha : Number Sets or retrieves the alpha transparency value of the text field. Valid values are 0 (fully transparent) to 100 (fully opaque). The default value is 100. Transparency values are not supported for text fields that use device fonts. You must use embedded fonts to use the _alpha transparency property with a text field. EKA+ :) 2006/8/22, bh [EMAIL PROTECTED]: hi i have a created TextField in a created emptyMovieClip in a MC, and when i made my MC._alpha = 0, the textField inside still appears ! now, if i run the same script with an attachBitmap instead of TextField, the bitmap disappears with my MC._alpha = 0. any ideas ? thanks bhir ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com