ActionScript 3.0 :: Open A Greybox Window From Flash Movie?

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


Similar Posts:


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

ActionScript 2.0 :: Open A New Window If Have Thumbnail Pics In The Flash Movie But Want The Full Pic To Open Up In A New Window?

Mar 6, 2004

1) how do you open a new window if you have thumbnail pics in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?

2) How do they do the menu bar here at this site:[URL]

View 1 Replies

Open Maximized Window From Embedded Flash Movie?

Apr 8, 2009

I have a html file with a flash movie-menu embedded into it. I'd like one of the buttons to open an external html page strictly in a new maximized window. It does not matter if the new window has toolbar or not. I want it to open a new maximized window (not the full screen thing) onclick.

View 1 Replies

IDE :: Open A Mini Window Inside A Flash Movie?

Dec 10, 2002

How do you open a mini window inside a flash movie, draggable of course and with a close X, im talking inside the SWF not a new Explorer win.

View 6 Replies

ActionScript 2.0 :: Open A New Window When You Have Thumbnail Pictures In Flash Movie?

Mar 6, 2004

1) how do you open a new window if you have thumbnail pictures in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?[url]...

View 1 Replies

Flash Movie To Open New Window When Button Is Pushed Instead Of Taking User Away From Site

Jul 11, 2010

I just want part of my flash movie to open a new window when the button is pushed instead of taking the user away from my site.

View 2 Replies

ActionScript 3.0 :: Open A Finder Window (on Mac) From My Movie Somehow?

May 3, 2009

Can I open a finder window (on mac) from my movie somehow? I want to be able to press a btn which opens a finder window with the adress to my ftp. When I do it throuhg the browser I only have read permisions.

View 7 Replies

ActionScript 3.0 :: Open Movie Clips In A New Window?

Sep 1, 2011

I'm pretty new to AS3 and I have a question that I'd like to have answered, please!

I have a .fla file that contains several mc, including rbms_04, rbms_10, rbms_16, etc.

I also have a input text box that is requestNum. When the user types 04 and presses the Enter key, I want rbms_04 to open in a new window, etc for all the rest.

Right now, I have the movie clips on the main timeline and this is the script:

[Code]...

View 4 Replies

ActionScript 2.0 :: [f8] Have Load Movie Open A New Window?

Nov 10, 2006

i have a m.c. button that when released i want it to load a movie but, i want the movie to open in a new window!so here is my script now:

b1.onRelease = tutorial;
function tutorial () {
_root.contents.loadMovie("tutorial_1.swf");
}

View 1 Replies

ActionScript 2.0 :: Open Movie Clip In A New Browser Window?

Jun 5, 2006

is it possible to open a movieClip from the library in a new browser window?

View 3 Replies

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

ActionScript 2.0 :: 3D Carousel - Flash And Greybox Integration

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

ActionScript 2.0 :: Get A Html Popup Window To Open When Movie Hits A Certain Frame Instead Of A Button?

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

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

Flash :: URL Open In Same Window?

Jul 27, 2009

I have a flash slide on my site. The slide has next and previous buttons to either move to the next slide or the previous slide. Each slide is only an image. When you click a particular image it takes you to the page specific to the image you clicked.
 
My issue is this: When you click the image, it opens the page in a new window. I would like to have the window open in the same window, but having issues figuring out how to do it.

The flash is controled by an image.xml script. I've added target= "_blank" to the xml, but the URLs are still opening in a seperate window. I didnt create the flash, is it possible the issues lies within the .fla file?
 
Below is a sample of images.xml

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<image>imagesimage.jpg</image>

[Code].....

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

CS3 - Open New Browser Window From Flash?

Feb 15, 2011

I'm running an online game site, and a few websites are really bad about embedding some of my games and stealing bandwidth.

To combat this, I replaced the original files with super-simple .swf files that redirected back to my own websites -- thus stealing back the traffic that they were stealing from me.

The problem came later when something changed with the new Flash player, and new windows no longer opened. For the life of me, I can't figure out how to get new windows to open. I've tried a few different approaches, but nothing appears to work.

So what I'm wondering is, can this even be done anymore -- where I can switch out a .swf that's being leeched with one that opens a window to my own site?

View 8 Replies

ActionScript 3.0 :: Open A URL In New Window From Flash?

Aug 3, 2009

Looking for the simplest way to open a URL in a new window from Flash using AS3-CS3

View 3 Replies

ActionScript 2.0 :: Open New Window In Flash?

Mar 12, 2007

i tryed to open new window in flash

how i can open new window

View 1 Replies

IDE :: Open Browser Window Within Flash App?

Apr 25, 2011

I am building a kiosk app in flash and need to open browser windows whenever there is a URL link. The problem is that when the browser window opens, the fullscreen flash becomes a resizable window and the user has to close the window and open the flash app again to make it full screen again. So i'm wondering if there's any way I can open a browser window within the flash app sort of like an iframe or lightbox pop up? I've heard of this Native Window thing but I'm not sure what that is.

View 1 Replies

Flash.net Url Request - Index To Open In The Same Window

May 14, 2009

I use to use: getURL("main.html", "_self"); to forward after my intro to my main html, now flash CS4 says its not supported? I have been looking online...looks like the new script is: url request? I see parts of pieces of what I need, but I have yet to see the complete correct example. Can someone please post the script to forward my intro to my index page. I would like index to open in the same window (_self).

View 8 Replies

ActionScript 1/2 :: Open An Swf In Its Own Window Outside Flash Using Button?

Sep 28, 2009

how do I open an swf in its own window outside the flash using button?

View 1 Replies

ActionScript 3.0 :: Open A New Browser Window From Flash?

Jan 22, 2010

I wish to open a new browser window from Flash and when the new window closes to return to the location from whence I started.

View 1 Replies

Professional :: Open Window With Flash Content?

Aug 25, 2011

So I have a button with the following AS:

on(release)
{
getURL("music.html");

[code].....

View 1 Replies

ActionScript 3.0 :: Open A New Browser Window From Within Flash App?

Oct 31, 2009

I am trying to open a new browser window from within my Flash app. To do this, I am using the line:[URL]..The problem is that when I test the code from in Flash CS4 nothing happens! It's like the line of code isn't there. But when I manually open the .html file which Flash CS4 generated that embeds my .swf, then the Flash app opens in my browser and promptly opens a new window to yahoo juat like it should, so it does not seem to be an AS3 syntax issue. I just got a new computer yesterday, with a fresh install of Flash CS4. I do not have this problem on my old computer. The old computer runs the code perfectly. Could there be some weird default security settings at work here in Flash CS4?

Does anyone have any experience with this sort of problem, or any clue what might be happening?

View 1 Replies

ActionScript 2.0 :: Open New Window From Flash As Popup

Oct 15, 2010

Is there a way to open a new window from Flash as a pop-up (i.e. a specific size without toolbars etc.). The new window needs to hold some flash movies in AS3 which arn't compatible with the AS2 parent movie.

View 3 Replies

ActionScript 2.0 :: Advanced Window Open From Flash

Jun 16, 2005

Webwasp has got this rather cool looking script posted that is supposed to allow you to open a browser window, AND allow you to define its width, height, etc -- all from Flash!! It's posted here: [URL] The problem is, I can't get the darn thing to work! They've got an example swf posted on that page, and there is the option to download the source...but only if you PAY! All the code is there, which I tried to copy and paste into my own file and publish, but it don't work! (And yes, I did publish it as an html file and view it in the browser, and yes, I did have pop1.htm and pop2.htm files for Flash to open!)

[Code]....

View 2 Replies

ActionScript 3.0 :: Flash - Open Link In Same Window?

Oct 2, 2006

The problem aren't about html, php or webdesign itself I believe, but the problem is the flash menu. The menu is coded to open the buttons in the same window, but it doesn't, it opens the links in a new tab/window which is very annoying, I've tried to fix it by adding "_self" to the flash file, but it doesn't work at all now, it doesn't go anywhere when I press on the menu!

Code:
public function mouse_Down(e:Event):void {
trace(e.currentTarget.href);

[code].....

View 1 Replies

ActionScript 2.0 :: CS3: Window.open In HTML In XML Into Flash?

Jun 24, 2008

My Flash CS3 file displays HTML text, read in from an XML file (within CDATA). The HTML text contains links in the form of <a> (anchor) tags (of course).I am attempting to open a new customized browser window whenever a user clicks on a displayed link. So far, I am able to open a window, but the customizing attributes ("width=600,..." etc.) are ignored.Rather than displaying for you the one dozen variations I have (unsuccessfully) attempted, does anyone have a simple example of something that actually works?

View 1 Replies







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