IDE :: How To Get And Send Values In AICC - HACP Method
Dec 11, 2007I am new to AICC. Is anybody know how to get and send values in AICC - HACP method ?
View 3 RepliesI am new to AICC. Is anybody know how to get and send values in AICC - HACP method ?
View 3 RepliesI have a problem with shareobject. the Send method does not work. I work with AS3 My code
[Code]....
I am new to ActionScript 3 and have a project I would like to get some help on. I have an XML file on a server that has two types of parent nodes.
[Code]...
I have been given task and dont know where to start. I need to produce a small quiz that sends the selected values to an asp.net application form there populates the database with the values chosen.
Ive been told this is the best way to send values from flash to a database.
I have a client in flash sending values to server. At first time i am sending the value 150. The server responds to returns some data. On receiving that data the client should again send some value to server. Where should i have to write mySocket.send to do it. i tried doing it inside the function[code]...
View 3 RepliesI have values inside an XMLList in Actionscript. Need to send these values to the DB and update it.My actionscript code is as follows:
public static function saveUserPermList():void {
var ht:HTTPService = new HTTPService();
ht.url = Config.getServerURL();[code]..
My .NET developers are telling me to try to send two values from flash to .NET 3 times...so from .NET it will be send to the db.
is there really a need to send it 3 times?... can I just send it once?
they want this to be done 3 times so they are sure that its being sent.
here is my code to send the values.
Code:
on (press) {
myData = new LoadVars();
myData.position = "5";
[Code].....
my code is:
var lvReceive = new LoadVars();
var mcLoaderThree:MovieClipLoader = new MovieClipLoader();
mcLoaderThree.addListener(this);
for (var i = 1; i<=9; i++) {
[code]....
What I need to do is have a button download a installer using Post with added values to download.What I have to mix is this:Peices needed frokm HTML form:
PHP Code:
<form action="http://website.com/dl.asp" method="POST">
<input type="hidden" name="name" value="CJE">
[code].....
I wanted to know how to connect my flash embedded in html to servlets or through javascript and get values from and send to servlets or through javascript. I expect some references or books as i am an amateur and may be i cant follow what u all say in brief.
View 1 RepliesI've got a JSON string:
[Code]...
I don't know what I am doing wrong but on my HTTP server I get: {["object","Object"]}
how to send variable values inside a movieclip, to the main scope (main timeline)?
View 4 RepliesI am in the planning stage of an application. In fact, the application already exists but I am thinking about how to improve it. It's a sports event commentary viewer- it allows the user to view live commentary on soccer games, written by news scouters during the process of the game. Right now, it's all one big file, reading 7 different XML files on the fly, evaluating and processing them and displaying the data on screen.
It works well enough like this but now the whole thing is supposed to be expanded with live news feeds and a videoclip gallery, etc... and even though it would be possible to just keep expanding the file, I thought it would be cool to instead make several segments and put them in an HTML frameset. Now the question is: Is it even possible to pass values from one flash file that is running in one frame- to another one, running in another frame? Of course I will know the framename- so could use getURL with the framename as a target... but that would fully reload that frame and "cold-restart" the swf in that frame- I don't want that.
[Code]...
I need to know wich method from the AS3/Facebook API I must use to allow users to send a gift. I have all my system developed, at the point the user selects his friends from a datagrid, obtaining their UIDs. I explored the SendEmail and SendNotification methods, but those aren't what I'm looking for...
View 4 RepliesI'm sending an xml file from flash to php, so php can save it to the servers filesystem.It works great, except when there's a node with a special char like a quote in it.My actionscript code is like this:
Code:
xmlExport.xmlDecl = "xml=";
xmlExport.sendAndLoad("xmlexport.php", xmlExportStatus);
And my php code is like this:
PHP Code:
fwrite($handle, stripslashes(urldecode($_POST['xml'])));
Both somewhat simplified, but this is what matters I think.I'm not sure about the urldecode part, but I've got this problem always, no matter if I use it or not.I've traced the xml object, and I see that the quote is converted to ' then. That's great, but when php writes it, it stops there, so I end with only half of an xml file.
I have a problem with sending email from a flash contact form using ASP. I'm trying to send data to ASP with the POST method, and then send an e-mail using ASP code, but it doesn't work. In fact, when pressing the submit button in a Flash contact form, in IExplorer nothing happens, and in Mozilla I get a message Waiting for[code]...
View 1 Repliesi created xml in flex after that creation i post to php via http service but when i add like xml in http service flex throws error msg like Error #1096: XML parser failure: Unterminated element." What did i worng ? How to send xml data flex to php ?
<mx:HTTPService id="createxml" method="POST" url="http://####/admin/?do=storebettingdetails" useProxy="false"></mx:HTTPService>var xm:XML = new XML("**********"); ------ adding child node -- Thend attached xml to service like createxml.request=xm;
createxml.send();
Need to find a way to send a delete method from Flash Player (Flex). Currently it's not done by default (except for from AIR), but I am sure someone has augmented the URLRequestHeader to get it to work properly. I've tried this, it isn't working:
[Code]...
I am making a audio flash player which will play a sound passed to it.How can i pass the values from a browser url?like i have to write
[URL]
in browser and swf will parse it to play the file from the location passed as GET parameter 'file'. How i can do it in as i am using Adobe Flash CS4 Professional with actionscript 3.0
I am working on Google Calendar API. I am getting this error when making a URL request. ebugging tells me that the error is at:urlRequest.method = "DELETE"; and also at urlRequest.method = "PUT";
View 5 RepliesWhat is the process for feeding XMLList values to a URLRequest method?
Say I have an array:
ActionScript Code:
var imageURLS:Array = ["images/image1.png", "images/image2.png", "images/img3.png"];
[Code].....
Way I see it is the traces above are the same, where am I wrong?
I upload a file using adobe air HTTPService.Send method by passing byte array of file content read using FileReference. When I write the set of bytes from the server side (php) it writes the details of the byte array (buff) to the file instead of contents of the file like "endian=bigEndian&position=0&bytesAvailable=61127&length=61127&objectEncoding=3" . Below I have included the code that how I read the file and send it to server. Is there anyway that i can directly pass the data in the byte array to send method?
File Read
var buff:ByteArray = new ByteArray();
var localFilePath:String = "/Videos/sample.txt";
var uploadedFile:File = new File(localFilePath);
[Code]....
I would like to change the parameters of an object, or values like width and height, via javascript but I need a very lightweight method. In the end some of the thing that I want to change would be width, height and a parameters src value. So far I'm having no luck of getting it by id $('#test').attr('src','test.html') or the javascript method of getElementById().
What is the best - lightweight - method to do this?
An object being like this:
<object type="application/x-shockwave-flash" width="600" height="500" data="http://www.thisembed.com" style="margin:0px;padding:0px">
<param name="allowFullScreen" value="true" />
[Code].....
I'm doing some calculation with numbers and would like to only print an integer (the number without the decimals).I thought that the toFixed() method of the Number class would do the trick, and it does most of the time. But quite frequently strange values are returned. Here are 2 examples:
Number(0.002).toFixed(0) returns
"0." while
Number(1.002).toFixed(0) returns
"1" (without the period)
Once in a while, Number(0.002).toFixed(0) returns "1"
Needless to say that's not the expected behaviour. Am I not using this method correctly?
*edit: I know I just have to do int(0.002) to get 0 but I'd like to understand that strange behaviour.
There seems to be a problem with Firefox 2.x sending variables to PHP scripts with the LoadVars.send/POST method.
<br>
The same problem doesn't occur in IE or Opera. <br>See this url for example to try in both FF and IE/Opera: here. <br>The source files are here g.zelenka@iinet.net.au
When I send number (int)52 s.Send(BitConverter.GetBytes((int)872415232));, flash show me trace(socket.readInt()); 872415232 If i send 872415232, flash show 52.Why? And how it fix?
View 1 RepliesI've doing a bit of "training" at working with Flex and Remote Data from XML files.This is my HTTPService
<mx:HTTPService id="loginData" url="com-handler/basic.xml" showBusyCursor="true">
</mx:HTTPService>
I have a button and when its clicked its call a function, that calls loginData.send and does a little IF condition, that IF condition relies on the data returned by loginData.The condition doesn't work because its called right next to the loginData.send, and .send method still didn't returned the values from the XML file. But if you click it a second time a second after the first click the IF condition works.So to deal with i wanted to do a eventListener so that when loginData.send returned the data from the XML it fires up the IF condition. But i don't know how to do it.
I am the fan of kirupa but this is my first thread in forum. I have some problem with sendAndLoad method with actionscript 2.0. I am developing a online game with flash mx , MS SQL 2000 and asp. The problem is I send the data using sendAndLoad method to asp file and get data back from asp file. But when the internet connection is not good there is a problem like jam or lost packets. How can I prevent the lost of packets. Some of the data are important. Is there any way to solve this?
View 1 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 Replies