View Full Version : Why can't I use 2 scrolling movieclips in the same movie?
spindrift
11-17-2006, 11:32 AM
Hi all,
I've created a couple of sites now that both use scrolling movieclips...
If there is one scrolling mc, it works fine but as soon as I add another (using the same code and instance names - just a different mc) the up buttons fail to work properly. I've tried changing the instance names but it makes no difference.
Does anyone know why this happens? Is it a bug in Flash 8? Is there a way round this?
Thank you very much and I look forward to hearing from you.
Take care,
Mark
kool-Aid
11-17-2006, 03:25 PM
post a link to the fla.
spindrift
11-17-2006, 05:52 PM
hi kool-Aid!
many thanks for your reply. my fla is located at www.spindriftmedia.com/scroll_prob.zip - all the layers that are relevant have been unlocked.
thank you very much once again and i look forward to hearing from you.
all the best,
mark
kool-Aid
11-17-2006, 09:58 PM
wow that IS weird. not sure, maybe it is confused about currPos not resetting when you change keyframes. Maybe if you add a line of code designating the currPos upon enter frame. Maybe, i'm retarded too i don't know.
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._y = Math.round(dy*-1*moveVal+initContentPos);
};
Also, i know if you are using any of flash's componants that can screw things up in the way this is happening. Could you make these scrolling areas there own functioning swf. then load them into the deignated areas? With an onloadinit comand so that their code works in your maintimeline? Just a thought of how to solve the issue without really understanding the prob. Hope some of this helped atleast a little.
anonymous
11-17-2006, 10:14 PM
Ummmmmmmh! I don't see a problem with the buttons... I simply don't see any text in the profile or links sections, but see it fine in the Career Highlights.
But when I then switch the font in your text in the Profile section to Arial, everything seems to display fine... :confused:
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.