Solved

Dynamic Slide Show

Posted on 2004-09-25
19
149 Views
Last Modified: 2010-04-03
Hello friends,

I am currently designing a small flash app that displays all the images in a folder, all the images have the same dimentions. My problem is that I don't know how many images are in the folder and those are changing constantly. Searching the EE database I found a component that did the job but I want to do it by myself since it would be more flexible.

Note: If your solution is based on XML, please be so kind to explain what I need to know about it in order to understand what you're suggesting. I'm open to create a new question (follow up) with 500 points if the explanation of XML is extensive, just let me know and I'd be more than happy b/c I feel that is the perfect excuse to start learning about it :-)

Thanks in advance,

Cërf.
0
Comment
Question by:Cerf
  • 8
  • 6
  • 3
  • +1
19 Comments
 
LVL 10

Expert Comment

by:muso120999
Comment Utility
You can do it with a server-side scripting language like ASP or PHP - are you able tu use either of those?  It doesn't need to use XML, as it's quite simple to do it without.
0
 
LVL 8

Author Comment

by:Cerf
Comment Utility
Well, sorry I didn't mention it was for a CD, so server-side languages won't do :(
Thanks anyway!
0
 
LVL 13

Expert Comment

by:FLAASHER
Comment Utility
and also you must put the data in the XML file.but u say "My problem is that I don't know how many images are in the folder and those are changing constantly " !!!!
0
 
LVL 8

Author Comment

by:Cerf
Comment Utility
Did that sound too bad?
0
 
LVL 13

Expert Comment

by:FLAASHER
Comment Utility
i mean u dont know the number of images !!!!!
how can u will put the data in XML . u dont know the data :)
0
 
LVL 10

Expert Comment

by:muso120999
Comment Utility
>  Well, sorry I didn't mention it was for a CD

In that case, then surely the images are constant for that distribution?   If the images change dynamically then you can only use a server-side language, or maybe something like a launcher for the app which creates a file before you start (if you want it to autorun this might be an okay way to do it).  And I would still argue that although XML may look nice and is more portable, it isn't at all essential for the task - it makes it unnesessarily complicated to create the file list.
0
 
LVL 8

Author Comment

by:Cerf
Comment Utility
Dear Friends,
Flaasher:
"i mean u dont know the number of images !!!!!
how can u will put the data in XML . u dont know the data :)"
That's why I'm asking this Q. ;-) LOL

Muso:
"surely the images are constant for that distribution"
Yes, so I guess the launcher could be a workaround. But still, don't know how to implement the XML file. Generating an XML file would not be a problem after I know how. But now my problem is that I need to start off and I'm stuck at the very beggining.

--
So, I'm still open to try new Ideas (for me), the only thing I ask for is that they are efficient.

Thank you all.

Cërf.
0
 
LVL 8

Author Comment

by:Cerf
Comment Utility
I'm still offering additional 500p for the XML explanation, since it is not polite to ask two Questions in one. And XML seems to me very difficult. Maybe it's not, but I don't know it.
0
 
LVL 8

Author Comment

by:Cerf
Comment Utility
Can anyone tell me at least how to start?
Please
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 13

Expert Comment

by:FLAASHER
Comment Utility
dear Cerf
i can make the XML 4 u
but its so long to develop it
tell me exactly  what you want  !!!
0
 
LVL 16

Accepted Solution

by:
kiranvj earned 500 total points
Comment Utility
hi...

chk this link , dynamic slide show using xml

http://www.macromedia.com/support/flash/applications/jpeg_slideshow_xml/jpeg_slideshow_xml07.html

and if u are using Flash MX(dont know whether it is in MX 2004) goto Help->Samples
in the samples page click "Feature highlight: Load images"  in this sample images are loaded dynamically from a Folder.

hope these helps

kiranvj
0
 
LVL 13

Expert Comment

by:FLAASHER
Comment Utility
ok
i have mx 2004
and i cant c u sample
plz give me a url to any other sample
0
 
LVL 16

Expert Comment

by:kiranvj
Comment Utility
hi..

did u chk the url in my last post, its a good one

kiranvj
0
 
LVL 13

Expert Comment

by:FLAASHER
Comment Utility
ys
but i cant find a final SWF
plz give me a final swf not a tutorial
0
 
LVL 8

Author Comment

by:Cerf
Comment Utility
kiranvj,
I started to read something about XML at macromedia.

I will be back soon...

Cërf.
0
 
LVL 16

Expert Comment

by:kiranvj
Comment Utility

ok no probs.. in macromedia there are lot of things about XML

kiranvj
0
 
LVL 8

Author Comment

by:Cerf
Comment Utility
Hey friends,
I found something to read about XML but is quite long. I need to get going with the work I'm doing, so any ideas XML based or not are welcome.

Thanks a lot

Cërf
0
 
LVL 13

Expert Comment

by:FLAASHER
Comment Utility
ohhhhhhhhhhhhhhh cerf :)
give me the idea u want to do and i  will do it 4 u
0
 
LVL 8

Author Comment

by:Cerf
Comment Utility
Thank you all,
For the help.

Cërf.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

762 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

5 Experts available now in Live!

Get 1:1 Help Now