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




Jump Down In Flash Text Box



Hey guys, I need help! -- I am new to flash.I have a scrolling text box with text and images in it. I need to know how I can put text at the top that they can click and then it will jump down in the text box to a specific location, can anyone help please.



Adobe > ActionScript 1 and 2
Posted on: 06/17/2007 11:49:30 PM


View Complete Forum Thread with Replies

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

Jump To Text
My goal is to make a FAQ section and I'm having a bit of difficulty with anchors in text since Flash apparently doesn't seem to support "A NAME" tags as part of HTML. Is there a way when you click on a link or button that the text box jumps to a specified area of a scrolling text field? Kinda' like the HTML function of embedding:

<A Name = "something"> and then calling it with <A HREF="#something">

Any ideas?
Tim

Awwwww schmack!

Dynamic Text Box Jump
Hi Flash experts! I have a dynamic textbox called "textscroll" that is scrolled with 2 buttons and is loaded in by a txt file- Is it posibble to define more than one "chunks" of text in the text file (text1=blah&text2=blah&...) and then call the different variables in the dynamic text box, BUT allowing the user to scroll through the WHOLE text as well? Basically, we I am making a cd rom for my company and the diffferent areas we deal with have sub areas. On the main page, the general text for the area is shown, but the sub-area text can be accessed either by clicking the buttons OR by scrolling. I think I have it down how it would work, and have tried with no success- is is first of all possible? Anybody know? It's due tomorrow and I'm getting nervous since there are more than one "kinks" to work out..Thanks! miakazi

Text Does Not Jump To Next Line
Once i downloaded a guestbook in flash from here. You can download it here and here it is online. Well, the guestbook seems ok, but the text jumps not automaticly to the next line when it leaves the text area.



Does anyone have a code or something to place in my .fla so that it does automaticly jumt to the next line. Btw, the .fla can you find here
thx

Dynamic Text - Jump Too?
so I've got a text box with text and is scrolls down, can I have button text up top where you click on them and it jumps to the certian point in the text?

Thanks
JT

Jump On Scrolling Text
Hello everyone
Can someone help with the attached scrolling text. I would like to get rid of the slight jump between the end and the beginning of the loop so it is continuous. Thank you very much in advance.

Problems Trying To Jump To Another Line In A Text Box
Hi all:

I want to know the number of letters inserted in an entry text box. When the number reaches 31, I want the text to jump to another line. I´ve got a problem in the last line: I don´t know if it´s well written (the rest of the code works). I´ve also tried with "/n" instead of newline.

-----------------------------------------------------------
onClipEvent (keyDown) {
if (Selection.getFocus() == "_level0.eslogan") {
if (Key.getCode()>="0") {
let++;
if (let == 31) {
_level0.eslogan += newline;
}
}
}
}
-----------------------------------------------------------
Thanks

Trying To Create Text Triggerd Jump
I am trying to creat a project that will play a movie clip when the user enters a specific password
i was hoping to start the scene with an empty text box and a submit button when the user enters a a passwork and clicks submit the variable would be set and the scene would jump to the corresponding MC.
if the user types in "bike" and hits submit it would take them to the "BIKE" MC any help on a good way to do it

Dynamic Text To Jump On Timeline?
I have a text box that uses the variable "directory"
and directory is:

directory="HEEY BABY"gotoAndPlay(1);

basically I want to be able to click "HEEY BABY" and go to frame 1, or wherever on the timeline. I'd also like to make a list of other links...

Input Text/codes To Jump
I'm trying to make a movie so that when you enter a certain code or word it will jump to a certain part of the movie to play a video. I can't seem to get it to work. it will jump to a place no matter what i have for my code in my input text box. This is my code on my button to submit.

on (release) {
if (answer = "dog") {
gotoAndPlay(5);

}

}

answer is my instance name of my input text box and dog would be my code in this example

also i want to be able to have different words or codes go to different sections to play certain parts of my flash movie.

could anyone possibly help and tell me what is wrong or what i need to do

Thank you,

Jake

Need To Make Scrolling Text Float Not Jump
I have a scrolling box set to scroll in 30 line incraments. The problem is that it jumps the 30 lines at a time making reading the textmuch harder.
I need to make the text scroll in an smooth animated motion upon clicking the down or up button.
The catch is that the text is dynamic and is pulled from a SQL server so this has to be achieved using action script.
Any one out there that can take this one on?

here is my current script for the up and down buttons:
up button-

on (press) {
if (TextBox.scroll>0){
TextBox.scroll=TextBox.scroll-5;
}
}

--
down button-

on (press) {
if (TextBox.scroll<TextBox.maxscroll){
TextBox.scroll=TextBox.scroll+5;
}
}

Content Links That Jump To Different Text Sections?
Ok, I have a text field defined in Flash MX with a vertical scroll bar attached to it. I need to supply links to each subsection on top that will link to their respective sections farther down the page (just like an anchor tag 'name' attribute). Then I'll need a 'Back To Top' link at each section title.

Also, this will only be running locally on a CD, so I need a solution that's not server-dependent.

Any help as soon as possible woud be great.

Thank you much in advance.

b.

How Do I Position The Text Field So It Doesn't Jump?
Hi,
I made this simple BACK button, attached. The way it looks in the .fla and the .swf are two different things.

The text field actually repositions itself when I publish it. It is nested within a movieclip. I have attached the .fla. Can anyone please tell me what I am doing wrong?

How Can I Jump To A Topic In A Loaded Text File?
Hello, thank you in advance for your help. I have an external txt file with a ton of text containing different topics. The txt file loads into a dynamic text box in my flash file with a scroll bar. Is there any way that I can place links at the top area that will cause the text to advance to that topic. This is done in html such as with this page:
http://www.undergroundwonderbar.com/reviews.htm

If not with an externat TXT file, is there any way that I can accomplish this in flash at all?

Please let me know.

Thank you!

Adding Motion Tween To Fade Effect Causes Text To Jump
I'm trying to put a motion tween on a graphic to make it fade out.  However, every time I put a motion tween on it, in the frame after the first keyframe (where the tween is applied), the graphic jumps down about a pixel or two.  This happens every time I try to do a motion tween on this particular graphic.  I have a cuople of other graphics on the page doing the same thing, and they stay in the same position throughout the tween.

How Do I Jump To A URL In Flash?
I am trying to make flash buttons, and what I have so far in one of the buttons is this:

on (rollOver) {
setProperty ("/scroll", _x, "0.0");
}


This seems to make scrolling pictures appear below the buttons when the mouse is over the buttons. However, I want to jump to a homepage when I CLICK on it. What do I add to the script to make the buttons do that? (How do I put the URL in?) For some buttons, I want to open a new browser, but for most I'd like to open a page in the same browser.

I would very much appreciate it if anyone can give me some advice on this.
Thank you very much!

Jump Help (Flash MX Pro, AS 2.0)
Hi,

I am in a flash class at school, and I not very good! I am having trouble getting a movieclip of a character walking to jump up and then come down when the user hits the up arrow key. Right now the walker goes left and right using those keys.

We are learning flash by using external AS class files and this is the code I have so far. With this code, when you hit the up arrow the walker moves up 10px but doesn't come down. Please help me, I want to pass!

class Walker_Class extends MovieClip

{

function onEnterFrame()
{
if(Key.isDown(Key.RIGHT) && _x <590)
{
_xscale = 100;
_x +=4;
}
if(Key.isDown(Key.LEFT) && _x >10)
{
_xscale =-100;
_x -=4;
}
if(Key.isDown(Key.UP) && _x >10)
{
_yscale =100;
_y -=10;
}

}


function Walker_Class()
{

}

}

Jump Mask, Jump
How can i make the mask jump to a point when i rollover that place? (not follow the mouse as it does now..)

Here is the page how it is now:
netmedia

Jump To Anchor From Within Flash?
Basically. I know you can make browser windows shake etc in flash but can you target an anchor on a html page from within flash? So say you have a long bit of flash - click a button in the movie and the actual browser scrolls to another part of the long flash movie. Make sense? Possible?

cheers

I Get A Flash Or A Jump Between Frames?
Hey all,

i have on a close button code which says gotoAndPlay this frame (the onrelease effect) etc...anyway at the end of this effect i have a stop aswell as _root.gotoAndStop("home");
the home that appears there and what your looking at, at the end of the effect is the same thing...so why am i getting this jumping or flash? before it goes back to normal?

Cheers Peeps

Flash To Jump Beyond The Browser
Adobe Systems is working on software meant to blur the line between the Web and desktop PCs.

The company is working on a project code-named Apollo, which will let applications written for Adobe's Flash presentation software run without a Web browser, Kevin Lynch, chief software architect and senior vice president of Adobe's platform business unit, told CNET News.com.

more: http://sympatico-msn-ca.com.com/Flas...tml?tag=cd.top

How To Make Flash 4 Character Jump?
Hi All,

how do you make a movieclip character jump in flash 4? any sample code or tutorials?

Thanks, woktoc

Flash 5, Keyboard Jump Script
Im using flash 5 and Ive never made anything interacty before.

Can someone point me in the right direction. heres the current clip
http://www.e-timpa.com/flash/pincuhr.html

He can move left and right, I want to add a code so he jumps when yuo push up.

At the moment ist

If key.down (key.left) then it adds to x etc etc same for right.

How do I code so if you hit up, it adds to y a certain number of times and then subtracts again to the original point. Basicly so yuo can move left and right while jumpinng.


Just to reiterate, the left and right motion is on keypress so if you hold it down he moves left until you let go. I want the jump to go full cycle at one single click of the jump button.

Any help?

Jump List Menu In Flash MX
It says newbie on the board, so I figure this is the place for me (and this question). I'm trying to put together a flash based (MX) presentation/product outline, on cd rom. Everything is going along real fine, but I want to be able to put a jump list menu that will open pdf product files from the cd that the presentation will reside on. I've no probelem putting together a normal scrolling text, but getting the links/buttons to open the pdf is the issue. I know its got something to do with the fscommand, but I'm lost from there.

PLEASE HELP!!!

Flash Page Jump Effect
Hello. I'm new to Flash and am looking for a tutorial or quick "how to" for a specific navigation effect. Suppose I have a three links. Then, below the links I have a main content area. Say I've created a a big .gif with each of the three pages for each link stacked on top of each other. How can I set this up so when one of the links is clicked on, the respective area in my .gif is "jumped" to? Essentially, it would be a fancy HTML page jump. Thanks in advance.

[F8] Flash Video: Jump To URL Question
Basically, I have a webpage with a flash video on it. What I'm trying to do is, once the video plays through, the viewer should be taken to another webpage automatically. Does this require an ActionScript? Any help on this would be great.

Thanks.

¿From HTML Jump Into Spesific Keyframe In Flash?
Hello there,

To explane myself I have to do a example:

1) By klicking a Button from a normal HTML Webside i open, in the same Browserwindow, a Flash (swf)-Site. Until here, NO problem.
2) Here´s what I like to do...
Is it possible, maby with help of JavaScript, to jump directly into a spesific keyframe, label or instance from the Flashmovie?

Hope I explanet myself,
Thanks Fery

This Has Been Driving Me As Mad As An Irishman, Flaming Flash Can Go Jump
right then, this flaming tooltip problem. I have a timeline that looks a bit like this

12 13 14 15 16

tooltip o ---------------------------------|
button o ---------------------------------|



on a button I have the following:

on (rollOver) {
_root.showToolTip("Iamatooltip");
}
on (rollOut) {
_root.clearToolTip();
}

and on the main timeline I have

// shows a toolTip
function showToolTip(message) {
_root.tooltip._visible=true;
_root.toolTip.gotoAndPlay("yellow");
_root.toolTip.message = String(message);
_root.toolTip.swapDepths(5001);
}
// sets the toolTip movie to be invisible
function clearToolTip () {
toolTip._visible=false;
}


This works fine when on frame 12, and also if I move to frame 13, 14 etc. But as soon as I go back a frame, like from 14 to 12, then loads of problems occur. It seems the clearToolTip stops working, and there is also a duplicate toolTip in the background somewhere. Please, what the heck is going on?

Jump From Flash To Static HTML Page
Hi:

Just finished doing a Flash Intro page. Where and What do I do to make the Flash page jump to static HTML page, once the Flash piece has finished playing?

In the last Flash frame, I asked the music to stop, animation to stop and not loop, but then, when I introduce -"Go To URL" action at that last frame and play it in the browser, it does try to jump to the static page but the URL comes up twice in the browser and thus the page is not found.

Please help.

Anuj

Jump From Flash To Browser AND Quit Player
OK, here's the trick. I have a long (4 min.) Flash presentation that will go out on CD. The client's web site is also included on this CD. I have a button that allows you at any time to jump to the web site.

The Flash projector, which is the autostart file, has music and voiceovers and is very discracting if it continues to run in the background while you view the web site. I want to add a button so when you click it, it loads the web site with the user's default browser AND closes the projector. Can this be done?

I tried this with mixed results:

on (press) {
getURL ("index.html");
}
on (release) {
fscommand ("quit");
}

This trick worked on my Mac while testing it Virtual PC. However, it failed to work completely on a modern PC. My theory is that the real PC is too fast for the on (release) command to take effect.

Are their any better solutions for this? Thanks!

Alex

Flash Windows Jump To Front When Activated
Hi,

when you check this site
http://users.pandora.be/error
and click on enter, you'll see that if you open more than one window, all the windows stay on their position.

Now what I want to do is that when I click on a window, that window has to spring to the front, like the operating system windows.

each window is a movie clip with another name.

How can I do this?

Hope you'll help me

Greetz

How To Make Character Jump, Walk, Run In Flash 4?
Hi All,

How do i make a character jump, walk, run, etc. in Flash 4 using the keyboard keys? Any tutorials would be appreciated.

Thanks, woktoc

Jump To A Certain Spot In My Chromeless Window From Flash?
OK...

here's the deal. I jump to a chromeless window from my flash movie. That's all working fine and dandy. Now I need to jump to a certain spot on the html page from the different buttons from my movie.

I need to jump from my flash movie to my chromeless html page to a certain spot on the page depending what button you click on. I'm just not sure how to pass that.

It's no sweat in html. I'm just not sure how to tell it to acces my chromeless files and jump to the specified area without screwing up my code. Any ideas?

Flash Movies That 'jump Over' The Html-area
I've seen a very cool use of Flash in an advertisment on www.jaggle.nl. (It's not always there, as they switch advertisment every time you load the page.)

There's a flash advertisment on the right, and on rollOver, it slides over the html area.

It's a feature that could have a lot of potential for html-sites with a flash menu to the side. It looks like the flash is on a layer on top of the html-page.

Any one who has an idea how this is done.


I've added two screenshots of an advertisment that slides to the right. BUT i've also seen this going to the left over the text.

Jump To Flash Frame From Html Page?
Hi All

Can you put a link from a html page that when clicked takes you to a another html page with a flash movie in but jump to a certain frame of the movie?

Thanks

Carly

Flash Video Intro / Then Jump To Frame
Hey there!

I'm trying to use an flv as an intro to a site. After this 15 second video, I want the user to see the flash site.

Currently I have the timeline set up as follows:
Preloader (Frames 1-4)
FLV Movie (Frame 5)
Flash Site Begins (Frame 6)

If I place a stop on Frame 5, the movie obviously does not move onto frame 6.
If there is no stop, then the FLV is skipped.

What is the process to tell flash that after the flv plays, goto frame 6? It seems so simple, but I can't figure this out! Any help is appreciated, and if there is a more efficient way to make this happen, I would love to hear it!

-alex

[Flash 8 Pro] How To Make Scrollpane In External MC Jump?
I have two movies, home.swf and scrollpane.swf

On home.swf i have an empty MC that holds scrollpane.swf.

On scrollpane.swf I have a UIScrollPane component called scrollPane4 that holds a MC called "symbol 1" on this MC I have buttons that make the scrollpane scroll down ...

on (release) {
_root.scrollPane4.vPosition = 225;
}

This all works fine untill I load scrollpane.swf into home.swf, now the scroll buttons don't work.

Please help.

Thanks.

Dan

Flash Menu Causes Html Pages To Jump
I have inserted a flash menu into the html pages in my website. I am using the same swf file and ebedding a variable name in each page eg. "menu.swf?x=about".
I then use a conditional statement in the actionscript to determine which page i am on eg
else if (x == "about")
{
mc_menu.home.scaleX = -49.3;
mc_menu.about._alpha = 50;
}........
All is working well except when you click a button to change html pages - the page flashes and jumps. Also in IE i have to click the button twice.
The code behind the button is;
on (release) {
getURL("index.html");
}
I would appreciate any help!

SetSelection "like HTML Jump To Text Anchor"
Hi Folks,

Hope all are enjoying the Spring Break or what's left of it.

I did a search in this forum on "setSelection" looking to find the AS equivalent to the HTML "A NAME" ("Internal Link", "Hyperlink", "Anchor" Tag) found on many HTML coded pages, and came up empty but for one exception that started this thread;


---------------------------------------------------------------
on 12-14-2004 SunDog wrote:

My goal is to make a FAQ section and I'm having a bit of difficulty with anchors in text since Flash apparently doesn't seem to support "A NAME" tags as part of HTML. Is there a way when you click on a link or button that the text box jumps to a specified area of a scrolling text field? Kinda' like the HTML function of embedding:

<A Name = "something"> and then calling it with <A HREF="#something">

Any ideas?
Tim


Then, later on that same day he found that "setSelection" worked but he gave no example of how it worked so....
------------------------------------------------------------


Get where I'm going with this?

Is there a Kind, Giving Flasher willing to expose the way that setSelection can be used in this fashion; please, either give an example, short tutorial, of or direct me to where such an example can be found so that I can learn yet another cool new thing?

Can it be used on objects other than text?


Thank you in advance for any and all help.


Peace
Jose Antonio

Jump To Named Anchor In HTML From Flash Menu
How do I jump to a Named Anchor called "bob" from a Flash menu embedded in the HTML file.

I've tried "url.htm#bob" and it jumps to url.htm ok but it doesn't jump to the Named Anchor bob. I've tried this also with just an html hyperlink and it jumps to the page and to bob just fine. Why doesn't it work with the Flash menu??

If anyone would like to see my files to help me with this, let me know and I'll post them.

Thanks.

Can Flash Play A Stream Url Like = Mp3.php?action=jump&id=17&catid=3
hi im i noob so if you could use simple terms that would be great.

firstly i need to now if it is possible to play a url like the following in flash

mp3.php?action=jump&id=17&catid=3

the following link will be an mp3 file. i would like to make a swf file that will play the file with all the stop start volume buttons etc...

also the 17 in the link to the mp3 file change depending on the file the user wants to play. would i be able to pass a varible into the swf as follows (or maybe someother way)

mp3.swf?var=numberoftrack

which in turn will play the following url within mp3.swf

mp3.php?action=jump&id=numberoftrack&catid=3


cheers in advance

Benj

Embedded Flash Menu Causes Html Pages To Jump
I have inserted a flash menu into the html pages in my website. I am using the same swf file and ebedding a variable name in each page eg. "menu.swf?x=about".
I then use a conditional statement in the actionscript to determine which page i am on eg
else if (x == "about")
{
mc_menu.about._alpha = 50;
}........
All is working well except when you click a button to change html pages - the page flashes and jumps. Also in IE i have to click the button twice.
The code behind the button is;
on (release) {
getURL("index.html");
}
I would appreciate any help!

Horizontal Scrolling Website With Jump Menu (no Flash Scrollbar)
Hi all,

I am trying to find a tutorial or template in attempt to create a sliding site with jump menu similar to this:

http://www.republicademadras.com.br/

I don't know where to start and am looking for any suggestions or help! Please let me know if you can provide any help...my design is just sitting here as I don't know how to program it as i don't use flash enough.

Any help is VERY much appreciated.

Many thanks!

Flash Method For "jump To Next, Previous" Market Like In Director?
Director has a basic behaviour you can apply to a button that lets you simply jump to the next or previous marker without having to actually specify the marker name. How can I do this in Flash?

I have a simple presentation that has many screens. I have back and next arrow buttons but have to program each one for each screen. I know there is a basic go to the next scene but how can I just have one button that will always jump to whatever next or previous marker is?

Thanks

(^_^) Can A Rat Jump?
Greetings!

Hi friends,

Another help needed

I was making a small game in which a rat has to jump on the walls and if he falls down...he will die.

And I wanted to give a jump option with space bar or the up arrow key... but my main question is I wanted to make the rat jump upto 90 pixels high and if the right arrow key is pressed along with jump key then the rat should jump upto 90 pixels high and 40 pixels toward the right side.

It is possible to do so? I made the graphics and all but stucked here...

Thanx

I Need To JUMP...
Is ther a command that will enable a button to goto previous "Frame Label" or "next frame label"? Instead of previous FRAME next FRAME I have a universal control that I am trying to use throughout a walk through flash demo.
Am I making sense?
J

Jump
How can you make a dude jump like in mario?

Can't Jump
i am having serious issues. i am truing to make a mario like videogame, but i can't get the character to jump.




i have declaired the variable checkjump as false and created this function:
(a and b were declaied as having a value of 1)
(inu is what i named the character.)


jump = function(){
if(checkjump == true){

if(a<15){
inu._y -= 10;
a++;
}

if(a>=15&&b<15){
inu._y += 10;
b++;
}
checkjump = false;
}
}


and then i used this code on enter frame:

onEnterFrame = function(){

if(Key.isDown(Key.UP)){
checkjump = true;
jump();
}
}


but when i test it, he only jumps while i'm holding the up key down and i can only make him jump once. i have tried several other types of codes and loops but they don't seem to work any better. please help me. i'm really stuck.

thanks so much for you time.

Jump
Problem: I need to find a way to make my "character" move up wards(jump) for a while then fall. I have tried several methods, and its not the gravity I'm having trouble with, and I'm not having trouble in gradually incrementing the y position, the trouble is in how long the button can be pressed for before the character actually starts to fall back down. See right now the user can just hold the jump button and go as high as they want, I would like to limit their "air" time, like a real jump. In real life you cant just think in your head "jump" then float away.

Heres my current code(for gravity and jump, its basic because I've restarded over an over trying to get it to work):

Code:
if(!_root.ground.hitTest(this)){
this._y += vSpeed;
}else{
}
if(Key.isDown(Key.SPACE)){
this._y -= 80;
}
all help is greatly appreciated.

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