We don't recommend calling the runtime-specific APIs, because your code can get broken out from under you in future releases if changes to the runtime are made, and also it makes it hard to port your code to another runtime (such as going from swf8 to swf9). But in the swf8 runtime it is usually possible to call the swf8 APIs from script code, such as inside of a <method> or <script> element.
On Mon, Jun 22, 2009 at 10:32 AM, jgo <[email protected]> wrote: > > I had no idea that I could call Flash's underlying methods from Laszlo! > Where can I find out more about this? I ended up doing another workaround > for my problem that allowed me to use GET instead of POST, so I didn't get > to use the XML object directly, but now that I know that I can, I want to > learn more. > > Is there a list of the Flash objects that are available from Laszlo? > > > > Henry Minsky-2 wrote: > > > > Well, if you're in LPS 3.4, obviously your using the Flash runtime... > > so, I think you might want to use the same underlying primitive that > > the LzDataset is using, which is to use the Flash XML object, and call > > it's sendAndLoad method, and then write a callback for it which grabs the > > raw data > > from the response. > > > > -- > View this message in context: > http://www.nabble.com/how-do-I-post-a-request-to-a-CSV-generating-servlet-from-within-Laszlo--tp24116357p24147819.html > Sent from the OpenLaszlo - Dev mailing list archive at Nabble.com. > > -- Henry Minsky Software Architect [email protected]
