Dope!
Posted about 1 year ago
VERY SIMPLE TO USE :
1. Just change 2 variables if you want to load another content (see code on buttons).
2. Just drag and drop the loader where you want and copy AS on the same frame.
It’s vector-based design, so you can resize it, change colours or font easily. Just go into the library movie clips.
Used and provided font is free on www.dafont.com
—-—-—-—-—-——-
This preloader creates an emptyMC (but you can create your own) to load the content you chose.
By getting this file, you could learn how to use a MovieClipLoader object.
How to dynamicly create a “onEnterFrame” function on a movieClip to make it appears with ease once preload is over, if the MC contains an image. If not, you’ll play the SWF you loaded.
Yeah. What unovis said.
Dope!
It truly is a very nice preloader. I am going to purchase it.
Posted about 1 year ago
Yeah. What unovis said.
Dope!
It truly is a very nice preloader. I am going to purchase it.
Posted about 1 year ago
Dude. How the do I center the files that are loaded into the “container” clip?
I’ve tried everything I know.
Posted about 1 year ago
the place you want :
clipListener.onLoadInit = function(targetMc:MovieClip) {
if (targetMc._parent.isSWF == false){
targetMc._parent[part2load].fadeIn = function(){
this.onEnterFrame = function(){
if(this._alpha<100){
this._alpha+=5;
}else{
this._alpha=100;
delete this.onEnterFrame;
}
}
}
}
targetMc._parent.myLoader.play();
targetMc._x=HERE THE VALUE YOU CALCULATED FOR YOUR MC TO BE CENTERED;
targetMc._y=HERE THE VALUE YOU CALCULATED FOR YOUR MC TO BE CENTERED;
}
Enjoy 
AH! So it WAS the targetMc! I was trying to center the “container”mc. Cool. I’ll try that then.
Posted 12 months ago
Hey Wild Thank-you for a great file! Some people can write good code, and some people design well – but looking at your portfolio – you seem to be able to do do both extremely well!!
Posted 12 months ago
Oh yeah. Once again I have a question to ask. Would specifying the dimensions of the targetMc(container) be similar to specifying the coordinates? I mean, in the same area that I would place the coordinates?
Posted 11 months ago
yep, your targetMc has to be loaded to modify its dimensions so you have to do it in the onLoadInit
Posted 11 months ago
alright. Got that working. Now I have another question… if you don’t mind my asking. Using this preloader, I thought it might be possible to create a transition by creating a function inside the preloader code. I was looking at it and saw … //////// loading function _global.loadPart = function() { // remove MC of a previous loaded content container.removeMovieClip(); //////////////
If I wanted to create a transition and call the function from a different source(button whatever…
, would I have to create the function just before the movieclip is removed? Or make the function iside the main _global.loadPart function and call it when the transtion is finished… I don’t know. I’ll try it out.
Wicked preloader! 5 stars all day, hit me off with that free file at srajoon@gmail.com
Posted 7 months ago
Hi!
The file works great as it is, but what if I want to put this code inside a different MC … what needs to be changed? Cheers!
Posted 7 months ago
Very nice file. Excellent comments and easy to use. Thank you! I have a similar request to URanimEnigma where I would like to center the loaded swf, but I was hoping to know how to do that dynamically versus having to calculate the x and y values manually every time. Can you help me with the code for this?
Thank you.
Posted 3 months ago
Never Mind. Figured it out. I was running into issues because my main swf is being centered in the browser and is actually a swf that takes up the whole browser page. Your loader is actually living in another movie clip, and to make my life easy, I ended up using a fullstage background element in the mc itself to center my loaded swf:
targetMc._x = bgelement._width/2-targetMc._width/2; targetMc._y = bgelement._height/2-targetMc._height/2
Thanks again for the file.
Posted 3 months ago
Awesome file! ... Question: How could I get my main page “home.swf” to load automatically when my site loads up with this preloader? thanks
Posted 3 months ago
there’s a function which is called when you press a button. Just call the same one with the name of the file you want, “onLoad”. It will load automatically.
Posted 3 months ago
I still can’t get it to load automatically?? Can you elaborate on the script a bit please? I’m still a “rookie” with actionscript lol.. thanks
Posted 3 months ago
How do modify this script to get my main page “home.swf” to load automatically when my site loads up with this preloader? I’m not sure how to re-format this with “onLoad” ... thanks
on (release) { file2load = “home.swf”; isSWF = true; _global.loadPart(); }
Posted 3 months ago
file2load = “home.swf”; isSWF = true; _global.loadPart();It should work well Posted 3 months ago