Flex :: Make Paragraph Text That Previews Short Amount Then Expand Link?
Aug 4, 2011
I want to be able to display a paragraph where if the text being shown is (say) over 15 lines long, then a link text will appear and if click it will expand.
Example:
This is a long line for here so I need to make more display but I cant so what will (More)... <== this more link will be clicked and the rest will show up below this paragraph expanded to show the rest of it. (Close)... <== this close link will be clicked and the rest of the page will be hidden again.
Can this be done in Flex? Here is a link example done in javascript [URL].
View 1 Replies
Similar Posts:
Aug 22, 2003
The situation is this: Im trying to make a pre-loader that displays the load amount in text as a % and has a loading bar that will only load when the movie loads. When the movie is fully loaded the loading bar fill be full and it will display 100%, when the movie is half full it will be 50% and the bar will only be half way across. If I wanted to make the loading bar a specific width how would I do it?? At the moment the bar only seams to want to be 100 wide. The script im using so far is:
[Code]...
View 4 Replies
Jan 9, 2009
How do you make paragraph breaks & edit text in scrolling text box?
View 1 Replies
Sep 14, 2009
I want to add a second dynamic text (or 2nd paragraph) but I am not sure how. Now it is loading an image a thumbnail and 1 text.
here is the xml file:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<image>http://www.kirupa.com/developer/mx2004/pg/kresge.jpg</image>
[code]....
View 1 Replies
Nov 12, 2009
I am using CS3. Here is what I am trying to accomplish:
On my loading page I have the following standard loading code:
Code:
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
[Code].....
Because on some connections this can take quite some time, I want a link to appear after a specififc amount of time, say 10 seconds? Kind of like a, "loading too slow? Click here for whatever."
how to accomplish this within this loading code and frame?
View 4 Replies
Nov 12, 2009
On my loading page I have the following standard loading code:
Code: Select allstop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
[code]....
Because on some connections this can take quite some time, I want a link to appear after a specififc amount of time, say 10 seconds?Kind of like a, "loading too slow? Click here for whatever." how to accomplish this within this loading code?
View 1 Replies
Aug 7, 2009
in making this code short
ActionScript Code:
function addlist() {
var dataload = new LoadVars();
[code].....
View 0 Replies
Dec 23, 2010
(Flex 3) I have a TextArea component which needs to hold the user's clipboard content. The TextArea does the job relatively well for most cases but when pasting a large amount of data, I can't seem to get the content in the component at all due to the script execution timeout.
I've done a fair deal on investigation to try and hopefully find how I could make this work. I found that the TextArea is using a IUITextField (which is in my case an instance of TextField at runtime) do handle the job of obtaining the pasting data and then throws an event when it is done.
I have found no way to take a look at the source of TextField as it is a class in the playerglobal.swc library.
Is there a way for me to maybe see the source of that class or is there something I'm missing in my approach to figure out a way to make this work?
View 5 Replies
Mar 2, 2010
i have been using AS2.0 for quite a long time. And i started using papervision3D too.I am using tutorial made by Lee Brimelow's cube tutorial. but i want different results. So long i am able to move the cube in one direction and that is my requirement. But in his tutorial he as link to urls. what i want is to expand one face of the cube which is clicked to expand to fit in the screen.(i am also using fullscreen and stage resize).
View 1 Replies
Apr 5, 2011
I have some text that is passed dynamically, but the design of the text requires that the top line is tabbed in, so it looks like this:
Stackover flow rules, Stackover flow rules,
Stackover flow rules, Stackover flow rules, Stackover flow rules,
Could I use HTML special characters to do this?
View 2 Replies
Feb 8, 2005
I have a problem where I have a flash chat room and the first thing you do is log in with a name. This works. Next it goes to a loading screen that says thank you (name) and the proceeds to a title area where you choose to either chat, check for friends or change your name. Oh and of course exit. These are all working so far, but one prob. When you hit the send btn (button) it puts the text you typed in the text area with your name first. Example: (NAME): (TEXT) Problem is it needs a paragragh space first. And I dont know the script for that.
View 3 Replies
Jul 7, 2010
I am using the following code in many places, like you can see, there is m1,m2, m50,m51 m100 etc, it means i have 100 movieclips(in example below, there are 10 mcs only). [code]...
View 3 Replies
Apr 26, 2010
Is it possible to put a paragraph of text inside a circular (or half circle) shape using xml loaded text via Actionscript 3?
Ideas I have so far:
- format a textfield as center justified and put all the line breaks in manually. Prefer not to do this
- Use a linked textFlow object - not sure how to do this and concerned about the extra 100K added to my final swf
Perhaps there is a class that someone has written.
View 1 Replies
Jan 19, 2012
i am creating an e-learning tutor which teaches music theory & each scene will teach a different subject of Music (such as a notes, scales, clefs etc).I have a textbox on the stage which loads text from an external txt file.... and each time the user presses the 'forward_btn' i would like it to load the next paragraph of text but im not too sure of how to implement the next paragraph button. Can anyone please help me? Here is what i have so far.[code]
View 2 Replies
Jun 29, 2009
I have a multi-line dynamic text on the stage. When a large amount of text content (e.g 200 words) appear in the dynamic text (with newline/paragraph spacing), the space between the paragraphs are too large. How do I lessen the paragraph spacing?
View 0 Replies
Sep 3, 2010
I've build a simple twitter feed flash application that uses php script to read the latest tweet from xml and returns the string to flash to be displayed in a text box.
View 1 Replies
Oct 15, 2009
How would I go about making diagonal link like this one.I drew a retangle so that my text would fit in, select both text and rectangle, F8 turn into button,then I turn them 45degree. When hover the text change color the way I want, but the problem is that the button enters the hover state way too soon when my mouse isnt over the rectangle yet.Seems like as long as my mouse falls within x and y coordinates of the text then it goes into hover state.For example my mouse is under the diagonal box, not in yet, but right under the text and it would go into hover state.
View 1 Replies
Feb 7, 2011
I am very new to Flash and would like to find some way to have a movie expand from the page and open larger. I have tried having it open in another window, but that looks cheezy. It would be great to have it sitting in the page (right now it is 375 X 280) and then when someone clicks on the video it opens, without any borders, just viewer, to 900 X 675. I have looked online at various players, but none do anything like this. There has to be a way to make this happen. Right now I am using Dreamweaver CS3 and just using the embed player that is part of Dreamweaver.
View 2 Replies
Mar 6, 2004
how to make a movie clip expand in width and height and then stop when it reaches a certain size?
View 1 Replies
Mar 24, 2011
i am still new in dealing with flash and what have you posted is very useful, but i want to ask you a question regarding the button function. i want to relate a button with a certain text but it's a big paragraph so when i have made the example on the site the display in the output box is not good enough i want the text to be displayed as a paragraph not a straight line.
View 1 Replies
Sep 27, 2011
How do I extract more than one email from a paragraph and output the result to a console?
var pattern:RegExp = (/^[-._0-9a-zA-Z]+@[-._0-9a-zA-Z]+[.]{1}[0-9a-zA-Z]+[.]?[0-9a-zA-Z]$/i);
var asd:String;
asd=tt.text;
trace(asd.match(pattern));
View 2 Replies
Sep 2, 2010
I've build a simple twitter feed flash application that uses php script to read the latest tweet from xml and returns the string to flash to be displayed in a text box. However, I was wondering if there is some easy way to make the url in the tweet an active link? [URL]
View 5 Replies
Apr 18, 2011
I want to copy this text paragraph from notepad (img1) and paste into a TLF container with 2 columns (img2), but it seems that something is wrong.
View 1 Replies
Apr 18, 2011
I want to copy this text paragraph from notepad (img1) and paste into a TLF container with 2 columns (img2), but it seems that something is wrong. It seems that all the lines are overlapped and you can't tell what's written.
View 0 Replies
Jun 1, 2010
How would i make a web banner that maybe could expand to a bigger size when i roll over it?
i see people doing these over the internet but do not know how.sometimes the web page changes to accommodate for the bigger web banner once the user rolls over with their mouse.
View 1 Replies
Sep 10, 2009
I have a movieclip, powerMeter, that I need to slowly expand until it's width is 80. I using
Code:powerMeter.width -= 80; to make it shrink, but I need a way to slowly make it scale back up.
View 3 Replies
Mar 24, 2011
I am trying to make a text link within a scroll box jump to another frame within the same Flash file. Is this possible without having to make a button or movie clip? For some reason if I insert an object like a movie clip or button in the scroll box, it appears in a different area when I publish the file so I can't use that option for links.
I need to be able to highlight the text and then program it to jump to another frame label.
View 1 Replies
Mar 6, 2004
how to make a movie clip expand in width and height and then stop when it reaches a certain size?
View 1 Replies
Aug 9, 2010
1. The old main logo was not as wide as the new one, so now the entire new one is not clickable (to take you back to the main page). How do I fix this?
2. For the life of me I can't figure out how to make text (or a button if need be) link to a specific flash frame. If you look on the site, there are a couple of spots under "What We Do" that I need clickable to take them to the Contact Us page.
View 5 Replies
Jan 29, 2009
Does anyone know how to make a button for the video to expand to the entire screen size?URL...
View 1 Replies