ActionScript 2.0 :: LoadVars.send Without The Popup Browser Window?

Nov 28, 2003

I'm using very successfully the "loadVars.send()", using the POST method. BUT I did not expect to see a popup browser window!? I can shut it down using another javascript, but get a confirmation message (because I didn't open up that unwanted browser window using js)... Is there any way I can call a loadVars send without the popup browser window? I am using: myVars.send ("Aurora.php", "POST"); Using: myVars.send("Aurora.php", "_blank", "POST"); or myVars.send ("Aurora.php", "", "POST"); gets me the same pop up window.

View 9 Replies


Similar Posts:


ActionScript 2.0 :: Send Data To A CGI Script Via GetURL And Not Have A Popup Window On Send?

Mar 11, 2004

I searched around and found some helpful things, but I am still missing something I think...

LoadVariables() won't work across domains, right, so, is it porrible to send data to a CGI script via getURL and not have a popup window on send?

View 3 Replies

ActionScript 1/2 :: LoadVars.sendAndLoad() Between Parent And Popup Window?

Jun 8, 2010

Having not used PHP in conjuction with Flash before the last few day, I'm a bit stuck.I have a PHP file which will contain a list of online courses, each with their own link to to launch them.  The link to launch the course will contain data such as:

- A book mark that will be read when the flash movie loads to determine which page to go to.

- The current score of the student

- Wherever or not the student has compelted the course.The links open the course in a new popup window, and I am trying to send the PHP variables from the new window to the parent page, without much success.

If I use LoadVars.send(); then the whole works ok, updating the variables and the PHP page, but opening it in a new window, instead of just refreshing the existing page.I have tried getting my head around sendAndLoad, but it doesn't seem to work?Current the "courselist.php" file looks like this:

courselist.php[code]....

View 1 Replies

ActionScript 2.0 :: Loadvars - Avoid Opening The Browser When Send Variables To Php?

Mar 16, 2010

I am using the following code to send some values do a php file. The problem comes when i actually SEND them (values). A browser opens up. How could i avoid opening the browser when i send my variables to my php?

[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 2.0 :: Popup Window Variable To Browser?

Aug 11, 2004

I have created a picture gallery within Flash with 20 or so small pictures. When I click on a picture, I would like to open a page called "picture.html" with attributes. Ive got it working, sort-of, with the following code I found here on this site

in my button I have:

on (release) {
//customize the window that gets opened
// 0 equals NO.

[Code].....

Anyway, its working fine, except I would like to know if its possible to have only 1 "picture.html" file for all my 20 pictures in the photo gallery.

I know that somewhere within picture.html, I need to open an image.jpg. I would like to pass the big picture's file name to the picture.html page from the flash button. So, how would I pass "picture1.jpg" to "picture.html", and within "picture.html" how would I open an image from a variable?

View 4 Replies

Actionscript :: Open A Browser PopUp Window From ( Flash )?

Apr 29, 2010

How to open a Browser popUp window from Actionscript ( Flash )?

View 3 Replies

ActionScript 2.0 :: Open A PDF In Flash CS5 That Will Launch Into A Popup Browser Window?

Jun 10, 2010

how to open a PDF in Flash CS5 that will launch into a popup browser window. In CS3/CS4 I used the "geturl" command and it worked perfect. In CS5, the geturl command always wants to open a url (ex. [URL]) instead of a local file on my drive. Is there any way around this to make it work like the older versions of Flash? Basically stop it from trying to launch the [URL]?

View 9 Replies

ActionScript 2.0 :: Multiple Centered Popup Window - Buttons Don't Open / Replace Past That One Popup

Jul 6, 2004

i'm using the centered pop up window script from: [URL]. i have multiple buttons in my flash movie which open screenshot html pages in external browser windows. the script works fine except when a popup window stays open. the rest of the buttons don't open/replace past that one popup. i tried changing the window name in the onRelease script to screen1, screen2, etc for each button, but that didn't work.

View 1 Replies

Actionscript 3 :: Close The Adobe Flex Popup Non Modal Window If Click On The Parent Page Of The Popup

Dec 12, 2011

I need to close the popup(adobe flex), non modal window if I click on the parent page of the popup. I have to do the out of focus check and then do some validation before close the popup. So what I was thinking that is there any inbuilt focus check event or do we need to create custom event for that?

View 1 Replies

Flex :: Placing Popup Window In The Middle Of The Main Window

Mar 16, 2010

I'm trying to place a popup window (TitleWindow) in the middle of the main application window. how do i set the coordinates of my popup window to be of the main application window? i tried the localToGlobal function but with no luck, I just can't get the main window x and y.

View 3 Replies

Flex :: Reload Main Window's Variable In Popup Window?

Aug 12, 2011

How to access main window's variable from popup window.

I create a popup window in the main window, and pass variable "content" to this popup window as following [code]...

View 2 Replies

ActionScript 2.0 :: Resizing The Window - Photos Will Popup In A Fullscreen Window

Apr 25, 2008

Go to [URL]. Click on "The Photos". It will pop up in a fullscreen window. Try resizing the window and you'll notice that the background is vector and it looks like the scale mode is set to "showAll". BUT, the photos look like they have a separate scale mode set to "noScale". They don't resize.

View 2 Replies

ActionScript 1/2 :: Send An Object With Loadvars?

May 5, 2009

I wonder if this is doable. Let say if I have an object:
 
var car:Object = new Object();
car.color = 'red';
car.doors = ' 4';
car.make = 'Honda';
car.model = 'Accord';
 
Can I send this object via Loadvars like this:
 
var send_lv:LoadVars = new LoadVars();send_lv.carobj = car;
send_lv.sendAndLoad("script goes here", result_lv, "POST");

View 1 Replies

ActionScript 2.0 :: Send JSON With LoadVars?

Jun 18, 2009

I am trying to make a simple POST using LoadVars. Since I am using an API there are some limitations though. The request must be send via POST with a JSON header. The body of the request should not contain name value pairs, but rather just a JSON object.

This last requirement has been troublesome for me because it seems like the only way to make a POST with LoadVars requires you to specify a variable name.

[Code]...

View 0 Replies

IDE :: LoadVars Send Always Return Undefined?

Apr 19, 2009

Flash file:

Code:
s.onSoundComplete = function(){
loadVars_out.songId = sa[cps].id;
loadVars_out.send("incPlayedNumber.php", "_self", "POST");

[code]....

View 5 Replies

ActionScript 2.0 :: Popup Opens In The SAME Window And Not Ina New Window

Mar 27, 2006

following situation: a button with AS :

[Code]...

this popup opens in the SAME window and not ina new window. What can I do to let it open in a new window and given the same properties to this new window as above: toolbar=No,location=No,scrollbars=No,status=No etc.... a geturl opens it in a new window but does not give toolbar=No,location=No,scrollbars=No,status=No etc.... properties to the window

View 2 Replies

ActionScript 2.0 :: LoadVars - Form Can't Send With GET / POST

Jun 19, 2011

I have a very simple form to send user data to a php file

when i run my form from FLASH PROFESSIONAL it send without problem

but when i run SWF or html with SWF no matter on lacal disc or website it doesn't work[code]...

View 1 Replies

ActionScript 2.0 :: Use LoadVars To Send POST Without Attached Variable Name?

Jan 12, 2009

Let's say I'd like to post some data to a server side script. If my data is

var data:String = "<data><tag1>hi</tag1></data>";

and I'd like to send it with LoadVars, I can do:

var lv:LoadVars = new LoadVars()
lv.data = data;
lv.sendAndLoad("http://thescript/", lv, "POST");

However, this results in the POST looking like this:

data=<data><tag1>hi</tag1></data>

if I want to send it without the variable name (no "data=", just the actual data), how is this possible? In AS3 I can just use the .data property of a URLRequest and it will work, however I can't find a way to do this in AS2.

View 1 Replies

ActionScript 2.0 :: Send A Negative Value To A Text File Using Loadvars()?

Apr 21, 2007

I'm trying to send a negative value to a text file using loadvars().

so i did this:

send_lv.xPos = currObj._x;

but if the _x is negative, the minus is replaced by '%2D' How do i send the minus sign??

View 2 Replies

Data Integration :: LoadVars-using Send To Pass A Variable From Flash To Php

Mar 24, 2008

For the life of me, I've tried everything: I've researched LoadVars on Adobe forum, used David Powers' books, googled 'flash to php', LoadVars, etc. and tried sendAndLoad, send, and using $_POST, $_GET, $_REQUEST. $HTTP_POSTVARS but I keep getting this same error.

I have a Unix server running Apache/PHP 4 - LoadVars worked to load name-value pairs into an array -see thread)

My goal with this simple app is to prototype being able to pass a variable from flash to a variable in php.

Parse error: syntax error, unexpected T_VARIABLE in flash_to_SQL.php on line 5

Actionscript 2.0 code:

var c :LoadVars = new LoadVars();
c.testing = "123FOUR";
c.send ("

[Code]....

View 3 Replies

Media Server :: Using LoadVars In SSAS To Send Data To A Php File?

Mar 21, 2012

I am using FMS 4.5 and have a simple application which I want to use to send two strings to a php file. But I get a compilation error whenever I try to assign any value to these objects:
 
Here is main.asc:
 
<code>
var variables = new LoadVars();
variables.username = "uname";
variables.send(http://url.abc.com/test.php,POST)
</code>
  
I can't compile with the second line. FMS just says: Sending error message: Compilation error
 
How do I send variables to a HTTP URL?

View 2 Replies

ActionScript 2.0 :: Target A Particular Frame In A Webpage As Can The LoadVars.send()-function?

Dec 6, 2006

Im wondering if the LoadVars.SendAndLoad()-function can target a particular frame in a webpage as can the LoadVars.send()-function?

View 2 Replies

IDE :: LoadVars - Send Data From PHP To Flash - Does Not Display The Contents In The Variable

Jun 23, 2009

I would like to send data from PHP to Flash however, it sends just fine but when displaying on Flash, it does not display the contents in the variable. Instead, it displays the name of the variable. This may be a simple answer but I'm quite new to this. Here is the code in Flash.

[Code]...

View 7 Replies

ActionScript 2.0 :: User Is Redirected To Paypal Via A LoadVars.send Command ?

Jul 19, 2009

I have made flash music player on http:[url]... - when the user has selected the songs to purchase and click's buy now, the user is redirected to paypal via a loadVars.send('https:url....') command.When I embed the flash player on MySpace or Soundclick for example,the redirect is blocked, and the player doesn't redirect.Is there a way around this, or an alternative to the lv.send method?

View 3 Replies

Data Integration :: Firefox 2.x Sending Variables To PHP Scripts With The LoadVars.send / POST Method

Dec 29, 2006

There seems to be a problem with Firefox 2.x sending variables to PHP scripts with the LoadVars.send/POST method.

<br>

The same problem doesn't occur in IE or Opera. <br>See this url for example to try in both FF and IE/Opera: here. <br>The source files are here g.zelenka@iinet.net.au

View 4 Replies

ActionScript 2.0 :: LoadVars Doesn't Work In The Browser?

Nov 3, 2009

I have a problem when I try to use the loadVars class in an ActionScript 2 (CS3) file. Actually, it works fine in the debugger but it doesn't work at all from a web browser (IE or FF).

This is my AS code :

ActionScript Code:
_root.testURL = "http://REMOTE_SERVER_IP:PORT/FILE.html";
var myLoadVars:LoadVars = new LoadVars();
_root.info.text = "Loading...";

[Code]....

I can see "File loaded" in the info text field, but the file is not called (I checked the server log) when the swf file is loaded into an HTML page and displayed by a web browser. Thus, _root.sr.text is set to undefined.

View 4 Replies

ActionScript 1/2 :: Window Component - Keep Buttons From Being Active While The Popup Window Is Active?

Mar 26, 2009

I have a window component on my main timeline that gets called up on several instances. When the popup window appears, everything looks fine, except that the user can still click on links that are now behind the actual popup window itself. My question is how do I keep those buttons from being active while the popup window is active?

View 2 Replies

Actionscript 3 :: Send Data From Popup To Main Application?

Aug 2, 2011

I'm not getting the answer I'm looking for. I want to send the request data i get to the main application.

<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" remove="titlewindow1_removeHandler(event)"
width="400" height="220" layout="absolute" title="USER LOGIN">
<mx:Metadata>
[Event(name="commEvent", type="flash.events.Event")]

[Code]...

View 1 Replies

ActionScript 3.0 :: Link To Rather Open Up A Download Window Instead Of Just A New Browser Window?

Oct 30, 2009

i have a flash site that links to PDF's with the navigateToURL function which works etc But now i would like Link to rather open up a download window instead of just a new browser window?

View 3 Replies







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