ActionScript 3.0 :: LoadVariables() - Get An Image Slideshow To Work With Some External Data?
Jun 22, 2010
I'm trying to get an image slideshow to work with some external data, but I'm kinda new with AS3. I'm used to use the AS2 loadVariables() function, but that no longer works. What's the AS3 version of this?
View 2 Replies
Similar Posts:
Oct 6, 2006
I 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).
View 1 Replies
Aug 30, 2010
I create a web template in Dreamweaver 8; in this template I added a slide show (Image Viewer). This template is working fine in browsers and slide show also playing, but when I create the new web page from this template, and then the slide show not playing, there is an error message display.
"A script in this movie is causing Adobe Flash Player 10 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script? Yes or No"
I keep getting this message again and again. When I say no, it asks me again and again, when I say yes then I can't see whats playing. I also Restart the computer, but don't work.
View 1 Replies
May 28, 2007
Does anyone have any info on creating a slideshow that loads external images? I only want to load about 10 and then for it to end on a final frame... just not sure how to do it.
View 3 Replies
Feb 5, 2011
I'm working with a flash image slideshow and I'm having trouble getting it to read from my xml file for the captions, the same thing with the images. I've changed the paths on the as well as is there anything I'm missing, any other path I am supposed to change to read off of the correct XML file and image directory? Here's the link - [URL]
View 1 Replies
Oct 15, 2010
I use loadvariables to get data from mySQL using PHP and up to Flash. Flash gets the data flawlessly. Now one of the data I load into Flash is a path to an image.
My problem is, when I check the imgVar variable, it telles me, its value is: images/news/001.jpg
Now When I use the AS:
loadMovie(imgVar, blanker);
it does nothing (blanker is the movie clip I load the picture to).
When I use the AS:
loadMovie("images/news/001.jpg", blanker);
it shows the picture...
My other question: If I solve this problem, how Can I resize the externally loaded image by just setting either the height or width and doing the resize so that it won't deform my image.
View 4 Replies
Feb 6, 2008
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.
View 1 Replies
May 31, 2004
how to load an external HMTL file with LoadVariables?
View 1 Replies
May 29, 2008
i have a question about text in a slideshow. i know how to make a basic photo slideshow with external images. but now what i want to do is add 4-5 paragraphs of text next to each photo (with possible scrolling). the text will be different on each photo.
View 1 Replies
Sep 30, 2010
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]...
View 1 Replies
Feb 19, 2008
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]....
View 2 Replies
Oct 24, 2010
I have this little slideshow, it is for practise for my students. It always worked well in as 2.0, 5 slides, and two buttons: back and next.The script in2.0 has: prevFrame and nextFrame in the code and for the exceptions in frame 1, and frame 5 we made a new frame 1 in the actions layer, and coded the back button, gotoAndStop(5); and a new frame 5, and coded the next button: gotoAndStop(1); Works.
Now I put the thing over tot as 3.0: And I can not get it to work properly....the buttons work, but when I am on frame 5, and go back to 4, it will go no further than 4, evenso when I go back to frame 1 from 5, I can not go further up than frame 1.
import flash.events.MouseEvent;
stop();
next_btn.addEventListener(MouseEvent.CLICK, volgendFrame);//next_btn.addEventListener(MouseEvent.CLICK,[code].....
View 5 Replies
Jun 13, 2011
How come the following AS3 works fine when placed in Scene 1, but throws multiple "1120 Access of undefined property" errors when the code is placed inside a movie clip? Somehow none of the variables in the code are recognized in the later case.
[Code].....
View 8 Replies
Apr 29, 2006
How can I make my gallery work? Initially I have a menu (scroller-voetsjoeba) in where I say
for(var i=0;i<_global.gallery_xml.firstChild.childNodes.le ngth;i++){
menumc=menucontainer.attachMovie("menuButton","but ton_mc"+i,i);
menumc.id = i;[code]....
and so far it works fine - I get my firstImage.....I can also get the slideshow to work but not as intended, only in the first category "life", and that's really my problem......How can I make the slideshow work accordingly to my xml file, so that if I click a menubutton in the scroller it correspondes with the correct id and so on?
<?xml version="1.0" encoding="UTF-8"?>
<menu>
<gallery name="life">[code]...
View 1 Replies
Mar 16, 2009
I still can not get a basic slideshow with the either thumbnails or prev/next buttons to work. It seems that every tutorial either assumes I downloaded the correct libraries or understand when they are using AS2 or AS3.point me to a "FOOL" proof tutorial or template..I understand the basic part of what is going on but do not know enough AS yet to hammer out the actions myself.
View 1 Replies
Sep 8, 2010
I have a slideshow with 3 sections. The slideshow loops automatically as well as when being prompted by a button to go to a particular section. I also added a play/pause button which works initially, however, when clicked on one of the buttons to go to another section, the slideshow resumes looping..I"m assuming I need to check weather the pause button has been clicked to resume/or not resume the slideshow... but I'm unable to figure out how to do that.head of time! Here's the code:
import fl.transitions.Tween;import fl.transitions.TweenEvent;import fl.transitions.easing.*;
//Timervar tl:MovieClip = this;var slideDuration:uint = 12000;// or use whatevervar slideTimer:Timer=new
[code]........
View 5 Replies
Aug 2, 2009
I'm working on a slideshow using a class that I wrote that builds the slideshow and an XML file that points to the images. I plan on improving it later but for now I just want it to cycle through a set of images, resize them if they're too big or small, and show a loading bar while the image is loading. It works fine if I test it in the Flash IDE or standalone Flash Player, but if I drag the SWF into Firefox or Safari, the loading bar refuses to show up. I also tried publishing to an HTML file and that didn't work either. I figured there could only be two different reasons why it wasn't showing up - either it wasn't being added to the stage, it wasn't being made visible after it's initially set to invisible. I decided to comment out the part of the code that make it invisible to begin with the loading bar showed up, but it wasn't showing how much of the image had been loaded when it changed to a new picture. Here's my code:
[Code]...
For some reason the pictureLoading function isn't being called when I test it in any browser. I've seen the loading bar randomly pop up a few in times in Safari 4 but then I try closing the window and testing it again and I get nothing. Can anyone help me figure this out? About:plugins in Firefox says I have Flash Player 10.0.22 installed, and I'm using Flash CS3 in OS X.
View 3 Replies
Jan 6, 2010
We've only successfully got this flash slideshow to resize correctly up until it goes to the #2 slide. I've looked all over the net, including this forum, many other have similar problem with resizing and scaling their movie clip to the full browser with correct aspect ratio, but most of them all involve a single video MC only. In my case, it's a bit more complicated which involves several pictures, masks, along with a pre-loader. Here's the FLA file. [URL]. Basically in a nutshell i am trying to make a website with an animated flash background that will scale to the user browser size according to the increase and decrease in browser width. exactly like you would see here on samsung's website [URL]. We know that it has something to do with the resize listener code. but we just can't overcome this glitch.
View 0 Replies
Nov 2, 2007
I 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 Replies
Dec 18, 2007
okay, 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]
View 1 Replies
Feb 13, 2007
I've developed a small Flash [8] slideshow of ten 4x6 jpgs,optimized it, published it, and inserted it into a Dreamweaver [8]basic XHTML-compliant page, saved the page and previewed it in a variety of browsers. It works perfectly.Then I FTP'd it along with other files and photos for the site. and tested it out on the same browsers: everything EXCEPT the slideshow now works perfectly; there's not a trace of the ss.What am I doing wrong? I've retraced all of my steps several times -- I even re-FTP'd it -- all with the same result.
View 1 Replies
May 4, 2011
I'm looking to create a slideshow that needs to automatically advance, with each slide having 2 pictures and a short text description, each which would be unique for each slide. The file name for the pictures and description are contained in this xml, currently my XML file has the tags in the format <pic1> location.jpg </pic1>, each grouped for the slide they both need to be on.
View 2 Replies
Jun 19, 2009
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 Replies
Nov 12, 2009
I 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 Replies
May 27, 2010
Im 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
Mar 23, 2009
Im 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 Replies
Aug 9, 2005
I 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 Replies
Sep 15, 2005
I'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].....
View 6 Replies
Jul 3, 2006
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]...
View 4 Replies
Aug 30, 2006
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 Replies