Flex :: Make A Flash Browser App That Could Receive Data From Browser Plugin Or Other Windows App?
Dec 18, 2009
in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and press Send or otherwise activate it. That's NOT what I am trying to do here in reality (i.e., no,I am not trying to spam other people's chat rooms or anything)but just an illustration of a similar situation.I can include in it whatever widget or hack that may be necessary.The reason why this problem is arising for me is that AFAIK the SDK that is providing me the data I want cannot be directly accessed from Flash, so I need a way to pipe the data from a regular app into Flash. can I have the Flash app interact with other apps through localhost IP? Or are there draconian restrictions on which server Flash in browser can and cannot interact?
How can I install flash player plugin (version 8) in browser without downloading setup or redirecting to macromedia site if flash plugin is not available in browser.
I have a PHP mailer form on my site which needs to be published in action script2 to work, but I also have a script set up to open browser windows of a certain size & location which needs actionscript 1 to work? The PHP mailer form has a "Name" field, "Email" field & "Message" field, theses can all be reset with a button. The button clears off any text in the 3 boxes to wipe them clean. The script on the reset button is:
This works fine with section script 2 but not with as1. Does anyone know of a script that resets the .text field on as1 Alternatively is there any way of opening browser windows from a flash movie with browser win controls, eg. centre win, no scrollbars.
I'm having an odd problem that isn't mission critical since I can use the command line with no probs.In my earlier post http:[url]... I had problems getting the web compiler to work.Now that it's working I use this in a browser to compile: http:[url]...
and I get this error as a result:
ERROR : Could not resolve to a component implementation.
Everything is legit and the most recommended solution is that the namespaces aren't correct. I've checked those and they're fine. Other answers I've come across relate to external components causing a problem but as you can see, I'm not using an external component.Here's the kicker. If I do a compile via command line:
mxmlc topsight.mxml
it compiles perfectly.Specs are still the same from the prior post and I'm using the Flex 3 SDK.Not sure if this would help but I did the download from http:[url]... and I clicked on the Open Source Flex SDK - Milestone 3.3
The things is, I've build an application in flex which suppose to be for web but when I'm running it through the Flash builder, it opens up flash player app instead of opening in a web browser. I've tried to do "run as webapplication" but failed.
When I am debugging broken code, after a while the browser announces that the Flash plugin has crashed, and I can't continue debugging my code. Can I prevent the browser from killing Flash?
Trying to detect a browser close event and send some data to the database when the user closes the browser window...but can't seem to get it to work.[code]
I recently completed a tutorial on Adobe's web site on how to create pop-up browser windows through Flash using the getURL/navigateToURL with JavaScript method. The tutorial works great, however, there are a few tweaks I'd like to make, and I'm sure not sure how to go about doing them. The tutorial shows how to make a pop up without scrollbars or the toolbar, but I'd also like the location bar, menubar, and status bar to disappear as well.
My webpage loads a background flash which will connect to the server using socket. If a user open multiple windows/tabs of my website, the server will get multiple socket connections. Any idea of how to make sure that only one socket is connected from the same user and same browser?
I am thinking of using Javascript to monitor the window close event, if a window that was connected to the server is closed, one of the other windows will try to connect to the server. But I can't find a way to listen to that event.I was thinking of Flash's LocalConnection too, but can't find a way to assign unique connection names and let other Flashes know.
I recently installed Adobe Flash Builder 4 in standalone mode on a new installation of Windows 7 x64.I can load and build an existing Flex 4.1 project I have been working on, but when I go to run the project in the browser (Firefox 3.6.15), I get:'Launching BensApp' has encountered a problem. An internal error occurred during: 'Launching BensApp'
Clicking the Details >> button reveals:
java.lang.NullPointerException
My project is creating the SWF and container HTML page as expected, but fails to load the browser.
I need to display my Flash app with a transparent background on my Windows desktop. Not within a browser, but by itself. I basically want it to hover by itself on my machine.
I have a web page that uses javascript counters to count user "active" time, meaning the time a user spends viewing this page (and not some other page). I do this by starting/stopping them using the [URL].. However, when the user clicks on a plugin inside the same page (flash, java, etc), the window loses focus and window.onblur is fired. Is there a way to tell that the user is still on my page?
I made a game as the same site URL..Anyone knows how to prevent user open and play game on multiple browser windows at a time?I used flash control to embed flash into aspx page and connect to sql server
I have an actionscript function which is supposed to launch a panel and then fill in Networktopology data inside it.As, network data is too large that it consumes much time and makes browser hang!Even I tried to display busy cursor which also stopped spinning when data was being processed.How can I ensure processing large amount of data does not hang the browser.
Assets are the following: An index.html with index.swf embedded A gallery.html with gallery.swf embedded Gallery.swf has 5 different images Please Note: These are just example assets and files. The real files are much more complicated than this but this way its easier communicate my requirements.
I need an .swf file in one browser to tell another .swf file to start at a particular frame when it loads. Once the index.html loads the index.swf file, 5 buttons will appear. Each of those buttons need code on them that loads the gallery.html in the same window and initiates the gallery.swf file at a particular frame, which will be relevant to the button clicked.
� An index.html with index.swf embedded � A gallery.html with gallery.swf embedded � Gallery.swf has 5 different images
Please Note: These are just example assets and files. The real files are much more complicated than this but this way its easier communicate my requirements.
I need an .swf file in one browser to tell another .swf file to start at a particular frame when it loads.
Once the index.html loads the index.swf file, 5 buttons will appear. Each of those buttons need code on them that loads the gallery.html in the same window and initiates the gallery.swf file at a particular frame, which will be relevant to the button clicked.
This moves and turns mc on mouse position. This works fine but when I publish in a browser window something odd happens. If I open a blank second window and click between the 2 windows the mc will turn and move out of the window . I traced the _ymouse and _xmouse positions and found it jumps into -numbers. Does anyone known how to stop this from happening. I was thinking about using drag empty mc so it has something to focus on at all times. But their must be a better way of doing this.
[URL].. Anyone know the AS to make it automatically check the size of the browser for the listeners_notice when you resize the browser it works perfectly...but not when it first loads up.
I have a ColdFusion function which sends analytics called from a Flex sendPageAnalytics() function to a SQL database when the user navigates - this works perfectly.What I am trying to do is have the Flex application send a bunch of analytics when the user closes their browser, therefore providing information about the last navigation.
I have used an ExternalInterface callback and listener for window.onbeforeunload and a trace statement tells me that this is working fine.My problem is that when all bundled together, I get as far as tracing out that the sendPageAnalytics() function has been called, but I do not get a sendPageAnalyticsFaultHandler() trace or a sendPageAnalyticsResultHandler() trace, which I do on every other sendPageAnalytics() call.
I want to make a button, on the click of which the browser becomes fullscreen. I am not talking about a flex fullscreen, by which i mean "Application.application.stage.displayState = StageDisplayState.FULL_SCREEN;" I dont want to use this.
The reason, I dont want to use it is, that flash does not supports keyboard on flex-fullscreen. But if i can make the browser fullscreen, it will solve my purpose.
I am trying to figure out how to make buttons on my flash file link to URLs that appear in a window of fixed dimensions (with scroller bars) next to my Flash window. I am aware that Adobe has instructions for creating pop-up browser windows through Flash [URL]. However, what I'm trying to do is a bit more complicated, since I want to have multiple embedded invisible buttons in the Flash window that each take you to a specific URL when you click on them. Alternatively I'd be happy if any button click resulted in a link to a random selection from a pre-programmed list of URLs. This is for ActionScript 3.
Just thought I'd share that after the windows update I did this week, the browser cache blocking trick described in many places where you put ?r=<randomnumber> at the end of a URL no longer works. Not exactly sure what happened, but it now causes a URL not found error, at least for me when I'm loading local files off my disk.
Is it possible to read numbers and names from a Flash page before they are rendered by the browser ? The webpage is changing dynamically and I would like to capture the data every about 60 minutes. I have no access to the Flash website but I might be able to modify an open source browser. OS is Win 7 and I can speak a little C++.
I have a flash form with input text fields. I am sending the data to a 3rd party server. I can send the information via getURL but I want to send the data without opening a browser window so I am utilizing sendAndLoad. It works great locally but not through a browser (tested in IE and Firefox). I have verified that all the variables and urls are in the correct case, I have tried both Post and Get, I have tried network and local..
Here is the file - click on the second image...[URL] Here is the code... on (release) { if (first_name.text.length == 0) { error.text = "** First Name Required **"; } else if (last_name.text.length == 0) { error.text = "** Last Name Required **"; [Code] .....
it seems that Flash was supposed to run in a sandbox in the browser. But, if Flash can get data from a remote server, can it similarly get data from localhost IP on the same machine? In other words, can I use a Windows app that provides a TCP socket on localhost to feed data into a Flash app?the answer is yes at least for the case of an SWF file hosted in the file system, URL...(turns out the localhost access error can be fixed if you add the SWF app to some security whitelist). Still wondering if this can also be done for SWF apps hosted on the network.