CS4 Pro - Make A Scrollable Textarea
Oct 18, 2010I'm working on a project where I need to make a scrollable textarea. But it needs a little perspective.. like the star wars intro text, but not so extreme.
View 6 RepliesI'm working on a project where I need to make a scrollable textarea. But it needs a little perspective.. like the star wars intro text, but not so extreme.
View 6 RepliesA little much put in the title, but my question is just that. I have the following AS3 code for my textarea...
addChild(Texta1);
Texta1.alpha = 0;
Texta1.blendMode = BlendMode.LAYER;
[Code].....
Unfortunately, when I start placing text in this text area. Either through code or user input, the text will be placed on a new line after about 80-100 pixels. Yet I want it to start a new line after 320 pixels (it's length).
Anyone know how to make scrollable text on mouse over ( the text will scroll upward or downward depending on the position of the mouse to explain myself ). Im using AS2; is AS even needed..It would be nice too, if the you can control the speed of the text.
View 2 RepliesI have a part of a movie that I want to make it scrollable. for example I have a square, and put it things (text fields)when it fills the square I want to make the square scroll. for example in this fla (test.fla)....in the 5th frame the 'hi' get's out of the square...and I want to scoll.
View 2 RepliesI used the tut on here to make my own photogallery with scrollable thumbnails and have run into a snag. My thumbnails share the same height but vary in width and, for some reason, are overlapping and/or appearing in the incorrect order.As you can see the first 4 thumbs and the 6th thumb are okay (they share the same width) whereas the 5th is missing (actually it is about 10 thumbs down, overlapped with another). Here's the code (taken from the "Adding Thumbnails" tutorial on this website.)[code]
View 2 RepliesWhich Flash Component should I use? DataGrid, ScrollPane, TextArea?
View 1 RepliesI wanted to know how I would make a whole symbol (an image) scrollable? I have found out how to do the multi-touch pinch to zoom but I can't find any code samples that will let me make the image scroll vertically only with one finger.
View 1 RepliesHow do I make some text inside my scrollable text field linked.
EG:
(Scrollable using the UI scrollbar)
Test1
Test2
Test3
I want to link Test1 to frame 1, Test2 to frame 2, etc.
In the code below, image01.gif is 'higher' than the textArea readingPane(ie image01.height > readingPane.height). My problem is that I cannot srcoll the image. Is it possible? If so,how?
import fl.controls.TextArea;
var readingPane:TextArea;
var htmlString:String = <img src='http://localhost/strategist/images/image0.gif' hspace =
[code]......
I created my own validation control.
[Code]...
When I validate the txtinput and it's not valid, the textarea will appear with some information in it. Now I have several textinput fields in a canvas
[Code]...
I have text in a textArea component that I need to be clickable and open up the users email program.The text shows fine when I have this:infoBox.taEmail.text = xmlDataSelect.office[evt.target.selectedIndex];but I can not click on it, so I tried this:infoBox.taEmail.htmlText = "<A REF="mailto:"+xmlDataSelect.office[evt.target.selectedIndex].email+ "</U></A>";
View 2 RepliesI want to make a TextArea component public so it can be accessed from other frames. For example, I want to be able to say that if this button is pressed change the TextArea text to "1" and go to the frame.
I have no idea how to do this, i've tried : frameHome.textArea.text = "1"; to change the text but it doesn't work so i'm presumming that i'm a little off mark.
Im trying to make my TextArea read multiple lines to a string
Hello
my name
is Bryan
in the textArea
outputs to HellomynameisBryan
how can I get it to output with line breaks?
Every time a user takes a new line (i.e each time they press the return/enter key) when typing in a textArea, I would like the textArea to dispatch an event.I can then listen for this event and then carry out some processing on the textArea's contents.
View 2 RepliesTake a look at this demo, how do they accomplish the Inline Changes feature? To me it looks like they are floating a movieclip over the textarea. What I can't figure out is how they anchored the movieclip to stay in the correct position. If you type something before the movieclip it moves position along with the text, the movieclips even move to the next line when the text word wraps. Does anyone have an idea?
View 1 RepliesI 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
Is it possible to save text of textarea in some variable or so and with its textformat (more than one color) and then reuse it to replace text in textarea?
I tried saving htmlText of textarea but the problem is when i replace it in textarea <p> tags causes problem.There will always be another extra line.
Is it possible to save text of textarea (flash 10, as3, cs5) in some variable or so and with its textformat (more than one color) and then reuse it to replace text in textarea?
I tried saving htmlText of textarea but the problem is when i replace it in textarea tags causes problem. There will always be another extra line.
If anyone wants to view p tags problem try following. Just click on text and then move your down arrow key, cursor will go to next line.
[Code]...
URL...For loading the text from a txt document i am using the following code (which is the same as Kirupa's code - except for the names)[code]If i declare the value of the variable "scrollableText" within the actions panel then it works.
View 4 RepliesOk, so I got this huge image of a map. I put a Mask over it so it will fit on a small screen. But....I want users to be able to view the whole map but click on arrow buttons that will transfer them in all 4 directions. I know I can do this with keyframes, showing different parts of them map each stage....But isn't there a simplier way? Some sort of actionscript code that will tell flash to scroll how many pixels left or right or up or down? And that it will know that the image will stop here so don't scroll more than that?
View 4 RepliesI've got my canvas size at 900x600 pixels, the text i want on the screen is too large for the site's design, so i want to have the text in the middle with 2 scroll buttons UP - DOWN on the right hand side of the text. [let me point out i dont want the scrollbar from components cos it doesnt go with my sites colors]. So thats not an option.
I looked online and it said 'make a text box, select 'scrollable' then create a button and right click and type in the following into the actions' but when i right click the buttons actions i always get 'current selection cannot have actions applied to it' There was a reason i stopped using flash, and it seems ive stumbled upon that reason again, im reading tutorials on the CS3 Pro version which is the one i have and what its telling me to do is not possible.
Text Button UP, Button DOWN
Click DOWN text scrolls down
Click UP text scrolls up
How can I slap a bunch of movieclips on the screen and make them fit in an area like a pane.....and make them scrollable....I thought this would be easy using the scroll pane......ormaybe i'm just loosing it....i can only add one clip as the source and it becomes scrollable.......but i dont know how to make a bunch of them scrollable.....I tried adding a bunch of movieclips to one movieclip and make that the source of the scroll pane....but it doesnt want to scroll...
View 6 RepliesI am trying to create a scrollable banner flash, exactly like [url]... does it. I have all of the adobe products. Is this kind of thing hard to create?
View 4 Repliesim an designer, not a programmer, but CodeSnippets make me real happy%),but i dont know how to create a scrollable text in AIR for device,someone,
View 1 Replieshow to create a scrollable text in AIR for device,
aaand, in code snippets, would all "click" actions work as with taps on device?
i have ths scrollable movieclip that i want to add easing to by do not no how... Can someone share there knowledge into showing me how to do this? Im sure i need tweennano lite or something like that right?
[Code]...
I created a small rectangle and made it into a symbol movie clip. then I went inside of it and added a small 100x100 image on the left side along with a description of the image on the right side filling up the rest of the space.
I now want to somehow put it in a container that will automatically add a vertical scrollbar on the right side and somehow add more rectangles on top of each other. perhaps the scroll bar wont be initially on the screen until the container fills to have more than 5 rectangles in it or so.
Is there a component I can extend somehow to add this kind of functionality or does one already exist that I can use?
I want to put scrollable text on a page. It was a template I purchased and was finished and ready to post but wanted to add more text in a scrollable text box. First, my components did not appear in the components window so I had to go to Publish Settings and set it Actionscript 2.0 and they appeared. Great! I created a text box, made the text dynamic, multiline, I see Instance_1 and dragged the UI scroller where it should go. (Yes scrollable text is highlighted) After a thousand attempts it never recognizes it.
I can do it no problem when I create a new movie (a hundred times) just can't get it work in this movie. Yet I can scroll down the text with my mouse but I can't EVER see the scrollbar... When I switch the settings to Actionscript 3 . When I drag the Scroller it says "A component already exists..." then asks me to use or replace. Is there something in this template I need to delete?
I am trying to build a flash where I have a shoe and a bunch of stickers (images set to be symbols) which can be dragged and dropped onto the shoe as decorations. I have figured out how to drag drop and rotate the images onto the shoe. The problem I face now is how to make a scrollable list of the images that can be placed onto the shoe. I have approx 140 sticker images. I was wondering two things....
1. Not so much is it possible, because virtually anything is possible. Is there a relatively easy way to have something like a scrollable thumbnail gallery of x amount of objects from which the object can be dragged from and onto another area of the flash. This leads me to my next question...
2. How can I keep the original image within the gallery?
I was thinking something like a scrolling image gallery of thumbnails so that you could move back and forth through the list looking for the image you want. And then I was wondering to myself is there some sort of command to copy the selected image (symbol) when it is clicked and dragged?
I've been scouring forums and such and really haven't found anything that I think I can use, but then this flash mx is new to me, so I'm not the best at it.
i have this web sore I'm trying to work on just trying to keep it basic but user friendly my main problem i am having is it carry's over the images to the next frame they disappear after 3 or so minutes but then when you drag another item into the cart it erases what has been dropped in before
so really what I'm looking to do is i want to be able to keep my pictures, text, drag and drop capabilities, and so on i just want to be able to put it all into a scrolling box
that way the user can scroll through and add items without having images over laying on the next page after they were added to the cart and so on any way to see what I'm working with
see it here [URL]