ActionScript 2.0 :: Resize Uploaded Images In Flash Or Php?

Apr 8, 2006

I am creating a website where people can upload images to my server.

These are then downloaded by a seperate flash file.

Is it better to resize the images using Flash or PHP?

I have tried a php resize script, but the images seem to lose quite a lot of thier quality.

Where as flash it looks a bit better, when I just resize them using _xscale

Also I have the problem, it would be nice it people could upload whatever size (memory or dimensions) image they want then php resizes it and it's all good.

As in Flash I may have to be downloading huge image size, which slow down the transfer..

However I don't want to lose the images quality and I suck at PHP but I'm okay in AS.

View 3 Replies


Similar Posts:


ActionScript 2.0 :: [CS3] External Images Uploaded To Flash?

Feb 11, 2009

I previously had all those images in the library. They were attached to a father clip with attachMovie(), and next they were placed and resized somewhere on the stage. Everything was correct.So, in order to create a lighter SWF, I decided to do external loads. I need these clips to be resized and placed once they're on the stage. I thought loadMovie() wouldn't be a good option because the resize would happen before the clips were loaded, and so they wouldn't be resized. So I thought of using the MovieClipLoader class, with its loadClip() method in order to load every image into empty movie clips, and perform the resize inside the onLoadComplete event handler.

View 2 Replies

ActionScript 3.0 :: Load Never Completed When Uploaded Images In XML

Jan 22, 2010

I have made this very simple slideshow which loads images via a XML file. Everything works fine locally, the images load nice slideshow. But the problems start when I load it up to my server, once it is uploaded and I try t o play it I get this error:
[QUOTE]Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.[/QUOTE]

It has something to do with the .xml file which I load in AS here:
var request_xml:URLRequest=new URLRequest("setup.xml");

I tried to replace it with ("[URL]") but then I got a sandbox violation error which is not solvable unless you get it signed (I read that somewhere). The way I load images in XML:
<SLIDE_SHOW>
<PICTURE>ImagesBw/Foto1.JPG</PICTURE>
...
</SLIDE_SHOW>
[URL]

View 5 Replies

Actionscript 3 :: Converting Uploaded Images To PNG With PHP Script?

May 13, 2011

I've got an upload button I've made in Flash that links to a PHP script and I was wondering if there was any way I could convert all the images to PNGs as the user uploads them?

<?php
if (move_uploaded_file($_FILES['Filedata']['tmp_name'],
"Parts/userdata/" . $_FILES['Filedata']['name']))
{

[Code]....

View 1 Replies

ActionScript 1/2 :: Make Uploaded (xml) Images Movable In A Website?

Feb 3, 2010

I need to make my the images in my website movable. I found this [URL] but I just need a simple and easy version.

View 3 Replies

Professional :: Make Uploaded (xml) Images Movable In A Website?

Feb 3, 2010

I need to make my the images in my website movable. I found [URL].. but I just need a simple and easy version.

View 3 Replies

ActionScript 3.0 :: SWF Not Loading Xml Data / Images When Uploaded To Site

Aug 30, 2010

I just uploaded my exported swf to the site for the first time and it's running the movie but, either not reading the xml file or reading the xml and not loading the images.

View 1 Replies

ActionScript 3.0 :: Resize Images In Flash To Fit Stage?

Jan 7, 2010

I am starting flashagain after a long time and found a good simple flash slide show action script.

the only problem is i have images that are bigger than the stage that i would like it to resize proportionately and than fit the stage

eg the stage is 542x175 and the images are 823x220

here is the code

Code:
// set random # variables - each must be 0 for first 'while' loop below
var randomNum = 0;
var randomNumLast = 0;

[Code].....

View 1 Replies

Professional :: .flv Will Not Play Once Uploaded To Server But Plays Fine Before It Is Uploaded

Aug 6, 2010

I have a flash template that I bought and customized with dreamweaver, flash and Coda html editor, the website test PERFECTLY when I test the index.html file, all of the buttons work fine, I have a total of 12 .flv videos and they ALL play back fine, when I play the index.html file, the problem occurs when I upload the files to my godaddy server, 11 of the videos play fine, the whole site is fine, it is one particular .flv file that will not play once it is uploaded to the server. I have changed the orders the video play, renamed the file and changed the html flv path to reflect the name change, I have deleted all the files off my server, refreshed the server logged out and re logged on and uploaded everything again, I have re-encoded the original .mov file to a .flv file again using Adobe media encoder, still nothing, I am wondering why would the index.html play this particular .flv file fine, but once uploaded to the server it will not play, the path is correct I have checked it, if the path were the problem the index.html for that particular file would not play when I test the index.html file before I upload it, but it plays fine until it is uploaded, I am uploading the whole folder on the root, and this particular video file is in a folder with all the rest of the .flv files, I even tried changing the path and putting this particular .flv file in a seperate folder and change the path still nothing.

View 7 Replies

Jquery :: Flash - Looking For Plugin That Resize Images Before Upload?

Feb 11, 2010

i'm looking for a jquery plugin that can upload multiple images.I've tried uploadify and it works well.But with huge images it's very slow

View 5 Replies

XML :: Flash Gallery - Load Images Through XML And Resize For Thumbnail

Aug 25, 2011

I have a flash image gallery that loads images through xml. Images have to be croped for thumbnails. So u have to have two folders, one for the thumbnails an another file for the big size images. I would like to know if there is a way to load only one image ( and not this image's thumbnail too) and with a script or something, to resize this image to get the thumbnail. To make my self clearer here is the xml code:

image../gallery_flash/imageGallery/images/watches/i1005.jpg image
thumb../gallery_flash/imageGallery/thumbs/watches/i1005.jpg thumb

(For some reason it doesnt show the xml right...) I dont want to have the line (thumb>../gallery_flash.), but only load one image and get the thumbnail also.

View 1 Replies

Flash :: Resize Loaded Images When Switching To Full Screen?

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

JavaScript :: Flash - Resize / Rotate And Crop Images Then Save Online

Dec 3, 2009

Which is a better approach for this?
ActionScript3 or JavaScript+PHP?
Any open source tool?
After a long search, the only good example I found was this [URL] but I'd rather have a flash alternative.. Also I don't need all the extra functions such as filters.

View 2 Replies

ActionScript 2.0 :: [FMX2004] Resize Images In Flash To Fit The Masked Area But Proportionately?

Jan 24, 2006

Basically I'm trying to resize images in flash to fit the masked area but proportionately....

My mask area is:

Code:
width = 478;
height = 420;

now consider that the the max width I want my pictures to be. This doesn't have to be exact. Now what I came up with to resize proportionatly is:

Code:
//width & height are my mask deminsions ( which i wanna resize my pics to)
//width_orig & height_orig are the deminsions of each new loaded pic.
height = (width / width_orig) * height_orig;
width = (height / height_orig) * width_orig;

That does scale them proportionatly but some of the times it will resize a lil bit smaller than the image area which I don't really want. Like I said this doesn't need to be exact. I would prefer it to be a lil bit bigger than the masked area. I just need to make sure the pics are scaled proportionatly.

View 1 Replies

ActionScript 2.0 :: Carousel Resize And Add Images

May 17, 2010

I was wondering if anyone could give me some tips on how I can resize this carousel as in the canvas size and the images. The other thing is, what do I need to do to be able to add new images to the folder so they appear in the carousel? At the moment when I do this they don't appear.[code]

View 3 Replies

Flex :: Don't Resize Images On ItemRenderer

Jul 22, 2010

Which parameter should I put not to automatically resize an Image that is put on an ItemRenderer?

Ex (in which the image gets resized):

<mx:AdvancedDataGridColumn headerText="estado" dataField="estado" width="30"
editable="false" resizable="false">
<mx:itemRenderer>

[Code].....

View 2 Replies

Flex :: How To Resize Images (Bitmap) Using AS3

Jul 8, 2011

I am loading an image using a Loader. Once loaded, I can get the bitmap data using Bitmap(event.target.loader.content).bitmapData.
However since the images I am loading are quite large (around 2000 x 1600), I would like to reduce the size and create a new smaller bitmap maybe 200 or 300 pixels wide, sort of like a thumbnail. I think it has to do with creating a new BitmapData with the new size. However I am not able to get that working properly.

View 1 Replies

Actionscript 3.0 :: Resize Images Before Upload?

Jan 7, 2009

I am creating an upload tool for an image gallery. The swf uploads the files with filereference to a php files which resizes the images. But when the images are larger than 600kb it fails, php runs out of memory and I can't edit the php.ini file on the server.

So my solution is to resize the images before uploading them, this saves also bandwidth.

View 14 Replies

ActionScript 3.0 :: How To Resize Loaded Images

Aug 11, 2009

I'm trying to import images into a movieclip [URL]. I now have the image loaded but was wondering how to resize it using actionscript 3.

View 1 Replies

ActionScript 3.0 :: Resize Multiple XML Images?

Nov 17, 2009

I have a flash file that imports multiple images and places them on the stage. I want the images to be resized to the same, smaller size. However, the AS3 I am using is only resizing one of the images and hiding the others. My code is below:

Code:
var myXML:XML;
var myLoader:URLLoader = new URLLoader();
myLoader.load(new URLRequest("photos.xml"));

[Code]....

So how do I apply the resizeImg function to all images loaded from the xml file?

View 1 Replies

ActionScript 3.0 :: RSS Feed - Resize Images With CSS?

Jan 7, 2010

I am loading an rss feed into a dynamic textfield. I would like to resize the images from the posts so that they fit nicely within my textfield. Is this possible with css in Flash?i tried this

var css:StyleSheet = new StyleSheet;

var img:Object = new Object();
img.width = 100;

View 1 Replies

ActionScript 2.0 :: Resize Dynamic Loaded Images?

Aug 15, 2010

i'm trying to resize dynamic loaded images, they are loaded from a xml file into a existing movieclip in _root. When I try to resize using _height and _width the images just don't show in the swf. I searched the forum and found that _xscale and _yscale works, but I really need to resize the image with _height and _width

View 4 Replies

ActionScript 2.0 :: Can't Resize Images Loaded From MovieClipLoader

Jan 22, 2009

I've got a gallery that loads images in using MovieClipLoader. Unfortunately once the images are loaded they don't seem to want to be resized.I've added an empty MC to the stage for each one and loaded the image in, then I try to resize it to fit the screen. Tracing the size after the onLoadComplete event returns 0 and changing the size makes the clips disappear from the screen.

View 1 Replies

ActionScript 2.0 :: Resize Images That Are Loaded From Xml File?

Dec 31, 2009

I have a slide show script that will load images from an xml file. I want to have anyone upload images and the slide show will resize the picture to fit. Here is my script:

Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
xmlImages = new XML();

[Code].....

View 6 Replies

ActionScript 3.0 :: Resize External Images Loaded Into UiLoader?

Aug 18, 2011

Please help I've been researching this topic for like 2 days straight and it is driving me insane because I can't seem to find a specific answer for what I'm trying to achieve and I know it can be done because I've seen end results on the web. Here is what I'm doing:

1. I created a simple museum gallery with 3 portraits hanging on the wall
2. Inside the museum portraits I created 3 different uiLoaders with a black background
3. I gave all 3 uiLoaders their own unique movieClip names
3. Inside each uiLoader will be a loaded external image via a URL
4. I DO NOT want to resize the uiLoaders - I want to scale the external images proportionately to fit inside the entire contents of the uiLoaders and still remain centered

URL...As you can see currently the 3 random external images are loaded perfectly inside the uiLoaders but you see black background and I want the photos to fit the entire contents of the uiLoaders yet still remain proportionate.[code]

View 6 Replies

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

ActionScript 2.0 :: Image Gallery - Resize The Images, Not The Slideshow?

Mar 16, 2005

I'm working on an xml driven flash website where clients can modify an xml file directly to change the appearance of the site (eventually i'll make a flash/php dashboard GUI). The site will have listings each with a photo.I'm trying to find a way around having the clients have to crop images to thumbnail and enlarged view size themselves. In other words the images would be displayed scaled to fit within a movie clip.

View 1 Replies

Flex :: Flash - Resize Children When Parent Is Resize?

Jul 29, 2009

I have Buttons which I have rotated vertically within a Canvas, that is working fine. The problem occurs, when the user resizes the window to a small size a vertical scroll bar appears, I would rather have each button squashed upto a smaller size.

<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="40" maxWidth="40" xmlns:myComponents="myComponents.*"
horizontalScrollPolicy="off"

[code].....

View 2 Replies

ActionScript 3.0 :: Resize Function - Dragging Out A Series Of Images From An Xml File

Aug 2, 2010

I could use some help with my resize function, basically I'm dragging out a series of images from an xml file, loading them into my loader_mc, and tabbing through the records with my previous and next buttons with the use of some caurina transitions (each image is positioned of stage in the x coordinate). All works a doozy, but I'm stumped with the resize thing, What I'm trying to achieve is to resize all images produced from the xml array proportionally ...I can't figure out how to do this.

I would be very grateful for any tips, advice, solution etc...so that I can learn how to do this, no probs with as2...but need to forget about that now. I've attached source files for anyone ...code so far, the bit that I cant work out is commented

[Code]...

View 1 Replies

ActionScript 3.0 :: Menu Rotates The Other Images Resize And Get Smaller ... Continued

Jul 23, 2009

still progressing with the rotating menu, I am trying change the values so that I can position correctly but I can't seem to tweak it? as the menu rotates the other images resize and get smaller, I think its somewhere within the script that is doing this, I would like it not to resize as it rotates away from center. but I can't seem to find what is making it do this? is this making any sense, i have been changing these values, but not quite working; values I have been looking at on the circleMenu.as at line 38

[Code]...

View 29 Replies







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