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


Similar Posts:


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

ActionScript 3.0 :: Get Lightwindow To Launch From Script?

Jan 22, 2009

i am trying to get lightwindow to launch from my script in as3. i have some thumbnails that are generated via xml - and when clicked the thumbnail opens a url in a new window.i want it to open in the lightwindow box instead.this is the as that i have on my thumbnails

PHP Code:
function p_click(me:MouseEvent)
{
var loader : Loader = new Loader (); [code].....

i am really struggling with this - i have also dropped the swf into html doc for lightwindow and the html links - open the lightwindow up perfectly but the swf doesn't want to know.has anyone managed to get this working before? or know of good points of reference to make it work from a flash button/xml.there is no support on the stickman site - lots of config info - but not for flash?

View 21 Replies

ActionScript 3.0 :: Get Lightwindow To Launch From Script?

Jan 22, 2009

i am trying to get lightwindow to launch from my script in as3

i have some thumbnails that are generated via xml - and when clicked the thumbnail opens a url in a new window.

i want it to open in the lightwindow box instead.

this is the as that i have on my thumbnails

[Code]....

i am really struggling with this - i have also dropped the swf into html doc for lightwindow and the html links - open the lightwindow up perfectly but the swf doesn't want to know.

has anyone managed to get this working before? or know of good points of reference to make it work from a flash button/xml.

there is no support on the stickman site - lots of config info - but not for flash?

in summary how do i trigger lightwindow from an as3 button???

View 14 Replies

Javascript :: Flash Will Not Load Images When Embedded Inside Of Lightwindow?

Feb 23, 2012

I posted a question similar to this not so long ago however I have trawled through the forums and could not find an answer...I am using Lightwindow which is a version of lightbox that can have ANY form of content and DOES support .swf files.I have linked the test link on my page to activate lightwindow and open the swf file. Light window opens the window to the correct size but does not display any content. If I go directly to the flash file then all the test images load.Here is the code for that link:

<a href="http://www.monsterbox.co.uk/ollie/lightwindow/gallery/gallery.swf" class="lightwindow" params="lightwindow_width=800,lightwindow_height=345" >Link Name</a>
I understand that something along the lines of

[code]........

View 1 Replies

ActionScript 3.0 :: Using Lightwindow To Create An Overlay That Displays The Links / Images / Video / Firefox

Mar 5, 2009

i have an swf placed into a html doc - the swf creates thumbnails and links that create a sort of videowall effect - the links come via xml. i am using lightwindow to create an overlay that displays the links/images/video etc... so here is the problem - if i open it with firefox on a mac - and choose say the youtube link - it opens lightwindow brings in the flv briefly - then the flv vanishes leaving a white void where the player should.

but if i add the same link to the html and click it, that works as it should do - ie the youtube flv apprears and you can click and play it etc... Safari on a mac works a treat - and loads and then plays the flv. is this just a bug in FF for the mac - or mac&pc? doesn't FF like flash and youtube together or something? or is there a work around? my tester is here could any pc heads tell me if the lightwindow works at all on their windows browsers? and tell me what versions you are on?

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

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

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 :: 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 :: 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

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

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 :: 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

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

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 2.0 :: Launching A Full Screen Flash Page?

Nov 29, 2005

i am trying to do a piece in flash and have figured out how to make it fun full screen...

now here's the problem, with Stage.scaleMode = "noScale"; on the first frame it doesn't really scale the swf...

what i really want to do is take Stage.scaleMode = "noScale"; out but then be able to see the swf play with out distortion... is that possible?

how do you go about retrieving the width and the height inside of the browser window and go about applying it in actionscript so the height is always 100% and the width is always scales proportionally so the swf doesn't get distorted?

View 2 Replies

ActionScript 2.0 :: MC Buttons Launching External SWFs With Transitions?

Sep 30, 2006

I can handle animation but am somehow ignorant about ActionScript as my knowledge of Flash goes back to the Tell target actions...I've been playing around with 2 tutorials I've found on Kirupa (see links below) in order to build a text based navigation:

My first level is made of MC buttons. All working great when adding the script indicated in the first tutorial. From there, I would like to be able to load external SWFs when clicking on one of those first level buttons and in order to do so I added the script from the second tutorial (Transitions Between External SWFs)

Doing so, I was told I could only add that script on button symbols which is unfortunately i not an option at this point. how can I launch external SWFs that would allow transitions from those MC symbols?

[code]....

View 1 Replies

ActionScript 2.0 :: Launching Popup From Transparent Flash File

Nov 8, 2006

Is there a way to launch a pop-up window from a transparent Flash file, without it getting blocked by the pop-up blocker? I know it's a security issue with the different browsers not to let you pop-up a window from a transparent .swf, but is there anyway around it? Like tricking the browser in anyway? I've tried everything I can think of, passing stuff to the html page with Javascript and then having the HTML page call the pop-up but that means that the page has to refresh then call the pop-up.

View 1 Replies

ActionScript 3.0 :: AIR Air2 NativeProcess -- Launching Python Scripts?

Jun 2, 2010

I gave up on Python and wrote the stdout interface with a C++ Win32 Console .exe file. It works fine. Bleegghh.

Old post: I'm trying to communicate with a Python script. It is not going well. So, first off, I can't get the damned thing to launch for the life of me -- so I'm focusing on that issue. I can get CERTAIN .exe files to launch, but not all of them. If I bundle putty.exe (lol) in a folder called NativeProcess it works fine, but I can't launch python.exe from my computer.

[Code]...

View 2 Replies

Professional :: Runtime Error When Launching Flash CS5 In Vista 32bit

Aug 11, 2010

I installed Flash CS5 as a Trial and when I tried to launch it the error message appears on the screen:

Visual C++ Runtime Library
Runtime Error
This application has requested Runtime to terminated it in a unusual way. Please contact the applications support team for more information.

I already tried to re-install Vista again and even tried to install flash in XP with the same unsucess result.

View 4 Replies







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