Professional :: Links Opening In New Windows?

Jan 16, 2011

I'm relatively new and I've made a script on my banner for buttons to link internally to different pages on my webpage. The problem I'm having is every time I click on a link it directs me into a new window, it will redirect in the same window and new tabs wont keep poping up? The website is [URL] if you want to see the problem I'm having.
 
stop() 
road.addEventListener(MouseEvent.ROLL_OVER,play1);
function play1(event:MouseEvent):void{    gotoAndStop("specroad");

[Code]....

I've tried a few things but I can't get anything to work. I shouldn't have any trouble fixing the rest of the script!

View 1 Replies


Similar Posts:


Professional :: Opening Links In Same Window

Jan 4, 2011

using the following action script on buttons to open links:URL...Trouble is they all just open new windows and not the link in the current window!

View 3 Replies

Professional :: Prevent Opening Windows From Flash Show?

Jul 29, 2010

I have a chat on webpage made by flash, Is there a way to disable opeing windows from flash,like adding something to the embed code.

View 1 Replies

Professional :: Links Opening To Same Popup - How To Give Each Its Own

May 18, 2010

Each page has like the first page "Welcome" followed by a brief paragraph followed by a "read more..." link/button which opens to a small popup window with additional 3-4 paragraphs. So the main page has "WELCOME" > small paragraph > read more button.

Below that has "LATEST WORKS" > small paragraph > read more button

Both of those "read more..." lead to the same popup window but have their own title "Welcome" and "Latest works"(don't know where the mini title file is) but the paragraphs are the same which I don't want. I want each "read more..." to open to its own little popup.

Still learning script but is their anything in the script to change or something on stage? Or just redo everything somehow
on (rollOver) {
gotoAndPlay("p1");
} on (releaseOutside, rollOut) {
gotoAndPlay("p2");
} on (release) {
_root.popup.gotoAndStop(2);
_root.popup.label.text = i;}

View 1 Replies

Professional :: Windows Projector Quits Fullscreen When Opening Pdf File

Aug 16, 2011

I've built a presentation that requires the need to open pdf files in Acrobat Reader... as I have been building this on a Mac I simply used the geturl code which has been working a treat... today when I tested it on a PC it opened the file in a browser window!
 
I'm not really a coder and have to rely on finding bits online that I can tweak... after many hours I have fixed the pdf opening problem by using the fscommand method, but unfortunately when the pdf file is closed, my presentation (that was running fullscreen) has minimised itself to a window 100% to the original stage size!

View 2 Replies

ActionScript 2.0 :: Opening Windows In IE7 & IE8?

Aug 26, 2010

I have a big issue opening an URL using AS2 in the new versions of Internet Explorer. The web is:h t t p (click on Booking)This is the script I'm using and it works perfect in Firefox and Safari:

ActionScript Code:
btnReservas.hitArea_mc.onRelease = function() {
getURL("javascript:void(window.open('URL','DCO-Reservas','top=0,left=0,

[code]......

View 3 Replies

Flash :: Crashing While Opening In Windows

Dec 19, 2011

Just started using Flash pro and 1st few times it worked fine, now it get to 'intializing tools' then after a few seconds it errors out then shuts down.

View 1 Replies

ActionScript 2.0 :: Opening Html Windows?

Jul 11, 2002

how can I open a window without menu or a chromless from a fullscreen swf ..flash movie.I can call javascript from swf embeded in html but its long now couldn't open a html or movie inside full screen flash

View 1 Replies

ActionScript 3.0 :: Opening Links From XML?

Jan 4, 2010

I am currently building a XML gallery. The thumbnails are created inside the FLA file, and it's driven with a XML file. When a thumbnail is clicked, it will bring up the Detail movieclip. And inside the Detail movieclip, I've created some buttons with an external class of "DetailButtons". Inside the DetailButtons class, the buttons dispatch a custom event that the FLA is listening for. The problem is I can't figure out how to have one of the buttons open the corresponding url link in the XML file. I just keep getting the 1069 error.[code]

View 13 Replies

Actionscript 3.0 :: Opening Up Folder (Windows Explorer)?

Mar 29, 2010

I was wondering if there was a way in AS3 top opening up a folder in windows explorer? Currently I'm using this code:

[Code]...

But the folder Resources opens up in my default web browser instead. I've tried googling extensively without much luck.

View 2 Replies

ActionScript 3.0 :: Opening Windows Of A Specific Size From Flash?

Jul 11, 2009

I'm just learning actionscript, and was wondering how to have the new window opened be a specific size. I've searched around, but only really found instructions for AS2.

Here's the code I am using:

stop();
var pharURL:URLRequest = new URLRequest ("http://link.com");
function pharClick(myevent:MouseEvent):void {
navigateToURL(pharURL);
}
phar_btn.addEventListener(MouseEvent.CLICK, pharClick);

View 5 Replies

ActionScript 3.0 :: Flash - MySpace And Opening Links

Jan 17, 2010

I'm having trouble making Flash open any links when embedded into my MySpace profile. I'm developing a MySpace profile layout that uses embedded SWF movies in custom created DIVs. Everything was going great. Things were loading into place and I managed to get my homemade Twitter widget to update perfectly using a crossdomain.xml.

The one problem I can't seem to address is the 'opening links' issue. Upon searching for the last couple of days, I came across some articles that claim MySpace blocks "navigateToURL" commands. Also found out a workaround that involves placing a transparent GIF over the area which is supposed to be clickable, but I still have hope that such a basic function as clicking a button within an embedded SWF in MySpace and opening said link can be achieved.

View 2 Replies

ActionScript 3.0 :: Combo Box Not Opening Links In Browser

Mar 22, 2010

I am using the Combo Box Component.I gave the combo box the instance name myComboBox I added a few labels and web address's[code]...
 
Does anyone know what causes this and how to stop it from coming up so that the combo box works and takes you to the right web page?

View 2 Replies

Actionscript 3 :: Stop Links Opening In New Window?

Feb 14, 2011

The links I have in my .swf keep opening in new windows/tabs rather than the same one, how can I make it open in the same tab? Here's my actionscript 3 script:

aquaheal.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_2);
function fl_ClickToGoToWebPage_2(event:MouseEvent):void {
navigateToURL(
new URLRequest("http://www.mediwales.com/index.php?id=6&member=9"), "_self");
}

View 1 Replies

ActionScript 1/2 :: Windows Projector Quits Fullscreen When Opening Pdf File?

Aug 16, 2011

I'm working in CS5, using AS2 on a Mac.I've built a presentation that requires the need to open pdf files in Acrobat Reader... as I have been building this on a Mac I simply used the geturl code which has been working a treat... today when I tested it on a PC it opened the file in a browser window!
 
I'm not really a coder and have to rely on finding bits online that I can tweak... after many hours I have fixed the pdf opening problem by using the fscommand method, but unfortunately when the pdf file is closed, my presentation (that was running fullscreen) has minimised itself to a window 100% to the original stage size!

View 2 Replies

ActionScript 3.0 :: Links Opening In New Window Even With Target _self?

May 5, 2009

I'm working on a SWF that is a banner on a home page and the is opening links a new window despite my attaching the "_self" argument to the navigateToURL command.Like here is a snippet of code TO ME it looks right:

PHP Code:
var link_001:URLRequest = new URLRequest("http://www.lcc.edu/schedule/");button_001_btn.addEventListener(MouseEvent.CLICK,

[code]....

View 3 Replies

ActionScript 2.0 :: Expanding/closing Windows With Links?

Jan 3, 2006

I have my main page with all my links(all links are small squares), I want to be able to click the link and have it expand the square to a small window that a MC loads into so its like a new page within the old page. Also I want everything draggable which i can do now. I need to be able to close that window as well so the user can open a new window.

View 3 Replies

Actionscript 3 :: Bypass IE Popup Blockers When Opening Up Links In Flash?

Feb 11, 2010

This is the Class I'm using to bypass the popup blocker. This is the function to call to the class function

function linkHandler(e:MouseEvent):void{
popup.ChangePage(linksURLArray[e.currentTarget.name], "_self");
} this is the class.

[Code]...

View 1 Replies

ActionScript 3.0 :: 'new Window' Links Opening BEHIND Full-screen Flash

Aug 7, 2009

I'm working on a site that's intended to display full screen. At present the initial HTML page has a "launch site" link which pops up a fullscreen window (via javascript window.open) with our Flash content.Once in the Flash site, all URLs that point at off-site destinations are set to open in a new window ("_blank" as the target - either an href in text, or via navigateToUrl). In Mac Firefox the new window opens BEHIND the full-screen Flash (as a new tab in my case). In Windows FF and IE, and Mac Safari, the new window pops in front of the fullscreen Flash.Is there a way to make the non-fullscreen window pop in front of the fullscreen Flash? I'm using swfobject 2.1 - perhaps I need to use an externalInterface call...thoughts?

View 0 Replies

Windows :: Open New Explorer When Clicking Links In Webpages Loaded By App Of Flex/Air?

Apr 7, 2010

In my application I tried using following codes to do this:

<mx:HTML x="0" y="0" width="100%" height="100%" location="http://www.example.com"/>


The page is loaded fine.But when I click the links I found sometimes there was no any response while I need a new explore window opened with the linking url.And also I tried:

[Code]...

View 1 Replies

ActionScript 2.0 :: Opening Browser Windows From A Flash Movie With Browser?

Jan 17, 2006

I have a PHP mailer form on my site which needs to be published in action script2 to work, but I also have a script set up to open browser windows of a certain size & location which needs actionscript 1 to work? The PHP mailer form has a "Name" field, "Email" field & "Message" field, theses can all be reset with a button. The button clears off any text in the 3 boxes to wipe them clean. The script on the reset button is:

on(release) {
_root.myForm.formNameField.txt = ""
_root.myForm.formEmailField.txt = ""[code].....

This works fine with section script 2 but not with as1. Does anyone know of a script that resets the .text field on as1 Alternatively is there any way of opening browser windows from a flash movie with browser win controls, eg. centre win, no scrollbars.

View 2 Replies

Flash :: Professional :: Opening A CS5 In CS4

Aug 17, 2010

I just bought Flash CS5 for own computer. I already have CS4 on the computer at work. Unfortunately I get an error when I tried to open a CS5 project in the CS4 at work. My boss is unwilling to buy CS5. Is it truly so that you cannot open a CS5 project in CS4 or is there a way to adjust a project in both systems.

View 2 Replies

Professional :: Error When Opening AIR Settings?

Feb 9, 2010

When I click the Edit button next to AIR Settings in the properties panel in Flash CS4 Version 10.0.2 I get the following error: The following JavaScript error(s) occured:

At line 984 of file "Apollo_OpenSettingDialog.jsfl":
exportSWF: Argument number 1 is invalid.

I've installed the new AIR2 (beta2) I found here: http:[url].....but I don't think this error has anything to do with it.I'm currently running Mac OS X 10.5.8.

View 3 Replies

Professional :: Opening And Editing SWF Files?

Mar 11, 2010

Does anyone know if there is a way to open and edit a SWF file.

View 2 Replies

Professional :: Opening In Same Window Using CSS & Flash CS3?

Jun 2, 2010

I'm working on a portfolio in Flash CS3 and AS3. I'm trying to avoid doing the whole thing in Flash, so the home page is a CSS/HTML header page that will house a looping flash piece underneath the header, and the inner portfolio will be flash pieces brought into the same CSS header framework.I'd like to know what kind of code I need to use in the portolio flash navigation so that the "home" link will open the CSS/HTML home page in its same window, rather than launching another window. Is this something that can be done using AS3, or do I need javascrpt as well?

View 4 Replies

Professional :: Opening A Specific File

Jul 22, 2010

I have Flash CS4.I'm having problems opening a specific file.Its about 239,000 KB.Sometimes it opens partially, I can open movie clips and scrub through the time line and see my keyframes. The problem is that it wont display my movie clip keyframes in the viewing window.The flash dialog giving you options to open previous files is there instead.My friend can open the exact same file on his computer in Flash just fine.Also, I have hardware acceleration settings turned to 'NONE'.?

View 1 Replies

Professional :: Link Button Is Opening New Tab?

Sep 15, 2010

i recently developed my website and i decided to create buttons to link my site. The problem i'm having is that when i click on a button it's opening up a new tab in my browser.

on (press) {getURL("services.html", "_main");
}

View 2 Replies

Professional :: Getting Error On Opening Specific FLA File

Feb 8, 2010

I have Flash CS3 on OSX. Everytime I open a specific FLA file, I immediately get the following error message:
"Error creating Flash Movie. Be sure the destination file is not locked or on a locked drive. Also, check to make sure the name is not too long."
Dismissing the alert box results in the same alert box instantaneously popping back, completely blocking any attempt to act upon the file. The file name is 7 characters long (extension included) and is located in a folder which contains other FLAs I have no problem publishing.

I have sent back the file in question to its creator and she had no problem opening it in CS3. She has done a "Save as..." and sent me the result, but it did not work. A collegue of mine opened it successfully in CS4. I have taken the opportunity to verify the Publish settings there (not that it should matter as I can't do anything with the file, let alone publishing it) and it is set to publish only a SWF file next to its FLA. Saving it as a CS4 file then back to CS3 has not produced a file which I can use with any success. It seems very unlikely that the file is corrupt. So is my Flash CS3 installation corrupt?

View 13 Replies

Professional :: GetURL Function - PDF Not Opening On A PC On First Click?

Jul 14, 2010

I have a simple Flash button with the following script attached:

on (release) {
getURL("http://URL/sample.pdf", "_new");
}

And I've also tried this:

[Code]...

my client (Who uses Firefox, on a PC) has to click on the button twice to view the PDF. The first time they click on the button, they have to close the blank window that pops up and then click on the Flash button again to view the PDF. It opens fine the second time. Is this just a PC problem? On my Mac (Safari) it works fine, but (Firefox) seems to want to save the document before I can view it.

View 3 Replies

Professional :: Opening Older Flash File In CS4

Sep 21, 2010

I'm doing some small edits to a few lines of text in a .fla file.The file was created with an older version of Flash.When I edit this fla in CS4 and then export it to .sfw and play the movie it does not display correctly.Can I edit an oder file using CS4?the older file is using ActionScript 2.0.

View 1 Replies







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