TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
patrick
NA
397
0
dynamic image loading
Oct 7 2009 11:46 AM
I'm getting started on converting an older php page to a nice silverlight one. The page loads any number of images from a directory on the server and displays these in a slideshow. The page loads the images dynamically so the company can alter the images without coding knowlege. How can I set this up in silverlight?
$fileArray=(scandir("mainmenu"));
$imageArray=array();
foreach ($fileArray as $fileName){
$fileN=basename($fileName);
if (strlen(stristr($fileN, ".gif"))>0){
array_push($imageArray, $fileN);
}
}
foreach($imageArray as $imageName){
?>ImageArray.push("mainmenu/ $imageName; ?>");
?>
after loading, it uses a javascript counter and a timer to change the src property of three image tags. I need to do the same thing, but load the images into my silverlight application for better visual effects.
Reply
Answers (
2
)
radio button and datetime picker in silverlight 3 with c#
When remoting, how can the server application reference objects created by remote applications?