ActionScript 3.0 :: Gallery With 3 Images - Fourth Blank Pic Appearing?
Jun 13, 2010
I have made this Pictures Gallery script for my website, but I'm searching the reason of the 1109 error.
NB: bordureImage=border of the picture
imageCourante=current image
The error:
TypeError: Error #1009: Il est impossible d'accder la properit ou - la methode d'une reference d'objet nul.
at index_fla::MainTimeline/clic()
Also, there is a fourth blank picture appearing after the third but normally it should return directly on the first one, because there is only 3 pictures. There 1009 error appears when we click on the last picture (the third one) already on the stage to return to the first.
pic1 - clic - ok - pic2
pic2 - clic - ok - pic3
pic3 - clic - error - blank pic
blankpic - clic - ok - pic1
View 5 Replies
Similar Posts:
Aug 12, 2010
I am working on developing a portfolio site. My page that has a swf does not show up in the browser. I can navigate to the swf file, where it shows up and works fine Originally, the .js file was in a folder that was miss-named, but I got that fixed. Over on the Dreamweaver Forums, it was suggested that it's probably an Action Script coding error
Here is my Action Script:
import fl.controls.ProgressBar;import fl.transitions.Tween;import fl.transitions.easing.*;import fl.transitions.TweenEvent;var columns:Number;var
[code]........
View 8 Replies
Feb 18, 2012
Would anyone have an idea why some images (being pulled into a FLA file via a UI loader) would show up in my SWF file (on my harddrive) BUT, will not show up when I upload the SWF/Images to the ftp/web??
It works perfectly fine on my local harddrive. The UI loader has the correct AS coded, and it successfully brings in the images when I look at the SWF file on my computer. However, when I upload the SWF file to the web, it will not show the images being brought in by the UI loader?
I made double sure that the images were actually uploaded to the website, and they were. I even took the WHOLE site down, and reuploaded it, again, making sure the images I am referring to are up on the web. It all looks correct to me.
View 1 Replies
May 6, 2009
I have created a Flash object which uses an xml to read the image path and few other attributes. I could successfully generate the swf and publish (html) the object.
When I view menu.html, independently in a browser it works fine. However, when I embed this, generated html (menu.html), in the home page of another website(homepage.html), it breaks. The images are not displayed.
View 2 Replies
May 6, 2009
I have created a Flash object which uses an xml to read the image path and few other attributes. I could successfully generate the swf and publish (html) the object.When I view menu.html, independently in a browser it works fine. However, when I embed this, generated html (menu.html), in the home page of another website(homepage.html), it breaks. The images are not displayed.All of the templates - config.xml, menu.fla, menu.swf, menu.html & homepage.html (of the other website) are all in the same folder.
View 1 Replies
Jan 18, 2011
in datagrid I have an ItemRenderer (which extends UIComponent) which loads images based on a data value, eg:
_img.source = "assets/images/flags/" + value[dglistData.dataField] + ".gif";
When I run my application the images (flags) are appearing in the ItemRenderer. When I build and deploy the application into BlazeDS as an SWF file - the images do not appear. Instead there is the standard "missing icon" link that appears in Internet explorer.
As far as I can tell, my ANT build script includes the above directory "assets/images/flags/" and all the images into the SWF file.
View 1 Replies
Mar 10, 2010
I purchases a ac2 slide show which makes the images appear in random order when browser is refreshed. Is there a solution to this? I've provided the code below also attched the .fla file.
import flash.filters.DropShadowFilter;
BarHeight=160;
BarHeightOver=170;
[code]....
View 1 Replies
Oct 24, 2011
I purchases a ac2 slide show which makes the images appear in random order when browser is refreshed. Is there a solution to this? I've provided the code below also attched the .fla file.
[Code]...
View 1 Replies
Dec 22, 2005
i couldn't find a tutorial on this matter so i sorta started making my own hypothesis... what i'm trying to do is: have a gallery of images automatically scrolling horizontally while having the set of images loop. like at[URL]..
here are a couple of my theories and questions for AS commands to have this work:
1) display a range of pixels of an image at certain positions, i.e. if gallery is scrolling to the left, leftmost image when its parts are disappearing out of the viewing area, they become visible at the right.
2) have two instances of each image and when an image is disappearing on left, the second instance of that image comes visible on the right. this I imagine would take up more HD space.
i guess what i was wondering more about is how jager did their gallery where there's only enough images are in a set to be viewed in the viewing area.
View 3 Replies
Aug 4, 2006
how do i use the fourth parameter of the attachMovie method (or function or whatever it's name is)?coz i need to attach a movie into the stage, but it has parameters (it's a component); so the deal is i attach the movie and set parameters to this new instance. How do i do that?
View 3 Replies
Feb 14, 2011
I have try everything but no can do. The 4th image wont show up
Here's the file [URL].
View 5 Replies
Jan 8, 2005
I'd like a button to load a movie but only every third or fourth click. Is this possible? I don't know much about variables.
View 1 Replies
Jul 29, 2009
I created simple swf. It contain more than one video (for example 4). FLVPlayback component used to play the video.It works fine. When i enter full screen of the first video it shows the fourth video. If i did continuously means the component size changed automatically.
View 8 Replies
Sep 22, 2008
Main requirements for that gallery are:- must be updated via xml file- must be auto resize- thumbnails must be floating like in example- also must have preloaderhat's allIt is my first serious project with flash and it will be good to get any tips how to start doing all of that.Especially I am interested how it is possible to make such floating thumbnails which are also preloading.
View 2 Replies
Dec 11, 2009
What i need is to be able to pull images from a folder, and just be able to dump images into a folder and not have to keep updating an xml or fla file.
View 1 Replies
Sep 30, 2009
what i'm looking for is to create a gallery of images. there are 12 images in total with 3 showing. I want to add a forwards/next button that will cause the gallery of images to scroll across, with a smooth action, when the cursor hovers over the fowards button. I don't want the next images to show 1 by 1 but the gallery to gradually scroll arcoss(like all of the images are on one long reel being pulled from the left)
View 2 Replies
Nov 17, 2009
I created a flash image gallery for my site but the images look pixelated. I really don't like the way they look. Im fairly new to web design and very new to flash.
View 3 Replies
Jun 23, 2009
I am wondering if someone knows how to create a picture gallery where the images are online (web hosting folder). I need a tutorial to add the script to my existing swf.
View 1 Replies
Jul 6, 2009
I am putting together a gallery that will show about 60 images. basic fade-in transitions between the images. I need to animate the company logo (very basic) and show some text below each image), becasue of this I dont know if any off the shelf xml based gallery will work? As usually you just define the image name/path and run the swf. This is for a presentation and not web so maybe not possible to be Xml based. Is there anything that is out there that could work for this and if not i suppose I am doing everything in flash but fear this as thimeline will be so long and a bit of a nightmare to do, if I have to do this in flash, I would have each image occupy about 20 frames 1-9 it will fade in, frame 10- a 10 sec pause, and frame 11-20 a fade out, that will still give me a timeline of 1200 approx.
View 1 Replies
Aug 24, 2011
[URL].. The images on both the thumbs and the final seem jagged.
View 6 Replies
May 1, 2009
There is a site with an image gallery that uses Adobe Flash.Is there a way I could capture the images? ( Apart from print screen)Softwares like Orbit do well with .flv videos, but don't work with images.Is there something that will help me getting a direct path to the images?
View 3 Replies
Jul 26, 2010
Is there any ready built images gallery as shown in this link? [URL]. If I were to build it by retrieve from database contains links to images and display on each containers, would TileList be useful as I'm will be using it for displaying Classifieds images.
View 2 Replies
Jun 18, 2009
I modified some code for loading xml images into a gallery that I found somewhere, but I have no idea how to go about preloading the images. Everything works fine, I would just like to know the best way of going about doing this. Here's the code I got:
[Code]...
View 3 Replies
Aug 10, 2009
I'm worried about images stacking on top of each other. The thumbnails are loaded using a for loop through XML, (10 thumbnails). And by using event.target.name when you click on any thumbnail it calls a function (showPicture).
[Code]....
View 8 Replies
Sep 8, 2010
I have an image gallery into which I would like to load both image files and swf files. The content is loaded through an XML file. The images are loaded correctly, but the swf-file isn't. I get this error:
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::MovieClip@3ffc2e1 to flash.display.Bitmap.
at player_sheit_fla::MainTimeline/addSlideContent()
at player_sheit_fla::MainTimeline/fadeSlideIn()
since Flash can't load an swf as bitmap. It all boils down to this function:
ActionScript Code:
function addSlideContent():void {
// empty current slide and delete previous bitmap
[Code].....
How can I load both swf and image files into my gallery?
View 6 Replies
Jan 8, 2011
I am building a gallery and my client asked me if i can do it with links. Something like this: [URL] and so on. I am reading the images from an xml
View 6 Replies
Feb 8, 2011
I have a problem with an xml photo gallery nothing special about the code just a simple xml loader routine, everything works fine on my local machine but testing on the server only displays some of the images?
View 1 Replies
Jul 10, 2005
ive just butchered myself a gallery together which loads different xml documents (with image references in them) into an empty movie clip on the main stage-however- the images are all different sizes, and I cant seem to modify the script so that they will center correctly- i know I need to preload them in order to get the correct size for each image and then reload and display so that the x and y coordinates are correct-im using this script from kirupa's xml gallery tutorial- each different section of the gallery has this script attatched to the button that displays it-but im really stuck as to where to add a loop to ***** the images.- my brain hurtsI
on (release) {
function loadXML(loaded) {
if (loaded) {
[code].....
View 8 Replies
Jul 21, 2006
I recently used this [URL] tutorial to make a gallery in my site.
I wanted to know if there's a way of adding a preloader for the pictures.
View 1 Replies
Aug 6, 2006
Here's what I have:
I have it setup where you can choose multiple galleries to look at. It starts with a square image that is a movieclip. Inside that, it has the words Gallery1, Gallery 2, etc. Each of those words is a movieclip. Inside each movieclip is a XML gallery setup. So by clicking on "Gallery1" for example, it loads the images for that gallery, and buttons for previous and next image appear. The gallery works fine, except that I also have a button for returning to the gallery selection part. The return button works in the sense that it does go back to the gallery selection part. The problem is that it doesnt clear out the current XML gallery image.
The different galleries are there underneath, because they can be clicked on at that point. It just doesnt clear out whatever the last image was.
View 3 Replies