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




How Can I Make A Text Box With A Scroller? 2 Questions



Hey
I need to know how to make a text box that has a scroll bar with it. Also If i convert to symbol> movie clip..how can i make a button load that symbol on a certain part of the stage?

Thanks



FlashKit > Flash Help > Flash General Help
Posted on: 08-21-2004, 11:39 PM


View Complete Forum Thread with Replies

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

How Do I Make A Text Scroller?
I downloaded an example of a text scroller and in the action scripting i get lost...basically how do I define the telltarget function??

Cant Work Out How To Make Scroller Use Dynamic Text
scroller.fla

I used a tutorial on here that let me have my own scroller with buttons and a scrollbar and could scroll a movie clip that i can put whatever i like in, which is great but what i would like is for it to scroll dynamic text from a text.txt file so that it is easy to update for someone who is not familiar with flash.

the tutorial stated that it would not scroll text but he also stated he had modified his scroller from one that could scroll text (i assume dynamic). he gave directions on how to find the other tutorial however the site it was from no longer exists. can anybody help me?

Alex

Text Scroller Download Can You Make Smoother Scrol
If I give you this text scroller download can you make it scroll smoother? Thats the challenge I havent seen one roll smoothe yet. Can you apply some code to make it scrol in small pixel amounts and speed as well? So that it rolls up or down the screen the same as movie words scrol on the TV screen?

http://www.geocities.com/jaffasoft2/texscroller.fla

Image+text Scroller, Form Scroller, And Loading External Text Files - Urgent
Hi everybody!

Does anybody know how to do the following things in Flash MX?

1.Make a scroller with text + images in it;
2.Make a scroller with text + a form in it;
3.I followed the tutorial entitled "Scrolling Dynamically Loaded Text", but the text that I tried to load has over 160 lines, and I can only scroll down to about half way of the total lines. Why is that?
4.I also tried to load xml files using the code <?xml version="1.0" encoding="utf-8"?> on the first line of each xml file, but the ', &, and " " don't work.

Can anybody help me, please? This is urgent!

Thanks in advance!

animind

Image+text Scroller, Form Scroller, And Loading External Text Files - Urgent
Hi everybody!

Does anybody know how to do the following things in Flash MX?

1.Make a scroller with text + images in it;
2.Make a scroller with text + a form in it;
3.I followed the tutorial entitled "Scrolling Dynamically Loaded Text", but the text that I tried to load has over 160 lines, and I can only scroll down to about half way of the total lines. Why is that?
4.I also tried to load xml files using the code <?xml version="1.0" encoding="utf-8"?> on the first line of each xml file, but the ', &, and " " don't work.

Can anybody help me, please? This is urgent!

Thanks in advance!

animind

Scroller Questions, Please Help
Hi there,

I am trying to figure out how to make a scroller with animated buttons in it instead of text. The tutorials I've found seem to only be for text scrolling though. Is it the same type of deal that a text scroller uses or is it something different?
I would like the animated buttons in the scroller to open external swf's. Does anyone know off the top of their head any tutorials where I can see how this is done so I can teach myself?
Any help would be appreciated, thanks in advance.

P

Scroller Questions, Please Help
Hi there,

I am trying to figure out how to make a scroller with animated buttons in it instead of text. The tutorials I've found seem to only be for text scrolling though. Is it the same type of deal that a text scroller uses or is it something different?
I would like the animated buttons in the scroller to open external swf's. Does anyone know off the top of their head any tutorials where I can see how this is done so I can teach myself?
Any help would be appreciated, thanks in advance.

P

[F8] A Better Horizontal Scroller Questions...
Hey there,

I have been trying to work on the following flash script, posted here by ValueAmerica, I want to convert it to a scrolling top thumbnail area for an image gallery, but I can't seem to get the image size corret, apparently the AS is resizing the backgrounds or something, I have tried sample jpegs of 30, 100, 500 etc. and they are all stretched or gigantic, either way I can't figure it out after trying for a couple hours.

Here is the page with the .fla on it

http://www.flashkit.com/movies/Compo...0556/index.php

Any, any help regarding this simple script would be a huge help, as it's kicked my ass tonight --

cheers,

X

More Scroller Questions That Nobody Will Answer
I took the vertical scroller from the tutorial Kirupa posted, and then I tried to marry the horizontal scrollbar that Plonker sent me (Good lookin' out!) into the same SWF. The same problem ensued, one scrollbar works fine and the other shoots the mask way off to the side. What's with that? Are the scripts conflicting? Why doesn't Debugger address this? I even renamed the Bar, Dragger, Up_btn & Down_btn to Ba, Dragge, L_Btn and R_btn - in the script, in the library, and all instances... Does anyone have any feedback? Has anyone else ever run into this?

Continous Scroller Questions
I have a movie clip called scroller_mc which at present has 3 other movie clips with in it. My movie clip is scrolling across the stage, now here is what I would like to do. as the first image exit the stage reposition itself on the opposite side of the stage and dynamically load in another image. This would continue giving the illusion of a continous scrolling.(see attached)

I am looking for the best method to do this.

Any help greatly appreciated

Trying To Make A "reflection" Of Text Scroller.
Alright guys... So I am trying to make two dynamic scrollers that both scroll off of the same component. Confused??? Ok Imaging that you have a dynamic text box with a sroller component, and you wanted to make a reflection of that scroller on the surface below the scroller, like it was reflecting on a glass table or something. Now that you understand what I am trying to do, is there anyway that anyone knows to scroll both the normal text box, and the reflected text box with the same scroller component? I can get it to scroll one box, but not both. I know this is easy and I am just brain farting about it. Any help would be awesome!
Thanks guys!

Text Scroller Help - Scroller Won't Scroll Full Length Of Text?
I have a text scroller that calls for a external text file. I have 16 numbered items in the .txt file but only 12 items will scroll. Why is this and how do I fix it? Also, is there any way to format text in the .txt file so that it appears formatted in flash? Right now there is a bunch of spaces between the numbered items. Thanks anyone!!

Bitmap - Easing Scroller - Optimize QUESTIONS
1. I have an easing text scroller in my .swf. Everything works great except that the easing characteristic seems smooth on PC's but not on Macs. When I click and drag the scroller it stutters on a Mac. Not the text but the scroller. Is this a MX/Mac problem?

2. A red box which is the exact dimensions and location of the same text scroller I mentioned above appears wherever I go to in my test movie even though I inserted a blank keyframe in the text scroller layer so that the scroller wouldn't show up again. What have I done wrong?

3. I tried to create a motion tween with this text scroller. Starting from the right moving into the stage. There are two layers. The text field and the scroller_mc. I created a motion tween and had no errors or dotted tween line but the pieces still do not move into the stage. Why is this?

Thanks guys.

Convert Movieclip Scroller To Dynamic Text Scroller
I have code I borrowed that is set up to scroll a movie clip image. However, it doesn't work well if I replace the graphics with a text box as the scrolling becomes "jerky" as I think there is too much information for it to process with the complexity of the text. So I was hoping to change the scrolling content from a movie clip image with text to a dynamic textbox. But it will not function when I do that change. In this currrent setup, the movieclip instance name is "contentmain". I tried naming the instance of the dynamic textbox with that name, but no text shows up next to the scroller when I play the movie.

Here's the code:
scrolling = function () {

var scrollHeight:Number = scrollTrac._height;
var contentHeight:Number = contentMain._height;
var scrollFaceHeight:Number = scrollFace._height;
var maskHeight:Number = maskedView._height;
var initPosition:Number = scrollFace._y=scrollTrac._y;
var initContentPos:Number = contentMain._y;
var finalContentPos:Number = maskHeight-contentHeight+initContentPos;
var left:Number = scrollTrac._x;
var top:Number = scrollTrac._y;
var right:Number = scrollTrac._x;
var bottom:Number = scrollTrac._height-scrollFaceHeight+scrollTrac._y;
var dy:Number = 0;
var speed:Number = 10;
var moveVal:Number = (contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight);

// Setup easing event
contentMain.desiredX = contentMain._y;
contentMain.onEnterFrame = function() {
this._y -= (this._y - this.desiredX) / 3;
};

scrollFace.onPress = function() {
var currPos:Number = this._y;
startDrag(this, false, left, top, right, bottom);
this.onMouseMove = function() {
dy = Math.abs(initPosition-this._y);
contentMain.desiredX = Math.round(dy*-1*moveVal+initContentPos);
};
};
scrollFace.onMouseUp = function() {
stopDrag();
delete this.onMouseMove;
};


btnUp.onPress = function() {
this.onEnterFrame = function() {
if (contentMain._x+speed<maskedView._x) {
if (scrollFace._x<=left) {
scrollFace._x = left;
} else {
scrollFace._x -= speed/moveVal;
}
contentMain._x += speed;
} else {
scrollFace._x = left;
contentMain._x = maskedView._x;
delete this.onEnterFrame;
}
};
};
btnUp.onDragOut = function() {
delete this.onEnterFrame;
};
btnUp.onRelease = function() {
delete this.onEnterFrame;
};
btnDown.onPress = function() {
this.onEnterFrame = function() {
if (contentMain._x-speed>finalContentPos) {
if (scrollFace._x>=right) {
scrollFace._x = right;
} else {
scrollFace._x += speed/moveVal;
}
contentMain._x -= speed;
} else {
scrollFace._x = right;
contentMain._x = finalContentPos;
delete this.onEnterFrame;
}
};
};
btnDown.onRelease = function() {
delete this.onEnterFrame;
};
btnDown.onDragOut = function() {
delete this.onEnterFrame;
};

if (contentHeight<maskHeight) {
scrollFace._visible = false;
btnUp.enabled = false;
btnDown.enabled = false;
} else {
scrollFace._visible = true;
btnUp.enabled = true;
btnDown.enabled = true;
}
};
scrolling();

Any ideas?

Thanks,
Dave

Convert Movieclip Scroller To Dynamic Text Scroller
I have code I borrowed that is set up to scroll a movie clip image. However, it doesn't work well if I replace the graphics with a text box as the scrolling becomes "jerky" as I think there is too much information for it to process with the complexity of the text. So I was hoping to change the scrolling content from a movie clip image with text to a dynamic textbox. But it will not function when I do that change. In this currrent setup, the movieclip instance name is "contentmain". I tried naming the instance of the dynamic textbox with that name, but no text shows up next to the scroller when I play the movie.

Here's the code:
scrolling = function () {

var scrollHeight:Number = scrollTrac._height;
var contentHeight:Number = contentMain._height;
var scrollFaceHeight:Number = scrollFace._height;
var maskHeight:Number = maskedView._height;
var initPosition:Number = scrollFace._y=scrollTrac._y;
var initContentPos:Number = contentMain._y;
var finalContentPos:Number = maskHeight-contentHeight+initContentPos;
var left:Number = scrollTrac._x;
var top:Number = scrollTrac._y;
var right:Number = scrollTrac._x;
var bottom:Number = scrollTrac._height-scrollFaceHeight+scrollTrac._y;
var dy:Number = 0;
var speed:Number = 10;
var moveVal:Number = (contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight);

// Setup easing event
contentMain.desiredX = contentMain._y;
contentMain.onEnterFrame = function() {
this._y -= (this._y - this.desiredX) / 3;
};

scrollFace.onPress = function() {
var currPos:Number = this._y;
startDrag(this, false, left, top, right, bottom);
this.onMouseMove = function() {
dy = Math.abs(initPosition-this._y);
contentMain.desiredX = Math.round(dy*-1*moveVal+initContentPos);
};
};
scrollFace.onMouseUp = function() {
stopDrag();
delete this.onMouseMove;
};


btnUp.onPress = function() {
this.onEnterFrame = function() {
if (contentMain._x+speed<maskedView._x) {
if (scrollFace._x<=left) {
scrollFace._x = left;
} else {
scrollFace._x -= speed/moveVal;
}
contentMain._x += speed;
} else {
scrollFace._x = left;
contentMain._x = maskedView._x;
delete this.onEnterFrame;
}
};
};
btnUp.onDragOut = function() {
delete this.onEnterFrame;
};
btnUp.onRelease = function() {
delete this.onEnterFrame;
};
btnDown.onPress = function() {
this.onEnterFrame = function() {
if (contentMain._x-speed>finalContentPos) {
if (scrollFace._x>=right) {
scrollFace._x = right;
} else {
scrollFace._x += speed/moveVal;
}
contentMain._x -= speed;
} else {
scrollFace._x = right;
contentMain._x = finalContentPos;
delete this.onEnterFrame;
}
};
};
btnDown.onRelease = function() {
delete this.onEnterFrame;
};
btnDown.onDragOut = function() {
delete this.onEnterFrame;
};

if (contentHeight<maskHeight) {
scrollFace._visible = false;
btnUp.enabled = false;
btnDown.enabled = false;
} else {
scrollFace._visible = true;
btnUp.enabled = true;
btnDown.enabled = true;
}
};
scrolling();

Any ideas?

Thanks,
Dave

Actions Script Image Scroller And Slide Show Questions
Hi, everybody, please help if you can. Don't need you to write the code for me, just point out the proper direction for me to follow. Thanks!

I have a couple of questions if you could help me out please it will be fantastic and greatly appreciated. I have a big headache now and have been working on it for several days.

I'm building my web site and I'm kinda new to flash actionscript. I got the following actionscript from the following site a want to credit for: http://www.flash-creations.com/ , and have customized the script for my own flash movie.
My priorities in building it are:
1. random main image everytime the page is refreshed. (The script already accomplishes this function).
2. image scroller that moves according to the mouse position, and also according to the position it changes its speed. The mouse over, on release and out are working as I want to. (The script also already accomplishes it).
And the next two functions which I cannot seem to make them work like I want to:
1. The main images to change every "x" seconds as if a slide show in a certain order, besides having the random image display everytime the page is refreshed.
2. That the scroller keeps looping even when the mouse is in the out position. I mean, as soon as someone loads the page to have the scroller looping before even the person uses its cursor. And having also the capabilities described above (in #2 above) when he or she does postion the cursor over the scroller. Also having the scroller to continue to loop on "mouse Out" afterwards.

Here's the script. Thank you very much for the help! I have a headache now because I cannot seem to accomplish all of it, I either have something else not working properly or errors poping up.

/********* DECLARE AND INITIALIZE VARIABLES **************************/
// names of folder and pictures, in the order to put them into the slider
var picnames:Array = [
"01",
"02",
"03",
"04",
"05",
"06",
"07",
"08",
"09",
"10"
];

// constants
var PICPATH:String = "/";// folder with jpgs
var NPICS:Number = picnames.length;// number of pictures to load
var PICX:Number = 150; // x loc of big picture
var PICY:Number = 250; // y loc
var THUMBHOLDERX:Number = 0; // x location of thumbnail holder movieclip
var THUMBHOLDERY:Number = 880; // y location
var THUMBW:Number = 90; // width of each thumbnail
var THUMBH:Number = 60; // height
var MARGIN:Number = 20; // margin between thumbnails
var TOTALBYTES:Number = 20000000; // approx sum of bytes in all jpgs (x 2)
var MAXPIXELS:Number = 12; // max number of pixels to move slider per frame

// mask definition; mask is assumed to cover some part of the thumbnail slider (here the numbers
// were chosen so that there are margins between the mask and the right and left edges of the movie
// (which is 420 x 290), and enough space above and below the thumbs to show them when they 'grow'
// on mouseover
var MASKX:Number = 150;// start x location of mask
var MASKW:Number = 900;// mask width
var MASKY:Number = 880;// start y location of mask
var MASKH:Number = 60;// mask height

var totalloaded:Number = 0; // running tally of bytes loaded from all pics

// index into pictures array, used for loading
var ipic:Number;

// set up loader, an instance of MovieClipLoader
var loader:MovieClipLoader = new MovieClipLoader();

// use the main timeline to listen to and respond to loader's broadcast events
loader.addListener(this);

/********* DEFINE FUNCTIONS, INCLUDING INIT FOR MOVIE SETUP **********/
// thumbnail rollover handler

function grow() {
this.onEnterFrame = function() {
if (this._width < THUMBW * 1.2) {
this._x -= this._width * .025;
this._y -= this._height * .025;
this._width *= 1.05;
this._height *= 1.05;
} else delete this.onEnterFrame;
};
}

// thumbnail rollout handler

function shrink() {
this.onEnterFrame = function() {
if (this._width > THUMBW) {
this._width /= 1.05;
this._height /= 1.05;
this._x += this._width * .025;
this._y += this._height * .025;
} else delete this.onEnterFrame;
};
}

// function to move thumbnail slider ("this" = thumbs_mc)

function sliderControl() {
var w:Number = this._width/2;
var hw:Number = mask_mc._width/2;
var npixels:Number;
// only do when mouse over slider mask
if (_ymouse > mask_mc._y && _ymouse < mask_mc._y + mask_mc._height) {
// mouse over left half of slider:
if (_xmouse > mask_mc._x && _xmouse < mask_mc._x + hw) {
npixels = (hw - _xmouse) / hw * MAXPIXELS;
this._x += npixels;
if (this._x >= 0) this._x = this._x - w;
// mouse over right half of slider:
} else if (_xmouse > mask_mc._x + hw && _xmouse < mask_mc._x + mask_mc._width) {
npixels = (_xmouse - hw) / hw * MAXPIXELS;
this._x -= npixels;
if (this._x <= -w) this._x = this._x + w;
}
}
}

// thumbnail click (onrelease) handler

function openPic() {
pic_mc.loadMovie(PICPATH + picnames[this.i] + ".jpg");
}

// assign event handlers (called when all jpgs are loaded)

function setupHandlers() {
pct_txt.removeTextField();// don't need loading indicator any more
thumbs_mc.onEnterFrame = sliderControl;
for (var i:Number = 0; i<NPICS*2; i++) {
thumbs_mc["mc"+i].onRollOver = grow;
thumbs_mc["mc"+i].onRollOut = shrink;
thumbs_mc["mc"+i].onRelease = openPic;

}
}

// listener function for broadcast 'done' message (for each pic)
// onLoadInit gets executed when the movieclip has been loaded into _mc AND
// its width and height data are available.
// (_mc = the movieclip being loaded into)
// this routine sets the size and position of each thumbnail clip as its jpg
// is loaded and starts the next one loading. When all have been loaded,
// a random picture is loaded into pic_mc and setupHandlers is called to
// assign handlers to each thumbnail movieclip

function onLoadInit(_mc:MovieClip) {
// this gets done when the jpg is completely loaded:
_mc._width = THUMBW;
_mc._height = THUMBH;
_mc._alpha = 99;// for image clarity
// give the movieclip a property to remind it who it is
// (used by openPic to know which big picture to open)
_mc.i = (ipic >= NPICS ? ipic-NPICS : ipic);

// add picture size to totalloaded variable
totalloaded += loader.getProgress(_mc).bytesTotal;

// now load the next one (if there are more) or set up handlers if done
ipic++;
if (ipic == NPICS * 2) {
// start with a random photo displayed when all thumbs loaded
pic_mc.loadMovie(PICPATH + picnames[Math.floor(Math.random()*NPICS)] + ".jpg");
setupHandlers();
} else if (ipic >= NPICS) {
// load jpg into duplicate thumbnail (will already be cached)
loader.loadClip(PICPATH + picnames[ipic-NPICS] + ".jpg", thumbs_mc["mc"+ipic]);
} else {
// load jpg into thumbnail
loader.loadClip(PICPATH + picnames[ipic] + ".jpg", thumbs_mc["mc"+ipic]);
}
}

// listener function to handle broadcast progress messages
// make pct_txt show cumulative loading progress

function onLoadProgress(_mc:MovieClip, loaded:Number) {
var loadedsofar:Number = totalloaded + loaded;
pct_txt.text = Math.floor(loadedsofar / TOTALBYTES * 100) + "%";
}

function init() {
// create holder for pictures
createEmptyMovieClip("pic_mc", 1);
pic_mc._x = PICX;
pic_mc._y = PICY;

// create (and draw) holder for thumbnails
createEmptyMovieClip("thumbs_mc", 2);
thumbs_mc.beginFill(0, 0);// black
thumbs_mc.moveTo(0, 0);
thumbs_mc.lineTo(2 * (MARGIN + THUMBW) * NPICS, 0);
thumbs_mc.lineTo(2 * (MARGIN + THUMBW) * NPICS, THUMBH);
thumbs_mc.lineTo(0, THUMBH);
thumbs_mc.endFill();
// drawing the thumb holder at 0, 0 and then moving it makes its reg point = upper left
thumbs_mc._x = THUMBHOLDERX;
thumbs_mc._y = THUMBHOLDERY;

// create, draw and enable mask over thumbs (could use different variables to define mask
// if desired)
createEmptyMovieClip("mask_mc", 3);
mask_mc.beginFill(0x0000cc, 100);
mask_mc.moveTo(0, 0);
mask_mc.lineTo(MASKW, 0);
mask_mc.lineTo(MASKW, MASKH);
mask_mc.lineTo(0, MASKH);
mask_mc.endFill();
mask_mc._x = MASKX;
mask_mc._y = MASKY;
thumbs_mc.setMask(mask_mc);

// create loading textfield indicator
createTextField("pct_txt", 4, 200, 100, 40, 100);
var tf:TextFormat = new TextFormat();
tf.align = "center";
tf.size = 12;
tf.font = "Verdana";
tf.color = 0xFFFF00;
pct_txt.setNewTextFormat(tf);

// make empty movieclips in thumbs_mc for each pic to go into
// make double the number so the slider can move continuously and show content
for (var i:Number = 0; i < NPICS * 2; i++) {
var mc:MovieClip = thumbs_mc.createEmptyMovieClip("mc"+i, i+1);
mc._x = i*(MARGIN + THUMBW);
mc._y = 0;
}

// set the pointer to the first jpg in the array picnames
ipic = 0;
// start loading jpgs (ipic is initialized to 0)
loader.loadClip(PICPATH + picnames[ipic] + ".jpg", thumbs_mc["mc"+ipic]);
}

/********* CALL THE INIT FUNCTION TO START THE MOVIE *****************/
init();

Thanks again!!!

Text Scroller With Image With Mouse Scroller
Hi to all,
I have problem with flash. that i want to creat dynamic text & image scroller in scroller by creating custom scroller (not inbuilt component) That scroller i can scroll with help of mouse's scroller. (the mouse's scroller & image must be include in to the scroller box)
Help me !
Help me !
Reply me fast if u have solution for it!!!!

Regards,
Samual

How Do I Make A Scroller Like This?
I've downloaded a mizillion scroller .swfs and for some reason, can't make one simple like this.

Here's the example:

http://www.thewreckers.com/site/index.html

the news scroller on left. It's real nice!



what keeps happening is when I replace the middle part of "slider", the part that scrolls up and down, it stretches my image to fill the entire area of the scrollbar, depending on how much text is in the field. I understand why it does this, because it's normally just a rect w/color in here, so stretching it won't look bad.

any help will be much appreciated....thanks.

Jed

How Do I Make A Horizontal Scroller?
I have 8 vertical menus on the stage but won't all fit, so I want to scroll them using a horizontal scroller so that the user has his/her choice of what they want to select from the menu(s). Can someone tell me how to make a horizontal scroller? Thanks

How Do I Make This Scroller Work Within An MC?
How can you make this scroller work within a movie clip? (one from the movie section of this site)

Smooth Scroller

Many thanks

Donna

How To Make A Scroller Bar In Swish
hi freinds can any one help me that how can i make a scroller bar in
swish i have seen it in some site but i dont know how to make it
thanks for helping

How To Make Image Scroller
i need to make a an image scroller within a screen ,id know how to make the scroller itself but id like instead of the images being stored within the flash file, to be referenced outside of it so there easier to change/add/delete from the scroll.. is there any way i could do this?

How Do You Make A Smooth Scroller?
Hi guys... I've got a quick question. Is there a good tutorial site where I can make my own, smooth scroller? The way it works is when you click on the bar and drag down the content it should move smoothly unlike the regular flash built in scrollbar. Another question is how could I incorporate pictures into that?

Thank you.

Possible To Make A Diagonal Flash Scroller?
Hello, Im trying to learn how to make a website on flash, and I was wondering is it possible to make a scroller which is diagonal, using flash or maybe scroll and image with text diagonally, I have a pic below to show you what I mean, because Im curious as I want to try something different, much help will be very appreciated, Shyam

Link to example:http://farm2.static.flickr.com/1399/...78b9592493.jpg

How To Make An Image Scroller With Up And Down Buttons
Hello to you all,
Would like to know if someone could point me in the right direction and tell me how to make this www.ambroisetezenas.com ("commissions"),im sure it's very simple or i at least hope so.
If you look at the link i have given and go int to the right hand menu ' commissions ' you will find a selection of images that move up and down ... i would like to do the same but with two buttons up and down.Any help would be more than welcome.

How To Make Endless Thumbnail Scroller
Hello,
I am new at this forum and i need help about one of kirupa tutorials

http://www.kirupa.com/developer/mx2004/thumbnails.htm

I used this tutorial and it works pefectly for my goals but now i need to make the scroller
looping. I did it for the big pictures using buttons next and previous but i cannot do when i reach the last thumbnail to show the first one and to make the scroller continue.

I hope i explained this correctly and i`ll be glad if someone can halp me.

Thanks

Polita

How To Make Scroller That Could Scroll Pictures?
Hmmm...... HOw do you guys make scrollers that could scroll pictures??? Wat is the code for that??

How To Make My Thumbnail Scroller Work?
Hello everyone,
i am very new at this forum. I need some help from some of you flash experts about this particular tutorial listed below:
http://www.kirupa.com/developer/mx2004/thumbnails.htm
I am currently using Flash MX. Ive had a hard time opening the source file so I tried to go back to the previous tutorial listed below: http://www.kirupa.com/developer/mx20...otogallery.htm and use it as the source file to work on this tutorial. The end result was that the main photo viewer window was working fine with "prev" and "next" button but the thumbnails viewer window was empty.
Can someone provide me some advice on how to make it work or provide me with source file for Flash MX. Thank you in advance.

Juliana

Make An Thumbnail Scroller Loop?
I have this scroller of thumbnail images, but it stops scrolling when the images run out!

is there a way to make it so it loops around and around???

here is the code i used to make it scroll,


Code:
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 10;
tscroller.onEnterFrame = function() {
if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
if ((_root._xmouse>=(hit_right._x-40)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._x -= scroll_speed;
} else if ((_root._xmouse<=(hit_left._x+40)) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._x += scroll_speed;
}
} else {
delete tscroller.onEnterFrame;
}
};
}
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = hit_left._x+(target_mc._width+5)*k;
target_mc.pictureValue = k;
target_mc.onRelease = function() {
p = this.pictureValue-1;
nextImage();
};
target_mc.onRollOver = function() {
this._alpha = 50;
thumbNailScroller();
};
target_mc.onRollOut = function() {
this._alpha = 100;
};
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
}

HELP- Need To Make Xml Scroller Appear Visible On MouseOver
Hi,

I have used the xml gallery tutorial and have images scrolling at the bottom and playing at the top.

Does any1 know how to make the bottom scroller visible only when the mouse is over? I tried this code:
/////////////////////////////////////////////
scroller.container._visible = true;
scroller.container.onRollOver = function()
{
scroller.container._visible = true;
}
scroller.onRollOut = function()
{
scroller.container._visible = false;
}
/////////////////////////////////////////////

When the file loads, the scroller images still come up but when I put my mouse over, they dissappear.

I am trying to make the scroller be invisible when the file loads and only when my mouse is over it appears.

I think because on the Kirupa tutorial, the scroller already has a function which maybe causing the problem. I am not sure.

Can any1 help? please????

How To Make Image Scroller In Flash? Pls. Help
any one upder! who have good heart.. im a newbies in flash.. i have this problem.. now i studying how make a image scroller.. i try,but i can't do it.. tel i got this idea to get sum help uphere.. maybe there sum one uphere who know's how to make image scroller in flash..

thanx in advance!!.. God bless!! & more power.

How To Make Scroller Stop When Menu Is Active
hi,

in my flash file i use a movieclip that scrolls images controlled by the mouse. there is a variable speed, and if it set to 0, the scroller is stopped.

so far it works fine.
but i also have a dropdown menu which overlaps the scroll area when it is unfolded. and so, if i want to navigate, the images keep quickly scrolling around, which is rather annoying.
the menu is inside a movie clip.

i think i'll have to set the speed variable to 0 when the mouse rolls over the space that the menu occupies.

can you tell me if it works that way and how i have to actionscript that?

thanks a lot
jo

[CS3] Trying Make Flash Scroller That Reads From XML Work
I've attached the code for download.

Essentially what I am trying to create is a flash program that will read from an XML file AND automatically scroll downward. Once it hits the bottom it will repeat from the top of it seamlessly.

It does read the XML so YAY on that...

How To Make Scroller Stop When Menu Is Active
hi,

in my flash file i use a movieclip that scrolls images controlled by the mouse. there is a variable speed, and if it set to 0, the scroller is stopped.

so far it works fine.
but i also have a dropdown menu which overlaps the scroll area when it is unfolded. and so, if i want to navigate, the images keep quickly scrolling around, which is rather annoying.
the menu is inside a movie clip.

i think i'll have to set the speed variable to 0 when the mouse rolls over the space that the menu occupies.

can you tell me if it works that way and how i have to actionscript that?

thanks a lot
jo

I Need To Make This Txt Scroller Move Onmouseover, Not Onclick - Help Needed
I have a text scroll box that is moved by an up and down arrow, but you have to actually click it for it to scroll. I'm wanting to set it up to where you just mouse over the arrow and it scrolls automatically. I just downloaded this text scroller, so I'm not sure what to edit in the script. This is what the buttons currently say:

up arrow:

onClipEvent (enterFrame) {
if (_parent.lPressed=="1") {
_parent.gotoAndStop(_parent._currentframe-1);
}
}


down arrow:

onClipEvent (enterFrame) {
if (_parent.lPressed=="true") {
_parent.gotoAndStop(_parent._currentframe+1);
}
}

any suggestions?

It's static text that is moving as well as a layer of graphics. Here's a screenshot of the scrolling movieclip if that helps at all: http://www.nlgraphics.com/screenshot.jpg

Can I modify the code that I currently have in place, or would something totally different have to be put together?

Any help is appreciated.

How Do I Make A Xml Driven Thumbnail Scroller Repeat(loop)
Hey guys -

Please see the attached files to figure this one out-

I am creating a thumbnail scroller and I have everything set to work. The last final issue I'm having is this:


The scroller displays 25 items.
8 at a time.

When you page left/page right it scrolls to the next(or previous) 8 thumbs in the list.

This is what we want to happen:
Once the final (25th) thumb is reached it starts over on the first thumb again and we are back at 1. So that it becomes an endless loop.


// What I've Tried ///////////////////////////////
I tried duplicateMovieClip() so that I could have a second one at the end and then continue to exchange x values but it won't work because I have MCs that are being attached dynamically

///////////////////////////////////////////

Notes: I have included the xml document as a txt so that I could upload it. please convert back to xml when testing.

[F8] Flash Xml Image Scroller Make Movieclip Link
hi i've not used flash for a long time.

i've been using the flash tutorials on here to create an image scroller that has the data read in by xml.

the problem i'm having is attaching an attribute to the url of a movieclip.
i can't figure out how to attach it to the movieclip.

Code:
<images>
<pic>
<image>http://www.kirupa.com/developer/mx2004/pg/kresge.jpg</image>
<caption>Kresge</caption>
<thumbnail function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
thumbnails = [];
link = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
thumbnails[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
thumbnails[i].strURL.push = xmlNode.childNodes[i].childNodes[2].attributes.url;
trace (thumbnails[i].attributes.url); //this returns undefined
is i trace the line above i get all the values out of that attributes
thumbnails_fn(i);


}

} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");

function thumbNailScroller() {

// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 10;
tscroller.onEnterFrame = function() {

if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {

if ((_root._xmouse>=(hit_right._x-40)) && (thumbnail_mc.hitTest(hit_right))) {

thumbnail_mc._x -= scroll_speed;

} else if ((_root._xmouse<=40) && (thumbnail_mc.hitTest(hit_left))) {

thumbnail_mc._x += scroll_speed;

}

} else {

delete tscroller.onEnterFrame;

}

};

}




function thumbnails_fn(k) {

thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = hit_left._x+(eval("thumbnail_mc.t"+k)._width+5)*k;
target_mc.pictureValue = k;
target_mc.link = k
//this is where i want to attach the link to the movieclips please help!
target_mc.onRelease = function() {


/*p = this.pictureValue-1;
nextImage();*/

};
target_mc.onRollOver = function() {

this._alpha = 50;
thumbNailScroller();

};
target_mc.onRollOut = function() {

this._alpha = 100;
url="http://wwww.google.com">http://www.kirupa.com/developer/mx2004/pg/kresge_sm.jpg</thumbnail>
</pic>
</images>


any help or guidance is appreciated, just point me in the right direction

Make A Standard Thumb Scroller / Scroll Infinitely
I've got a standard horizontal thumbnail scroller and want to have it scroll infinitely. So when it reaches the last one in the list from the xml it continues to show thumbnails starting over with the first... alternately when it starts and a user chooses to scroll in the other direction it shows the last one and progresses toward the first...

hopefully that makes sense.

I load the thumbs via xml here:

PHP Code:



function urlLoaded(event:Event):void {    xml = XML(event.target.data);    xmlList = xml.children();    for (var i:int=0; i < xmlList.length(); i++) {        var thumb:Thumbnail = new Thumbnail(xmlList[i].url);        arrayThumb.push(thumb);        thumbNail.push(arrayThumb);        arrayThumb[i].y = 0;        arrayThumb[i].x = 10+(150*i);         photoContainer.addChild(thumb);            }}




then when one of my arrows to navigate left or right, i check to see if reaches the end and if it does I bounce it back to 0. which is what the onComplete event calls to and passes the max positions, in the checkPos function if the argument is true it Tweens all back to 0, but I'd rather just continue looping on through...

PHP Code:



function moveRight(e:MouseEvent):void{        var maxRight:Number = - photoContainer.width + stage.stageWidth;        if(photoContainer.x < maxRight){                 // do nada        }else{        Tweener.addTween(photoContainer,{x:photoContainer.x-300, transition:"easeInOutBack", time:1.5, onComplete:checkPos, onCompleteParams:[maxLeft,maxRight]});    }}




any suggestions

How To Make Kirupa's Infinite Scroller Advance Via Clicking
Hello all,

I have a question...Of course...I want to make Kirupa's infinite scroller advance by clicking an arrow instead of on mouse movement. Does anyone know if this is possible? The tutorial is here...
http://www.kirupa.com/developer/mx/infinite.htm

Essentially I want a line of images to be advanced by the clicking of a button (arrow). BUT I want the images to be back to back so you can see a couple at a time.

THANKS!

Image Scroller That Doesn't Make You Motion Sick
Hi there, I hope someone can help me and my flash handicapp...so I'm trying to make a portfolio website and I want to have a dynamic horizontal image scroller that is stationary until you click on an image. The image that is clicked goes to the center and with another click enlarges. When the enlarged picture is clicked it goes back into the image scroller.
I was inspired by the website at: www.sorenhald.com,

I really don't like the tutorials that I've found and I need some serious help getting started. Please if anyone knows what I'm talking about, can you help direct me or give me some insight. Thank you!

Trying To Make The XML Gallery Resize The Main Image But Keep The Thumbnail Scroller
I've looked at the resize files but haven't had any success implementing them in the kirupa XML gallery with scrollable thumbnails. If anyone has any input
on how to do this I would greatly appreciate it.

Make Xml Infinite Scroller Load/unload Images In And Out As Needed
I have a xml infinite scroller that currently loads all images all at the same time. It works great but I will need to load about 20 to 30 images that will scroll by and that will cause processing problems.

I am wondering if it would be possible to make the xml infinite scroller only load the images that are in view and then unload them in and out as the scoll by? I have no idea if this is possible but I think many flashers could make use of it.

TEXT CHANGING, When I Copy And Paste Text Scroller, And Add New Text......?
here's the problem:

I have a text scroller I took from a fla. file on here.
on my site, I wanted to just change the text. in the text scroller, and
place it in diffrent sections of my site a number of times with diffrent text.

I do not have a problem, copying and pasting the scroller.
But when I change the text from one section, to the next, it will make all the text the same.

If I copy the scroller and paste it somewhere else, swap the text it will change all to that last text I entered.

I tried, typing one section's text. Then copy/pasting the scroller, and putting new text, and converting that text to a symbol (graphic). Hoping it would work but had no LUCK.

This is huge and i need help, considering I am a newbie, there has got to be away this can be accomplished so I dont have to build seperate text holders/scroller, for all 15 sections of my site.

Let me know..and thank you all so much.

Copy And Paste Of TEXT SCROLLER, CHANGING TEXT, To Stay For Each Section......?
here's the problem:

I have a text scroller I took from a fla. file on here.
on my site, I wanted to just change the text. in the text scroller, and
place it in diffrent sections of my site a number of times with diffrent text.

I do not have a problem, copying and pasting the scroller.
But when I change the text from one section, to the next, it will make all the text the same.

If I copy the scroller and paste it somewhere else, swap the text it will change all to that last text I entered.

I tried, typing one section's text. Then copy/pasting the scroller, and putting new text, and converting that text to a symbol (graphic). Hoping it would work but had no LUCK.

This is huge and i need help, considering I am a newbie, there has got to be away this can be accomplished so I dont have to build seperate text holders/scroller, for all 15 sections of my site.

Let me know..and thank you all so much.

Loss Of Text Formatting When Using Dynamic Text Field & Scroller
Hi all,

Using MX...

Another small problemo im having is when i format text in my dynamic text field and attch the scroller component to it, in preview mode i lose all the text format and it goes to the first text format it encounters and uses that for everything else in the dynamic text box.

Im not actually loading any text into the dynamic text box, im just using it with static text, so i can use the scroller component.(as i understand it, you can only attach the scroller component to a dynamic text box ??)

Why am i losing my text format AND is there a better way to have a scrolling text field when i just want to use static text...???

Thanks guys..hope thats not too confusing

Cheers

Dynamic Text Scroller (text Crawler?) NOT WORKING?
Hi, I am trying to make a movie that gets text from an external text file, and then scrolls it horizontally across the screen. I made a function that takes the object (movie clip with text) and moves it across the screen. it works fine except if the text is more than the width of the text field, i get this nasty trailing effect. it really sucks!

does anyone know a good way to do this? i would also like to be able to have mulitple texts, following eachother, and then looping to start over.

any info would be greatly appriciated!

-matt

Vertical Text Scroller That Works From Dynamic Text.
found this which is handy:

http://www.scriptocean.com/

but does not allow for external txt files to feed the info to it.

can anyone help me with a version of this ticker but with the use of an external txt file.

I want the file to link to a txt or xml file that can feed the swf file animation.

Thanks

Vertical Text Scroller That Works From Dynamic Text.
Vertical Text scroller that works from dynamic text.
found this which is handy:

http://www.scriptocean.com/

but does not allow for external txt files to feed the info to it.

can anyone help me with a version of this ticker but with the use of an external txt file.

I want the file to link to a txt or xml file that can feed the swf file animation.

Thanks

Cannot Paste Text Into Action For Text Scroller-i Get An Error
Hi guys!

ok hehe can anyone tell me whats going on here??? I am using a pritty cool little text scroller and need to use about 10 versions of the same one im doing in a flash file..so about on 10 different scenes.Anyhow for some reason this text here works when i copy it into the action for the text scroller:


content.expList = "Vibez Recordings was set up in '95 as an artistic outlet for London based, urban music producer, Dave Stewart - otherwise known as SUBJECT 13. The Vibez imprint offered its own unique brand to the sound of Drum and Bass, enabling the independent to gain credibility and critical acclaim within the genre. Through the fusion of jazz, funk, ambient soundscapes and deep drums, Vibez defined its sound as experimental and forward thinking..<br><br>"+"Subject 13's initial releases on Vibez Recordings and tracks such as 'Oceans' on Fabio's Creative Source imprint and 'Faith' on LTJ Bukem's Good Looking Records, have cemented '13 and Vibez as one of the original pioneers of the DnB sound, gaining him recognition in the UK scene and from abroad. After signing solo album 'Disclosed Knowledge' to Sony Japan, the 'Vibez Presents' compilation enabled Stewart the unique opportunity to highlight some of his talented new producers at Vibez Recordings, facilitating the international distribution of their music whilst developing Vibez growing status in the Far East..</font><br><br>"+"Vibez has always let the music do the talking and with 27 single releases, 2 albums and 1 compilation under its belt has managed to keep production quality and artistic values at a high level throughout its history. With artists hailing from places such as Russia, Estonia, Sweden, Holland, Finland & Germany, and affiliations with majors Sony and EMAP Performance Network, Vibez has always prided itself with diversification and experimentation of styles.<br><br>"+"Those of you familiar with Vibez will not be surprised at the development of styles that the label has undertaken for it's new wave of releases. With sister label Pauze set to release an eclectic format of music and Vibez concentrating on experimental DnB, with Artists such as Alaska, Nucleus and Seba contributing, expect more innovative and groundbreaking releases form the label.";



AND THIS TEXT DOES NOT WORK..IT HAS ALL SAME CODE BUT DOES NOT?:


content.expList = "Liquinova is: Sean McCaff (DJ-Producer)& Sven Figee (Keyboards/Producer)Sean McCaff and Sven Figee first started working together in 1998 on a lounge/dance project for the "Waterloo/Le Zoo" compilation (NY, USA), which had great reviews in the New York magazine "Time Out"...<br><br>"+"Having realized they had a great vibe when working together in the studio creating new sounds and beats, they decided to take things seriously.Liquinova was born.Combining the dance/electronic/DJ background of Sean McCaff with the musicianship and "acoustic" experience of Sven Figee, the Liquinova sound was released..</font><br><br>"+"Liquinova just licenced 5 tracks to Club Cocoon (The Hague, Holland) for their special anniversary lounge-cd, mixed by DJ Menno.In addition, PAUZE Recordings (London, UK) got some tracks coming out on their new "Pauze" compilation series – Volume 1 , Eclectic Development that is being launched autumn 2004.Liquinova is currently working on their first album, planned to be released winter 2004.This album will be a result of creative collaborations with various artists like Rose (vocals), Dez (vocals), Fammy (vocals), Bart (sax), Victor Muli (vocals), Subject 13 (vibez productions), DJ Menno and DJ Ramon..<br><br>"+"Get ready for a dive into the world of Liquinova.";


THE ACTIONS ON THE CLIPBOARD CONTAIN ERRORS-ACTIONS WITH ERRORS CANNOT BE PASTED IN NORMAL MODE IS ERROR I GET WHEN I TRY TO COPY PASTE TEXT.
IF ANYONE CAN HELP TELL ME WHY ID BE REALLY PLEASED!!THANKS DUDES!

CC

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