Advanced Flash Components
Search!
Search!
Home >  Knowledge Base >  IMG Loop >  Adding content to the IMG Loop...
Adding content to the IMG Loop Component?
Date: May 2, 2007   Views: 1634  
Question:
I have the 2 flash files but don't see how to load images. Can you help?
Answer:

andreit (Admin)
There are two ways of adding content to the IMG Loop component. You can either use an XML file or add images manually through the component inspector.

Adding content manually through the Component Inspector
Example file is located in Release_Files/Examples/example.fla
  1. Create new Flash document
  2. Open Components window (Window > Components) and drag IMG Loop component on stage
  3. Select IMG Loop component and open the Component Inspector (Window > Component Inspector)
  4. In the Component inspector select content property (click on the magnifying glass icon)
  5. Select plus button (+) and enter image path and the description in corresponding fields
  6. Publish your movie

Adding content with XML file
Example file is located in Release_Files/Examples/example_xml.fla
  1. Create new Flash document
  2. Open Components window (Window > Components) and drag IMG Loop component on stage
  3. Select IMG Loop component and open the Component Inspector (Window > Component Inspector)
  4. In the Component inspector select contentXML or contentRSS property and enter path to your content XML file. You can use this file as an example http://www.afcomponents.com/components/img_loop/content.xml
  5. Publish your movie
Component Info