ActionScript 2.0 :: Can Launch An App (an Exe)
Aug 26, 2004I want to launch another app, in a separate window - like Excel or something . I can predict a hard coded path to it - like "c:myappapp.exe". Can AS do this?
View 2 RepliesI want to launch another app, in a separate window - like Excel or something . I can predict a hard coded path to it - like "c:myappapp.exe". Can AS do this?
View 2 RepliesSo I read through Kirupa's XML/Flash thumbnail gallery tutorial and have since modified some of its actionscripting to display my online design portfolio. How do I make it so that 'LAUNCH PROJECT' is a link? Here is the modified Actionscripting (I have one of each for the 3 sections):
Code:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;[code]....
As you can see at the bottom of the actionscript, I added a gotoURL action, hoping that simply by making <launch> read <launch action="gotoURL" variables="http:url...> that it would become a link. I, however, have had no such luck. Perhaps I have to add something more. How do I make it so that <launch></launch> has the ability to link to an URL?
I was wondering if there was a way to launch an external .swf from within the playing .swf?
I don't want the other swf to be inside of the currently playing one (like with the UILoader, I want it to be running as a completely separate instance of flash.
I am trying to use Media Encoder CS4 but it will not launch. It seems to get hung up on "ImporterQT.bundle".
View 1 RepliesI've been developing a Flash application that will be running on a touch screen monitor installed in a hospital. The touch screen is run by a Windows machine. I'm afraid I don't know much about the Windows world. I'd like to have my Flash application launch in Flash Player every time the cpu is rebooted so the client never has to worry about manually doing it.
View 5 RepliesI'm getting a PreloadSwf when launching my flash application in my browser.
The error message is: PreloadSwf paths must be local trusted: [bogus_path]
It's referencing a file that doesn't exist in a directory that doesn't exist. I've seen some posts on the web about how to configure PreloadSwf via mm.cfg, but my mm.cfg doesn't reference any path (just sets log levels).
How do I tell Flash Player to skip this preloadswf so I can launch my app?
How do i launched Terminal from air 2 passing arguments and command as well?
View 2 RepliesI use Flash Air to develop iOS games. It would be nice to be able to launch a browser from within your applications.
View 2 RepliesHow to run an exe file using flash? it's like clicking a button then it will open the exe file
View 1 Repliesi need to be able to launch pdf files from a .exe off a cd. simple enough. the problem starts here.... when i wiew the movie using .swf or .exe some images shift a tiny bit and then shif back during some of the animations. (god knows why but it dosent look great) when viewing the movie over a browser however there is no such problem. i would like to launch a browser window with no toolbars and such fit to the flash movie that can launch pdf's. again, i can launch the .exe from the cd and furthermore launch the pdf's but some images shift for some reason.. is there anyway possible to get around the security features in flash that wont allow you to launch a local file from a .swf file?
View 1 RepliesI`m trying to get an URL launched by clicking on it - thing is though that I want to keep the URL list uptodate and maintained through XML.
PODlob`s fla suits the purpose very well, but I can`t get the URL to get launched.
I'm making a flash project that will end up as an .exe file on a CD..I was wondering if there was a way to launch a pdf in this file. I know on the web, I could use the:[code]but I don't think this will work in an .exe file? Does anyone have any way to accomplish this?
View 4 RepliesHow to run an exe file using flash? it's like clicking a button then it will open the exe file
View 1 RepliesI`m trying to get an URL launched by clicking on it - thing is though that I want to keep the URL list uptodate and maintained through XML.PODlob`s fla suits the purpose very well, but I can`t get the URL to get launched.
View 3 RepliesWe have created a standalone exe (flash with windows/mac "projector") file, and have it set to autolaunch when a cd is inserted, but would like for it to launch in full screen mode
View 6 Repliesi 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?
Let's say the Flash doc is set up in the form of a webpage. Then I have 5 buttons on the left. Now, I have another Flash banner at the top of the page.I'd like each button to launch a different animation within that top container upon clicking.I'm having trouble getting the script to work. Someone told me to put the script on the timeline of the actual main webpage - not attach to the buttons (which I find odd) I haven't used ActionScript in years!Oh, and I placed a stop action in the first frame of each animation movie clip so that they won't auto-play when the page gets uploaded to the web.
View 5 RepliesI seem to remember that to debug in 8 you have the file open you wanted to play with and then went to "debug" then the UI would change to Debug mode and a swf would popup.
I'm in cs4 and trying to debug a simple 3 line trace statement and when I hit "debug" it changes to "debug mode" and I can move through breakpoints and see variables and stuff. However, it doesn't open a swf (so I can actually see the actual FILE) until the END of the program has run.
I assume it is supposed to open the SWF as soon as I hit "debug"
I have had Flash CS5 since it came out, I have updated the program regularly.When I open Flash it gives me the Unexpected File Format Error. Even though I am not opening any files.
View 1 RepliesI'm having difficulty debugging an ActionScript 3.0 project.When set to ActionScript 2.0, I'm able to debug just fine, but I'd like to use some 3.0 functionality. However, when choosing Debug > Debug Movie, the debugger launches (or at least the empty AS 3.0 debugger panels are displayed), but I receive the message "Debugger launch failed. Debug session will terminate.". Click OK and the debugger closes.
View 11 RepliesI have a completed Flash (AS2) project that's pretty involved. Now, I need to launch it from a hyperlink on an html page. I want the hyperlink to launch the ".app" or ".exe" file - not the html that Flash publishes. I don't want the user to view the project in an html/browser window but rather as its standalone projector/exe.
I tried a regular hyperlink like this[url]...but that doesn't launch the .app. Instead I got a browser screen showing the path to the app inside the "FLASH" folder. The app is viewed as a folder named "GUIDE.app". (weird) So I surmise that a regular hyperlink isn't going to do the job.
How do I launch a Flash projector or executable file from a hyperlink on a separate HTML page?
I'm trying to launch some files like a old director file from a button (res1) in my .swf file (I want it to open in a seperate window)
Code:res1.addEventListener(MouseEvent.CLICK, res1click);
function res1click(evt:MouseEvent):void {
var request:URLRequest=new URLRequest("acc.exe");
I have a swf file (a flash game). I want to run some script to open it in full-screen mode. I'm not attached to any browser, but I do run Linux, so a bash, or generic answer is what I'm looking for. I'm also open to building a lite browser application if need-be.
View 2 RepliesIs it possible to create a command line Abode Air app? I know thats not the intended use of the framework, but I have a lot of utility code written in as3, and I have a need to programatically run some utility functions from another app (not flash). I know I can pass command line parameters to the Air app, but I would like to avoid having a window pop up while the calculations are being made.
View 1 RepliesI'm developing an AIR application in Flash Builder (Flex) and I needed the option to communicate with a serial port on the computer. I want to be able to launch serproxy.exe when my application runs. I've tried two methods, and neither of them are working for me.First method:
var file:File = File.applicationDirectory.resolvePath("assets/serproxy.exe");
file.openWithDefaultApplication();
This proceeds to open the program, but then immediately closes it. No errors are thrown.Second method:
var file:File = File.applicationDirectory.resolvePath("assets/serproxy.exe");
var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
nativeProcessStartupInfo.executable = file;
[code]....
I have an Android AIR application (developed with Flex SDK 4.5.1) for which I need to block the Home Button, as the app is used by patients in a hospital without supervision, i.e. it is crucial that they cannot leave the app.
It seems that the only way to hijack the Home Button is to be registered as the default launcher, so that your own app gets the focus when home is pressed. This is easily achieved in the manifest, such as:
[Code]...
I've hit a snag when trying to debug an AIR app using adl.
Although adl successfully launches, the application never appears on screen / starts up.
eg:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[Code].....
Update: I've also since uninstalled and reinstalled Flash Builder (and therefore, the AIR SDK), and it still doesn't work. I think this adds weight to the port conflict, but still leaves me unsure of where / how to proceed
Further update Compiling exactly the same codebase to a AIR installer, installing, and running the application works fine. (Ie., a production release). However, the codebase fails to launch with adl. This pretty much confirms the issue as a local machine config problem somewhere with adl, and not an issue with the codebase.
Is there a mechanism by which an AIR application can manually display in whichever monitor I choose? I can look at the display list in Screen.screens, but I'm unclear on how to actually force the drawing of the app into one of those.
View 1 RepliesI 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 also have the site online for viewing as it is currently (just loads then opens in same window)
View 1 RepliesI want to launch another app, in a separate window - like Excel or something . I can predict a hard coded path to it - like "c:myappapp.exe".
View 2 Replies