473,385 Members | 1,821 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,385 software developers and data experts.

Can AJAX be used with Flash?

Hi,

I have just started learning AJAX and need to learn a method where I
can do the same to what AJAX does for HTML to Flash. Can this be done?
Is there maybe a better way of allowing Flash to integrate with server
side scripts? Thanks

Burnsy

Jan 23 '07 #1
3 1585
bizt wrote:
Hi,

I have just started learning AJAX and need to learn a method where I
can do the same to what AJAX does for HTML to Flash. Can this be done?
Is there maybe a better way of allowing Flash to integrate with server
side scripts? Thanks
I don't know the workings but apparently Flash has full blown sockets.
You can open a connection with the server and keep it open as long as
you want. This lets you have server push instead of just having the
browser poll the server. There is probably a great Adobe forum for this
kind of information.

<URL:
http://www.adobe.com/cfusion/webforums/forum/index.cfm?forumid=15>

Peter

Jan 23 '07 #2
Hi,

bizt wrote:
Hi,

I have just started learning AJAX and need to learn a method where I
can do the same to what AJAX does for HTML to Flash. Can this be done?
Is there maybe a better way of allowing Flash to integrate with server
side scripts? Thanks

Burnsy
IIRC (last time I worked with Flash and ActionScript was years ago) and
in addition to what Peter said, ActionScript can communicate with the
browser's JavaScript engine. So in fact, you can use the browser's
XmlHttpRequest to send AJAX requests (in case you can't do it from
ActionScript itself).

Greetings,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Jan 23 '07 #3
Peter Michaux wrote:
This lets you have server push instead of just having the
browser poll the server.
Server push can be done with AJAX using Server-Sent Events, where events
that occur on the server can trigger an event to client-side ECMAScript.
This is part of the WHATWG working draft for HTML 5 and is already
supported by Opera 9. I wouldn't be surprised if Mozilla rolled it out
in the not too distant future too.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Jan 23 '07 #4

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

Similar topics

5
by: Colin Walls | last post by:
I have been asked to produce a web catalogue of services and associated options, this eventually will be used for ordering the services. My initial thought was to use a set of cascading drop...
3
by: petermichaux | last post by:
Hi, I am trying to put together the last major pieces of my project's puzzle. This is more website/client-side architecture than JavaScript syntax but I hope this is a good place to ask. I'm a...
1
by: a | last post by:
what do you guys prefer for ajax? dojo mochikit prototype or somehting else/
3
by: mentos07 | last post by:
Hello, I have embedded a Flash Movie in an AJAX HTML page which is created by JSF and ICEfaces. When the page loads for the first time everything works fine. The gallery shows up and displayes...
0
by: Tarik Monem | last post by:
I have been working on an all AJAX/DOM web site which is set to go live today and I thought I'd share my discoveries with all of you whom have helped me when I have encountered different issues along...
4
by: recordlovelife | last post by:
Hello all, thanks in advance - I want to put a music player on a site, I will make it in flash. The site is in a LAMP environment. I want to have the music player in the main navigation section....
1
by: nicky77 | last post by:
Hi, i'm completely new to AJAX - but i'd like to get started with it. I'm starting development work on a small website which will have a flash menu. I'd like to emulate a frame-based layout by...
4
by: lak | last post by:
Hi friends, I have to parse a XML file and when it is changed I need to change in the front end. If I use the settimeout() then it is working. But I don't what to use the settimeout() function. ...
4
by: FutureShock | last post by:
This is not a PHP related question, but a question focused to PHP developers. Sadly enough I just started looking at the functionality using AJAX procedures. All my sites have been 100% PHP with...
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
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.