ActionScript 3.0 :: Create A Resizing Script For A Client That Is Allowing Users To Upload Photos?

Sep 24, 2009

I'm trying to create a resizing script for a client that is allowing users to upload photos through their site. SInce most of the photos will be huge this will help in performance. I've had some experience in the saving of a jpeg from Flash but I'm stuck with the scaling. I'm saving the uploaded file to the server. Reloading it into a movie clip, resizing it based on my desired sizes and then saving it back to the server in its new size. When I'm resizing I'm just using the scale properties to resize the loaded large image. When I get my bitmap data of the scale mc it's not taking the data from the scaled clip it's taking the data from the unscaled mc. So my data is basically the upper left hand corner of the original image instead of the whole image.
 
I've tried nesting the movie clips so that the top clip isn't scaled.I've tried duplicating the data from the scaled clip into a new non scaled clip and that doesn't work either.I've tried not using scale and just using width and height, doesn't work either.

View 3 Replies


Similar Posts:


Flex :: FacebookDesktop.fqlQuery Does Not Work When Trying To Retrieve Users Photos

Nov 2, 2010

When attempting use the the Adobe GraphAPIDesktop library for use with Adobe Flex and AIR I can login to Facebook and retireve wall posts etc ok using FQL or Graph API calls. When attempting to retrieve users photos I can only get tagged photos when using "me/photos". I am trying to use FQL whcih should work, but when using:

var query:String = "SELECT pid, aid, owner, src, src_big, src_small, link, caption, created, modified FROM photo WHERE aid IN ( '1622751608028', '1207785754141' ) ";

FacebookDesktop.fqlQuery(query, getPhotos2);

Only an empty OBject is returned from FB?

View 1 Replies

IDE :: XML - Allow Client To Add / Remove Photos In Slideshow

Feb 2, 2009

I am building a simple photo slideshow and I need to create a way for the client to remove and add photos to it (w/o opening and editing the .fla). Can this be done with XML? Where I use a small line of script to call a series of photos according to the numbers appended to the photo file names.

View 1 Replies

ActionScript 3.0 :: XML For A Slideshow - Client To Remove And Add Photos To It?

Feb 2, 2009

I am building a simple photo slideshow and I need to create a way for the client to remove and add photos to it (w/o opening and editing the .fla). Can this be done with XML? Where I use a small line of script to call a series of photos according to the numbers appended to the photo file names.

View 3 Replies

Upload Multiple Photos Like Facebook?

Feb 26, 2011

Anyone know what tool does facebook use for uploading multiple photos? It is so neat!

It look like they are using flash uploader? If so, which one out there has similar to that?

View 2 Replies

Flex :: Drag And Drop Photos From Desktop Web App To Upload Them?

Oct 28, 2010

I use Flex 4 wish I can let users drag/drop photos from their computer to the web app to upload them automatically.

View 2 Replies

Flash :: IDE - Cs3 Independently Upload Photos To Server Without Serverside Script?

Aug 12, 2009

I need to develop small flash aplication which will upload photos, videos and other files to server. But is it possible to upload these assets without serverside scripting like php or coldfusion? I mean that flash should independently upload images to server. Is it possible?

View 2 Replies

Web Development :: Web Development - Search For All Tagged Photos Associated With User Some Id I All Of Facebook Users?

Nov 3, 2011

I'm using the the Adobe ActionScript 3 SDK for Facebook Platform to get all the tagged photos of the current user. Is this possible?

I've tried this:

FacebookDesktop.api("/"+uid+"/photos",getTagedPhotosHandler);

But that only gets me the photos belonging to that user.

View 1 Replies

ActionScript 2.0 :: Users Are Allowed To Upload Images In The Site?

Oct 3, 2005

But the problem is, the users are allowed to upload images in the site, for which a a swf will be played with random animation ( or the animation they selectPlease find below the operations that has to be doneEg. The member is allowed to upload the images and they can also select the list of animations from a dropdown list. when they click "next", they will see the image uploaded with the selected animation. In the next page, they can download the same as a screensaverPlease let me know, whether any tool is available to convert the SWF to screensaver dynamicaaly in a web itself. I knew that there are lot of tools available to convert the swf file to screensaver. But that all will work offline as a desktop application for which we need to give the swf as input. But in my case, everything has to be done dynamically

View 1 Replies

Media Server :: Share The NearID Of Connected Client To Other Users Without External Tools?

Oct 11, 2011

i'm working on simple videoconference app with fms 4.5 for developers. Version without p2p works fine, but now i'm trying to enable p2p feature. How can i share the nearID of connected client to other users without external tools?

View 2 Replies

ActionScript 2.0 :: Client Side Image Resizing

May 4, 2006

Is flash capable to resize images in clients computer and then upload them?

View 6 Replies

ActionScript 3.0 :: Client Window Resizing Fuction

Jan 11, 2010

I have this snippet of code that allows the content of my stage to move along with the resizing of my browser window.It seems to work fine for the x coordinate, but when I resize the browser window vertically the movieclip doesn't move with the browser window, and eventually disappears.Why is this working horizontally and not vertically?[code]

View 1 Replies

ActionScript 3.0 :: Allow Users To Upload Images (jpg) In The Flash (.swf) From Local Computer (with The Drive C)?

Jun 30, 2009

The user loads the page HTMl file .swf. By clicking on button_mc the user can select from your computer (local disk) image file to upload not on the server and temporarily - to flash - the file.

[code]....

Below given code works only if the image file .swf are in the same directory (folder).I know the file name, but I can not find the full local path to his computer to the selected file.

[code]....

How do I get my site you can download at home in my swf file to a photo to her dalsche work?

[code]....

View 1 Replies

Get Video Dimensions Before Upload Client-side?

Feb 8, 2011

I have an upload form for an video. The user clicks browse and selects a file. How can I get the video dimensions the moment the user selects the file (before the file is even uploaded to the server). It obviously has to be something client-side with maybe javascript/jquery or flash/flex (prefer js//jquery though), but can either of them do this?

View 1 Replies

Javascript :: File Compression Before Upload On The Client-side

Dec 4, 2011

Basically I'll be working with large XML files (approx. 20 - 50 MB). These files needs to be uploaded on a server.I know it isn't possible to touch the files with javascript, nor to implement HTTP compression on the client-side.

My question is that if any solution exists (flash / action script) that compresses a file and has a javascript API? The scenario is this:

Trying to upload 50 MB XML file Before upload a grab it with Javascript and send it to the compressor.Upload the compressed file instead of the original one.

View 4 Replies

Javascript :: Multiple File Upload (client Side)?

Jan 5, 2012

I'm looking for multiple file upload component with alternative ways.I need HTML5, Flash and normal upload support, depended by device.I don't like FancyUpload, because it uses mootools and mootools is very big library.Also I can't use jQuery, because I'm writing on Ext js and it's not good idea to use two big library like jQuery and Ext js.

View 2 Replies

Flash :: Test The Upload Speed Of The Client Machine?

Feb 26, 2012

I need to test the upload speed of the client machine in AS 3.0. So I thought to upload an image that embed to swf, to server without user interaction.

View 2 Replies

ActionScript 2.0 :: Resizing The Window - Photos Will Popup In A Fullscreen Window

Apr 25, 2008

Go to [URL]. Click on "The Photos". It will pop up in a fullscreen window. Try resizing the window and you'll notice that the background is vector and it looks like the scale mode is set to "showAll". BUT, the photos look like they have a separate scale mode set to "noScale". They don't resize.

View 2 Replies

Flash :: "choose Files" Button Not Work In Wordpress 2.5 When Trying To Upload Photos?

Mar 25, 2010

I've got Wordpress 2.5 installed on my website. It works well, but I can't get the photo uploader to work. When I'm writing a post, I click on the "Add media" button. In the "Choose File" tab, I see the "Choose files to upload" button. When I click on it, nothing happens. I searched the net and found nothing helpful. One page vaguely mentioned having the latest Flash player. I verified and confirmed that I have the latest player.

View 2 Replies

Valid Strategy For Secure Image Upload From Flash Client?

Apr 27, 2010

I'm creating a flash application that will post images to a url for saving to disk/display later. I was wondering what are some suggested strategies for making this secure enough so that the upload is verified as coming from the application and not just some random form post. Is it reliable enough to check referring location realizing that I don't need bulletproof security, or perhaps setting authentication headers is a better strategy even though it seems unreliable from what I have read. The application and the server script will reside on the same domain and is in java - is there a way to check for a 'session' or something like that?

Another thought I had was some sort of simple hashed key type system, I could hard-code a key into the flash application and pass something to the server based on that - the server would also know this key and be able to verify if the value passed was based on that? The app is a public app, so authenticating users is not an option. After more research I am thinking about using a hard coded salt key on both ends, then sending an MD5 hash of the base64 encoded image bytearray+salt to be matched on the server side.

View 1 Replies

ActionScript 3.0 :: Upload And Download A File From Client Machine To Server

Jan 22, 2009

How to upload and download a file from client machine to server.

View 1 Replies

Javascript :: Image Dimensions = Client Side After File Upload Selection

Feb 8, 2011

I have an upload form for an image. The user clicks browse and selects a file. How can I get the image dimensions the moment the user selects the file (before the file is even uploaded to the server). It obviously has to be something client-side with maybe javascript/jquery or flash/flex (prefer js//jquery though), but can either of them do this? This is the code I'm using to tie into zozo's getImgSize() function, but it gives me 0*0 as size.

[Code]...

View 1 Replies

Javascript :: Component To Upload Multiple Images With Client Side Crop

Mar 5, 2011

I'm looking a quick way to add an (multi) image unloader with client side crop to an ASP.NET MVC site and for some reason the search seems to be much more complicated than I thought upload image (can be via form post or custom, just has to work with ASP.NET)custom crop possibility before upload (preferred) multiple images at once It doesn't matter if js/jquery, silverlight or flash is used, it just has to work, its an internal application and I can force people to have the necessary plugins installed.

[Code]...

View 1 Replies

Upload Binary (audio) Data From A Flash Client To .NET Server (WCF/REST/HTTP)?

May 5, 2010

I originally tried to capture, encode and upload the audio using Silverlight, but because of the lack of suitable client-side encoding options, I'm now giving Flash a shot (Flash has baked-in support for encoding to Speex).I think I've figured out how to capture and encode the audio... But now what was easy in Silverlight, is the challenge in Flash.My server-side is .NET: MVC2-I'm open to receiving the audio in whatever manner is best- REST, WCF..So that's my question: How could one upload binary data from Flash, to a .NET server-side endpoint

View 1 Replies

ActionScript 2.0 :: Create A Button That Talks To The Movie Clip Allowing The Pictures Being Loaded?

Apr 25, 2003

I have created a gallery that loads pictures from the server into a movie clip within Flash MX. This works fine. Now I have been asked to take those pictures that load dynamically and allow them to be a static image so that they can be clicked on enabling the user to view them at an enlarged state.Can I create a button that talks to the movie clip allowing the pictures being loaded to pull a pop up window enlarging it?

View 3 Replies

Actionscript 3 :: How To Create Pagination Photos

Jan 20, 2011

I'd like to integrate a pagination in photo gallery project.Ex: << previous 1 2 3 next >>Let's say I have 13 photos and want to display on each page first 6 photos. So in total, I must have 3 pages of 6 photos each and each page number is clickable to display the maximum of 6 photos...How would I proceed the right method?Here's what I though:

var totalPhotos:uint;
var maxNumberThumbPerPage:uint = 6;
var totalPage:uint;

[code]......

View 1 Replies

ActionScript 3.0 :: Build A Gallery Of Photos Which Has Selected Thumbnail On Each Of Them Before Displaying Their Photos?

Nov 13, 2010

I'd like to build a gallery of photos which has selected thumbnail on each of them before displaying their photos.

Ex: photo.xml

Code:
<gallery>
<photo id="1">
<thumb>pics/thumbnail/img_001.jpg</thumb>

[code]....

View 9 Replies

ActionScript 3.0 :: Build A Site That Would Give Users The Ability To Upload A Picture To A Picture Frame?

May 12, 2010

I am trying to build a site that would give users the ability to upload a picture to a picture frame on my site. I would like AS3 to dynamically re-size, and upload the file from an upload bar under the frame.

View 1 Replies

Flash :: Capture A Users Webcam In Flash And Directly Upload It To YouTube Without A Backend Server Setup?

Apr 11, 2011

I would like to know if it's possible to capture a users webcam in flash and directly upload it to YouTube without a backend server setup. Or if there are any third party providers that support this service. I see YouTube offers a live streaming API, but it seems it's only available for selected users.

View 1 Replies

ActionScript 2.0 :: Create A Flash Animation To Show Those Photos?

Aug 10, 2004

I have sum photos which I suppose to create a flash animation to show those photos but I'm not good in flash and have no idea what to create... As I have quite alot of photos, so I cant use frames onli. Give mi sum suggestions or any free example tat I can download?

(PS. It must be auto-play without user to click anything or to mouseover)

I'm using flash mx 2004 and sorry if I put in the wrong forum....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved