ActionScript 2.0 :: External Text Won't Scroll
Dec 19, 2003
I've created a dynamic text box with buttons to scroll the text up and down. I'm not using the component that comes in flash mx. If I hard code text into the box, my scrolling functionality works. Now I've tried to take it a step further and load the text from an external .txt file using the following code:
loadText = new LoadVars();
loadText.onLoad = function(success) {
if (success) {
textcontainer.scroller.condenseWhite = true;
textcontainer.scroller.html = 1;
textcontainer.scroller.htmlText = this.mart?
View 6 Replies
Similar Posts:
Mar 13, 2003
I like to know an easy way to create a text autoscroll (vertical) that worked when the text was loaded from another text file. it can use for news/site update. see the attachment.
View 14 Replies
Dec 11, 2006
how to load external text and scroll it inside the text area.
i wanna know how can i use this if its not in my main timeline, if its inside a Mc ?
loadVariablesNum("./text.txt", 0);
How can i tell it to load in my Mc ?
View 1 Replies
Dec 19, 2003
I've created a dynamic text box with buttons to scroll the text up and down. I'm not using the component that comes in flash mx. If I hard code text into the box, my scrolling functionality works. Now I've tried to take it a step further and load the text from an external .txt file using the following code:
loadText = new LoadVars();
loadText.onLoad = function(success) {
if (success) {
[code].....
View 6 Replies
Sep 3, 2009
I know how to load external text, but I am trying to have it load into a masked movie clip so then I can use a custom scroller to scroll the text up and down. The problem is that I can't get the scrollbar to scroll the text at all. If I just put in type in text into the movie clip, it scrolls fine. I have checked my paths and everything is correct...
View 0 Replies
Aug 13, 2009
OK, I've worked on this for days, I would like to make the box drag-able, however I loose my text when I add the drag function. It has something to do with the cliphandler and a conflict.Everytime I add the following code it kills my text and or image.
Code:
dragger.onPress = function() {
startDrag(_root.about);
[code].....
View 1 Replies
Nov 22, 2003
Is there any way that can I scroll text from an external .txt file BUT to include links IN the text that will make an action to be performed?
I mean... loading external text that by clicking on a word or phrase an onRelease action can be assigned to it.
an example I've seen is in tobymac.com in the news menu , the scrapbook section. the text is loaded from external file and it have an action. It works just as any button in flash
View 3 Replies
Sep 17, 2009
I had some dynamic text with a scroll bar and it was working fine. Then I decided to use HTML formatting and bring it in through an external .txt file using the following code:
myLoadVars = new LoadVars();
myLoadVars.onLoad = function() {
ContactText.htmlText = myLoadVars.myHTMLdata;
} myLoadVars.load("ContactText.txt");
The text is loading fine except that my scrollbar has now disappeared and you can only see the first few lines of text.
View 1 Replies
Apr 22, 2008
is there a way so that you can make external text automatically scroll all the way down to the bottom?
[URL]
and is there a way to hit the enter button to send a submit function?
View 6 Replies
Mar 1, 2009
I want to make a dynamic textarea with loaded text from an external textfile, and then I want custom made arrow buttons to start scrolling the loaded text on mouseover (not click) andt stop scrolling on mouseout. Ala like in this webpage[url]...
The part with the loaded text is fine, but I can't manage to script the arrow buttons to do what I've just described. Even though I have searched the Internet for recipes I just find how to scroll loaded text on click or with a scrollbar
View 1 Replies
Jun 3, 2011
I am loading a different external SWF into each one using Load External SWF behavior.Although each SWF is a different file, they are exact copies of each other (have exact same functionality); all 3 are text boxes with both scrollbar scrolling and mousewheel scrolling.Problem is, when on the stage at the same time, they all three respond to mousewheel scroll at the same time. I need them each to respond to users' mousewheel scroll only if the mouse is over the respective area (so that way they don't all scroll at the same time).The file was developed for me and the developer is not available at this time.
View 1 Replies
Jul 30, 2007
I know you can use the mouse wheel to scroll through text in the flash componenet scroll pane, but is there a way to set it up to work with the code I have posted below?
fscommand("allowscale", "false");
bar.useHandCursor = dragger.useHandCursor=false;
space = 5;[code].....
View 4 Replies
Apr 12, 2011
I have one more script in that only mouse drag works i want also scroll works on mouse over event.
onClipEvent(load)
{
buttonSize = 0;[code]..........
View 1 Replies
Feb 24, 2011
I've gotten to chapter 5 in my AS 3.0 classroom book but I need to use wisdom today (CHAPTERS before I gain it for myself),I need to create a custom scroll bar with buttons that function just like the UIScrollBar but more visually suited to our projects. the boss demands it.
I found several tutorials on creating the custom scrollBar, however, they don't include the buttons and I'm unable to find a tutorial on how to create a button scroller (I figured I could link them both to my "info_txt" after creating them separately).
how to create an AS3 text scrollBar WITH buttons? how to create a nice scroll effect with buttons(if creating the scroll bar and buttons apart then linking them to the same text field is not possible or a faulty way to accomplish this).
View 1 Replies
Jun 10, 2009
how can i scroll two text boxes with single scroll bar?
View 3 Replies
Jan 27, 2004
how to use the mouse scroll to scroll up and down in a dynamic text field.
View 2 Replies
Jul 18, 2009
im new to actionscript 3. I have some problems in creating mouseover scroll. wat i want to do is to scroll the text (which was created as movie clip) when i mouse over on the button. and stop the scrolling when i mouse out. thou i have some examples on how to make it work with actionscript 1 and 2, i dunno how to change it to actionscript 3.
View 5 Replies
May 29, 2004
I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.
show dynamic text also in scroll pannel.
View 1 Replies
May 29, 2004
I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.
View 1 Replies
Sep 15, 2009
I have a library MovieClip the I am putting into the Scroll Pane. Inside this MovieClip is a Dynamic Text field that I fill with data. I have the ScrollPane on my stage and have used the source, refreshPain and update to try and get the new information from the dynamic text field into the Scroll Pain. To no avail all I get is the orginal text that was in the box when it started.
View 2 Replies
Jan 27, 2011
I 'm trying to make it so an image will scroll with a specific line of text in a text field. I know that using delta of the scrollEvent will give me direction but everytime i try to increment and decrement the y value of the image the image doesn't follow the line of text perfectly it tends to "crawl" if you will.
[Code]....
View 1 Replies
Jul 16, 2011
I want to make a Flash app that will scroll text whilst music plays. The music part is easy, but scrolling the text...I've tried simply importing ALL of the text, resizing, and scrolling that one giant object upwards, but when the screen was full of text it began to slow down. I need the speed uniform to sync it with the music in the background.
I could have a 70,000,000,000 frame movie and move each element individually, avoiding the heavy load, but the amount of work on my end this would require would be so astronomical that it just wouldn't be worth it. Ideally I want something like a component that I can dump text into and have it deal with making the scroll speed uniform.
It would also be a major plus point if it could be used/created by another program, so that someone without Adobe Flash could produce a similiar kind of movie simply by putting in their text and MP3 file and hitting a "Generate" button.
View 2 Replies
Oct 8, 2007
Can anyone point me in the right direction of any tutorials that th creating a body of text that is from XML, that is scrollable (scroll bars and arrows), and will alllow for HTML links in the text?
View 7 Replies
Sep 11, 2009
Im supposed to make a marquee that has curved dynamic text scrolling through it. I used the displacement map filter for this and it almost works. the only problem is that when the dynamic text field gets to a certain x position, the filter stalls, but the text continues to scroll. Im really at a loss. heres what I got so far: [URL]
[Code]...
View 2 Replies
Jun 7, 2009
I've managed to piece together a flash website with my limited as3 knowledge. The text is loaded from external text files and styled with an external css file.
It's working perfectly in Firefox and Explorer but it only works SOME of the time in Safari (on my mac).It's hit and miss. Sometimes it styles the text sometimes it doesn't.
[Code]...
View 1 Replies
Nov 6, 2009
Basically, my whole website's going to be in Flash, but I want to be able to update one page (sort of a news/blog page) without having to edit the Flash file every time. I'm assuming the easiest way to do this would be to set up either a scroll pane or a text box and pull the text in from a .txt file. That way I could continue to add on to the .txt file, and Flash would always pull in the current version. So, my issues are:
1. I have no idea where to start with the code for something like that. Is it a LoadVar? Do I physically put a scroll pane or a text area in the frame and put the action on that, or do I put the action on the frame and have it call up a text area component?
2. Will the text scroll automatically, or is that something else I would have to add in? I plan on adding to this text file for awhile, so it could end up being a lot of text over time.
3. Would I be able to format the text in the .txt at all? For instance, if I hit enter to put in a paragraph break, would that register once it's pulled into Flash, or would I have to put in an html paragraph break or something? That may be a dumb question, but as I said, I'm not exactly fluent in ActionScript (or any other programming language for that matter).
View 3 Replies
May 28, 2007
I am having a problem incorperating some scrolling text as an external SWF. As it's own movie file, the scroller works fine, but one the file is exported and used as an external SWF with the container method, the scroller does not work.
The text shows up, but the up and down buttons do not work. Can anyone lend me a hand, show me a different way of scrolling that is legit and will work, or suggest another method to do this?
Use the index.zip located at [URL] if you want to look at the .fla files.
View 14 Replies
Feb 11, 2011
I have a flash movie with text and images, and I want to make a vertical scroll bar - however the catch is that I want to make that scroll bar in a seperate SWF, so that you can place the two side by side and they both work?
View 2 Replies
Aug 18, 2010
I am trying to create a scroll text box with two columns appetiser menu. The dimensions are 675 px wide and it doesn't matter what the length is as the scroll text box should be able to scroll down as much as needed, but the width is important. I have arranged the text in the scroll text box as so -
[Code]...
View 3 Replies
Jul 5, 2010
im using a custom scrollbar class, but instead of scrolling content like bitmaps i want to scroll the text inside a text box. what parameter do i use to edit or get the scroll position of a dynamic textbox?
View 1 Replies