Flash Movie To Open New Window When Button Is Pushed Instead Of Taking User Away From Site
Jul 11, 2010I just want part of my flash movie to open a new window when the button is pushed instead of taking the user away from my site.
View 2 RepliesI just want part of my flash movie to open a new window when the button is pushed instead of taking the user away from my site.
View 2 RepliesI 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.
Whats the AS for a quit button? I want to open a small window when the user clics on a button, and have a quit button on the corner
View 4 Replies1) 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]
Hi, if I set the scale mode to noscale and then set the width and height to 100% how do I keep the movie from getting pushed beyond the top and left boundaries of the browser window so the scrollbars will appear?
View 4 RepliesI am trying to get a html popup window to open when my movie hits a certain frame instead of a button. Im using the following code but it uses a button instead of a frame to open the popup.
on (release) {
customize the window that gets opened
0 equals NO.[code]........
I am building an all flash website, and I want to be able to have certain parts of the content to open on top of the main site. So when the user clicks an information button, a new window pops open, and doesn't allow the user to click on the buttons below this window. Here is an example: [URL]
I want the user not to be able to click on any thing directly behind the new window opening similar to how this works. Is the new window that opens a new swf?
I have create a game and added keydown event on Stage but but problem is user need to click on stage then it start capturing keydown event. I want that when game window open after that user don't need to click on flash stage area for unable keydown event..
View 1 RepliesI got that some my flash sites have problem to open site on _blank window with get url ...
getURL("...my_link...", "_blank");
I tryied also with some javascript to open popup but Firefox e IE7 doesnt open nothing if you dont authorize it
how do I open an swf in its own window outside the flash using button?
View 1 RepliesI do not why but now my flash files are taking much more time(Ctrl+Enter) to load than usual .. Automatically debugger starts when i run the file. And for heavy files, the file hangs and ends up in restarting my Flash Application. I am using CS4.
View 1 RepliesI am encountering a problem with addChild and removeChild.I would like to add a child when one button is pushed and remove the same child when another button is pushed.The code I am working with doesn't work. (see attached code)and this is the error message I get back.1120: Access of undefined property gallery.
View 2 RepliesI want my button in a flash movie to open a window like this
[URL]
It shows the picture in full size with a close-able x in the corner. Is that possible? I'd do it in the flash movie, however some of the pictures are bigger than the movie itself (it's a style and it looks good) just that...
I'm trying to get an button in flash to open a pop-under window in the browser using JavaScript. So far I have had no success. Both functions are working fine independently but I can't get them to communicate with each other. Please see attached code.
View 1 RepliesWhat I want is to be able to insert a button into the flash document, and when someone clicks it, to have it open a new window and go to a certain url. To see what I am kind of talking about, go to my website, where I have the flash document without any kind of interactivity. It is the "Connect with TFC" flash file, on the right side of the page.
View 1 RepliesI have a html file with a flash movie-menu embedded into it. I'd like one of the buttons to open an external html page strictly in a new maximized window. It does not matter if the new window has toolbar or not. I want it to open a new maximized window (not the full screen thing) onclick.
View 1 RepliesHow do you open a mini window inside a flash movie, draggable of course and with a close X, im talking inside the SWF not a new Explorer win.
View 6 RepliesI am trying to open a greybox window from my flash movie. I am not getting a syntax error, but the window will not open when I click the button, either.
Here is my actionScript 3 code:
ActionScript Code:
ericEmail.addEventListener(MouseEvent.CLICK, buttonclicked);
function buttonclicked(event:MouseEvent){
ExternalInterface.call("opengreybox",'http://www.cosmogrey.com/contacts/trautmann.html');
}
[Code]...
1) how do you open a new window if you have thumbnail pictures in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?[url]...
View 1 RepliesIm trying to link a button to a pdf file, the root of which is on my pc (not a server). AS2.
View 0 Repliesi want to open a SWF file to a button but in a completely new window however Im not talking web related i.e. not linking to a web page
like...
on (release) {
getUrl("www.blah.com")
}
whateva it is...don�t want that... I want it so it simply opens a completely new window within flash which I can close... the reason for this is I have a SWF file which is protected and i cant create a back button within it... so I need it to open a completely new window so i can get back to my main page..
on the attached fla I have an "invisible" button (button with 0 alpha). I copied a script from the tutes section that will allow me to open a new window when the button is clicked (another rip from a forum question). This works OK, but I also have a MC below the button layer and this MC has some AS attached to it which basically makes it fade out to the image on the bottom layer.
It seems to me that the button script makes the MC script stop working because it's above the MC layer (I've switched the button layer below the MC layer and the fade out then works, but the button doesn't ). How can I get both scripts working together? I know that MC's can't work like buttons, but is there a work around this?
how can i open a new HTML window with a Actionscript button? I can't figure out the coding for it.
View 4 RepliesCan I open a finder window (on mac) from my movie somehow? I want to be able to press a btn which opens a finder window with the adress to my ftp. When I do it throuhg the browser I only have read permisions.
View 7 RepliesI'm pretty new to AS3 and I have a question that I'd like to have answered, please!
I have a .fla file that contains several mc, including rbms_04, rbms_10, rbms_16, etc.
I also have a input text box that is requestNum. When the user types 04 and presses the Enter key, I want rbms_04 to open in a new window, etc for all the rest.
Right now, I have the movie clips on the main timeline and this is the script:
[Code]...
i have a m.c. button that when released i want it to load a movie but, i want the movie to open in a new window!so here is my script now:
b1.onRelease = tutorial;
function tutorial () {
_root.contents.loadMovie("tutorial_1.swf");
}
I'm sorry to have to ask this as I know there are many tutorials out there on how to do this, but using as2 how can I open a new browser window when a button is clicked, that is sized to specific dimensions? The reason I ask is because every bit of code I tried to use did absolutely nothing, when I clicked on the button nothing happened. This is the code I'm trying to use at the moment
Code:
getURL ("javascript:NewWindow=window.open('master.html','Title','width=1024,height=614,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
I'm using flash CS4, flash player 10 and actionscript 2
this is what I have as code but it opens in a new tab when i click the button
futureBtn.addEventListener(MouseEvent.CLICK,goFutu re);
function goFuture(e:MouseEvent):void
{
[code].....
Not a URL, but just a swf file in a popup window. Using ActionScript3.0
View 3 Replieshow to make lightbox window open from flash. I just want to click a button to open a lightbox window.
View 1 Replies