ActionScript 2.0 :: Scoll Text Not Using Scrollbar
Mar 28, 2003
have a look at this >example< and if you go to one of the curriculum, you'll see the thing i wanna get: how make the text go down and up without clicking anything and no scrollbar!
have a look at this >example< and if you go to one of the curriculum, you'll see the thing i wanna get: how make the text go down and up without clicking anything and no scrollbar
i was bored and i reworked my scoll into some universal stage so i could post it here. its free for you to look or use. nothing fancy but can be handy sometimes, i hope. it doesnt have included limit to scoll way up and down but i can add it when i have more free time. all info and settings are on frame 1.
I tried to create the movieclip with scrollpane, and everything is fine, I would like to change/amend the scoll bar layout, I tried the edit each movieclip inside the ScrollBar Skins folder, but it cannont get the result what I want.
I want to be able to move the list names of the listbox up and down can this be done through actionscript.or is there any way to bring the selected item to the top
I have an empty textbox with the basic scroll bar component. Nothing is in the text box so the arrows are greyed out on the scrollbar. I have a button that loads text into the textbox, but the component does not update itself to accomodate text that is larger than the text box.
how can I make it so that the scrollbar changes when text is added.....also If I put text in the text box in flash, when I publish it gets the scrollbar fine, but it will not adjust itself when I click on the button that loads different text into the text box. what happens is the scroll bar stays the same regardless on the size of the loaded text.
I'm building a site and I would like to add a scrollbar to a text area that swaps out xml text files. Currently, I have up and down arrows to scroll the text, but I would like to have an actual scrollbar instead since there is a lot of text in some of the sections. Here is a link to the current version of the site with the up and down arrows: [URL]
I can make the scrollbar work just fine if I put the text in the first frame, but whenever I set it up to call on text files, then the scroll bar won't work. Obviously, I'm pretty new at Flash. I've attached an FLA with the text box.
I have a scrollbar, this charge some external text, but the trouble is the next. I charge different text in the same text box when i move the scroll to down and charge another text the scroll continue in the same position i left the last time. I need when i change the text this begging in the 0 position.This is the code i used in the scroll.
Code: function FNSCROLL(){ if(this.scrollText != undefined ){ if(this.scrollText.maxscroll==1){[code]..........
when i charge the text in the text box. But i not sure
I'm using Flash MX to create a website. The user navigates between different scenes/frames using buttons, just like moving to different pages in html (except the "pages" are different parts of the main movie's timeline).The problem I'm having is that on two embedded movie clips there are text boxes which dynamically load html-formatted text files (news updates for different topics). When I run the movie, both of these "pages"/"frames" work beautifully, but after the first time, when I come back to either of them, the dynamic text boxes' scrollbars have disappeared and the up/down scroll buttons don't work. By clicking on the loaded text and dragging I can force it to scroll, so all the content is there, but the controls are gone.
I've been searching forums for a couple of hours on this now and the only thing I found was someone found a similar issue on CS3 which required giving scrollbars instance names (which I did) and then inserting Actionscript telling them to update--and that is a bit beyond me. Is there something I have to type in when the text loads to get it to do that?The script I'm using to load the text into the fields is as basic as it gets (and obviously cut and pasted from somewhere else):
loadText = new loadVars(); loadText.load("history.txt"); //creating the loadVarsText function
how you can go about applying a scroll bar to a static text box? The reason that I don't want to use a dynamic text box is that I can't specify a font and have it actually publish that font.
Does anyone know how you can go about applying a scroll bar to a static text box? The reason that I don't want to use a dynamic text box is that I can't specify a font and have it actually publish that font.
I am trying to adopt Lee Bremelow's OOP Scrollbar 2 to load external text. So far without luck. This tutorial uses three classes. In fla file there are movieclip scrollbox, inside of which are dynamic text field (txtField) and custom scrollbar ( consisting of two clips: thumb and track). If I copy some text into text field, everything works. If load external text into text field, text is loaded but it doesn't scroll. Below are codes from all classes:
when I test my movie my external text loads. if I scroll downany length with out retuning it to the top, and then click a buttonwich loads another external text file, you are not able to see thefirst few lines of the text file untill you click on the slider.the slider did not return to the untill I reset the sliderscordanites apon button click. is there a way I can reset the textfield.my code can be found in the sixth reply of this post [URL]
I have a dynamic text field, multi-line. I have attached ascrollbar component to it via drag and drop.It is empty but gets text dumped into it via AS'sappendText() method when the user clicks a button.It works, but if there are more lines than what fits into thetext field, the scroll bar does not "activate", and allow the usero scroll to see all of it.
I am somewhat of a beginner and have been attempting to create an entire website using Flash CS4 Everything is going quite well and the body of all of the pages are built The navigation buttons to each page are working perfectly. Now I am simply filling in the content for each individual page. Most of the pages were large enough to contain the content without requiring more room One of my pages will have a large area of text and several pictures.I became aware of the Components menu last evening and the selection of the scrollbar.I added the component to my page and sized it accordingly. It allows me to add text but not JPEG images. I was wanting to know how to utilize the scroll feature and still have text and images on the page
I am loading some text from an XML file and plcaing it into dyncamically created TextField. But if the text is long, it doesn't comes automatically in next line and goes out of the screen. I I use Text Area, then it shows a scrollbar. How can I load text in such a manner that ir automatically comes to next line and doesn't even shows a scrollbar?
Here I am trying to resize a movie clip which contains some dynamic text with scrollbar in a swf using mouse.I am able to resize the movie clip using "setProperty". But unable to control the behaviour of the scrollbar. when I am increasing the size of the movie clip the scrollbar should automatically disappear. But I am unable to do so.
Like this demo, the tab "pages" http:[url].....I have a word book with more than 90 pages and 7 charpter that i have to transform in flash projector. But i don't know how put both together..
I'm trying to have a scrollbar in my .fla for controlling images (put together in a movie clip) and viewing the different ones. The scrollbar component only seems to work with text boxes, and I can't find a decent tutorial on how to use scroll panes (or why I should) to save my life.It seems SO simple.
I'm working on a scrolling dynamic text box that uses text loaded from an external file. I cannot seem to get the scrolling to work properly though. The text is loading correctly, but when I drag the scroller, the text box moves in exactly the same fashion as the scroller (not in opposite directions and at a 1:1 ratio). However, I copied the actionscript from another file of mine where the code works, so I kept piddling around.
I found that if I drop a rectangle or any image/graphic into the movieclip along with the text box, then it scrolls perfectly. The problem appears to be with the actionscript not recognizing the length of the text, even though it all appears to be loading. Resizing the text box manually doesn't change anything. I can see a half line of text where the mask ends, leading me to believe the rest of the text is there, and when I drop a rectangle graphic in, then I can see text that I otherwise can't scroll to. How can I make the scrollbar function with only the text box within the movieclip? I unfortunately cannot upload the FLA, because its a professional project and I'm not allowed to post the files at the moment, but I'll copy and paste my the scrolling portion of my actionscript here:
I have made a custom scroll bar, using tlf text converted to a movie clip that measures 903px tall. I've got a mask on it that's 314px tall.The scroll bar will scroll all the way down to the bottom of the content, but it will not scroll all the way back up. The button will go back to its place at the top of the scroll bar, but the movie clip only scrolls back up about two thirds of the way.I don't get any errors when I test the file, and I've permitted debugging in the hopes it would find an obvious mistake to no avail.Here's the code:
ActionScript Code: // Scroll My Content function - AS3 function scrollMyContent()[code]..........
I'm having an issue with a scrollbar (slyder and line) going below the height of the text field when the text file contains a link to an image in an HTML text file. This only happens when there is a tag for the image in the text file, but not when it is text only. and the code for the text file:
HTML Code: &article= <img src="admin/images/pressexample.jpg"/>
PRESS TEXT Luxelab, nestled among the boutiques and cafes of Santa Monica's posh Montana Avenue, is the beautiful brainchild of Jason Lara and David Abrams. With their more than 40 years combined experience in the salon industry, Lara and Abrams put their well groomed heads together and created the perfect environment for their chic clientele. Luxelab is dedicated to the modern client. It is sleek, progressive, and sets the pace for Los Angeles hairdressing.
<img src="admin/images/pressexample.jpg"/>
PRESS TEXT Luxelab, nestled among the boutiques and cafes of Santa Monica's posh Montana Avenue, is the beautiful brainchild of Jason Lara and David Abrams. With their more than 40 years combined experience in the salon industry, Lara and Abrams put their well groomed heads together and created the perfect environment for their chic clientele. Luxelab is dedicated to the modern client. It is sleek, progressive, and sets the pace for Los Angeles hairdressing.and the code for the AS:
ActionScript Code: //eventhandler for the onEnterFrame from the scrollmovie this._lockroot = true; function FNSCROLL(){
in flash8/mx04 is it possible to create a custom scrollbar for text only? i would like to make a dynamic text field with a scrollbar that doesnt need to be contained in a masked mc like most of the scrollers i have seen on this forum so far. i dont want to use the UIscrollBar component because it doesnt quite (well, doesnt at all) fit in with the theme of the project i am working on.
I'm currently using a scrollbar that I got here at Kirupa. I have my site set up with with 6 different navigation buttons, each button should load a new text file. To do this, I have a movie-clip with 6 frames in it. Each frame has this scrollbar on it and will load the correct text file depending on which button you click in the navigation. Everything works fine, except the scrollbar won't refresh itself for each different text file that loads. The scrollbar loads when the site loads, and then stays the same every time a new text file is loaded.
how to make the scrollbar refresh each time a new text file is loaded? I've attached my FLA in a zip file. Here is the scrollbar I used from Kirupa: [URL] Also, here is a test version of the site: http://www.bleedmedia.com/edrose2/index2.html And here is the actionscript used for the scrollbars:
i have a scrollbar in which i want to add additional text field. i can add bitmaps, but when i put new textfield, it doesn't display, even if i convert it to movie or graphic.
I am trying to make my own text scrollbar with dragger. I don't want up or down buttons just the dragger. I've done this so far... Code: var scrollHeight:Number = scrollTrack._height; var ms:Number = newsText.maxscroll; var left = scrollTrack._x; var right = scrollTrack._x; var top = scrollTrack._y; [Code] ..... It scrolls till the end of text but not to the beginning....