ActionScript 3.0 :: Tutorial For A XML Slide Show Code Not Working
Dec 29, 2009
I really hate when you read a tutorial from some "expert" and what it tells you to do is wrong. I was doing a tutorial for a XML slide show, and the last line of code doesn't work quite right:
[Code]....
For some reason that only sends the my_playback_counter to 1. And it just sits there twitching. So when I tried to change the tutorial code to:
[Code]....
View 3 Replies
Similar Posts:
Jul 9, 2011
I have downloaded an excellent slide show tutorial from Slideshow.as[URL] and being new to As3 I very basically attached and removed the downloaded slide show on and off the stage with a simple button which fired the following code: addChild(); to make the slides appear and a removeChild(); to remove them. This worked fine until I quickly realised that each time the slide show was re added it had doubled in speed until after a few re loads it was wizzing through
View 8 Replies
Nov 13, 2009
here's the link that i followed step by step with the exact same code to get slide out panels: [URL]..All the code makes sense how it should work but I keep getting
TypeError: Error #1009: Cannot access a property or method of a null object reference. at slideOutInfoPanel_fla::MainTimeline/frame1() and here's my code just as in the tutorial
panel_mc.panelinner_mc.popup_btn.addEventListener(MouseEvent.ROLL_OVER , rollF);
[Code]...
View 4 Replies
Jun 23, 2009
I'm having problems with a simple flash site that contains a scrolling slide show, that uses a .xml file.I was sent a .fla file that I couldn't open with MX 2004 ... I asked them to save it as a MX 2004 file. They sent it back, and I was able to open it.The problem is ... when I save it as a .swf the slide show doesn't work.The .swf & .xml files are on the same level in the directory, and the .swf path to the .xml file is correct, also the .xml to the image folder path is correct.I have spent hours going through this, and can't get it to work.I have added images to the .xml file, and they show up (I am using the original .swf) so the .xml file is OK, and again the path from .xml to the images folder is correct. This is the working .swf file (click on the portfolio link )Now ... imagine no images there, and that's what I'm getting when I save the .fla as a .swf.Other changes I make to the .fla are working properly ... just the slideshow is the problem.Did something happen when the .fla was saved as a MX 2004 that caused the .xml part to stop working?IM not a whiz at actionscript, but I have gone over it several times, and can't see anything that looks out of place.
//http://www.kirupa.com/developer/mx2004/thumbnails.htm
function loadXML(loaded) {
if (loaded) {
[code].....
View 0 Replies
Jun 30, 2010
i created a slide show with buttons, when i test it in flash it works correctly but when i put it in a html page, it does not redirect you to the page when you click on it.
View 2 Replies
Nov 4, 2011
I'm developing a new website one with a dynamic slideshow which can be found here. [URL] The problem is, after weeks of it working it all of a sudden now has issues loading the xml data into the swf. The swf loads but nothing displays in it, this worked and I changed nothing but updated the graphics which would display in it. If you hit refresh an untold number of times eventually it loads. To me this sounds like a server issue, but I'm not sure.
I've tried updating my flash player, updated the swfobject.js to the latest one I could find. I've made all my .js local on the server instead of calling externally to a source. I'm not sure what the problem might be. I've attached a working and not working example graphic to this post. I've tested this out on 7 different PC's both of which running either Windows 7 or Windows XP. Out of 7, 4 of them load the slideshow properly each and every time. 3 of them however loads it, but will randomly get the issue where it doesn't load properly.
View 3 Replies
Oct 26, 2011
i am doing a slideshow with images occuring randomly wch hav clickable links,okay it works but at times the transition is very fast instead of the 8s interval i expect ,when i view the trace() output ,i have noted that at times the timer is triggerd twice or more simultaneously...my code is below...what maybe the cause may u kindly assist i have 21 frames with 21 images
[Code]...
View 2 Replies
Feb 11, 2010
I'm trying to make a slide-show that adjusts to the width or height of the stage, and eventually, of the web browser window. I was able to load and resize a picture by writing code on the timeline, but I got the Error #1009 (Cannot access a property or method of a null object reference) when I put this slide show into another movie clip loader (which chooses between different swf pages of the website, with the purpose of keeping the swf file sizes down). By the way, my "slide-show" loads the picture fine. When I use the movie clip loader to load this "slide-show" it works too. Only when I use the Flash Player to open it, it gives me the Error 1009. I looked around on actionscript.org, and everyone seems to be recommending the folowing code (or something like it):[code]
I also ran into some information about document classes and I figure maybe I should be using document classes to make this stuff more modular and reusable. So I put my slide-show code into an .as file, importing all the flash.xxx.* classes, and put it in a package and class and constructor function... in the same directory as my swf file, and set it as the document class to a blank fla file. Then I tested it and all I got was a blank swf. This is without the Event.ADDED_TO_STAGE code. I guess I don't know how to get the document class thingy working either. So my question is, can someone tell me how I can change my slide-show code into a working document class without the Error 1009?r?[code]
View 1 Replies
Feb 21, 2004
I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart and there is additonal functionality attached to it to affect it's movement which I'm not too worried about although it would be nice)
Code:
// set up content_mc info
contentRight = _root.content_mc._x;
[code].....
View 3 Replies
Oct 27, 2009
I am using currentSlide.gotoNextSlide to change between slides, however I can't make it stop playback on load of each slide.I have a motion tween with I need to NOT play automatically when the slide loads... but no matter how many iterations of stop(), gotoAndStop(), etc I use, nothing will stop the clip from playing when it is loaded!
View 1 Replies
Jun 10, 2011
In my asp.net application,I want to show the .ppt file using the slide show manner.
That's to say,user can upload .ppt file to my server side,then other people can browser these ppts in the page ..
Since I have googled "embed powerpoint in web page" ,it seems that there is not a good idea to implement this and support the cross browser,so I thought the flash.
This is a slide show using the flash: [URL]
What I want is show the contents of the .ppt in this manner(it would be better if it support the animations in the ppt)?
View 1 Replies
Jun 27, 2009
I have a project that I am working on the requires something simple but I can't find tutorials/examples of how to do this.
I need to create a slideshow so that when a user clicks an arrow - an image will slide off the screen and another image will move onto the screen (as if there is a long strip of images that move on and off the screen).
I have the images as a long continuous strip, and they should slide onto the screen with each click of the arrow. Then at the end of the strip of images I would like them to quickly bounce back to the beginning.
Something similar to what I want to do, only done in Flash[url]...
View 4 Replies
Nov 20, 2009
I am building a slide show in Flash 4. I have a series of slides that I want to automatically advance from slide to slide in order after 10 seconds. Is there a slide control in flash for this? Is there an actionscript for this?
View 2 Replies
Jul 9, 2011
I wonder if anyone can shed some light on why an xml slide show should speed up each time it is reloaded. I have downloaded an excellent slide show tutorialand being new to As3 I very basically attached and removed the downloaded slide show on and off the stage with a simple button which fired the code:addChild(); to make the slides appear and aremoveChild();to remove them. This worked fine until I quickly realised that each time the slide show was re added it had doubled in speed until after a few re loads it was wizzing through
View 5 Replies
Mar 19, 2009
I have a slide presentation that was created in Flash CS3 and I now need to get it into Quicktime format. I have been able to get the export to movie function to work but the resulting video is only the first slide no matter how long I set the "After time elapsed:" setting to in the QuickTime Export Settings dialogue box. This makes sense because the slide show requires the user to press the space bar to proceed to the next slide.
View 1 Replies
Oct 15, 2009
I am attempting to build a small slideshow using as3. I have built it on a transition extension. i have it working, but all the images are loaded into the library, given a class name to reference them and the rest is done based on the class names.in the as3 code a array has been set up all the class names listed like this:
Code:
image_movieclip_array = [
Image1,
Image2,
Image3
]
I have taken it a step further and created a xml file listing the url to the photos i want to load in but this is where i am lost the urls are being read successfully in, so the code can access the urls but im not sure from there how I actually import the images in, or how to assign each a seperate class , does the addchild command assign a class name that i can add to the above array?
View 1 Replies
Nov 22, 2009
I've created a series of images that fade in and out. When i run the movie the transition from the last picture which fades out to the first image is not smooth. it transitions from a faded out image to a 100% opacity image
View 3 Replies
May 30, 2010
Can somebody explain shortly how to create a Flash Slide-Show in a HTML Document? Let's say I have 5 images with logo and want that they change every 10 seconds. Do I need to work with JavaScript?
View 1 Replies
Dec 29, 2010
I have this slide show and am trying to add a link to each image loaded.[code]
View 6 Replies
Jul 17, 2011
I am new to flash and need to know how to build a slideshow that has 1 or 2 rows going up and down and then when you click on the picture it pops up huge next to the 2 rows?
View 6 Replies
Aug 30, 2011
I just created simple slideshow using Flash and it s working well, but i woudl like to put little tricky. Before it display next images, current it will slowly disappear in to whithe color, and then show next image.
View 12 Replies
Feb 22, 2012
i have a one web link have a flash display, below the flash display some scrolling picture, when we click the image that image goes up, as well as left and right have forward & backward button, how can i do this type of flash file,
View 2 Replies
Jan 19, 2009
All I want to do is set an xml image gallery to autostart automatically upon loading. I have the fla file source, and its written in AS 2.0. This is the contents of Functions:
Code:
import flash.display.*;
//
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//
[code]....
View 1 Replies
Dec 7, 2009
I have about 5 movie clips (MCs) and I want to play all of them one at a time automatically. How do I accomplish this with as 3.0? I'd like to be able to add/remove MCs from the slide show occassionally and I 'd also like to be able re-arrange the play order of those MC as well . I am learning AS3.0.
View 4 Replies
Jan 6, 2011
my simple slide show with transitions is rapidly fililng memory over 200 mb in minute or two. I suspect it may be the slideLoader = new Loader(); in the switch function, but im not good at this stuff, spending hours googling.I have attached project with few images, and minimized the code as much as i could.[code]
View 4 Replies
Nov 17, 2006
I am going to use the automatic slide show that is explained in this site for my dad's website (I've used it in the past and it's great!) and I would like to know if the images can faded out as well as faded in. Basically, I want to have a seemless, progressbar-less, slide show with pictures that fade in and fade out. This is going to be used for a wedding photography site by the way.
View 4 Replies
Jun 10, 2009
I'm trying to create mono slide show, but I managed to be in some strange trouble. Namely mono slide show works nice, but something is wrong or missing in the code, because it puts the picture, that is pulled thru xml on top of everything. One solution is to do picture smaller, but i want to have buttons and info on the picture. It is not layer problem, because layer with picture container is on the last one. Heres the code:
[Code]...
View 1 Replies
Mar 24, 2004
So I got this photo gallery script (see below) and I use this on buttons to update the picture...
on(release){
uploadMovie("01");
}
[code].....
View 14 Replies
Feb 21, 2004
I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart [code]
View 3 Replies
Nov 5, 2010
I have a simple slide show with a forward & backward button, as well as a play & pause button.
The play/pause buttons toggle visability with this code (on its own actionscript layer)[code]...
However, this didn't work - at least not the way I wanted. This code causes the pause button to show up when you cycle through the images and get back to frame one - somehow forcing the net stream to play again.
tell by my code why that would happen? I'd at least like to know how to show the pause button whilst it's playing and vice-versa for the play button.
View 2 Replies