ActionScript 2.0 :: Send Information From Swf Inside A Flash Player?
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
Similar Posts:
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 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
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
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
Mar 15, 2009
In my flash application, I want to have information about the system the flash object is running on.Is there an object which handles this?My application runs in a browser mostly, so I also want to know the browser in which the application is running.Can I also access this directly from within the flash player or do I need to communicate with javascript then?
View 1 Replies
May 4, 2008
In my flash application, I want to have information about the system the flash object is running on.My application runs in a browser mostly, so I also want to know the browser in which the application is running.Can I also access this directly from within the flash player or do I need to communicate with javascript then?
View 3 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
Jun 5, 2008
How would one secure information transfered between the flash player and the website?
View 1 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
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
Dec 18, 2011
I'm looking for a Flash Video Player (something like JWPlayer) that I can embed in an html page, that provides a JavaScript API with a method to get the exact timestamp (aka position, or frame-count) for the current frame.
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
Mar 14, 2010
I've this code for a form. Now I also want to put in like gotoAndPlay(1); if success How to do?
Code:
if (success) {
if (statusVars.sent == "success") {
clearForm();
statusMsg.text = "Sent";
I would also like to send the information in the form just by clicking ENTER instead of click a button, today the code look like:
Code:
bttnSend.bttn.onPress = function() {
checkForm();
};
How can I change it so it also check the form if the user click enter?
View 1 Replies
Nov 3, 2011
I am trying to send some information to a javascript function on the same html page as the swf file is in. I used the tutorial here on Kirupa but for same way it doesnt work.
ExternalInterface.call("fillForm('"+ l.x, l.y +"')");
ExternalInterface.call("fillForm", l.x, l.y);
These are the variations I tried.
View 1 Replies
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
Jul 11, 2010
I have a game that needs to send the number of points a player is awarding to another player to a MySQL database on the same server. This game is part of my psych MSc dissertation, and I've gotten a lot of help on this bit from my department techie who knows php and MySQL well. However, he has absolutely no experience with Flash or Actionscript. He's gotten the php bit working so that it does send data to the right table in the database when it's supposed to using dummy variables, but when we try to test it with the actual .swf thats supposed to be doing the sending, nothing happens. We're pretty sure this means theres something wrong with the actionscript, but we don't know where.
[Code]...
View 1 Replies
Jul 5, 2009
I'm kinda noobish when it comes to getting information from XML information sent to my flash file from the socket server. OK so for example the server sends me this:
[Code]...
I want to get the name of the user and the X and Y position! Is there a way I can get this information without a load of fuss from functions and other junk remember im kinda noobish.
View 1 Replies
Feb 11, 2011
I want to build a program built around my pc specs. Is there a way to access such information as how much ram I have or how much cpu usage is being consumed, etc.?
View 2 Replies
May 14, 2011
When the user clicks on the video once its ended id like it to pop up a window with a new url in it - how can i do this in jw player?
View 1 Replies
Jan 14, 2010
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]...
View 2 Replies
Aug 5, 2011
I've ran into a weird problem while trying to send a JSON command to my company's flash player. Basically, i am unable to pass a playlist to this player - nothing happens - using the following command:
player.sendEvent("LOAD_PLAYLIST", json_str);
but the weirdest part is that if I print the entire command using Firebug's console.log, copy it and paste it into the code (thus hardcoding the playlist), everything works like a charm.
For instance, the following code:
player.sendEvent("LOAD_PLAYLIST", "{"streams": [{"src": "rtmp://xxx.xxx.xx:80/redirectvodxxx/nas2.share/h264/512x384/progname1/prog_1_20110804.mp4"},{"src": "rtmp://xxx.xxx.xx:80/redirectvodxxx/nas2.share/h264/512x384/progname2/prog_2_20110804.mp4"},{"src": "rtmp://xxx.xxx.xx:80/redirectvodxxx/nas2.share/h264/512x384/progname3/prog_3_20110804.mp4"}]}");
was obtained using
console.log('[loadNewListofContents] playing the following content list: player.sendEvent("LOAD_PLAYLIST", ' + json_str.toString() + ');');
and if i hardcode it, it works!I've tried all the toString() tricks I can think of (ex: json_str.toString(), '"' + json_str.toString() + '"', etc...) but so far no such luck.
View 2 Replies
Nov 11, 2011
I want to send data generated by a flash module into an external executable in windows. From what I've learnt about interprocess communication, I think it is appropriate to use pipes in this case. I am using Flash professional CS5 and when a 'trace' command is used inactionscript the ouput will be displayed in the output window in flash professional. I think Flash pipes the data into the output window and if so is it possible to obtain the handle to that pipe. Is there a way by which I can write the output from flash player itself when the trace commands are executed or the data generated on an event directly into the buffer of a pipe.
View 1 Replies
Aug 1, 2011
I am making an array and I would like for the array to gather the information from an input box inside the array. How would I get the so called array to add the information from name_txt?
Actionscript Code:
var word = new Array("Hello" + _root.name_txt,"How are you today?");
View 2 Replies
May 21, 2011
How can I call a funtion and set a parameter to call a variable and load that information inside other function?
ActionScript Code:
//LOAD XML TEXT TO AS3 VARS
function loadXML(e:Event):void {
xmlData=new XML(e.target.data);
[Code]....
View 1 Replies
Feb 5, 2011
I'm have some videos and I would like to add analytics so I can track how many times they were played. Although it sounds like a simple task, I can't seem to find much on the subject.
View 1 Replies
Sep 16, 2009
is it possible to somehow put VLC player inside flash?or maybe some sort of VLC plugin inside flash for playing all sorts of videos... or to just combine the two... flash for GUI and VLC for other stuff?
View 3 Replies
Nov 8, 2011
Can I create a flash file which will be used as web-browser. So basically, Flash will behave like Internet Explorer or Firefox, perhaps like loading a page inside iframe.
View 2 Replies