all groups > flash data integration > january 2005 >
You're in the

flash data integration

group:

xml connector - where to place it


xml connector - where to place it papaanteportas
1/21/2005 4:19:11 PM
flash data integration:
Hi all

I am trying to create a very simple homepage based on Flash (using MX 2004
pro). One of the buttons used for navigation should call up a page showing data
from an xml file in a Datagrid.

I have tried various combinations now and the only way to make the xml part
work seems to be the following: place the xml connector, the dataset and the
datagrid in the 1st frame of the main timeline of the 1st scene. All other
combinations don't seem to work, ie.

- have any component in any other frame of the main timeline other than the
1st.
- have all components in the 1st frame of a movieclip and then attach the
movieclip dynamically.
- have all components in the 1st frame of any other scene but the 1st one

Is there a solution to this? If yes, can someone provide me an exact
explanation (where to place the 3 components, from where to trigger the
connector etc.) of how to do it?

thx in advance

Re: xml connector - where to place it papaanteportas
1/21/2005 4:44:12 PM
I have found 1 method that seems to work:
Put all components in a separate flash document and load the swf file into the
original movie by using the loadMovie() method.

Seems to be the only one working for now. Nevertheless if anyone finds any
other solutions I am always interested.
AddThis Social Bookmark Button