ActionScript 2.0 :: Pop Up Window Location

Oct 16, 2004

i have a button that opens a pop up window centered on the screen.What actionscript do i need to add if i want the pop up wndow to be say 100 pixels higher than te center of the screen?also, is there anyway to make the pop up borderless and add another button to close it---i'm going for a streamlined look and don't want all the "windows stuff---i already turned off the slider bar,code]

View 5 Replies


Similar Posts:


IDE :: Flash Player Window Location?

Oct 27, 2009

I've created a Flash project that is to be distributed on a CD and launched as a 1024 x 768 Flash player window (so no html, java, etc.). It opens on my Mac just fine, but on my clients PC the top of the Flash Player window is halfway down the screen. Is there anyway to make the window open so it's flush with the top and left of the screen?...and not be in a web browser.

View 1 Replies

ActionScript 2.0 :: Can't Get Window.location.href From Javascript

Dec 19, 2005

In actionscript I am trying to get the location of the host html doc that has the .swf embedded (ie: [URL]). I have tried the _url method in actionscript, but it returns the path of the .swf doc relative to the website (ie: [URL]) Is there a way to achieve this in Actionscript? I looked into fscommand but I need this to work with Safari for Mac OS.

View 7 Replies

ActionScript 2.0 :: Open A Pop Up File Window In A Certain Location?

Jun 1, 2007

I'm constructing an enhanced CD menu in Flash. I'm going to be including some desktop backgrounds that I would like people to be able to click on and then save the file from the CD to a location of their choice.

Is there a way to do this - access the files system as you would when you choose a file to upload but instead are choosing a location to save that file too? And then copy the file from a Cd location to this chosen loaction.

Or alternatively is there a way to just open a pop up file window in a certain location.

View 4 Replies

ActionScript 2.0 :: ScrollTo Browser Window Location (160,0)?

Aug 7, 2004

Using FMX, publishing as low as pos, I followed the lesson on opening new browser window in flash. works great. want to add scollTo (160,0) in this new browser window.add this code to the following open new window code and tell this want to be how to enter it and exactly where to enter ithtml

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function Launch(page) {

[code]....

View 1 Replies

ActionScript 3.0 :: Fixed Size And Location Of A Popup Window

Apr 29, 2009

How do you create a fixed size and location of a popup window in actionscript 3.0. I know how in 2.0 but 3.0 is much different.

View 1 Replies

Professional :: Specifiy External Window Size And Screen Location?

Jan 28, 2010

I have this ActionScript: function openNewCart(evt:Event):void { navigateToURL(new URLRequest("http://www.3dcart.com"),"_blank");} OpenCartPage.addEventListener("click",openNewCart);

Is there a way that I can have it open a 5 pixel window that automatically closes after it loads? Also, is there a way to specify within the actionscript where on the screen I want the new window to open?

I'm newer to flash. What I'd like to do is have it add a product to the shopping cart and close back down.If I can't do it straight from flash, I'm sure I can have the flash page open up an html page which redirects to the add to cart page and automatically closes, but obviously a much bigger pain in the butt, and it will only work anyway if I can specify in the actionscript for it to open a 5 x 5 pixel window.

View 1 Replies

Professional :: Flash Game - Customize Size And Location Of Popup Window

Aug 31, 2010

In my game people shoot at 4 different moving images and get points. Simple right? Well one of the images is a question mark that people can shoot and when they do, I need flash to pause the game timer, pop up a new window, display the multiple choice question in the window and wait for the user to answer. I would also like to be able to customize the size and location of the pop up window!

Then if the question is answered correctly close window award 10 points and continue the game. If the question is answered incorrectly, say wrong and then display the end game results screen. Right now I have it to where it opens a pop up in a web browser and askes the question there. The question is randomly chosen from a file called random.html. But I do not want the game to operate that way. I want the game to open the pop up within flash.

View 8 Replies

ActionScript 1/2 :: Make An Object Tween From Its Starting Location To The Location Of A Mouse Click?

Apr 27, 2009

I am trying to make an object tween from its starting location to the location of a mouse click. I have a script, but it has a very annoying ease to it.I would LIKE the object to mantain a certain speed during while traveling from its starting location to the mouse click location.

View 16 Replies

Professional :: Button File Opens In Saved Location / But Won't Open In New Location

Aug 21, 2011

I created a simple button that displays an error messeage: "error opening 'url" when I test the movie, but does play and opens in browser after publishing. However, it won't open in the browser in a different location. I pasted the html code in a web page but it doesn't work there nor opens in the browser in a differnet location from where it was originally published and saved. Why is that?

View 13 Replies

ActionScript 2.0 :: Move MC From One Location (x / Y) To Another Location

Feb 16, 2005

How can I move my MC from one location (x, y) to another location (x1, y1) wirh action script..?.. and I would like to have my motion tween rounded to (x,y) so it will look sharp.

View 8 Replies

ActionScript 3.0 :: Toggle_window - Window Opens And Closes Not By Clicking On The Button But On The Window Itself?

Jun 12, 2009

i would like that my window opens and closes (opens: scale out; closes: scale in) not by clicking on the button but on the window itself.here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
 
Grtz,Jan the man
 
here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
schuifwindow www.truevision.be/other/btn_home.flascroll www.truevision.be/other/scroll.flafotoalbum www.truevision.be/other/foto_album.fla only picture one (left up corner) has a X button (i dont want to use this button)

View 5 Replies

ActionScript 3.0 :: Creating Flash DVD - Put Video Window Playing Certain Amount Of Time Then Repeats Itself In Main Window?

Oct 20, 2011

I am preparing a presentation DVD... DVD will contain wmv video, user manual and another flash exe file... So DVD interface will contain three elements; user manual, a flash exe file and video.. Flash video window will be short-time video, playing like 5-10 seconds then repeats itself... My question is, how could I accomplish to put video window playing certain amount of time then repeats itself, in main window? I need as3 fla example, which could be so useful for me..

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

Actionscript 3 :: Detect Clicks Outside Of A Window For A Multi-window AIR App In Flex?

Mar 13, 2011

So I have this AIR app coded in flex where I have several floating native windows and what I want is to detect when a user clicks outside of a window so that I can close it. (I don't want to use the PopupManager Class and would want to use the native windows).

My question is, is there a way to detect a click outside of a spark window, or alternativley is there some root container/object which is a parent to all the native windows so that a click inside any native window would bubble up to it? (Apparently the stage object of the root windowed application is not that object since each window is not a child of the stage for the root application).

View 1 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

Flash :: POST To Opened Javascript Window And Have Close The Window

Nov 30, 2011

I created a Flash application that reads POST data from a form. A user clicks the button, and the data gets posted to the flash app in a new window (_blank). Now takes the data and then spins a wheel to give users a prize. If they don't win a message pops up letting them know they didn't win. If they don't win, clicking the OK button needs to close the browser window.

I've tried a number of solutions and it seems that the only way to get this done is to launch the window with javascript and then use ExternalInterface.call('window.close'); to close the window from within the Flash actionscript (3) because otherwise the window won't close (I've tried just using window.close and window.close() with no luck)

I understand how to launch a new window with javascript, but I don't know how to simultaneously launch and POST data to that window (the Flash application has to have the POST data. Is this the best solution? Is there a way to close a browser window easier than what I'm describing?[URL]

View 1 Replies

ActionScript 2.0 :: Close Pop-up Window -> Trigger Action In Parent Window?

Sep 25, 2009

I'm trying to create a pop up window in Flash which also fades the background window to 75% black. When the user closes the pop up window, I'd like for the parent window to un-fade back to normal. Is this possible? I can do the first half of it and make the background window fade to 75% black. The difficult thing is making it fade back to normal when the user closes the pop up window.My thoughts are that I need to attach some code to the browser's built in close window button. It might require some javascript or a fscommand. I'm not sure.

View 9 Replies

ActionScript 3.0 :: Resize Mess - Block The Window From Being Bigger Window

Mar 15, 2012

The problem is: i have a flash movie (*.swf) 1280w x 640h,, and & want to remove the resize function, i mean block the window from being bigger window. i actually set a noscale function that is working on content, but the problem is with the window..... my code for nonscale is now:

[Code]....

View 4 Replies

ActionScript 2.0 :: Flash Reload Parent Window + Close Window?

Mar 4, 2006

I have an asp page that will open a new asp page in a new window that contains a swf file with a button.hen the user clicks the button i want to close that window and reload the parent window.

View 9 Replies

ActionScript 2.0 :: New (controllable) Window - Put A Link In Movie That Will Close The Window?

Feb 6, 2003

ACTUALLY i just thought of another one so now i have two. sorry. hope you don't mind. i get sidetracked rather easily. before i start, a quick nota bene. i'm a complete newcomer to flash so my questions are very simpleminded. not much of a challenge i'm afraid.

1. can i put a link in my movie that will close the window?

2. can i put a link in my movie that will open a new window of a specific size, and without the menu-buttons of explorer?

View 10 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 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

Window Size - User To Be Able To Expand The Browser Window ?

Mar 30, 2009

i've made a flash movie in res 600 * 300, now i want to keep this res don't want the user to be able to expand the browser window or change the res or anything how do i do this?

View 9 Replies

ActionScript 3.0 :: NavigateToURL - Get The Link To Open In The Same Window Instead Of A New Window

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

Flex :: Resizing The Restore-window Of A Maximized Window

Aug 11, 2009

I have a window, the window I programmatically change the size of the window depending on the current view it is displaying. The user cannot resize the window them self, but they can maximize the window.

The problem is if the view is changed while it is maximized, the maximized window size changes, I do not want this, I want it to only change the size of the non-maximized window.

My first thought is to just check if the window is maximized, and if so do not resize it...but the issue there is then when it is restored at a different view then when it was maximized it will not restore to the new size it should be.

View 2 Replies

Actionscript 3 :: Air Native Window Active Window Change?

Oct 6, 2011

I have a Adobe Air app (AS3, not Flex) that has 2 windows. When I click away from them onto another desktop program, I get an "Deactivate" Event (as you would expect).When I click on say Window#1 I get an "Activate" Event (as you would expect).But when I go from Window#1 to Window#2, I get nothing. And I believe this is because the Air application is still the active program, Just a Different Window.

But I have the need to know when I go from 1 window to another.The horrible solutions I have come up with so far is to have an onEnterFrame and check if the current window is the active window. But I would much prefer to do it a much better way that such a hack.I have gone though Stage, NativeApplication and Native Window Events and none of them do what I need. Can anyone point me to another Event I may have overlooked?

View 1 Replies

ActionScript 3.0 :: Free Window/Window Component?

Apr 29, 2009

just wondering if there was a free window/window component for as3 that will adress root problems

View 5 Replies

Air - Flex Open Window Behind Active Window?

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

Flex :: Use Data From The Main Window In A Sub-window?

Jun 30, 2011

I've just started working on a photo viewer type desktop AIR app with Flex. From the main window I can launch sub-windows, but in these sub-windows I can't seem to access the data I collected in the main window.

How can I access this data? Or, how can I send this data to the sub-window on creation? It doesn't need to be dynamically linked.

myMain.mxml

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code]....

I realize this might be a very easy question but I have searched the web, read and watched tutorials on random AIR subjects for a few days and couldn't find it. The risk of looking like a fool is worth it now, I want to get on with my first app!

View 1 Replies







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