Newbie: Flash remoting and Javascript - push only? no pull? 2004-02-26 - By Collin Peters
Back 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)
|
|