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




Credits Loop



]hi everyone.......i want to make some dynamically loaded text loop scrolling witha low speed like the credits of a movie......how can i do this?.thanks



FlashKit > Flash Help > Flash ActionScript
Posted on: 10-08-2005, 06:16 AM


View Complete Forum Thread with Replies

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

Credits?
Has anyone got any good ideas for some effective credits? Some that look impressive!

Credits?
Has anyone got any good ideas for some effective credits? Some that look impressive!

Credits
i was wondering if ne 1 had some kind of actionscripting that i can apply to some text, that it scrolls automatically, like in the end of a movie (the end movie credits)
i'd appreciate ne kind of ideas! thanx in advance!

Matrix Credits Help?
Does anyone know how to do the effect seen in the credits in the Matrix?

It has the matrix code scroll from left-right and it gets brighter near the center at which point a object fades into view and then the words appear as everything fades out...

Could someone help me with this?

DracoNB

And The Best Way To Scroll Credits Is......
I need to scroll some text like credits in a movie....easy enough. The only problem is that it's like 75 lines of text. I did a simple motion tween and it was slow and jerky as hell. (not to mention that the text box would only hold so many lines of text)

Any thoughts on the best way to do this?

PHER

Scrolling Credits
Hi again..

Lets say I've got scrolling text going up a page like movie credits, they are masked top and bottom so fade in and out.

How would I make the text become larger at the middle of the screen?

Is there actionscript for this?

Sorry for the stupid questions but haven't touched flash for over a year and my memory aint what it used to be.. at least I don't think it is..

[F8] Sounds For Credits?
Hi

Does anyone know of any sites where you can download sounds for purchased credits? A bit like what www.istock.com does for images?

Thanks
Wayne

Scrolling Credits
I want to do scrolling movie credits but it's very choppy. I increased the FPS to 25 but it goes by too fast. Should I add frames to the scene to about 600?

Scrolling Credits
I am making a vertical scrolling credits effect (like movie credits) using a mask. However, the scroll seems unsmooth and kinda jerky. What is the best method for getting a smoooooth scroll effect?

Sounds For Credits?
Hi

Does anyone know of any sites where you can download sounds for purchased credits? A bit like what www.istock.com does for images?

Thanks
Wayne

Movie Credits?
Is it possible to use actionscript to move a block of text up (like movie credits) so it scrolls up smoothly?

I've tried motion tweening but no matter what i do, it jerks :-|

Please help!

Sounds For Credits?
Hi

Does anyone know of any sites where you can download sounds for purchased credits? A bit like what www.istock.com does for images?

Thanks
Wayne

Scolling Credits
Is there a way, where I can use a Text Area (btw, what is the _ associate in naming conventions for flash to recognize objects as text areas?, ie _mc for MovieClip), and remove it's border, load a text file that has HTML tags in it, and scroll it upwards?

Hopefully in a manner where the text can be any font I embed with the flash movie, and the text field can use the following HTML:

<b>
<i>
<u>
<div align="center">
<font face="value">

Do We Need To Give Credits?
I'm making a CD-ROM presentation for a big company using Flash and I have some doubts: do I need to give Macromedia credits for making such great program and/or for just using it?

Some music CDs that have multimedia tracks use Director. And the credits are there...

[F8] Game: Coin/Credits
I wish to be able to make a 'game' where users will have 5 credits.

O symbolizes (coin)

So in game its O5 then when user drags one coin to put insert into a machine, it decreases the value to O4, then to O3 O2 O1 respectively...

I wonder how I go about doing it, are there such scripts around? If so, what keywords can I search for? Thanks in advance, have a good day!

Scrolling Movie Credits
Hello,

I am working on a Flash website for my company and we want to add a page that will simulate scrolling movie credits to list all of our clients. I have been searching for tutorials online but all I have found is scrolling with a scroll bar on the side. I would like the credits to move on their own and also have the ability to be hyperlinked to their corresponding website. Has anyone here done something like this?

Thanks in advance for any help.

Mike

Advice On Scrolling Credits
I know this may be a bit silly, but im new...

What would be the best methods to make continuous scrolling credits? I want a simple effect like the credits at the END of a film.

Mask For Credits Page
Hey all once again. Yet more problems. I have the following file: Credits. The actuall credits movie is externally loaded. How can I make it so that you cant see the text as it scrolls outside the box towards the end of the page? and also is there anyway of making the button dissapear while the movie is playing?

Cheers, J

Scrolling Movie Credits
Hello,

I am working on a Flash website for my company and we want to add a page that will simulate scrolling movie credits to list all of our clients. I have been searching for tutorials online but all I have found is scrolling with a scroll bar on the side. I would like the credits to move on their own and also have the ability to be hyperlinked to their corresponding website. Has anyone here done something like this?

Thanks in advance for any help.

Mike

Advice On Scrolling Credits
I know this may be a bit silly, but im new...

What would be the best methods to make continuous scrolling credits? I want a simple effect like the credits at the END of a film.

Browser Movement And Flash Credits
Hello. Does anyone know the link to macromedia's policy on adding their 'made with macromedia' logo? I know it is mandatory for director, but what about Flash MX? Please send me the policy link.

I have a flash movie completely on cd-rom. How do I make it so that users cant resize their browser to full screen? I always want is 800 x 600. And is the a way to open the player only in the center of a persons monitor?

Thank you,
Christian

Looking For Examples Of Earning Credits On Site
I am attempting to build a Flash piece in which you earn 'credits' for each page you look at, and when you look at 'x' amount of pages, it unlocks a new link.

I am at a lost as to where to begin, so any help would be appreciated.

Also, if anyone has any links to sites that may do something similar, it may help.

Thanks.

Creating Credits Over Flash Video
Hello,
Could anyone please help point me in the right direction? I'm trying to create a layer on top of an encoded piece of flash video with a simple line of text that fades in, remains on screen for 4 seconds and then fades back out.

I'm having trouble figuring out the most efficient way of going about this. I tried creating a new layer, adding the line of text, converting it to a movie clip and applying a timeline effect, but I cannot figure out how to make it fade both in and out and to remain unseen throughout the remainder of the video. How can I keep it from looping over and over throughout the clip?

Any help would be greatly appreciated!

Thanks,
~Greg

Newb Question: Credits Roll
Hey all,

Just wondering, is there any way to simulate a credits roll in Flash? And how would you go about doing it?

Thanks...

Scrolling Movie Credits From External Txt File?
Hi:

I'm no programmer. Is there a way to make film-style credits (scrolls vertically from top to bottom) from an external text file? All help is greatly appreciated. Thanks.

Rich

Scrolling Movie Credits Tooooo Slow
hi there

I've been trying to get movie credits style type to scroll up the screen. There is a large volume of text and this is a challenge to do smoothly.

I am just adding -1 or -2 to _y on enterframe.

Any ideas on how to do this better? I can export at flash 9 for the project.

thanks for any help!

'movie Credits' Style Text Too Slow - Help Please.
hi there

I've been trying to get movie credits style type to scroll up the screen. There is a large volume of text and this is a challenge to do smoothly.

I am just adding -1 or -2 to _y on enterframe.

Any ideas on how to do this better? I can export at flash 9 for the project.

I tried the movie credits component but it's not very strong.

thanks for any help!

Closing "credits" Movie Clip Question
Greetings All !

I'm building a sort of "closing credits" movie clip for the main movie I've made.
Each frame of the clip (so far) shows a different individual with their name.

Now, of course, I'm thinking I'll have to go in and take each person's frame and create 11 more copies of them in order to have each person show up for one full second in the credits.

However, it sure would be cool if I could get some sort of "dissolve" effect going in between each person.

Any idea how I can do this?

Also, is there any way I can duplicate a frame 11 times quickly, as opposed to right-clicking and inserting a single frame.... 11 times back-to-back ?


Thanks!

-= Dave =-

Any Way Around The Loop Error (loading 8000 Vars, Flash Thinks Its A Loop.)
I have 8000 vars to load....... all at once, so Flash thinks its in a loop at the 3000 mark and gives an error. Is there any way around this?

How Do I Define The Greatest _x Position Based On A Loop, Assuming I Know The Last Element Of The Loop?
Hello,

This may be complicated,

I've a loop that creates emptyMovieClips
then I use one function to onRollOver _xscale them += 10

Now I want to move another movieClip based on the greatest _x position of my previously _xscaled elements, how do I do that?

example

for (var i = 0; i<my_array.length; i++) {
_root.menu_.createEmptyMovieClip("btn"+i, i+1);
}
//
_root.menu_["btn"+i].onRollOver = function() {
this._xscale += 10;
//
MY_DRAGER._x = HIGHT._x;
}

Can this be done?

Thanks,

I Would Like My Sound Loop To Continously Loop Without Looping Over Itself When I Repeat My Images.
I have a sound loop moving along with my flash images. When the flash images finish and I send it back to frame 1, my sound doubles. How can I play my sound loop once, but allow my images to continously loop.

Is there away to just run one loop of sound, and let the image aspect continue to loop.

I would like my sound loop to continously loop without looping over itself when I repeat my images.

Make One Element Loop Without Making Enitre Movie Loop?
i'm trying to make one element continue looping without making the entire movie loop... here's what i mean..

i have a layer that i've name actions which i've asigned a stop(); to at the end of the animation. but i want the red pulsating dot to continue looping/ animating ... to give you an even better idea, here's the swf file...

http://www.push1.com/roster_art_gal.swf

cheers!

LoadVars In A For Loop Not Executing .load Function Until For Loop Completed?
Ok so I have a simply for loop: ID[i] is a global array



Code:


for (i=0;i<12;i++)
{
var loadInfo:LoadVars = new LoadVars();
loadInfo.onLoad=function(success:Boolean)
{
if (success)
{
trace("whatever:"+loadInfo.myname);
}
else
{
trace("Nope");
}
loadInfo.load(ID[i]+".txt");
}



the problem I'm having is that the function doesn't execute until the for loop completes and then it executes 12 times in a row. Output is 'whatever: undefined' 11 times and then 'whatever: Bobble' (which corresponeds to the last .myname value as it should). Why is this? And how can I fix it? To be continued...

~NH

Loop Inside Loop... Why Doesn't Work Properly?
In order to cause a delay, I have put a loop inside another loop. Here it is:

for (a=1; a<6; a++) {
for (b=1; b<10000; b++) {
}
}

Flash delays to show the page but in the end I just see both variables with the maximun value. The point was to see variable "a" growing with delay. What have I done wrong?

Thank you

Function Inside For Loop; How To Give It Parameters Of The Loop
Hey!

This is the code:


Code:

for (i=0; i<5; i++) {
_root.createEmptyMovieClip("temp"+i, 1+i);


_root["temp"+i].beginFill(0xFF0000, 20 + (20*i));
_root["temp"+i].moveTo(0+(60*i), 0+(67*i));
_root["temp"+i].lineTo(100+(60*i), 0+(61*i));
_root["temp"+i].lineTo(100+(64*i), 100+(65*i));
_root["temp"+i].lineTo(0+(55*i), 100+(80*i));

_root["temp"+i].endFill();

_root["temp"+i].onRelease = function() {

trace("button Number = " +i);
}
}


So I made butttons and assigned each one an onRelease function. But each one needs to have assigned a variabile by the value "i" in the for loop.
When I write it like this the function itself is defined only after I click it and it ofcourse asigns all the buttons the same "i", the last value of "i" in the for loop.

How do I do it so I get first button with variable 1, second with 2,... ?

Thx.

Pausing Execution Of Code In A For Loop Between Each Loop. Howto?
I have a for loop which runs x amount of times and between each loop i'd like to implement a small pause of execution of the code. How would i do that? Can something like that only be done using a timer? If so how would i go about doing that and what things should i import? (Trying to do this in a class) ...

Loop Help: XML Attribute Doesnt Stay On Each Object Of The Loop
Hi, i'm working on a gallery that loads thumbnails from an xml file into 3 columns and when you click on a thumbnail it opens a new window with the fullsized image in.

I have modified code from a gallery tutorial to load the thumbnails from a xml file. They are going in 3 columns at the moment (I don't understand why but they are) but only the last image has a hand cursor when you rollover it, and then when you click on it, it traces "undefined" into the output box.

I have put
Code:
trace(images_arr[i].attributes.fullsize);
just below the bit where it loads the thumbnails and it traces the right path from the xml file for each image.

Can someone help me get it to trace the right path from the xml file when you click on ALL the thumbnails, not just the last one.

Thank you so much in advance!



Code:
function GenerateThumbs() {
images_arr = images_xml.firstChild.childNodes;
gap = 10;
this.createEmptyMovieClip("thumb_mc",100000);
thumb_mc._y = 10;
thumb_mc._x = 10;
for (var i = 0; i<images_arr.length; i++) {
trace('generating thumbs'+i);
this.thumb_mc.createEmptyMovieClip("thumb"+i+"_mc", i);
this.thumb_mc.createEmptyMovieClip("thumb"+i+"_tmp_mc", 300);
this.thumb_mc["thumb"+i+"_mc"]._x = ((i%3)*(67+gap));
this.thumb_mc["thumb"+i+"_mc"]._y = Math.floor(i/3)*(67+gap);
this.thumb_mc["thumb"+i+"_mc"].loadMovie(images_arr[i].attributes.thumb);
this.thumb_mc["thumb"+i+"_tmp_mc"].no = i;
this.thumb_mc["thumb"+i+"_tmp_mc"].onEnterFrame = function() {
var _mc = this._parent["thumb"+this.no+"_mc"];
var l = _mc.getBytesLoaded();
var t = _mc.getBytesTotal();
if ((l>=t) && (t>1) && (_mc._width>1)) {
_mc.onRelease = function() {
trace(images_arr[i].attributes.fullsize);
};
}
};
}
}


var images_xml = new XML();
images_xml.ignoreWhite = true;
images_xml.onLoad = function(success) {
if (success) {
GenerateThumbs();
} else {
trace("Error loading XML file");
}
};
images_xml.load("gallery.xml");

Pausing Execution Of Code In A For Loop Between Each Loop. Howto?
I have a for loop which runs x amount of times and between each loop i'd like to implement a small pause of execution of the code. How would i do that? Can something like that only be done using a timer? If so how would i go about doing that and what things should i import? (Trying to do this in a class)
Though i'm wondering if there's an easier way than timers to be able to do something like that, like C's sleep() function for example.

My Sound Loop Is Repeating Itself Ontop Of Previous Loop
Here is a link to a movie that I am working on:


LINK-
http://blue-title.com/v2/


My client says that when you first start the movie, the loop starts fine but when he clicks on one of the three buttons at the bottom (Home, Florida, Alabama) the initial first loop continues to play and a new loop is beginning to repeat while the first one is still playing.

It works fine for me in Firefox and Safari on a Mac.

Any solutions?

Todd Temple

Movie Clips In For Loop Onlydisplaying In 1st Loop
Hi there! I'm new at this so excuse if I'm being stupid.

I'm creating a game which I'm looping through an array and inside the loop I'm playing clips. The clips display only the first time the loop is being run. Here is the actionscript. PLEASE SOMEONE HELP ME... I'M DESPERATE!!!

code:
on (release) {
var myClips = new Array("Fletter", "Lletter", "Aletter", "Mletter", "Eletter");
var myClipsNewName = new Array("mov2", "mov3", "mov4", "mov5", "mov6");
var myClipsValue = new Array (10, 11, 12, 13, 14);
var cnt = 0;
for (var t = 0; t<4; t++) {
for (var i = 0; i if (cnt == -1) {
cnt = 0;
}
var temp = myClips[cnt];
attachMovie(myClips[cnt],myClipsNewName[cnt], myClipsValue[cnt]);
updateAfterEvent();
trace(myClips[cnt]);
if (i == Total-1) {
myClips.splice(cnt, 1);
myClipsNewName.splice(cnt,1);
myClipsValue.splice(cnt,1);
if (cnt == myClips.length) {
cnt = 0;
}
break;
}
cnt = cnt+1;
if (cnt == myClips.length) {
cnt = 0;
}

}
}
}


edit: jbum added as tags

Mp3 Sound Loop Bad. Wav Loop Good.
I have a soundloop which is a WAV file
and it works just fine when i loop it in flash

But when i convert it to an MP3 file...for osme weird reason theres a little less than 1 second pause when it starts again...you can tell its a loop...not smooth

But in WAV format its fine.
Its weird..ive used two different softwares to convert my wav file.
ive used Creative Wave Studio, Ive used a dedicated third party MP3-WAV convertor.

same results...the mp3 has bad looping.

any ideas?

[MX04] Loop Loop Whoops
Hi,

I know this might be really simple but I'm having a problem with my movie continuing to loop even though I've put the stop() function anywhere and everywhere I can think of. Basically, I have some mc's in Frame 1 which perform some calculations in AS. At the end of one of the calculations, I have _root.gotoAndStop(2) (which I'm assuming is telling the playhead to move on to the next frame in the main timeline).

I've put in key frames in the second frame for the same mc's to perform some different calculations which are dependent on variables from Frame 1's calculations. After running through the calculations, the movie won't stop looping and I can't figure out why.

Can anyone suggest a course of action? Thanks in advance.

Stop Loop And Replay Loop
Okay on my stage I have a start(MC) and a stop(MC) and a clear(MC) these will be used as buttons. I also have a dynamic text box that shows my output.

I am making it so when you click start it will start counting from 0 to whenever you hit the stop button, I have changed my fps to 1 so it doesn't crash my computer, And this is where I am running into trouble. Here is my code.

var myTimer = 0;

startBtn.onPress = function() {
this.onEnterFrame = function() {
myTimer = myTimer + 1;
//trace(myTimer);
this._parent.myTxt.text = myTimer;
}

}


stopBtn.onPress = function() {
trace(myTimer);
this.myTimer.onEnterFrame = stop();
}


I would also like it so when you hit start again it picks up where it left off.

Please any help would be greatly appreciated.

Thanks
T

Loop Within A Loop (creating 2 Columns)
Hello. I have the following loop, which works just fine:

ActionScript Code:
yGutter = 30;
xGutter = 28;
numPerRow = 1;
for (t = 0; t < vars.countEmployees; t++)
{
    thumbCont.duplicateMovieClip("thumbCont" + t, 2000 + t);
    this["thumbCont" + t]._y = thumbCont._y + yGutter * Math.floor(t / numPerRow);
    this["thumbCont" + t]._x = thumbCont._x + xGutter * t - xGutter * numPerRow * Math.floor(t / numPerRow);
    this["thumbCont" + t].tID = t;
    this["thumbCont" + t].gotoAndStop(2);
    mainCont.duplicateMovieClip("mainCont" + t, 3000 + t);
} // end of for

you can see this here:http://www.metapps.com/testing/index_email.html

I need to make 2 more columns, same as the first, with the rest of the info from the php file. Right now I have a "LIMIT 0,10" on the MYSQL request so there are only 10 rows. Ultimately there will be three rows with 30 employees.

How would I write this loop?

thanks

XML Nested Loop - Access The Loop Later... But How?
Hello all. I need help desperately, I'm very novice with this kinda stuff. Basically, I have data organized by date in an XML file. I'm trying to make a website application that will allow the user to click on a date (in a text field) to see another textfield populate with all the data under that particular date.

So far, all the information loads into the textboxes at the same time. How can I get it to only load information under a particular date when somebody clicks on that date?

Before I started this project, I was convinced I could do this by manipulating the [j] (see code below) in the myFunc2 function. Currently, it's set up to increment blank_mc._y by whatever value is returned by [j]. But for some reason this doesn't work. I feel that if I could atleas get this part to work - I could probably do the rest.

Any help is greatly appreciated. PS - I'm not sure I even need a nested loop for this...

AS code:

Code:
function loadXML(loaded) {
if (loaded) {
var nodes = this.firstChild;
for (j=0; j<nodes.childNodes.length; j++) {
groups = nodes.childNodes[j];
var info = groups.childNodes;

for (i=0; i<info.length; i++) {
var word2 = groups.childNodes[i].childNodes[0].firstChild.nodeValue;
var url2 = groups.childNodes[i].childNodes[1].firstChild.nodeValue;

_root.myText.htmlText +="<A HREF="asfunction:MyFunc,"+url2+" ">"+word2+"
</A>";
}

_root.myGroup.htmlText +="<A HREF="asfunction:MyFunc2,"+[j]+" ">"+groups.attributes.title+"
</A>";

}
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("links.xml");

function MyFunc2 (blarg) {
//trace (blarg);
//trace (blank_mc._y);
blank_mc._y = blarg;
}

function MyFunc (arg) {
loadMovie(arg, holder_mc);
};

XML Code:

Code:
<?xml version="1.0" ?>
<products>
<group1 title="January">
<item>
<one>foo</one>
<two>foo.swf</two>
</item>
<item>
<one>beans</one>
<two>beans.swf</two>
</item>
<item>
<one>spiders</one>
<two>spiders.swf</two>
</item>
</group1>
<group2 title="February">
<item>
<one>foo2</one>
<two>foo2.swf</two>
</item>
<item>
<one>beans2</one>
<two>beans2.swf</two>
</item>
<item>
<one>spiders2</one>
<two>spiders2.swf</two>
</item>
</group2>
</products>

GrRR Loop, Loop,loop
Hi ! I would like to know why when I goto publishing or otherwise. That when the program is run that the "loop" is always in the on mode. I have looked under preferences and I don't see it in there either. Can this thing be turned off somewhere by using scripts? Cause the last program I played with was supposed to "play and stop". It does work before the last frame is seen and then jumps over it when that script is activated. But then restarts the whole movie process all over again. But,now if I play the movie myself and I go and right click on the movie and turn off the loop it worksd just fine ... How do you turn that thing OFF????
ANYBODY KNOW??? HeLP!!
[Edited by Coke1bear on 12-26-2001 at 02:52 PM]

SIMPLE LOOP-D-LOOP
I have a tween that is 20 frames long nested in a MC.
Is there a way to set it to loop a specific amount of times and then stop? Similiar to the sound loop option?

Does someone have a little code or something to point me in the right direction?

Thanks!

Loop De Loop Need To Stop
Dear Helper People

I am trying to make a movie using the The Matrix Bitstream Effect

http://flashkit.com/tutorials/Specia...52/index.shtml

but I want to goandplay 10 times then stop.
Could you please tell me how I can set it so it goes through the frames 10 times then stops.

Well since I have you hear I would also like to ask.
I am also using the DOS Text Typer Effect

http://www.were-here.com/forum/tutor...sor/index.html

Why is it when I try to insert pictures to desplay on the screen, the pic moves along with the word.
How can I desplay it and not have it move.

-Thanks

MP3 Loop Script Won`t Loop
Hello guys ... I have this thing thats drivemin me nuts :s I am writing a MP3 player script but it won`t loop my sound ... and I have no idea whats wrong with it. ( I can stop the sound and play it but its not looping ) Maybe some1 could take a glance at it and give me hint woots wrong? Thank You


var mySound:Sound = new Sound();
mySound.loadSound("track1.mp3", true);

this.mc_stop.onRelease = function() {
curPlaybackPos = mySound.position;
mySound.stop();
}
this.mc_play.onRelease = function() {
mySound.start((curPlaybackPos/1000), 9999);
};

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