ActionScript 2.0 :: Data Sending Opens A New Browser?

Oct 8, 2010

I am using this code to send to database however i want the url to submit to the same page. At the moment it opens up a new window

Code:
on(release) {
data_lv = new LoadVars(userScore);
data_lv.score = "100";
data_lv.send("modeight.php?score="+data_lv.score+"", "POST", "_self");

View 3 Replies


Similar Posts:


IDE :: Flash Form - Sending Data Without Opening Browser

Dec 14, 2009

I have a flash form with input text fields. I am sending the data to a 3rd party server. I can send the information via getURL but I want to send the data without opening a browser window so I am utilizing sendAndLoad. It works great locally but not through a browser (tested in IE and Firefox). I have verified that all the variables and urls are in the correct case, I have tried both Post and Get, I have tried network and local..

Here is the file - click on the second image...[URL]
Here is the code...
on (release) {
if (first_name.text.length == 0) {
error.text = "** First Name Required **";
} else if (last_name.text.length == 0) {
error.text = "** Last Name Required **";
[Code] .....

View 1 Replies

Javascript :: Sending Flex Data To SQL As The Browser Closes (on Window.onbeforeunload)?

Nov 3, 2011

I have a ColdFusion function which sends analytics called from a Flex sendPageAnalytics() function to a SQL database when the user navigates - this works perfectly.What I am trying to do is have the Flex application send a bunch of analytics when the user closes their browser, therefore providing information about the last navigation.

I have used an ExternalInterface callback and listener for window.onbeforeunload and a trace statement tells me that this is working fine.My problem is that when all bundled together, I get as far as tracing out that the sendPageAnalytics() function has been called, but I do not get a sendPageAnalyticsFaultHandler() trace or a sendPageAnalyticsResultHandler() trace, which I do on every other sendPageAnalytics() call.

View 1 Replies

ActionScript 2.0 :: Browser Opens Behind Projector

Jul 19, 2006

all my getURLs launch the browsers fine, but if the user allready has a window open, the browser launches behind the projector causing the user to minimize and tab over to the web browser. this only seems to happen on a pc.is there any way to attach something to either the first frame of the flash to close any open browser windows? i know this is a bit of an annoyance for me, as well as many others, from a usablitiy standpoint, but this is the last tweak my client is not budging on.[code]

View 2 Replies

ActionScript 3.0 :: Swf Opens In Flash Player But Not In Browser?

Nov 17, 2010

I have a swf that runs in flash player but if i load the swf into anotherit says I have a null variable and fails. It fails if I run in a browser too. I have debugged to the nth degree and cant find any errors as its not showing any cos it runs perfectly. If i add a pre loader component it fails to run...but again perfect even across a network if i run it in flash player

View 1 Replies

ActionScript 2.0 :: Geturl Function Only Opens Browser Homepage

Jul 8, 2009

I have a button with some transition/easing on it...and a geturl function. However there is something weird happening, when the button is clicked, it sees the geturl alright, and the browser opens...but cant seem to get any further than that! [code]...

View 1 Replies

Flash :: Movie Opens In Browser With A White Background

Oct 21, 2010

I have created a simple movie and placed it in an 'Under Construction' page. The whole page is meant to be black. When I open the browser a white box shows, where the movie will appear, while it is loading. I want the whole page to appear black.[url]...

View 2 Replies

ActionScript 2.0 :: SWF Buttons - Safari Opens The Same Browser Window Twice?

Nov 6, 2009

The swf buttons on my website open double browser windows in Safari - it's fine in IE and FF, just have this problem in Safari.So, why Safari opens the same window twice?

View 0 Replies

Javascript :: Redirect To A Html Page When Site Opens In Non Flash Browser

Feb 29, 2012

How do I redirect to a html page when my flash site opens in non-flash browser?

Here is the code I am curently using

<link rel="shortcut icon" href="/77east.ico" type="image/x-icon" />
<!--[if lte IE 8]>
<script type="text/javascript">window.location = 'ebrowser.html'</script>

[Code].....

View 2 Replies

Data Integration :: Sending Data In Flash To External Text File

Apr 9, 2007

I will be creating a program to use for data entry. I'll be studying zebras in kenya and I won't have the internet there as I'm recording the data. I'd like to be able to send the data I generate in flash to an external text file. I understand I need some sort of script to do that, but is this something I can run just on my machine? (I'll probably make the data into xml format).

View 1 Replies

Flash :: Data Integration - Sending Data For Saba Publisher

Apr 10, 2007

I have an interactive Flash simulation that I have imported into SABA Publisher. I need for the Flash file to communicate with SABA, basically returning that the user has successfully completed the simulation. SABA is supposed to be able to receive data from Flash.

View 2 Replies

Flex :: Make A Flash Browser App That Could Receive Data From Browser Plugin Or Other Windows App?

Dec 18, 2009

in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and press Send or otherwise activate it. That's NOT what I am trying to do here in reality (i.e., no,I am not trying to spam other people's chat rooms or anything)but just an illustration of a similar situation.I can include in it whatever widget or hack that may be necessary.The reason why this problem is arising for me is that AFAIK the SDK that is providing me the data I want cannot be directly accessed from Flash, so I need a way to pipe the data from a regular app into Flash. can I have the Flash app interact with other apps through localhost IP? Or are there draconian restrictions on which server Flash in browser can and cannot interact?

View 1 Replies

ActionScript 3.0 :: Avoid Browser Appearing Problem In Sending Variable To Php

Oct 15, 2011

How can i send variables from flash to a php page. I want it to be done in the standalone flash player and not the browser and also I don't want the browser to pop up like when we use getURL. Is there any possible way of doing it. It seems I cannot find way to sned variable to php except using the following method which opens a browser.[code]...

View 5 Replies

Flex :: Sending POST Variables To A Browser Window From AIR Application

Jul 15, 2011

I'm building an AIR application. Basically, what I'm looking to do is using navigateToUrl() to open a browser window, assign it a "name" and then, send variables to that newly opened window using the POST method.

EDIT : I need the window to be visible, this is why I absolutely need to use the navigateToUrl() function

I already know that I CAN'T DO something like this, that the AIR application will send the variables using the GET method...

var vars:URLVariables = new URLVariables();
vars.myVar = "Hello my friend";
var req:URLRequest = new URLRequest("http://example.com/my-page.php");
req.method = "POST":

[Code].....

View 1 Replies

ActionScript 3.0 :: Detecting Browser Close Event And Send Data To Database / When User Closes Browser Window

May 24, 2010

Trying to detect a browser close event and send some data to the database when the user closes the browser window...but can't seem to get it to work.[code]

View 6 Replies

ActionScript 3.0 :: Conditional Loop Or EventSoundComplete - Play The Sound Completely Before Sending The Browser To The New URL?

Aug 18, 2010

I am using the script below to move from a flash menu to other URLs. It works fine except we need to play the sound completely before sending the browser to the new URL. We are using external sound files and AS3.

[Code]...

View 5 Replies

Flash Cs 3 Sending Data To Php

Mar 12, 2009

I am having trouble on sending my data to the php..I am using flash cs 3 and the code is what I copied from a site. here's the code.[code]I pasted this code to the button named 'submit' and when I checked the script for errors, my script has an error! it says:Statement must appear within on/onClipEvent handler and I don't know what does it mean I am just newbie in flash cs 3.

View 1 Replies

ActionScript 3.0 :: Sending Data To PHP

Oct 26, 2010

I am working to send data from as3 to php and I am having a little trouble with it. I am new to both AS3 and php but at this point I think I am doing fine.The project is simple it just takes two values from as3 and send its to php. But apparently I am not able to send variables from as3 to php. Here is the code(its very simple code):[code]I am sure the insert.php is working as I hardcoded the values in insert.php and it inserts the rows. So, I am assuming that there is some problem with sending the data from as3 to php.

View 2 Replies

Php :: Sending And Receiving Data?

Feb 28, 2012

Not getting data back into flash from php that queries mysql data, think the problem is with my as3 code here?The php works, the as3 posts to the php ok, its the returning of the variables to as3 that I am unsure about and seems to be the problem?

public static function MineData():void{
var myRequest:URLRequest = new URLRequest("login.php");
var myLoader:URLLoader = new URLLoader();

[code].....

View 1 Replies

ActionScript 2.0 :: Sending Some Data To PHP?

Apr 4, 2008

how to send out some data to a PHP file. I have a project set up already where you vote for some options and that sends, but now I need to add some input text fields for people to enter some personal information. What I have right now are two fields with the vars of "name" & "email"And here's the code that is sending out the information to the PHP file:

Code:
submit.onRelease = function():Void
{
sendVars();
_root.gotoAndStop(2);
}

[code]....

I've tried a couple of different ways but so far all of them failed, they included creating another function like the "sendVars" function to send with the submit button and I also tried placing some code into the "sendVars" function relating to the "name" & "email" vars.

View 6 Replies

ActionScript 2.0 :: Sending Data To A Var?

Apr 6, 2008

I made a flash file were people can fill in there name and then press enter and lateron there name will be visable in a other textfield with in the clip.Now i made the following script in frame 1:

Code:
enter_btn.onPress = function() {
if (input != undefined && input != "" && input != "fill in please"){
email = input;
gotoAndPlay(2);

[code]....

this works great, 'input' will bring the filled in name too the textfield with the var called 'email'.Now i moved the 'email' var within a different movieclip with a instance name of form.When i fill in the name in the beginning the 'input' var and 'email' var are not communication nomore. How can i make sure 'input' will give the data to the 'email' within the other movieclip ?

View 2 Replies

ActionScript 2.0 :: (MX) Sending Data In And Out From SWF

Dec 1, 2002

I have an swf called main.swf. from this movie I want to send some data to sub.swf which runs whenever any button on the main.swf is clicked. I want to use the data from main.swf to sub.swf. My query is how can I send the data from main.swf & how to get it in sub.swf. I tried using loadMovie & getURL function but dont know how exactly to use...

View 2 Replies

ActionScript 3.0 :: Sending The Form Data?

Mar 25, 2009

I need to make an Odometer and the user can adjust the numbers and once they select their klm reading it needs to be sent to a PHP to sent it to a database. I am having trouble finding a way to send the data. Is it possible to make a "field box" and what ever number is in the box when you push submit sends to the php?

View 1 Replies

Sending Data From Flash To Php To Database?

Mar 28, 2009

how to send data from a flash to a database and how the receive it aswell. Im presuming you pass the data from the flash to a php file to the database when sending and call the data using a php file to the database aswell. What im trying to do is just have a button that will increment a number in a database by 1 and then display that information on a different Frame within the flash later.

Basically what i want to do if have a button pressed to increment a number in a database.

View 6 Replies

ActionScript 3.0 :: Sending Data In XML Format To Asp.Net From CS3?

Apr 2, 2009

I need to send SQL statements to Asp.Net2 page from Action script 3.0 and i successed in doing that(thx to me OJM) but i need to secure my data and i need to send it in an XML format and recieve the results in an XML format and my problem now is how to send the data in an XML format where when i write the tags of the XML and send it in the URL variables it refuses and reports an error opening URL and when isend the SQL statements not in XML format it accepts it and recieved in the Asp page and i parse it and then return the result and i got it from the CS3 but my problem now that i need to send the data in an XML format can

View 1 Replies

ActionScript 3.0 :: Sending Data To Web Service

Apr 7, 2009

I need to access the database using web service through CS3 i have tried accessing the database using Asp.Net page and it successed when i change just the URL of the Asp page and replace it with the web service URL it reports to me the follwoing error: Error opening [URL] Load failed: HTTP Status = 500 Load failed: IO error: Error #2032: Stream Error. [URL]

and this error elimnates when i request the web service and not sending data in the URL as i send SQL query through URLVariable as follows: var variables:URLVariables = new URLVariables();variables.SQLQuery = "select * from Employee"; this code working with the .aspx page but when i use the web service it reports the previous error inspite the code written in web service is the same in the .aspx page.where in the web service i call a function in the constructor of the web service and this function gets the data from URL and then execute it as follows : if (HttpContext.Current.Request.Form["SQLQuery"] != null)

View 6 Replies

ActionScript 2.0 :: Sending Data From A Form?

Apr 20, 2009

The problem is that I have an input form (with an instance name of 'form'). Its for a newsletter sign up to [URL] All I need is for when you click on the sign up button, it sends the data in the form to a webpage (which is [URL] <- that is actually an example, but the link is pretty much like that.

View 1 Replies

ActionScript 3.0 :: Sending XML Data From 1 Class To Another?

Jan 8, 2010

I am building an APP and have a movieclip(loginScreen_mc) on stage which has a linked class. This class (login class) recieves some xml data and then tells the parent swf (parent.loginScreen_mc) to goto next frame which has a movieClip on it and yes this movieclip has a linked class (case class).

how do i send the xml data recieved in the login class to the case class. I tried to send it to the case class's constructor fn but it doesnt like that.

View 5 Replies

Data Integration :: Sending Variables To PHP?

Jan 21, 2007

I am working on the contact form for a website that is done entirely in flash. The following is the code I have for sending the variables to the emailForm.php script that I created. The only problem I'm having is that everytime you send the contact information, a new web browser window opens up (it opens the php file in the web browser). I'm testing this on my local server and it works great, except for the fact that everytime I send it, I dont want a new browser window opening up.

View 1 Replies

ActionScript 3.0 :: Sending Data Using PUT Not POST?

Jun 18, 2009

Im trying to send data to a REST service. I able to send data useing 'PUT'  or does it have to be with 'POST?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved