all groups > macromedia flash flash remoting > may 2004 >
You're in the

macromedia flash flash remoting

group:

new to remoting, simple question


new to remoting, simple question artane
5/19/2004 5:06:11 PM
macromedia flash flash remoting: hey guys,

I just got flash remoting mx and I want to perform a simple operation.

OnLoad, I want my flash movie to reference a table in my SQL server database.
If the "approved" field is "true" I want my flash movie to goToAndPlay Frame 2
else I want it to goToAndPlay Frame3. How would I do this?

I have not done anything yet so, I'm unsure of what I would need to set up.
I've got .net on my server so, this is what I'd be using although my entire
site is made up of ASP pages.. Do I need to embed my flash movie into an ASPX
page or can it be in a normal ASP page.

I'm just getting started, any help would be greatly appreciated!

Thank you very much,

artane


Re: new to remoting, simple question Adrian Cadena
5/20/2004 4:51:46 AM
You have to manage result from database.

so you must create a responder object

MyResponder = new Object();
MyResponder.onResult = function (result){
if(result.nameofthetablw==Whatever you want){
gotoAndPlay("your label");

}else{
gotoAndPlay("Anotrher Label");
}

Thats it you are done use NetConnectionDebugger to see what going on with you
results right from flash

Hope this answer your question

Bye

Adrian Cadena

}
Re: new to remoting, simple question artane
5/20/2004 1:30:55 PM
Thanks alot Adrian,

I appreciate your help.

AddThis Social Bookmark Button