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?
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.
Code: package{ import flash.events.* import flash.display.Sprite; public class ParticleAttractors extends Sprite{ public var i:int; public var j:int; [Code] .....
They all move in unison, but by my terrible reasoning, all objects in the particle array should receive different velocities. Is there some much more efficient way to achieve this effect? If not, tell me what is wrong in my for loop. Update is an on enter frame function, by the way.
I have some basic experience with using URLRequest to POST variables to my server which works fine.How do I post an array to my server and receive it back?
I have an array index problem. I have an Array that holds some strings. I am trying to write a function that receives a string variable (user input)and searches for that string in the array. for that i tried to use "ArrayName.indexOf(input_variable)" but this always returns -1 even if the string which the variable holds is in the Array.
This is the script: public static function ValidName(inputName:String = ""):Boolean { trace(validNames.indexOf(inputName)); if (validNames.indexOf(inputName) > -1) { return true; } else { return false; }}
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] .....
im 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
Can 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?
My 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]......
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.
What 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.
i'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.
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".
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.
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.
Do i need a wireless connection from the server. I am thinking of installing an access point to test the server.. The only challenge is i dont know how to get the client to receive streams.
I have a problem understanding Events and event handling.I have a movieClipA wich contains several other movieClips (a1,A2,A3, etc..)MovieClipA is parent of movieClips (a1,A2,A3, etc..)
In movieClipA I use the following code: ... addEventListener ( "Pieter", pieterFnP ) ; dispatchEvent(new Event("Pieter"));[code]....
When I execute the application, function "pieterFnP" is fired, but "pieterFnC" NOT.