macromedia.coldfusion.flash_integration
[Top] [All Lists]

load vars from a query?

Subject: load vars from a query?
From: "T0keyM0n" <webforumsuser@xxxxxxxxxxxxxx>
Date: Sat, 8 Sep 2007 00:35:15 +0000 (UTC)
Newsgroups: macromedia.coldfusion.flash_integration

hey,
 I'm sorta new to the whole flash talkin to coldfusion thing.

 but where I'm at is, I just need a swf to dynamicly load images,
 based on a dynamic folder name, pulled via a query, 
 I know how to load a folder name from a txt file, but I don't get how to feed 
it a cf variable.
 my suto code below. what do I need to write in CF to make theFolderName.text = 
myLV.Folder;



 //-----------------------------------------------<Load Vars>
 var myLV:LoadVars = new LoadVars();
 myLV.onLoad = function(success:Boolean) {
        if (success) {
                theFolderName.text = myLV.Folder;
        } else {
                theFolderName.text = "Error Loading";
        }
 };
 myLV.load("test.cfm");


<Prev in Thread] Current Thread [Next in Thread>
  • load vars from a query?, T0keyM0n <=