Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Newbie: Flash remoting and Javascript - push only? no pull?

Newbie: Flash remoting and Javascript - push only? no pull?

2004-02-26       - By Collin Peters

 Back
Reply:     1     2     3  

From what I can see in the documentation
(http://www.macromedia.com/support/flash/ts/documents/java_script_comm.htm),
you only seem to be able to send a value from Flash to Javascript, or
from Javascript to Flash.

Is there no way to grab a javascript variable from flash?  Or grab a
flash variable from javascript?

Perhaps I am approaching this the wrong way (I am a flash remoting
newbie).  I have a SWF which performs a simply query on the database.
The query returns a list of users.  I need to be able to use a WHERE
clause on the the query so it only return the relevant data.  The value
in the where is stored in the web page (javascript).  To be a bit more
specific, I am trying to return a list of users where the user_type
field is 1 (SELECT * from users where user_type = 1).  The user_type
field is the one stored in the web page.  What is the best method to do
this?

Collin

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Supported by Fig Leaf Software
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Lower Prices for Certified Training! Check out new lower prices for
Certified Macromedia Training from Fig Leaf Software. Expand your
skill set with courses in ColdFusion, Flash, Rich Internet
Applications and .NET in the new year.  Fig Leaf Software provides
the highest caliber instruction at our training centers in Washington  
D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at
your location.

Get the details at http://training.figleaf.com/
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: flashcomm-unsubscribe@(protected)
For additional commands, e-mail: flashcomm-help@(protected)