Description: Remove references to SWFTEXTFIELD_USEFONT flag
Bug-Debian: http://bugs.debian.org/582377
Author: Gabriele Giacone <1o5g4r8o@gmail.com>

--- a/ming-source/operator_panel.pl
+++ b/ming-source/operator_panel.pl
@@ -42,7 +42,7 @@
 	$font = shift;
 	$str  = shift;
 	
-	$txtfield = new SWF::TextField( SWFTEXTFIELD_MULTILINE | SWFTEXTFIELD_WORDWRAP | SWFTEXTFIELD_USEFONT );
+	$txtfield = new SWF::TextField( SWFTEXTFIELD_MULTILINE | SWFTEXTFIELD_WORDWRAP );
 	$txtfield->setHeight(254);	
 	$txtfield->setBounds(200,30);
 	$txtfield->setName($name);
@@ -62,7 +62,7 @@
 #################################################
 ## SELECT TIMEOUT BOX
 #################################################
-$dropbox1 = new SWF::Sprite();
+$dropbox1 = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(5600, 0);
@@ -207,7 +207,7 @@
 
 $font_general = new SWF::Font($fuente);  
 
-$s8 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_USEFONT | SWFTEXTFIELD_NOSELECT );
+$s8 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_NOSELECT );
 $s8->setBounds(1411, 398);
 $s8->setFont($font_general);
 #$s8->setFont(new SWF::Font("_sans"));
@@ -228,7 +228,7 @@
 
 ## MovieCLIP progress graphic
 ##
-$progressclip = new SWF::Sprite();
+$progressclip = new SWF::MovieClip();
 
 ### Shape 2 ###
 $s2 = new SWF::Shape();
@@ -1761,7 +1761,7 @@
 #$font_general = new SWF::Font($fuente);  
 
 # Ventana INPUT del security code
-$codebox = new SWF::Sprite();
+$codebox = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $g = new SWF::Gradient();
@@ -1828,7 +1828,7 @@
 $s3->drawLine(-4713, 0);
 $i4 = $codebox->add($s3);
 
-$s5 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_MULTILINE | SWFTEXTFIELD_NOSELECT | SWFTEXTFIELD_USEFONT );
+$s5 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_MULTILINE | SWFTEXTFIELD_NOSELECT );
 $s5->setBounds(5650, 653);
 $s5->setFont($font_general);
 $s5->setHeight(320);
@@ -1839,7 +1839,7 @@
 $i5 = $codebox->add($s5);
 $i5->moveTo(2704, 3067);
 
-$s6 = new SWF::TextField( SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_USEFONT );
+$s6 = new SWF::TextField( SWFTEXTFIELD_PASSWORD );
 $s6->setBounds(4579, 398);
 $s6->setFont($font_general);
 $s6->setHeight(320);
@@ -2032,7 +2032,7 @@
 # with the number constructed from javascript while setting
 # the frame of the movieclip.
 #
-$numdial = new SWF::Sprite();
+$numdial = new SWF::MovieClip();
 $numdial->add(new SWF::Action(<<"EndOfActionScript"));
 	_global.numero_a_discar+="0";
 	stop();
@@ -2119,7 +2119,7 @@
 
 # Detail Window movieclip
 
-$detail_window = new SWF::Sprite();
+$detail_window = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $g = new SWF::Gradient();
@@ -2164,7 +2164,7 @@
 $s1->drawLine(0, -3966);
 $s1->drawCurve(0, -44, -30, -33);
 
-$s3 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_USEFONT );
+$s3 = new SWF::TextField(SWFTEXTFIELD_NOEDIT );
 $s3->setBounds(3112, 377);
 $s3->setFont($font_general);
 $s3->setHeight(280);
@@ -2173,7 +2173,7 @@
 $s3->setName('title');
 $s3->addString('Last call details:');
 
-$s5 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_USEFONT );
+$s5 = new SWF::TextField(SWFTEXTFIELD_NOEDIT );
 $s5->setBounds(907, 330);
 $s5->setFont($font_general);
 $s5->setHeight(260);
@@ -2182,7 +2182,7 @@
 $s5->setName('label');
 $s5->addString('From:');
 
-$s6 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_USEFONT );
+$s6 = new SWF::TextField(SWFTEXTFIELD_NOEDIT );
 $s6->setBounds(1097, 330);
 $s6->setFont($font_general);
 $s6->setHeight(260);
@@ -2191,7 +2191,7 @@
 $s6->setName('duration_label');
 $s6->addString('Duration:');
 
-$s7 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_USEFONT );
+$s7 = new SWF::TextField(SWFTEXTFIELD_NOEDIT );
 $s7->setBounds(2517, 330);
 $s7->setFont($font_general);
 $s7->setHeight(260);
@@ -2199,7 +2199,7 @@
 $s7->align(SWFTEXTFIELD_ALIGN_LEFT);
 $s7->setName('clid');
 
-$s8 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_USEFONT );
+$s8 = new SWF::TextField(SWFTEXTFIELD_NOEDIT );
 $s8->setBounds(2116, 330);
 $s8->setFont($font_general);
 $s8->setHeight(260);
@@ -2391,7 +2391,7 @@
 
 
 #  Superdetail window
-$superdetails = new SWF::Sprite();
+$superdetails = new SWF::MovieClip();
 $s1 = new SWF::Shape();
 $g = new SWF::Gradient();
 $g->addEntry(0.000000, 0xff, 0xff, 0xff);
@@ -2435,7 +2435,7 @@
 $s1->drawLine(0, -3966);
 $s1->drawCurve(0, -44, -30, -33);
 
-$s3 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_MULTILINE | SWFTEXTFIELD_USEFONT );
+$s3 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_MULTILINE );
 $s3->setBounds(4939, 4740);
 $s3->setFont($font_general);
 $s3->setHeight(260);
@@ -2592,7 +2592,7 @@
 ");
 
 
-$fs3 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_NOSELECT | SWFTEXTFIELD_USEFONT );
+$fs3 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_NOSELECT );
 $fs3->setBounds(939, 200);
 $fs3->setName('titlefs3');
 $fs3->setFont($font_general);
@@ -2601,7 +2601,7 @@
 $fs3->align(SWFTEXTFIELD_ALIGN_LEFT);
 $fs3->addString('Queue');
 
-$fs2 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_NOSELECT | SWFTEXTFIELD_USEFONT );
+$fs2 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_NOSELECT );
 $fs2->setBounds(939, 200);
 $fs2->setName('titlefs2');
 $fs2->setFont($font_general);
@@ -2610,7 +2610,7 @@
 $fs2->align(SWFTEXTFIELD_ALIGN_LEFT);
 $fs2->addString('Call');
 
-$sptab = new SWF::Sprite();
+$sptab = new SWF::MovieClip();
 $sptab->add($s8);
 $sptab->add($s8a);
 $sptab->nextFrame();
@@ -2674,7 +2674,7 @@
 
 
 
-$ventana_debug = new SWF::Sprite();
+$ventana_debug = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(120, -120);
@@ -2750,7 +2750,7 @@
 $s4->drawLine(0, -3966);
 $s4->drawCurve(0, -44, -30, -33);
 
-$s6 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_NOSELECT | SWFTEXTFIELD_USEFONT );
+$s6 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_NOSELECT );
 $s6->setBounds(8104, 398);
 $s6->setFont($font_general);
 $s6->setHeight(320);
@@ -2874,7 +2874,7 @@
 $s11->drawLine(0, -3620);
 $s11->drawLine(8158, 0);
 
-$s13 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_MULTILINE | SWFTEXTFIELD_USEFONT );
+$s13 = new SWF::TextField(SWFTEXTFIELD_NOEDIT | SWFTEXTFIELD_MULTILINE );
 $s13->setBounds(8000, 3606);
 $s13->setFont($font_general);
 $s13->setHeight(320);
@@ -2918,7 +2918,7 @@
 
 
 
-$ledcolor = new SWF::Sprite();
+$ledcolor = new SWF::MovieClip();
 $s1 = new SWF::Shape();
 $s1->movePenTo(524, 125);
 $s1->setLeftFill(255, 0x00, 0x00);
@@ -2940,7 +2940,7 @@
 $ledcolor->nextFrame();  # end of frame 1
 
 
-$ledsombra = new SWF::Sprite();
+$ledsombra = new SWF::MovieClip();
 $s2 = new SWF::Shape();
 $s2->movePenTo(216, -124);
 $s2->setRightFill(0x00, 0x00, 0x00, 0x32);
@@ -3038,7 +3038,7 @@
 $i2->addColor(0x00, 0x00, 0x00);
 $ledsombra->nextFrame();
 
-$ledbrillo = new SWF::Sprite();
+$ledbrillo = new SWF::MovieClip();
 $s4 = new SWF::Shape();
 $g = new SWF::Gradient();
 $g->addEntry(0.368627, 0x00, 0x00, 0x00, 0x00);
@@ -3111,7 +3111,7 @@
 
 ####### Arrow
 
-my $fle = new SWF::Sprite();
+my $fle = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(5642, 3859);
@@ -3751,7 +3751,7 @@
 $s_icon2->drawLine(20,  0);
 
 # icon3 Movieclip
-my $i_icon2 = new SWF::Sprite();
+my $i_icon2 = new SWF::MovieClip();
 my $item    = $i_icon2->add($s_icon2);
 $item->scaleTo(0.5);
 $i_icon2->nextFrame();
@@ -4758,7 +4758,7 @@
 $s_icon1_f2->drawCurve(-73,  273,  -12,  177);
 
 # Icon1 Movieclip
-my $i_icon1 = new SWF::Sprite();
+my $i_icon1 = new SWF::MovieClip();
 $item = $i_icon1->add($s_icon1);
 $item->scaleTo(0.5);
 $item->moveTo(-3000, -2100);
@@ -4770,7 +4770,7 @@
 $i_icon1->nextFrame();
 
 
-$envelope = new SWF::Sprite();
+$envelope = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(8722, 1745);
@@ -4954,7 +4954,7 @@
 
 
 
-$telefono3 = new SWF::Sprite();
+$telefono3 = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(7575, 1918);
@@ -5027,7 +5027,7 @@
 
 ### Shape 1 ###
 
-$telefono4 = new SWF::Sprite();
+$telefono4 = new SWF::MovieClip();
 $s1 = new SWF::Shape();
 $s1->movePenTo(8338, 3364);
 $s1->setLeftFill(0x00, 0x00, 0x00);
@@ -5268,7 +5268,7 @@
 
 
 
-$conference1 = new SWF::Sprite();
+$conference1 = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(7708, 2179);
@@ -5961,7 +5961,7 @@
 $conference1->nextFrame();  # end of frame 1
 
 
-$conference2 = new SWF::Sprite();
+$conference2 = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(6139, 1671);
@@ -6167,7 +6167,7 @@
 
 
 # status log toolbar
-#  $statusbar = new SWF::Sprite();
+#  $statusbar = new SWF::MovieClip();
 ### Shape 1 ###
 #  $s1 = new SWF::Shape();
 #  $s1->movePenTo(19920, 0);
@@ -6185,7 +6185,7 @@
 
 
 
-$extrainfo = new SWF::Sprite();
+$extrainfo = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(5400, 0);
@@ -6212,7 +6212,7 @@
 $i2 = $extrainfo->add($s1);
 $i2->scaleTo(0.5);
 
-#$s3 = new SWF::TextField(SWFTEXTFIELD_USEFONT );
+#$s3 = new SWF::TextField();
 #$s3->setBounds(3740, 398);
 #$s3->setFont($font_general);
 #$s3->setHeight(320);
@@ -6228,7 +6228,7 @@
 
 
 
-$boton_ayuda = new SWF::Sprite();
+$boton_ayuda = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(439, 222);
@@ -6421,7 +6421,7 @@
 $boton_ayuda->nextFrame();  # end of frame 1
 
 
-$boton_debug = new SWF::Sprite();
+$boton_debug = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(415, 159);
@@ -6669,7 +6669,7 @@
 
 
 
-$boton_reload = new SWF::Sprite();
+$boton_reload = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(424, 154);
@@ -6866,7 +6866,7 @@
 $boton_reload->remove($i1);
 
 
-$boton_security = new SWF::Sprite();
+$boton_security = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(493, 135);
@@ -7057,7 +7057,7 @@
 $boton_security->nextFrame();  # end of frame 1
 $boton_security->remove($i1);
 
-$boton_security_unlock = new SWF::Sprite();
+$boton_security_unlock = new SWF::MovieClip();
 ### Shape 1 ###
 $s1 = new SWF::Shape();
 $s1->movePenTo(493, 135);
