Knowledge Base |
Important! All new questions are usually answered within the next business day.
Loader Pro V3
(views: 9250)
The Loader Pro V3 is a professional loader that features scale modes (scale, crop, scale-crop, resize), align modes, built in preloaders and customized transition tweens. Here are all known issues for Loader Pro V3. If you have any questions that you think we should discuss here please let us know.
Loader scale modes and alignment
(2007-08-21 - views: 4703)
Q: What does each scale mode mean for the loader component and how do the horizontal and vertical alignments affect the content's position ?
A: These are the scale modes for the loader:
- "scale" - it resizes the content to the size of the loader, keeping the aspect ratio
- "resize" - resizes the content to the size of the loader, but does not keep the aspect ratio (could distort the content) - in this case halign and valign parameters have no effect
- "crop" - the content is at its original size and only a portion equal to the loader size is displayed
- "scaleCrop" - if the loader's width is larger than the height, it resizes the content by its width, otherwise, by its height; the result is a content that is larger than the loader, so it will be cropped (only a portion of the content,as large as the loader, will be visible)
- "none" - the content will keep its original size and the loader will resize to the content's size - in this case the halign and valign parameters have no effect
The valign and halign parameters will position the content, inside the loader, according to the selected alignments: top-left, top-center, top-right, middle-left, middle-center, middle-right, bottom-left, bottom-center and bottom-right.
In the example file, you can set different scale modes and alignments and resize the loader to see the effect of each property setting on the loaded content.
Files: loaderexample.zip
- "scale" - it resizes the content to the size of the loader, keeping the aspect ratio
- "resize" - resizes the content to the size of the loader, but does not keep the aspect ratio (could distort the content) - in this case halign and valign parameters have no effect
- "crop" - the content is at its original size and only a portion equal to the loader size is displayed
- "scaleCrop" - if the loader's width is larger than the height, it resizes the content by its width, otherwise, by its height; the result is a content that is larger than the loader, so it will be cropped (only a portion of the content,as large as the loader, will be visible)
- "none" - the content will keep its original size and the loader will resize to the content's size - in this case the halign and valign parameters have no effect
The valign and halign parameters will position the content, inside the loader, according to the selected alignments: top-left, top-center, top-right, middle-left, middle-center, middle-right, bottom-left, bottom-center and bottom-right.
In the example file, you can set different scale modes and alignments and resize the loader to see the effect of each property setting on the loaded content.
Files: loaderexample.zip
User Comments
loader v3 + MCTE CUBE3D + Full Browser Flash
Sorry for the late reply - it's more advisable to write us using the ticket system because we don't guarantee 100% response here. The Loader can be dynamically resized by using the height and width properties. Please open a support ticket attach your source files along with the order id and a detailed description and someone will try to help you.
http://www.jumpeyecomponents.com/support/open.php
posted by florodebat on 2009-10-20
Sorry for the late reply - it's more advisable to write us using the ticket system because we don't guarantee 100% response here. The Loader can be dynamically resized by using the height and width properties. Please open a support ticket attach your source files along with the order id and a detailed description and someone will try to help you.
http://www.jumpeyecomponents.com/support/open.php
Login to post your comment



Hi Guys, thanks for all the work on the components. I am creating a simple site with roughly 10 pages. The idea is for the transitions to be done using cube3d pattern and content loaded using loader v3.
How do i go around it though when i need to have all as full browser flash? I would normally put something like:
----------
function moveStuff() {
myBack._width = Stage.width;
myBack._height = Stage.height;
myBack._x = 0;
myBack._y = 0;
item_flexibleMC._x = ((Stage.width/2)-(logoMC._width/2));
}
resizeListener = new Object();
resizeListener.onResize = function() {
moveStuff();
};
Stage.addListener(resizeListener);
moveStuff();
----------------
on the home.swf and have a containerMC to load the content into.
but i am not sure how to do this with loader3 and MCTE. is it possible to dynamicaly resize the loader? Because i tried many ways and even though some worked inside flash, in browser these usually end up by not loading anything.
thanks.