AS2 :: Popup With Javascript In A Html <a>Isot Tag
Sep 1, 2009
I´m trying using a <a> tag in a html content in my code to make a link. Till now work perfectly. Problem begins though when i try to use javascript in the <a> tag to create a popup window. Here is the code-line. ct.content_right.htmlText = "<a href='javascript:popUp('impressum.html')'>"+"Impressum"+"</a><br/>";
View 7 Replies
Similar Posts:
Dec 1, 2009
is it somehow possible to open a HTML popup window from within Flash and have it receive text data from Flash which should be printed ... and this all only in AS3 and Javascript (since no server-side scripting is available)?
View 2 Replies
Mar 13, 2009
I posted about this a few weeks ago but it's still unresolved....I'm about ready to cry or go postal or both. I would love any input you might have. Another Flashkit member said he thought it might be line 23 of the html code, but I can't identify what's wrong with it. I will seriously send you a bar of fine chocolate I have created a multimedia site that pops up swf photo galleries. Trouble is.....the swf's are not loading in the popup windows. Here is an example:[URL] The link that opens the gallery is halfway down on the right.
It works perfectly on my local machine, and you can navigate directly to the swf ([URL]) so I'm thinking it's something in the html code of either the gallery "popper" or the "poppee." This is a recent development--until sometime this year it worked just fine. Not sure if some web standard changed or what?
View 3 Replies
Mar 2, 2011
I am trying to open a new browser window popup from Flash. I am using:
[Code]....
What is supposed to happen is that the popup should open in a new smaller window whilst the original window keeps displaying the flash file. Not sure what I'm doing wrong. Is there a better way to go about this? NOTE: I know that you can call JavaScript functions and house your js in the HTML file, but I cannot edit the HTML file since it is a page from a remote site.
View 5 Replies
Jun 26, 2011
i am using jquery based facebox popup. My ad platform is Doubleclick. Some flash ad comes over the popup. I am loading the ad's js code in a iframe.I tried passing wmode=transparent to as a parameter to the js ad code i did help for some flash ads but to some ads it's not taking wmode=transprent. I even tried to increase z-index of facebox but that too didn't help. What can i do .I dont think so this could be a double clik specfic problem( i know its where i have to look for help) but a flash of other site over my text/content issue
View 4 Replies
Mar 31, 2005
I know this might have been discussed somewhere else, but I couldn't find it where it worked using a variable as the url. So I have tried a few things but what I have right now is:
the button is set to: getURL("javascript:openNewWindow(movie,'thewin','h eight=400,width=400,toolbar=no,scrollbars=yes') ");
Movie being the name of the variable set up earlier in the project to randomly choose my swf movie that I want to play. Then of course I have the function set up in the HTML page to listen for the variables for the URL, name and windowsettings.I can get the whole thing to work with an HTML page in the URL, but I can't get a variable to work....
View 3 Replies
Nov 11, 2009
i`m trying to send variables from this .swf on level2 of the main movie to another swf that loads onto a javascript popup. i`ve tried using the GET and POST methods with no success.the popup script, first layer:
_root.btn.onRelease = function() {
address = "E01_p.swf";
target_winName = "test_pop";
width = 600;
[code]...
View 1 Replies
Jan 29, 2012
I need to execute some javascript string code from flash swf file using actionscript 3.
I read that it could be done by passing the javascript code to the parent html document , using externalinterface.call function. Then I assume it will be faster if I can declare functions in the javascript code in the HTML document in the first use of externalinterface.call funtion ; if flash code calls the javascript code repeatedly. So let me ask you how to do that. For details , any javascript to be loaded is unknown in design time and I can not prepare a javascript file to be loaded.
View 2 Replies
Mar 4, 2011
If you create a popup via:[code]It will create a popup and bring it on top of any other visual piece. I have one problem though. This 'popup' needs to stay up even when the user interacts with the background.I would use modal, but I need the ability to interact with the back. Any way to tell the popup manager not to remove the popup when the user clicks off of it?
View 1 Replies
Nov 17, 2011
I have my html where I embed third-party flash video by means of iframe. When I click play on the video a popup is opened. I was wondering id there is a way to add a javascript function to my html that would close such a popup immediately when it is opened?
View 1 Replies
Oct 23, 2009
We're currently building a Flex application using the PureMVC framework with a shell.swf which loads/unloads modules dynamically. We're experiencing issues with memory and we're looking to replace the shell.swf with a JavaScript-based loader.Two questions:What would be a good framework to dynamically load the Flex components and allow the modules to communicate between each other?Would dynamically loading/unloading the modules via JavaScript take care of the typical memory problems associated with Flex/Flash applications?
View 1 Replies
May 21, 2010
I have to have many small thumbnails on a page and each one needs to open up to a full size (640x480) video with controls when clicked.
View 3 Replies
Mar 15, 2003
I'm currently developping a (free) Flash application that could be distributed has a swf. This application will be launched by clicking on the swf file itself, so no html will be used to load the swf, see? Okay, here is my question. Is it possible to launch a swf on a stand-alone window (from another swf) and pass variables to it, like it is possible to do from a swf to another one in different frames in a website?
View 1 Replies
Aug 26, 2009
I'll have an swf that I'd like to open up as a popup from an html link. I've been searching the forum, but most similar questions are to go from flash to html.
get a flash popup from an html link?
View 3 Replies
Feb 10, 2011
I want to make div into my intex.htm file (already built site) to place in a .swf file that will cover the whole screen, and a few seconds later the animated page will disapear and the htm page will appear. I don't want to make different htm file, neither put a button on flash(ie on click...). I just want after a few seconds and after the flash has ended, the flash will go away and the page will appear.
View 1 Replies
Nov 16, 2009
I am creating a flash movie that needs to be wider then the space available in the html. The html has about a 300 pixel space where I can a flash "launcher" movie (with a html menu bar beside it) and I would like to open a 600 pixel flash movie above everything else on the page (html menu bar and all) but not using a traditional popup window or browser window of any kind (so there will be no issue with popup blockers).
There are banner ads that put junk over top of html content
View 3 Replies
Dec 12, 2010
I am having some problem dealing with creating pop up. I want to mention here that I am trying to add pop to a button in FLASH or PROJECTOR(Not HTML)My default browser is Google chrome and the home page is set to [URL] Now I tried this code:
[Code]....
View 1 Replies
May 10, 2010
Is there a way to open a html page in a borderless popup window using AS3. I've found info using AS2 with the "getURL" but nothing with the "new URLRequest" This is an example of what I'm looking to do: [URL]
View 2 Replies
Aug 17, 2005
how do you make an image pop up in a window javascript style, from flash?
i have a variable in flash, equal to something like "images/image.jpg", and I want to make a button so when you click it it opens up a popup window thats a certain size, without menubars/scrollbars etc, to display that image, like a javascript on your standard HTML.
I read that flash has a javascript API, so there must be a way to do it huh? Is it getURL stuff, maybe with a POST of my variable?
View 3 Replies
Feb 10, 2012
I have created a popup window in a flex website and I wanted to load a HTML page inside that popup. I tried many ways to do it but that way unsuccessful. Can someone recommend me a approach to get this done?
View 2 Replies
Feb 16, 2011
Is it possible to make desktop Air application by using HTML/JavaScript and Flash?Actually I want to make an Air app (which is for desktop) by using flash and want to use HTML , javascript and CSS as well.Is it possible ?
View 1 Replies
Aug 5, 2008
I am trying to get a html popup window to open when my movie hits a certain frame instead of a button. Im using the following code but it uses a button instead of a frame to open the popup.
on (release) {
customize the window that gets opened
0 equals NO.[code]........
View 2 Replies
Sep 26, 2011
I was reading about Flex- JavaScript communication via ExternalInterface.But I had a doubt, it said that the javascript code should be written in the HTML file of the application ? Now which is this HTML file ? Is it the index.template.html file per project or the HTML file created per MXML application ?
View 3 Replies
Jul 6, 2004
i'm using the centered pop up window script from: [URL]. i have multiple buttons in my flash movie which open screenshot html pages in external browser windows. the script works fine except when a popup window stays open. the rest of the buttons don't open/replace past that one popup. i tried changing the window name in the onRelease script to screen1, screen2, etc for each button, but that didn't work.
View 1 Replies
Dec 12, 2011
I need to close the popup(adobe flex), non modal window if I click on the parent page of the popup. I have to do the out of focus check and then do some validation before close the popup. So what I was thinking that is there any inbuilt focus check event or do we need to create custom event for that?
View 1 Replies
Apr 7, 2010
I have a html main.html as given
----- main.html----------------
<title>FlexTrail</title>
<script src="main.js"></script>
<frameset rows='200,200'>
[Code]....
I want the other file to open in same window bellow the first one.But the problem here is when i run this in IE8 the other frame opens in a different window but in Firefox im not getting any respose.
Note:- Javascript is enabled in both browsers and popup are not blocked
View 4 Replies
May 24, 2004
I'm looking to create a popup which opens a "template" html page with an image placeholder. This way you should be able to send a variable from the swf and open up the same html page each time but the image would change as you change the variable from the flash button.
Basically I have flash page containing various thumbnails and when clicked, each one will open a larger version, but I dont want to make a html page for each one so rather 'send' the filename to the html page if this is possible?
[URL]
I was given this:
<html>
<head>
<title>Image viewer</title>
<script>
function loader(){
[code]....
I just basically want the swf file to decide which jpeg is to be loaded into the popup.html.
View 2 Replies
Nov 15, 2010
I don't know if stackoverflow is the correct place for this question. If not, feel free to move it in the correct site.[URL]. my client wants to convert them to something so the text will be in the html code.
I thought to use two gif files. When the user hover the specific div then the second gif replace the first and gives the effect. The text will be positioned with css. I am not sure if this a proper way to do it, or there is a better way.
View 1 Replies
Jun 13, 2011
What i'm trying to do: add an html/javascript page inside an air app made fully in flash (coded in AS3, almost no timeline used). Is it possible, is it wise to do so?
View 2 Replies
Oct 21, 2011
I have html page with an embedded flash. The flash sends me a javascript function with the selected content, namely: currency(eur) or currency(gbp). How can I catch this value with a JS function and send a variable, a string whatever to my html page?Ex: if eur, default, '' otherwise?
View 2 Replies