Dynamic Slideshow
I'm trying to make a template for slideshow presentations, where the text and images are dynamically loaded each time the forward button is pressed until such time when the image is undefined (the end of presentation) were the counter (amount) is reset to 1.
Quote:
amount=1; loadSlideImage = function(){ _root.detailedText=""; slide="";
//Concatanation of filenames slide="slide"+amount+".jpg"; details="slide"+amount+".txt";
//Loading image and description loadMovie(slide, "Importer"); loadVariablesNum(details, detailedText); } //Initial Image Load loadSlideImage();
//Forward button actions but_Forward.onPress= function(){ trace(amount); amount++; loadSlideImage();
//Checks to see if image does exist and if it doesn't loads another if(slide==NaN) { amount=1; } } stop();
FlashKit > Flash Help > Flash ActionScript
Posted on: 01-17-2003, 10:35 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Dynamic Slideshow
I'm creating a multimedia "slideshow" for a Conference and was wondering if there was any way that I could get Flash 5 to call for the images from an images folder instead of having to place the images in the flash file.
Any help would be greatly appreciated...
Thanks in advance,
Kosmo
Dynamic Slideshow
I am trying to create a slideshow in which images stay on screen for 7/8 seconds and then fade to the next image...and so on. Ideally, this slideshow would be contained within a movie clip and Images could be added / removed fairly easily.
I also want each image to have an invisible button over it - is this possible.
If anyone could help, I'd be really grateful.
Thanks
Dynamic Slideshow
I'm looking for some assistance in building a dynamic slideshow published for Flash Player 5. I'd like to use the file as a template and be able to switch the photos out to make multiple slideshows dynamically. Being that I have to publish to Flash 5 I can't use the loadmovie .jpg feature from 6. So, I'm trying to decide if it would be best to make each .jpg into a seperate .swf or to include them all in one file. I'd also like to dynamically build a button for each image so the user can jump around the photos in the slideshow. Here is a great example of what I'd like to do:
http://www.washingtonpost.com/wp-srv...03-06-06-trash
A link to an .fla or tutorial would be great if anyone could help me out. Otherwise any help is greatly appreciated, thanks!
Dynamic Slideshow
hello,
this may have been asked at one point. BUT
i'm futzing with the sample fla "load_images.fla" that comes with flash mx. works great, but can i have images load "centered" in the movie clip instead of the top left corner? I tried using free transform to move the center point but to no avail.
also if anyone is familiar with how to automate this example fla so that it automatically goes through the images and has a stop/start function you'd make my day
action script from the first frame of said fla
// initialize variables and properties
square._alpha = 0;
whichPic = 1;
// initiate change to new image when buttons are clicked
next.onPress = function() {
if (whichPic<50 && !fadeIn && !fadeOut) {
fadeOut = true;
whichpic++;
input = whichPic;
}
};
back.onPress = function() {
if (whichPic>1 && !fadeIn && !fadeOut) {
fadeOut = true;
whichpic--;
input = whichPic;
}
};
_root.onEnterFrame = function() {
// when a new Photo is selected, fade out, load new image, and fade in
if (square._alpha>10 && fadeOut) {
square._alpha -= 10;
}
if (square._alpha<10) {
loadMovie("images/IMG_"+whichPic+".jpg", "square");
fadeOut = false;
fadeIn = true;
}
if (square._alpha<100 && fadeIn && !fadeOut) {
square._alpha += 10;
} else {
fadeIn = false;
}
// initiate change to new image when Enter key is pressed
if (Key.isDown(Key.ENTER)) {
fadeOut = true;
whichpic = input;
}
};
// if a number is entered in the input field but Enter is not pressed, change
// back to current Photo number when clicking anywhere else
inputField.onKillFocus = function() {
input = whichPic;
};
Dynamic Slideshow :)
I have a dynamic slideshow (portfolio.swf) that loads external jpg file fine.
I load the portfolio.swf from main.swf and the image viewer does not work, the first image display but it doesn't slide in like it should and I can't navigate to the other images.
I followed the excellent tutorial at the following address: http://www.layoutgalaxy.com/html/htm...er43-page1.htm
I have tried changing the code in the slideshow swf from _root to this and also to _parent
Can anyone guide me on where I might be going wrong, I hope I have explained myself well enough and thanks for any help
p.s. THE SITE CONTAINS THE .FLA FILE SO YOU CAN QUICKLY TEST.
DYnamic Slideshow
I have been trying to get the answer to this everywhere but no one has been able to help me. If you go to http://www.mlb.com, the big flash area (top left below nav bar) with like 6 news stories there is what I would like to have on my site. I am not good at flash, just because I am new to it mostly. BUt I I do follow tutorials and directions well. Can somebody point me to something that would help me do this? I am using ASP and Access as my database but would be willing to switch over to php/MySQL or something of that nature if I needed to.
If you look at any of the baseball team individual sites, there is a similar news slideshow except, there are numbers to click on instead of the images at the bottom.
Can ANYONE help me PLEEEEEEEEEEEEEEASE!!
Much appreciated.
Dynamic Slideshow
i have a slideshow file that i've been working with for about a week. basically, php will pull a list of images from the database and flash calls an external file with the number of images to show, and the location of each one.
it then loops through the movie, with a different image fading in and out each time.
i got it working perfectly from the flash preview area, but when i put it up online, the pictures do not show up, it's only blank. can anyone help me out?
if you need more details, please let me know.
Dynamic Slideshow
Hi,
I need to make dynamic Slideshow in flash like this
http://www.kodakgallery.com/I.jsp?c=...v&x=0&y=v5c1o8
Image will come from database.
Play button should be there
Next Forword button
and thumb nail of the image should be there.
I have tried to make this but can't. Could anyone tell me how to make this or tell the link to the tutorial or fla.
Thanks Advance!
Dynamic Slideshow
i've been searching through the forums trying to find help on a slideshow i'm working on. i've gotten close, but am still having trouble executing it. basically, i would like the pictures in the library to load into the movie. once loaded they should fade in, hold for a few seconds, then fade out and proceed to the next picture. also, now there's a problem where when the picture loads it is centered on the stage as opposed to being lined up within a frame on the stage.
[F8] Dynamic Slideshow
Hell once again fellow flashers,
I've seen a lot of tutorials for this but none of them is what i'm looking for.
im looking for an automatic dynamic slideshow that i can load as many images as i want, allow me to set the time before switching to another image, and there only 3 buttons play, back, and forward. I would also like the slideshow to start up by itself. How would I go along doing this?
[F8] Dynamic Slideshow
Hello,
i want to make a dynamic slideshow similar to the one on aol.com. It just has pause rewind and forward. I'm also looking for it to start automatically. I know I have to have a xml file for it but I still need some help. I'm also looking for it to displays all the photos in the directory no matter the number. Does anyone have a tutorial to this?
Dynamic Slideshow
im looking to creake a slideshow - no buttons - which fade into each other (called via XML)
i have tried a few tuorials - but they see mto all be set to F8 and im stuck on MX.
only loading 4 images - names image01.jpg - image04.jpg
any help/tutorials/links are appreciated
txsRR
(MX) Dynamic Slideshow HELP?
im looking to creake a slideshow - no buttons - which fade into each other (called via XML)
i have tried a few tuorials - but they see mto all be set to F8 and im stuck on MX.
only loading 4 images - names image01.jpg - image04.jpg
any help/tutorials/links are appreciated
txsRR
Dynamic Value In Slideshow
Hi,
I have the following code (one movie, two scenes)
SCENE 1:
on (release) {
gotoAndPlay("Scene 2", 1);
chosen = "1";
}
SCENE 2:
square._alpha=0;
alpha=0
mypic=1; // mypic - variable used to count the images in the show
_root.onEnterFrame = function()
{
if (square._alpha <10)
{
loadMovie("images/image"+mypic+".jpg", "square")fadeOut=false;
fadeIn=true;
}
if (square._alpha > 10 && fadeOut)
{
square._alpha -= 10;
}
if (square._alpha < 100 && fadeIn && !fadeOut) {
square._alpha += 10;
}
else
{
fadeIn=false;
}
}
next.onPress = function()
{
if (mypic < 17 && !fadeIn && !fadeOut)
{
fadeOut=true;
mypic++;
}
if (mypic >= 17)
{
mypic=1;
}
}
back.onPress = function()
{
if (mypic > 1 && !fadeIn && !fadeOut)
{
fadeOut = true;
mypic--;
}
if (mypic == 1 && !fadeIn && !fadeOut)
{
fadeOut=true;
mypic=16;
}
}
I want the user to choose a particular image thumbnail in SCENE 1 passing a variable into the hard coded value for 'mypic' in SCENE 2. Therefore the slideshow will play from desired starting point rather than the beginning.
Am I approaching this in the correct way? Would two movies and LocalConnection be better? I thought retrieving a value from one scene and assigning it to another variable in another scene would be easy?
Many thanks in advance on this!
Dynamic Slideshow
I need some good tutorials in loading and manipulation images into flash dynamicall..please show me if theres any good tutes on this
Thanks
Dynamic Slideshow
Hi!
I would like to create a slideshow in flash that will automaticly load images from specified folder. Is it possible that if I add more photos into the folder, I don't have to change the source code?
So what I wont is that the flash movie would automaticly recognize *.jpg images in folder.
Can anyone help me and tell me how to do it.
Thanx!
Blaz
Dynamic Slideshow
I have been trying to get the answer to this everywhere but no one has been able to help me. If you go to http://www.mlb.com, the big flash area (top left below nav bar) with like 6 news stories there is what I would like to have on my site. I am not good at flash, just because I am new to it mostly. BUt I I do follow tutorials and directions well. Can somebody point me to something that would help me do this? I am using ASP and Access as my database but would be willing to switch over to php/MySQL or something of that nature if I needed to.
If you look at any of the baseball team individual sites, there is a similar news slideshow except, there are numbers to click on instead of the images at the bottom.
Can ANYONE help me PLEEEEEEEEEEEEEEASE!!
Much appreciated.
Dynamic Slideshow
Hi!!
I´ve learned how to do a dynamic slidshow by watching: http://www.learnflash.com/wp/2007/basic-animated-slideshow/ and http://www.learnflash.com/wp/2007/buttons-for-dynamic-slideshows/ but there are still one thing I miss in my slideshow and that´s a "caption" do any one know how to do a caption and what to write in the Actionscript?
PLEASE I NEED HELP!! Micke
Help With Dynamic Slideshow
I am a Flash novice but I've been trying my hand at building a dynamic slideshow for a friend's portfolio site. You can preview the porfolio page here.
The arrows (prev/next) advance the images pulling from a directory using actionscript. I have attached the actionscript. It works quite nicely, but my question relates to the small thumbnails along the right side of the page.
My question:
When a visitor clicks on one of the thumbnails, how do I get the thumbnails to load the corresponding image into the movie clip (or stage) on the left? Currently, all of the thumbnails are linked to the images using GET URL.
I haven't loaded all of the thumbnails yet as I wanted to see if anyone had any ideas before I start building the rest of the page.
Thanks!
Jason
Attach Code
// Code written by sbeener (suprabeener)
//
// i wrote this code, but you can use and abuse it however you like.
// the methods are defined in the order which they occur to make it
// easier to understand.
//
this.pathToPics = "pics/";
// fill this array with your pics
this.pArray = ["IMG_5643small.jpg", "IMG_5645small.jpg", "IMG_5660small.jpg", "IMG_5680small.jpg", "IMG_5722small.jpg", "IMG_5728small.jpg", "IMG_6259small.jpg", "IMG_6264small.jpg", "IMG_6269small.jpg", "IMG_6272small.jpg", "IMG_6273small.jpg", "IMG_6274small.jpg", "IMG_6386small.jpg", "IMG_6749small.jpg", "IMG_6790small.jpg", "IMG_6834small.jpg", "IMG_6838small.jpg", "IMG_6850small.jpg", "IMG_6873small.jpg", "IMG_6996small.jpg", "IMG_7306small.jpg", "IMG_7339small.jpg", "IMG_7460small.jpg", "IMG_7516small.jpg", "IMG_7522small.jpg", "IMG_7525small.jpg", "IMG_7547small.jpg", "IMG_7574small.jpg", "IMG_7575small.jpg"];
this.fadeSpeed = 20;
this.pIndex = 0;
// MovieClip methods ----------------------------------
// d=direction; should 1 or -1 but can be any number
// loads an image automatically when you run animation
loadMovie(this.pathToPics+this.pArray[0], _root.photo);
MovieClip.prototype.changePhoto = function(d) {
// make sure pIndex falls within pArray.length
this.pIndex = (this.pIndex+d)%this.pArray.length;
if (this.pIndex<0) {
this.pIndex += this.pArray.length;
}
this.onEnterFrame = fadeOut;
};
MovieClip.prototype.fadeOut = function() {
if (this.photo._alpha>this.fadeSpeed) {
this.photo._alpha -= this.fadeSpeed;
} else {
this.loadPhoto();
}
};
MovieClip.prototype.loadPhoto = function() {
// specify the movieclip to load images into
var p = _root.photo;
// ------------------------------------------
p._alpha = 0;
p.loadMovie(this.pathToPics+this.pArray[this.pIndex]);
this.onEnterFrame = loadMeter;
};
MovieClip.prototype.loadMeter = function() {
var i, l, t;
l = this.photo.getBytesLoaded();
t = this.photo.getBytesTotal();
if (t>0 && t == l) {
this.onEnterFrame = fadeIn;
} else {
trace(l/t);
}
};
MovieClip.prototype.fadeIn = function() {
if (this.photo._alpha<100-this.fadeSpeed) {
this.photo._alpha += this.fadeSpeed;
} else {
this.photo._alpha = 100;
this.onEnterFrame = null;
}
};
// Actions -----------------------------------------
// these aren't necessary, just an example implementation
this.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
this.changePhoto(-1);
} else if (Key.getCode() == Key.RIGHT) {
this.changePhoto(1);
}
};
Key.addListener(this);
Dynamic Slideshow
I am new to flash I will tell you that up front. What I am trying to do is make a dynamically created slideshow. I have a database with the filenames located in a field. Using PHP I am able to query the DB and get the filenames. Now comes the part where I am having trouble. I will try to explain this as best as I can.
I am using Flash MX.
On my stage I have a movie clip with the name slideshow. The following code are the Actions for slideshow on the stage.
Code:
onClipEvent (load) {
stop();
loadVariables("slideshow.php", this);
SlideNum = 0;
play();
}
Okay from what I understand this will allow me to get variables from slideshow.php. In the movie clip slideshow I have another movie clip with the name animatedSlide. The following is the actionscript for the instace of animator (Instance of animatedSlide). I would like to use the variable or array name filename and call each instance of the array using SlideNum which is basically a counter.
Code:
animator.createEmptyMovieClip("slide", 0);
loadMovie("pictures/"+filename[SlideNum], animator.slide);
if (SlideNum == maxImages-1) {
SlideNum = 0;
} else {
SlideNum++;
}
The slideshow.php is as follows minus the correct structure of how to get my array of filenames to flash to use.
Code:
include("db.php");// CONNECT TO DB
db_connect($db_hostname, $db_username, $db_password,$db_database);
$select = mysql_query("SELECT * FROM pictures WHERE pic_active='1'");
$max = mysql_num_rows($select);
$i = 0;
while($row = mysql_fetch_array($select))
{
$filename[$i] = $row['pic_filename'];
$i++;
}
## SET FLASH VARIABLES UP HERE ##
echo "maxImages=$max&cap=capped";
If anybody can please help I would be more than happy to show screenshots of my flash file or allow anybody who thinks they can help I will give you the link to test it out.
TIA,
Mitt
Dynamic Slideshow
HI
I need to do a slideshow where user can select the pictures that will be added.i'll be using a text file for the user to do the selecting.
can anyone help me on a basic image uploading code according to a text file. there's always 8 images in the slideshow.if anyone has any code or tute that i can study please..
Thanks
Nameez
Dynamic Slideshow
I am new to flash I will tell you that up front. What I am trying to do is make a dynamically created slideshow. I have a database with the filenames located in a field. Using PHP I am able to query the DB and get the filenames. Now comes the part where I am having trouble. I will try to explain this as best as I can.
I am using Flash MX.
On my stage I have a movie clip with the name slideshow. The following code are the Actions for slideshow on the stage.
Code:
onClipEvent (load) {
stop();
loadVariables("slideshow.php", this);
SlideNum = 0;
play();
}
Okay from what I understand this will allow me to get variables from slideshow.php. In the movie clip slideshow I have another movie clip with the name animatedSlide. The following is the actionscript for the instace of animator (Instance of animatedSlide). I would like to use the variable or array name filename and call each instance of the array using SlideNum which is basically a counter.
Code:
animator.createEmptyMovieClip("slide", 0);
loadMovie("pictures/"+filename[SlideNum], animator.slide);
if (SlideNum == maxImages-1) {
SlideNum = 0;
} else {
SlideNum++;
}
The slideshow.php is as follows minus the correct structure of how to get my array of filenames to flash to use.
Code:
include("db.php");// CONNECT TO DB
db_connect($db_hostname, $db_username, $db_password,$db_database);
$select = mysql_query("SELECT * FROM pictures WHERE pic_active='1'");
$max = mysql_num_rows($select);
$i = 0;
while($row = mysql_fetch_array($select))
{
$filename[$i] = $row['pic_filename'];
$i++;
}
## SET FLASH VARIABLES UP HERE ##
echo "maxImages=$max&cap=capped";
If anybody can please help I would be more than happy to show screenshots of my flash file or allow anybody who thinks they can help I will give you the link to test it out.
TIA,
Mitt
Dynamic Slideshow
Wondering if anybody out there knows of any good tutorials or components for slideshows which dynamically load jpg's. Thanks in advance!
_
Dynamic Slideshow
Hi Everybody,
I need to make dynamic Slideshow in flash like this
http://www.kodakgallery.com/I.jsp?c...wv&x=0&y=v5c1o8
Image will come from database.
Play button should be there
Next, back button
and thumbnail of the image should be there.
I have tried to make this but can't . Could anyone tell me how to make this or tell the link to the tutorial or fla.
Thanks in Advance!
Dynamic Slideshow Hassles
Hi there
I have 34 jpegs that i want to use in a slideshow to loop continuously until not wanted. I want to load them in to an array and using a for loop slide one on, pause for 5 seconds then slide it off and have the next one coming on.
My problem is this: I believe I am loading them into the array correctly and when I trace an array element the correct photo name appears but I can't get it to appear on the stage. At the moment I'm just trying to get the photo to show on screen.Here is my code, I'm using MX:
numPhotos=3;
photoMCList = new Array();
function makePhotoMCs (numPhotos) {
for (var i = 0; i < numPhotos; i++) {
// Put the clip on stage
this.attachMovie("photo", "photo" + i, i);
// Store a reference to this photoMC
var thisPhoto = this["photo" + i];
//give the instance a name
thisPhoto._name = "photo"+i;
// Add this photo to the array
thisPhoto.loadMovie("photo"+i+".jpg");
_root.photoMCList[i] = thisPhoto;
}
}
makePhotosMCs(numPhotos);
//blankMC has been manually created and is sitting on the stage
blankMC=photoMCList[0];
//these 3 traces give correct results
trace(blankMC._name);
trace(photoMCList[0]);
trace(photoMCList[0]._name);
stop();
Many thanks
Simple Dynamic Slideshow HELP
I'd need to create a simple but dynamic slideshow on my website. I need it to be able to easily have images interchanged at different times. For instance: when the main page is loaded a set of 9 images should loop in the mc. Then after a menu button had been pressed and a new menu is activated I need to change the images. BTW I have basically no scripting experience and I'm on a deadline and it's crunchtime. Thanks in advance.
--Matt
Dynamic Flash Slideshow
Hi -
I found an example of a dynamic flash slideshow here
and was wondering:
1. Is there a tutorial on something like this - where the screensize conforms to the picture size.
2. can i make this a movie, and then have it load on top of the main page movie?
Apologize in advance for not using all proper terms - and any advice or help is appreciated.
Thanks!
Creating A Dynamic Slideshow ?
Hi I know how to load jpgs dynamically, All I want is to use loaded jpgs as a photo slideshow, using only two buttons (Next and Previous) So what code goes for those buttons ?
[F8] Dynamic Slideshow Problem
Hey All...thanks for helping me out!!
I posted this in the ActionScipt forum, but no luck so far.
I am trying to create a simple photo slide show dynamically using Flash Remoting with a ColdFusion Component.
Basically, I am reading a folder with 5 images in it and passing it to an .swf. I am getting an empty movie. The CFC component is called Photo_Gallery.cfc and it is located in a folder called Photo_Gallery. My images are located in a folder called Gallery1 in the Photo_Gallery folder...and I am reading them by <cfdirectory... The function in the .cfc is called slideProvider.
I will attach the actionscript I have on the first frame of the movie (It is the only thing I have in the movie):
import mx.remoting.Service;
var CFCService:Service = new Service(
"http://66.193.188.42/flashservices/gateway",
null,
"Photo_Gallery.Photo_Gallery",
null,
null);
CFCService.slideProvider();
function slideProvider_Result(result) {
var imgURL = "gallery1/"+result.items[0].name;
imageHolder.loadMovie(imgURL);
thisImage = setInterval(showImage, 7000, i=1);
function showImage() {
imageHolder.loadMovie("gallery1/"+result.items[i].name);
if (i<result.items.length-1) {
i++;
}
else {
i = 0;
}
}
}
// create the MC to hold the images
_root.createEmptyMovieClip("imageHolder", 1);
// offcenter it to be special
imageHolder._x = imageHolder._y=20;
The IP address is the IP of my server where all of the images and the .swf is located. Does any know what I need to do to make this work...am I missing something in the actionscript???
I really appreciate your help. Thanks in advance.
[F8] Dynamic Automatic Slideshow
Dear Flashkitters
I have a problem that has left me scratching my head. I'd like to set up an automatic slideshow that loads images from a folder on a server.
I'd like to load one image and display it by fading it in. When this one has loaded I'd like to load the next picture in the background and then when it has finished loading (or after 5 seconds - whichever is the longest) I'd like the first one to fade out to the new one. Then another image should load behind the second one, and so on. When it gets to the end of the slideshow I need it to loop back to the beginning, so the images should (I guess) be stored in memory.
I have a folder of 40 images (sometimes more), and this technique will prevent a large initial download time.
Thanks in advance to anyone that can help.
Dynamic Flash Slideshow
Hello to all
I tried following a tutorial on here about the dynamic slideshow, but (the author did 3 editions.)I want to do the same but in a variation. like the one on http://www.aol.com for the news and if possible I want to just be able to ad or remove as many images as I want without editing the swf. I know xml has to be involved. How would I go along doing that?
Dynamic Photo Slideshow With XML - Please Help
I need a dynamic slideshow with a basic transition like fade in/ fade out which should use an XML to call the 4-5 images in a folder.
Please post tutorial url's or sample slideshows and help.
Thanks in advance.
How To Change This Slideshow Into A Dynamic One?
I made this slideshow for a website, now the client wants it to be dynamic - he wants to upload photos and change the xml file, the slideshow should reflect the change and additions made to the xml file. I have no clue on how to change this into a dynamic slideshow, please help me on this.
Here is the link to the fla - Download FLA - 6Meg
Thanks a million in advance.
A Dynamic Movieclip Slideshow?
I am looking for a way to create a dynamic drag and drop slideshow builder.
I am proficient in Flash but not much of a programmer so heavy actionscript is a bit out of my league although I am understanding enough to modify.
Scenario:
The SWF will contain six placeholders (a timeline) and six drag and drop images representing the separate movie clips.
You would drag each image onto a placeholder of your choosing in whatever order you want. Then proceed to hit a play button.
This would trigger a slideshow to play each movie clip in the sequence specified. Now, depending on the order you put them in, a specific
audio file would be played over each one with corresponding text being displayed as well. Each of the six images could have 6 different sound clips, the one that plays is dependent on the place holder it is placed on.
So, you would have 36 movies to call to in the whole thing. 6 possibilities for each placeholder.
Anyone point me in the right direction? Is this crazy difficult? Are my eyes bigger than my stomach!
A Dynamic Movieclip Slideshow?
I am looking for a way to create a dynamic drag and drop slideshow builder.
I am proficient in Flash but not much of a programmer so heavy actionscript is a bit out of my league although I am understanding enough to modify.
Scenario:
The SWF will contain six placeholders (a timeline) and six drag and drop images representing the separate movie clips.
You would drag each image onto a placeholder of your choosing in whatever order you want. Then proceed to hit a play button.
This would trigger a slideshow to play each movie clip in the sequence specified. Now, depending on the order you put them in, a specific
audio file would be played over each one with corresponding text being displayed as well. Each of the six images could have 6 different sound clips, the one that plays is dependent on the place holder it is placed on.
So, you would have 36 movies to call to in the whole thing. 6 possibilities for each placeholder.
Anyone point me in the right direction? Is this crazy difficult? Are my eyes bigger than my stomach!
Help In Dynamic Flash Slideshow
Hi Everyone,
I need help in developing a dynamic flash slideshow like the site http://jjimoveis.net/ where the images and its name and price is loading from the database..
Can anyone help me in this or tell me a tutorial where such an example is mentioned..
Thanks
Dynamic Slideshow Alpha Help
Hello,
I am in need of a little help to put me towards the right direction - I thank anyone that can help me!
What Im trying to do is create a Dynamic slideshow. So far I've told flash to create a blank MC image holder and pull out the next image from a folder. Once that blank MC has an image in it I create a new one. I have also started with the alpha but cant figure that out
So say I had 4 images I would have 4 MC's containing the images inside another MC. Here is the code if I've confused anyone. In order to play around with it all you have to do is create a movie save it with the image dir and put images inside of it.
PHP Code:
function loadImages(blankMC, amount:Number):Void {
blankMC.onLoadInit = function(mcTarget:MovieClip) {
};
for (var i = 0; i<amount; i++) {
var mc:MovieClip = blankMC.createEmptyMovieClip("img_"+i, blankMC.getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(blankMC);
var sURL:String = "images/0"+i+".jpg";
mcLoader.loadClip(sURL, blankMC["img_"+i]);
trace("this is varMC "+mc);
}
}
this.createEmptyMovieClip("blank", this.getNextHighestDepth());
blank._x = 10;
blank._y = 10;
loadImages(blank, 11);
function fade(MC:MovieClip) {
onEnterFrame = function (load) {
MC._alpha = random(100);
MC.a_count = MC._alpha;
MC.targetA = random(100);
onEnterFrame = function () {
ca = _alpha;
a_diff = MC._alpha-this.targetA;
MC.a_count -= a_diff*.1;
MC._alpha = this.a_count;
if (Math.abs(a_diff)<1) {
MC.targetA = random(100);
MC.a_count = MC._alpha;
}
};
};
}
fade(blank.img_00)
fade(blank.img_01)
fade(blank.img_02)
fade(blank.img_03)
fade(blank.img_04)
fade(blank.img_05)
fade(blank.img_06)
fade(blank.img_07)
fade(blank.img_08)
fade(blank.img_09)
fade(blank.img_10)
Dynamic Variables (Slideshow)
I am making a slideshow that utilizes variables from an ASP page... The ASP page tells flash how many slides there are and then lists the slide images. The images are given variable names ie Slide1, Slide 2, and so on. In flash I am gathing this data using load vars.
Here is what I want to do.
1. Get the number of Slides
2. Get the slide image names
3. Set a Loader Componet x number of times with my Slide Variables
I already have the timeline setup to pause for 4 seconds and play a custom animation into the next Loader Componet -
I just need to be able to make flash know... you will show x number of slides before going back to slide 1 and on this frame you should show SlideX
preferably using a counter such as "number" that will incriment on each slide and be reset on the first slide.
How Do You Create A Dynamic Slideshow?
How do you create a dynamic slideshow using flash cs3? Let me explain: We
have "Customer" definable html slideshows that a user can manually click
through. The customer can go to a maintenance area and Add, remove or
hcange any photo in any category and also change order in which it is
viewed. Very simple code using ASP.NET. Now how do i get Flash to do the
same. The above solution is completed by using a database list. Does Flash
read Databases, if so problem solved, but where is the script for it. If
not, what is another solution so my customer can edit the list of photos via
the internet using one of our ASP.NET modules.
Thank you in advnace for your help. If have looked everywhere for solutions
on this and have only found during SWF creation solutions not post SWF
creation.
Dynamic Scrolling Slideshow
Hi there I am creating a shop website
I am using DWCS3 and PHPMYSQL
I can already create all the product pages that can be dynamically populated from a form...... I can add, edit and delete products from my admin section of my site .... using a form .... all easy using a database to store all the picture and product details
What I would like to be able to do is have the pictures that I upload to be automatically placed in a scrolling slideshow
So that when you add a new product ...... when you click on the product detail page you see all the still pictures of the product ( which I can already do) .......but have an animated scrolling slideshow of the pictures as well
Is there a program that can achieve this? Without knowing a lot of flash?
Or is it possible and necessary to create the whole system using flash?
Any help would be great
Have a nice day
Dynamic Slideshow Actionscript
Okay. I'm working on a slide show in Flash 8, and what I've been trying to do is create a couple of functions to dynamically load a jpeg based on a variable that gets updated by the function (for example, file 1001, file 1002, etc). I wanted to keep the number of movie clips down to two and use FuseKit to fade one in and then the other out. So what I was envisioning went something like this.
mc1._alpha : 0;
mc1.loadMoive("assets/"slideNubmer".jpg");
mc1.alphaTo (100, 3);
slide++;
Now, further down the timeline something like this
mc2._alpha : 0;
mc2.loadMoive("assets/"slideNubmer".jpg");
mc1.alphaTo(0, 3);
mc2.alphaTo(100, 3);
The problem I'm running into is that the jpegs take time to load and that I can't tween the moviecliip until the whole image is loaded. I'm sure there's some sort of event handler logic that can be implemented to accomplish this, but I can't figure it out. The reason I'm going to all this trouble is that I'd like to get the slide show set up so that I can change the order of the slides just by changing their file name.
Also, I'm not the most gifted coder, so if anybody has a better way to go about doing this, I'd be glad to hear it.
--gw
Looping A Dynamic Slideshow
I'm working on a flash slideshow with transitions that I need to loop smoothly. I have four movie clips, one on each layer and each one loads and fades on top of the previous one. When it loops back around to the beginning, I don't get a a smooth transition. I get white space for a few seconds. On the last frame I have gotoAndPlay(1); and on frame 1 I have my loadVariablesNum statement.
Any tips on how to loop this seamlessly?
Here's the url - the images may be blurry and are only for testing:
http://kentobx.obinet.net/home/home.html
XML Slideshow With Dynamic Mask
I am wanting to create a dynamic mask for the transition in the Kirupa XML Slideshow tutorial. Instead of having a fade in, i would like to have an effect like the one here for the image transition. Im new to action scripting so I dont know where in the tutorial code I would make modifications or how to go about accomplishing this.
Any help anyone can provide is appreciated.
Dynamic Advertising Slideshow
Hi,
I really need to develop or buy something like the main slideshow that steps through an xml list, exactly like the one on the middle left hand side of this site.
http://buenavistagames.go.com/
Does anyone have any for sale, or tutorials or perhaps even for free!
Many thanks
Dynamic Backgrounds In Slideshow
I created a XML slideshow based on this tutorial...
http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm
My slideshow is working fine, but I am trying to figure out how to create a how to create a background that will fade in with the images and change size depending on the image. my images are all 450px high so only the width will need to be based on xml content. i think that i need to draw an actionscript rectangle a layer below the slideshow images and call for xml data for the points of the right side. my question is how to have the rectangle fade in with the image? and is there an easy way to do this that i might not be aware of?
Dynamic Slideshow Using Flashvars
I need to come up with a slideshow that gets the image urls from a flashvar (param,embed tags). Can anyone suggest the best way to do this?
any idea, plz provide the Code...or any tutorail link
Dynamic Slideshow Tutorial
I am new to flash and I want to make a dynamic slideshow.
Can someone link a good tutorial?
here is an example of what I want to do...
http://www.corinnemartin.com/
|