Groups | Blog | Home
all groups > flash data integration > january 2005 >

flash data integration : Can't load xml data into an EXE


joe28sfl
1/29/2005 6:15:18 PM
Hey guys, I have an exe file that loads a swf file when it runs. The swf file
accesses xml data in populates a datagrid. When viewing the swf file by itself
everything works great. When running the exe with the swf file is loaded into
it the data will not load into the datagrid. I thought maybe there was a
problem loading data into an exe so I tried exporting the swf with the datagrid
as a exe and everything worked fine. I also ran into a security issue which I
solved using crossdomain.xml. The only time it does not work is when the swf
with the datagrid that is pulling the info is loaded into the parent exe file.
Can anyone tell me why this is happening? I've run out of good troubleshooting
ideas and it's driving me crazy!! Thanks, Joe
derobinson
1/30/2005 5:48:57 PM
Sounds like it might be a scoping issue. Do you make references to "_root" in
your datagrid SWF? That scope changes when you pull it intot eh projector
executable. If you've thought about the security concerns, and you've tested
the SWF standalone with success, this is where I'd start. I know I've done what
you're trying, so its not impossible. Probably one lpesky line of code
somewhere...;-)

Good luck!

AddThis Social Bookmark Button