Flex :: Scroll Two Text Boxes With Single Vertical Scroll Bar
Jun 10, 2009how can i scroll two text boxes with single scroll bar?
View 3 Replieshow can i scroll two text boxes with single scroll bar?
View 3 RepliesI want to control 2 Dynamic Text boxs with the 1 scroll bar component? I want them to scroll simultaneously with the user only needing to use the one component.
View 3 Repliesif you scroll down and then click on another entry on the calendar, the text box scrollbar stays at the position it was in, instead of scrolling up to the top whenever a new external file is loaded.
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.
I'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.
I'm pulling data from a database and loading it into a dynamic text field with a scroll bar component. I wanted to know if there is a way to hide the scroll bar UNTIL the text gets long enough to scroll.
View 3 RepliesIn 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've had problems using check boxes in data grids that are populated using dynamic data. The check boxes do not stayed checked as you scroll. How can i solve it ?
View 2 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 RepliesI 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].....
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]..........
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).
how to use the mouse scroll to scroll up and down in a dynamic text field.
View 2 Repliesim 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 RepliesI 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.
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 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 RepliesHow do I add a vertical scroll bar in a textfield?
View 5 RepliesMy 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].....
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].....