Create Such A Swf Where We Can Enter Data?
Aug 18, 2006How to create such a swf where we can enter data
i need to create a swf where we can enter a text information. and this swf need to call into another swf.
How to create such a swf where we can enter data
i need to create a swf where we can enter a text information. and this swf need to call into another swf.
I have a simple microsoft access database (table with a handful of fields).I want to make a flash form that operators can use on mac and pc to enter information into the database.I know little about databases and although I've worked as a designer with flash for years, i know little about the latest scripting too.
View 4 RepliesI am trying to insert data into a DB, but it won't enter. Here is what I have for the AS:
on(release) {
if(new_player_name ne '')
{[code]....
I've created several textFields, writing:
ActionScript Code:
for(i=0;i<=10;i++){
this.createTextField("texto"+i,i+1,100,100,100,100);
};
That's O.K. But I can't put a text in them... when I write
ActionScript Code:
for(i=0;i<=10;i++){
["texto"+i].text = 15;
};
It simply doesn't work!
What must be done to allow a user to input information into a flash form, have it permanently saved to a .txt file and then have the data returned to another location within the same flash document?
"First time posting and this site is awesome."
What must be done to allow a user to input information into a flash form, have it permanently saved to a .txt file and then have the data returned to another location within the same flash document? "First time posting and this site is awesome."
View 1 RepliesI tried to create a input text that asks the user to enter a value then i wanted that value to be compared with another var by an if statement but when it gets to that part it always goes to the else condition. I did check the values by making the flash view, they are the same but its still not running as i want it to.
anyways ill leave you with the code :
variables:
btn: a button i created
maq: an empty string that stores the value of the input text
GPA.text: name of the input text
V3: is just a dynamic text to let me know if the condition is met or not
Code:
stop();
btn.addEventListener(MouseEvent.MOUSE_UP,checker);
function checker(Event:MouseEvent):void
[Code]...
When my focus is inside the input text field, pressing CTRL+ENTER works but ENTER does not.Pressing Enter when my focus is anywhere BUT the input text field works just fine..My intention is to detect if ENTER key was pressed after the user fills out the field, but it seems to only work for CTRL+ENTER
ActionScript 3:
// works:
stage.addEventListener(KeyboardEvent.KEY_DOWN, enterHandler);
// ignored:
email.addEventListener(KeyboardEvent.KEY_DOWN, enterHandler);
[code]....
ENTER results in charCode == 0, whereas CTRL+ENTER is charCode == 13 email was created using the Text tool and set to "Editable"
Note: I am testing in Chrome and Firefox running Flash v10
I'm creating a Flash instant messaging application (through XMPP protocol) and run into a problem. It isn't that important but I was quite upset that I wasn't able to solve it and I want to know if their is a solution =D
I have a TextArea chat input and a button to send the text, the TextArea is multiline and so captures the Enter key to jump one line... What I need is to send the message with the Enter key and jump with a Ctrl+Enter combination... My ideas were to disable the bubbling of the Enter key, trap it, and then manually assign the Ctrl+Enter combination to jumping the line in TextArea but couldn't find how to do all this...
Is it possible to pull questions from a data file into flash without having to create new frames for every question. This would be a multiple choice test. We currently hand type the questions into multiple frames and grade at the end.
View 1 Repliesi got a doubt with creating XML objects using classes. thecase is:there should be a class like CreateXML which will intialisean XML objectand has methods to add new elements to the XML. how to createnew XMLelements/nodes to this class?is there anyway to create and write into an external XML fileusingactionscript?can we make an XML object updated with new data elements onthe runtime
View 1 RepliesActionScript Code:
var listaVideo:XML = new XML();
listaVideo.ignoreWhite = true;
[Code]....
this is my listing and what I need to do is to create dinamicly movie clip instances to point diffrent web sites for every node of my XML file and I'm stuck...
my XML file looks like this:
HTML Code:
<?xml version="1.0" encoding="UTF-8"?>
<videos>
<video url="http://www.hau-miau.pl/cyber_minotaur.flv" title="video1"
[Code].....
I need to create a database using Flash which gets the data such as "name , last name..." from the user and stores it in a database.
View 1 RepliesI've done a bit of web design work,and have used Flash a little,so familiar with the principles of the timeline, keyframing, and twining etc.The sort of thing we might be looking to produce would be similar to this site below :[url].....how technically challenging that might get,or is it the sort of thing that although looks complex, might be relatively easy to achieve armed with a reasonable understanding of the Flash principles that are driving it.
View 10 RepliesI am trying to create an interactive US map (unless one is already out there), that would show some data about the state a user would hover over. Then drill down once the user clicks on the State to see cities, where the user would see City-specific data when hovering over a city... etc.BTW. This data is not static... it is based on queries from a DBase (i.e. MS Access). So, depending on what's happening in that region, the data would be entered in the DBase and the Map would reflect those changes...
View 4 RepliesI want to render a very simple Flex data grid. How do I anchor the SWF flash file in the HTML? Do I need to compile a special .swf or can I use a 'standard' data grid .swf - and just pass the data to it?
View 1 RepliesI need to bind a property to an edit control and have the control write its value back to the same property. The problem is, I'm setting the source value before the control is created:
<mx:Panel>
<mx:Script>
<![CDATA[
[Bindable] public var editedDocument: XML;
[code].....
I want to create a file and write some data (userid) into the file at first run of my application, during the second run all the operation (will go to the next state) based on the file data, is it possible? How to create and write data into file?
View 2 Repliesi have prototyped a small flash (AS3) application to be used by 1st graders (district wide).. it is intended to be server based...(it works ok ) now my boss wants the data saved. i think i want to put it in a db.. i can collect studentID, numberCorrect, and numberMissed
View 3 RepliesIs it possible to create a bar chart with dynamic data in AS2 or AS3??? If so, can anyone point in the direction of a good tutorial?
View 3 RepliesIn a recent project, after loading an XML document, I immediately parsed it and created a bunch of custom data objects that represented the data in the XML document.Now that the project is complete, I have a little bit of time to reflect and am wondering if I should have bypassed creating the data objects and just create a handful of methods that parse the XML in specific ways.I just did a quick rewrite to test it out and it is definitely simpler (which I tend to think is better). If the XML structure changed later on in time, I could just update or write new wrapper functions for parsing it.
View 1 RepliesIm trying to create a small data visualization project. i'm wanted multicoloured balls to fall the mouse round the screen and when you click one it brings up data from an xml document. im currently using a image of a ball is there away to generate one in flash so far this is what i have
ball.onEnterFrame = function() {
var xMouse = _root._xmouse;
var yMouse = _root._ymouse;
[code]....
I have to creare a javascript alert that will show the value of a flash input text box when i press on the flash button next to it.
i have created in the editor the input text box and the button, and use the following script on the button [code]...
I'm trying to create a flash app that has 2 things inside. An InputTextBox which is called txt_userinput and a Button called btn_submit.
Bascially, the user just need to type in some word in the InputTextBox and press btn_submit. The data will then be sent to a testing.TXT in my DESKTOP. My .FLA file is in MY DOCUMENTS while the testing.TXT is in my DESKTOP.
Question 1: Question is, how do I make the data from txt_userinput to be sent to the .TXT in my DESKTOP?
For example, the user typed "Hello, how are you?" in the InputTextBox. In the .TXT file, I want it to show "Hello, how are you?".
PS: testing.TXT file is already created in the desktop, just waiting for flash to write the data in and keeps on adding more data in the future in the following format.[code]...
1. I wish to build a questionnaire with 14 questions where the user can answer Yes or No each question.
2. Then I would like to save these answers in a mySQL
[Code]...
I need to create a flash chart that would take data dynamicaly as in this link [URL]..
View 2 RepliesI'm looking to create a slideshow that needs to automatically advance, with each slide having 2 pictures and a short text description, each which would be unique for each slide. The file name for the pictures and description are contained in this xml, currently my XML file has the tags in the format <pic1> location.jpg </pic1>, each grouped for the slide they both need to be on.
View 2 RepliesI retrieve XML data in Flex via HttpService. I have the resultFormat property on the HttpService instance set to HTTPService.RESULT_FORMAT_OBJECT. The result contains data similar to this:
<!-- ... -->
<children>
<item><!-- ... --></item>
[Code]....
I get an array named item beneath the element children when there is more than one item sibling. If there's only one, the conversion can't distinguish it from a scalar.
What do I need to change to have Flex convert all item elements to an array with 0 or more elements?
What would I have to do to get an array member children, dropping the item wrappers altogether?
The XML is generated by Struts on the server side. I always have the option to change the structure of the document there, but right now I'm interested in what I can do with Flex.
I have a string of of base64-encoded PNG image that is suitable to use as a src (source) attribute in a <img> tag. However I need to transfer this image to Flash applet where I need to create (show) the image fast. Is there a way to simply use the data string and somehow create an image (inside a Flash movie) from it?
View 1 RepliesJust wanted to ask, is it at all possible to create sound spectrum from the data that RTMP server streamed? I read this computeSpectrum and it says
"In addition, this method cannot be used to extract data from RTMP streams, even when it is called by content that reside in the same domain as the RTMP server."
I will not be using FMS so it stays inpossible. Are there any available hacks with php and the server or whatever?