ActionScript 2.0 :: Loading A Greybox Popup From Flash?
Apr 18, 2007
how to use greybox from a flash movie.
here is the site with the documentation on how to use grey box
[URL]
Now, you have to install some javascript on your server and call it from the header in your html. now thats fine and ive got it to work on a normal html page, the only problem is i cant seem to figure out what to do in flash.
Here is the HTML to launch [URL] in a new 'greybox' window
Quote:
a href="http://google.com/" title="Google" rel="gb_page_fs[]">Launch google.com in fullscreen window</a>
you can see that there is a 'rel' variable. Can flash understand this. how can I make flash do this?
View 9 Replies
Similar Posts:
Aug 9, 2009
I'm using the Oxylusflash 3d Carousel which uses AS2.0. I've got it installed and working, however I want to trigger a Greybox javascript popup by clicking on an image in the carousel menu. The Greybox popup is initiated in HTML by simply including arguments in the <a href..> tag like this:
Code:
<a href="[URL]" title="Google" rel="gb_page_center[640, 480]">Launch google.com in a 640x480 window</a>
The carousel .fla file (which for commercial reasons I am unable to upload) uses a file called pictureClick.as to handle the onClick events (I think this is the right way to describe it). The pictureClick.as file contains the following:
//function called by onPress event and return "name" variables from xml (if action is other that "_blank")
function pictureClick(par){
//this is the the name of current holder that keeps all images
var father=_root.slideshow.poze;
[Code] .....
View 3 Replies
Jul 31, 2009
I am trying to open a greybox window from my flash movie. I am not getting a syntax error, but the window will not open when I click the button, either.
Here is my actionScript 3 code:
ActionScript Code:
ericEmail.addEventListener(MouseEvent.CLICK, buttonclicked);
function buttonclicked(event:MouseEvent){
ExternalInterface.call("opengreybox",'http://www.cosmogrey.com/contacts/trautmann.html');
}
[Code]...
View 5 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
Aug 30, 2008
I have a main MC, on which I have a button which dynamically loads another MC on top (like a popup). On this popup, I have a close button, which works. On the popup, I have another button which dynamically loads another MC on top of popup #1. I cannot get the close button on popup #2 to close just that popup, it either does not work at all, or closes both #1 & #2 at the same time. I know it has to do with hierarchy, but just cannot grasp this method.
Attached is the code & files.
Code:
//pop1 MC
//load mcPop2 on top of pop1 and main
var parent:MovieClip = this;
btnPop2.onRelease = function (){
[Code] .....
Files: [URL]
View 1 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
Dec 7, 2010
I have a web application which contains a data grid. Double clicking on any row of that grid will open a popup (lets call it popup1). Now this popup1 again opens a new popup(lets call it popup2). When I close the popup2, I need pass an Object to popup1. Which is the easiest way to do that?
(PS: While opening popup2 from popup1, I am adding an event listener on Close event of popup2)
View 3 Replies
Jul 7, 2011
I have a parsley popup that can create another popup.The issue comes when I close the root popup, when I open the popup again and click on the child popup, it's actually opening 2 child popups.Any idea why this thing happen?
<parsley:PopUp open="{presenter.scenarioCreatePopup}" modal="true" center="true" reuse="false" id="hem" >
<views:ScenarioView width="100%" height="100%" id="scenarioView"/>
[code].....
View 1 Replies
Sep 6, 2011
when i run a swf file from HTML/Outside(i mean to say from folder) and click on the button (button calling xml file which has link in it), i get a adobe flash popup error/msg. As shown below....my codes are as follows
XML CODE:
<?xml version="1.0" encoding="utf-8"?>
<tree>
<link>[code].......
View 1 Replies
Oct 28, 2009
I'm looking to create a flash based popup window when a button is pressed within the flash movie. Not a javascript based html window or html browser window, but a window that is in the flash movie that is entirely flash based. I looked all over the internet and can't seem to find anything on this, and can't find anything on this board either. I am new to flash and actionscripting in general. I would also like to use the Tweener external class, or the flash tween class would work too.
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
Jun 3, 2010
I do not know if this is the correct place to ask this question so if there is a better place, just let me know! I am a very novice designer and even worse programmer and I am currently creating a flash movie based website. One of the "pages" of the site has buttons on it that open up a dialogue box which covers the buttons. The dialogue box has a close button to then get open up the area so you can select a different button and thus different dialogue box if you wish. My problem is that when the dialogue box opens, the mouse cursor turns into then "hand selection" cursor and I can still select the buttons that are behind the dialogue box that has been opened. This has all been done natively within the flash movie, no actionscript so a button takes you to frame 5 which has a dialogue box and another button takes you to frame 10, for instance.
View 2 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
Aug 27, 2011
show flash object in a popup, without copying DOM "object"? I need same instance of flash in the popup.
I guess something similar Stop reloading flash file when using show and hide methods, but I really haven't found yet any good solution for popuping in that case.
View 2 Replies
Oct 25, 2011
My Flex application is required to load a SWF file externally. This SWF file has a popup. How could I ensure the popup is at the middle of my Flex application and modal?
Edit: The popup component is owned by SWF file (through a "Show more" button) and is not just an Alert. The SWF file is provided by third party. Any update on the SWF file and its popup component do not require re-compilation.
View 2 Replies
Jan 16, 2012
we developed an as3 facebook application (http:url....), but unfortunately the authenification popup is blocked in all major browsers (ie, ff, chrome), which leads to a high rejection rate for our campaign.If I have a look here ... http:[url....These fellows used the same api (http:url.....), I checked it with a decompiler and their popup is never blocked!.
View 1 Replies
Mar 28, 2004
i've found that tut to open a window. all good.URL...But how do you do to close the pop up within flash (from a button in the swf embed in the pop up)?
View 2 Replies
Jan 11, 2006
Many times i have searched to find some html code for that exactly code , but without result.
I have made an .swf and i want ... when somebody types the url , for example [URL]
to display the flash (in dimensions of flash - i think that is 700*800) in the centre of the screen , without scrollbars and any others of browser. Only the Window with the Flash , like a popup. Sure, i dont want firefox to recognise it as a popup and close it....
View 1 Replies
May 14, 2003
I went through the tutorial on this site that shows you how to launch a popup window, from Flash, that is centered. The only thing is that I would like to be able to open multiple windows so customers can compare many different products. I tried a few things but can't get it to work.
View 5 Replies
Jun 1, 2007
i'm making some changes to page [URL]. when you click on the Prix Fixe forms a popup of caveats comes up. it works in every browser but internet explorer. i've tried numerous methods and none of them work. method one: this is currently applied to the lunch and dinner prix fixe forms flash code:
[Code]...
View 1 Replies
Jun 7, 2007
I'm trying to figure out the as for a Flash popup that will launch a window that dims the background Just like this, but actionscript) - all in Flash, no Javascript or CSS. It will be launched from an XML loaded image. Is this possible?
View 1 Replies
Sep 8, 2002
if I make a popup menu with submenus, and I make multiple menus horizontally next to one another...I know I can use invisible buttons to close the menu on rollOut, however, I've been advised using the "with" function would avoid confusion in the case where menus are close together. I'm a bit confused about doing it this way.
for one thing, assume the menus going horizontally are named menu1, menu2, menu3, etc. the with action.. is this upon rollOver of menu 2 for example..then in that movieclip or menu instance, I'm asking menu1 to move to a closed state? or is the action using with within menu1?
View 4 Replies
Mar 3, 2009
I'm trying to make a flash based popup window what i want to do is make it so that the popup window starts off screen and then smoothly moves onto the screen when the code that causes the popup fires..I'm not looking for an html or javascript popup window this will be a popup window inside the flash environment.
View 1 Replies
Aug 18, 2009
I'm a web designer but I just don't use a lot of Flash. I'm sure this will change as time goes on. For now, I'm still using an old version of Flash MX on my Mac - Flash MX version 6. But I don't think that has anything to do with the problem. I designed a flash animation for my wife's website back in 2004 and it has always worked perfectly up until installing the most recent Flash Player 10.0.32.18 just a few days ago. Here's the problem:On my wife's website, we have a special link called "view presentation". You click on that link and a smaller, separate window pops up. Inside of this pop up window is the flash animation (the actual swf file). In the HTML code for the pop up window, I have coded the following javascript:
function closeWin() {
if (document.images) {
self.close();
[code].....
View 2 Replies
Apr 23, 2011
has anyone seen or done a Popup Dialog Class? creating a shadow backround and small window?
View 1 Replies
Jul 8, 2011
I need to make a pop up window effect within a flash movieclip.
1. Dec 14, 2009 3:27 AM in response to: courtispeepRe: simple pop-up with AS3? ...not using javascriptSo you want it in actionscript 3?
There are several ways to do it.
One is to pull it out of the library the second is to place it on stage, set it visible = false via actionscript and set it visible = true when you click the button.[code]...
View 6 Replies
Feb 25, 2012
For example, consider the store directory of a mall [URL] When the user clicks on a particular store, it popups the detail of that store. How is this kind of flash file created?
View 3 Replies
Apr 22, 2010
I am developing a a game in Flash using the PureMVC framework. From time to time I need to show dialog pop-up window to get a user response back (e.g. "Cancel", "OK" and other kinds of asynchronous user feedback) while "locking" the background for interactivity.
I need some management for my pop-ups: all pop-up notifications should be stacked up, so that if two (or more) pop-up messages are initiated at the same time I show them one by one.
What's the best practice here? Should I employ a proxy to manage my pop-ups (sounds unreasonable). How do I get feedback back from my dialog? using notifications?
View 1 Replies
Oct 21, 2010
If i would place flash in a usual way, i could use wmode transparent.
but I place flash on page with iframe (because it loads external files, with relative URLs, from another server)
Also on a page I have JS popup window. But when opened, it's under flash in iframe.
View 1 Replies