Sending External Information To A Projector
If I want to send an external event (e.g. a keypress) into a Flash Projector, what techniques are available:
(I do not want to poll the external program, that is what is meant by unsolicited).
1. XmlSocket
2. ???
3. ???
FlashKit > Flash Help > Flash ActionScript
Posted on: 06-11-2004, 11:23 AM
View Complete Forum Thread with Replies
Sponsored Links:
Sending Information
Hi, i am trying to setup a flash application on my site. I quite a novice at the ole flash so i was wondering if anyone out their could help me. I want to create something that allowed my customers to select a number of options. And then they send this information to me. What would be the best way to go about this, is their any online tutorials or anything like that. Plus are you able to embed paypal into flash.
Thank you very much
Liam
View Replies !
View Related
Sending Information
Hi, i am trying to setup a flash application on my site. I quite a novice at the ole flash so i was wondering if anyone out their could help me. I want to create something that allowed my customers to select a number of options. And then they send this information to me. What would be the best way to go about this, is their any online tutorials or anything like that. Plus are you able to embed paypal into flash.
Thank you very much
Liam
View Replies !
View Related
Sending Information
Hi, i am trying to setup a flash application on my site. I quite a novice at the ole flash so i was wondering if anyone out their could help me. I want to create something that allowed my customers to select a number of options. And then they send this information to me. What would be the best way to go about this, is their any online tutorials or anything like that. Plus are you able to embed paypal into flash.
Thank you very much
Liam
View Replies !
View Related
Sending Information To Mysql
I need to do some testiing on a huge movie I have that has multiple swf's. I want the time, date, and a statement that says "movie1 completed" sent to a database. Does anyone know where I should start? The reason for the testing is to see if people are able to finish the complete movie based on if they have dialup, cable, t1, etc....
View Replies !
View Related
Sending Information To Serial
Hi
Im trying to get my flash app to communicate with the serial port.
I have found a usefull .jar file that opens the com port and allows for data to be sent. When using flash though, it appends a zero to the end of te string... this is causing my external hardware to fail as it is not expecting this last didgit.
How can i get rid of that final byte that flash seems to add?
View Replies !
View Related
Sending Information To A Popup?
If I'm creating a popup using this method:
http://www.kirupa.com/developer/mx/centered_popup.htm
(Or anything else, if it's easier)
Is it possible to send information to another flash file in that popup? I'm building a little xml photo gallery, but I want the pictures to open in a new window when clicked. The path to the picture and a description is loaded from an xml file, is there a way to either send the path and description or send the reference to where to find this info in the xml file to the popup?
Not sure if this is the right place for this...
View Replies !
View Related
Sending User Information From A CD
Hi everybody,
I created months ago an interactive CD using Flash. Now the client wants me to add a new feature to the CD, to get the user contact information, that they will have to type in before their first use of the CD.
My questions are two:
How can I send information from a Flash application in a CD?
How can I make it so this dialog box doesn't appear every time the user uses the CD?
Could anyone please let me know if there are any tutorials, or give me some advice on how to do this?
Thank you very much for your help.
View Replies !
View Related
Sending Information To E-mail
hi, i am just figuring out this whole action script thing, and i was wondering how i can make it so that a person will fill out a certain field, such as "User's Name" and then click a button, which will both take them to the next part of the scene, and also e-mail me the information that they put in the field "User's name" thanks for your help
View Replies !
View Related
Sending Information From Flash
Hello,
i was woundering if any one could point me in the direction of a tutorial that could show me how to do the following..
1) take information the user enteres in flash and send it to a php file.
2) php file connects to a database and checks the info to see if its correct
3) if info is correct page changes to the next screen else show error message
thank you in advance
View Replies !
View Related
Sending Form-information To .jsp File?
Hey!
This is what I'm up against:
I have a form completely working in a HTML file, a form with radiobuttons, one checkbox and 3 text fields(input fields). And I have now got the assignment to do the same thing but in flash, and I need to send the information in the form to a 3rd partyfile (a register.jsp -file).
The main thing is: how to pass on the form information written by the visitor?
In the html the send-line looks like this:
<form id="updateForm" name="updateForm" action="/register.jsp" method="get"">
I am very greatful for answers!
/Newform
View Replies !
View Related
Sending Information To Data Base
Can you tell me how to send information from ActionScript file to DataBase ?
And if you giving a code or a URL to some code, please give me a explanation of the code.
P.S. I don't speak English very well so if I have stupid errors don't be surprise.
View Replies !
View Related
Sending Form Information To Server
Excuse me everyone for my lack of knowledge.
I am in the process of creating a flash site for friend of mine. He wants to be able to have a guest list for his events in DC. I have created form boxes and have given them all "instance names". But I have absoultely NO clue how to have the text entered by people trying to get on the guest list sent to my server so we can all read it.
I have a book on Flash but it really doest explain how to do it at all. I'm guessing I need to do some actionscript?
The instance names for the boxes are:
Name box --------> nameBox
Event box ---------> eventBox
Email box ---------> emailBox
Guest box ---------> guestBox
Submit Button ---------> submitBtn
The website can be viewed at The Debonair Touch
Please, someone help!!! I am very lost! LOL
View Replies !
View Related
Missing Information While Sending From Flash To Php
I'm not sure how to efficiently describe my problem, but here it goes:
I made a very simple drawing application in flash similar to this one here.
I wanted to save the images the user creates, so I save each action in an array which holds (mouse x position, mouse y position, line width and color).
When the user has finished drawing he/she hits a button and the application converts the recorded actions into a string, f.ex.:
Code:
.194,108,3,0|.141,144,3,0.141,145,3,0.141,146,3,0.142,147,3,0
.142,148,3,0.143,149,3,0.144,151,3,0.146,151,3,0.147,151,3,0|
where a "." denotes a new action and a "|" indicated that the user has released the mouse.
When the user presses the button this information gets sent to a php file via "POST" which then writes it to a text file on the server.
My problem is that the information does not end up correctly in the text file.
Example of a corrupt text file
Code:
.73.6,76.8,3,0.74.7,76.8,3,0.74.7,77.85,3,0.74.7,81
.05,3,0.74.7,88.55,3,0.71
The pattern .X,X,X,X.X,X,X,X... is not there.
I would accept that I had made some programming mistake while exporting the string from flash to php to a text file.. But if I run the application from Flash (using ctrl+enter) the text file created on the server is never corrupt. But if I run the application in a browser either straight from the server or from my computer the text file is always corrupt (I've tried both IE and Firefox).
In the same "POST" I also send a url, which always returns to php without errors, doesn't matter whether I run it in a browser or straight from flash.
I'm completely lost, the only theory I have is that the browser somehow mix up or loose some of the letters I send to the php file.
Any suggestions or similar problems ? Also if anyone thinks posting some of my code might help in solving the problem just ask for which part to post.
Thanks in advance to anyone who actually read this long post
View Replies !
View Related
Sending And Retrieving Information From A Php Script
I was wondering if my logic would work on sending and retrieving information from an external php script.
Basically, I have a form with two comboBoxes and a submit button that opens a movieclip based on the selections made by the user. I want to also save some information in a text file to be used later. So, I was thinking that before I call the loadMovie() function I can send information to a php script where it creates a text file that stores the information that will be used later.
Then, the movieclip that will be loaded and played from the previous submit actionscript contains a couple buttons that when they are clicked will display various messages. I want these messages to be derived from the external text file.
Is this possible?
Thanks in Advance
View Replies !
View Related
Subject: Sending Form-information (to .jsp File)?
Hey!
This is what I'm up against:
I have a form completely working in a HTML file, a form with radiobuttons, one checkbox and 3 text fields(input fields). And I have now got the assignment to do the same thing but in flash, and I need to send the information in the form to a 3rd partyfile (a register.jsp -file).
The main thing is: how to pass on the form information written by the visitor?
In the html the send-line looks like this:
<form id="updateForm" name="updateForm" action="/register.jsp" method="get"">
I am very greatful for answers!
/Newform
View Replies !
View Related
[MX] Sending Information To A Database / Text File / Email Account
Hi guys,
I'm trying to send some information as described in the thread title using XML, but I'm having trouble as I don't know any server side scripting languages that can parse it and pass the information on. Is there any other way I can send the data? Or maybe a ready made script I can add my parameters into?
The code I have so far is:
Code:
myXML = new XML("<Account><User>user.text</User><Pass>pass.text</Pass></Account>");
myXML.send("www.domain-name-here.com/something.php");
View Replies !
View Related
Bug Sending Variables From Projector
I think there is a bug sending variables from my projector to my online PHP file. I noticed my contact form sends the variables when using the SWF file, but when using a standalone projector it will not send the variables to my PHP script online. I need this to work as I am putting my projector on CD. I have used an absolute path to my file (eg. http://www.arcdesignfirm.com/email.php) but it doesn't work. However, if I use the SWF file it works. What gives? Anyone else have this problem?
Please note I am using Flash 5 and Mac OS 9.2
View Replies !
View Related
Sending Parameter To A Projector
Is there a possibility to send a parameter (name=value or even only a value) to a Flash projector (standalone presentation) from external application? In Windows? In MacOS?
Or maybe there is a possibility tu run Flash projector with a parameter? How to grab this parameter then? (I know how to do it with a Flash site, but I ask if it is possible with standalone projector).
View Replies !
View Related
Sending Projector Thru Email
Dear all,
I'd just finished an invitation using flash. And I want to send to my friends. The problem is how can send this file, since the file was in the .exe form. I tried to send this file, but the message is blocked. Is their other way I can send this?
By the way, all my friends doesn,t have installed flash software to thier pc's.
Thank you in advance...
Regards,
Jepoy
View Replies !
View Related
Sending E-mail From A Projector
I have a projector in a CD and in the contact us page theres a link to send an email. but it is not working properly, it always give an error with some kind of .dll file (hmmapi.dll).
does anyone know how to set a correct "mailto" code from a projector.
id really appreciate it
thanks in advance
Juan
View Replies !
View Related
Sending Mails Through A Projector, HELP I'M DESPERATE
Hi,
I need a solution so I can send mails through a projector (.exe) I tried using Jugglor but it has caused other errors that I can't fix. So does anyone know of another solution that I can use to be able to open the users outlook or mail program by just clicking a button in flash!!! Please I'm desperate because I've already tried everything that I had in mind.
Thanks!
Brenda S.
View Replies !
View Related
SENDING EMAIL WITH STANDALONE PROJECTOR (MAC&PC)
Creating a MULTIPLATFORM standalone CDROM,
I'm desperately trying to, when user is connected to the web,
let him send me an email by clicking on a button.
This button uses the AS getURL("mailto...) and opens the default mail program.(a mail page with email address, subject...)
BUT this AS ONLY works with swf nested in html page. (you can check it out!)
In my case (standalone projection with exe and hqx), this script will not work.
Can anybody help here? is there another AS that works?
many thanks!
View Replies !
View Related
SENDING EMAIL WITH STANDALONE PROJECTOR (MAC&PC)
Creating a MULTIPLATFORM standalone CDROM,
I'm desperately trying to, when user is connected to the web,
let him send me an email by clicking on a button.
This button uses the AS getURL("mailto...) and opens the default mail program.(a mail page with email address, subject...)
BUT this AS ONLY works with swf nested in html page. (you can check it out!)
In my case (standalone projection with exe and hqx), this script will not work.
Can anybody help here? is there another AS that works?
many thanks!
View Replies !
View Related
Sending Loadvars Object Through Projector
Hi !
I am trying to find a way to send a LoadVars Object from my Projector file to a PHP script. Something like this:
myLoadVars.sendAndLoad("http://domain.org:8080/myScript.php", receiverObject, "POST");
At first I thought it was a SandBox issue, but it doesn't seem to be the case. The variables are simply not getting thru. The projector is running on a Mac.
Any ideas?
--
Joseph Decarie
View Replies !
View Related
Loading External Information
i was wondering how i can load data from a text file, (this i already know how to do). but i want to know how to manipulate the data for example, i have a flash project that has 3 different backgrounds, lets say the beach, the forest, the city, each one is an image and is on a seperate layer, then i have a simple character on top of those, how would i go about making it so that depending on if the text file says beach,forest,or city will determine what image will appear in the flash animation....just an fyi i am using Flash MX thank you for any help
View Replies !
View Related
Gettign Information From An External File?
im trying to hav flash dynamicly make a bar out of thumbnails that will be used in an auto scrolling nav bar.... does anyone no how to (if its possible, im sure there is a way) to make flash look in a folder and see how many files are in it?
the idea is to make an if/else that will keep loadmovie-ing jpgs untill they are all loaded (and shifting them over)
then i will get the dimensions of the entire movie clip they are in and adjust my scrollign script to work.... this way i can just drop files into a folder and have them apear on the scroll bar withotu editing the fla.
if it takes xml or java i barely no any but woudl be glad to learn if anyone can help.
thanks for any help.
View Replies !
View Related
Retrieving Information In External Files
Hi,
I'm working on a Flash based app that is to scan a folder with PDF files on my hard disc and display it as a kind of bibliography list. Furthermore I would like to extract eventual notes/comments that I have written inside these PDFs, without having to manually export these.
Any ideas on how to make this happen are extremely welcome. Thanks in advance.
.c
View Replies !
View Related
Embedding External Information Into Flash
I have this information: http://www.ecoute.co.uk/incredicycle/publictext.php that i am trying to embed into my swf.
Does anyone have any info on how i can do it? it's all been pre-formated using HTML tags and bits and have followed a tutorial with no success. Any other resources?
Cheers
View Replies !
View Related
Information From External Text Document
Hi all ,
I have two buttons to retrieve data from an external text document ,each of which contain the following code: (XXXXXXX being different in each button)
on (press) {
var loadedText:LoadVars = new LoadVars();
loadedText.onLoad = function(success:Boolean) {
textfield2_txt.text = "
"+this.XXXXXXX;
};
loadedText.load("mydocument.txt");}
This gets the data with no problem , my question is , can I hyperlink the data in the text document so that when it is bought onto the screen you can then click straight on it , eg. a website link or email address?
Thanks in advance.
View Replies !
View Related
Reading An External Information As A Number
I need to read an external information from a TXT file or from an XML file, but as a number.
I know Number() should convert string to number, but seems like the XML gives me an array, while I used XPath.selectNodes(durationXML, "/xml/@")... I used this code:
ActionScript Code:
durationXML = new XML();durationXML.ignoreWhite = true;durationXML.load("duration.php?filename=projects/tracks/Welcome_To_My_Insenity.mp3");durationXML.onLoad = function() { xml_duration = (XPath.selectNodes(durationXML, "/xml/@")); run_duration = Number(xml_duration)*1000; Description = (xml_duration);}
So I decided to have the external information as a text file with the following content:
run_duration=73.159753
Then, using the following code to read it:
ActionScript Code:
loadVariablesNum("duration.php?filename=" + run_url, 0);run_duration = Number(string_duration);Description = (run_duration);
It doesn't work... seems like loadVaroablesNum read txt files for putting in dynamic text objects and not for putting in variables, or do I do something wrong?
View Replies !
View Related
[MX04] HELP Need Information N Editable Fields Using External .txt?
Hello everyone!
I'm in a bit of a pickle, which is not a good place to be.
I'm creating a presentation for a client and in this presentation I need a lead up page which has a series of editable text fields, and I'm not quite sure where to start.
1. There is to be a field where the client can punch in thier number and it will bring up information which is stored in an external database (Excel?), if they don't know thier number however, they then have the option of filling it out manually. I then need this to immediately create a new .txt file which will become this customers reference (provided one doesn't already exist).
2. Any information that is edited during the session needs to be able to be SAVED to an external .txt file (as above), which can then be called upon if the same client (number) is typed into the field mentioned above.
3. The presentation then moves on to a customisable shopfit, where the client decides how they want thier shop to look (this part is already complete and tested and works fine). However, at present I have a print button which the customer can select and it will print out thier options, but it has been requested (as I think the reps like to leave thier printers in thier other suit jackets) that I have an email option, this needs to email the picture (which normally gets printed) AND the information which was entered into the customer reference page.
My brain hurts, so if anyone can point me in the right direction, I would be eternally grateful.
View Replies !
View Related
Dynamic Text Field Taking Information From External Txt File.
Hello....i was wondering if you can help me out with something that i dont know if flash can do it or not.
this is the part of an actionscript code :
function loadFile(fileName) {
var myData = new LoadVars();
myData.onLoad = function() {
myText_txt2.text = this.content;
};
myData.load(fileName+".txt");
}
init();
Now this code gets information from an external .txt file which inside this file there are the following information...
content=
το 1091...
A famous painter dies blah blah blah
το 1429...
There was a war between blah blah blah several history facts...
it works fine....whats puzzling me is this: Can flash get information from this txt file and display a paragraph at a time instead of all together?
I tried adding a variable for each pararaph like this.
content=
το 1091...
A famous painter dies blah blah blah
content2=
το 1429...
There was a war between blah blah blah several history facts...
on my actionscript code i only changed the name of the dynamic text field to " myText_txt3.text = this.content;" and also changed on the properties window the var: to content2. Shouldnt that normaly work?
Sorry for taking so much of your time i hope you understand my question...Thank you in advance..!
View Replies !
View Related
[CS3] Inputting Information And Retrieving That Information In Flash
I’m using Flash CS3 Pro and I need to create a form in which a user can input data such as their name, email and other information. Then when the user returns, they are able to input their e-mail address and pull up their information (name and other submitted data). I have search all over for a tutorial but I have had no success. I would greatly appreciate it if someone could show me how to create such a form or let me know where I can find a tutorial or information to create one. Thanks in advance.
View Replies !
View Related
Inputting Information And Retrieving That Information In Flash
I’m using Flash CS3 Pro and I need to create a form in which a user can input data such as their name, email and other information. Then when the user returns, they are able to input their e-mail address and pull up their information (name and other submitted data). I have search all over for a tutorial but I have had no success. I would greatly appreciate it if someone could show me how to create such a form or let me know where I can find a tutorial or information to create one. Thanks in advance.
View Replies !
View Related
Sending A Variable To An External Swf
I am trying to send a variable to an external swf file which loads into my movie, is this possible?
At the moment, I have an actionscript in my movie. which reiures a value from my main movie.
so all i want to do is to tell the movie that the
index = 1 , 2 , 3 , etc b4 when the movie loads, so that it know which number to use in the script...
It may sound simple, but 4 some reason, i just cant work it at the mo...
anyhelp would be great!
View Replies !
View Related
Sending An Argument To A External SWF
Hi,
I'm working on a flash website with PHP integration. My doubt is how to load a external SWF passing to it variables as arguments?
Example: I have a SWF that is a search form, the results are shown in this SWF. The results are the name of a person, when somebody click on the result (name), a new "window" open and show more details about that user.
How to pass to this new window the ID of the name clicked?
Another question: In the search form, the "OK" button will call a PHP page that returns with the search's results. I'm thinking in format the data in array's like:
search_data[[id,name],[id,name],[id,name],...] or two arrays:
search_id[id,id,id,...]
search_name[name,name,name,...]
With that, I can create the search list with buttons. What do you think?
Thanks everybody
View Replies !
View Related
Sending An Argument To A External SWF
Hi,
I'm working on a flash website with PHP integration. My doubt is how to load a external SWF passing to it variables as arguments?
Example: I have a SWF that is a search form, the results are shown in this SWF. The results are the name of a person, when somebody click on the result (name), a new "window" open and show more details about that user.
How to pass to this new window the ID of the name clicked?
Another question: In the search form, the "OK" button will call a PHP page that returns with the search's results. I'm thinking in format the data in array's like:
search_data[[id,name],[id,name],[id,name],...] or two arrays:
search_id[id,id,id,...]
search_name[name,name,name,...]
With that, I can create the search list with buttons. What do you think?
Thanks everybody
View Replies !
View Related
Buttons And Sending Varible From A External MC
I am loading a external MC with a button in it, into a empty container. That button needs to tell a MC on the main to play, and at the end of the MC on the main, I want to unload the container and load the next external MC into the empty container. I tried this code below but with no sucess.
-------------------------------------------
use action for button
on(release){_root.tempvar="external1.swf";}
-----
at the end fo ur mc
loadVariablesNum (_root.tempvar, 0);
-------------------------------------------
How do I tell a MC on the main from a loaded MC what MC to load Next?
View Replies !
View Related
|