ActionScript 2.0 :: Open New Window With Adjusted Size
Sep 1, 2004
THE QUESTION I tried to go thru' your instructions using Get URL and putting the java script but I think I'm not doing it correctly, it simply doesn'T adjust to its own size. You can see the stuff on my website [URL] to give you a better idea what I mean.
I have a main flash movie for the index page called inverse.swf, on that main movie it has Photo swf as a sub movie, if you click Photo button. hence it will lead to sub swf movie(photo.swf), if you click pix which says Ripple the separate browser in width 440 height 325 should show up, but instead it shows up in huge browser instead. Like you said on your site, I tried to use Get URL and put the script as [URL] but what I got confused about was if I needed to publish the Photo.swf, since that is the movie it has the button. I did publish the Photo.swf to html, and added your javascript, but when I tried to see it on the net nothing shows up. So what I did later on was instead putting
[Code]....
View 3 Replies
Similar Posts:
Sep 1, 2004
I tried to go thru' your instructions using Get URL and putting the java script but I think I'm not doing it correctly, it simply doesn'T adjust to its own size. You can see the stuff on my website give you a better idea what I mean. have a main flash movie for the index page called inverse.swf, on that main movie it has Photo swf as a sub movie, if you click Photo button. hence it will lead to sub swf movie(photo.swf), if you click pix which says Ripple the separate browser in width 440 height 325 should show up, but instead it shows up in huge browser instead.
but what I got confused about was if I needed to publish the Photo.swf, since that is the movie it has the button. I did publish the Photo.swf to html, and added your javascript, but when I tried to see it on the net nothing shows up. So what I did later on was instead putting
I put
on (release) {
getURL("Ripple.html", "_blank");
[code].....
View 3 Replies
Jun 5, 2009
I have created a fla file in adobe flash cs3. This contains a mainstage with a menu (is a movieclip) and a background (actionscript gradient). I have set the movie to scale so that when it is viewed in a browser it will be adjusted to the size of that window.
My problem or what I want is the following :
- The menu and text of that menu must stay the same size, as created in the fla file, when a scale is done.
- The content of the movie(not the menu) must stay in proportion.
An example site that I found, that demonstrates what I want is [URL]. You can change the browser window size and the menu text size stays the same but the content goes in proportion of the window size.
View 1 Replies
Nov 17, 2010
I am a bit new at this, but I am creating a flash site in which I want to have it adjusted to the individual browser size. I already have placed an expanding background so that it will fit proportionaly to any site. Now I would like to have a menu which loads from top to bottom (from the very top, crossing to the bottom) but with a style of a fade effect.. not just a bar moving down.. but rather that it is being built while it comes down. For example the right side comes down but a bit after the left side and then the fill color.. and afterwards the text on it. And then have it so that when one clicks on one of the links.. the entire menu moves to the right border of the page so as to make space for the content. I am not sure if I expressed myself well. I am not looking for a complete lesson on how to do this.. but more or less what it would take in order for me to go step by step doing the reaserch and building it.
View 3 Replies
Apr 7, 2010
I can't seem to find any info on how to do this. Here is an example of what I am trying to do: [URL]
View 1 Replies
Jul 7, 2010
Pretty simple- just trying to have a link in my .swf open in a new window, with a specified size.
I have done this before but can't seem to remember/find a tutorial... well besides one on kirupa that didn't seem to work for me.
I believe the method I used before involved putting some code on the page you were linking to...
View 1 Replies
Sep 16, 2010
trying to open a window with defined size in a button, but never to the right (do not want to use functions inside the html file) wanted to make the following way: when you click the button, it opens the file size that I set to the window (the file will be opened this in html
View 1 Replies
Dec 9, 2011
I am trying to open a url top 960 X 540. Here is my code:
GiftShop.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_17);
function fl_ClickToGoToWebPage_17(event:MouseEvent):void
{
[code]........
View 5 Replies
Jun 9, 2006
is there a way to open a new browser window with a set size and position?
View 3 Replies
Jun 18, 2009
I can only do so much with flash. I am having issues with linking to a video. Here is my question: please refer to [URL] and click on the video link. I have 3 videos that I want people to view when they click on the links:
- SI TU T'EN VAS (2001)
- GWADA (2004)
- JODIA (2008)
I need the links to be able to open a popup window in flash with 320X240 in size.
1- I imported each video in flash (separatly) using the 30rates/frames, progressive dowload from webserver. (the usual).
2- I allready uploaded the videos (.swf and .flv) on the server (godaddy.com)
3- In my main file, I created a button for each one of the links above using the invisible button with their own instances. they are each on a different layer.
View 2 Replies
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
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
Jun 8, 2010
I am trying to build a flash that auto-adjust its size to the browser window size, while leaving the content of the flash itself top-centered in the screen.I have found this solution [URL].. on How to keep centered stuff in this exact case so i am pretty confident i will be able to adjust that script to do what i want.
Now my problem is that if i put my content inside the movie-clip (centerrectangle) with all the animation require, link and other stuff, the movieclip (center rectangle ) never have the exact same center, thus making the script go wild trying to always adjust the location to the variable size of the movie clip.
[Code]...
View 9 Replies
Jun 8, 2010
I am trying to build a flash that auto-adjust its size to the browser window size, while leaving the content of the flash itself top-centered in the screen.
I have found this solution [url].. on How to keep centered stuff in this exact case so i am pretty confident i will be able to adjust that script to do what i want.
Now my problem is that if i put my content inside the movie-clip (centerrectangle) with all the animation require, link and other stuff, the movieclip (center rectangle ) never have the exact same center, thus making the script go wild trying to always adjust the location to the variable size of the movie clip...
I need it to stay exactly at the same position whatever the size of the movie-clip. [code]...
View 0 Replies
Aug 7, 2008
Im looking to make the flash file dynamic so that when someone changes the window size the flash file expands with it and some of the items contained move also.
View 3 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
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
Jun 28, 2009
is possible to dynamically change the dimensions of my flash stage depending on the size of the browser window ?
Very important, I don't want to stretch any element. Just make the background bigger.
View 6 Replies
Jun 28, 2009
is possible to dynamically change the dimensions of my flash stage depending on the size of the browser window ?
Very important, I don't want to stretch any element. Just make the background bigger.
View 10 Replies
Feb 9, 2004
i have a list of pics, inside the swf file, what i want is when i press the button of any pic, to open new window "JavaScript" i think, but i want the window size the same size of the pic when viewed.
View 2 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
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