I am developing a photo gallery using an XML file as the structure. As the document class I have a class called PhotoGallery:-
[Code]...
Once the parsing is finished here I want to call a function back in the PhotoGallery class to start setting up the PhotoGallery. Is this possible, or am I even going about this in the right way? I am not sure I am using classes in the correct
i've tried a lot of things... but i just cant embed this text wich i load through php:<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"LETTERSPACING="0" KERNING="0">Plaats uw tekst hier</FONT></P></TEXTFORMAT>i tried embedding italics, bold and regular in different textfields outside the work area... i thought that should do it... but it doesnt
I am trying to get the scrolling photogallery to have a url that when they click on a big picture it will take them to another page. So far, I can create the link but when I click on it ALL the urls come up.On the link movie clip, I've assigned:
(symbol on layer in Scene 1) onClipEvent (enterFrame) { this.onRelease = function() { getURL(this._parent.link, "_self");
This is the code I've got from net 2 create photogallery in flash using ActionScript3.0. but I don't have that version on my pc. I've macromedia flash 8.So,I've used the same code in macromedia flash8.but it has given me errors like mouseevnt can't be loaded.
I am new in as3, I am trying to build a photo gallery , can anyone tell me what it the best approach to make a photo gallery with three different categories let say:
1-cats 2-dogs 3-human
should I do it with different frame lables for each ? should I do it with different external swf file for each? or should I make different movieclips and keep them in the library and then call them?
I am teaching my slef and I am pretty confused, by the way I just realized that controlling external swf files is kinda hard you can't easily tell them gotoandplay , I ma struggling with it for 3 days, but yet I am not sure it's the best way?
Not sure how it works, but the kind of gallery I'm looking to put together is similar to the one found in the portfolio on this site:Im not sure but I understand that while the thumbnail loads it's also loading its cooresponding image into the gallery as well. Just curious how they are creating that loader, where you see the picture while it's loading.
The trouble is that when I click in the button in the first film, the "main.swf", the "album.swf" is loaded into level 10, but the images and description does not load. Seems to be here some parsing problem between flash and xml, but I can't solve it.
how I dynamically resize the images that are loaded into Flash. I want to resize the window in which they are displayed, so a 400x400px photo will display at 150x150px, for example. If you want tobut don't feel like checking out the tutorial,me know and I will fish out whatever code I think this solution would concern.
i have a MC that load another MCwith an XML photogallery and i was wondering how could i control externally this gallery.Basically if i want different button of the MC to control the MC with the xml photogallery , example i want button 3 to load the xternal gallery.swf and to load image 2 from the xml...i know is confusing and i am not even sure if it can be done.
How can I edit the script here to resize the image's height and width if it is bigger than the stage's height and width? I tried to do so my self, but it wouldn't work.
Wondering how simple it would be to specify a background color in the xml file for each image.That way you could have the background of the movie to fade from one color to the next to match the image displayed.Probably like ...
Trying to get my head around all of the variables, functions, etc. Anyway, I want to modify the Kirupa photo gallery AS <http:[url].... to have my movie go to another movie or scene after the images have been viewed one time instead of playing through the array over and over. Printing out the AS and going through my references I am getting an understanding of what things are doing.
Im doing a small PhotoGallery but it throws me an:
Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type.
The code in really simple but I really don�t know what this error means o what is the reason because it pop ups.
Code:
var photoRequest:URLRequest = new URLRequest() var photoLoader:Loader = new Loader(); photoLoader.addEventListener(MouseEvent.CLICK, unLoadPhoto); function unLoadPhoto(evt:MouseEvent):void
I've downloaded a prebuilt gallery .fla (570x350) from this lesson I don't understand where to fix it to adapt on my site.I've copy the fotograms and the AS3 code from the original file and paste on the mine(I've used only 10images), it works, but I don't know where I can fix this problems:1) the gallery is over the menu and I would like to fit in the center2) if I click on the image (randomly) the result is the same, I've the pic over the menu, and I would like to center
Can someone show me how to make this sort of photo gallery on flash.[url]...
after clicking on this link, select family and click the link saying 'click to view harshith and amita's family photo'. From this, you will see the photo gallery which i will like to design
This is kirups great tutorial to make a vertical gallery along with a slide show. Normally this is fine but I find one problem here. When I clicked any thumbnail it will load the respective big image but the slide show portion is disturbed and it is not maintaining the correct numbering after clicking thumbnails.
What I mean to say if I clicked No Six thumbnail it will load No Six big image and we hope that after that it will load No Seven, No Eight and so on as a part of Slide Show, but that does not happen all time there is some skipping of numbers in the big images after clicking the thumbnails.
I posted the Code below. make the No sequence to big image proper after clicking any of the thumbnails.
Code:
stop(); delay = 5000; function loadXML(loaded) { if (loaded) {
[URL] the tutorial above worked fine for the standard images kirupa used, all were 300x200 and faded into position perfectly, however if another picture is used that's the same size even, it won't load, nor will it load if the same images kirupa used are edited with the tiniest pixel changed. i know it's definitely not the hyperlinks in the .xml file.
I am trying to modify the AS for the buttons so as to continuously scroll through the images rather than stop at the last image and visaversa. In the following modified code I have managed to get the last image to run to the first but When you click the previous button on the first image you have to click it twice before it goes to the last image.
Code: function nextImage() { if (p<(total-1)) { p++; if (loaded == filesize) { picture._alpha = 0; [Code] .....
I would like to have a photogallery which instead of one picture at a time will display three pictures. take a look at the attached image to get a better idea about what I need.
I have a question regarding the photogallery tutorial on this site. Currently, all tutorials related to it (including adding of thumbnails) is written in such a manner that they assume all photos would be of equal size ie 300x200.
However, I do not have any such luxory and am stuck as I am not able to get it to work here.
The code is more or less related to the following We are doing a picture.loadMovie() to load the external jpeg.
Now, how do we make sure it's always in the center and has maxWidth as 300 and maxHeight as 200? ie, if width > 300 then width = 300 and height = proportionate to 200 and so on?
I am not able to capture the height and width of the "picture"
i'm using the XML photo gallery (with vertical thumbnails, instead of horizontal)..and i have an issue that i'm trying to resolve.whenever i scroll up or down and move off of the thumbnails, the thumbnails continue to scroll. i would like the thumbnails to quit scrolling once my mouse is off of the thumbnail area.
I'm making a photogallery exactly like kirupas for a client.I have one text box named desc_txt. The description text for each photo will be loaded into that one box from the XML file. Some of its 2 or 3 paragraphs or in a list. Is there any way that I can have a bulleted list or bold only part of the text or make one word a different color? without having multiple text boxes?
I have made a Photogallery in Flash, which displays one image at a time using the tutorial on this website. Now I want the user to be able to cycle through the images using the Mouse Wheel (scroll up = display previous image, scroll down = next image).Heres what Ive got so far:
Code: Mouse.addListener(mouseListener); var mouseListener:Object = new Object();
For the last couple of weeks, i've been trying to develope an interactive yearbook for my school. Im using an external XML, and trying to push all the data in the xml to assigned arrays. Also im trying to use a for loop to create empty movie clips. This empty clips will serve as "pages" if the total number of students is greater than 25. Also, on these pages im trying to attachMovie to a specific x, and Y, as you'll see in my source code.
Other than that, i can not figure out where im going wrong.When i first try to publish it, it gives me an error saying that the path is undefined, and will not load ANYTHING. if i make a few changes, it just sits there blanky.
im trying to merge this idea into the xml photogallery/slideshow.problem is that the example transition has 3 different movieclip loading individually their xml pic . while the xml slideshow/photogallery has one blank movieclip which is named 'picture'.the transition uses
every time the button is pushed, covering the previous movie with another movie to create a nice mask/transition.problem is how can i make 2 blank movieclips exchanges depth at the same time while they are loading xml images so their asking/transition is nicely done covering any previous pic that is loaded. the xml slideshow/photogallery has only one movieclip that loads the xml pic, which is really giving me a difficult time as a beginner/novice.