ActionScript 3.0 :: Save Screenshot (bitmapData) To Iphones Photo Album?
Nov 1, 2010Is it possible to save a screenshot (bitmapData) to the iphones photo album? Kind of like fileReference can in a browser?
View 7 RepliesIs it possible to save a screenshot (bitmapData) to the iphones photo album? Kind of like fileReference can in a browser?
View 7 RepliesI made this dress-up type game, and have been trying to figure out how to let the user save an image of their creation. I've been researching and figured out I need to use bitmapData.draw and fileReference.save in the actionscript somewhere. The only problem is I want this to be a standalone .swf if possible. The 'game' is here. This is part of my code:
[Code]....
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]...
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 RepliesI 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 RepliesBeing 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]...
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 RepliesJust as the title says.. I am trying to make a Photo Gallery with a Horizontal Scrollbar,
View 0 RepliesBeing 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 RepliesI 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.
View 8 RepliesI 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 RepliesWhat 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].
View 1 RepliesI am trying to snapshot a movieclip at X and Y by WIDTH and HEIGHT. All is fine, it snapshots fine and gets the width and height, but I can't adjust the x and y position for it to begin the snapshot at. I tried using a Matrix and its Matrix.translate() method, I tried moving the scroll beneath the draw method line. I don't understand how to get this thing to move.
[Code]...
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 RepliesCan 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.
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
View 3 RepliesI want to save a screenshot of my flash application at the highest resolution as possible ( 300 dpi or more).[code]...
Do you know how to improve the resolution ? Is there any encoder that can make higher resolution pictures ?
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]....
On my website people enter, watch a live stream from a remote server (not my server) and when they click on a button it report it to me and what I want to add is the ability for me to take a screenshot of this stream at the very moment when they click that button and save it on the server. They question is how to implement so? Now I just have that stream in an Iframe that shows it as a .swf object Possible solutions I thought of but don't know whether will work are:
Embedding this Iframe inside a flash object that I will create. That means that on the website the users will see a flash object I created that all it does is to show the stream from an url I give it and when the user clicks on a button inside the html it will send the flash the command to save the screenshot now and then save it on my server (don't know how to implement it, so the second question is, if you think it will work, how to do so?).Second solution is to have an open browser on my server that when the user clicks the button, I send an ajax request to the server that will then order the browser to take a screenshot and save it locally on the server. (again, if you think this solution will work, tell me how to implement so).
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 Replieshow can i take a screenshot from flash and save it to disk using php or whatever.
View 3 RepliesI got serious issue while using adobe flash media server (I have media server streaming license). It doesn't allow flash clients to make stream's screenshot (with BitmapData.draw) because this is restricted from server side by default. I found that this trouble can be resolved my updating main.asc file but it seems like replacing main.far with mine main.asc causing error. Could you please help me with resolving this issue because it's extremely important to allow this screens making for user.I used CentOS 5.3 and FMS 4.0.1 r2009 (instaled in /opt/adobe/fms include Apache 2.2). All video is stored in a directory /opt/adobe/fms/applications/vod/media and I put the main.asc file in the directory /opt/adobe/fms/applications/vod/ from the directory /opt/adobe/fms/samples/applications/vod.
View 5 RepliesI need the user of my Flex application to be able to save a snapshot of part of the UI to a local jpg file. I got the screenshot part down - can generate an image out of any given control. However, the only way I see to let the user save the image locally is to send to my server which would return it with the appropriate Content-Disposition.
View 2 RepliesSaving a BitmapData to a file? [code]...
View 1 RepliesIn Flex, I am using graphics.codec.JPEGEncoder to save image files that are edited inside application (normal manipulations like brightness etc.) I am able to save files perfectly. What I want to know is that is there any way I can save the image with a better dpi? Say, for instance the image that is loaded and manipulated was originally of 72dpi, now can I save it with a dpi of 150 or 300 ? If so, how to do it.
Doesn't have to be using the JPEGEncoder, if there's any way to do it at all, like using any library etc, I am okay with it.
Note: If it matters, I am using Bitmapdata to store the image and manipulations and saving the image with JPEGEncoder by supplying it's data as bytearray like below.
var imageBytes:ByteArray = encoder.encode(myBitmapData);
Is there any tutorials out there that would show me how to access the iPhones GPS location?
View 1 Replies