473,378 Members | 1,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Flash listener + JavaScript GUI

I'm a programmer but I have never programmed in Action Script or very
advanced JavaScript. So, please be gentle :-)

I'm looking to develop a simple ( or is it? ) system with 2 parts to
it:

Part I: I would have an invisible Flash running on the client side (
browser ) for the only sake of being able to "listen" to a Perl script
on the server that'll push the information to it as it becomes
available. I'd like this Flash app to be able to push information back
to the server ( like AJAX ).

Part II: I'd like to be able to have the Flash app to communicate with
the web-based user interface through JavaScript/DHTML

I see some packaged scripts that do one or another but they are
extremely overcomplicated. I'd like to write a simple script on my own.

Please help!
Alex

Sep 7 '06 #1
4 2005
kidalex wrote:
I'm a programmer but I have never programmed in Action Script or very
advanced JavaScript. So, please be gentle :-)

I'm looking to develop a simple ( or is it? ) system with 2 parts to
it:

Part I: I would have an invisible Flash running on the client side (
browser ) for the only sake of being able to "listen" to a Perl script
on the server that'll push the information to it as it becomes
available. I'd like this Flash app to be able to push information back
to the server ( like AJAX ).

Part II: I'd like to be able to have the Flash app to communicate with
the web-based user interface through JavaScript/DHTML

I see some packaged scripts that do one or another but they are
extremely overcomplicated. I'd like to write a simple script on my own.

Please help!
Alex
If you modify the output of your perl program,
to represent the information as javascript
then you could use document.createElement("script") and such
to read in new information without reloading the page
and with but simple javascript

By adding some sort of function call at the end of the output
you could be notified when the data was ready.

The setInterval() function could be used to pump the request
and monitor the process.


Sep 7 '06 #2
I understand, but how do I make that SWF file that won't display
anything but will have the functionality?

Sep 7 '06 #3
How is the data coming out of the perl script formatted?

Sep 8 '06 #4

mo********@gmail.com wrote:
How is the data coming out of the perl script formatted?
I can get the Perl script push whatever into whatever format I want to
the Flash app.

Sep 9 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Eric | last post by:
I have the following code I am calling from a flash file. Everything works fine except that the string it returns for the file location does not include the slashes. It is returning...
6
by: Cliff R. | last post by:
Hi, I use a handy little Javascript Flash detection script on a number of sites (copied below). Usually works great, but I just started trying Firefox and it's not working. A few browsers are...
1
by: Nawed | last post by:
We are experiencing a browser freeze when implementing a large number of javascript calls. It seems that there is a random 'hiccup' which loses some data. This causes a disparity between client-...
1
by: Torunn | last post by:
Using javascript I'd like to run multiple istances of flash in order to watch differents video at same time. Is there anyone that can help me ? Thanks Torunn
1
by: teenIce | last post by:
Hi, I don't know in what forum should i post this discussion. I'm trying to communicate between flash and javascript and it works. But the problem now, I have to pass a string that had e.g...
1
by: skeem | last post by:
I am having issues viewing flash that has been inserted via javascript in Internet Explorer. I had to uninstall my flash about a week ago. I've since reinstalled flash and reinstalled flash player...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.