ActionScript 2.0 :: XML Photo Album - Resize Images To Fit Any Screen?
Nov 13, 2009
Can I change the images (not the thumbnail) to fit any screen with this?
Here's the code
// SETTING VARIABLES
currentpage = 1;
_global.whichalbum = 1;
function scalerf(w,h){
diffw = (w-bigframew);
diffh = (h-bigframeh);
[Code] .....
View 3 Replies
Similar Posts:
Nov 28, 2010
I'm new at action scripting and found the outline of a script to use for creating a photo album. I was able to do most of what I wanted but unable to complete the final step and cannot figure out how to do it.
There should be 21thumbnails and corresponding full-size images available for viewing on the page below. Trace code confirms that 21 images in the xml file are called but the display in the scroll pane shows only the first 6, which is good, but there are no advancing buttons in the scroll pane to allow the viewer to go to the next image. How do I make this happen?
[Code]...
View 1 Replies
Aug 22, 2010
I'm designing my own website where I want to quickly organize photos into categories. Any recommendation on flash-based photo album (better free) that I can effortlessly insert into my website?
View 1 Replies
Apr 8, 2004
I want to create a photo album. I have 8 thumbnails (thumb_01, thumb_02 etc)I want, when the photo album opens up, the thumbnails to appear with a Interval of .7 seconds and to rescale them from width and height 0, to width and height 80, with an elastic movement at the end ( maybe that they get a little bigger before they reach their final width and height. [code]...
View 3 Replies
Jul 25, 2009
Being a newbie to this flash design and actionscript and self learning with the help of forums and tutorials I have create a simple photo gallery for a website I'm building. And all works fine. What I would like to do is add a list box to display different albums but I am having trouble with the actionscript and how to set out the XML file.
[Code]...
View 1 Replies
Jan 22, 2010
I created a photo album using XML and actionscript 2. When I test it out on my computer it works great. Just how I thought it would. But when I publish it and put on the server it decides to get a mind of its own. When the page loads the images will go in a random order but the title attributes I created stay just as it should. So basically image 3 will come up first and title 1 will be with it. I changed the the title to print the url that is being called and it will say the correct thing but show the wrong image. Heres the link -- [URL] Let me know if you would like to see any of my code.
View 11 Replies
Nov 10, 2010
Just as the title says.. I am trying to make a Photo Gallery with a Horizontal Scrollbar,
View 0 Replies
Jul 24, 2009
Being a newbie to this flash design and actionscript and self learning with the help of forums and tutorials I have create a simple photo gallery for a website I'm building. And all works fine. What I would like to do is add a list box to display different albums but I am having trouble with the actionscript and how to set out the XML file.I have attached a zip file with the images, XML and fla file
View 1 Replies
Apr 18, 2005
I wanna create a photo album. This is thumbs page.
Code:
for(i=0;i<2;i++){
this.createEmptyMovieClip("logo_mc"+i+"", 999);
loadMovie(""+i+".jpg", logo_mc+i+);
}
View 5 Replies
May 30, 2005
I've seen several tutorials for making a photo gallery in flash, but i am looking for a gallery which has to be updated by people without experience with flash. I am trying to make a gallery which can be updated by just replacing or adding files to a folder on a webserver.Besides this issue I want the name of the images to be displayed in a dynamic textbox when the user rolls his/her mouse over the image.
View 8 Replies
Apr 2, 2006
I found the tutorial on how to create a photo album with thumbnails using XML. However the only thing that i shows me is to create it with a scroller. I made some modifications to thinking I was going to be able to turn it into a grid but everything that I have tried is not working.[code]
View 5 Replies
Nov 20, 2006
What I want: The thumbnails for the gallery (but not the larger image) must be visible on all pages. When one of them is clicked, you will go to the corresponding larger image in the photo gallery.
What I've been able to get is this; [URL] (note: there are no pages other than the initial page and the photo album, its still a WIP)
It's close to what I want it to behave like, the only problem is that each thumbnail simply links to the full gallery .swf, which always starts at the first photo in the list.
I have thought of using a single .swlf and resizing the stage when a thumb is clicked, but thats not a very elegant solution. Besides, it might not even be possible.
Is there a way to make it so that when you click a link in the 'thumbnails only' swf, it will link to the corresponding large image in the 'full album' swf? Or is there maybe another way to approach this whole ordeal?
View 8 Replies
Oct 13, 2004
I used the Photo Gallery Using XML and Flash tutorial to begin creating a photo album. The start of my photo album can be viewed here: [URL]. What I plan to do is have several different "sections" that will load a different xml file when clicked (like the 3 categories listed - baby catori, first snow, second snow which I have started but are not yet functioning). What I have tried is adding a load movie to the text links, and this is working but the photos appear to load slower and it makes the fade appear somewhat choppy. You can see an example of what's happening here: [URL].
View 1 Replies
Mar 12, 2010
I'm using CURL to upload files to a service. Currently I'm getting the file content with $GLOBALS["HTTP_RAW_POST_DATA"] then save it on my server. After that, I'm using CURLOPT_POSTFIELDS with the file's full path. Is there a way to send the file content directly, without saving it on my server, as if I saved it? Or is there a way to upload a Photo from a flash app to facebook album, without saving it on the server?
View 1 Replies
Apr 8, 2004
I want to create a photo album. I have 8 thumbnails (thumb_01, thumb_02 etc)I want, when the photo album opens up, the thumbnails to appear with a Interval of .7 seconds and to rescale them from width and height 0, to width and height 80, with an elastic movement at the end ( maybe that they get a little bigger before they reach their final width and height. I have the following functions:
for setInterval:
Code:
function showClips() {
if (clips.length) {
clips[0]._visible = true;
[code]....
My problem is this: I miss the elastic movement in the scale function and I really don't know how to combine these two functions.
View 3 Replies
Nov 2, 2009
I have a swf that loads images from my server and resizes them to fit the 800x600 stage size. The original images are stored at 1024x768 max pixels. The user can press a button to go into fullscreen mode. What should I do to show the images at the best quality?
a) should I resize the loaded images to their max size (1024x768).
b) do I need to reload the entire image if it has been resized to 800x600 or is the original image still accessible and I can replace the 800x600 image with the original?
I am using AS2 and Flash 8 (but require users to have Flash Player 10 for fullscreen)
View 1 Replies
Nov 1, 2010
Is it possible to save a screenshot (bitmapData) to the iphones photo album? Kind of like fileReference can in a browser?
View 7 Replies
Jan 13, 2011
I am trying to use the media playback advanced photo album template and I am having an error. I have changed the directory for the photo's like the template says to do but the error I keep getting is:
ERROR #1088 : the markup in the document following the root element must be well form-ed.
at myfilename_fla: : MainTimeline/frame1 ()
View 1 Replies
Dec 30, 2009
how i would created a photo album/ slideshow type of thing. Where an arrow button is clicked to go to the next or previous 'emotion' each section will have a different emotion. I thought about gotoandStop and then the frame but how would i do this when they are only clicking one button and it will be going to around 12 different sections :S
View 3 Replies
Aug 16, 2010
I am trying to use the "simple photo album" template that comes with Flash Prof. CS5. I have it working except I want it to play by default. The actionscript that came with the template is below (in blue), but if I set var autoStart:Boolean = true; I get the following error and the controls do not work:
TypeError: Error #1009: Cannot access a property or method of a null object reference.at nt_fla::MainTimeline/fl_startSlideShow()at nt_fla::MainTimeline/frame1()
// USER CONFIG SETTINGS =====var autoStart:Boolean = false; //true, falsevar
[code]....
View 5 Replies
Jan 10, 2006
i want to create a photo album. i've created a folder and put pics inside the folder. is there any scripts that can import/call the pics(all are .jpg) to the stage while the projector(movie) is playing?
View 2 Replies
Apr 16, 2010
ive been looking for an example or tutorial on how to build a image gallery in AS3.0 i want to have a album/images structureso flash has to detect the albums, wich are first presentedand then after album selection u get the pictures.
View 3 Replies
Jan 30, 2005
How do i make site resize to a persons screen so that it fills their screen.
View 2 Replies
Feb 20, 2010
I want to create a photo gallery where the photos don't have to be the same size. I need the photo border or container to smoothly resize to accomadate each new image.
View 10 Replies
Apr 19, 2006
Im trying to load a startup photo from a folder "images" with Scottys re-size gallery script. Is there a way to load the latest edited (uploaded) file, from this folder?
I can't post fla since its too big.
View 1 Replies
Apr 10, 2008
Here's some great code I pieced together using this forum. I would like to add Play/Pause functionality to it.
photo_gal_fade_resize.zip
Code:
delay = 6000;
p = 0;
// ///////////////////////////////////
function loadXML(loaded) {
[Code]....
View 6 Replies
Aug 6, 2009
I need to create a full screen photo scroll / gallery like on the Tom Ford website, see link below know how to make the various parts stay where they need to, but I do not know how to create a scrolling photo gallery.I have looked through the site for ideas, or clues how to make a full screen version.
View 1 Replies
Jun 4, 2009
Everyone and their mother asks how to resize their movie to fit the users screen. However, I'd like to know how to resize the actual swf object to fit the movie's content--that is, if I have a movie that dynamically loads text/data into a [vertically] autosized textfield, how can i make the actual swf object expand to show all of that content, letting the browser's scroll bar appear/disappear?
View 3 Replies
Jan 29, 2006
I am thinking of having 2 diff. versions of images in an XML driven photo gallery. The flash movie is full browser (no scale) with elements that adjust to the size of the browser window. I'd like some of the images to be presented pretty large, but only if the user has enough screen resolution. If using a smaller screen, then it would display the smaller version.
Anyway to do this efficiently (yes I am prepared to upload 2 different versions of each image)? Or is this a bad idea with too much maintenance?
View 5 Replies
Jun 17, 2010
I am trying to get the background and main part of my website to scale up to the full size of the web browser when it is resized. [url]...
View 1 Replies