ActionScript 3.0 :: Flash Xml Url Link - How To Load In New Window

Jul 26, 2010

I have a script that is a flash based scroller that takes the information from an xml file:There are scrolling thumbnails, when you click on them it takes you to a new url page. Only it's loading the url in the same window and I'd like for it to load in a blank or new window.Here's what I have now:

Script from FLASH:
filename_list = new Array();
url_list = new Array();
title_list = new Array();

[code]...

View 2 Replies


Similar Posts:


ActionScript 2.0 :: How To Get URL Link To Load Into New Window Created Already

May 17, 2010

I am wondering what the AS code is to get a URL link in flash AS2 to open up into the new window that it already opened up the first time. Basically, I am making an online store. Once you hit the "Add to cart" Button, it opens the shopping cart up into a new window. ("_blank") Which I want it to. But now, when the shopper comes back to the window with the store in it and adds another Item to their cart, they now have 2 shopping carts open. I want it to refresh the shopping cart window that was opened the first time with the updated information, instead of opening an additional one everytime something new is added to the cart.

View 3 Replies

Flex :: Have A Link In A Datagrid And To Popup A Window On Clicking The Link?

Oct 15, 2009

I have a datagrid with different types of columns, like I have checkboxes, combo boxes and text Inputs as the column types. Now I want one of the column type to a link, with the label "view". All the rows in that column are link with the same label "View" and on clicking it, I want a Pop up window to be opened?

This is my code:

<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%">
<mx:Script>
<![CDATA[

[code]....

I didn't know how to bring a link in the datagrid. So used the Text control to display the "View" label. Now If I click this item, "View" in the datagrid, I want the Pop up function, i.e.,defectCommentsPopUp() to be called.

View 1 Replies

ActionScript 2.0 :: New (controllable) Window - Put A Link In Movie That Will Close The Window?

Feb 6, 2003

ACTUALLY i just thought of another one so now i have two. sorry. hope you don't mind. i get sidetracked rather easily. before i start, a quick nota bene. i'm a complete newcomer to flash so my questions are very simpleminded. not much of a challenge i'm afraid.

1. can i put a link in my movie that will close the window?

2. can i put a link in my movie that will open a new window of a specific size, and without the menu-buttons of explorer?

View 10 Replies

ActionScript 3.0 :: Link To Rather Open Up A Download Window Instead Of Just A New Browser Window?

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

ActionScript 2.0 :: Javscript:window.open In IE - Link In A Button Inside A Flash Movie To Open A New Window And Play A Youtube Movie

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

ActionScript 3.0 :: NavigateToURL - Get The Link To Open In The Same Window Instead Of A New Window

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

Flash :: Link In Keeps Opening In New Window

Sep 16, 2009

I have l a flash file in my pages that links to other pages within my web site but when clicked they automatically open in another window. How can I link them without opening a new window as would happen with a normal web page  link?
 
Here is my current Action Script code: index.addEventListener(MouseEvent.CLICK,indexbuttondown);
 
function indexbuttondown(event:MouseEvent):void {
var bbcURL:URLRequest = new URLRequest("index.html");
navigateToURL(bbcURL);
}

View 2 Replies

Flash :: Movie Link Opening In Same Window

Jun 4, 2009

We have Flash movie in one domain and accessed from other Domain. The links in Flash movie was not working and with security restricitions we cannot use 'allowscriptaccess'.
So, we used System.security.loadPolicyFile [URL]; and included the XML in our assets. This worked for the links to open in New Window. But, when the links were changed to open in the same window, the links are working in Flash Player versions till 9.2XIn the versions, 9.4X+, it is not working.

View 1 Replies

ActionScript 3.0 :: Flash - Open Link In Same Window?

Oct 2, 2006

The problem aren't about html, php or webdesign itself I believe, but the problem is the flash menu. The menu is coded to open the buttons in the same window, but it doesn't, it opens the links in a new tab/window which is very annoying, I've tried to fix it by adding "_self" to the flash file, but it doesn't work at all now, it doesn't go anywhere when I press on the menu!

Code:
public function mouse_Down(e:Event):void {
trace(e.currentTarget.href);

[code].....

View 1 Replies

ActionScript 3.0 :: Flash Open Link In Same Window

Mar 12, 2009

I got a problem with my website [URL]. The problem aren't about html, php or webdesign itself I believe, but the problem is the flash menu. The menu is coded to open the buttons in the same window, but it doesn't, it opens the links in a new tab/window which is very annoying, I've tried to fix it by adding "_self" to the flash file, but it doesn't work at all now, it doesn't go anywhere when I press on the menu!

[Code]....

I've no idea how to fix this right now, I've tried googling but I only found as2 ways or changing the "_self" to '_self', but that doesn't work either. I got another site that is my personal portfolio (forte is more of a schoolproject) and I tried thesame thing out there, and it worked! So I thought that maybe surftown (that is forte's server provider) has something against this or something, I dunno.

View 4 Replies

Flash :: Opening Movie In New Window On Clicking Link In A Webpage

May 23, 2009

opening flash movie in new window on clicking link in a web page

View 1 Replies

ActionScript 3.0 :: Flash Player Permission Warning On Opening New Link Window

Oct 1, 2010

I am trying to add a link button to my facebook page on my profile website, but I get flash player's permission warning when I press button and open new link window. Is the only way to permit to goto link setting flash player's security option manually? or is there any way to do not show this warning and permit going throw?

View 2 Replies

IDE :: Get The Link Appear In The Same Window?

Feb 16, 2009

i've download this gallery made by kirupa, if you do click on the image the url appear in a new window...

my question is ...how i can get the link appear in the same window? i don't know if xml allow the target="_parent" code....

this gallery use xml file...

<images>
<image>
<path>images/angel.jpg</path>

[Code]...

View 1 Replies

Make Right Click Menu In Flash With "open In New Window" For SIFR Link?

Nov 10, 2009

How to make right click menu in Flash with "open in new window" for sIFR link?

Can we make in sIFR3 directly?

View 1 Replies

ActionScript 2.0 :: Add A Link When The Flash And Buttons Load?

May 23, 2009

I need to add a link when the flash and buttons load. Under symbol definitions i have button defined, and i have this in each button item:

onClipEvent (load) {
num=3;
}

How can i add a link to another page on my site? I tried doing this, but it did not help:

onClipEvent (load) {
num=3;
link = "aboutus.html";
}

View 6 Replies

ActionScript 3.0 :: Link In Flash To Load Another Frame?

Dec 3, 2009

I have been put in charge of building a website for my company as kind of a side job - so I downloaded a nifty looking template that I thought would be pretty cool to use.

The template consisted of a flash animation that was on top of a bunch of data, clicking the links in the flash animation however would load up another .html and would reply the intro of the flash _every_ _single_ _time_

View 1 Replies

Open Link In Same Window?

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

Open New Link In New WINDOW?

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

ActionScript 1/2 :: Asp URL Link Without A New Window?

Jun 9, 2009

I have an asp link which is calling a server tracking counter and it is not supposed to open a new window when it is called from a button using on release. How can I do this without getURL which always opens a window? Also I don't need to send or receive any data just I want to call the URL without opening a new window.URL...

View 2 Replies

Flash :: Load A Link / Linking Action Into File?

Sep 21, 2010

I think there are probably three options:

Load the link in as a flashvar and allow the Flash to open the URI

Load the link into the Flash file using AJAX/AJAH and allow the Flash open the URI

Just have the Flash file call a Javascript function that opens the URI

Is one of these methods better than the other(s)?

I'm working in a CMS, so each method requires a different process to edit/control the link. In #1, the editor needs to open the Flash node and add the path to a flashvar. In #2, the editor just needs to add the path as an anchor with a specific ID to a page (or XML). In #3, the paths could be stored in many different ways. The links aren't known when the Flash files are created, so they can't be embedded in the Flash. Is there a performance/efficiency/compatibility/good reason to use #1 over #2 or #3, etc?

View 1 Replies

ActionScript 2.0 :: Load External Swf In New Flash Window?

Dec 8, 2009

I want to load external .exe or .swf in new flash window.I do not want to open it in an internet window.I want to open an .exe and click on a button that will open another .exe or .swf.I want to keep both flash windows open.I want to have the new one on top of the first one and I want it full screen.I am using Flash CS4 Action Script 2.0.I am using this code for full screen of second .exe or .swf

fscommand("fullscreen","true");

I am using this code to close the second .exe or .swf

on (release) {
fscommand("quit", "true"); }

View 0 Replies

ActionScript 2.0 :: Link Can't Open In Same Window

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

ActionScript 2.0 :: CS3 Link Won't Open In New Tab / Window

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

ActionScript 3.0 :: Open Link In Same Window

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

Open Link In New Window, Specified Size?

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

ActionScript 3.0 :: Opening A Link In A New Window?

Dec 5, 2009

I'm primarily an HTML/CSS girl.  I'm pretty new to Flash, and until recently have only worked from the timeline without using any action script other than stop(); and simple goto commands like gotoAndPlay(49);
 
This week, I needed a nav button to take the user into the site from the Flash intro; it's live at [URL]
 
Flash CS4, Action Script 3.  Since I don't write Action Script - yet - and needed the link in a hurry, I Googled for the code.  As you can see, it works fine, but the site opens in a new window, and I don't want it to do that, I want it in the same window.
 
The code is as follows:
 
clickToEnter.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void  {    
navigateToURL(new URLRequest("http://www.deppimpersonator.com/cms"));
}
 
I thought it might be the use of "new" in front of URLRequest, but of course when I took that out the link didn't work at all.
 
Blind experimentation produced two attempts that simply broke the link (don't laugh ):
 
[Code]...
 
What do I need to add (or remove) from this code? And is this the most efficient way to code an internal link?
 
In case this is browser-specific:  I've only tested this in the latest versions of Firefox and Safari for Mac, OS X 10.6.2 (Snowleopard).  It's the same in both browsers.

View 3 Replies

Professional :: Open Link In Same Window?

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

ActionScript 3.0 :: Open Link In Same Window?

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

ActionScript 3.0 :: Link Button Without A New Window?

Jul 8, 2009

[code]...

I want to link through my button but without opening a new window.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved