ActionScript 2.0 :: XML / Flash Photo Gallery Tutorial - Load The Swf File Into Another Movie The Dynamic Text Will Not Display
Jan 6, 2007
I'm having some problems with the XML/FLASH Photo Gallery Tutorial ([URL]). When I load the swf file into another movie the dynamic text will not display. Any thoughts to why this is happening.
View 1 Replies
Similar Posts:
Jan 15, 2010
i am trying to put some things together following the tutorials on this site. I did the tutorial 'Photo Gallery Using XML and Flash'and I followed it step by step and uploaded it with all the necessary files onto my remote server (xml file, Gallery folder, fla, swf, and html) - however, when I test the movie with flash, it seems to work fine (except the description test, my question to that later), but when I test it online it shows only the first image (but displays the correct number of images in the gallery); even when clicking the next button, it keeps loading the first image the first image. In other galleries (I use the structure for multiple galleries for my portfolio) the first image never loads at all.
Also, about the description text, in between the <caption> and </caption>, can I use <strong> and <em> and <br /> to change the appearance of my text? All it says is 'null'.If you want to look at what I mean check out my portfolio in the making. The problem with the first image displaying only is under 'paintings' and both the projects in 'design - packaging'. The second problem (no picture loading at all) is on some of the buttons in 'design - identity' (where I have not changed the description text of the tutorial yet).
Again,
View 3 Replies
Feb 28, 2006
original: I really just need to figure out how to center the pictures. here is what I did I have modified the tutorial that I finished to have a bigger stage for bigger pictures. Everything is working properly but the pictures are displayed on the left side, I want to have them centered in the stage for the images, after clicking on the thumbnails, plus my images are different sizes as well. ranging from 200x410 to 744x410 but all are the same height of 410. i will post up what I am talking about at the end. I believe it is something within either the action script or the xml coding that allows the position of the image to be differently? please help here is what i am talking about[URL] Continued: Here is my coding in action script:
[Code]....
View 4 Replies
Nov 15, 2006
i was trying to make the thumbnails continuously scroll left and right, instead of stopping when it gets to the end
View 14 Replies
Feb 24, 2012
I want to create a flash gallery that simply reads all of the files within a folder (they are all PNGs) and show them on the screen, then move to the next photo after a preset time. This would give us a dynamic was of displaying our content, if we could 'drop' the resource in a 'Images' folder and flash would then read that folder.
View 1 Replies
Jun 13, 2010
Based on the Photo Gallery using XML and Flash tutorial found here:I�m having trouble with loading thumbnail images of various sizes which overlap if they are smaller than the previous image.The specific line that causes this is target_mc._x = hit_left._x+(target_mc._width+5)*k;I�ve tried all sorts of things with the closest being the following which put the images in the right size, but with the omission of �k� their order is backwardstarget_mc._x = (thumbnail_mc._width+5);Here is the full function block as per the tutorial
View 2 Replies
Jul 19, 2005
What I want to do is to make a gallery based on the tutorial gallery here (thumbs), but I want the user to be able to choose different galleries from within the movie. I figured that I could make a loop to cycle through the galleries, then nest another loop inside it to cycle through the pics, captions and thumbs. While I wrote, I constantly tested the output with trace commands, but when I tried nesting the loop I lost all output.. I'm pretty new to both Flash and Actionscript, so if theres an obvious solution I havent been able to see it.. This is my temp XML file:
[Code]...
View 2 Replies
Oct 4, 2010
A couple days I started a topic about how to load a folder of pictures into a flash movie(photo gallery).
With some tutorials I almost got it but something is not working very good.The images are displayed to big. They apear out of the box they should be in.
I dont know where to look anymore... is there someone that can take a look at my files?
I will attach them in a .zip file. (the "img" map is empty because the file was to big)
View 1 Replies
Nov 1, 2006
i want each image that opens up from the scrolling thumbnails below to have another set buttons relating to the main image. for instance:
[Code]...
numbers = buttons linked to another set of external images that are related to the big image. the problem is i don't know what controls the thumbnail/main image when i click on the scroller (i'm kinda lost in the code). so right now i have only one set of numbers regardless of which big image opens up.
View 14 Replies
Apr 15, 2008
I remember seeing a few tutorials here and there for using php to generate an XML file of all the pics in a directory. I tried looking for one but can't seem to find any. Does anyone have any links to one?
View 4 Replies
Jun 15, 2009
Does Tutorial for photo gallery in Flash MX also woek for Flash CS3
View 1 Replies
Jul 27, 2006
I was working with the XML Photo Gallery Thumbnail Tutorial on this site: [URL] And I modified it for my own usage, making it a vertical gallery instead, and had no problems until I came upon the thumbnail images. When I replaced the original thumbs with my new thumbs (that I sized based on width, as it is a vertical gallery) it got all screwed up. The images are of all different shapes. So when it loads up, some of them had huge gaps in between them, and others were even overlapping. So I fixed it by making the heights of all the images the same, resulting in a working thumb gallery, but now half my thumbs are cropped off by the mask. I'm looking for a way to fix it where I still have the same spacing between the images, and that they are all the same width, but can vary in their height. Here's the section of the code I am using:
[Code]....
View 1 Replies
Aug 1, 2006
I saw the tutorial here on how to make a Flash XML photo gallery with a scrolling thumbnail bar. Awesome!
The thing is, the example he DIDN'T choose to illustrate is the one I want make - exactly.[URl]..Is there somewhere else I can find this? The problem is that I have say, 16 photos and I want 4 displaying on the stage at one time. I want a forward / back button available to switch through the remaining 12 images, when the user clicks the buttons (as opposed to a scroller, which I find difficult to control and therefore less useable).
The problem comes when loading the four images from my XML file. I am able to load the first four, but how do I indicate in AS that the next four images are to be loaded, until there are no more images left? What if I add 5 more, I want to be able to have that AS load them. I was using a mod function in my script, but I keep getting the wrong remainder. I'll have to post the code later.
View 1 Replies
Aug 22, 2006
I modified a version of the xml photo gallery tutorial featured on this website, and am using that. But when my images pop up the quality is horrible. I've gone through and checked everything I know to look at. Then I decided to build my flash site twice as big, and use pictures that were twice as big to get some quality. This didn't work either..
View 4 Replies
Feb 26, 2007
I was working with the XML Photo Gallery Thumbnail Tutorial my code i a little bit different, modified for easing thumbnails.How do I make this work for thumbs with different width??[code]
View 3 Replies
Sep 1, 2009
Just trying to make a flash photo gallery that displays all the image files in a certain directory with the usual photo gallery functionality.
View 1 Replies
Aug 26, 2006
I found the tutorial by Kirupa
[Code]...
View 2 Replies
Sep 19, 2009
I have a movie gallery (they are basically images with a fading effect), and I got it setup, and working, but I cannot get right the action script to make the first movie load when the page opens. The only thing I get to see is the scroll bar with the thumbnails, and after I click on the images I can see the full size. I would like the full size image of the first thumbnail to show up as default when the page opens. And then, if you click on the thumbnails the other images will appear.This is the action script for a typical Thumbnail (setup as a button):
on (release) {
loadMovie("clip0.swf", "_root.screen");
}
View 2 Replies
Feb 17, 2008
i am trying to add extra images to the photo gallery attached. I would have thought it is easy and it seems so. I add an extra image to the gallery. I publish it. The html file shows the extra image in the gallery but the swf doesnt. driving me crazy, cant work it out?
View 14 Replies
Aug 28, 2009
I'm trying with the XML photo gallery presented in the [URL] tutorial. This is set up to display 1 picture at a time , but what if I want to display 2 pics next to each other, like in a table stucture with 1 row divided into 2 columns? How do I set up the XML to do something like that?
View 6 Replies
Sep 12, 2006
I am new in the marvelous world of flash 8. I am building now my photo galley that I will then include in my Web site. Here are my 2 questions : My pics are featured in a big display with a thumb gallery under it. Until now I managed to create a mouse rollover effect on the thumbnails so that a big image of the thumbnail appear in the big display when I roll my mouse over its thumb. Codes are ok everything work perfectly. I want now to create 2 things :
1 : I want my images to appear in the big display by fading and
2 : I want a bigger preview window of my thumb when I roll over my mouse on each of them ( the preview window appear more or less like a tooltip and strech)
Here is the code I basically use for the gallery I achieved till now.
btn1_btn.onRollOver= function(){
myScreen_mc.gotoAndStop(1); };
btn1_btn.onPress = function() {
getURL("04big.jpg"); };
btn2_btn.onRollOver= function(){
myScreen_mc.gotoAndStop(2);
} btn2_btn.onPress = function() {
getURL("06big.jpg"); };
View 5 Replies
Jun 4, 2009
I am using CS4 with AS 3.0... I want to implement both a freeware photo flash gallery and mp3 audio player that I found into my all-Flash website. Both of these require reading from an xml file to get their content. They both come with html embedding instructions, but I don't know about actionscript.
View 14 Replies
Jul 8, 2009
I have a question about XML in flash.I have a photo gallery that utilizes XML to call out the photo as well as the caption.See XML data below:[code]This is the AS that calls for the photos and captions (The whole script is very long, so I am only going to annote the part that calls for the XML): It goes like this:[code]My problem is that the data won't display special characters.I am worried because I am using multiple languages, and as it is I am having to remove important characters from translations..I also have a second AS that calls for XML data for body copy which which works great, displays all characters in multiple languages, and allows HTML code to be used:[code]Any idea on how to get the XML for the photo gallery to display all characters?
View 0 Replies
Jan 25, 2007
I was wondering in the photo gallery thumbnail tutorial how do I make the thumbnails display vertically not horizontally. Also how do you add the picture caption underneath the thumbnail? [URL]
View 8 Replies
Feb 20, 2008
I've built a flash photo gallery that pulls image urls from an external XML file. The gallery has different image catagories that load their own set of images.The user decided which catatgory they'd like to view by clicking an HTML button in the flash movies parent page...using javascript, this button click sends a variable to the root level of the flash movies with the new XML location...
Trouble is, onces the initial XML file is loaded, the movie has no need to refresh (and read the newly sent variable) ...*Unfortunately the catagory buttons MUST be outside the movie on the page...
View 4 Replies
Feb 12, 2009
Anybody knows create dynamic photo gallery same as http:[url].....
View 4 Replies
Nov 2, 2011
I have a dynamic textfield being populated with an xml files' content. I then have a css stylesheet loaded into format the text. This all works great, but what doesn't work is the ability to bold some of the words in that text. I have both the regular and bold versions of the font embedded into the swf, I can test out just a bold block of text and it works fine. The css is also working as it will change the size of the text that I tell it to. Everything is working, but for some reason I am not able to get the bolder version of the font to display in the same text box as the regular one. I have also tried to change fonts but had the same outcome.
View 2 Replies
Jun 18, 2007
been playing around with the bitmap data class for a while, and i got to a point when i realized i was never gonna be saticfied with it... so im releasing the site as it is today
View 2 Replies
Nov 13, 2009
downloaded an xml photo gallery that is displayed through a swf.
What I want to do is load that external swf into another swf - but everytime I do it gives me a #1009 error. I know my code works - because it loads regular swfs, and I know I have the address right, because I direct it to an exact url location.
View 0 Replies
Nov 9, 2008
I want to make a dynamic photo gallery. The layout will be a scrollable bar at the bottom with thumbnails and then when you click one, a big version of the picture in the main window. Pretty simple layout. But! I want it to be dynamic in the sense that follows;
I have a txt file that contains the number of photos in the folder (at the moment, there are 5). Flash reads that number, and inputs that into a for statement, which then gets the filename of each of the 5 files (p0, p1, p2, etc) and slaps a .jpg on the end. Its like this so that i can add files to the folder, change the number in the text file, and be done (no site maintenance required).
Now comes the problem. I want to be able to, within the for statement, load those files AND be able to resize them. What i'm doing now is putting an instance of the gallery itself on the stage (just an empty movie clip), and in the for statement I am adding a "thumb" movie clip into that gallery movie clip, and loading the image into that. Visually:
Gallery_mc
--->thumb_mc
------->loaded image file.
The problem is that I can't resize them. I've tried using the loadercontentinfo stuff, but when i do that, it messes up my for loop somehow. I could always make all of my thumbnail files that size anyways, but I am also hoping to maybe implement my creation here in the future so that I can give it to others who aren't tech savvy and having them be able to use it without any difficulty. Here is the code:
Code:
//Create the URLLOader instance
var myLoader:URLLoader = new URLLoader()
//the data will come as URL-encoded variables
[code]....
I took out the loaderinfo stuff because it didnt work. As it stands, this version actually does sucessfully load the images, but doesnt do anything to resize them.
View 15 Replies