Flash :: Interact With Local PC From WebApp
Apr 28, 2010
I'm currently working on a corporate intranet application. Part of the requirements are to have the application start a program on the users local PC (Minitab) and then have the webapp communicate with it via it's COM interface.
What are my options for doing something like this?
A signed Java applet and Jacob ActiveX and .NET (this will only work in IE, correct?) Flash? (can flash be given permission to the local PC?) Silverlight???
I'm leaning towards trying the java approach (all users will have Java and flash installed) but am wondering what's the path of least resistance.
The application runs from Apache2/Python/modwsgi on Gentoo Linux. All users will be running WinXP or Win7 with Firefox or IE6/7/8.
View 2 Replies
Similar Posts:
Jan 5, 2011
I would like to add local storage to an existing Flash webapp that up until now uses a web server to store data (database and media files). What are my options? I'd like to reuse the code of the Flash webapp and run it inside a browser if possible (which, if I'm not mistaken, is not possible with Adobe AIR).
View 1 Replies
Jul 4, 2010
I'm trying to load a local xml file:
xmlLoader.load(new URLRequest("../xml/xmlData.xml"));
But I'm getting this security sandbox violation:
#2148: Only local-with-filesystem and trusted local SWF files may access local resources.
I don't get this error when I embed the XML file directly with the EMBED metadata tag.
View 3 Replies
Jan 6, 2010
I used FalshDevelop to compile PanoSalado opensource ".as" files to produce corresponding ".swf" files.it works great and my movie shows.However, when I run it via a webapp under Tomcat, it just sits there. The url is:Note that I'm running the same file (.swf) from the same place in the filesystem.And I even tried to embed the swf in an html page (actually a jsp page) to see if it would work.. but no dice... same issue.FWIW the html that is used to invoke the swf is :
<div id="flashbanner">this will be replaced by the SWF.</div>
<script type="text/javascript"> alert('0'); var so = new SWFObject('maps/ModuleLoader.swf','mpl','555','416','9', '#336699'); alert('1');
[code].......
View 1 Replies
Jan 7, 2012
I'm developing a game add-on/plugin which replaces a built in feature of an online game. The game loads an .swf therefore, my solution also has to be an swf for it to work 'in-game'.
I would like to be able to have the user press a button in the custom .swf I am making - and this would open an external application (amongst other things). I.e. if there was a button that said Notepad, it would open Notepad.exe on the machine.
My initial thinking was that i could have a XML Socket server 'daemon' runnning (c#) , which i could connect to with flash - however, as both the swf and the daemon are local, flash complained and gave this error: "Error #2010: Local-with-filesystem SWF files are not permitted to use sockets."
The only way i know to fix this - is to change the security settings of flash - not very user friendly!
So! Any thoughts on how I could otherwise go about this? I was thinking a custom http server could do the trick (connected with URLRequest) although i'm not too sure.
View 1 Replies
Dec 18, 2009
I'm doing some research for a Maps project I'll be starting soon, and I'm trying to evaluate which of the Map APIs will be best-suited to this project. I've worked pretty extensively with the Google Maps Javascript API, but no others. My basic requirements are, in no particular order[code]...
Flexible: the Google Maps JS API is a good example of this. Basically this leads to lots of good things like numerous third-party plugins/extensions, and puts a lot of power in the devs' hands.
Well-documented and supported: again, the GMap JS API is a good example. If I'm going to start working with a new, rich API, I'm going to need to be able to find answers.
As of now, I'm inclined to use the Google Map Javascript API since I am familiar with it. However, the question of whether or not the Flash API might be able to handle many points more efficiently and gracefully prompted this SO question.
View 5 Replies
Jul 26, 2011
I need to do file manipulation such as create,write and delete in flex4 webapplication.
View 0 Replies
Jul 9, 2010
I am trying to create an automated program in Python that deals with Flash. Right now I am using Python Mechanize, which is great for filling forms, but when it comes to flash I don't know what to do. Does anyone know how I can interact with flash forms (set and get variables, click buttons, etc.) via Python mechanize or some other python library?
View 1 Replies
Aug 22, 2011
I have a movieclip on stage: I load inside it a form (via addChild). The form is made of textfields and movieclips and it is contained in a library object of MyForm class, extending MovieClip. So I have:
var myForm:MyForm = new MyForm();
myClip.addChild(myForm);
What happens: the MyForm class lets me interact with textfields (if I change a value of a textfield I can see it very clearly). But I can't manually reach the input textfields and the buttons (they don't respont to pressure, and I can't modify their content in the case of textfields). There seems to be something related to the fact that MyForm is contained inside myClip because if I load the form without the myClip container anything works again. I tried to use mouseChildren and mouseEnabled on myClip but it doesn't work.
View 1 Replies
Dec 8, 2011
I am looking for advice how to set web pages where user can interact with it using microphone. The aim would be that user can say word and the word would be recorder and the file compared on server with another sound (word) and then the result (the searched word) would be displayed. It would be a spoken dictionary.
View 2 Replies
Jun 16, 2009
we have an internal webapplication running on tomcat, build on Spring. The webapplication front-end is build with Flex.I would like to create a cross-platform systray application that allows to go the home page of the application and displays alerts when certain things happen in the server.
What would you think is the best technology for:The systray itself? Java Swing?Communication between the server and the systray? Webservice? RSS feed? Spring remoting? JMX Notifications?
View 4 Replies
Feb 16, 2010
I'm planning a webapp. I have all the wireframes defined, the interfaces designed in photoshop, data structures etc. It will be built on php and mysql however I've been unable to decide on which technology to use as a GUI. All your insights are welcome.
The problem with going the html way is that the GUI makes use of a special font that is crucial to the visual aspect of the app. So this font is required. For headers and fixed sections I could do sfir or use images but being a webapp, the amount of dynamically generated content makes it imposible to use image replacements. Enter flash. Flash solves the font problem easily, it even adds font antialiasing and animations which makes it look even sexier. Another pro is being able to deploy as an air app to use local storage for users that have troublesome connections. This way when internet access is restored the app can sync with the main servers. BUT... flash is being ignored by major developers, this would mean the app wouldn't be accessible to mobile devices, ipads,search engines, etc and requires the installation of the flash plugin which is not that big a deal but should be considered.
View 4 Replies
Sep 30, 2010
I know Flash can work with my webcam. Is it possible for a Flash object in the browser to get a document scanned by a hardware scanner?
Will it be different if this will be an Adobe Air application?
View 1 Replies
Aug 3, 2011
I want to play/stop Pandora's web radio tuner, which is flash-based, via Javascript. How do I programmatically interact with it's online flash player?
View 2 Replies
Sep 5, 2011
My goal is to build a program trader for the upcoming CNBC porfolio challenge. I need a way to collect quotes, current positions and place orders in the flash object.
View 1 Replies
Oct 18, 2011
i have encountered a problem last night. my code looks like the following:
[Code]...
View 1 Replies
Jan 15, 2010
I was wondering if there was a scripting language that one could use to to interact with a flash object on a webpage? I am trying to automate some tasks but the webpage uses flash. Edit: I am trying to fill out a form basically click a few "check boxes" and then a submit button but I would like to know if its possible to automate this task.
View 1 Replies
Oct 15, 2007
is it possible to have a flash menu interact with powerpoint slides?
View 1 Replies
May 8, 2010
I'm considering taking on a new project for myself - nothing particularly major - but I've a few questions that I'm certain anyone with some serious experience with Flash might be able to answer for me or perhaps (hopefully) guide me in the right direction for alternatives.
So I have an idea for a horizontal menu that I want to design using Flash (I've only experience with AS3 - odd as that is? - so that'll be how it'll be designed). As I'm coming to understand it's difficult/impossible to have the embedded flash interact with other portions of the HTML, so for every time that a menu item is clicked, is the only way to go about moving to that page just having the entire page effected - ie each page (home, port, etc) has to also include the embedded flash as well, or can I just have it affect some subwindow or section of the page, instead?
View 3 Replies
May 19, 2011
I use a flex app (A) to load another flex app (B) using SWFLoader (both built using Flex Builder 3 sometime ago).Everything works fine as expected across all (IE, FF, Chrome, Safari) desktop browsers.However, if I use a TabNavigator within the flex app (B) then when you click on any of the tabs it unloads the flex app (B) and re-starts flex app (A). This behaviour appears to be limited to Webkit based browsers (Chrome & Safari) the rest of the browsers (IE, FF) work fine.
View 1 Replies
Feb 11, 2010
Since I've never done this and the google results are quite random, I ask here: Is it possible to display Flash movies inside a Flex application and interact with them?
The scenario is as follows:
I'm developing a new application in flex Another, already completed application is given to me as SWF (or perhaps SWC, don't know any details yet) I have to insert this second application inside in my Flex application, which should be no problem afair I have to interact with this application: send and retrieve data. Don't know any further details here, too.
Will this be possible? Or is Flex only capable of displaying the SWF without the possibility to interact with it? I hope you can understand, what I want (have to...) do.
View 1 Replies
Nov 9, 2010
I've been trying to understand how flash animations or a Java Applet work within a browser. I can think of a couple of ways - The Flash Player/Java Applet are machine code that's dynamically linked it, and given some parameters about the area of the screen that belongs to them; after that, they run within the same process space. The browser exposes an API that the player/applet use to talk to it and they live in a separate process. (Presumably they talk via sockets?) The API could correspond to openGL/X11/some custom calls.
These possibilities still don't explain things like how a button click can make the player full-screen, how it can play music, how it can inspect the DOM, etc. For that matter, is the video displayed by decoding to a sequence of images, and rendering them one at a time, or is there a more efficient way, e.g., of pushing the deltas in the image? The Wikipedia page on Java Applets
(1) talks about how the applet is run in a sandbox (presumably a separate process), but it doesn't say how the browser and the applet communicate. Perhaps the answer depends on the underlying platform?
View 2 Replies
Mar 8, 2012
Im learning flash actionscript at a local college and have been asked to find out 3 ways how the kernel could interact with my application when creating an actionscript project.
EDIT: The Kernel is a class that is being linked to the swf. Weve been asked to find out how the Kernel can effect and interact with the application. This is the class thats been created:
public class kernel extends MovieClip
{
public function kernel()
{
[code]....
View 1 Replies
Jul 22, 2011
I have a SWF file located at the local network in the public shared folder that I do not control over trying to read the external file on the local network.
I am currently hitting instead an security violation
Error #2148: SWF file file://....mySWF.swf cannot access local resource file://...config.xml"
I've added the network path where SWF an XML file resides to "trusted locations" via Flash Player Global Settings.
The added network path is successfully displayed at the list of "trusted locations" within Global Settings Manager, but it does not look like Flash Player is able to really parse the local network path as a "trusted location"
FP 10.3.181.23, Win XP
View 1 Replies
Dec 20, 2010
I am trying to figure out how to create a flash slideshow including buttons that interact with the slides. A perfect example of what I am trying to create is the flash slideshow on the Frito Lay's website[url]....I am sure there is some action code for the button that can do this, but being to to Flash code.
View 1 Replies
Apr 3, 2012
There may be more than one answer to this, but I'd like to know if there's some technology out there that exists to handle Audio Processing / Playback in realtime, so that Flash can:
Interface with the technology / plugin to generate sounds with no delay or lag. Apply DSP effects (Reverb, Delay, Dynamic Range Compression / Expansion, Distortion, etc). Manipulate DSP parameters in realtime (sweeping an EQ filter's band or Q).
The most important thing of all, would be for this technology to be available to most users, as it would likely be used for Gaming environments or online Audio production, even. So far, Flash has a few ways to manipulate Audio Data, such as the SampleDataEvent, Andre Michelle's Popforge library, chiptune libraries like SiON, and possibly some other unheard of libraries.
I'm not really convinced though, that these methods are the optimal ways to create interactive sounds - sounds that change depending on game conditions, sounds that closely responds to the users actions. Nothing (that I've seen so far) easily allows developers to create or communicate with a DSP effect in order to manipulate the sound in this way, in realtime.
I know that Flash has the ability to communicate over sockets / ports, so perhaps there is an existing library that can communicate with an external plugin, and can be easily distributed to users at the same time.
Is there such an audio solution out there?
View 1 Replies
Feb 5, 2011
I'm playing a flash game on facebook. I know I can decompile it to find out all the commands and would like to make scripts to automate the game by calling procedures in the actionscript of the game. So I guess I would like to make a plugin also that would insert this console into any flash app and this would be handy for a lot of things. Then if anyone wants to hack a new game, u just decompile it and make a handbook of methods for people to make scripts with. So how would I go about making this console? I don't know if I could make a swf interact with the game or if it has to be compiled into the game's swf. Or if it is easier with javascript, that is cool too. maybe we can make a javascript library just for this. anyone can tell me more?
View 2 Replies
Apr 13, 2009
I have a movie clip that displays an embedded html with a bunch of divs that are expected to hide and show other divs when the users click them. i.e. imagine that you have a span with an instruction in javascript to show a div when you click it. I already made the html file, the external css and the external js. The movieclip (in actionscript 3.0) loads and displays the html content and also the css, but i haven't managed to figure out how am i supposed to link or use the javascript to do the trick. I've tried so far doing an exhausting research over the internet for the past few days and the only infromation i've got is that web developers use externalInterface to access javascript functions, but they use flash buttons to execute the js code, and it appears to me that i cannot use or embed flash btns in my site. I don't know, I'm kinda new to flash and this is the first time I work with actionscript 3.[code]or how do I achieve de hide/show thing with another method? I'll be wandering around the site in case you have any extra doubts about this subject.
View 2 Replies
Dec 17, 2010
Is there any way to make a flash object where users can interact but has no server side support. All users are in the same network, the swf file would be on a shared drive. Nothing complicated, just one frame where everyone (about 10 user) can make modification. No login, no password.
View 6 Replies
May 10, 2011
Is it possible to run a Flex client in IntelliJ internally and have it talk to a separately deployed server instance? The server's a java webapp. This will make developing, especially debugging, much easier. What I'm trying to avoid is having to rebuild and redeploy the webapp to get the updated Flex code in it. I want to just build flex and run it against the server.
The flex client is embedded in an HTML page on the server, so in production the users access the client by going to a web page. We're using GraniteDS if that's important.
Update
I'm managed to cobble something together, but it's ugly.I made a copy of our wrapper HTML page and fixed the links to refer to the SWF in target.I setup the IntelliJ run config to point to that HTML page.I set the 'Place SWF file in a local-trusted sandbox' to true
Hardcoded the {server.name}, {server.port}, and {context.root} values in the service-config.xml GraniteDS config file to localhost, etc.
I can mavenize #1, but #3's isn't really a permanent solution. That part is still a problem because I can't check this in.
View 1 Replies