AS :: Flash - Send Additional Information While Posting Video Data?
Jan 20, 2011
I'm now saving the snapshot this way:
vidBmpHolder.draw(main.media.videoLocal);
var jpgEncoder:JPGEncoder = new JPGEncoder(85);
var jpgStream:ByteArray = jpgEncoder.encode(vidBmpHolder);
[code].....
View 2 Replies
Similar Posts:
Oct 4, 2010
I was creating a program and now i need to send a bitmap data and ssome text fields information to a php file in my site, how can i do that?
View 2 Replies
Feb 15, 2009
I have a series of identical buttons. I want each one to delete a certain item from an array.But the function that deletes the item from an Array is obviously also the MouseEvent function that the listener looks at, which to my knowledge can only take one parameter.
View 5 Replies
Nov 12, 2009
Currently I'm making a Designer (tShirt Designer) application. What it does up till now is let you put simple tekston the front and back (the front resides on frame 1 and back on frame 2), it lets you upload an image scale, rotate and position it.
Now what I'm curious about and don't know anything of is how do I send this information to the responsible company or server or email that print/make these shirts. I though about a simple way of sending it the same as you do a email form, but then it made me realise, how does the company know, how, where and how big the text or image must be.
View 0 Replies
Nov 23, 2009
Is it possible to embed a flv into a swf and then run it thru an arbitrary flash player and be able to send information from the swf to a destination of my choice?The information could be some variable that is sent when the movie starts playing etc
View 0 Replies
Nov 24, 2009
Is it possible to embed a flv into a swf and then run it thru an arbitrary flash player and be able to send information from the swf to a destination of my choice?
The information could be some variable that is sent when the movie starts playing etc
View 2 Replies
Apr 11, 2010
I have a Send to a Friend form I modified from lewip's awesome xml newsreader slideshow. [URL] I have everything in the text inputs being passed correctly, but I would also like the email sent to contain a small amount of text, that the user does not input, to explain why the recipient has just received the email. If anyone can point me in the right direction, that would be awesome.
View 3 Replies
Apr 29, 2009
What are the best methods (if there are any) when submitting data to a PHP script to check if the "submitter" is the flash object and not a user hitting the URL?
View 5 Replies
Mar 22, 2006
I am trying to send information from a flash form to a php script using radio buttons without a submit button ie as soon as a radio button is selected the info is sent but I can't get anything to work.
View 1 Replies
Sep 3, 2011
am trying to use AS 3 (for which I have beginner skill) to send and receive data to/from an ASP page (this ASP page is done) that interacts with a MS SQL databaseThe Flash SWF would send a name and password entered by the user in the SWF to the ASP page; the ASP page script (already written) would check with the DB, return either YES or NO (YES if the name/password is found, NO if not), plus return a score number, and then the ASP page script would write these 2 variables as a response to the Flash SWF (var data = YES or var data = NO, plus var score = 'the score numeric value'.
View 4 Replies
Jan 31, 2010
I have a simple form in my flash cs4...I am unable to get it to post to the php script here is the code I have:
Code:
var req:URLRequest=new URLRequest("mailer.php");
var vars:URLVariables = new URLVariables();
[code].....
View 3 Replies
Dec 17, 2010
I'm wondering what is the best way to post arbitrary data to the server in the same format, as forms in web browser? I'm using this thing by now, and it seems it more useful to load data from server, but not the uploads.
View 3 Replies
May 27, 2009
I want to post data to a URL on my server from a Flex app. I am using the following
UrlParam = UrlParam + '&name='+ name.text + '&business=' + buisness.text; navigateToURL(new URLRequest(UrlParams),'_self');
The problem I am having however is that if I enter a business with an ampersand ("A&b.com") then the name does not send. Does Flex have anything out of the box to do the encoding from & to %26?
View 2 Replies
Jul 22, 2010
I'm trying to make a software which sends video and audio data to a flash media server by using RTMP protocol. Currently, my program can communicate with a flash media server correctly. RTMP specifications does not describe about the raw data in video/audio messages, so I muxed raw H.264 and AAC data into video/audio messages and sent to the server. The server seems to accept them, but a video player cannot playback the stream sending from the server. The player just says "Loading..." For a test purpose, I sniffed the network packets between Wirecast and the flash media server and ripped off only video and audio data. Then, I muxed those data into video/audio message and sent to the flash media server. In this case, the video player connected to the server can playback the stream correctly.
I checked the stream sent from Wirecast, the stream seems not to be H.264 raw data because those data are not started from 0x17 instead of H.264 start code. With those situation, I am wondering what kind of container format I should use for H.264/AAC data to the flash media server.
View 12 Replies
Oct 11, 2006
How I can send some text in a dynamic flash textfield to a mySQL database and vice versa? Basically I've created a text field - assuming it has to be dynamic (with an instance name of "tUserdata"), it's going to be multiline text, and upto 255 characters. As the user clicks the submit button, the data held in the flash text field is sent to the mySQL database and stored there. I understand that i have to use PHP as well - and heard i need to use the loadVars function. Need Coding in PHP and connecting to a MySQL database, and what actionscript I need to insert.
View 3 Replies
Apr 2, 2012
I've created a function to send Post data to my server, and this then outputs xml to the page. What I can't find any information on how to get this data from the page back into flash.
View 2 Replies
Mar 26, 2011
I have a question about eventDispatching. Now, I know how to dispatch them, and I've also grasped a minimum of custom events, enough to create one from template at least. So, say I would like to dispatch an event with some additional data, I could create a custom event class and let the event take the data objects as a parameter. But I find it a bit cumbersome to do this every time I want to dispatch data, since it results in new custom event classes. The other method I know of to get the data is to simply use the currentTarget property of the event. So if I have a getId() method for instance, I could call e.currentTarget.getId(). Now, while this works, I wonder, is it considered bad practice, and if it is, whats the right way to do it?
View 4 Replies
Nov 13, 2010
I'm using AlivePDF in a project, and this is actually the first time I've used it. I've gotten it to work just fine except for when I send the PDF file to a server. The problem is the save() function makes a few assumptions:
1. it assumes I don't need to send any other information along with the PDF file.
2. It assumes I want to pop open another page.
3. It assumes that Flash doesn't need to know what's happened to the file after it was sent.
What I want to do is send the PDF file along with some other data with a URLRequest, and then get the response back from the server, and depending on the response move on. AlivePDF seems to have this "one size fits all" function for sending the PDF to the server. has anyone dealt with this before? Any resources I can look at? I've been all over Google trying to find answers, but I'm kind of at a loss.
View 2 Replies
Jul 21, 2010
I need to find a way to detect keystrokes when the flash file is not selected and send that information to an .swf file. The file would be stored locally (not on the internet).
View 3 Replies
Apr 6, 2010
The component itself receives all its parameters from a .txt file. The editor is a read/save form that initially loads the parameters into it's form fields, and then overwrites the .txt file when the user hits submit. You then refresh the component on whatever website you have it to see the changes.Here's the php code that I found to get me going:
<?php //Capture data from $_POST array $title = $_POST['Title']; $comments = $_POST['Comments']; $image = $_POST['Image'] //Make one big string in a format Flash understand $toSave = "Title=".$title."&Comments=".$comments."&Image=".$image;
[code].....
View 2 Replies
May 31, 2007
I would like my flash to act differently depending on what html page it is on. Can I send information from html code to action script?
View 1 Replies
Mar 1, 2007
i have a problem regarding the integration between flash and ASP file i have an ASP file that gets a record set from the database i don't know how to send this record set to flash and place it in a data grid
View 4 Replies
Dec 5, 2011
I'm trying to extend ButtonBarButton to include an additional label that shows the number of updates for the respective box in a viewstack (which is the tabbar's dataProvider).
I can get the additional label (named indicatorLabel) to read an initial value from data, but I can't get it to update automatically like the actual "label" attribute. My understanding was that you could bind to the data object, but that doesn't appear to be the case.
[Code]...
View 1 Replies
Nov 25, 2006
i have a template made of flash and in the page of "contact us"i have 4 boxes of input text in the stage - for the client phone etc'.i have a "send" button and a "clear" button under these boxes.but i don't know the action script for these buttons at all.by tell me the code for these buttons (and what kind of email account i can direct this information to: shouls it be a web mail - like these you get from the hosting company - or it can be a simple email account - like gmail or hotmail..)
View 1 Replies
Dec 3, 2009
I am trying to get down to the bottom of my problem with a contact form I'm using for a client. My code is as follows:
[code]...
The issue I'm having is that when I hit the submit button on my form, it doesn't send the information through. It just stays stuck on sending.... and doesn't send any information. I then ran a test with an even simpler code:Just to see if it was even connecting and I recieved this error:
Warning: mail() [function.mail]: Failed to connect to mailserver at "127.0.0.1" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in
D:hostingmembershieldvhmmailtest.php on line 2
Now I don't have access to the host server because I'm not the owner. I just designed the site for the client and I have been having these issues with the form. I did test it on my server and everything worked fine which led me to believe that the problem lies in the php settings of their host server. I contacted the host server and this is what they sent me:
"Dear client, 127.0.0.1 is localhost which you cannot use to send email. Please make use of your mail server to and send and provide SMTP authentication to the remote server. Note that the FROM address has to be the same as login email.
View 2 Replies
Jan 17, 2008
i'm remodeling a website i've done ([URL]). i want to exchange information between XML and Flash files. i almost did it, but where shoul display information about one item, the whole content of this 'field' is shown. i'll explain better. this swf displays works of an artist. but the field 'date' (or any other text field) display the content of all works (separated by commas). i'll post the xml code and the actionscript code.
View 2 Replies
Mar 28, 2012
I don't know how to ask this, but the thing is that i was thinking that how does youtube or videofy.me like video blogs send the video path & all info to a flash video player i mean when e click on any video link how does it sets up everything and displays the chosen video, because actually i've created one but in that i had to set up the whole page via flash so that it can manipulate the information like path & name of the video, and cannot use html links, php and all.. so can u people tell me how do i start up & how this process is done & what i need to do & other important things on this.. i mean sending any info to a flash player via any scripting or server side language.
View 1 Replies
Feb 21, 2008
I have an SQL database setup which contains Herbal Information such as CommonName, LatinName, MedicalUse etc, and need to display the information in a Flash DataGrid Component. I also have the corresponding PHP script to connect, retrieve, add and delete items from the database. Although I am familiar with Flash in a design sense I have limited experience using Action Scripts and am unable to complete the connection myself.
View 2 Replies
Apr 12, 2010
I'm working on a flash game written in pure actionscript 3.0 in Flex. I've just finished implementing replays for the game, but want to store the top 10 hiscores' replay data on my google-app-engine'd website. I'm using Java for the app-engine stuff in Eclipse in java but I have no idea how to deal with communicating to my java code from my actionscript code. I'll need to both read and write from actionscript -> java -> datastore. Does anyone have any experience with this?
For note, I'm horribly noob with anything to do with web development. I hear you can pass arguments to a URL when calling it, comparable to command-line arguments on a desktop executable and if so then sending all the data as a large string would be doable... The question then would be how to call a url from AS3 code with additional data and then how to catch that on the java side.
View 1 Replies
Sep 16, 2009
WHen I was learning AS2, it seemed incredibly easy to double it with PHP, but I am having a pretty hard time with AS3.Basically, all I need to do is do the same kind of thing that loadVars could in AS2. Just need to send a few pieces of POST information, and then load up the output of the script.I found this piece of code on the internet:
ActionScript Code:
var request:URLRequest = new URLRequest("http://www.mydomain.com/feed/myfeed?query=youlike&start=34");[code].........
But it doesn't work (when I replace the url with my URL, of course.)
View 6 Replies