Groups | Blog | Home
all groups > macromedia flash flash remoting > september 2004 >

macromedia flash flash remoting : Preload DataGrid when using Flash Remoting



norbykov
9/1/2004 8:30:10 AM
Hi!
I'm using trial versions of Macromedia Flash MX 2004 Pro and Flash Remoting
This may not be doable, but it would really help me out if someone could give
me a hint, that if it is doable, then how to do it.
I have multiple swf's, each containing its own Flash Remoting code (with
different service references), populating its own DataGrid (it's a
multi-layered internet application). To save load time and bandwidth I moved
the components to a Shared Library, and load them from there. Everything works
fine until I test the movie with "simulate download" (so my guess is that it
won't work in a browser either). I tried preloading the shared library first,
then preload the whole movie, but it doesn't seem to work.
My question is twofold:
1. is it possible to preload each swf's with shared library
2. is there a better solution to this problem? Like moving the different
Flash Remoting code into different keyframes instead of different swf's?

Thank you for taking the time to read this. Any help or hint would be greatly
appriciated.

Bert
Adrian Cadena
9/2/2004 4:28:36 PM
Hello ,

I think you muct check if components are on the first fram, if dont, export
them on the first frame.
I also think you must include all remoting code in one AS file so you dont hav
to put code on each SWF, just call instances from the AS file.

Regards,

Adrian
AddThis Social Bookmark Button