ActionScript 3.0 :: Background Xml Image Slideshow?
May 27, 2010Im new to as3 and am looking for a similar result toI've had a look around the web but cant find anything (maybeim searching for the wrong thing).
View 1 RepliesIm new to as3 and am looking for a similar result toI've had a look around the web but cant find anything (maybeim searching for the wrong thing).
View 1 Replies- From my XML file an array is created with several background images
- The first image gets randomly loaded into a BitmapData and is attached to the first movieclip for smoothing. After that the movieclip gets proportionally scaled to fit the Stage.
- After an interval (set in the XML) the second image gets randomly loaded into a BitmapData and is attached to the second movieclip with a nice fade-in effect. After that the movieclip gets proportionally scaled to fit the Stage and the movieclips swap their depths.
- The third image gets loaded into a BitmapData and is attached to the first movieclip again.
etc etc etc.
[Code]...
I have created a pie preloader(preloader.zip) which is working fine. Same preloader I am trying to incorporate in a xml based slideshow(slideshow.zip) to show image loading process but some how I got stuck. I am new to flash. Suggestions are welcome.
1. How to solve the problem of preloader2. Is it possible to integrate everything in a movie clip (including AS). I mean no AS on main time line but inside the movie clip. It would be much easier then to to create multiple slideshows by duplicating mc and changing the xml file.
I am making a website in Flash CS4 and wanted to do a background of images that fade in and out from each other on loop and that would not get interrupted by clicking a button. Here's an example of what I am trying to explain:n this website you can click any button (except the Projects button), bringing up that information in a text box and the images continue to loop in the background without looking like it jumps to a different scene
View 2 RepliesI can follow to create a website's background slideshow using CS3?.
View 3 RepliesI want to embed some video into my HTML page. As background I want to use big picture. And above it I want to insert loop video with (i.e.) walking man.So, can I embed video (without flash and any player controls) in page?Can I decode video with transparent background? Is there any codecs which support transparent background (alpha-channel)?
View 1 Repliesive made an xml slideshow on my application however when i try and move to another screen the slideshow keeps going in the background this is the webite of the tutorial i used:
[Code]...
I have just started working in flash and I am having some trouble with a Flash XML Slideshow that I had purchased from "Flash Den". My problem is that I would like to add an element in the XML file to change the background color everytime the slideshow changes to a new slide. I have downloaded the xml gallery from this forum and it works great but on my home page, I would like the same function but only without the thumbnails because my client would like the slideshow to be on the home page but without any thumbnails. She would also like the background color to change as the slideshow changes.
View 8 RepliesI attempting to make a slideshow like the one on this page: [URL] But i was wondering if it is possible to change the code so that if you click on the main image, another image could come up next to it? (I'm making a portfolio site, and i want people to click on one of the main images to then see a detail image next to
it).
I'm fairly new to ActionScript 3.0 so forgive me if this question is easy, but I'm having issues with my portfolio slideshow. I have a few thumbnails and when you click on one the image slides in from the right. That part is fine. What I really want is for the user to click on a different random thumbnail and have the current image slide out as the new image slides in. My code so far:
[Code]...
Ive just completed the Kirupa XML Slideshow today and have it all working well. But i cant figure out how to fade out the previous image as the next image fades in.
[Code]....
I am relatively new to Flash CS3 and i have been learning Action-script 3 over the past week. I have come quite a long way and i have made a site in flash but i just have a question.I have been using an image as my background and i am happy with the way flash automatically scales all the objects in my file but the background image does not scale. Is there a way to do this? I have found out things online which show me how to add auto-resizing to the background but this knocks off the flash auto scaling/resizing for everything else.
View 4 RepliesI am developing a website in flex. And in that, i am trying to set the background image of my application. like this: parentApplication.setStyle("backgroundImage", data.image_src);
From a different location.
My issue is that, the images that i have are small and hence they are being stretched when used as background images. I want to avoid that from happening. How can i do it?
was wondering if anyone could assist me with some actionscript. I am working on a project similar to this (thehideout.org.uk/refuge/) and making the background image move around as if it the scene is a POV.
View 1 RepliesIv got a background image 3 times the length of my stage.. what im trying to do is create a scroller so when you press a right button or a left button, it scrolls to the left third or the right third of the image.
[Code]...
I am using this following code to display images using xml.Everything is working fine for me but i have to add background image or border to the displayed image using function BitmapFileMaterial.
using BitmapData or Bitmap Class but same functionality.
[Code]....
I am making a new flash website and i stack on the as3 part.My site have a menu like all the site do.Now on the site load there is a background picture.When you press one of the menu buttons, the background image will change to this button specified image.But all that in an animation of fade in and out.My problem that i have everything but i cant know which image was before it changes to the buttons specified one. It maybe require as3 which i dont know.I cant upload here my work. its personal.But i ask you the professionals, please make a short fla file which will have the code and animations i need.(if you cant understand me)Please, make a fla file, which contains random 3 images.At the start it will have main background and a menu on it(just text-for fast and short work)The menu is 3 text ine(main,about,contact)now, make that when you press about(for example) it will change the main image(background) to the image of the about page.
View 2 RepliesI have been trying to use the XML image slideshow posted here and everything works but one thing. The images to load which have the same px dimensions as the mask for the container will keep scaling up for a reason I can�t find in the code. I have been trying to fix this all day without any luck and I am about to go mad here. I am using FCS3 but saving a F8 doc with AS2. Could anyone take a look to the file and tell me what the problem could be?
View 3 Repliesokay, I know most slideshows have more than one image, but when the slideshow only has one, it blinks on and off. The problem is I am using this in a cms tool that pulls the files dynamically so i will sometimes have more than one,but other times, only one.
[URL]
I have made a random image loader for a slideshow, but the preloader does not work for it (I grabed the preloader from a previous website I made) Is there a way to preload the images or the slideshow and/or have the next image pre-load while the current image is playing. I have attached a zip file of the random image loader
View 10 RepliesI am trying to create a "slideshow" in flash CS4 and I have set it to fade out one image is it fades in another (using alpha) for about 10 - 15 images.However, I want to add a "border" to my slideshow, that stays there throughout the entire process without it fading in and out along with the pictures.
View 1 RepliesIm trying to create a xml gallery for her images. The slideshow is working but they want a button on the stage that when clicked, it will go to the last image in the xml file.
View 6 RepliesI am wanting to make the Images in the XML Slideshow Tutorial a clickable link. So that a user can click on the actual image when it is displayed and be redirected to another page. It would be good if the URL that the images redirect to are also embedded in the XML file with the other image info. This would be similar to the News Ticker Tutorial where the URL for the News Text is in the XML.
View 3 RepliesI'm working on and xml loaded slideshow. I have a script that I got off of this site where the image fades out before the next one is loaded. The only problem is that the last image does not fade out, it just goes back to the first image which makes it inconsistant
Code:
delay = 4000;
function loadXML(loaded) {
[code].....
this relates to the tutorial posted by kirupa on creating an image slideshow using xml with actionscript: [URL] this slideshow is great, but i'm wondering whether it is possible to start it in the middle of the sequence. so, for instance could one button load a swf file with code that would start the slideshow at, say, frame 5 out of 10? i understand how the actionscript for this works, but am running into deadends on how to get the xml more specific. oh, and i'm using flash 8 for this.
[Code]...
My slideshow works, but on my website it keeps getting stuck when the 1st image is fading out. But if you click the Next button, it will go to the next one, then the slideshow will cycle perfectly, even through the 1st image just fine. I'm attaching a zip file with my FLA and my XML file.
View 1 Repliesi've been trying to work with this actionscript to make it random and i just can't seem to do it
Code:
var id, current;
var k = 0, p = 0;
[code].....
This is a continuation of this post: [URL] I wouldn't post a second time, but the deadline for this project is approaching quickly (and I fear that cbeech has moved on, determining that my problem has been resolved since i was on vacation last weekend). I seem to be having another problem. The first photo now fades in and out beautifully.. but the next image does not fade in. The first image just continues to fade in and out.
[Code]...
i want to change image size in slideshow.
View 2 RepliesI found a tutorial online to do a Image Slideshow. [URL]. But, I can not get anything to work. I am new to this and unfortunately do not have time to do any formal training right now. Probably when this project is done. When I "test movie" I just get a white screen w/ nothing on it. I should be getting a box 500x500 w/ a box that is 400x400 for my frame. I just finished step 3, and I do not get my frame box like a should.
Here is what my .xml document says:
<slideshow width="400" height="400" speed="5">
<image url="images/1.jpg" />
<image url="images/2.jpg" />
<image url="images/3.jpg" /> .....
And here is the action script.
var myShowXML = new XML();
myShowXML.ingoreWhite = true;
myShowXML.load("slideshow.xml");
myShowXML.onLoad = function() {
[Code] .....