ActionScript 3.0 :: Open A New Window Send Var?
Nov 28, 2008
I would like to know, which would be the better way to open a new window from an AS3 application, and send some information to the new window. By the moment I have a PHP that generates an xml, but I don't think that is the better way, I would like to know the opinion of a master?
View 7 Replies
Similar Posts:
Mar 6, 2004
1) how do you open a new window if you have thumbnail pics in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?
2) How do they do the menu bar here at this site:[URL]
View 1 Replies
Jul 13, 2009
I work with 3d animation. Im have a problem with a personal website Im doing, I have a link in a button inside a flash movie to open a new window and play a youtube movie:
on (release) {
var jscommand:String = "window.open('http://www.youtube.com/v/b0L4XLODhAA&hl=en&fs=1&','win','height=344,width=4 25,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");
}
This works fine in Firefox but in IE it doesnt work, I then change the /v/ in the youtube link with /p.swf?video_id= and now I have the window open showing the small youtube thumbnail of my video but once a click play, nothing happens, I check it and is not loading anything.
View 8 Replies
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
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
Nov 18, 2009
I'm trying to get the link to open in the same window instead of a new window, it's currently set to _blank. I tried _top, _self, _parent. When it's set to anything other than _blank the link doesn't work.
[Code]....
View 7 Replies
Jul 9, 2010
In Flex Air app, how do you open a window behind an active one?
I tried following and i can't seem to get it to work
[Code]...
With this code, I would expect window1 to open behind the main app window and, in 3 seconds, window2 would open behind window1. But if you execute this, window1 will open on top of the main window and window2 will open on top of window1 and the main app will retain focus. This seems like a bug in the Flex. If so is there any workaround for this problem?
View 2 Replies
Sep 20, 2007
I have a Flash form sending variables to an ASP script (bono.asp) in order to print a discount bonus. The bonus grafic is then shown in a new window for the user to print with his/her data on it. (name, address, etc). Well, the problem is that it not only opens a new window with the bonus (without the data ), it also opens the bonus in the current window (with the data), forcing the user to "go back" to the flash website and loading the entire animation again. This is the code in the Flash form asociated to the Button:
[Code]...
View 7 Replies
Jul 1, 2011
Yesterday phtrivier showed me how to send an array to a new/sub-window.Now I have replaced this static source of data with an XML file that loads into an ArrayCollection.Unfortunately I found an ArrayCollection behaves differently than an Array when you try to send a part of it to a new/sub-window.How can I do this with the ArrayCollection?Or should I take the easy road with sending an Array and instead look for a way to make the XML load into an Array instead of an ArrayCollection? I don't think I will require the extra features an AC offers.
MyMain.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication ...stuff... creationComplete="settingService.send()">
[code]........
View 1 Replies
Dec 11, 2007
I want to use loadvars.send but I would rather it didn't open the target page in a new tab, but to act like a normal page would...
View 1 Replies
May 18, 2009
I want it so my website will open a new window with the swf in it and I don't know what the actionscript is for that.
View 1 Replies
Apr 9, 2010
I am new to flash and would like to create a button that opens a pdf in a new window. How would you do that?
View 5 Replies
Jan 30, 2011
I am trying to open a URL without opening a new browser tab, Im using AS3, heres what I have so far[code]...
View 1 Replies
Jan 23, 2003
I need to open a .swf in a new window from a botton of another .swf, and I want to keep open the 2 windows. But I do not want to use html, only flash.
View 10 Replies
Mar 21, 2011
I have a menu.exe opening up 3 seperate exe's. Is it possible to open up the 3 seperate exe's in the same window as the menu.exe?
This is what I have at the moment:
on (keyPress "<Space>") {
fscommand("Exec", "page01.exe");
}
View 2 Replies
Nov 12, 2009
I'm trying to link a button to a pdf file, the root of which is on my pc (not a server). AS2.
View 1 Replies
Jan 19, 2010
how to make the URL open in the same window. I am using flash CS3, Is there anyone who can edit the script below to allow this. The instance name is Button6
var getnextpage5:URLRequest = new URLRequest ("http://www.yokubou.co.uk/digitalart.html");
Button6.addEventListener(MouseEvent.CLICK,b5Click) ;
function b5Click(event:MouseEvent):void{
[Code]....
View 2 Replies
May 26, 2010
I'm new to flash and can not find an answer to what I would think is simple. I may not be searching for the right thing. Anywho... I am creating an flash presentation. I want to open a swf file in a new window. I know how to load them inside the current window, but that won't help. I searched the web and found: getURL("name.swf", '_blank') but that does not work. Thinking it may be as2, and my file is as3.
View 6 Replies
Jun 14, 2010
I am using Flash CS3, AS 2.0 and I have a button with -
on (release) {
getURL ("http://www.axiomaudio.com/store.html", _blank)
}
This is a small banner in an HTML page and I want it to open in the same window instead of opening a new window. I have tried using _self) instead of _blank) but it still opens a new window.
View 6 Replies
Jun 17, 2010
I've been using this code, which, when i click on a button it sends me to a new link, but when I put the .swf on my website and click the button, it sends me to a new tab *BUT* the url is instead ofI also want it in a new window instead of a new tab.here's the code (All in the first frame)
Actionscript Code:
button31BTN.addEventListener(MouseEvent.CLICK, clickButton31);function clickButton31(event:MouseEvent):void{ var url:String = "www.theurl.com"; var
[code].....
View 2 Replies
Mar 21, 2011
I have a menu.exe opening up 3 seperate exe's. Is it possible to open up the 3 seperate exe's in the same window as the menu.exe???(I tried swfs but when I launched each swf, they were sluggish and sometimes unresponsive).This is what I have at the moment:
on (keyPress "<Space>") {
fscommand("Exec", "page01.exe");
}
View 3 Replies
May 4, 2011
I'm using flash 8, I'm tired of having one monitor share the timeline, stage, actions and properties window. I'd like to detach my actions window and place it on my other monitor. Is this possible?
View 2 Replies
Mar 5, 2009
I have a .swf I want my users to be able to open, but without opening a new window.
I'm sure you all have seen this effect. In a photo gallery, the user clicks a thumbnail, the screen darkens, a white box resizes to the size of the larger image and the full-size image loads...all without opening a new window. I'd like to do the same with a .swf.
View 2 Replies
Jul 1, 2009
How can I create a new window such as the one that opens here when i click the "insert link" above, with fade out and one that looks as if it's in the same window ?
View 1 Replies
Jul 27, 2009
I have a flash slide on my site. The slide has next and previous buttons to either move to the next slide or the previous slide. Each slide is only an image. When you click a particular image it takes you to the page specific to the image you clicked.
My issue is this: When you click the image, it opens the page in a new window. I would like to have the window open in the same window, but having issues figuring out how to do it.
The flash is controled by an image.xml script. I've added target= "_blank" to the xml, but the URLs are still opening in a seperate window. I didnt create the flash, is it possible the issues lies within the .fla file?
Below is a sample of images.xml
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<image>imagesimage.jpg</image>
[Code].....
View 5 Replies
Aug 22, 2009
<script>window.resizeTo(350, 500);</script> that is what I did it works but is there anyway I can get rid of the menu bars and scroll for the windowresize?
View 1 Replies
Dec 23, 2009
By default Firefox opens urls set to 'new window' in a new firefox tab instead. Is there any way to force Firefox to open a new window?This doesn't work in Firefox: it opens a new tab window instead of a real new window. How can I make Firefox open a new window? Without the popup blocker blocking it?
View 1 Replies
Feb 26, 2010
Is there anyway to see if a pop-up window is open using AS3?
I'm trying to come up with a login process through a pop-up window - if the pop-up closes then I'll want to fire an event.
View 5 Replies
May 20, 2010
I need to find out if its possible to click on a thumbnail and the image opens up in a new window? the image I have is not uploaded onto the web or anything like that.
View 1 Replies
Mar 21, 2011
I have a menu.exe opening up 3 seperate exe's. Is it possible to open up the 3 seperate exe's in the same window as the menu.exe???This is what I have at the moment:on (keyPress "<Space>") {fscommand("Exec", "page01.exe");}
View 1 Replies