Hi There,
I have a question on a project that I have taken over and being somewhat new to flash am having difficulty figuring out. There is a scrollbar that doesn't work properly and when I export the movie I get these 3 errors all having to do with components not being loaded.
**Error** Symbol=Standard: Pane, layer=Layer 1, frame=1:Line 1: The class or interface 'xm.components.SimplePaneComponent' could not be loaded.
**Error** Symbol=Standard: Scrollbar: Up Button, layer=Layer 3, frame=1:Line 1: The class or interface 'xm.components.SBPButtonComponent' could not be loaded.
**Error** Symbol=Align Component (this), layer=Bounding, frame=1:Line 4: The class or interface 'xm.components.AlignComponent' could not be loaded.
I think it is because I have moved the project to a new computer and it can't find the class files. Does that sound right and if so how do I fix it? And if I find the class files and add them to my computer will that fix my scrollbar? Any help would be appreciated.
Thanks alot, Kathy
katcski 2007.02.15, 02:41AM — component question
Arsis 2007.02.15, 04:25AM —
oh... and welcome to Twelvestone.... Ari will be by soon enough to assign you barrel duties.
katcski 2007.02.15, 01:59PM —
Thanks for the help. I downloaded the components. But how do I install them? Do I just drag them over to the Flash application folder? I am using Flash 8 - if that makes a difference.
Thanks again for your help, Kathy
Arsis 2007.02.15, 10:17PM —
Did you download FLAs or MXP files? Fla's you can open in Flash and drag the compnent across to a new file. MXP files require you to be running the Extensions Manager. Once that's installed you can double click your MXP and the components will be available once you restart Flash.
katcski 2007.02.16, 01:41AM —
Hi Arsis,
Thanks so much for the help. I installed Extension Manager and installed the components and now I do not get the errors when I export the movie. However, I do have one other seemingly silly question. When I was trying to get the scrollbar to work with my modified content movie clip, I changed the y value so that you could see all the content. But that made the scroll button go beyond my scrollbar slider. If that makes any sense. Do you know how I could fix it so that the button goes to the bottom of the slider and you would then see all of the content.
Thanks alot, Kathy
Arsis 2007.02.16, 03:38AM —
I kind of know what you mean but am not sure how ti fix it without being able to see exactly what you are doing.
You shouldn't modify the component directly. If you change the object that is scrolling then you should call an update on the component.
yourComponentInstance._update();
should do it. If not then uplaod a file and I will try and have a look at it for you.
katcski 2007.02.16, 10:17PM —
Hi Arsis,
I tried to do the update. But I am not exactly sure what the componentInstance name was used. I did try a few things that I thought it might be, but it did not work. I have changed back all the variables that I had changed. I am trying to avoid rebuilding the scrollbar area, being that I am still new to flash and I haven't done that before. Although at this point it seems like I might just be doing that soon. I have uploaded the file if you have time to take a look at it - that would be great. It is at acknowledgingchristtoday.org/test/act_main-kc-2.fla - this is the flash file I am currently working on. The swf file is the index in the same folder.
Thanks so much for your help, Kathy
Arsis 2007.02.19, 09:27PM —
Originally posted by: katcski
acknowledgingchristtoday
Oh my.
Me helping out on this is analogous to a vegan designing a brand for a butcher.
I'm sorry but I can't/won't be of assistance. Hopefully one of the other members is willing to help you out.
Knevel 2007.02.19, 10:31PM —
lol, Arsis you arse =p
I believe this comes under the "if you can't say anything nice" category
Arsis 2007.02.19, 10:37PM —
I figure an explanation is better than no response.
I refuse to contribute to any project (no matter how major or minor that contribution may be) that relates to religion (of any kind), politics, McDonalds or weapons manufacture. Gotta draw the line somewhere.
scudsucker 2007.02.20, 08:50AM —
Well, I'm an atheist, but I dont mind helping. At least religion aspires to some positive values (peace, respect, all that, even if they dont always manage to put it into practice) which is more than you can say for weapons manufacturers and McDonalds.
In this case I think that the problem is pretty simple. That component works out the length of the scrollbar from the height of the "mask" clip.
If you open the .fla, and look Scene 1--> mc_contentPanels --> layer "actions" --> frame 1, you'll find reference to a movieclip with instance name"mainScrollPane"
However, on your stage, while there is an instance of the mainScroller_mc, it does not have an instance name.
If you give it the instance name (in the properties panel ) of "mainScrollPane" the scrolling works (more-or-less) as expected.
katcski 2007.03.02, 10:14PM —
I completely understand you having to draw the line.
Thanks Scudsucker, I do appreciate the help. I will give your suggestion a try and see how it goes.
Thanks alot and I will let you know what happens.
Kathy
tenPlus 2007.03.02, 11:32PM —
nice one Arse, good onya for at least declaring your beliefs. It's also good to see that someone else can step in. You gotta be proud to be part of a place that is multi cultural, multi national and can still put differences aside to work together as well as play together.
looks like I'll havta settle for a group hug seeing as there's not enough women around for a group orgy.
DontBogartMe 2007.10.24, 03:30PM —
I love it when Google leads me back to twelvestone where the answer was all along.
And I've a funny feeling I've been here before via the Google route... if it happens again I'll see this post and know to slap myself.
DontBogartMe 2008.04.09, 04:09PM —
Originally posted by: DontBogartMe
if it happens again I'll see this post and know to slap myself.
lol
*slaps self*
at least this time I found the thread with the 12S search tool.
Storm 2008.04.09, 04:49PM —
congrats on yur skillz coming togetehr!!
* slaps DBM *
best laugh of the day so far...thanks.
