ActionScript 3.0 :: Flash Menu Buttons On HTML Page Opens New Window?
Jul 25, 2009
I have a .swf I'm inserting at the top of a page in DW. I have a button named "aboutUs_btn" which when pressed needs to load "aboutUs.html. That part works fine, but it always loads the page into a new window. How do I make it load into the same window? I could do this in AS2 with getURL and using _self. Here is what I have:
var aboutUsLink:URLRequest = new URLRequest("aboutUs.html");
aboutUs_btn.addEventListener(MouseEvent.CLICK,aboutUsClick);
function aboutUsClick(event:MouseEvent):void{navigateToURL(aboutUsLink);}
[code].......
View 5 Replies
Similar Posts:
Oct 24, 2002
Is it possible to use HTML frames with Flash? For example, I want to make a flash menu system on my site, and have the click of the menu buttons open up an HTML page in a different frame.
View 14 Replies
Mar 25, 2003
html page fully maximized without window menu
View 1 Replies
Feb 29, 2012
How do I redirect to a html page when my flash site opens in non-flash browser?
Here is the code I am curently using
<link rel="shortcut icon" href="/77east.ico" type="image/x-icon" />
<!--[if lte IE 8]>
<script type="text/javascript">window.location = 'ebrowser.html'</script>
[Code].....
View 2 Replies
Jul 11, 2005
I have an HTML page with buttons. Each button needs to have a getURL to open the Flash site, but then somehow, needs to also load the appropriate swf into that Flash site... My reasoning is because I have some scripts under my site that need to be in HTML (or PHP) for search engines, that way I don't have to do the whole site in HTML.. I hate having a HTML index page, but it's the only solution I could come up with. So, when a visitor selects any of the navigation buttons, I don't want them to have to select that button again, when the Flash site loads. how to do this for Flash 7 / AS 2.0? Or if there are any posts here about it?
View 2 Replies
Nov 6, 2009
The swf buttons on my website open double browser windows in Safari - it's fine in IE and FF, just have this problem in Safari.So, why Safari opens the same window twice?
View 0 Replies
Jun 17, 2011
I have a problem with a Flash object and the menu of my page. The site is on Wordpress : [URL] When I try to access to the menu, the menu content appears behind the Flash. How can I fix this? this is my code of the template section:
[Code].....
View 2 Replies
May 24, 2004
I'm looking to create a popup which opens a "template" html page with an image placeholder. This way you should be able to send a variable from the swf and open up the same html page each time but the image would change as you change the variable from the flash button.
Basically I have flash page containing various thumbnails and when clicked, each one will open a larger version, but I dont want to make a html page for each one so rather 'send' the filename to the html page if this is possible?
[URL]
I was given this:
<html>
<head>
<title>Image viewer</title>
<script>
function loader(){
[code]....
I just basically want the swf file to decide which jpeg is to be loaded into the popup.html.
View 2 Replies
Apr 2, 2009
I am working on a project that I need to create a flash navigation bar for a html site. There will be a drop down menu when you rollover the buttons on the nav bar, which means the drop down menu will be overlaying on top of the html pages. I saw websites were done like this before, but I personally don't know how to do it.
View 1 Replies
Feb 10, 2012
I have created a popup window in a flex website and I wanted to load a HTML page inside that popup. I tried many ways to do it but that way unsuccessful. Can someone recommend me a approach to get this done?
View 2 Replies
Jan 13, 2012
so i am making a website in Dreamweaver cs5 and i am going to be importing a .swf animation for the menu bar i made in Flash. how do i make an action in Flash direct to a page of my website in Dreamweaver for example the index.html file of my web page.right now i have an actions layer with a stop(); command on the last frame of the animation i want to add a command under that, that will take the user to the index.html page of my website when the button is clicked. I have the button already made as well as the animation all i am missing is the code to go to the index.html page.
View 3 Replies
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
Jun 19, 2011
I have an iframe to a page where a Flash swf file is running; does anybody have an idea how to make it transparent so that my drop-down menu should be shown perfectly? Kindly be informed I can't edit the source page (add param = wmode, value = transparent to the Flash object), only if there is any chance to make it possible in iframe or some JavaScript on my page, I have already tried allowtransparency="true" and background-color="transparent".
View 4 Replies
May 17, 2011
Good day to everyone. I'm here today to seek help about Flash CS4 and ActionScript 3.0. The story starts when one day, my boss asked me to make a flash presentation about their upcoming user training for a newly developed software. I was enthusiastic and excited about it because it's been a long time that I did not use Flash (note that I don't have any experience in ActionScript 3.0). At first, everything was a bit rough as I need to recall how to properly use the frames to create a successful animation. As I was about to finish the project, my boss approached me again and asked if I could insert a menu page in front so that the users won't have to replay the whole thing again just to look for a little something on that part of the movie. So yea, at first I was abit hesitant to accept. I said that it will work with Powerpoint. But she's a total pusher and I was forced to say yes. Now I'm having this problem about how to make a flash button load a swf movie.I've tried searching all over the net for tutorials but most of the times the "getUrl" and other stuff are said to be outdated.
View 1 Replies
Jan 18, 2010
I have created a webpage with a html menu and flash embedded underneath it.The problem is, the flash movie is in an index layer of -1 and the html menu needs to sit above it in index 1 for example.If the menu sits behind the flash the buttons are inactive, if the flash sits behind the html menu, its buttons are inactive.I have a div layer for the html menu and it not as high as the flash movie, but it doesn't make a difference, its seen as sitting behind and therefore the buttons don't work.
View 2 Replies
Oct 18, 2010
What im trying to do is to link my Flash buttons using as3 to make an iframe change the html page its showing every time i click on a different button. The web page is as follow: An html page containing a Flash menu and one iframe. I was using this code with no result:
Code inside Flash SWF File
var bt1:URLRequest = new URLRequest("MY WEB PAGE");
function Fbt1(e:MouseEvent) : void{navigateToURL(bt1,"body");}
bt1.addEventListener(MouseEvent.CLICK, Fbt1);
Code inside HTML Frame:
<iframe src="MY WEB PAGE" name="body" align="center" width="1010" height="500" margenwidth="1010" margenheigth="260" frameborder="0">Browser dont suport iframes</iframe></TD>
I get this error:
1061: Call to a possibly undefined method addEventListener through a reference with static type flash.net:URLRequest.
View 2 Replies
Sep 5, 2004
want to load a html page in a iframe when i click a flash button.
My code for the iframe:
[Code]....
Shouldn't that be alright? I've tried with _IFRAME too, but didn't work out. Instead of opening in the iframe, it opens in a new window. My flash button is on the main page, not in a iframe and the iframe is on the mainpage too.
View 2 Replies
Sep 5, 2004
want to load a html page in a iframe when i click a flash button.
My code for the iframe:
[Code]....
Shouldn't that be alright? I've tried with _IFRAME too, but didn't work out. Instead of opening in the iframe, it opens in a new window. My flash button is on the main page, not in a iframe and the iframe is on the mainpage too.
View 3 Replies
Mar 27, 2006
following situation: a button with AS :
[Code]...
this popup opens in the SAME window and not ina new window. What can I do to let it open in a new window and given the same properties to this new window as above: toolbar=No,location=No,scrollbars=No,status=No etc.... a geturl opens it in a new window but does not give toolbar=No,location=No,scrollbars=No,status=No etc.... properties to the window
View 2 Replies
Sep 20, 2009
I have been customizing a Flash template and I'm almost done... my issue is that I would like one of the buttons to open up a NEW window (ideally with no address bar but with a scrollbar) when a user clicks the guestbook button. Right now it opens in the same window and the user then clicks a button on that page to return to the site, but that is sloppy because the music starts all over again, etc.[URL]
View 5 Replies
Sep 23, 2004
I have an embedded flash button in "Window A", an HTML page. That button has the following code:
on (release) {
varHeight="600"
varWidth="800"
[code]......
View 1 Replies
Jun 12, 2009
Have an issue with several buttons in cs3. I want the buttons to open the page in the same window, and they will once, but I need this to be a reoccuring effect. here is the code.
[Code].....
View 4 Replies
May 10, 2010
Is there a way to open a html page in a borderless popup window using AS3. I've found info using AS2 with the "getURL" but nothing with the "new URLRequest" This is an example of what I'm looking to do: [URL]
View 2 Replies
Mar 9, 2010
For a flash website I'm creating, I want my main window box with all the information containing it to fly in when a menu button is clicked. I can't figure out the actionscript to do that. It's the same thing as this website's main window:
[URL]
View 3 Replies
Feb 25, 2010
I run an external script from flash(as3) that opens up an Jquerry thickbox with php tabel (it gets results from mysql db). But when i include some other css for centering my .swf in the middle(both x/y), my jquerry buttons in flash stop working.this is the css code:
div.ex
{
height:600px;
width:930px;[code].....
and the webpage: [url].....(php/mysql in jquerry not yet included, but i tested before)
View 3 Replies
May 3, 2010
I created a xml driven menu that works perfectly on a html page but would like to use it in a flash site. I loaded the the external menu movie in by using the:loadMovie(); reference but when I try to point the movie link from the menu to the empty movieclip it wont work. below is the code for the button action:[code]
View 0 Replies
May 21, 2009
I currently have a website that has a photo gallery. The home page has a link to the actual photo gallery. I'm using the (getURL) to open the photo gallery in a new window, however the new window opens up to the same size as the home page. I would like to shrink down the window size of the photo gallery so the user can still see some of the home page behind the new window.
I know javascript can take care of this problem, but I was wondering if there is a way to do it with Flash? I just need to specify the size of the new window when it opens.
View 9 Replies
Aug 23, 2010
Using CS3
AS 2.0
I have a button that when pressed it opens a url in a new window. Works on Safari great, but not in Explorer.
Code...
on (release) {
getURL("http://www.name of website", "_blank");
}
View 3 Replies
Sep 29, 2005
i've got a form, which i then would like to send using asp (CDO).anyway, it works a dream when i use the following:
GetUrl("processForm.asp",0,"post");
however when u use:
loadVariables("processForm.asp",0,"post");
It does nothing.the problem with GetURL is that it opens the scrpt in another window, which isnt ideal.the code in processForm.asp is:
<%@language = "VBScript" %>
<%
strName = Request.Form("FirstName")[code].....
View 2 Replies
Sep 6, 2009
I've used Greensocks Tween lite to build a photo gallery that resizes with the window browser. The only problem is that when I first open up the window the gallery is not properly scaled to fit the window size. How can I make is so when you first open up the window the movieclip is told to resize to the current window size? Here is my code below.
import gs.*;
import fl.transitions.*;
import fl.transitions.Tween;
[Code]....
View 2 Replies