How to Control the Speed of an XML Image Scroller

When coding an XML-based Adobe Flash image rotator or scroller, it is useful to designate a specific time period for each image to be displayed. XML is used to develop many of the Actionscript functions in a script such as the scroller speed. Thus, you must find where the xmlPath string occurs, then designate the list of images to be used, and then amend the interval that follows it. This editing is performed in the ActionScript file within Adobe Flash Professional.

Instructions

    • 1

      Open the ActionScript file in Flash Professional.

    • 2

      Locate the xml link in the script. The majority of this will depend upon your own script, but the xml path will look the same:

      xmlPath:String = "images.xml", interval:int = xxxx)

    • 3

      Replace "xxxx" with the number of seconds you want each image to be displayed.

    • 4

      Save your document.

Related Searches:

References

Comments

Related Ads

Featured