Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Link To A Specific Line In Scrolling Text



I need a little help from the pro's...

I am using Flash MX 2004 and I have pages opening as external swf's. In one of my movie clip pages I have 5 paragraphs of dynamic scrolling text and I have a link at the end of the forth paragraph which will take you to a little animated movie. My problem is that I need the user to be able to click on a link after they have viewed the animation which will then take them to the start of the fifth pargraph on the scrolling text bar. My assumption is that I need to "key" a part of the fifth paragraph but I can't seem to get it to work. Any help is very appreciated! Thank you!



FlashKit > Flash Help > Flash Newbies
Posted on: 09-22-2004, 02:21 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Link To A Specific Line In Scrollpane
Im using MX 2004 and Ive got a bunch of text in a scrollpane. As the document nears the end there is a dynamic text link to a movie on a seperate swf. I want to know if/how I can jump back to the specific line in the scrollpane where the viewer had left off. Is it possible to target a position when using scrollpane or should I be using something else? Any help is very much so appreciated,
thanks

Button Link To A Specific Frame In Time Line
Ok I have created my buttons and the content for the specific frames. I have named the button and given it an instance name. I have also given my specific frame a name and set that label type to Name.

Whats the code for turning getting my button to link to a specific frame?

I've also done the stop() code in each frame as I want it to stop at each frame until the button is clicked again.

I have more than one button and each will link to a different frame.

Thanks.





























Edited: 11/23/2007 at 02:22:55 PM by TnaE

Get Dynamic Text Specific Line Content
How can i get a dynamic tex specific line content?

The dynamic text is formatted in multiline.

Can't i get something like: texbox.line[5]? Of course this doesn't work.

But is there another possibility?

How To Read A Specific Line From A Text File Into A Textbox
Hi,
I need textbox1 show whatever text it may find on line 3 in textfile.txt
The textfile.txt must contain only the text I want it to (e.g. a poem), no scripts! No "textbox1=", "&" or other variables - just the plain text that needs to be read unto the textbox1
I need also to know how to make textbox1 show whatever text it may find on line 3 and line 5 in textfile.txt
Thanks..

[F8] Load Specific Line Of External Text Document - Please Help
Hi all,

I am sure I have seen this somewhere on the forum but I cant find it so I would appreciate any help with this.

I have an external text file which I am loading the contents into flash with no problems. It contains HTML code which is rendered in flash as HTML, it all works as I want it. The site I am making will have a few pages, the visibility of which are toggled when the user clicks on the menu buttons. I was wondering, rather than having e.g. 6 external text files with just a few lines per file, if i could target different parts of the file to load in the different dynamic text boxes in the flash file, so i only use one external file.

You have to put a variable at the start of the HTML in the .txt file like so:


Code:
aboutHTML=<HEAD><BODY>.....
so i thought maybe i could have something like:


Code:
oneHTML=<HTML><BODY>....</BODY></HTML>

twoHTML=<HTML><BODY>....</BODY></HTML>
and so on in the .txt file, and then just target this in the AS code but it doesnt work in flash - any idea why? The variable is used in this part of the code:


Code:
loader_lv.onLoad = function(success:Boolean) {
display_aboutTxt.htmlText = this.aboutHTML;
trace("Show dynamic About content")
};
so i thought i could change aboutHTML to oneHTML or twoHTML or whatever, and it would work. But it doesnt. Any ideas?

Thanks

Theo

Load Specific Line Of External Text Document
Hi all,

Flash 8 Prof - mac. Already posted on another forum but i wanted a second opinion

I have an external text file which I am loading the contents into flash with no problems. It contains HTML code which is rendered in flash as HTML, it all works as I want it. The site I am making will have a few pages, the visibility of which are toggled when the user clicks on the menu buttons. I was wondering, rather than having e.g. 6 external text files with just a few lines per file, if i could target different parts of the file to load in the different dynamic text boxes in the flash file, so i only use one external file.

You have to put a variable at the start of the HTML in the .txt file like so:


Code:
aboutHTML=<HEAD><BODY>.....
so i thought maybe i could have something like:


Code:
oneHTML=<HTML><BODY>....</BODY></HTML> twoHTML=<HTML><BODY>....</BODY></HTML>
and so on in the .txt file, and then just target this in the AS code but it doesnt work in flash - any idea why? The variable is used in this part of the code:


Code:
loader_lv.onLoad = function(success:Boolean) {
display_aboutTxt.htmlText = this.aboutHTML; trace("Show dynamic About content")
};
so i thought i could change aboutHTML to oneHTML or twoHTML or whatever, and it would work. But it doesnt. Any ideas?
Someone on the other forum which i posted on suggested using an array and gave some example code, but I have never really used arrays before and even though I am sure it wont be very hard I dont really want to spend alot of time working it out - it was just an idea to make life easier really - so if anyone has any ideas I would be greatful - if its a quick fix and it works i'll take it, otherwise if it is a more complex solution I may look into doing it that way once the site is up and running (or pretty much).

Thanks in advance

Spag

Retrieve Text Of Specific Line In Dynamic TxtField
Hi,
I am loading a long list into a textfield. By clicking on a line in that list, the user turns the dynamic textfield into an input field. Now I want to send only the changed item to a php script. Is it possible to output the text on a particular line? I was thinking I could use the scroll property do designate the lines (as I am doing for the buttons action) but what next? If I send all the content of that field that makes for a hundred lines minimum, so I want to avoid that for sure.

Thanks a million in advance..

Scrolling Text Horizontal In A Dynamic Text. Single Line
hi,

im trying to scroll text when it is to big for a single line dynamic text box.

i have searched and searched and found nothing..

hopeing someone can help me please..

Scrolling Text By One Line Without Textbox.scroll
I'm trying to move a textbox line by line in a nice smooth way, rather than using textbox.scroll which would 'jump' from line to line.

My problem is finding the right amount of pixels to constrain by.

There seems to be an indefinite amount between lines??
I've set the linespacing to 0, and my fontsize is 15pt. During authoring, the distance between lines seems to be 15px, but this causes synch problems after publishing. I also tried finding the size of the textbox and dividing this by the number of lines. This gives me about 15.5 px, which for some reasn is also too much.
Code:
code:
t_info2.autoSize = "left";
info2 = "line1"+newline+"line2"+newline+"line3"+newline+"l ine4"+newline+"line5"+newline+"line6"+newline+"lin e7";
_root.onMouseDown = function() {
oldY = t_info2._y;
spacer = t_info2._height/7
_root.onEnterFrame = function() {
t_info2._y -= 1;
if (t_info2._y<=oldY-spacer) {
delete _root.onEnterFrame;
}
};
};

Is there a better way to do this??
Many thanks in advance.
fla attached.
Click to advance line by line, it will start to fall out of sync at about line5.

Scrolling Dynamic Text & Returning To The First Line?
I'm am trying to make a site layout where buttons change the text in a dynamic text box, I have the box set up to scroll. However, if you scrolled down on one set of text, then click onto another set of text it loads scrolled down and not back at the top.

How would I go about setting it, so when ever a button is clicked that changes the text in the dynamic text box, that it returns to the top / first line?

If any one can help my figure this one Out I would appreciate it=)

Thanks




Also I have a second question second question. It's not imported for me to get fixed now but it would be cool if some one could point me in the direction of how I could figure this out. I have it set up so there is a scroll up and down button. How would I go about making a sliding bar that goes between them? The only instuctions I can seem to find are for flash 4 and 5 and I can't seem to follow them becuase the set up / layout of Flash MX 2004 is diffrent.

Single Line Text Field Scrolling Bug...
Whatever I do... It seems like this problem just won't go away. A few of my single line text fields scroll downward when there is text in them, and you click and pull the mouse downward.

It's causing problems for my users.

And, it's only random text fields that do it...

Type in some text, and then pull downward, some of the fields scroll down, some don't. I just re-created every single one... Didn't help!
http://www.designermichael.com/fbApp...eds/cpanel.php

*Note, this fla was converted from a previous version.

Single Line Text Field Scrolling
I've got some single line text fields that are limited in size. When the cursor reaches the limit of the text field the cusor continues and the text scrolls off the left side and dissappears.

How can I stop this happening? I've thought about limiting the number of characters but these text fields sizes change dynamically according to how much space they need to fill. Is there a simple way around this problem?

Thanks

Text Is Scrolling Down 1 Line Even Though The Text Is Showing
Hello, This problem occur all the time when I'm working in flex and got a selectable text.

Lets say I make a 10 line text and make it selectable, if I now select line 10 and press the down key the text will jump down one line and the first line will be hidden. The same thing will happen when I select the text and pull the mouse down below the text..
I remember having the same problem in actionscript 2 like half a year ago but I cant remember how I solved it.

Anyone got an idea?

Forcing Dynamic Scrolling Text To Begin At First Line
Any help is appreciated.

I have a MC that loads in different external text files in a dynamic text field. All text files are called dynamically based on what section the user is in and at what spot along the time line.

Anyhow here is my problem. Is there a way to make a dynamic text filed display at the top of the field upon loading a text document.

Meaning,...at this point if a user is on a screen that has loaded a lengthy external text doc, they'll need to scroll down. Once scrolling down if they advance to the next screen thereby loading a new text doc, for some reason the scroll position is left at the bottom of the newly loaded text field ONLY IF the new document is also lengthy. The user is then forced to scroll up to see the beginning of the new text. If the new text is a short doc then it doesn't appear to have any problem and it begins at the first word. I need it to always begin at the top of the text doc regardless of the length. I suppose it would be sort of like refering to a text anchor - TOP - in HTML.

Hope this made sense. Any leads would be much appreciated.
Paul

Can I Sync A MovieClip To A Line In A Scrolling Text Field?
I've got a dynamic text box with a scrollBar component. The text is updated dynamically, but it's consistent text.

Now, I've got an arrow_mc movieclip that points to the first line of each paragraph as the audio hits that paragraph. Is there a way I can have the arrow scroll up and down with the textbox when the user drags the scrollbar???

Thanks!!

Link From A Scrolling Text Box
i'm trying to create a link from a scrolling text box and it's not happening.

i checked the html box in the text options and threw in the html code for a link
<a href="http://www.blahblah.com">view</a>

and i get an error.

any suggestions??

thanks in advance

Scrolling Text Link
I'm trying to create a link within a scrolling text box, however using dynamic text doesn't give you the option to insert a link, it's grayed out, How can this be accomplished? Thanks in advance.

Link In Scrolling Text ?
Hi, anyone knows how to make a link (get url) in a scrollbox text like this one???

http://www.flashkit.com/tutorials/In...-629/index.php

=)

Scrolling Text Box Link
I have a scrolling text box an have sum text for example 'click here' how do i make it a link to take me to another part of the movie or a picture.

Hope that makes sense

thanks

J

Scrolling Text W/ Link
Hi all
I need to use a scrolling but any sentence has to be a link
If anyone knows how to do it
please help me
Thanks
Bruno Miod
Rio de Janeiro, Brazil

Link To A Specific Frame Of A Flash Movie From An HTML Link
How do I link to a specific frame of a Flash movie from an HTML link?

LINK INSIDE SCROLLING TEXT BOX
hi,

i have a scrolling text box working away but how can i a word a link inside of it. also what about inserting an image?

thanks for your help

scott

Need To Add URL Link To Dynamic Scrolling Text
Hi everyone

Happy Friday! First, I would like to thank OldNewbie and Hum for their on-going help with this large project I have been working on. I have learned so much!!

Okay, so now I have this new dilemma...

I would like to add a hyperlink to a few diffetent set of words which are located in a Dynamic Scrolling Text Box. For instance, I list various universities where this dentist attended. He would like

Link To A Framelabel From Scrolling Text
I know you can link to a url from scrolling text using the render text as html function, but what about linking to a framelabel in the same movie? Does anyone know how to do this?
Thanks

Link Buttons In Scrolling Text Box? HOW?
I saw the tutorial for LINKS IN A DYNAMIC TEXT BOX, and that was great.

http://www.kirupa.com/developer/mx/l...mictextbox.htm

BUT, on my site, I have buttons. I have a news page that needs to sroll down with more text. After the short news briefing, I have a button that links them to the rest of the article, which is in another frame of the flash website.

So I need text that scrolls, with buttons within that link to a frame within the Flash site???

In swish, you can just mask a section to scroll, but in flash it isn't that easy, is it???????

HELP PLEASE. I can't find it anywhere.

thanks,
VV

HOW?-- Text Link In A Scrolling Text Field
If you go to http://www.geneed.com, you can see an example of what I'm talking about. From the homepage, click the link "Molecular Biology" on the right side of the screen. In the movie, I'd like to replicate what is being done in the box called "CONTENTS"--I have the scrolling down, but how do I turn the text into links? Anyone? Anyone? Help? [I have Flash 4]
[Edited by meepmeep on 06-15-2001 at 09:42 AM]

HOW?-- Text Link In A Scrolling Text Field
If you go to http://www.geneed.com, you can see an example of what I'm talking about. From the homepage, click the link "Molecular Biology" on the right side of the screen. In the movie, I'd like to replicate what is being done in the box called "CONTENTS"--I have the scrolling down, but how do I turn the text into links? Anyone? I recently downloaded Flash 5, so the specific steps to walk through this would be extremely helpful, as I'm not quite sure what-the-world I'm doing when it comes to the new Flash format.

Link Buttons/scrolling Text--i'm Still Stuck
If you go to http://www.geneed.com, you can see an example of what I'm talking about. From the homepage, click the link "Molecular Biology" on the right side of the screen. In the movie, I'd like to replicate what is being done in the box called "CONTENTS"--I have the scrolling down, but how do I turn the text into links? Anyone? I recently downloaded Flash 5, so the SPECIFIC STEP to walk through this would be extremely helpful, as I'm not quite sure what-the-world I'm doing when it comes to the new Flash format.

------------------------------------------
I received a reply to put a transparent button overtop:
1. I'm don't know how to do this in a text field. Is this the best solution?
2. Isn't there a way to turn the actual text into a link? How do I do this in a text field?

I'M CONFUSED!

Help With Scrolling Dynamic Text (link To Src Files Inc)...
I am having a problem with scrolling dynamic text that is loaded from an HTML encoded text file. Basically the problem is that I have the text file calling a function in the movie. The function just tells the movie to go to another scene. On that scene it loads another text file that is essentially the same thing, but is colored differently to appear selected (I also removed the function link for that menu item, since you are already there).

This all works perfectly fine for the first menu item in the text box. The problem is if you scroll down to an item that is initialy out of view and click it, when the new file loads it loads back at the TOP of the file and the menu item you clicked on is now below the "window" of the scroll box. I am looking for a solution that idealy loads the new text file at the exact position the previous one was at when clicked. If that won't work I need it to at least be in view in the window.

Since this is kind of difficult to explain, I have built a sample movie that you can download and play with.

http://www.meniscusinteractive.com/scroll_test

There are all the files in a zip folder, and also a directory with the individual files in it. The reason why there are two FLAs and two SWFs is because even though I'm outputting a flash 5 SWF, I've been authoring in MX to get used to it. scroll_test.fla is in FL5 format and scroll_test_mx.fla is in MX format. Other than name, the SWFs are identical I just published twice. When publishing there is an output warning about duplicate labels, but this doesn't seem to affect how the file works, so I've been lazy about changing the label names in each scene.

Thanks in advance for any help you all can shed on this problem. It is the last obstacle in the way of launching a huge project!

Scrolling Text Effect - Link Attached
Does anyone know where I can find a tutorial for the scrolling text effect:

http://www.tinyeggs.com/wistaria/wistaria.swf

skip intro - it's located on the right hand side under "HOME". I've come across many similar scrolling text effects (manual) but I like this one better.

Thanks in advance

Active Link In A Dynamic Scrolling Text Box
Hi,
I'm using FlashMX 2004 Professional, and I have a scrolling text box that has two links in the text, and I can't seem to make just the part of the text I want to be a link without making the whole box of text a link.

Is there a way to make just a portion of a dynamic text box a link and leave the rest as just text that scrolls?

The website I did this for is:

http://www.joshhoward.net

Its on the homepage, its the news section, there's an email link and a regular URL link in the text that I'd like to make hyperlinks, but I can't seem to make it work without making the whole block of text one big link.

Does this make sense?

Any help would be appreciative.

Thanks!

Scrolling Text Box : Possibility To Associate An Hypertext Link ?
I wonder if it is possible to associate an hypertext link with a word (or a group of words) in a scrolling textbox. Has someone an idea ?

Mant thanks in advance ?

François

How To Go To Specific Line In Loaded .txt
I have a dynamic text field that loads a .txt file with html formating. There are scroll bottuns next to the dynamic field that scroll the text. I wish the text file to load in the window at a specific line of the text file, somewhere in middle of the text, so users can scroll from that line up/dn the file.
Any actionscript that will do that?
Thanx

Draging On A Specific Line
Hey, this is my first post so bear with me. I am trying to make a flash that has two graphs on it and when i move a button on one graph it should draw the line for the other graph so users can get the feel for how different points on one graph correspond to another. I have everything set but i cant seem to find how to make the drag work for the line, and how to make it draw on the other one. Please help if you can.

Thank you

Specific Trailing Line Effect
I'm relatively new to flash so I'll try to describe the effect and prey for a response on it.

I'm wanting an effect where a curved line is drawn and a trail which has a glowing effect is left. I don't want the comet effect where the tail always stays perpendicular but rather where the line fades and follows the guide.

think of a snake where the line stays the same length and tails off but follows the same path.

Width Of A Specific Line In A Textfield
Is there any way to retrieve the pixel-width of a specific line in a textfield? In this case the last line.

/ Thanks in advance

Combo Box - Specific Line With Different Style?
The continued joys of the combo box.

Is it possible to have different lines in the same comboBox have different styles?

I have a cb being built via XML. The parent nodes represents a category header and the child nodes represent line items that relate to that header. I want the headers to be bold and the children to be regular.

Currently I have a style set for the box:

Code:
// create dropdown style
import mx.styles.CSSStyleDeclaration;
var new_style:Object = new CSSStyleDeclaration();
_global.styles.myStandard = new_style;
new_style.setStyle("color", 0x4C4C4C);
new_style.setStyle("embedFonts", true);
new_style.setStyle("fontFamily", "Verdana");
new_style.setStyle("openDuration", 100);
new_style.setStyle("fontSize", 11);
new_style.setStyle("rollOverColor", 0xe5f3fe);
new_style.setStyle("borderStyle", "solid");

cb.setStyle("styleName", "myStandard");
cb.setSize(150, 22);
cb.dropdownWidth = 150;
cb.rowCount=12;
And bright ideas on how I might make the category headers bold while keeping everything else regular?

Cheers!

More Specific Line Thickness Then With LineStyle(#)?
i'm working on a movie and i have a line generated with the lineStyle.moveTo, lineTo commands, but i want this line to get gradually thinner over time and i think you can only specify the thickness in increments of .5 or something like that, which is annoying because it gives you these sudden drastic changes in thickness when your line is relatively thin when using lineStyle(variable,...). does anyone know of any better way to specify line thickness?

Draw Line(in A Specific Layer And MovieClip), How Do I?
An easy enough task you might think. I've seen the tuorials The Drawing API and such, but all of them seems to use the dodgy _root and such.

I'd like to be able to draw in a specific layer. I've tried using a mock MoviceClip (empty) that lies in it's specific layer like such:

Code:
mock_mc.createEmptyMovieClip("line_mc", depth);
line_mc.lineStyle(1,0x000000,100);
line_mc.moveTo(150,200);
line_mc.lineTo(300,200);
But it just does not work! Gaaaah, im getting crazy over this. Aren't we supposed to be able to draw into any MovieClip?

Please, if anyone has any idea - or a reason as to why it won't work at all, give me a hint.

Best regards,
Ohmu

Xml - How Do I Pull Info Into Flash From Specific Line In XML?
snd.onLoad = function(success:Boolean){
this._sound.loadSound.start(snd.node.parentNode.fi rstChild);
}

I'm trying to add an onLoad function to get my xml playlist to start playing through right at site load. I've read through like a billion stinkin tutorials and everything is telling me how to load in sound.. But I need to load the first track from the xml..

any help would be great, thanks

Flash8 Scroller Component Jump To Specific Line
Hi all…

I’m working on a resource guide for a company. Part of the guide has a section on events. It is a list of events from January to December. As all other sections in the guide, I’ve put lists in a scrolling component which is working great.

But now, I need some help. What I am trying to do is when the viewer clicks on the events calendar, it goes to a landing page with buttons for each month. What I would like to do is put the entire list of events from Jan to Dec on one scrolling movie clip. When they click on say March, it calls the movie clip and jumps to a line in the scrolling component which starts march.

If I wan using an older scroller which was itself a movie clip I could label a frame which started the line form March. This would be possible since the scroller is horizontal frame by frame. Almost like a tell tal from the older versions of flash.

But identifying a line in the component has me stumped. Is this possible?

Troubles Jumping To Specific Line Of Script (NOT A Frame)
how do i jump to a specific line of code? also, how would i continue on to the next function in my code (if condition let's you). all code needs to be on first frame and i don't have the option to goto another frame.

thank you!

Anyone Have A Link On How To Create This Scrolling Film Clip? (see Link)
Please look at this thread at the bottom...they use quick time, I will use jpg/gifs...would love a walkthrough, or even a refernece on what book (FLASH MX BOOK), I could buy that illustrates this.

thanks all.

http://www.dvarchive.com/

/fe

Specific Frame Link?
Is there any way to load a specific frame in a .swf file using a standard html text link?

Link To A Specific Page In A PDF
Is there a way to link to a specific page in an external PDF file with Flash 5?

Link To A Specific Movie
I have to websites and I would like to make a link from number website number one to a specific movie in the website number two. Is that possible?
If so how do I do this?

Thank you in forward!

Link To Specific Screen Via URL
http://clarkhulings.com/press.htm

This Press page contains a screen based .swf file. My client wants to be able to email a link that takes the user directly to the "Image Gallery" section of this this page. Is there a way to do it without breaking out the pages into separate URLs?

Link To Specific Frame From URL
I have an embedded flv.

I want to create links (html, xml, etc) to all me to jump to specific frames of my embedded flv.

Anyone know how to do this? I'm very new to flash, so specific examples would be very helpful.

Thanks,

Target A Link To A Specific ID
I'm trying to direct a link to a specific page and to a specific ID with getURL action:
on (release) {
getURL("

Copyright © 2005-08 www.BigResource.com, All rights reserved