ActionScript 2.0 :: Insert Data Into A DB, But It Won't Enter?
Mar 16, 2006I 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 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 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 RepliesHow 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 want to insert data into a SQL Server, but I keep getting this error RPC Fault faultString="SOAP Response cannot be decoded. Raw response:faultCode="DecodingError" faultDetail="null"]
I can get data all day, but why can't I input any?
<mx:WebService id="ws" wsdl="http://localhost:/AService01.asmx?wsdl"
fault="onFault(event)">
<mx:operation
name="GetEmployees"
[Code]...
How do I insert XML data into an ArrayCollection in AS3?
View 2 Repliesvar variable:URLVariables = new URLVariables();
var myRequest:URLRequest = new URLRequest();
myRequest.data = variable;
[code]....
First of all I am using Flash MX 2004 and have Office 2003.
I am trying to use my flash form to insert data into a ms access database but it is not going too well.
I have 4 input fields on the flash form and a submit button, ActionScript on the Submit button is as follows.[code]...
I have an SWF that calls an XML file to display some images.
When the SWF, XML and image files are all in the same directory the SWF runs fine, displaying all the images.
What I want to do is display the SWF within a HTML page that I have created in dreamweaver.
I've inserted all the files into the same directory within the site and when I test the page the SWF loads but it doesnt carry out any of the actions prescribed in the XML file.
Could anyone point me to a tutorial or tell me where I should put the XML & image files in my site structure and if I need to alter the AS that calls the xml (Currently - xml.load("icons.xml");)
I am completely new to Flash and actionscript.I have a small project which requires me to submit details into a MS Access Database. I have created an asp scrip to do the same but it doesnt seem to be working. I am posting the code.
my fla code
********
import flash.events.Event;
[code]........
writing a PHP script that will decide to create a new row in mysql or just update an exsisting account and pass the information back to my swf file.. I am sure alot of people would need this when creating a form that updates or creates account information...
View 1 RepliesI have a quiz game that i have finish. in this game have a finish button. if the finish button clicked the score from the quiz want to insert into mysql database.
View 1 RepliesI'm trying to insert some data into my DB from two Combo Boxes in Flash. I'm not quite sure how to go about it. I have no idea how to give the combo box a 'var' value like we do for a regular textfield. I have other pages where I have regular text fields that work fine as I can specify the 'var' value in the properties but not for combo boxes. I'm new to actionscript so please bear with me.
Action Script for my button:
Code:
on (press) {
loadVariablesNum
("http://localhost/Test/acadForm.asp",0, "post");
[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 need to insert a Box containing some text that appears between the grid header and main content and spans all the grid columns. I've been searching and experimenting (addChildAt()) but no luck so far. Is this possible to achieve?If not, is it possible to dynamically render the text in the header itself, below and spanning the column header text?
View 1 RepliesHow to connect to MYSQL DB from Java, create table, insert data, retrieve it with datatypes. How to make use of the data to/from in Flex application. i have basic knowledge in sending and receiving messages using BlazeDS.
View 1 RepliesWhen 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 have few button to let user click and the symbol will insert into the input text. i change my input box to 'symbol' but i facing the problem that i can't insert character other than symbol...
View 6 RepliesI'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...
Its been a while since my last post and i apologise if this has come up before, but what im basically trying to do is insert (not load) a swf into my main fla file. I have my home page (index.fla) and i've downloaded this cool image viewer or slideshow, and i want to insert that into my index.fla file. What I've tried so far. I've inserted a movie clip and named it imageViewer, I then imported (to stage) viewer.swf. This does not work. Something that looks nothing like the image viewer briefly pops up when i run index.fla.
View 7 RepliesI have two separte files that i need to compile into one single file....and (i may be wrong in thinking this) if i make one main movie and load the two in as external .swf files...i'll have to change all the _root.blah blah blah code (which there is a lot of) so i want to avoid that.
View 9 RepliesI've finished my flash file. I created it with Flash CS3. I didn't use any scripting, dynamic stuff, etc.. It's a simple flash movie of vectors/tweening.I want to insert it in my homepage, but when I publish it, I get quite a lot of code. I've been looking around & I see some sites that have all this javascript & some that don't.Could someone help me identify the correct way to embed my .swf file? I'm not a fan of .js since it doesn't work if it's turned off in a user's browser. I want my .swf file to play as long as the visitor has Flash 8 or higher installed. And if they don't, I want to display a .png instead.[code]
View 2 RepliesWhenever i watch the tuts on Macromedia they click the time line and it automatically make the Key frames for them, but tmine when i clicked it, it only highlights the section on the time line, and i have to right click on the frame and insert key frames for there. How do you make it so that when u click or double clicked it automaticlally make the key frames on the section of the frame selected
View 1 RepliesI am trying to insert an xml swf portfolio into my main fla file... could some kind person talk me through it?
I have tried inserting into the stage, and inserting into a movie container but no luck.
I use a handful of shortcuts daily while developing in Flash on OSX. The shortcuts I use the most are when I'm working on the timeline with key frames. F5, f6, F7 etc. However, I cannot use the F6 key to insert keyframes. It's not an option as a shortcut in the drop down and the option to change or assign it is grayed out in the Keyboard Preferences menu.My first thought is that I have another program running or setting in OSX that's blocking that ability or overriding it. I have tried reinstalling CS4 entirely with no luck. Does anyone have any suggestions of how to track down the problem? It's a huge time killer when doing animation.
View 2 RepliesWhat I want to do is inserting and ad inside a flv video in my website, such as youtube is doing early, or insert a publicity video BEFORE the real one begins, without letting the possibility of quiting the ad. It has to be called apart by code, and I don't really know if it's possible.
View 2 RepliesSay I got an mc..that I attached dynamically to a certain Movie Clip now I need to detach it and insert it into another one that's in a different place (with something like onRelease...) I'm having a hard time cause you can't duplicate movies with dynamically loaded jpgs... it gives me the initial emptyMC with no jpg..
View 1 Repliesi have a simple flash intro, but 5 days and I cant insert a url in a buttom, i tryed and itroutes to my own pc [URL], as opposed to [URL]
View 2 Replieshow can i insert a swf into a vb? i dont understand the part there that drag an instance of shockwave flash component into your main form. I really cant figure this thing out.
View 2 Replies