ActionScript 2.0 :: Launching The Pop Up Window From A Swf Loaded Into Another Swf?

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


Similar Posts:


ActionScript 3.0 :: Launching New Window From SWF Ad On Click

Oct 6, 2008

I am using Flash CS3 and am attempting to simply launch a new window from a .swf ad when clicked. For the publisher I have to use the clickTAG property to track the ad. I have made an invisible button (just the hit state the same size as my stage) and am placing this code on my button on the timeline:
on (release) {
if (clickTAG.substr(0,5) == "[URL]") {
getURL(clickTAG, "_blank");
}}

There are 2 problems. Firstly, the debugger generates errors:
1087: Syntax error: extra characters found after end of program.

View 2 Replies

Professional :: Not Launching In New Browser Window?

May 18, 2010

I have setup a Flash viewer in a HTML Div container. In the Flash I have put a button which, when clicked, launches a new browser window with another site I've done to appear in. When I test this in Flash its working fine and launches the new window as it should. But when I go into Dreamweaver where I have placed the Swf. in the Div container, I test it locally in a Firefox browser window. The viewer appears and it works correctly, but when I click the button to launch the new browser window it just opens a window with an error msg 'unable to connect, etc'.

View 1 Replies

Professional :: Launching A New Window With SWF From Preloader

Jun 23, 2010

I have a preloader that measures the size of the external swf, then goes to a frame with a 'launch site' button on it. When the button is clicked, I'd like a popup window to open that is the exact size of the swf file (1100x800), but I can't figure out how to do that. I know there is some combination of AS3 and javascript required. Has anyone done this? I cannot attach the preloader file that launches the external swf since this is my first post, but have it available if anyone wants it. I have the site online for viewing as it is currently (just loads then opens in same window): [URL]

View 4 Replies

ActionScript 2.0 :: Launching Javascript Window From Attached Movie?

Jul 7, 2005

I've been attempting to launch a window from an attached movie, I've got the function to work but after it launches, the main window (with the flash file) relocates automatically with the message "[object Window]"

I'm presently using the following coding with the button's AS:

Code:
getURL("javascript:window.open('http://www.atomicstos.com/popup.html','Nubeau Guarantee', 'toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=no, width=500, height=800')");

I've attempted to setup a javascript function in the HTML and have the "getURL" call the function, but that doesn't seem to work.

View 1 Replies

ActionScript 3.0 :: Mailto Is Launching Email Ok But Also Launching Blank Webpage

Jun 4, 2009

I am using AS3 on a website. Part of the AS has been setup by an external source and I ma now updating and adapting it. My knowledge of AS is limited but slowly expanding.
 
Currently the site is a main flash file with all the content delivered via a main.as file and then populated via images and videos held in folders on the web.
 
In one section we have an email link.

I was using Email[url]... and it worked fine. It launched the email program and put the email address in ready to go.
 
When I added the subject element as below[url]...

it now does what it should with the email program but it also opens a blank webpage.
 
What can I do to get rid of the blank web page opening?

View 4 Replies

IDE :: Launching Lightwindow From AS3 With Xml

Mar 2, 2009

I'd like to replace my current functionality of just launching a new url in a new window to loading a .swf in lightwindow. I've seen a previous post on this but I was having trouble following it.

My current function looks like this:

protected function clickHandler(me:MouseEvent):void {
trace("PortfolioItem::click ");
var request:URLRequest = new URLRequest("http://" + _url);

[Code]....

I think I am supposed to add the ExternalInterface class to help adapt the lightwindow javascript to work within flash.

View 2 Replies

ActionScript 3.0 :: Closing Browser Window In Which SWF Loaded

May 6, 2010

Using AS3, and without modifying the published HTML file, I want close the browser window (IE/Firefox) in which my SWF is playing on click of a button. This is not a pop-up window that the SWF is running in. It is the main browser window.

Here's my code:
btn_closeBrowser.addEventListener (MouseEvent.CLICK, close_Browser);
function close_Browser(event:MouseEvent):void{
var jscommand:String = "window.close();";
var req:URLRequest = new URLRequest("javascript:" + jscommand + " void(0);");
navigateToURL(req, "_self");}

Nothing happens when I click on btn_closeBrowser in IE or Firefox.

View 4 Replies

ActionScript 3.0 :: Vars To External Swf Loaded In New Window?

Dec 28, 2009

so i've got a swf that opens a new window with a swf . (AS3) i want to send these 4 :

[Code]...

how can i send these 4 to the clients.swf and how do i check on the other side if they exist or not ? i searched and got all sort of details about flash -> php , as2 to as3 , swf loaded in the same swf as child etc. But i couldn t not find something spefici to my problem . Also i want to use something like POST so the url looks clean as it is .

View 4 Replies

CS3 Launching A Director .exe File

Jan 28, 2012

I've made some games using Adobe Director and I would like to open them in a separate projector window.I tried attaching this code to my button.[code]I placed my .exe file in a folder named 'fscommand', that folder is in the same folder as my .fla and .swf files.It doesn't work, unfortunately. : When I click, nothing happens.

View 1 Replies

ActionScript 3.0 :: FSCOMMAND Launching App Twice?

May 22, 2011

why the below line of code launches notepad.exe twice?

fscommand("execfile", '"C:\Windows\Notepad.exe"'); //opens notepad 2x - path in double quotes

 
verses this line of code which opens it only once?
fscommand("execfile", "C:\Windows\Notepad.exe");  //opens notepad once

I'm working on a FP10 .exe projector project and noticed this odd behavior.If I had spaces in my file path, I'd want to surround it in double quotes, but that has the undesired effect of opening the app 2x.Since I don't have full control over all the elements in the project, I'm forced to use fscommand in this scenario.

View 1 Replies

ActionScript 3.0 :: Launching External Exe In AIR?

Aug 2, 2011

Need to launch an external program through Flash AIR. Tried reading up but are unable to get it working. Think there is something else I need to perform before launching my external file (exe). It is a exercise that is like a game.

var myApp:File = File.applicationDirectory.resolvePath("Hazards.exe"); var myAppProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo(); var myAppProcess = new NativeProcess();

[code].....

View 6 Replies

ActionScript 2.0 :: Launching EXE'S From Within Flash?

Oct 27, 2003

Launching EXE'S from within flash?

View 5 Replies

Professional :: Automate A Video To Maximize The Window When Loaded?

May 19, 2011

i'm trying to automate a video to maximize the window when loaded.

View 2 Replies

ActionScript 2.0 :: Dynamically Loaded Image - Link In New Window

Nov 10, 2009

I have a gallery made and the images are loaded using xml. The images are links to larger images, but the problem is, the larger image opens in the same window. Here's the code that calls the images and makes them links:

ActionScript Code:
function callImages() {
_root.myImages_mc = _root.myGallery_mc.createEmptyMovieClip("myImages_mc", _root.myGallery_mc.getNextHighestDepth());

[Code]....

View 2 Replies

ActionScript 3.0 :: Local Connection To Swf Loaded On Native Window?

Aug 7, 2011

I have 2 swfs loaded that use a local connection to communicate, they work fine when loaded on the same window but when I load them on separate windows it gives me the following error.

ActionScript Code:
Main Thread (Suspended: SecurityError: Error #2070: Security sandbox violation: caller file:///C:%5CUsers%5CSiggy2xc%5CAdobe%20Flash%20Builder%204.5%5CMass%20Media%20CG%5Cbin-debug%5Cswf%5Canimation%5CTest.swfcontrol cannot access Stage owned by app:/Mass_Media_CG.swf.)

View 0 Replies

ActionScript 3.0 :: Launching And Detecting A Child SWF?

Sep 4, 2008

I have a project where a swf is going to call another swf via a url and the calling swf needs to detect when the child swf is done. The child will not have any means of communicating with the calling swf so the calling swf will need some means of launching the child and detecting when the child is exited (either by ending or the user closing it).

Below is the current code. flashThickBox throws an error because it apparently doesn't understand the format of the data passed to it.

flash.net.naviagetourl launches the child correctly but does not provide any means for detecting when the child is exited.

The url is [URL] which is a simple html page that loads player.swf. It has to be done in this format as we currently have older authorware files that need to be launched via this same method.

View 1 Replies

Professional :: Flash CS5 Trial Not Launching Up?

Jun 9, 2010

I downloded and installed Trial version of Adobe Flash CS5 but when I try to launch it, it just does not launch. I don't get any error messages or any pop up.

View 1 Replies

Flex :: Launching An Air Application From The Browser?

Jul 6, 2010

I am working on integrating an air application with a web application and for the most part it works.The only issue that I am having is that when I attempt to pass variables from my launching badge, the application does not load and I get no errors from my swf.

[Code]...

View 2 Replies

Flex :: Air - Backkeypressedhandler Not Launching With States

Jun 9, 2011

I'm developping an mobile program with the Flex 4.5 SDK, this for my thesis for school. I have a bug in my program that I can't fix. I have a view where I have 2 states. When I change from state my program doesn't listen to the backKey event anymore.

[Code]...

View 1 Replies

ActionScript 2.0 :: Loading Pop-up Window Through Externally Loaded Text Files?

Dec 14, 2009

Has anyone tried loading a pop-up window through externally loaded text files? As in, is it possible?

View 2 Replies

Flex :: Air HTMLLoader Blank Pop Up Window When Flash Content Is Loaded?

Jun 25, 2009

I have a flex Air program that loads external content with the HTMLLoader.Now for some reason whenever I load a page that has any flash content a blank system window pops up outside of my program. It's completely blank, all white with min, max and close buttons.If I close it any flash content I loaded stops working. For the life of my I can't figure out what's happening and there's no messages in the console and no title for the window.

private var webPage:HTMLLoader;
private function registerEvents():void
{

[code]......

View 3 Replies

ActionScript 3.0 :: Photo Gallery - Externally Loaded SWF Auto Fit To Window

Nov 15, 2010

I have a flash site with 10 different tabs/sections with a stage size of 1200 x 1372. The final tab of the site contains a photo gallery, which I would like to have a different stage size and just fit the browser screen as it loads an external SWF which auto fits to the screen. At the moment, it auto fits the stage size meaning the bottom half of the photos don't show. How I can just alter the last page?

View 1 Replies

ActionScript 2.0 :: Dynamically Loaded HTML Targets - Open URL In New Window

Aug 28, 2006

I have loaded a HTML file dynamically into Flash. As you know, if I have a link like <a href="URL">TEXT</a> when the users click TEXT the broswer will load URL on the same window. However, what do I do so that the URL can be opened on a new window. This problem only occurs in firefox...

View 1 Replies

Professional :: Launching Flash Cs5 And Cs5.5 On Windows Vista?

Jun 1, 2011

Hello Every Body. I have a problem launching flash cs5 and cs5.5 on windows vista home premium edition. When i launch it, the register screen appears(the one that tells the trial time left) but the flash main window always stays black (or white)and is not responding. I had it working about one week ago and i can't figure out what is the problem .It tried reinstalling couple of times without succes. I also tried deleting the left flash cs5 program files after uninstall but it didn't work . I would need your advice. Here is the screen as it appears:

View 1 Replies

Eclipse :: Launching Flex Causes Errors In Browser

Mar 22, 2011

I've got a strange situation; when I run a Flex app from Eclipse (i.e. click run as web app), my remote calls always hang. In Firefox, they return as failed. But when I open up a browser and browse to my .html file in the bin-debug folder, the remote calls work.

View 2 Replies

Flex :: Launching Pdf/doc File Which Is Downloaded As ByteArray?

Mar 20, 2012

I want to open a pdf/excel/doc using flex, as all know we can use navigateToUrl(URL) method to open a file from the server. But my problem is those files are encrypted in the server, so I load the files as follows

ByteLoader = new URLLoader();
ByteLoader.dataFormat = URLLoaderDataFormat.BINARY;
ByteLoader.load(new URLRequest (constructedURL));

so that I can manipulate them and can get the decrypted file. Now my question is, my data already got downloaded from the server, so how will I launch the files(pdf/doc/excel) with the binary content which I had got?

Is there anyway i can launch those files like we do it in navigateToURL()?

View 1 Replies

ActionScript 2.0 :: Launching Word, Powerpoint & PDF From Flash?

Mar 30, 2006

launching word docs, powerpoints and pdfs from flash projectors on a CD. I've tried using -

fscommand("launch","mydoc.doc");

which does nothing. I've also tried as someone recommended, putting the files into a subfolder called "fscommand", that doesnt work either. Then I tried -

getURL("mydoc.doc");

which simply opens a web browser window then opens the folder where the file is stored rather than opening it. So to sum up, I want to make a flash projector on a CD which will launch those 3 file types with the click of a button.

View 2 Replies

ActionScript 3.0 :: Launching PopUp Windows From Chrome Via Flash

Aug 24, 2010

I want to open a simple pop up window on a user click in a flash movie. I can make it work from all browsers except Chrome (6.0.472.41 beta) which blocks the pop up. Here is an example: [URL] (click the black rect, to bring up a google page in a popup);

[Code]...

View 2 Replies

ActionScript 2.0 :: Loading A Movie And Launching Into The First Scene Automatically?

Mar 5, 2004

load a movie at a particular scene rather than it launching into the first scene automatically? Or is this impossible?

View 1 Replies







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