ActionScript 2.0 :: Get The Link To Open In The IFrame Main_body?
Feb 27, 2011
I purchased a website template for my business and I am having some difficulty in modifying the flash navigation. The original ActionScript code for the buttons are as follows:
onClipEvent (load) {
num=4;
link = "rates.html";
}
However I am trying to have the link open in an iFrame and no matter what I try does not work. I need the link to open in the iFrame main_body. I had tried using variations of the button.onPress function without much luck.
View 2 Replies
Similar Posts:
Jan 11, 2010
I have designed a flash interface for website. that the button in the left. and i want to button links that when we Click open in ( iframe) in the visual studio when I put the interface in the website .
[Code]...
View 3 Replies
Jul 31, 2011
I am still used to AS2 and this is resulting quite complicated.I am trying to make it so that when the timeline stops, for a website to load within an iframe next to it.I have the .swf on the left and I want to open up content on the right.as an example, I want to open up within the iframe. This is the code I have so far:
stop();
var url:String = "google.com";
var request:URLRequest = new URLRequest(url);
[code].....
View 7 Replies
Oct 12, 2009
It just reloads the animation instead of going to the html page the button is pointed to. I can give a link to it if you need.
View 3 Replies
Jan 16, 2006
what i am trying to do is open a new page, but at the same time open a another new page inside the 2nd pages iframe. look at code and i think you will understand better.
ew.onRelease=function(){
getURL("misc.htm");
getURL("misc/employeewellness.htm", "txt");
}
[Code]...
so as you can see i want to open one page and then inside that page have another page open.
View 2 Replies
Nov 19, 2009
I have a Flash movie that is loaded inside an iframe. In this Flash movie I have a link to a Word document. When using IE the link does not work. This only happens when using a Word doc, inside the iframe with IE. Please see [URL] Click on the first link using IE, you will see a window popping out and then disappearing instantly.
View 7 Replies
Sep 25, 2007
I have dynamic links that I'm pulling from an already published RSS feed [URL] using the xml in said document.Now, the 'client' wants the video links from this document to link to an iframe above the flash interface. No problems targeting the iframe when the links are hardcoded into the flash piece, but they want complete control (yes, I know they're asking for a miracle). Here's my piece so far:[URL]
Here's the function and variable that pulls the links and titles: Code:
Code:
function getPageTitle(ind):String{
var this_text = "<a href='" + _level0.link_array[ind] + "'>" + _level0.title_array[ind] + "</a>";
return this_text;
This is what I tried (along with just single quotes and double quotes), but to no avail: Code:
Code:
function getPageTitle(ind):String{
var this_text = "<a href='" + _level0.link_array[ind] + "'" + ", "video_swap">" + _level0.title_array[ind] + "</a>";
return this_text;
View 1 Replies
Jun 10, 2009
I've created a flash naviagation menu and currenlly my links will open a pop up window. I don't want this. I want it to open the link in the same window. Here is the code for one of the links:
var home:URLRequest = new URLRequest("index.html");
function homeDown(event:MouseEvent):void { navigateToURL(home,"_self");}
button_home.addEventListener(MouseEvent.CLICK,homeDown);
View 1 Replies
Sep 6, 2011
I have the following scenario:
One application JEE / Flex 4 running on a tomcat, inside my Flex layer I have a iFrame passing a url to an ip of my internal network (http:url....) which is another application running within an industrial PLC.When access this app from within my internal network works fine, but when I try to access this iFrame to an external network in my home for example have a timeout error onhttp:[url].........
I believe this error occurs because the flex client is trying to run this url as I was in a internal network.Is there any way to run this url from an external network?
View 1 Replies
May 17, 2009
I am trying to have multiple links off site but have hit a brick wall. If I have the code listed below, it opens the second link as soon as you open the links page, If I have the"function onLinkClick (evt)", above btn6_btn I end up with the duplicate error message. Is there a way to have multiple link buttons on a page. I have played with this for hours.
[Code]...
View 15 Replies
Oct 12, 2004
I am doing a site with a top flash nav, and Iframe with some flash and html in it.Is there a way to have the flash in the Iframe give actions to the flash nav??when you hit the porperties button, i want the nav to change to FOR SALE.something like:
on (release) {
_level0.clip.gotoAndPlay(2);
}
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
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
Jun 17, 2010
I've been using this code, which, when i click on a button it sends me to a new link, but when I put the .swf on my website and click the button, it sends me to a new tab *BUT* the url is instead ofI also want it in a new window instead of a new tab.here's the code (All in the first frame)
Actionscript Code:
button31BTN.addEventListener(MouseEvent.CLICK, clickButton31);function clickButton31(event:MouseEvent):void{ var url:String = "www.theurl.com"; var
[code].....
View 2 Replies
Jun 15, 2007
When I am opening a link from a shell (exe or Projector), its opening behind the projector or exe.
How can I make that browser window to get open over my project's exe ? Note: my projector is running in full screen mode and it is standalone not in a browser.
View 1 Replies
Apr 21, 2009
I have a simple link in my flash movie. The code attached to the button click goes like this[code]...
View 3 Replies
Sep 6, 2009
Im new in flash.I have a link in my flash menu "Home" section. The code attached to the button click goes like this [code]...
The link works fine, but it dont open in the same tab. It keeps opening in a new tab. I need it to open in same tab in my browser. wat i have to do to open it in same tab/window?
View 3 Replies
Oct 20, 2009
I have some dynamic text and it does not like _self. _blank opens fine but when I apply the _self target it does not open the link. It still sees that it is a link it just will not open.
Flash CS3 AS2
View 6 Replies
Mar 15, 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
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
Jan 19, 2010
Does anyone know 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 URLRequesthttp://www.yokubou.co.uk/digitalart.html");Button6.addEventListener(MouseEvent.CLICK,b5Click) ;function b5Click(event:MouseEvent):void{navigateToURL(getnextpage5);}
View 1 Replies
Feb 1, 2011
Im using AS3 obviously, and this is my code so far.[code]...
I have three frames that i want to link to three different html pages and i need them to open in the same window. I have put this code on each frame, changing the instance names for each frame (link1, link2 and link3)
When i click the flash in pulish (f12) the link works but in a new window, not the same. Does this mean the 'self' attribute is wrong? or is it for some other reason?
View 1 Replies
Jan 4, 2010
I'm using an XML file to load all my images and text, but would like an image to link to a website, but open in a new window.So far, here's my relivant code;
In the .XML ;
Code:
<page name="Picture_Image_1">
[code].....
View 3 Replies
Aug 18, 2010
I'm working on a Flash navigation using AS3. It can be seen as is @ PhilipK .ca /portfolio .
I want to make it so when you click the button on the far right, for the second time it opens a link in the tab that the flash video is embeded.
Here is the code I am having trouble with...
{
navigateToURL(new URLRequest ("philipk.ca/photo_gallery/photography"), '_self') ;
}
http removed before address because I am not able to post URLs untill 50 posts
I am wondering if I have to change part of the code within the HTML? Or am I doing something wrong with the AS3 code?
View 1 Replies
Apr 29, 2006
I am trying to setup a link for users to download a PDF from my site. Does anyone know if there is a way to force a download dialogue box, instead of having the PDF open in a new window. I've been using the GetURL to do this. I have looked everywhere, and only found this: [URL] But when I try to do it, there are errors, and its way above me to fix. I'm trying to do this because for some very weird reason, when it opens now in the new window, Acrobat just crashes (no clue why, but it does on all computers -- I've tested on 5).
View 1 Replies
Sep 6, 2007
I can't seem to get a link to open in a new window, no matter what I try. I thought this was a problem with firefox, but I'm not sure. I'm simply using getURL like this... the link is loaded from an XML file
mainBtn.onRelease = function():Void {
if (this.gallery == "yes") {
logo_mc.unloadMovie("MD_imagefader.swf");
[Code].....
Basically, firefox just says "transferring..." on the bottom when clicked forever, and never loads anything nor does it open a new window. When I test it on my local hard drive, firefox returns a security error that it's trying to communicate with a web source.
View 2 Replies
Feb 10, 2011
i Have a swf, in which i load an external swf... and the external swf has a link which need to be open in the parent swf...
View 1 Replies
Dec 28, 2009
link opens up a new window rather that the same window?
PHP Code:
//listen for mouse click on" button"
button,addEventListener(MouseEvent.CLICK, navigatetoURL);
[code].....
View 6 Replies
Nov 11, 2011
I've gotten a complaint from one operator that my banner won't open in a new tab. Indeed on their site it opens the link on self. Its fine on other sites tho.Btw I noticed all the banners on their site open in self. Including an old banner I did for them with the same [code]...
View 1 Replies
Jan 26, 2010
I am using the following script in Flash CS4 for a URL link[code]...
and I would like the link to open the new page in the same tab. In Safari it opens the link in a new window (when the default is to open links in the same tab). In IE it opens in a new tab, and also in Firefox (though in Firefox this is the default behaviour for me). Is there a way to override default settings and get the link to open in the same tab for all browsers?
View 2 Replies