Wrox Home  
Search P2P Archive for: Go

  Return to Index  

flash_programming thread: Send ASP.NET data to Flash MX


Message #1 by "Israel" <ijohnson@u...> on Wed, 5 Feb 2003 19:02:27
If it's not company confidential, send me the FLA file you're working on 
directly to "jwalborn@m...". If that's not possible, send me 
a clip of the "if...then" code you've written.

-----Original Message-----
From: Israel Johnson [mailto:ijohnson@u...]
Sent: Wednesday, February 05, 2003 1:52 PM
To: Flash Programming
Subject: [flash_programming] RE: Send ASP.NET data to Flash MX


no luck. 

-----Original Message-----
From: John Walborn [mailto:Jwalborn@m...]
Sent: Wednesday, February 05, 2003 2:13 PM
To: Flash Programming
Subject: [flash_programming] RE: Send ASP.NET data to Flash MX


If you have dynamic, variable-driven text showing in a text box, it HAS
to be stored in a variable. Check the properties of the text box and you
will see a "Variable Name" field. That's the name of the variable.
(Though the variable could be on a deeper level than _root.)

Try your "if...then" like this:

	if (_root.variablename =3D=3D "value") {
		//do actions
	}

Of course, replace "variablename" with the name of the variable and
"value" with whatever you want to check against.


-----Original Message-----
From: Israel Johnson [mailto:ijohnson@u...]
Sent: Wednesday, February 05, 2003 12:04 PM
To: Flash Programming
Subject: [flash_programming] RE: Send ASP.NET data to Flash MX


actually,  I am sending data values back from SQL Server and in my
ActionScript, I wish to evaluate the values using an "if else"

I am reading info on "LoadVar" but not quite sure how it should be used.
I am able to send back to flash using "LoadVariables" but the data
coming back is just sent to a text field and I wish to store data in a
variable so I can use it in my ActionScript...



-----Original Message-----
From: John Walborn [mailto:Jwalborn@m...]
Sent: Wednesday, February 05, 2003 1:52 PM
To: Flash Programming
Subject: [flash_programming] RE: Send ASP.NET data to Flash MX


If you pass querystring variables to an SWF file, those variables will
be available at the "_root" of the Flash movie.

Let me know if that doesn't answer your question.

-----Original Message-----
From: Israel [mailto:ijohnson@u...]
Sent: Wednesday, February 05, 2003 12:02 PM
To: Flash Programming
Subject: [flash_programming] Send ASP.NET data to Flash MX


Hello Everyone,

I am trying to send data from an ASP.NET page into a Flash MX movie.
The
data sent will be evaluated using "if else statement" in Actionscript.

Can anyone tell me how this is done?  Any code samples will be
appreciated...

Thanx!





  Return to Index