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
Similar Posts:
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
Apr 14, 2005
I have a standalone Flash projector running off CD. Currently, I use
getURL("http:url....);
to open the page on default browser. Only problem is the browser window is opening at the size it was last used. I like to see it opens full screen.
View 2 Replies
Oct 7, 2007
I am currently making a site that uses [URL] old fullscreen scrollbar. It's really perfect. I was just wondering how hard it would be to implement some sort of scrollTo function. For example, I would have all of the content inside the scrollbar window. In this content, I would have a list of movieclips acting as buttons that would scroll to a specific y value (all of which would be in say 200px increments). so I would love to have a simple function where I could execute scrollTo(n); where n=a givin y value. Basically acting as HTML anchor tags. It seems like it wouldn't be too hard, but the code is a bit over my head. Here is the code (the fla is located at [URL]
[Code]...
View 1 Replies
Oct 27, 2010
The title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?
View 2 Replies
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
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
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
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
Oct 28, 2009
I am having a problem with finding the current URL displayed in the browser.
I have tried..
1. this.loaderInfo.loaderURL.toString()
2. var local:LocalConnection = new LocalConnection();
local.domain
Above two methods returns url of swf location but my requirement is bit different
Finally I have used. ExternalInterface.call('window.location.href.toStr ing');
but ExternalInterface.call('window.location.href.toStr ing'); will not work where JavaScript is disabled hence I would like to know if there are any possible way or hack to do this.
View 4 Replies
Nov 9, 2009
I have looked around for this and haven't found a way that clearly explains how to do this. More often than not the button will close the browser window in one but not another browser.
Is the a simple way of closing a browser window in all types of browser ( Or mainly Firefox, IE and safari on both Mac and PC ) with actionscript?
View 0 Replies
Nov 9, 2009
often than not the button will close the browser window in one but not another browser.Is the a simple way of closing a browser window in all types of browser( Or mainly Firefox, IE and safari on both Mac and PC ) with actionscript?
View 5 Replies
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
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
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
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
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
Jan 24, 2010
I want to put a movieclip with tools at the bottom of the window in the center with tools icons, it should have fixed posiiton so that user can scroll the main window having it always on prompt. I think I need the browser window size properties to do somenthing as this. Is there a way to get them?
View 0 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
Apr 1, 2010
I'm currently working with a flash movie that opens up an IE browser to an external link.Since I'm working with a presentation that plays automatically after a few seconds and keeps loading new IE browsers with different links, I was wondering if there was a way with AS2, i can have flash close the IE window it opened?
View 1 Replies
Oct 4, 2007
I have a flashmovie that measures 950x675 px. If the user have a smaller webbrowser window than my movie i want the movie to be fitted in the browser window. But if the browsers width and/or height measures more than my movie i don't want it to fit (zoom), then the swf should only be centered.
View 0 Replies
Jan 27, 2009
How do u get the swf to fit precisely in the browser window? I looked here:
[URL]
View 5 Replies
May 10, 2009
I am building a portfolio site, and I want my content to occupy all the browser window.
Like this site:
http://********theglass.com/
[URL]
I know GAIA have the ability to do this but I don't know how to use it, and the more I look to it, the more I think it will be overkill to use on my project.
I want my background to occupy 100% of the browser window and have the content to be centered.
Is there a much simpler way to do that without having to do it in a framework?
View 15 Replies
Feb 12, 2010
I am trying to achieve the resizing effect as seen on [URL]There is no distortion no matter what direction the browser window is resized.
View 1 Replies
Jun 18, 2010
I have a problem and that is my swf will only play once in IE. When a user revisits the site from the same IE browser window or refreshes, nothing happens. If i open a new IE browser window, the swf plays and it plays from the IE cache as the preloader does not show again. This is happening in multiple versions of IE. I do not have this problem with Fire Fox, Chrome, or other non-IE browsers. Here is my preloader code:
loaderInfo.addEventListener(ProgressEvent.PROGRESS ,updatePreloader);
function updatePreloader(evtObj:ProgressEvent):void
{[code]....
I am using swfobject when publishing. I do not think this is the problem as when i publish straight from flash without swfobject and try to play my swf in the same IE browser window, the same problem occurs.
View 1 Replies
Feb 15, 2011
I'm running an online game site, and a few websites are really bad about embedding some of my games and stealing bandwidth.
To combat this, I replaced the original files with super-simple .swf files that redirected back to my own websites -- thus stealing back the traffic that they were stealing from me.
The problem came later when something changed with the new Flash player, and new windows no longer opened. For the life of me, I can't figure out how to get new windows to open. I've tried a few different approaches, but nothing appears to work.
So what I'm wondering is, can this even be done anymore -- where I can switch out a .swf that's being leeched with one that opens a window to my own site?
View 8 Replies
Feb 9, 2009
i am using the following code to close the my browser.
getURL("javascript:window.opener=self;window.close()");
The above code is not working in Flash player 10.
View 1 Replies
Jan 6, 2009
I am making my website's nav bar in flash. I want some of the buttons to open new browser windows to display aspx/html files. Is this possible using actionscript 3.0?
View 1 Replies
May 7, 2009
I want to click on a button and have it open a second browser window. How?
View 6 Replies
Jun 2, 2009
how to horizontally and vertically center a browser pop-up window in Flash? Below is the code tied to my Flash button:
on (release) { getURL("javascript:openNewWindow('http://www.blahblahblah.com','thewin','height=300,width=400,toolbar=no ,location=no,menubar=no,status=no,scrollbars=yes') ");}
[Code].....
View 13 Replies