Search  

EASY XML BACKGROUND IMAGE ROTATOR

HomeBrowse CategoriesFlashApplications and UtilitiesImage ViewersEasy XML Background Image Rotator

Easy XML Background Image Rotator

This file was created as an easy way to have full background images in your flash file. By placing this in your project and editing an extremely simple XML file you can have images that automatically center, and fill to fit your stage. You can put in one image and use it as an easy way to add a nice auto-resizing background, or you can point the xml at multiple images and have it loop through them at an interval you specify in the xml file.

Features:

  • Automatically centers all images, and optionally scales them to fit to your stage as best as they can.

  • Can take one image, and statically show it, or many and loop through them.

  • What images to use, whether each scales to fit, and the loop interval time is all XML driven.

  • Has features built in so that if it is to change images and the next one isn’t ready, it will wait until it is, immediately switch to it, and then restart the timer, so it always plays cleanly and smoothly.

  • You can drag and drop a movie clip onto your stage to place it, or use it as a class in script.

  • About 2k added to your file size.

  • You can place it in any amount movie clips nested within each other and it will still place and scale correctly. It’s smart like that :)

  • For expert coders that wish to integrate more deeply, it dispatches an event once the first image is done loading, for loading purposes so that your site can sync with the background being ready.

  • Images load one at a time, so that you can see them in order, quicker. But they also start loading the next one immediately after the previous is loaded, so that loading is done as quickly as possible, reducing possible slow downs.

Featured Items:

keywords: flash, vector, loader, preloader, pre-loader, actionscript, action script, as3, actionscript 3.0, animation, simple, clean, loading, images, image, photo, photos, background, backgrounds, gallery, rotator, slideshow, show, xml, easy

Posted about 1 month ago

Very good. I like it a lot.

Posted about 1 month ago

Smooth and clean transition :).

Posted about 1 month ago

Superb concept and realization, looks really useful.

Posted about 1 month ago

Thank you very much guys! It may not be one of the most flashy files on this site, but it’s intention was to be a useful thing for either a developer or a newbie :) And I think it does that well!

Posted about 1 month ago

Hi MBMedia! Very nice file! i’ll love it! But i’ve 1 question… well i’m beginning in as3 and when i publish the file in browser (firefox) the background doesn’t fill the entire page! (not as the exemple shown here) there still are borders in it! Do i forgot something to do?in publish setings? First i put “percent” for “dimensions” to able center and resize the images but for those borders i don’t know… Please could u help me? Thanks a lot!

Posted about 1 month ago

Hi MBMedia! My bad i think i found it! it was just editing HTML file putting all margins to “0” ! lol Still a great file!!!!! :)

Posted about 1 month ago

Yes, all HTML pages put a margin, it has nothing to do with Flash, simply use a little CSS in your HTML page to remove that.

Posted about 1 month ago

Hi MB, I bought this as an improvement on part of my own solutuion for a fully browser-size-sensitive CSS /ASP site. It’s excellent and is working great on my home page, where I have put the supporting files into the root.

Trouble is my site is dynamic. I’ve created an swf file for each ‘page’ each with an accompanying xml file in it’s own directory, and the swf is dynamically called – but of course the trouble is I’m using only one page, and so i cannot have the swf call the individual ‘local’ files.

Is there a way I can alter each individual swf to link to the ‘local’ folder when it’s not local, but is instead… 5 directories further down the root?

I’ve altered the AS XML string path, but how can I do the same for the XMLBackground.as? I’ve a liitle AS2 knowledge, but AS3 …! Thanks.

Posted about 1 month ago

the local folder holds the Actionscript for the project. It does not run like javascript does in HTML , it does not pull it in when it runs, Actionscript is pulled in to flash and compiled when you publish the file, not when it runs. You can even delete the local folder up on your server, it doesn’t use it, only the sources use it when you publish.

If you want 5 different versions of this file that have different Actionscript, you need to publish 5 different swfs, this is how Flash works (AS2 and AS3 ) not just my file :)

Posted about 1 month ago

I have a problem with plug-in the background to other template, it is not working. Can you help me

Posted 11 days ago

possibly, but you’re going to have to give me a lot more info than that, email me with the particulars of what is happening :)

Posted 10 days ago

Wow, I really love the full screen background. But one question, I was wondering if it is possible to make that background script a gallery type thing. So for instance, If I have a really cool scroller or thumbnails, when a thumbnail is clicked, can the actionscript that is put on the button or movie(thumbnail) pull up specific background image? So its pretty much a gallery function, click a thumb or button, and the thumbnail syncs with the correct background image?

Posted 9 days ago

If you are an intermediate programmer with AS3 that would be rather easy to do, there are functions for showing the images. Other than that I have galleries in my portfolio

Posted 9 days ago