Solved

Slide show without XML or text file

Posted on 2008-06-22
4
400 Views
Last Modified: 2013-11-11
Are there any ways to create a flash slide show without XML or text file (for pulling image name)?
This also means that users don't have access to .fla file and can't put the image in .fla file.
I would like users to simply put pictures in a certain folder and create a slide show.
I prefer flash 8, but if there is a new function for AS3 to make this happen, flash 9 is good as well.

Is it possible??

Thanks
0
Comment
Question by:jtuttle99
4 Comments
 
LVL 34

Accepted Solution

by:
Aneesh Chopra earned 167 total points
ID: 21843949
Flash itself cannot read file name from a folder,
Flash can only load a txt file or xml file to get info about images.

or on a server, flash can call a PHP which will read the contents of the folder and create a XML structure dynamically for Flash to pass on the folder contents info.

but without an XML/txt file/ PHP it is not possible.

0
 
LVL 12

Assisted Solution

by:SamuelRostol
SamuelRostol earned 167 total points
ID: 21843970
You can build a php/xml structure, where PHP reads the content of a folder, creates a xml-document, which again is loaded into Flash. This will enable you to create a solution where you can place new images into a folder, and Flash will through the PHP retrieve everything needed.

But that has to be done on a server - as PHP doesn't work locally.

Kindly,
Samuel
0
 
LVL 5

Assisted Solution

by:cwickens
cwickens earned 166 total points
ID: 21845314
without getting into the code, the only option would be to either do as suggested above with a dynamic xml file written with a server side language (PHP, ASP, .NET, or CF).  

You could also create an interface for the users to upload to a database and then use a server side language (you guessed it, PHP, ASP, .NET, CF again) to read through the file names and load an array into the swf.
0
 

Author Comment

by:jtuttle99
ID: 21849355
Experts,

Thank you for your help!
This is a slide show that users put in the CD and give it to customers.
The users don't have knowledge with xml and they don't want to spend time to make one.

So, unfortunately server side scripting is not my option because the files are in a CD.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SWF won't scale? 4 518
How to disable  HTML5 video in chrome 2 1,527
Action Script coding 1 170
Adobe Indesign CS6 4 78
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now