ActionScript 3.0 :: Upload Image File In Adobe Flash Builder 4?
Mar 23, 2011We are trying to create a label maker. We have most of the functionally done but can't figure out how let a user upload a file.
View 0 RepliesWe are trying to create a label maker. We have most of the functionally done but can't figure out how let a user upload a file.
View 0 RepliesI recently developed an Adobe AIR App, for uploading images to a Facebook User's Album,which worked well! But now, as I tryed to migrate the AIR App to an Flash App, which is supposed to do exactly the same, I am experiencing one problem:
Actually everything works fine: The App Initialization, The User Login & Permission (establishing a session), BUT: Once i make the call for uploading a BitmapData, I do NEVER get ANY response / the handler does never get called:
var values:Object = { message:'This photo was created by ProFileIzer', fileName:'filename', image:new BitmapData(50,50, false, 0xFF0000) }; Facebook.api('/me/photos', handleUploadCompleted, values, 'POST');
There is also a Flex sample provided, which I am not able to test, as I am using Flash. So if someone smart got any idea, or probably could test if the sample works..[URL]...
I'm trying to upload a file with Flex to Minus.com
The API Reference explain the upload with this example:
POST /api/v2/folders/0FQHJakL/files?bearer_token=[token] HTTP/1.1 Host: minus.com Content-Type: multipart/form-data;
boundary=----WebKitFormBoundaryxECY8varBqIXZW4f Accept-Charset:
UTF-8,*;q=0.5
[Code]....
I'm trying to figure out how to upload an image from my computer into my flash file.
I want to create a button that opens up the computer director, you look for the file, then upload it as a graphic into the .fla file.
I am building an Adobe AIR app and integrated an FTP client for file transfers. But I found out that maximum file upload size is 100 MB. I need to transfer bigger files
View 1 RepliesI have a flex mobile application that I am working on that I am having issues with selecting an image from roll/taking a picture. My application is not tabbed, however one part of it contains a Tabbed View Navigator with tabs across the bottom. Within one of those tabs, I have the ability to upload an image to a webservice that I have created. However, when I select an image or take the picture, it pops back out to the initial splash screen and the application restarts. If I use the component standalone (outside of the tabbed view navigator) it selects the image and uploads without any problem.
[Code]...
Any best way to upload the image file by using Flex 4 and PHP. I have searched online but most of them are using Flex 2 or older version. I am just curious if there are any new ways to do it. I just found a good one here... [URL]
View 1 RepliesI was trying to upload image to server in mxml. I tried using FileReferences and as a byte array but nothing worked out. ka
View 1 RepliesI would like to use my localhost database and some PHP in my Flex projects (using Flash Builder 4). I've searched on the web for some good tutorials, but couldn't find one. The only decent I found was this one, but I ran into a problem when trying to install ZendFrameWork.
Does anyone knows a good place to start learning using PHP into Adobe Flas Builder 4?
I recently came to know about the adobe flash builder with flex in latest release it supports to achieve the benefits of flash for iOS apps.As i am looking for a calendar based app,before taking the Adobe flash builder as a solution, i would like to be clear on the following queries.
What limitation is there of the ipa file generated from FB 4.5 as opposed to a core COCOA touch based solution What are the performance differences between the FlashBuilder app and natively built iPhone app. Is there any limitation of building a HTML5 based app given the calendar functionality apart from look and Feel.
I have list populated with different data from PHP and when pressed it opens a URL, but when I return to the list from the browser, it has the selection I made to go to browser still selected. So how do I reset the selection? By the way, its a flex mobile app.
View 1 Repliesif I can create a SWF in Flex WITHOUT using Flash Builder ?
View 4 RepliesI'm currently working on a chat with uploading an image and sharing it. The problem is I can upload and display the image but I can't share it to the other side. Here is some code:
[Code]...
(A script in this move is causing Adobe Flash Player -n- to run slowly. If it continues...) But I haven't found a posting where it is resolved. I am trying to provide my client with an upload script. What I have so far works on small files but results in the aforementioned error message on large files.
I saw a message a few days ago that talked about writing an onEnterFrame routine in a dummy movie clip that increments a counter, but there were no details about what that code might look like. I have tried several iterations of that logic to no avail. I know I am not the only one with this problem, and I do need to find a solution. I don't think that the server php settings are the problem.
[Code]...
I am developing an application for andriod and iphone in the Adobe Flash Builder,how can i make a button that when is pressed the phone(doesnt matter which phone) forwards the number to the phones dialer or makes it VOIP call
View 1 RepliesI already made a game with flash builder 4, and I want to provide an easy download for people that would rather play offline. Thing is, i use a folder whole structure to dynamically load content per level. Folder structure looks like this, not that it matters that much:[code]How should I go to distribute this? Should I just resort to make a zip file for the flash game and assume people know how to extract and open the swf? Is there any other way to port easily as an executable? Perhaps Adobe Air (not sure if this works though)?
View 1 RepliesI 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]...
I'm using SWFUpload to upload images without reloading the page (with a fancy progressbar too), this works fine when I'm on localhost (Wamp server), but it goes nuts when I try to do so on my real linux server (which is the only possible flag as far as I could see), it's running Apache2 and PHP5. As I said the front-end is fine (apart maybe from the fact it's flash).The back-end code is as follows:
SWFUpload_settings.js
var swfu_settings ={upload_url : "upload.php",
flash_url : "flash/swfupload.swf",
button_placeholder_id : "upload_flash",
[code]...
The only error that I get is from $_FILES['Filedata']['error'] = 3, 'Only part of the file was uploaded'. The destination directory does have 777 permission and you can see I made the required checks. It simply will not work, I have no idea why. Also, the files I tried uploading had no spaces in the filename, so that shouldn't fit under the issue 206 with SWFUpload.As far as I can tell it can be either due to the front-end SWFUpload or back-end server configuration.
P.S. no need to mention security, this is only allowed to be used by the server admin with external access anyhow, plus there's the front-end limitation on the files he can select (images). There was no point securing it further.
I want to load an swf into a flex 4 application in order to use its classes.
[Code]...
I receive the error: Error: addChild() is not available in this class. Instead, use addElement() or modify the skin, if you have one. at
[Code]...
I am using Flash builder 4 to both build and manage (via cvs) projects. In recent days my designer has been having trouble committing to CVS, leaving a project blocked. I have troubleshooted troubleshot tested CVS and it is working fine (others can commit and retrieve without a hitch).
in an effort to start from scratch - I have removed the flash builder application (dragging it to the trash, its a Mac) as well as using the uninstaller (which does not work as well as I would have thought), but on reinstall - all preferences are still there - CVS connection and all.
is there a file or set of files I can delete to reset all of the prefs for Flash Builder (built on eclipse if that helps)?
some good resource for getting started with Graphics API in adobe flash builder
View 3 RepliesEDIT: Reworked my code a bit and decided to throw out URLLoader in favor of the ile.upload() method.Now I'm stuck again >_<Here's the code I currently have, stripped down to bare-bones:When I drag-drop image files onto my app, here is the trace log that gets returned to me:
[object Document] called.
doDragEnter() called.
doDragDrop() called.
[code]......
Just wondering if anyone knows about the project I am trying to start, uploading images from flash using php is fine but wondering if anyone knows how to create dynamic xml from php and it takes all the image names from the same folder where those images have been uploaded. So we can load all the images in image gallery through xml into flash.
View 5 RepliesHow do i decrypt an aes encryted column when using flash/flex to display the table data? adobe flex connected using php connection class to mysql
for php, we would use aes_decrypt() however i am not sure how i can get flex to do this.
I have created Columnchart in Adobe Flash Builder.
Now I want to control that column chart with Slider. I want to change the column chart according to value of the slider.
my listener.onComplete = function(selectedFile:FileReference) is fired without any file in the upload dir. if the file is small and I wait a bit I can see the file (through FTP) coming up on the server, but most of the times the "onComplete" if fired without any file being saved.
can I add something to this php code to make sure the file is uploaded?
[Code]...
In a Flex Project, whenever there's an error, I fill in the error data into a hidden TextInput then show the control to the user. I want to make it so that after showing the TextInput, it will automatically hide itself after some time with a fade effect.
View 1 RepliesI wrote an app using adobe flash builder that makes an http data service call to a website.
When I build and launch the app it loads in my browser (the address in the broswer is C:Userspath omyapp.html) and works perfectly. However, when I upload the app to my website or even launch it from outside the project build directory, the HTTP service call fails with the popup
Security error accessing url
Destination: DefaultHTTP
Of course I googled this error and realized it may have something to do with a 'crossdomain.xml' in my web root directory. I tried this and it continued to fail.
Below was my crossite domain file
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="www.my_domain_for_http_service.com" />
</cross-domain-policy>
I'm using the free trial version of Adobe flash builder, but I do not see anything indicating that this has to do with the error.
Data from http service call is in xml format.
Adobe Flash Builder: How to make a function to play video starting from one second and ending in another? So I havein MXML simple video player tag. I need some function to play that video from second X to second Y and pause it. How to do such thing?BTW: we asume file is embeded into SWF.
View 1 RepliesI am using progressive streaming with VideoDisplay, the HTTP URL provided gets buffered completely even if I have configured it to start playing the video when the buffering reaches 20%, the trace message shows that the playing started(using mozilla /Flashbug+Firebug), but it doesnot show the video till the buffercounter reaches 100% How can I get the video stream to play at the 20% of stream.Code Segment where the check takes place
var loadedPct:uint = Math.round(100 * (event.bytesLoaded / event.bytesTotal));
trace('waiting...');
mainVideoCanvas.addChild(LoadingImage);
VidLoadingLabel2.text = loadedPct.toString();
[code].....