KoolMoves Moderator
mediaplayer text overlay
Looking to find a way to make the text overlay in the mediaplayer be more transparent.
up to my .as in code
Set an alpha value for the "m" movieclip in the "loadSelectedItem" function. Be aware this also sets the alpha value of the text object ("t") as it is a child of "m" unless you go the extra length to separate the two.
Text OVERLAY FONT SIZE // mediaplayer with XML file
RE: OVERLAY FONT SIZE // mediaplayer with XML file
--------------------------------------------------------
Is there a way to set a "larger font SIZE" (for persons with visual impairments),
when using an external XML file to load images with a TEXT "OVERLAY" with mediaplayer.
sample:
------------------------------
<item label="menu">
<still src="http://domain.org/img/img.png" tid="0x00000010" ttime="3" itime="15" scalemode="1" />
<overlays transition="0" timeframe="0,3,11,14">
<overlay x="270" y="50" width="210" height="70" text="size 1" link="1.php" />
<overlay x="270" y="120" width="210" height="70" text="size 2" link="2.php" />
<overlay x="270" y="200" width="210" height="20" text="size 3" link="3.php" />
<overlay x="270" y="240" width="210" height="20" text="size 4" link="4.php" />
</overlays>
</item>
-----------------------
use a frame action
mediaplayer1.textFormat = new TextFormat('_sans', 20);
thank you kindly Bob... i am loading a second SWF file from a "main.swf"
file think i have the "font" worked out in AS3 as follows...
--------------------------------------------------------
// koolmoves v 7.5.1 // as3 // sub swf 1
var myFont:TextFormat=new TextFormat();myFont.size="24";
myFont.font = "Verdana";myFont.align="center"
var myTextSub:TextField = new TextField();
myTextSub.width = 175;
myTextSub.height = 30;
myTextSub.border = true;
addChild(myTextSub);
myTextSub.x = 20;
myTextSub.y = 20;
myTextSub.text = myArray[1]; // not arriving...
myTextSub.setTextFormat(myFont);
stop();
--------------------------------------------------------
however.... the data from the "main" section "myArray[1]" does not arrive to the variable in the "sub" SWF file...
here are the 2) FUN and SWF files....
Attached Files
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width