IDE :: Get The Swf To Fit Precisely In The Browser Window?
Jan 27, 2009How do u get the swf to fit precisely in the browser window? I looked here:
[URL]
How do u get the swf to fit precisely in the browser window? I looked here:
[URL]
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 RepliesI 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.
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 Repliesi'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 RepliesTrying 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 RepliesI 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?
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 RepliesI 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 RepliesI'm to make a clickable map divided in regions, where it is possible to see some info when you rollover the precisely defined regions, and when you click on that region > go to a specific website. Is it the best way to make this in Flash or are there other or easier ways?
View 1 RepliesI have a function with Enter_Frame running and have it tween during the function. I know you could use object.y=object.y + 1 instead of the TweenLite i'm using now. But TweenLite gives the best effect I wanted. My problem now is, I wanted to remove the enter_frame function when its not collision each other. But when I traced hitTestObject, it have like a split second where the hitTestObject result return 'false'. So the tweening can't really finish 1st, and remove enter_frame run early while the object is still collisioning.
private function checkCollision (e:Event):void
{
//detect collision in array
[Code]....
I'm, working on this pool game: [URL] open it in TWO browser windows you will see that the 2 player modus starts. When you make a shot, every shot gets copied to the other player. Unfortunately it is not precise enough. The player makes the shot with this code:
[Code]..
<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 RepliesI'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 RepliesI 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 RepliesI 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?
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 RepliesI 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.
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?
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.
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 RepliesI want to click on a button and have it open a second browser window. How?
View 6 Replieshow 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].....
i would like to use the following APIs...
PrintJob.start()
PrintJob.addPage()
PrintJob.send()
...to print a chart displayed in the user's browser as part of a full-screen Flash application. This works fine if the browser window is larger than the available print job page size. However when the browser window is smaller, the print out is clipped. How do i resolve this? Is there an object I can add my Sprite to that will not get clipped by the bounds of the browser window?
I am currently trying to work out how to get Flash to close the browser window it is running in. I've done a simple Javascript test version which works fine.. But if I try and use:
ExternalInterface.call("closeMyWindow");
Functionality it does not. My simple Javascript version is cut and paste below and attached to this message.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]"><html>
<head><title>Untitled</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<meta name="description" content="" />
[Code] ....
Attachments: jsclose.html (630 bytes)
I'm trying to create a page where you click on the video thumbnail and the video opens up in its own window. I'd like the video to open at a specific size that I determine, not the browser, and I want it to be scalable. Here is what I have so far as a test file[URL]
View 2 RepliesI have setup a Flash viewer in a HTML Div container. In the Flash I have put a button which, when clicked, launches a new browser window with another site I've done to appear in. When I test this in Flash its working fine and launches the new window as it should. But when I go into Dreamweaver where I have placed the Swf. in the Div container, I test it locally in a Firefox browser window. The viewer appears and it works correctly, but when I click the button to launch the new browser window it just opens a window with an error msg 'unable to connect, etc'.
View 1 RepliesI have several buttons on my "Index.swf" file. I am calling the Index.swf file in Microsoft Publisher 2007 and created "Index.html" page.
In the same way I have several individual flash files like, About.swf, Contact.swf, And each files are in seperate webpages like, About.html, Contact.html.
Suppose, when I click on a button call "About" on Index.html page. The About.html page opens but in a different window. Not in the same window.
I would like to open a webpage by clicking on a button but in a same window. Don't want to open each webpage on defferent browser window. [code]...
I'm trying to run my swf by going directly to it on my serer eg(www.example.com/mySWF.swf), later I will embed it using HTML or PHP, however Im wondering why it keeps getting resized to the window size, I want it to stay the size of the swf. In the publish settings I set dimension to Match Movie, and I set scale to No Scale in the HTML tab of publish settings, am I doing something wrong or can you not have it stay its original size without emedding it into html?
View 5 RepliesFor example, Lets say I have a flash swf game, and when users press connect they are assigned a random id that's then put into a mysql table. Then I have other users that connect and then can connect to these random ids. When users click disconnect i have the id taken out of the table that way when other people want to connect they dont get ids that arent active. is it possible that when a window is closed to have it run a php script? so i can get it to clear their user id?
View 2 Replies