Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Open Link In New Resized Window Hellp


hi! i was wondering if someone could help me out with this flash related question ...

when someone clicks a link, how can I make the link open a new, re-sized window where the stuff appears, instead of just putting a "_blank", how can I also get flash to resize the window?

if thats not possible, how can I incorporate javascaript or something in flash?

thanx a lot! really 'preciate it




KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 08-28-2005, 11:08 PM


View Complete Forum Thread with Replies

Sponsored Links:

Need SERIOUS Help To Open New Resized Browser Window
I've been trying this for some time now and nothing seems to work. Is there an easy way to open a new browser window from flash? Can someone please help me out here?

View Replies !    View Related
Foo.send() To Open In A Resized Window
Is there a way I can get the method .send() in loadVars to post its data in a new window that can be resized, locked in position, min and max buttons removed etc. It would be sort of like combining the two functions below:

Code:
my_lv.send("setscore.php", "_blank", "POST");
getURL("javascript:NewWindow=window.open('setscore.php','newWin','width=750,scrollbars=1,resizable=1,height=600,left=100,top=100,screenX=100,screenY=100, location=0');NewWindow.focus();void(0);");

View Replies !    View Related
How To Open Resized Window From Flash
what is the best method to open a resized and repositioned window from flash that has no scrollbars, address bar, etc ?
And also that doesnt get blocked as a popup in IE.

View Replies !    View Related
AS: Close Current Window And Open Link In Father Window ?
Please, guys, can anyone lead my hand in this?

I have produced a flash movie. the wholw are is an invisible button which
should close the animation and in father window open a link.

The flash movie pops up automatically when page is loaded. I used this:

on (press) {
getURL("javascript:self.close();window.opener.loca tion.href = 'http://www.unibanka.sk/servlet/com.elline.pb.Page?page=alfa_ts'");
}


... but am not sure if this would work exactly how I want it.

Thanx

View Replies !    View Related
Open Link In New Window?
I have text in flash file. How I can make it so that when you click on that text, it opens it in new window... That text is not a mc. From character settings I have put the url to where it asks for it. But how to make it open in new window? Without making it into mc, if this isn't possible. Tell me how to make mc open in a new window.

View Replies !    View Related
Open Link In New Window
Hello, im looking for the code to, when you click a button, you open the link in a new window. Id also like to be able to resize the window to certain width and height, and remove scrolling/re-sizability.

Thank you so very much if you can help, i realy appretiate it.

El_Y:j3

View Replies !    View Related
Link Open In New Window
How can I let a link in a swf-file open in a new window when you click on it?
Like you do in java : _blank

please give an example

Can I make all links on one movie open in a new window with only one code?

greetz
Roelie ;-)

[Edited by lebberdude on 09-17-2002 at 05:55 PM]

View Replies !    View Related
How To Open Up New Window With Link
i am still relatively new to flash and I would like to know how to make a link that will open up a new window. should be simple enough...just don't know how...

View Replies !    View Related
Open Url Link In New Window
I know this is pretty easy, but i'm in a hurry to get my flash site up tonight and just need to know the best way to make url links open in a new window

View Replies !    View Related
How To Open A Link In A New Window?
Hello everybody, does anybody know what's the script to open a link in a different window?

I would appreciate your help

Thanks
Halanis

View Replies !    View Related
How To: Open Link In New Window
what is the code to open a url link in a new window?

View Replies !    View Related
Open Link In Same Window?
So I wrote this out but it opens the link in a new window what do I do to get it to open in the same window?

var homelink:URLRequest = new URLRequest("http://www.address.com")

home.addEventListener(MouseEvent.CLICK, onClick1);

function onClick1(event:MouseEvent):void
{
navigateToURL(homelink);
}

View Replies !    View Related
[F8] Open Url In New Window From Link In Swf
Hi, please help.

I created a link menu in flash and want to have the flash button on press:
1)open up a new html page in the same browser window, and
2) Open an external link in a new browser window.

Can't figure out why what I'm doing doesn't work. When I test the swf file, it works but from the html page where swf is embedded, no reaction whatsoever.

I tried three different ways:

on(press){
getURL("http:www.regency.org", "_blank");
}

on(press){
var myURL:String = "http://www.regency.org";
getURL("javascriptpenNewWindow('" + String(myURL) + "');");
}

And the following javascript: this in fla:

on(press){
getURL("javaScriptpenWin('http://www.regency.org',750,650)");
}

along with this in html page:

<script language = "JavaScript">
function openWin(sURL, iWidth, iHeight) {
var n=open(sURL,'0','width=' + iWidth + ',height=' + iHeight + ',menubar=no,status=1,scrollbars=yes');
}
</script>

Nothing works in browser. But opens quite well from swf.

Help please!

View Replies !    View Related
Link To Open In New Window Help
Hi, I'm a newbie so sorry if this is a basic question. I've developed a dress up game in which I had someone else write the actionscript for me, so I don't know the answer to this myself.

I have buttons/links in my games but want them to open up in a NEW window - how can I do this? This is the current AS I'm using on my buttons:

on (release) {
getURL("http://www.yourdomain.com");
}

Thank you!

View Replies !    View Related
[F8] Open Link In NEW Window
Here is my code:

CUover_mc.onRelease = function () {
getURL("http://www.cupidsarrow.org");
};


I want this to open in a new window. Please help

View Replies !    View Related
Open Link In New Tab, Not Window, How?
In text field,
What should the target be if i want to open link in new Tab and not new window?

Thanks,

Guy

View Replies !    View Related
Cant Get Link To Open In Same Window
hi i cant seem to get the link on my buttons to open in the same window

my script is:

button1.onRelease = function()
{
getURL("http://www.key4international.com/italia/developments/ilpaesino_overview.php",_top);
};

button2.onRelease = function()
{
getURL("http://www.key4international.com/italia/developments/terranova_overview.php",_self);
};

button3.onRelease = function()
{
getURL("http://www.key4international.com/italia/developments/florence_overview.php",_blank);
};

as you can see i have tried them all and they all open in a new window

View Replies !    View Related
Link To Open In A New Window
Hi everyone,
I'm trying to make a button in Flash. I need it to open a new window.
I tried:
on(release) {
getURL('http://www.atlands.com', _blank);
}

It still opens in the same window. What do I need to write instead of _blank ???

Thanks for help
Jana

View Replies !    View Related
Open Link In New Window
Hi, I'm fairly new to flash, and would love some help with opening a link in a new window.
I have created a button and just need to know what actionscript I am meant to put on the
button to get a separate window to display the link. Hopefully this can be achieved without
affecting the original window the user is browsing.

THANKS IN ADVANCE





























Edited: 02/08/2007 at 05:18:33 PM by med23

View Replies !    View Related
Open Link In Different Window
Good day all

I am working with Flash MX 2004. How do I get a link when pressed to open ia a different window.

Thank you
leecsone
leecs@northrock.bm

View Replies !    View Related
Open Link In New Window
hi,

why won´t the attached file open the link - check the code on the button, which is from
http://www.learningflashmx.com/flash_popup_windows.html

my browser tells me that
"....this procedure is not possible... because safari won´t allow to execute the javascript that way"

any clues? thanks.....

View Replies !    View Related
Open Link In Different Window
Good day all

I am working with Flash MX 2004. How do I get a link when pressed to open ia a different window.

Thank you
leecsone
leecs@northrock.bm

View Replies !    View Related
Open Link In Other Window
Hi there...

I've a problem...

I have a main page called 'default.asp' which contains a link to open a popup with my flash navigation. This works fine.

But I've got a button in my navigation which should open an url in the other page (default.asp). This works in Safari, but not in IE and FF.

This is what I use now:

Code:


Code:
on (release) { getURL("javascript:window.opener.location.href = 'default.asp';"); }

It opens the requested page in the other window (default.asp) but it also clears the flash movie in the popup. It shows then the requested url instead of the swf.


Anyone an idea?


Thnx,

Leon

View Replies !    View Related
Open Link But Not In New Window?
I have a button inside a projector.exe and I want it to simply change the page in the browser instead of opening a new window.... how can I do this?

View Replies !    View Related
Text Link To Open In New Window?
I've got a lot of text links within my flash movie. When they are clicked, I want the links to open up in new windows. I know this is possible using the getURL action, but selecting "_blank". But this option isnt available when It's simply a line of text. Is there any way around this without having to convert all of my text links into symbols and then applying the aformentioned actionscript?

cheers
john

View Replies !    View Related
Make A Link Open In A New Window
just what the title says, i have a link in flash to an html page and id like it to open into a new window, not sure how though

View Replies !    View Related
Open Link In New Window + Javascript
I'm trying to open an html link in new window from a flash button, but I want to open the new window in a specific size and with no bars (navigation bar, scroll bars etc..)

How do I define this is the flash movie. I know where to define the new window feature but I can't find the place to define the new window feature.

Thank you, Efrat.

View Replies !    View Related
How Can I Link Text To An URL And Let It Open In A New Window?
Hey there.
I'm kinda new to flash and I'm working on my first website now.
Now I want to put some text on the site that links to an URL, and opens the URL in a NEW window.
I know how to do it if I convert the text to shapes, but that will increase the size, and that sux...
Well, thanx...

BLoSk.

View Replies !    View Related
Strange - Swf To Open The Link In New Window
Hi!

I already have a .swf file. I have deleted the .fla file long ago...

The problem is that when i click on the swf banner it doesn't open the link in a new window!

What can i do?

Thanks for your answer!

View Replies !    View Related
? Make Link NOT Open In New Window
Hi there

Can someone help me with this Flash code please? I would like the URL NOT to open in a new window when the link is clicked in this Flash overlay code.

code: <script src='flash.js'></script>
<div id="Layer1" style="position:absolute;
width:600px; height:500px; z-index:1; left: 0px; top: 0px">
<object classid="clsidD27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
width="600" height="500">
<param name=movie value="warning.swf?url=http://www.turbowest.com">
<param name=quality value=high>
<param name="wmode" value="Transparent">
<embed src="warning.swf?url=http://www.turbowest.com" quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="600" height="500">
</embed>
</object></div>

I imagine something must be added to the section I have highlighted in red.

Thanks

View Replies !    View Related
Open New Window When A Link Is Clicked
Hello all,

I have been trying to figure out how I can open a link in a new window from Flash without navigating away from the movie. Does anyone know how to do this?

My main areas of concern right now are my Webshots Community Page as well as my loop listings on this site.

Thanks in advance,

View Replies !    View Related
Open A New Small Window With A Link
hi
i have mx 2oo4
i made a page for a friend at
http://www.geocities.com/faithcopela...eheads/sp2.swf
but would like the links to open a small window
how can i do this , i cant figure it out
i know in dreamweaver we can do it
faith

View Replies !    View Related
Movieclip And Open A Link In A New Window
How can I do that? I have a movieclip. When I click on it, I want to open a new link in other window.

thanks

View Replies !    View Related
How Do I Make URL Link Open In A New Window?
Hi,
I have a number of buttons that are linking to another website.
Can anyone help me use the getURL code to make the link open in a new window, rather than just going to the external site.
I am designing a site for kids, so I want them to be able to click on the button and have the content from another site open up in a new window.
Anyhelp would be appreciated.
Shazza

View Replies !    View Related
Flash Link Open In New Window?
Can anyone tell me what the code is to embed a link in flash that opens in a new window? I have the code below that links, but doesn't open into a new window? It's something _blank but not exactly sure.

on(release) {
getURL('http://www.url.co.uk');
}



Thanks.

View Replies !    View Related
Open Link In Same Window Using As3 Code
This code opens my links in a new window how do i set to open in same window using AS3?



private function _mouseClickHandler(event:MouseEvent):void {
var request:URLRequest=new URLRequest(event.target.href);
navigateToURL(request);
//trace(event.target.href);
}

View Replies !    View Related
[F8] Open Link In Orginal Window
Ok I am going to try and explain this as clearly as possible here..
I have a flash map file with lots of links in it that has been placed into a .php file (map.php) which is then being opened with javascript from another .php file (findus.php).. still with me??..
What I am try to achieve is that when a link in the pop-up (map.php) is clicked that window closes and the original file (findus.php) then has the link loaded into it.

I am aware that this is possible with just one link, but need to know how to make it work when there is multiple links.

Any help would be greatly appreciated!!

View Replies !    View Related
Making A Link Open A New Window.
Hi guys, I want to make a link in a flash website that I am working on and that link is going to lead to a video hosted on another site. Is there a way to make the window that opens for it new and not the same one that is being used? I mean force this?

Currently if I let it load in the same window when the user comes back he or she is going to have reload the whole site again, which may not be long but I think that would be kind of aggravating.

Any ideas? Thanks guys.

View Replies !    View Related
XML Content Used As A Link To Open Another Window
Hi There. I am using the XML Flash tutorial found on this site:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<image>http://www.kirupa.com/developer/mx2004/pg/kresge.jpg</image>
<caption>Kresge</caption>
</pic>

I am trying to make the image a link to open up another window..much larger,
How can I do this in XMl text file?

thx

View Replies !    View Related
Open In New Window With Dynamic Link
Hi, I'm trying to get my dynamic link to open in a new centered window. The window opens fine, but it tries to display the url "url[p]" and not its correct dynamic link.

Here's my code:


Code:
on (release) {
getURL ("javascript:NewWindow=window.open(url[p],'newwin','650,400,yes,center'); NewWindow.focus();");
}
Any ideas?

View Replies !    View Related
Open Link In Same Window Using As3 Code
This code opens my links in a new window how do i set to open in same window using AS3?

private function _mouseClickHandler(event:MouseEvent):void {
var request:URLRequest=new URLRequest(event.target.href);
navigateToURL(request);
//trace(event.target.href);
}

View Replies !    View Related
Open Link In New Browser Window
I am just starting out with AS 3.0 (after having worked with Flash and AS 2.0 for a number of years).

I picked up this code from another source to open a new URL

button.addEventListener(MouseEvent.CLICK, buttonClickHandler);

function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("http://www.kirupa.com");
}

This much all works fine. But my question is: how to open the new URL in its own browser window. In AS 2.0 it was just adding the "_blank" part after the URL address. But that does not work here.

If someone could enlighten me on how this works with AS 3 it would be appreciated. Thanks.

View Replies !    View Related
Open Link In A Maximized Window
how do i open a link in a maximimized window?

this is what i am obviously using right now:


ActionScript Code:
on (release) {
    getURL("http://www.someURL.com/", blank);
}


but any help would be greatly appriciated

thanks!
austin

View Replies !    View Related
How To Let A Flash Link Ad Open In A New Window?
this is the code of the banner ad:

Quote: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width=300 height=150 id='amc-300x150-1' align=middle> <param name=allowScriptAccess value=sameDomain /> <param name=movie value='http://domain.com/banners/flash/300x150-1.swf' /> <param name=flashvars value="link=http%3A//www.domain.com" /> <param name=quality value=high /> <param name=bgcolor value='#ffffff' /> <embed src='http://domain.com/banners/flash/300x150-1.swf' quality=high bgcolor='#ffffff' width=300 height=150 name='amc-300x150-1' align=middle allowScriptAccess=sameDomain type='application/x-shockwave-flash' flashvars='link=http%3A//www.domain.com' pluginspage='http://www.macromedia.com/go/getflashplayer' /> </object>

it opens in the same window while i have a javascript code on the site that says that all external domains have to open in a new window. The site is in php.

View Replies !    View Related
Link And Open Html Site In A New Window
Simple but i cant make it work ????
strange...

tell me the code if i want a link on my flash site to open a html page in a new
window (_blank) without scrollbar, without buttons and at a fixed size
300 x 400 dpi :-)

how do i write the code????

Mirrorman

View Replies !    View Related
How Do I Open A New Browser Window From A Link In Flash?
Seemed to me this would be easily accomplished...perhaps it is. But I'm having trouble with it.

The link (button) has the following code attached to it:

on (release) {
getURL("http://www.faithbaptistwaterford.org/youth/intro.htm", _blank);
}

Unfortunately, the page loads in the same browser as the flash movie....which has no toolbars and is a specific size...a 'window'.

Thoughts anyone??

Just want to open up a new regular browser window.

Blue

View Replies !    View Related
Shift-clicking To Open Link In New Window
I've noticed that if you use a text link in Flash, shift-clicking (command-clicking on Mac) will launch the URL in a new window. Buttons do not work this same way, though. Shift-clicking a button loads the link in the same window.

Is there anyway to "activate" this shift-click option? I don't want to hardcode "_blank" because I don't want the link to always open in a new window, I just want the user to have the option to do so.

Please help!

View Replies !    View Related
-simple Script- Open Link In New Window
I am trying to figure out the script for a button to open a link in a new window but can't figure it: -

on (release) {
getURL("http:www.website.com", _blank);

}

This doesn't work. Can anybody correct me on it?

Thanks

Daran

View Replies !    View Related
Open Link In A Specific Size Window?
Hey all. I have a simple button that I would like to open a new window. The thing is that I want the new window (Just a simple HTML page) to open at a specific size. How would I go about this? Thanks in advance for any help!

Jay

View Replies !    View Related
Making XML Link Open In New Target Window
Hi all,
I have an XML link dynamically loading into a flash file. Here is the line of code which loads the URL:

content += "<font size='+2' color='#ffffff'><a href='"+URL+"'>"+lead+"</a></font><br>"+body+"<br><br>";

The URL loads in where you see "URL". How do I insert a "_blank" target window to the href command?

Thanks!

View Replies !    View Related
Getting A Link To Open In Custom-sized Window
Does anybody know how to get a link to open up, but in a custom-sized browser window? For instance, if I want a poll to open up in a tiny little window.

Thanks,

Tara

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved