ActionScript 3.0 :: Add A Vertical Scroll Bar In Textfield?
Jun 21, 2011How do I add a vertical scroll bar in a textfield?
View 5 RepliesHow do I add a vertical scroll bar in a textfield?
View 5 Replieshow can i scroll two text boxes with single scroll bar?
View 3 RepliesI have about a dozen thumbnail images aligned in a 3 X 4 grid. The dimension of the stage is smaller then the 3 X 4 grid therefore I will need a vertical scroll bar to scroll through my images. In addition, whenever the user rolls over one of the images the edges would glow. Also, when the user clicks on one of the images, it will bring them to a separate frame. I was wondering how I would attempt to do this. Since I will be frequently adding new thumbnails, I heard that I should look into XML. If I am to do this using XML, I am confused as to how I would do this.
View 5 Replieshow to take a vertical scroll bar I made and make it scroll text..all I can find is tutorials on the arrow (up/down) buttons...or they try and tell my how to use the componet scroller....yuck.....i made my own now how in the hell can I write the AS to get the scrollbar to talk to the text I have...(the text is a MC)..
View 3 RepliesI'm having trouble getting a vertical scrollbar to appear when the browser window is smaller than the content within the .swf file that is automatically embedded into the html template that Flex creates on a release build.
I fixed this issue with Firefox and Chrome by adding a style to the html template page that the .swf is embedded in.I've even changed the fixed height of my main .mxml file to 100%.IE is still not showing vertical scrollbars when the browser window size shrinks smaller than the content inside the .swf.
My flash movie is being hosted in an iframe that is outside of my control. I have a combobox in my flash movie and whenever a user moves their mouse inside of the combobox and scrolls the mousewheel, It should normally scroll the combobox only. What is happening is that when the mousewheel is used, the outside host page scrolls vertically as well
View 1 Repliesi got the horizontal scroll down by this tutorial... [URL] now im stuck on how to get the vertical scroll...
View 4 Replies[url]...I know it may be not really a Flash problem but how to obtain that kind of effect when the window to the some point - horizontally, has no scrollbars even if the content seems to be longer than the windows current size?
View 2 RepliesI need a script that will let a user scroll a movieclip Horizontally AND Vertically. Just like a regular vertical scrollbar which u always see, it has an up arrow and down arrow. i need that, as well as a right and left arrow.i have a big image file, and i want to mask it, and let users scroll thru it up down right and left.
View 6 RepliesI have a long column of text set Roman and Bold originally in InDesign CS2. I intend to use the type as a dynamic vertical scroll within Flash. But I cannot retain the type styles! I have:
1. saved the original ID text files as .jpg, .png and find the reproduction inferior to Flash set type. (importing.pdf files into flash looses characters!). Flash cannot read .eps or ID files. So I tried copy and pasting original ID text into Flash. It looked good but the bold style was converted to roman.
2. There is no way in Flash I can find to convert selected single lines to bold!
I have tried highlighting a line and selecting Text>Font the bold font; - all text becomes bold! I have highlighted a line and used the Properties Style Bold button; - All text becomes bold! Apparently I cannot select a line of text without the whole text block becoming live.
3. My choice appears to be A. re-type all text in Flash or B. Place text in xml file linked to the scroller.
I want to do a vertical scrolling movie clip with easing with buttons. No scroll bar. I have attached a sample I have done just using _y properties. Ideally I want it to ease to the right position instead of jumping to it.
View 1 RepliesI have a easy dummie code were I have a vertical scroll and i'm trying to change it to horizontal but I fail [code]....
View 1 Repliesi have a 400x400 image i want to zoom it by 200 percent whan it zoom i need vertical and horizontal scroll bar to show it.
View 3 Repliesi've to write a simple method, wich allow me to move a movieclip inside another one, like in [URL] (i've to move it in vertical, instead of horizontal).
i've write this simple code but it seems to not work properly..
public function factor():void
{
thumbs.addEventListener(MouseEvent.MOUSE_MOVE, moveSlide);
[Code].....
In flex, I am getting the y-coordinate in the following way:
nextHBox = HBox(ingBox.getChildByName("ing" + nextId));
nextYAxis = ingBox.localToGlobal(new Point(nextHBox.x,nextHBox.y)).y;
newCanvas.x = nextYAxis;
nextYAxis gives me the y-axis and I use it to position new component. It works absolutely fine. But, when there is vertical scroll, and I scroll it a little bit, and then the above mentioned code places the component at wrong place. I believe, it has something to do with the scroll.
I am trying to build an image gallery as shown in the attached image.
The idea is basically to be able to add unlimited thumbnails (A,B,C,D,E and so on) at will by using XML and the latest uploaded thumbnail, be always in the first position (image A thumb). Also it's also able to add a title for the uploaded image ("Title here" as shown in the image)
The image A is by default always being shown on the right hand side with a title and description text.
I'm trying to create a vertical auto scroll. The idea is to move up or down the image gallery when the user passes the mouse over a mask movie clip. Problem is I'm not sure how to determine the right coordenates form this movie clip. Let me explain, I can imaginary divide this movie clip in half. Top half let me move the gallery to the bottom and bottom half let me move the gallery to the top. It will be great if some easing could be added in the process.
View 5 RepliesI am trying to get my flash site to not scale/resize when the window is resized...but I also want it to stay centered on the page...the centering part I have figured out, and I also have the no scaling part figured out...however when you make the browser window smaller...the bottom of my swf gets cut off an no vertical scroll bar shows up in my browser window...
[Code].....
I am trying to make a vertical mouse-sensitive scroll that I created a while back work going horizontally. You can see the one I created at [URL] and click on the "CUSTOM" link. I have been fiddling with the x and y coordinates but can seem to make it work. If I sent someone the FLA file, could you possibly help me make it work scrolling HORIZONTALLY?
View 1 Replies[URL]
>> Which method is used to add those smiley clips in grid type view
>> I did it it in a matrix manner.
>> also how to scroll those clips either horizontal and vertical only.
I am creating a XML Gallery, I have the gallery working, its just my thumbnails are repeating horizontally, on a vertical scroll bar. I believe it must be the way i have coded my for loop
example on how my thumbnails are displaying at the moment:
thumbnail 1 Thumbnail 1
Thumbnail 2 Thumbnail 2
thumbnail 3 thumbnail 3
[Code]....
http:[url].....make a mask scroll (I have a vertincal only one inside)?
View 3 RepliesOkay, here's one. We're running a SharePoint publishing/public site and I have this URL with a Flash object that displays a table that updates every 5 minutes:es, Yes, I know there's a million Ajax ways to do this, but there's politics behind it.On Firefox and Chrome I get a vertical scroll bar from the browser, not the flash object. There should be NO scroll bar and is none in IE.
View 1 RepliesI have a rich text component with large amount of text. How to add vertical scrollbar to it? I tried:
<mx:Canvas width="100%" height="100%" verticalScrollBar="vsb">
<s:RichText id="text" width="100%" height="100%" maxDisplayedLines="-1"/>
</mx:Canvas>
<s:VScrollBar id="vsb" height="100%"/>
But it get error: Initializer for 'verticalScrollBar': values of type mx.controls.scrollClasses.ScrollBar cannot be represented in text.
In Flash 9, with AS 3, I modified the width of an isolated list component using list_instance.setSize(width=x, height=y). When the list is included in an app with other components and movie clips, the setSize() method applies itself to the size of the app window and scales everything within. Using skins, I can edit the list background color. Though I can modify the width of the accompanying vertical scrollbar subcomponent in the editing window, the modification does not apply to the stage or when the app is run with Control/Test Movie. modifying the width of the vertical scroll bar in a list component that is included with other components and movie clips in an app, either dynamically with AS 3 or by editing skins?
View 0 RepliesI've got a flash document using AS3. It dynamically reads data from an XML file, and creates a bunch of single line textFields. Could be like this:
<XMLdata>
<Line>this is line 1</Line>
<Line>this is line 2</Line>
<Line>this is line 3</Line>
</XMLdata>
So, for each node, it would create a new TextField, and change the textField.y value so that they are "stacked" on top of each other. All this if fine, except that if you hae so many "lines" (or textfields) that the "stack" is taller than the Flash Document size. What I would like to do is have a scroll bar or something so you can scroll the stack of TextFields. Doesnt' even need to be a scroll bar. Maybe an arrow button at the bottom, and when you click on it, it scrolls down. One for up too.
Iīm trying to vertical align some text in a Monoline TextField in AS3.Not sure if this can be done with TextFormat, but I donīt think so
View 2 RepliesI have been working on a dynamic loading news ticker for a site and have been running into two separate problems:
The first, creating a movie clip, inserting the following code:
var myTextLoader:URLLoader = new URLLoader();
var myTextField_txt:TextField = new TextField();
myTextField_txt.wordWrap = true;
myTextField_txt.autoSize=TextFieldAutoSize.LEFT;
[Code] .....
And having the clip load the text from the text file listed. In this version, everything is working fine except I don't have the ability to change the font, size, and color of the text using only flash and the text document, (to my understanding).
The second, creating two .fla files, one with the embedded font I want to display named font.fla, and the other blank named fontloader.fla. Also create an .as file in the folder with the following code:
package {
import flash.display.Loader;
import flash.display.MovieClip;
import flash.events.Event;
import flash.net.URLRequest;
[Code] .....
In this second scenario, the problem is that I can't figure out a way to make the dynamic text scroll vertically and loop, (Was trying to figure out a way to save the fontloader.fla as a movie clip, then importing it into a new .fla and just using a motion tween on the clip, but so far I'm confused by it). This second scenario is also not my first choice, because loading the text straight from a text file would make the news section very easy to update for those who don't have any design experience.
I have created a textfield in actionscript but I want the textdirection vertical. for instance I have this text: Hello World then I want rotate this 90 degrees CCW. What I don't want is like this:
H
E
L
L
O
etc.
Here is my code for the textfield.
Code:
// be sure this is pointing to a ttf font in your hardrive
[Embed(source="C:WINDOWSFontsverdana.ttf", fontFamily="foo")]
var bar:String;
[Code].....
Using textfields. I need vertical text, rotated so that you could read it from bottom up. I can do it with static textfields, but I need to change the content of the textfield, so I cant use static textfield class. What other options are there? I've heard something about embedding fonts does the trick. The thing with embedding the font....I read that if it works, it increases the swf size quite significantly. Atm I am using a very narrow text field with multiline so that one letter is on a separate line, but it doesnt look good and I need to change it.
View 0 Replies