all groups > macromedia flash sitedesign > october 2004 >
You're in the

macromedia flash sitedesign

group:

Tying FlashUI & client side javascript


Tying FlashUI & client side javascript danliles
10/31/2004 1:34:26 AM
macromedia flash sitedesign:
Ok, here?s the situation. I?ve got an application with both Flash &
Javascript UI. The flash is an online book and the javascript controls a voice
recorders that resides on the clients machine. Right now I?m successfully
updating the backend based on changes within the flash UI using the LoadVars
class. But I can?t effectively call the javascript for the recorder. Here?s
the applications basic structure: Default.aspx - this page includes the Flash
& Javascript UI. UpdateFlashUI.aspx - this page is called to update backend
values and receives new info based on business logic. Now here?s what I?m
doing ? I?ve got an event handler registered with the user?s current session (a
method in default.aspx). Flash is successfully calling my update code ? which
in turn is calling the method in default.aspx ? however, the java script to
change the current file doesn't seem to be introduced correctly. How can I
successfully get the default page to run javascript or is there a different way
to go? Has anyone implemented something like this before? Do you know of any
good sample code (hopefully in ASP.NET)? Thanks for any help you can provide.
Re: Tying FlashUI & client side javascript danliles
10/31/2004 2:39:37 PM
Ok, once again I found the answer.

I'm using FSCommand and it seems to work fine.

AddThis Social Bookmark Button