ActionScript 1/2 :: Send Image To PHP?
Oct 19, 2009I need to build a PDF using PHP to email my images (which are in flash) as an attachment.
View 8 RepliesI need to build a PDF using PHP to email my images (which are in flash) as an attachment.
View 8 RepliesI'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].....
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 RepliesI 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.
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 RepliesI 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].........
This works:
Code:
ActionScript Code:
var jpgEncoder:JPGEncoder=new JPGEncoder(85);
[code]......
How to send a jpg image as ByteArray from as3 to javescript? And how to convert ByteArray to image in javascript?
View 3 RepliesI'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?
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 RepliesThe 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]......
Would I be able to send a image using NetStream or NetConnection?
View 1 RepliesI'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 RepliesI 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 RepliesWant 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 RepliesMy 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.
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 Replieswant to browse an image and then send it to data base using flex and webservice java
View 2 RepliesI'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button.
I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.
I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button. I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.
View 6 RepliesI searched around and found some helpful things, but I am still missing something I think...
LoadVariables() won't work across domains, right, so, is it porrible to send data to a CGI script via getURL and not have a popup window on send?
I have a problem with shareobject. the Send method does not work. I work with AS3 My code
[Code]....
I use this code to convert an image to a BitmapData and store a JPG in a ByteArray.
import com.adobe.images.JPGEncoder;
var jpgSource:BitmapData = new BitmapData (img_mc.width, img_mc.height);
jpgSource.draw(img_mc);
[code]....
Now, I want to do the following:
1. send the ByteArray to PHP;
2. PHP must store a physical image_id.jpg on server;
3. then PHP must return the URL of the image to Flash;
The first lines of PHP could be:
if (isset($GLOBALS["HTTP_RAW_POST_DATA"]))
{
// get bytearray
$jpg = $GLOBALS["HTTP_RAW_POST_DATA"];
[code]....
I'm doing some experiments on images from xml document when clicked it will send a string text into a dynamic text in the stage. My image is now clickable but has a wrong argument in its function this is my code
Code:
import flash.display.*;
import flash.events.*;
import flash.net.URLRequest;
[Code]....
I am actually discovering Classes.I try to make a class that reads out an XML file and than converts it into arrays.the array is well created in the class file, but I can't send it back to the swf correctly: it only duplicates the first item of the array in an infinite loop, but when I trace it into the class the output displays it right..
with this code I call the class:
Code:
var myProduct:Product = new Product("gallery.xml");
this.onEnterFrame = function() {
trace(myProduct.getArray());
[code]....
a week ago I bought the following monster template template:[URL]..my last changes to it were to the popup boxes that appear on the SERVICII page when you click those titles there. Right after those changes it compiled and published, everything ok, i did several other tasks in Photoshop then back to my flash and at the next recompile, Error - Send don't send Flash has to close. I reopened it and it keeps closing forced. I tried undoing my steps but nothing worked. I am desperate, the project is due completion on saturday and my source is messed up.
Can anyone tell me why I get that? Has anyone been in a similar situation.I am a flash newbie, I saw no errors in "Compiler Errors" or in "Output", just force closing the Flash CS3.
i want to rotate 3D an Image called img1 in Flex. I want to rotate it around y axis 180 degree. I can do this by using 3D effect already built in Flex but i want to do a bit more different. I want during rotating, there's another image called img2 appear on back of img1 (in default case, the image appear on the back is img1) and when rotating finish, the image will be img2.
View 2 RepliesI am working on an Image manipulation application which will be developed using Flash/ C#.Net. Is this possible to save the image manipulations (not the image) saved from Adobe Lightroom for a specific image & then merge these change sets with an image to make a new image using C#.Net?
Also, the application for image manipulation will be developed in the Flash/ Action Script. Please share some links as to how we can save the image manipulations for an image (not the image) so that it can be merged with an image later on.
I am changing image through flex every time i change it saved into server directory with same name(which i am referring to show). So when i refresh my page my browser didn't send new request to server since it's already in request.so didn't getting new image.Tip:- when i clear browser history it will come with new image
View 2 RepliesI want to send a value to an ASP file on the same webserver like this : [URL]. Value1 is supposed to be sent from my flash file.
View 1 Replies