PDA

View Full Version : Any help with this 'state of the art' component?


divarch
02-11-2004, 05:41 AM
Hi guys, I was just finishing a preloader component, when I ran into some problems.
If anyone would have a look, the problem is, I don't get the progress displayed, though the image is being loaded, and tracing events triggered.

I am puzzled once again...
Just make an instance on the stage and set a path for the'movie' in component parameters panel to test it.

Any help appreciated, please.
[edit] I can make an MX also, just didn't want to cross post

[edit2]Oh, and add this to 'preLoad' function:
this.container.loadMovie(movie);//to much copying and pasting

Csneeky
02-12-2004, 03:31 PM
Here is my preloader class and the interface class for making preloaders that work with it.....look at the comments and see if anything will help you :)

divarch
02-12-2004, 03:37 PM
Hey, I've already given up on this subject...
Thanks, I will check it out,surely.

divarch
02-12-2004, 03:53 PM
Well, this is some impressive work man, am I stumbling in the dark.......

Some aspects I don't quite understand, which is natural, I've never used 'mx.event.EventDispatcher' and similar activities, but now I am certainly interested.

Anyway, I never had a problem with actual 'preloading' functions, I mean everything works, when it comes to that.

My question and pain was about correctly defining methods on clips included in a class(component) which are not components themselves.
But work only within it's parent, therefore they are unique for the certain component.

If you don't mind, take a look at my file previously attached, and you will see in what way have I solved this, using somewhat(maybe more than necessary)complex methods.

I would sincerely appreciate any kind of feedback on my work, and thanks for your help so far
Regards