Hi Guys,
I am trying to display text over a dynamic movie clip. For simplicity sake I have deleted all other layers apart from the two I need and both only contain one keyframe.
Scene 1 has two layers :
1. Text
2. Image
Text layer code
Image Layer code
What I want to do is have the text from the text layer display on top of the Image layer. I can set the _alpha value in the showImage function, but I want the text on top of the image with no alpha blending.
Both these functions work fine. Take into account that I don't want to hard-code any images or text (they must be read from variables in files). For this example I have left "backdrop.jpg" hard-coded in the action script.
Thanks in advance.
------------------------------------
There's no place like 127.0.0.1
------------------------------------
I am trying to display text over a dynamic movie clip. For simplicity sake I have deleted all other layers apart from the two I need and both only contain one keyframe.
Scene 1 has two layers :
1. Text
2. Image
Text layer code
Code:
MessageData = new LoadVars();
MessageData.onLoad = function() {
txtLine1 = this.line1; // txtLine1 is the Var property of the textbox
txtLine2 = this.line2; // txtLine2 is the Var property of the textbox
txtLine3 = this.line3; // txtLine3 is the Var property of the textbox
};
MessageData.load("config.txt"); //open the config.txt file for to read in line1, line2 and line3.
Image Layer code
Code:
showImg = function(picName)
{
//set the position of picHolder movie clip
picHolder._x = 0;
picHolder._y = 0;
//picHolder._alpha = 30;
//Load the pictures
picHolder.loadMovie(picName);
}
createEmptyMovieClip("picHolder", 1);
showImg("backdrop.jpg");
What I want to do is have the text from the text layer display on top of the Image layer. I can set the _alpha value in the showImage function, but I want the text on top of the image with no alpha blending.
Both these functions work fine. Take into account that I don't want to hard-code any images or text (they must be read from variables in files). For this example I have left "backdrop.jpg" hard-coded in the action script.
Thanks in advance.
------------------------------------
There's no place like 127.0.0.1
------------------------------------