IDE :: Possible To Send Or Get An Image Or Swf Using Amfphp
Apr 12, 2007
i want to use amfphp to get a very long text so i want to be able to show the progress of the download with a preloader but i dont know how to do this, also i dont know if it is posible to send or get an image or swf using amfphp.
View 4 Replies
Similar Posts:
Jul 22, 2009
I have been looking everywhere for this solution:
How do you send data to a database using amfphp?
Do you need to use a php file or something? or is there a way of doing it another way? I'm not great with php..
View 1 Replies
Nov 19, 2009
I am creating some application in flex and one of my purposes is to read content of file and display it in flex. There is huge problem, when I have file written in polish (which contains some special characters) because amfphp transfers this contents few seconds, which is to long (reading and sending content of file without any polish character if fast).My php code reads any files fast, so problem is on amfphp side. Is there any solution or I have to go with HTTPService and load contents of file directly from flex?
View 1 Replies
Jan 3, 2010
I am new to php and specially AMFPHP, now all I am trying to do is send and Array to PHP using AMFPHP and get it back, but it returns "null";.
Code:
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class Main extends Sprite {
[Code] .....
View 3 Replies
Jun 5, 2011
I have a PHP image object created using imagecreatetruecolor(). I'd like to send this via AMFPHP to Flash. I understand the best format is using a ByteArray. How can I achieve this without writing the image to the disk?
View 2 Replies
Oct 19, 2009
I need to build a PDF using PHP to email my images (which are in flash) as an attachment.
View 8 Replies
Sep 8, 2006
I'm working on an image gallery, I got inspiration from sen's tutorials and this gallery works, but not like I would like it to work.This gallery loads images from an xml file and place them into some containers on stage.This gallery gives the idea of perspective and space.All the images are placed in 5 rows (8 images per row, a total of 40).When you rollOver an image it comes to the front.What I can't manage yet is how to send the image to the end of the row, I mean, when you rollOver the third image I want the previous two to go to the end of the row.I hope I made myself clear.I think this is the function that I need to correct:
Code:
displayStar = function (cameraView, focalLength) {
var x = this.x-cameraView.x;
[code].....
View 2 Replies
Aug 26, 2009
I have a small application where user can drag and drop images on the stage.
When they are finished I want the to save and email the result to me.
So I'm looking for the best and easiest way of doing this.
The application is already don some time ago in AS2.But I can think of redoing it in AS3 if it's a better choice.
I did google about it and found a lot of choices off course.
View 1 Replies
Jan 22, 2011
I would like to make a button that makes a document open up in MIcrosoft Word or Acrobat Reader, where the user will be able to print it off!
View 3 Replies
Oct 11, 2011
I have populated a php page where i pull image in that php. Now how can i put those image in flash by array. The php code is
<?PHP
$link = mysql_connect("localhost","root","");
mysql_select_db("dbname");
$query = "SELECT * FROM dress where dress_type='shirts' AND sex='male'";[code].........
View 1 Replies
Feb 2, 2009
This works:
Code:
ActionScript Code:
var jpgEncoder:JPGEncoder=new JPGEncoder(85);
[code]......
View 2 Replies
Jan 10, 2010
How to send a jpg image as ByteArray from as3 to javescript? And how to convert ByteArray to image in javascript?
View 3 Replies
Apr 2, 2011
I'm trying to build an Air application where a user can drop in an image. That image needs to resize if it's bigger than 1024px 1024px.
What's the best practice for resizing an image in Air development? And what's the best practice if I want to send this to codeigniter amf server in Air 2.0, bytearray format?
View 1 Replies
Jul 2, 2009
I have a simple text chat flash client written by AS3. Text message can be sent and sync among flash clients. However, how can I send icon image in text chat like MSN?
View 4 Replies
Sep 16, 2011
The swf file kind of captures a certain area of a flash movie which is loaded in.. I guess it works a bit like a camera..Anyway, what I am trying to do is figure out what determines the size of JPEG produced. At the minute its pretty small.The Flash movie is used to make an avatar. When the user is finished they hit a button and it captures the design, then emails it.I have found a line of code which relates to the size of the jpeg which is emailed
var myBitmapData:BitmapData = new BitmapData(230, 200);
What I want to do is produce a much bigger image than 230, 200
I tried changing those numbers higher and it did not work,Also I want to be able to send the image to a seperate page where an API can be picked up.Here is the code
Actionscript Code: [code]......
View 4 Replies
Jun 23, 2010
Would I be able to send a image using NetStream or NetConnection?
View 1 Replies
Jul 29, 2011
I'm trying to create a custom class that will create a tile (a small rounded square) when requested, with a small image on it. I can successfully create the tile, as shown in the code below, but I don't know how to pass the class the pictures data.Is it possible to do this using bitmapData, or by referancing it throught the library (if i store my picture in a movieclip in the library?[code]
View 3 Replies
Feb 20, 2012
I want to send an image between two client/server in Adobe AIR, is there a way to do that, and if there is then how?
View 2 Replies
Aug 31, 2010
Want to know whether it is possible to attach one image, or a zipped text file with the email form in a Flash template.Actually I want to send one image and one text file as attachment.
View 1 Replies
Sep 10, 2010
My project consists of:
- Taking a picute using flash and webcam
- Save picture in server
- Send picture automatically using flash to a email specied in the beggining of the process.
View 2 Replies
Sep 20, 2011
I want to resize a image using flash resizer.java script browse and upload a image and send to flash resizer and flash resizer resize the image and send back to javascript.Is it possible to send and receive image from javascript and if yes then please let me know what I need to do on flash end and how i can make javascript accessible to my flash code.do i need to load my full sourse code or javascript done there job with SWF only.
View 2 Replies
May 4, 2011
want to browse an image and then send it to data base using flex and webservice java
View 2 Replies
Mar 19, 2010
When using flash remoting with amfphp, what can I write in php that will trigger the 'status' method that I set up in my Responder in Flash? Or more generally, how can I determine if the service call has failed? The ideal solution for me would be to throw some exception in php serverside, and catch that exception in flash clientside... How do other people handle server errors with flash remoting?
[Code]...
View 1 Replies
Jan 18, 2009
How would I send variables to php when I use AMFPHP? I'm trying to send mediaID and voteValue to my php file, but nothing seems to happen. I guess there's something wrong here..
View 5 Replies
Nov 24, 2009
connectivity of data using AMFPHP between the flash frontend and the mysql database?
View 2 Replies
Nov 29, 2009
Is it possible to deserialize the AmfPhp messages while remoting? They are in binary, and assuming that amfphp understands what they are I should be able to decode what it s.
View 1 Replies
Dec 17, 2009
is there any other framework that does the same as amfphp? I dont want to use amfphp because it hasnt been updated in years and looks like it's no longer under development, I have to use PHP so I'm looking for a PHP alternative.
View 2 Replies
Mar 10, 2012
its few days i'm stock with a issue using amfphp 2 in my actionscript project. i have an actionscript project which gets the data from db through amfphp, when i run the complied swf in debug mode or just run through flash player it works fine , but once i wrap it with html and open it through browser it never gets the data from db, dose any body can help me what is going on ? i have added these lines at the first of the project , but still through browser ( i've tried , Chrome, Firefox and safari) it cannot connects to db.
[Code]....
View 1 Replies
Mar 13, 2012
i have a problem passing ByteArray from flash (as3) to amfphp to save an image.With old version of amfphp, all worked in the past... now, with new version i have many problem.I'm using version 2.0.1 and the first problem is that i have to do this, for access to my info:
[Code]...
View 1 Replies
Sep 18, 2008
I'm having a very strange problem around a few services I developed for AMFPHP that worked fine over HTTP but once over HTTPS gone completely wrong. When testing right on export flash IDE the connection goes fine but when online and on the browser it doesn't. On connecting, Flash returns a security sandbox violation like this:
"Error #2048: Security sandbox violation:[URL] cannot load data from [URL]. I know that I'm missing the "www" subdomain on the gateway secure address but this is has another purpose for domain configuration. What's most weird is that even the Service Browser went completely wrong since it tries to open the gateway through the HTTP version of the address instead of the HTTPS one. Upon opening the browser I get a "NetConnection.Call.Failed: HTTP: Failed" error. It also tells me that it's trying to connect to [URL] instead of [URL].
View 9 Replies