ActionScript 3.0 :: .swf Receive External Input??
May 29, 2009Can a .swf receive external input? If so, how?
View 4 RepliesCan a .swf receive external input? If so, how?
View 4 RepliesI'm trying to do a simple text box, below is the code:
private function onKey(event:KeyboardEvent):void
{
trace("Key Pressed: " + String.fromCharCode(event.charCode) + " (character code: " +
[code]......
I'm going true the AS Programming 3 manual and the [URL] example doesn't work. The authoring environment gets the focus. You can tel because you see the toolbar changing the selected tool as
you type the corresponding letter.
I have a perfectly working form on my site where users input their email and it goes straight into my email inbox. However, I would like them to recieve an autoresponder message when they input an email. Although the(my) email to which user's email is sent to has an autoresponder active, my server administrator explained that when an email is recieved, an autoresponder is sent to the form/site and not the user's email address. He said I would require a code to put in my form to facilitate sending the autoresponder to the user who inputs his email in my site.
View 2 RepliesI have this problem.When I publish my Flash file to html, input text would't recive @.Instead it paste whatever is in my clipboard.I tried with diferent encodings, fonts,....
View 7 RepliesI am trying to find out how to continue to receive keyboard input to my app when the app is not focused. For example, if I dock my app to the system tray, is there a way to continue to receive keyboard input to be fed to the app?
View 1 Repliesmy 'contact' page is an external page (loadMovie) and contains input text fields.
when i check the swf it's okay, but when it's loaded to another movie i can't type to it.
i have a problem when my site loads in the next section i want that section to have focus on input_txt.text
it works everywhere but this one textbox
i normally use stage.focus.(instance name)
but that doesnt work when loading a part in
I've been trying to load an external movie into an MC on my stage
Button.onRelease = function () {
toLoad = inputText;
MC.loadMovie("URL HERE"+toLoad);
[code].....
Is it possible to change text in like a notepad file by using flash so entering text into a input field and then posting it to an external file.
View 1 RepliesI would like to send information to a php script that queries a database.
eg
send two strings clientName and userName to php
PHP queries the mysql database and returns the result.
How would I us URLVariables or URLLoader? or is it something entirely different.
Whats the best way to receive AMF dates? The queue is an array of vo objects, and some testing vars.
My VO
public var itemID:uint;
public var itemSource:String;
public var itemCategory:String;
public var itemTitle:String;
public var dateString:String;
[Code] .....
How can I post and receive value from jsp using ActionScript 3.0?
View 4 Repliesim newbie in send end recive UDP things..i need to send (maybe receive) some data from PHP web page to local software.this software can recive and send data via UDP 1987 port.is there a way to do? javascript activeX or flash library or somethingSoftware= VOIP SoftPhonePHP Web Page = CRMall I wanted was actually make a button to call and if possible recive length of the call
View 1 RepliesCan I have one Flash Video Player on my page that plays multiple videos when they are selected?
So the videos would be selected by a movie clip button. How would I direct that onRelease button code to play a mp4 video to the Flash Video Player and how would I name the FVP to receive the selected video?
how i can send an array from as3 to php with the toString() method. Now i'm looking for the solution to how do I receive an array from php. I would like to print an array and access it inside my actionscript file as an array? Is there a way to parse it?
View 3 RepliesI'm currently trying to get flash to display a variable from php. It always comes up as 'null' and I'm at a complete loss.
Here's my Code
Code:
package
{
import flash.display.Sprite;
import flash.events.Event;
[code]....
On the server and local I always get 'username is null' displayed. I'm at a complete loss at what to try next.
I have the following XML
Code:
<countries>
<country>
<name>foo</name>
[Code]....
How do I script to receive a text message from one PHP (placed on server A) to another PHP (placed on server B)?
View 27 RepliesMy example imports XML and has an object rotating on stage. The rotating object is called enemy corresponds to ENEMY in the XML. How do I set the rotation variable to receive values from XML?
REASON: It seems more difficult to set up variables using external data. I want to understand it better.
rotation.fla
//LOAD XML
var myXML:XML;
var myLoader:URLLoader = new URLLoader();[code]......
How to receive an array from flash vars?
So I have HTML page. with flash app on it. I vant to send an array to flash. How to do such thing using flashVars (I have something like uid=12&sid=12&sid=32&sid=12&sid=32) so i need to get dinamic andomeegunnown number of Sid's not losind UID how to du such thing?
btw I want to pass in an array of values and have it recognized by Flash as an Array object; For example, with POST and GET requests an array is formed as "field[]=value&field[]=value" etc.
I tried using var params: Object = ((this.stage.loaderInfo) as LoaderInfo).parameters; to get the parameters, but it returns an Object with no properties. That LoaderInfo will give me the correct URL without the parameters though if I use LoaderInfo.url. I'm using the request: http://localhost/foo.swf?start=foobar. params.hasOwnProperty("start") returns nothing, and using a for loop shows that "params" has no properties. How do I receive the start/foobar pair in my code? I would much prefer to not use FlashVars due to our setup.
View 2 RepliesWhat would be the best way to build a sms application with adobe AIR and AS3? An application that send and receive sms. I found how to send using the uri but can't find any explanations about how to receive and display it.
View 2 Repliesi'm trying to connect Action Script 2.0 Scrollpane to get data from php and mysql... my problem is in the action script 2.0 i'm trying to recieve data from mysql by php, Here is my php code :
[Code]....
and my data base is working 100%
i need to display the result in a ScrollPane Object In AS 2.0
I need to create an application (Flash player stand alone) who recieve midi messages from a midi device. I have controler ( Korg nanoPad) and I want to change a movieclip propertie when i hit a pad.
For exemple: Pad1-> MC red, Pad2 -> MC blue, etc...
I just need to recieve midi messages, not to send some.
My softwares:
Adobe Creative Suite CS4
Flex Builder 3
Midi-Ox
[Code].....
I know you can send all the variables using: url...Is there a way to do this but only send the variables I want to? Say I only wanted to send "user" and "pass" but not "content".
View 4 RepliesCode:
// action script
var socket:XMLSocket = new XMLSocket("127.0.0.1",8888);
socket.addEventListener(Event.CONNECT, connected);
socket.addEventListener(DataEvent.DATA, transData);
[Code]....
this won't send the string "this string won't be sent" to the client(flash).
I am trying to check input answer against random display from array. but sometime it trace not correct when it is correct this is the code i use
[CODE]....
If i have two or more input boxes to create a crossword puzzle, how can i make the cursor automatically jump to the second input box after the first input box is filled with a character?
View 3 Repliesi created an input text box that puts the users input into a global variable, but when i test it it gives me not only what i have typed in but all the html formatting for the font that my input text box has on it.I only want the text that i have typed in to go into the variable but the wackload of html is going in there too. ive tried a few different things, rewriting my code, recreating the text box, changing settings, dont know what im missing.
View 10 Replies