ActionScript 2.0 :: Photo Album - Import / Call The Pics(all Are .jpg) To The Stage While The Projector(movie) Is Playing?
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?
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?
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?
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]...
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?
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 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.
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
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+); }
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.
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]
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?
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].
I'm trying to make a photo gallery that loads the pics in as swf's, and was wondering if there was any way for flash to detect the number of files that are in a particular folder on website (also the names of those files).
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?
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] .....
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.
Is it possible for action script to import audio files into the flash movie while the movie is playing. (Instead of manually importing a file from within the flash application) Or some way to load an audio file located at a remote url, that is not preloaded, and play it.I've searched through the action script reference guide, but have found nothing to do the job.
I am using the kirupa xml foto gallery and I am loading different sized images... if they would load nicely centered the problem is solved... (not to stage width/height..!!) The movieclip "picture" has to load the images centered from its own registration point so that it can be placed anywhere on the stage.... now its loads the images from aka left top...
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 ()
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
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
I am importing a picture in flash and i found out that there is a difference between importing to the stage, and importing to the library... [URL] I've placed both picture close of each other and if you look closely, you'll notice that one of them is losing some resolution. Both picture come from the same file, a png. The picture imported to the stage is sharper than the one imported to the library. is there a way to import that picture to the library without losing any resolution?
I`m using flash cs3 for my works , but i have one problem!when i use File=> Import=> Import to Library... or Import to Stage...the flash environment becomes terminated.I changed my flash version to CS4 and I have this problem again.
I'm dynamically calling pics in from another folder on my site for a slideshow. And it works up to pic #9. But any number over 9 and it wigs out. The naming convention I'm using is panel1, panel2, panel3, etc. Is there a trick? Do I need to use panel01, etc? If so, would that then be panel010 for #10?
So im working on a game, and i have a mvoie clip of class cPlayer in the library, i also have a class cUser which is an object of a user in the game.
i have an array of users,and have user[0]:cUser = new cUser() loaded when the game starts, which allows me to keep track of that user.
how do i make it so that upon initialization of a cUser instance, it loads an instance of cPlayer (a movie clip in my library) onto the stage, and also control that movie clip from within my class?
is it possible to have each cUser instance control its own cPlayer, or does there need to be another array to keep the cPlayers also?
XD im still trying to wrap my mind around the flash class strucutres.
I have experience uploading images with php and using them in flash but I have a client that wants one of these applications to run locally from a exe where the user picks an image off the harddrive. Is there a way to select the image and then bring it in without uploading it to the server?
I`m building a photo slide projector that calls a function using setInterval. But after the tenth call (about after 50 sec) the flash player stops working and crashes.On the first frame of the main timeline I set the following code:
Code: // comando para fullscreen fscommand("fullscreen", "true"); fscommand("allowscale", "false");