The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 4 of 4

Thread: XML rotating banner help ASAP please

  1. #1

    XML rotating banner help ASAP please

    I'm trying to make a similar rotating banner as the one on

    I've built the movieclip holder with the instance name "bannerholder" and basically want to have the jpegs load via XML and change out every 4/5 seconds (delay times). I wanted it to autoplay and then if you hit a next or previous btn, the banner changes to the next one. Once it gets to the fourth and final banner, it would loop to the first.

    Can anyone help me with the first frame actionscript necessary here please? Here's the XML provided by one of my developers:

    <?xml version="1.0" standalone="yes"?>
    <xs:schema id="NewDataSet" xmlns="" xmlnss="" xmlns:msdata="urn:schemas-microsoft-comml-msdata">
    <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="BannerItem" msdata:CaseSensitive="False" msdata:Locale="en-US">
    <xs:element name="PrimaryKey" type="xs:int" />
    <xs:element name="ImageName" type="xs:string" minOccurs="0" />
    <xs:element name="UrlSet" type="xs:string" minOccurs="0" />
    <xs:element name="DatePosted" type="xs:dateTime" minOccurs="0" />
    <xs:element name="Status" type="xs:string" minOccurs="0" />
    <xs:element name="BeginDate" type="xs:dateTime" minOccurs="0" />
    <xs:element name="EndDate" type="xs:dateTime" minOccurs="0" />
    <xs:element name="RelativeOrder" type="xs:int" minOccurs="0" />

    Ideally, there will be 4 banners (so imagine a banner4.jpg). I'd greatly appreciate your help. Tuesday deadline...yikes!

  2. #2
    Oh, and I'm using Flash CS3, however exporting with Actionscipt 2.0.


  3. #3
    Hi Shinddles and welcome to the Forum.

    There are a number of tutorials on this very site detailing how to create an XML Driven carousel, or if you are not feeling adventurous, Jeroen Wijering created an excellent (and free) Image Rotator which you can download from his site.

    If you want someone to write a carousel unit from scratch for you, then I think you will need to hire a freelancer.


  4. #4
    Okay, got the code, implemented it. Great. Now, how could I add a pause/play button so that on release of the pause button, the rotating banner stops, then plays again on release of play?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012