Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Layering Movieclips Over Specific Text



I'm making a chat program.
I'm trying to make it so that when a person types into their text, it will appear as the proper smilie.

Using the <img src> thing puts the clip into the line below the text. I want the clip to be right on top.

Is this possible?



Ultrashock Forums > Flash > Flash Professional
Posted on: 2006-04-26


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Layering Movieclips Over Specific Text
I'm making a chat program.
I'm trying to make it so that when a person types into their text, it will appear as the proper smilie.

Using the <img src> thing puts the clip into the line below the text. I want the clip to be right on top.

Is this possible?

Layering Movieclips Over Specific Text
I'm making a chat program.
I'm trying to make it so that when a person types into their text, it will appear as the proper smilie.

Using the <img src> thing puts the clip into the line below the text. I want the clip to be right on top.

Is this possible?

Layering Movieclips At Runtime
I would like to have flash load a bunch of arbitrary pictures and allow a user to drag them, and also choose the layering order.

I'm wondering how I can do the last part: Allow the user to change the layering order (at runtime) in flash.

Here is a basic example of what I want to do in flash with actionscript illustrated with javascript. If you click the red box, the z-index is decremented and it appears behind the blue box.

(I want to do eventually is to have this with an arbitrary number of layers and movieclips that can all go forward or backward, though.)

Code:
<html>
<head>
<title>Untitled Page</title>
</head>
<script type="text/javascript">
function SendBackward() {
var objStyle = document.getElementById("moving").style;
objStyle.zIndex = parseInt(objStyle.zIndex) - 1;
}
</script>
<body>

<div id="moving" style="position:absolute; top:0; left:10;
background-color:red;width:100px;height:100px;z-index:100;"
onclick="SendBackward();">
</div>
<div id="non-moving" style="position:absolute; top:10; left:20;
background-color:Blue;width:100px;height:100px;z-index:99;" >
</div>

</body>

</html>
I was thinking that a way to do this might be to have each movieclip on its own layer.
But I'm wondering how easy it is to change the layer that a movieclip is on at runtime with actionscript.
Is there a way to add and delete layers at runtime?

If this is not possible, is it possible to ensure that some movie clips appear on top of each other without putting each on a separate layer?

[F8] Layering Movieclips And Dragging Over To Reveal Lower Mcs
Ok, this is really complex, or maybe simple i'm not sure. I want to have three movieclips layered on top of eachother. Below them will be a toggle switch that will toggle a square, which would preferably be the mouse pointer, that when you drag over the movieclips, it will reveal a specific one depending on which toggle is selected, and only the area within the small square will be revealed. I've attached a very rough markup to help demonstrate.

In the markup, the "Blue" square represents the movie clip, underneath it is a "Green" and a "Red" movieclip as well. Underneath the movie clips is the toggles that the user will select to determine what the white square will reveal when dragged over the stacked movieclips. So if they were to select the red toggle, the white square would reveal parts of the red movie clip that are within the white square area.

I hope I explained everything clearly. I really need help with this one. I have no idea how to set this up or where i would look for something like this. If someone could please help me, i would greatly appreciate it. Thanks for your time and attention.

[F8] Layering Movieclips And Dragging Over To Reveal Lower Mcs (Part2)
I posted earlier and thought i had a solution, but not quite. flashpipe1 you definitely hit it right on with what i was trying to do, only now i'm trying to line up moving mcs. I've attached the .fla file i'm working with.

I have a animated mc. When you click the toggle for red or blue and drag the white square over it's supposed to reveal the corresponding version of the mc. It does, however they are not synced up, how would i be able to tell it to pick up on the same frame? flashpipe1 or anyone, would you know how to do this? Thanks again for all the help and time.

Specific Position Of Movieclips? HelP
Hey Everybody,

Well I have a question. Okay, um, I know how to do an object tracking the mouse, like a mouse trail, and how an object can track another one, etc...But, if I had a line, how would i make only one point on the line track an object? What I mean is, if you have a straight line ( - ), and you want only the right point of the line to be tracked on the mouse, how would I do that? I know that it'll have something to do with the scale of the object, I think, but that's it. I saw an example of this when someone made a little guy with a head and stuff, and when you moved the head with your mouse, his whole body would stretch out and relocate to what it's original position used to look like. I hope it makes sense, Thanks guys!

Stop Dragging In Specific Movieclips
I have a movieclip that can be clicked and dragged. Inside that movieclip another mc is attached which has a drawing function. Therefore you click and drag to draw.

I want the parent mc to stop dragging when you start drawing. At the moment when you start drawing it drags aswell so the drawing becomes a mess.

Is this not possible when the drawer is attached inside the draggable movieclip?

[MX2004] Prototype On Specific Movieclips Only
Kay, I've searched, and I've skimmed through sen's OOP tutorial, but not found the answer. I'm sure it's here somewhere, I just can't find it...

What I am trying to do is to make a prototype apply to only certain movieclips. For example...

I have one apple movieclip and one orange movieclip. For these I have two prototypes:


Code:
MovieClip.prototype.onLoad = function () {
this.fruitType = "Apple";
};
and

Code:
MovieClip.prototype.onLoad = function () {
this.fruitType = "Orange";
};
But I don't want the apple prototype to apple to the orange movieclips and the orange prototype shouldn't apply to the apple movieclips (they will overrun eachother).

How can I accomplish this, without adding code to the specific movieclips, and WITHOUT doing like this:

Code:
MovieClip.prototype.onLoad = function () {
n = this._name.substr(0, 1);
if (n = "a") this.fruitType = "Apple";
if (n = "o") this.fruitType = "Orange";
};
Thank you in advance!

[MX2004] Prototype On Specific Movieclips Only
Kay, I've searched, and I've skimmed through sen's OOP tutorial, but not found the answer. I'm sure it's here somewhere, I just can't find it...

What I am trying to do is to make a prototype apply to only certain movieclips. For example...

I have one apple movieclip and one orange movieclip. For these I have two prototypes:


Code:
MovieClip.prototype.onLoad = function () {
this.fruitType = "Apple";
};
and

Code:
MovieClip.prototype.onLoad = function () {
this.fruitType = "Orange";
};
But I don't want the apple prototype to apple to the orange movieclips and the orange prototype shouldn't apply to the apple movieclips (they will overrun eachother).

How can I accomplish this, without adding code to the specific movieclips, and WITHOUT doing like this:

Code:
MovieClip.prototype.onLoad = function () {
n = this._name.substr(0, 1);
if (n = "a") this.fruitType = "Apple";
if (n = "o") this.fruitType = "Orange";
};
Thank you in advance!

Layering A .swf Over Html Text And Images
Does anyone know if it is possible to have a .swf file on top of text and images at like %50 transparency.

I've seen some banners that have images fly out of the banner and all over the page on top of text and images.

Any help greatly appreciated,

Zach

Adding Movieclips With Addchild And A Loop...how To Target A Specific One?
I have this code:

----------------------------------------------------

for(var i:Number = 0; i < 10; i++) {

buttonVar = new button();
addChild(buttonVar);
buttonVar.x = i*120;

}
----------------------------------------------------

It creates a 10 movieclips and moves them apart 120 units, what I want is to target a specific created movie clip. Say for example the number 4 in the loop, how can I asign a specific instance to that movieclip? to differentiatte it from the other ones ? any idea ?

[flash8] Trouble Highlighting Specific Areas Of Text In A Dynamic Text Box
Hi all, I'm currently trying to work out a method to highlight specific areas of text within a dynamic text field at runtime.
The method I've been toying with so far has been the use of CSS highlighting, but have not seemed to have any luck thusfar. What I'm attempting to do is to illustrate, to students, sections within a passage of text pertaining to correct methods of source referencing (source in terms of bibilographical references), and so am essentially trying to change the background colour of sections of text specified at runtime.
Here's some code I've thrown together to test the CSS theory:

PHP Code:



var highlightstyle = 'span.highlight { background-color:yellow }';var txt = '<p><span class="highlight">highlighted text</span> non highlighted text<span class="highlight"> more highlighted text</span></p>';txtbox.html = true;txtbox.styleSheet = highlightstyle;txtbox.htmlText = txt; 




however it don't work...and here I was thinking this would be a fairly easy affair
Any ideas?

Highlighting Specific Areas Of Text In A Dynamic Text Box
Hi all, I'm currently trying to work out a method to highlight specific areas of text within a dynamic text field at runtime. The method I've been toying with so far has been the use of CSS highlighting, but have not seemed to have any luck thusfar. What I'm attempting to do is to illustrate dynamically to a student sections within a passage of text pertaining to correct methods of source referencing (source in terms of bibilographical references), and so am essentially trying to change the background colour of sections of text specified at runtime.
Here's some code I've thrown together to test the CSS theory:

PHP Code:



var highlightstyle = 'span.highlight { background-color:yellow }';var txt = '<p><span class="highlight">highlighted text</span> non highlighted text<span class="highlight"> more highlighted text</span></p>';txtbox.html = true;txtbox.styleSheet = highlightstyle;txtbox.htmlText = txt; 




however it don't work...and here I was thinking this would be a fairly easy affair - any ideas?

Highlighting Specific Areas Of Text In A Dynamic Text Box
Hi all, I'm currently trying to work out a method to highlight specific areas of text within a dynamic text field at runtime. The method I've been toying with so far has been the use of CSS highlighting, but have not seemed to have any luck thusfar. What I'm attempting to do is to illustrate dynamically to a student sections within a passage of text pertaining to correct methods of source referencing (source in terms of bibilographical references), and so am essentially trying to change the background colour of sections of text specified at runtime.
Here's some code I've thrown together to test the CSS theory:


PHP Code:



var highlightstyle = 'span.highlight { background-color:yellow }';
var txt = '<p><span class="highlight">highlighted text</span> non highlighted text<span class="highlight"> more highlighted text</span></p>';
txtbox.html = true;
txtbox.styleSheet = highlightstyle;
txtbox.htmlText = txt; 




however, it don't work...and here I was thinking this would be a fairly easy affair - any ideas?

Highlighting Specific Areas Of Text In A Dynamic Text Box
Hi all, I'm currently trying to work out a method to highlight specific areas of text within a dynamic text field at runtime. The method I've been toying with so far has been the use of CSS highlighting, but have not seemed to have any luck thusfar. What I'm attempting to do is to illustrate dynamically to a student sections within a passage of text pertaining to correct methods of source referencing (source in terms of bibilographical references), and so am essentially trying to change the background colour of sections of text specified at runtime.
Here's some code I've thrown together to test the CSS theory:

PHP Code:



var highlightstyle = 'span.highlight { background-color:yellow }';var txt = '<p><span class="highlight">highlighted text</span> non highlighted text<span class="highlight"> more highlighted text</span></p>';txtbox.html = true;txtbox.styleSheet = highlightstyle;txtbox.htmlText = txt; 




...and here I was thinking this would be a fairly easy affair

Dynamic Text Field To Display Specific Text When Visibility Of Mc = "true"
Does anyone know if it is possible to display a certain line of text in a dynamic text field when a specific movieclips visibility is true? This is the script I am using now but it is'nt working.

if (_global.gothicBlockSide = "true") {
rightSideFont.text = "Gothic Block";
}

Specific Html Page Triggers Specific Frame Of The Flash Movie
I have been playing with flash and html and wonder if any of you have a bright idea on how to do this.


I have a flash movie, which I call from html but depending on which part of the html page I call it from I want to start it at a particular frame and not always from the beginning.

I have created a variable within the movie in action script and given it a different value for each of the frames I want to start the movie at, and want now to designate the value I give to that within html so that the movie “jumps” to the correct frame. Is this possible or am I totally crazy??

Inserting Text At Specific Location
Does anyone know how to insert text in a textbox based on cursor location information? For example you type in some text in a flash movie text box, then you click somewhere in the box and click on a button. The button insterts some word pre-set where the user positioned the cursor. Is this even possible?

Testing For Specific Parts Of Text
i am about 99.9% that nobody will reply to this post, but i dont care. i hav a textbox with a word in it. is ther anyway that i can test if a key that is pressed is equal to the last letter in the text box? read that thru a few times, lol. thank you for at least reading this.

Text Button To Specific Frame
is there anyway I can make text link to a specific frame in flash mx 2004 pro?

Look For A Specific Character W/in Input Text?
Hi, I am wondering what the script is to run a check on an email address a user has entered to make sure it has an @ symbol.

Thanks!

X And Y Position Of Specific Text Characters?
hey guys, I've a text field and I need to work out the x+y values of specific characters in it.

like in the text field theres might be *text here*

I need to find the x/y position of the *'s


anyone any ideas?

Highlight Specific Text In A Textfield
Hi all
My client wants a search facility on his flash site. You type in the search phrase or word and a list of pages appears, you click on the link and it takes you to that page. so far so good.

What I want to be able to do is highlight the phrase everytime it appears on the page. There are several textfields on each page containing text. I would like to be able to make the searched for phrase stand out in some way, preferably using a coloured box around the words.

Any suggestions? Im nearing the deadline and need help on this.

Loading A Text In A Specific Frame
hy there! i followed the kirupa forum about transitions between SWF's, but have one problem now. dont know how to load a dinamic text in a text_MC, but make it apear only in the midframe of the background mc...
i have a dropdown menu who loads the BG's to the container_MC in the main timeline (its a movieclip too) who has the following code in the button:

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "bg2";
_root.contentor.loadMovie("bg2.swf");
} else if (_root.currMovie != "bg2") {
if (_root.contentor._currentframe >= _root.contentor.midframe) {
_root.currMovie = "bg2";
_root.contentor.play();
}
}
}
on (release) {
_root.scroller.loadText = new loadVars();
_root.scroller.loadText.load("EQUIPA.txt");
_root.scroller.loadText.onLoad = function() {
_root.scroller.text = this.TEXTO;
};
}

i know this second part is wrong, but its the best i could do :S
how do i make it unload the preview text, and load a new one when the bg finishes the intro animation (gets to the midframe)?

http://cosmos.oninetspeed.pt/pantas/main.fla - for the main file
or
http://cosmos.oninetspeed.pt/pantas/ - to view the site

thanks in advance for any post!

Random Text After A Specific Time
Hello All,

Is it possible to display random text from a XML file in my flash template , after a specific time as i want or according to server time.

Plaese give me solution if anybody can .

Thanks

Loading A Text In A Specific Frame
hy there! i followed the kirupa forum about transitions between SWF's, but have one problem now. dont know how to load a dinamic text in a text_MC, but make it apear only in the midframe of the background mc...
i have a dropdown menu who loads the BG's to the container_MC in the main timeline (its a movieclip too) who has the following code in the button:

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "bg2";
_root.contentor.loadMovie("bg2.swf");
} else if (_root.currMovie != "bg2") {
if (_root.contentor._currentframe >= _root.contentor.midframe) {
_root.currMovie = "bg2";
_root.contentor.play();
}
}
}
on (release) {
_root.scroller.loadText = new loadVars();
_root.scroller.loadText.load("EQUIPA.txt");
_root.scroller.loadText.onLoad = function() {
_root.scroller.text = this.TEXTO;
};
}

i know this second part is wrong, but its the best i could do :S
how do i make it unload the preview text, and load a new one when the bg finishes the intro animation (gets to the midframe)?

http://cosmos.oninetspeed.pt/pantas/main.fla - for the main file
or
http://cosmos.oninetspeed.pt/pantas/ - to view the site

thanks in advance for any post!

How To Make Flash Recognize Specific Text?
I am trying to make a question based game somewhat like a magic 8 ball. I was wondering how to make flash pick out certain words from an input text then respond accordingly.
like someone types "How are you?" movie says "I'm Fine."

Calling Specific Variables From A Text File?
Hi

I would like to know if it is possible to load specific variables from a text file using a button.

my main movie is setup with 3 variables v1,v2,v3....

i have 2 buttons which i would like to call different variables from a single textvariable.txt file ie...

button 1 variables to load...

v1 = tv1
v2 = tv2
v2 = tv3

button 2 variables to load...


v1 = tv4
v2 = tv5
v2 = tv6

What AS should i be using for my buttons?


Contents of my text file....(without content:-))

tv1=&tv2=&tv3=&tv4=&tv5=&tv6=

Thanxs in advance..

Text Links To Target A Specific Frame
Hi

I was wondering if this was possible and how to do it if it is.

What i have is a swf movie embedded into the left frame of a html page. Within the flash movie r some hypertext links and i was wondering if it was possible to target those links to the centre frame of the frame set?

I know how to do this with normal html links but i cant figure out if its possible with links inside a flash movie.

Any help would be appreciated.

Regards

Fefris

Limit Text Box To Certain Number Of Specific Characters?
hi

i need to limit an action to run only if a text box has less than 5 commas in it (it can have ohter characters though). can that be done? i'm not sure how to write the condition for it, can anyone help? thanks! something likethis maybe:

if (text <= ",,,,,") {
play();
}

Link To A Specific Line In Scrolling Text
I need a little help from the pro's...

I am using Flash MX 2004 and I have pages opening as external swf's. In one of my movie clip pages I have 5 paragraphs of dynamic scrolling text and I have a link at the end of the forth paragraph which will take you to a little animated movie. My problem is that I need the user to be able to click on a link after they have viewed the animation which will then take them to the start of the fifth pargraph on the scrolling text bar. My assumption is that I need to "key" a part of the fifth paragraph but I can't seem to get it to work. Any help is very appreciated! Thank you!

Change Color Of Specific Text In A Field
What I am trying to do is change the color of some text:

here is my code you will notice that near the bottom there is an addMC which splices some text into the array with some formatting. The problem is I want to change the color of that text to red, when I add the color attribute all text after that disappears. Any help will be greatly appreciated.



audioButton.onRelease = function() {
//loads text into buttonMCs
oneMC.gotoandstop(1);
twoMC.gotoandstop(1);
_root.mySound.attachSound("223V43C");
_root.mySound.start("223V43");
////
example2 = new Array();
example2 = ["Use a shovel"];
oneMC.one = example2.join("");
///
example3 = new Array();
example3 = ["Use a drill"];
twoMC.one = example3.join("");
/////////
example4 = new Array();
example4 = [" to dig lose"];
twoMC_two.one = example4.join("");
///
example5 = new Array();
example5 = [" to build large"];
oneMC_two.one = example5.join("");
///
example6 = new Array();
example6 = [" material such as dirt."];
twoMC_three.one = example6.join("");
///
example7 = new Array();
example7 = [" to dig water."];

/////set text in array in one click
oneMC_three.one = example7.join("");
example = ["Use a shovel"];
preview =example.join( "" );
example.push("<b><u> to make big</u></b>");
preview = example.join("");
example.push(" material such as dirt.");
preview = example.join("");
};
check.onPress = function() {
if (preview == "Use a shovel<b><i> to dig lose</i></b> material such as dirt.") {
gotoAndStop(2);
}
else {
gotoAndStop(3);
}
};
oneMC.onPress = function() {
example = ["Use a shovel"];
preview =example.join( "" );
this.gotoAndStop(2);
this.enabled = false;
twoMC.gotoandstop(2);
oneMC_two.gotoAndStop(1);
twoMC_two.gotoAndStop(1);
};
twoMC.onPress = function() {
example = ["Use a drill"];
preview = example.join("");
this.gotoAndStop(2);
this.enabled = false;
oneMC.gotoandstop(2);
oneMC_two.gotoAndStop(1);
twoMC_two.gotoAndStop(1);

};
twoMC_two.onPress = function() {
example.push(" to dig lose");
preview = example.join("");
this.gotoAndStop(2);
this.enabled = false;
oneMC_two.gotoAndStop(2);
oneMC_three.gotoAndStop(1);
twoMC_three.gotoAndStop(1);

};
oneMC_two.onPress = function() {
example.push(" to build large");
preview = example.join("");
this.gotoAndStop(2);
this.enabled = false;
twoMC_two.gotoAndStop(2);
oneMC_three.gotoAndStop(1);
twoMC_three.gotoAndStop(1);

};
oneMC_three.onPress = function() {
example.push(" to dig water.");
preview = example.join("");
this.gotoAndStop(2);
this.enabled = false;
twoMC_three.gotoAndStop(2);
check.enabled = true;
//oneMC_three.gotoAndStop(1);
//twoMC_three.gotoAndStop(1);

};
twoMC_three.onPress = function() {
example.push(" material such as dirt.");
preview = example.join("");
this.gotoAndStop(2);
this.enabled = false;
oneMC_three.gotoAndStop(2);
check.enabled = true;
//oneMC_three.gotoAndStop(1);
//twoMC_three.gotoAndStop(1);

};

addMC.onPress = function() {
// Uses splice funktion to add the "added1" element as the 4th element.

example.splice(1,1, "<b><i> to dig lose</i></b>");
preview =example.join( "" );
oneMC_three.gotoAndStop(2);
check.enabled = true;


};
deleteMC.onPress = function() {
// This deletes one item after item 1.
example.splice( 1, 1 );
// Joins all array elements into a string. So that it can be previewed as a variable. "<br>" is a html code which adds line break.
preview =example.join( "" );
//example.push(" material such as dirt.");
// preview = example.join("");
//this.gotoAndStop(2);
//this.enabled = false;
oneMC_three.gotoAndStop(2);
check.enabled = true;
//oneMC_three.gotoAndStop(1);
//twoMC_three.gotoAndStop(1);

};

[04] Button To Tell A Dynamic Text Box To Go To Specific Section
I am going to have a web page that will have a lot of content on it and I wanted to create descriptive sub-buttons that would be able to tell a dynamic text box to scroll to that specific section of what the sub-button describes.

You see this a lot with websites that have frequently asked question pages when you click on a specific question (i.e question 5) and up appears the answer and if you scroll up on the page you see questions 4 answer and scroll down you see questions 6 answer. So I know its all on one page the button is just calling on specific coordinates of the webpage right?

Any help would be much appreciated I uploaded a template of my idea (or how I think it should work) if anyone wants to have a crack at it.

Thanks in advance!

Using Input Text To Load A Specific Scene
What I am wanting to do is have an input text field where a user can enter a zip code and once they submit that zip code I want to load a particular scene.

I just started to really get into the action script, and am working with Flash CS3 and AS 3.0. I've been using visual quickpro guide for CS3 Prof Advanced as a reference, and in it talks about using the SharedObject class to store and retrieve information. Using their code as an example, here is what I have thus far:

var mySharedObject:SharedObject=SharedOBject.getLocal( "myCookie");

zip_submit.addEventListener(MouseEvent.CLICK, savedata);
function savedata(myevent:MouseEvent):void {mySharedObject.data.zip = newwavezip.text;
mySharedObject.flush();
}

My undertanding is that this should save the data from the input text field that I have labeled zip when they click on the submit button labeled zip_submit.

What I can't figure out from here is how I would then retrieve this data and then compare it to a list of zip codes, and if it finds a match, take the user to a particular scene. If it does not find a match, it should also take the user to a particular scene. Ideally since this ShareObject can save information locally on a users computer, I figure if the user returns, it would automatically load this information and take the user to a scene.

Get Dynamic Text Specific Line Content
How can i get a dynamic tex specific line content?

The dynamic text is formatted in multiline.

Can't i get something like: texbox.line[5]? Of course this doesn't work.

But is there another possibility?

[04] Button To Tell A Dynamic Text Box To Go To Specific Section
I am going to have a web page that will have a lot of content on it and I wanted to create descriptive sub-buttons that would be able to tell a dynamic text box to scroll to that specific section of what the sub-button describes.

You see this a lot with websites that have frequently asked question pages when you click on a specific question (i.e question 5) and up appears the answer and if you scroll up on the page you see questions 4 answer and scroll down you see questions 6 answer. So I know its all on one page the button is just calling on specific coordinates of the webpage right?

Any help would be much appreciated I uploaded a template of my idea (or how I think it should work) if anyone wants to have a crack at it.

Thanks in advance!

Placing Text Fields On Specific Positions
Hi,
I really don't know if this can be done in flash.
I'm trying to make a cloze test using flash and I would like to position an "input" TextField exactly on top of a given word of a "dynamic" textfield. The problem is I don't know how to calculate the exact position that word has on the movie, so that I can give the right x and y coordinates and the width and height to the "createTextField" method.
Can this be done?
Thank you

How To Scroll To Specific Area In Text Field?
I am wondering if there is a way to scroll down to a specific area of a text field aside from directly using the scrollV property (specifying the line #). The example would be clicking a "D" button in a glossary and having the text field scroll down to the the beginning of the D terms. Obviously a simple thing in HTML with named anchors, but how to emulate with Flash AS3?

Dinamic Text Loaded After Specific Time
hy there guys!
i have a simple question:
how can i load a text, but make it apeear only after a specific time?
so you can have an idea, i'm creating a website from the tutorial:
http://www.kirupa.com/developer/mx2004/transitions.htm
and i want the text to be displayed only after the transition animations...
is it possible?

thanks in advance for any posts !

Dinamic Text Loaded After Specific Time
hy there guys!
i have a simple question:
how can i load a text, but make it apeear only after a specific time?
so you can have an idea, i'm creating a website from the tutorial:
http://www.kirupa.com/developer/mx2004/transitions.htm
and i want the text to be displayed only after the transition animations...
is it possible?

thanks in advance for any posts !

How To Make Text Move In A Specific Manner?

Hello everyone...Im a newbie here and in using flash so please bear with me... I need some tips on how to make a text or image to move from right to left and appears back from the right stage..it exits from the left and appears back on the right..like the matrix screensaver..only different is that its vertical..i need to make my symbol move horizontal..thanks..

How To Load Specific Frame Of Specific Movie On Another Layer
Here's my setup:

Layer 0 = main movie

Layer 1 = navigation movie

Layer 2 = products.swf


Using a button located on Layer 1 (that contains navigation.swf), I need to load on Layer 2 the products.swf, and it needs to land on frame 54 of that movie.

I'm fairly illiterate r.e. ActionScript, so go gentle on me, please, LOL

Thanks!!!!!

Wondering How To Make Flash Recognize Specific Text?
I am trying to make a question based game somewhat like a magic 8 ball. I was wondering how to make flash pick out certain words from an input text then respond accordingly.
like someone types "How are you?" movie says "I'm Fine."

Problems With Dynamic Text With Specific/device Fonts
Hey, I'm having problems when I try to specify one non device font in a Dynamic Text (from a DB) in Flash. When I'm using a non device font, and I put a HTML cod like "<b></b>" (even setting "Render Text as HTML" and "Embed fonts outlines for all characters") the word between HTML code is not shown, and when I use a device font (_sans), it is shown but when I use special characters like "ç" or "ã" it is not shown (even when it is put in HTML code).

is there other way to embed fonts in Flash? Does anyone know how can I fix this?

Thanks

Select Specific Text With AS In A TextArea, Need To Make A Hilighter
Hello all,

This is simple thing, but I can't seem to find the property to set. I need to have script controll over selecting text (with the highlighted color) AND with knowing when/what text is selected.

I have a textArea with a ton of text and inline images. The textArea is displaying html. I need to build a highlighter tool. The user will select a button. The cursor will change to a highlighter ICON. The user will select text in the textArea. A script will pick up on what was selected, and save it in a shared object. When the user returns to the page it will "remember" what was highlighted the last time they where there.

Most of that is easy, I just need to know the properties and acess syntex for specific lines, characters, and words of a textArea. I cannot find anything in the help or forums.


Code:
mySelectionStart = _root.myText.line[5].word[1].character[15]
mySelectionEnd = _root.myText.line[6].word[4].character[1]

-- or something like that.

Any ideas???

help.

ty

--mm

How To Read A Specific Line From A Text File Into A Textbox
Hi,
I need textbox1 show whatever text it may find on line 3 in textfile.txt
The textfile.txt must contain only the text I want it to (e.g. a poem), no scripts! No "textbox1=", "&" or other variables - just the plain text that needs to be read unto the textbox1
I need also to know how to make textbox1 show whatever text it may find on line 3 and line 5 in textfile.txt
Thanks..

[F8] Load Specific Line Of External Text Document - Please Help
Hi all,

I am sure I have seen this somewhere on the forum but I cant find it so I would appreciate any help with this.

I have an external text file which I am loading the contents into flash with no problems. It contains HTML code which is rendered in flash as HTML, it all works as I want it. The site I am making will have a few pages, the visibility of which are toggled when the user clicks on the menu buttons. I was wondering, rather than having e.g. 6 external text files with just a few lines per file, if i could target different parts of the file to load in the different dynamic text boxes in the flash file, so i only use one external file.

You have to put a variable at the start of the HTML in the .txt file like so:


Code:
aboutHTML=<HEAD><BODY>.....
so i thought maybe i could have something like:


Code:
oneHTML=<HTML><BODY>....</BODY></HTML>

twoHTML=<HTML><BODY>....</BODY></HTML>
and so on in the .txt file, and then just target this in the AS code but it doesnt work in flash - any idea why? The variable is used in this part of the code:


Code:
loader_lv.onLoad = function(success:Boolean) {
display_aboutTxt.htmlText = this.aboutHTML;
trace("Show dynamic About content")
};
so i thought i could change aboutHTML to oneHTML or twoHTML or whatever, and it would work. But it doesnt. Any ideas?

Thanks

Theo

Load Specific Line Of External Text Document
Hi all,

Flash 8 Prof - mac. Already posted on another forum but i wanted a second opinion

I have an external text file which I am loading the contents into flash with no problems. It contains HTML code which is rendered in flash as HTML, it all works as I want it. The site I am making will have a few pages, the visibility of which are toggled when the user clicks on the menu buttons. I was wondering, rather than having e.g. 6 external text files with just a few lines per file, if i could target different parts of the file to load in the different dynamic text boxes in the flash file, so i only use one external file.

You have to put a variable at the start of the HTML in the .txt file like so:


Code:
aboutHTML=<HEAD><BODY>.....
so i thought maybe i could have something like:


Code:
oneHTML=<HTML><BODY>....</BODY></HTML> twoHTML=<HTML><BODY>....</BODY></HTML>
and so on in the .txt file, and then just target this in the AS code but it doesnt work in flash - any idea why? The variable is used in this part of the code:


Code:
loader_lv.onLoad = function(success:Boolean) {
display_aboutTxt.htmlText = this.aboutHTML; trace("Show dynamic About content")
};
so i thought i could change aboutHTML to oneHTML or twoHTML or whatever, and it would work. But it doesnt. Any ideas?
Someone on the other forum which i posted on suggested using an array and gave some example code, but I have never really used arrays before and even though I am sure it wont be very hard I dont really want to spend alot of time working it out - it was just an idea to make life easier really - so if anyone has any ideas I would be greatful - if its a quick fix and it works i'll take it, otherwise if it is a more complex solution I may look into doing it that way once the site is up and running (or pretty much).

Thanks in advance

Spag

Retrieve Text Of Specific Line In Dynamic TxtField
Hi,
I am loading a long list into a textfield. By clicking on a line in that list, the user turns the dynamic textfield into an input field. Now I want to send only the changed item to a php script. Is it possible to output the text on a particular line? I was thinking I could use the scroll property do designate the lines (as I am doing for the buttons action) but what next? If I send all the content of that field that makes for a hundred lines minimum, so I want to avoid that for sure.

Thanks a million in advance..

Copyright © 2005-08 www.BigResource.com, All rights reserved