?
Solved

Can Flash make a local connection without using getURL?

Posted on 2005-04-01
6
Medium Priority
?
222 Views
Last Modified: 2012-06-21
I am trying to launch a software program locally on my computer through a EXE file created from Flash SWF. In my EXE file, there are buttons that have getURL assigned to them. However, it is launching a browser when the button is pressed. I want the EXE file to launch the software program and not the a browser. Is this possible? Can Flash send UDP signals? Ill give more points if someone figures this out.

My button function sample is as follows:

url_btn.onRelease = function() {
            trace("onRelease url_btn");
      getURL("http://localhost:5555?Somename", "_self");
}

THanks!!
0
Comment
Question by:funhyun1
  • 3
  • 3
6 Comments
 
LVL 2

Author Comment

by:funhyun1
ID: 13679083
I am trying to launch a software program locally on my computer through a EXE file created from Flash SWF. In my EXE file, there are buttons that have getURL assigned to them. However, it is launching a browser when the button is pressed. I want the EXE file to launch the software program and not the a browser. Is this possible? Can Flash send UDP signals? Ill give more points if someone figures this out.

THanks!!
0
 
LVL 18

Accepted Solution

by:
Billystyx earned 2000 total points
ID: 13679387
use smething like this:
on (release) { fscommand ("exec", "someApplication.exe"); }
Billystyx
0
 
LVL 2

Author Comment

by:funhyun1
ID: 13679891
on (release) {
    fscommand ("exec", "D:\Software\Perl\bin\perl.exe\tD:\temp\S204_Laderaumshow\HTTP_Deamon_Hyun2.pl");
}

does thiswork?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 18

Expert Comment

by:Billystyx
ID: 13679933
If the file path is valid it should work.
0
 
LVL 2

Author Comment

by:funhyun1
ID: 13680293
genius stuff! It works. I just had to place my flash EXE file in the same directory as the app exe.

THanks!!
0
 
LVL 18

Expert Comment

by:Billystyx
ID: 13680393
no worries - glad to help:)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

616 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question