ActionScript 2.0 :: When The Link Is Clicked, It Pops Up A New Window - UNDEFINED At The End?

Jun 25, 2010

When the link is clicked, it pops up a new window with the path of the fla file in the address bar and an UNDEFINED at the end...

Code:
on (release) {
getURL(_root.clickTag, "_blank");
}

With this AS on the button the link does not pop up at all

Code:[code]...

I've used clickTag, clickTAG, ClickTag, and ClickTAG all with the same results... not that it should matter as long as the flash and html match.I've tried to add the clickTag in the html like this

HTML Code:[code].....

And none of that is working so maybe SWFobject would work?

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Window Pops Out, Starts Over From The Beginning And Pops In?

Mar 12, 2010

I'm working on this flash site This is my first time using the loadVars command, so I'm guessing I'm doing something wrong with it.I have a movie clip that acts as a window, it has an animation of popping up, once it does it has a text box in it thats set up to display html. It then loads the html from a txt file, which works fine. The problem is, when the user clicks on another page, the window pops out, starts over from the beginning and pops in, this time loading a different txt file for the html. This also works, however, if you select the text or click on it at all and then switch the page, anywhere you click next will make all the text in the box vanish. You can click and hold onto the scroll bar and scroll down, but the second you let go it vanishes.

Here is the loading code on the frame in _root:

[code]...

I can't think of any reason why this is happening, and all of my debugging attempts have failed.

View 3 Replies

AS2 :: Get A Small Window To Open When A Link Is Clicked?

Oct 13, 2011

i,m developing a HTML site and used one animated flash button(AS2) I want a small sized window to open when a user clicks on a button. The window will contain information that i want to display.It dosnt require a normal 800x600 window to open. I just want a 1/4 size of 800x600 etc.

View 14 Replies

Professional :: Stop A Browser Window Opening Up When The Email Link Is Clicked?

Jul 19, 2010

how to stop a browser window opening up when the email link is clicked? I'm using a button with this script:
 
on(release){
getURL("mailto: name@address.co.uk ");
}

View 2 Replies

ActionScript 2.0 :: Pop Up Window Also Pops Up Behind My Original Window?

Mar 22, 2004

I was following the tutorial on this site for the pop up window and was having some problems. When I click on my link to open the pop up window I also get another window that says [object].The pop up window also pops up behind my original window. I launching the pop up window from a swf loaded into another swf.

View 2 Replies

ActionScript 2.0 :: Contact Form - Get The Email But An UNDEFINED Message Pops Up On Status

Mar 15, 2010

i created this contact form in flash 8 and i get the email but an UNDEFINED message pops up on my status i cant get rid of it here is my action script for the submit button

[Code]....

View 1 Replies

ActionScript 3.0 :: Flash Window Pops Up And Everything Goes Dark Around It

Apr 15, 2009

how some websites you click on something, a flash window (I'm assuming it's a flash window) pops up and everything goes dark around it (and you can't click anywhere) until you close the window.

View 5 Replies

ActionScript 3.0 :: Flash - Movie Where Click On Something And A Window Pops Up?

Nov 20, 2010

I know how to make a symbol "clickable" to where it brings you to a URL, but I need to know how to make my game (I made for a virtual world) to pop up when I click on a laptop (not in a new link).

View 2 Replies

Actionscript 3.0 :: Flash Form, Home Page Pops Up In New Window?

Apr 22, 2009

The form is done and works. I set it up to send an email when the "submit" button is pressed. The problem is that after the form is submitted the home page pops up in a new window. I need it to send the email without a new window popping up. Here is the code.

var address:String = "/gdform.php";
var url:URLRequest;
var variables:URLVariables = new URLVariables();

[Code].....

View 6 Replies

IDE :: Rollover / Rollout - When The User Move Mouse The Pops Up 'window' Disappears

Jul 20, 2009

what i am trying to achieve is have a rollover on a button that pops up a 'window' with some text on it (i have this bit worked out) then once the user has finished reading the text they rollout from the 'window' and the image behind is restored. i have attached the .fla so you can see what i mean.

what is going wrong is that the active part of the rollover on the button is only very small and as the 'window' expands and then reveals the text, the active part of the button remains small. so when the user moves his or her mouse the 'window' disappears. i'd like it to stay open until they rollout from the entire text window.

View 3 Replies

Professional :: Creating Dynamic Lead - Move Mouse Over The Squares And It Pops Up A Little Window

Jul 31, 2010

I strolled across something neat on a radio website [URL] and I really like how they do the flash on the top left. Below is the link to the actual SWF for bigger so that you can see what the SWF looks like. on the link above, you can move your mouse over the squares and it pops up a little window. You can even click on that. Here is the link to the SWF. [URL]

[Code]...

View 9 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 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

ActionScript 1/2 :: Last Clicked Link Highlight In Flash?

Nov 22, 2009

what i want is that if we check on say product A then on product C in flash menu then when in product C page ,product A should be highlighted with different color

View 15 Replies

IDE :: Embed A Link So That It Redirects To Website When Clicked?

May 27, 2011

hey there i have a series of jpegs about 7 with the dimensions of 190width x 500 hieght and i need to make them into a swf to put on a sponsors site which i need to embed a link so that it redirects to my website

View 1 Replies

ActionScript 2.0 :: Mc - Open A New Window When The Button Is Clicked

Jan 23, 2004

on the attached fla I have an "invisible" button (button with 0 alpha). I copied a script from the tutes section that will allow me to open a new window when the button is clicked (another rip from a forum question). This works OK, but I also have a MC below the button layer and this MC has some AS attached to it which basically makes it fade out to the image on the bottom layer.

It seems to me that the button script makes the MC script stop working because it's above the MC layer (I've switched the button layer below the MC layer and the fade out then works, but the button doesn't ). How can I get both scripts working together? I know that MC's can't work like buttons, but is there a work around this?

View 6 Replies

ActionScript 2.0 :: Flash - Sliding Effect When Link Is Clicked

Dec 2, 2009

[URL]there are 5 links on the right side homepage, about us, our coffee, services, contacts my question is about the sliding effect when any of these 5 links are clicked. when any of these links are clicked whatever page content is currently visible, that content slides away to the right and then the content of the link that has been clicked slides from the left and this page content appears, how is this created.

i am guessing that the rectangular area where the content for all the 5 pages appears can be a containing movie clip, and when any of the 5 links are clicked on each of those links in the action script code for on release code will be written to display the appropriate page however how can i get that sliding effect of pushing the existing content away to the right and display the links content which would slide from the left, how to go about doing this i am guessing it would be an action script code.

View 1 Replies

Professional :: Play SWF Animation When HTML Link Is Clicked?

Jul 20, 2011

How can i play SWF animation when html link is clicked?

View 3 Replies

ActionScript 2.0 :: Stopping Flash Audio When Link Is Clicked?

Aug 20, 2010

This is really confusing (the title of this thread probably doesn't make any sense at this point), and I'm not actually quite sure what I'm trying to do is possible, but I figured I'd throw it out there.

Basically, I have created a speaker-looking button (speakerON_btn) that plays the audio in Flash. It works fine -- starts automatically and stops when it's at the end or when somebody clicks on it.

Then, I put this Flash file into an HTML... works good. However, on this HTML page, I also have a PDF link (that links to what the audio is discussing). I have been asked to stop the audio when the user clicks on the PDF to open it. I don't want the PDF to open in the same window, so I can't use that as a method to stop the audio.

Is there any ActionScript I can add to the Audio Flash file that will tell it to stop when a user clicks on a link outside of Flash?

Also, if the above is impossible, would it be possible to add ActionScript to stop the audio if I were to build the entire HTML page as a Flash file? If that's a possibility, what ActionScript would need to be added to the my speakerON_btn?

View 1 Replies

ActionScript 2.0 :: Clip Unloaded (destroyed) When ANY Other Link Is Clicked?

Feb 23, 2008

i want this clip unloaded (destroyed) when ANY other link is clicked. This clip is an empty container clip that will be generating child clips that will each be loading thumbnails for images. Obviously i need to destroy the parent clip to remove all children without looping, etc.

This movie clip ("TL") is created in a keyframe that is the stopping point of an animation. When a user clicks the Portfolio link from the menu, the menu hides itself, and then goes to a frame label where actionscript awaits. Once there, the AS tells the submenu movie to animate (play). The submenu then plays and stops when it hits a certain frame (the one with the 'stop();' code, lol), and that frame then contains actionscript that generates the Gallery Thumbnails' parent container ("TL"), via:

var TL:MovieClip = createMovieClip("TL",60);

and GT then creates movie clips for thumbnails to be contained in via:

TL.createEmptyMovieClip('Thumb' + i,TL.getDepth() -1);

All this works so far. Now, to get rid of the clip when any other button is clicked, i tell the gallery movie to play again, which alphas it out of sight. So, on the NEXT frame of the timeline AFTER the frame which the TL and children are created is where i need to place the actionscript to unload/remove them. The problem is that there is no method for this! It seems that all the methods for removing / unloading clips only apply to clips that were duplicated or instatiated from loading external files or attaching instances from the library...I need to remove this "TL" clip, and can't figure out how.

Code:
_root.mcMenuGalleryAnimation.attachMovie("thumbsList","TL",60);
TL._x = -300;
TL._y = 0;[code]....

View 7 Replies

ActionScript 2.0 :: Getting Zoom Out Effects For MovieClip When Next Link Clicked

May 13, 2008

How can I get the disappear (I used zoom out) Effect when I click another link I mean I want to get the zoom out effects for the previous movie clip when I click the next movie link.

View 5 Replies

ActionScript 2.0 :: Open A New Browser Window When A Button Is Clicked?

Mar 2, 2009

I'm sorry to have to ask this as I know there are many tutorials out there on how to do this, but using as2 how can I open a new browser window when a button is clicked, that is sized to specific dimensions? The reason I ask is because every bit of code I tried to use did absolutely nothing, when I clicked on the button nothing happened. This is the code I'm trying to use at the moment

Code:
getURL ("javascript:NewWindow=window.open('master.html','Title','width=1024,height=614,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
I'm using flash CS4, flash player 10 and actionscript 2

View 9 Replies

Actionscript 3 :: Link In TextField Of Flash Cannot Be Clicked If It Is Embedded In Different Domain

Sep 29, 2011

I wrote a flash (ActionScript3) based radio streaming player, there is a link in the player for users to click. It's is a "a" tag in TextField. The code looks like this

textField.htmlText = '<u><a href="' + url +'">' + htmlEscape(text) + '</a></u>';

It works fine if I put my flash player in same domain of web-page, however, if the domain of web-page is different from the location of flash player, then the link is not clickable.

For example:

A radio example page

You can see there is a link in the title bar of radio player, I hosted the flash player on CDN, its domain is different from the web-page, therefore, the link is not clickable.

Why the link cannot be clicked if it is embedded in a cross-domain page? It doesn't make any sense. I did set the crossdomain.xml file properly, but it appears that it doesn't work. I want to make the link clickable everywhere, no matter what domain the web-page is located.

View 1 Replies

ActionScript 3.0 :: Fade Out Banner When Link Clicked From Home Page

Sep 9, 2009

This is what I have so far. [URL]. My problem is trying to code the menu:
I've managed to get the services link to do what I'm after but that is because it is positioned straight after the opening animation in the timeline - that is to have the banner fade out and the bottom line drop down to allow room for the content. From the home page I want each of the links, when clicked, to fade out the banner and drop the banner line down......THEN.......if home is clicked from any of the other pages I want the banner line to move back up and the banner to resume (in my case this is frame 279)

View 0 Replies

ActionScript 2.0 :: Show Image Through Xml Data When Html Link Is Clicked

Oct 25, 2007

I have made an mp3 player where xml data is shown in an dynamic textbox in flash movie. It is correctly showing the html links in text box.

But I want that when user clicks the link of a song, it should open the artist image in an image-holder. How can I do that?

View 5 Replies

ActionScript 2.0 :: Show Image Through Xml Data When Html Link Is Clicked?

Oct 25, 2007

I have made an mp3 player where xml data is shown in an dynamic textbox in flash movie. It is correctly showing the html links in text box. But I want that when user clicks the link of a song, it should open the artist image in an image-holder. How can I do that?

View 5 Replies

ActionScript 2.0 :: Timeline Freaking Out If Link Is Clicked While External .swf Is Loading?

Dec 12, 2008

So I am working on a portfolio site for a friend. She has a few photo galleries. Each one on it's own frame with an empty movieclip that loads an external .swf gallery (has pre-loader bar). There's three Sections so I have three buttons with _root.gotoAndStop("framelablehere"); behaviors on each frame.

What happens is if the external .swf file is loading and you decide to click to another section while the .swf has not finished loading my whole timeline freaks out and plays threw all the frames in my main movie. So it goes threw every section of the entire site! I have multiple stop();'s threw out my main movie. Basically one for each frame in my main movie plus more in the external .swf's.

You can check it out here [URL]- Just go to Projects>Photography and once you see the movie loading click to another section and watch the spasming begine~

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







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