Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mc speed 1

Status
Not open for further replies.

disfasia

Programmer
Apr 20, 2001
378
CA
I have a film with, on the main timeline, an mc there. But I have noticed that the frames per second do not affecct this mc; they only effect the main time frame fps.

How can I make the second mc's frame speed the same?

Thanks for any help.

Peace!

disfasia
 
... astonishing, that would be totally new to me, i can't imagine. the problem MUST be something else, frames per second have to affect all timelines.
could you maybe upload your fla-file somewhere and post the link? regards

Firegambler
 
i suspect its something like a movie clip in frame 1 (say) playing its own timeline before the main timeline goes onto frame 2
 
ok, i downloaded the file now.
could you please describe the problem a little more specific?
i'm not quite able to get what exactly your point is. regards

Firegambler
 
Thanks. Well, when I view the site online, the embedded mc actually does not move at 30 frames per second, but, as you can see online, it moves much slower. Hence, I do not know how to make the speed faster aside from the obvious: going frames I have should still move much faster. Does this make any sense?

Thanks again!

disfasia
 
The previous posting was chopped off by the system...I ammend here. The only way I can think of making the photo mc move faster is the take out the frames. But with the number of frames I have set up for each photo (100 per photo, roughly) with the clip running at 30 frames per second, the photos should move much more quickly. I think the problem is the mc within the movie. What are your thoughts? Thanks again.

best,

disfasia
 
If anyone can help me out with this I would appreciate it. I have been unable to make the inserted mc's speed match the 20fps that i set up for the film

thanks.

disfasia
 
remember frames per second are a guide

all depends on the users machines capabilities are download speed
 
ok, i think i got it.

on the one hand i found another solution which might be better to handle, on the other hand i've got some good reason why i think that your file didn't work as you wanted.

I found out that you didn't use movieclips that faded in and out in your fotoclip but some other type of symbol. (unfortunately i don't know what you call it in english since i work on a german version. it's the 3rd type of symbol you can make, not movieclip, not button. it's called graphic is think... i'm sure you know what i mean.)

By chance and as far as i remember correctly a few days ago i read in a flash book that graphics kind of stream when they are tweened.
that means they are not submittet one time like a movieclip and then changed in some way by a tween or what ever.
(as far as i understand the chapter) they are submitted again and again. that's why the film slows down.

the solution i'd suggest consists of two parts:
firstly you should never use graphic-symbols for tweens.

secondly i replaced your tweens by a script that will keep the filesize down.
it is some kind of timer that will fade in the clip from transparent to visible in one second
and in the next second will fade it out to total transparency again, then jump to the next image which will do the same.

the script is kept in an external file so you can easily change the duration of fading by editing the external textfile, just by opening it in the text editor.
i wrote another short desciption in the file on how to handle the script in case you can't figure it out.


and

that is where it is located at the moment since the server i usually use is down. when he is up again it will be on

and

sorry, it took me some time to script the timer correctly but i think it works now. regards

Firegambler
 
Firegambler:

Thanks a lot! This is great...but I cannot open the .fla you sent...I am using Flash 5.0...might this be the problem? I would love to see what you did!

peace
disfasia
 
ok, just saved it as flash5-document and loaded it up, the swf as well.
i guess it should work now! ;-)

regards

Firegambler
 
...please let me know if the solution is suitable for you,

if not, i'm sure we'll create one together ;-)

gonna go to sleep now, it's almost [3eyes] 3 am here in austria [3eyes]

c u regards

Firegambler
 
Great...I can open it. But the tweening of the images is gone...They just come and go quickly...How do you make them fade in and out?

Thanks again

disfasia
 
damn, sorry, i forgot to put the external textfile with the actionscript in the zip-file. quite unsufficient concentration at this time :)

now it's in the zip too.
don't forget:
the script file has to be in the same file as the fla when publishing! regards

Firegambler
 
oh, I just got your second message just now... well, if you get to this tomorrow I would appreciate it greatly. your scripting is great!

gute nacht und schlaft alle gut!

disfasia
 
HI Firegamler! I got the download but I cannot open the wait.as file (what format is it?) and when I test the swf file, it gives a script error message ("25" it says). If you let me know what the wait.as file is or what you scripted the wait as, that would be great!

peace!

disfasia
 
hi,

you can open the .as file in Notepad or every other text editor.
i tested it again and it worked well for me but i guess that is little help... so:

open the scriptfile with a text editor, copy the code, open the flash-file and replace the scitpline including "#include" on the photoclips by the code of the textfile. the point is that if the #include-stuff doesn't work (which usually gives the command to use some external script during export of the film) you'll have to change the code on every clip if you want to change the time of fading.

sometimes that's the price of sophisticated solutions <-- they only work on the producers version of prog. ;-)

anyway... i guess that should work. regards

Firegambler
 
Firegambler! Thanks so so much! Your help was incredible!

Peace,

disfasia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top