ActionScript 2.0 :: Getting And Sending A JPG File?

Aug 10, 2010

I have an AS2 FLA that needs to get an external JPG file from a web-server and send it to another server encoded as base64.

The only problem is I can't use an external PHP page or something like that. It should work with a single SWF at the end.

I don't even need to show the JPG inside a MC. Just need to send it encoded to the other server.

View 3 Replies


Similar Posts:


Xml - Sending Data From MXML File To JSP File (and Receiving) Using HTTPservice?

Jul 9, 2011

I want to retrieve data from a Database and display inside a datagrid in a Flex web application. The way I'm thinking of doing it is :

Send the Query data from .mxml file to the .jsp page using HTTPService. In the .jsp, connect to the database and retrieve the data using select statements. send the results back to the .mxml using HTTPService.

I know what to use but I have an ambiguity. In the (.mxml) I use xxx.send() to send the data. What do I use in the (.jsp) to send it back ? I know that I should store the results in an XML in the .jsp file, but how to do that ?

View 1 Replies

ActionScript 3.0 :: Sending Values From SWF To AS File?

Mar 12, 2011

I need to send my flash file some values to .as file.
Example: I have 2 buttons.

Actionscript Code:
Button1.onRelease = function(){myXML.load("something1");};
Button2.onRelease = function(){myXML.load("something3");};

And if I press the button then AS3 get myxml.load value
Actionscript Code:
private var xmlURL:String = HERE';

View 1 Replies

Actionscript 3 :: File Sending XML To Servlet

Apr 29, 2010

I have an ActionScript File sending XML to my servlet. I am only getting empty arrays on output. Anyone know what Exactly I'm doing wrong? output is:

[Code]...

View 1 Replies

Python :: Flex - Sending PNG File Using CGI

Jun 3, 2010

How can I send a .png file using python cgi to a flex application?

View 1 Replies

ActionScript 2.0 :: Sending Vars To A Php-file?

Jul 2, 2003

I am using the follwing actionscript to send 2 vars to a php file:

Code:
getURL ("file.php?name1=" + name1+ "&name2=" +name2, "_self", "POST");
.but when i test it local. I see the following:
"file.php?name1=david&name2=posh?M%5FloveMatch=%5B type+Function%5D&calculateScore=%5Btype+Function%5 D&your%5Fname%5Fstatic=dfjkawef&your%5Floveone%5Fs tatic=oiaSDV&score=78&scoretext=78%25&name1=david& name2=posh"

and all i wanna get is:

"name1=david&name2=posh"

View 1 Replies

ActionScript 2.0 :: Sending Variables From A Txt File?

Sep 19, 2003

can i send some variables that are within a text file into the actionscript; i mean, in 1.txt there will be a[1]=30; can i use a function to read this variable and then use it in the actionscript like x=a[1]+2 and x would be 32?

View 1 Replies

ActionScript 2.0 :: Sending Variables From One Flash File To Another?

Oct 8, 2009

how to send variables from one swf to anotherAssuming they are on different domains,

View 2 Replies

ActionScript 3.0 :: Sending Data And Uploading A File?

Feb 20, 2009

I have a job application form where i am taking users basic info as name,email, phone no along with this i am asking him to upload his CV(a doc /pdf file)

How can i post all data on one submit. I am using PHP at backend.

I can send data and upload file seperately.Isit possible to upload file and submit data at a time.

Can we send additional variables with File Reference object.

View 3 Replies

ActionScript 3.0 :: Sending And Getting Data From External File?

Nov 22, 2010

I'm running it in actionscript 1 and 2 since 3 wouldn't work when getting data from external media. I'm trying to find out how to post data to a PHP file and getting from that file I'm trying to make the flash for something that works like a game but differently. Since I just found out how to make the HTML stuff show up but a lot of times, some of my text will not appear so I don't know what's going on.

how to send and get data both at the same time from a sample file?
 
The sample file is example.php
 
It has to sent information like ID and NAME and it has to get information like Description and userID

View 3 Replies

ActionScript 1/2 :: Sending And Getting Data From External File?

Nov 22, 2010

I'm running it in actionscript 1  and 2 since 3 wouldn't work when getting data from external media. I'm  trying to find out how to post data to a PHP file and getting from that  file I'm trying to make the flash for something that works like a game  but differently. Since I just found out how to make the HTML stuff show  up but a lot of times, some of my text will not appear so I don't know  what's going on.
 
how to send and get data both at the same time from a sample file?
 
The sample file is example.php
 
It has to sent information like ID and NAME and it has to get information like Description and userID

View 8 Replies

ActionScript 2.0 :: Sending Dynamic Text To ASP File?

Mar 31, 2008

I have a flash file that contains an input text field and a submit button symbol. I need to capture what the user puts into this text field and send it to an asp page that will execute a search script. I used the source from this tutorial as my base: [URL]I can attach an FLA if needed, but it should be pretty simple. Here is the setup:Inside a movie clip named "form", I have a text field, set to input text, with "search" in the var property field.On the search button, I have the following action:

Code:
on (release) {
form.loadVariables("searchtest.asp", "POST");
}

In the ASP page, I am trying to capture the value of the variable "search" by using:

Code:
Request.Form("search")

Am I on the right track here? Should I use "GET" and try to pull the value out of the query string?

View 2 Replies

ActionScript 2.0 :: Sending A Variable To Embedded Flash File?

Nov 28, 2011

What I need to do is pass a variable into flash.

I've had success doing this by just adding the variable to the end of the embedded SWF URL (.../mymovie.swf?variable=value), but what I need is the ability to send the swf variables when certain links are clicked, without the page refreshing.

I'm guessing this has to be done somehow with a javascript onClick function.

I've looked into using externalInterface, but it seems overly complicated for this application.

View 5 Replies

Php :: Check Where Is Located Flash File Sending Request?

Apr 5, 2012

I have a flash file that is located on my website and I have a php file wich gets requests from flash file every 5 minutes. I want to be shure that flash file wich is sending request is located on my website and not somewhere else. How can I do it. Is there anything in PHPs global variables?

View 2 Replies

Flex :: Sending A File Between AIR Applications Using Local Connection?

Feb 2, 2011

How do i send a text file between air applications using local connection?Sender AIR

private var conn:LocalConnection;
public function init():void
{

[code]......

View 2 Replies

ActionScript 3.0 :: Socket Sending Policy-file-request Twice?

Dec 8, 2009

Running my Flash app from localhost (in debug) I can connect/contact the socket server just fine. Note: It doesn't seem as though the server detects any 843 connection (e.g. the policy file port) this way. However, when I move the app to the server itself and run it from there (i.e. from the website), it will send the policy file, get a disconnect (as it should), and then try to execute the regular port stuff but doesn't read anything from Flash. It seems like my Flash app isn't writing to the port as it should, or something else is going wrong. I did also notice that Flash seems to be trying to send the policy-file-request twice.My process right now is like this:

1) Flash tries to connect to port 843. The server responds to its <policy-file-request/> with the policy file.

2) Flash reads it, disconnects from 843

3) Server gets graceful disconnect, then gets another connection on 843.

4) Just after that, the server gets a connection on 2188, but reads another <policy-file-request/>, so sends the policy file again.

5) At this point, Flash SHOULD simply write the string "Test" to the socket (that's in my connect handler). However, my server doesn't seem to read anything on the socket after the second <policy-file-request/>.[code]

View 1 Replies

ActionScript 2.0 :: LoadVars - Sending Contact Info To PHP File

Jan 19, 2004

I am using loadVars with the send method to send my contact info to a php file. This works fine but when I press the submit button the browser goes to the email.php file. How do i prevent it from opening that file in the browser window?

Heres the [AS]
lv = new LoadVars();
lv.name = name;
lv.company = company;
lv.phone = phone;
lv.email = email;
lv.message = message;
lv.send("email.php", "POST");
}
[/AS]

View 2 Replies

Flex :: Getting Feedback From URLLoader After Sending Information To A Coldfusion File

Jun 28, 2011

I have a scheduling application that allows users to save any changes. When the user clicks the save button, Flex sends all the information to a coldfusion script which picks the information apart and sends saves it to the database. That all works well and good, but I would like to be able to display some sort of text to the user saying something like "Your file was successfully saved" or "There has been an error.

[Code]...

View 1 Replies

ActionScript 2.0 :: Include POST As A Method Of Sending LoadVars To The Php File?

Nov 21, 2008

I was just wondering if it is important to include POST as a method of sending loadVars to the php file. i was using POST before and i still ecountered some problems of receiving empty mails. Since i found an example which do not use POST or REQUEST method i dont have anymore prob. I just wanted to get another opinion about that as i wanna start using server side script with flash and i know that ill be using the POST method.

View 2 Replies

ActionScript 3.0 :: Verify Image File Path Before Sending It To URLRequest/URLLoader?

Feb 12, 2011

is there a way to verify that an image file exists at the stated URL before passing that URL to various URLmethods?

View 0 Replies

Data Integration :: Sending Data In Flash To External Text File

Apr 9, 2007

I will be creating a program to use for data entry. I'll be studying zebras in kenya and I won't have the internet there as I'm recording the data. I'd like to be able to send the data I generate in flash to an external text file. I understand I need some sort of script to do that, but is this something I can run just on my machine? (I'll probably make the data into xml format).

View 1 Replies

Professional :: Sending A Flash File To Someone Who Doesn't Have Flash?

Feb 9, 2011

i want to send a flash file to someone who don't have the flash softwer on her computer..ow do i save the file that i have done, that my friend can open it and just view it? is it posible??? please can you explain me how to do this step by step?

View 1 Replies

Sending Mail With PHP

May 30, 2010

I carefully followed this tutorial and could never make it work: [URL] Has anyone got the same problems? I have found a few tutorials on the Web. All of them were not using components for inputing variables. They were merely using input text boxes but I tried them and they work.

View 1 Replies

Flash Cs 3 Sending Data To Php

Mar 12, 2009

I am having trouble on sending my data to the php..I am using flash cs 3 and the code is what I copied from a site. here's the code.[code]I pasted this code to the button named 'submit' and when I checked the script for errors, my script has an error! it says:Statement must appear within on/onClipEvent handler and I don't know what does it mean I am just newbie in flash cs 3.

View 1 Replies

Sending Variables Between .swf Files?

Aug 19, 2009

I am making a site that is in Hebrew and English. It contains two .swf files. The 1st .swf file allows the user to choose whether he wants the site in Hebrew or English. When he goes to the 2nd .swf file via a link I would like the 2nd .swf file to already know what language the user chose. How would I do this? using getURL and variables?

View 2 Replies

ActionScript 3.0 :: Sending Objects To Php?

Oct 12, 2009

how I can send objects to php:

Quote:

var test:Object = new Object();
test.var1 = 1;
test.var2 = "one"
var request:URLRequest = new URLRequest( "path_to_php_file" ){

[Code].....

View 4 Replies

ActionScript 3.0 :: Sending A XML Variable To Php?

Nov 15, 2009

making an xml variable, sending it from actionscript to php, and then having php create that file..

View 2 Replies

ActionScript 3.0 :: Sending Variables To PHP

Sep 11, 2010

so making a high score board i can use in my games. the tutorial i found (every tutorial i found, in fact) was AS2, so i've taking the principles in the tutorial and converting them to AS3. I'm pretty darn close to having it work. i have it successfully pulling the data in the php/database to the flash file and listing the contents of the high score board, but i seem to be missing something when sending new name and score info to it.

here is my test file: [URL]

you can see the high score list comes up (the info coming in is from when i went through the AS2 tutorial), but as you can see it's not adding the name and score you enter in the first part to the list.

here is code i'm using to send the info:

Code:
var sendScoreVars:URLVariables = new URLVariables();
sendScoreVars.userName = userName;
sendScoreVars.myScore = userScore;

[Code].....

View 1 Replies

Sending A Swf Movie Is Correct?

Sep 24, 2009

Using CS4. I made a little 300x250 animated ad to place into online newspapers and published a swf movie. At work, they opened it in safari and it shows the whole safari screen and objects outside of the 300x250 boundary show up. Can I assume that when it goes into the 300x250 slot in the newspaper only the ad will show with it's true boundaries? They think at work that the newspaper will shrink down the whole thing. And sending a swf movie is correct? Not some other file type? And is it correct to save the movie for Flash Player 10 or would 9 be a safer bet?

View 5 Replies

ActionScript 1/2 :: Sending Variables To ASP

Oct 20, 2009

I have been trying for the last two days to get flash to pass variables to ASP with no luck.

[Code]..

View 1 Replies







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