Ultrashock Forums > Flash > ActionScript > OOP
Components and Doc class

You are currently viewing our website as a guest which gives you limited access to forums, files and other resources.

Click here to join now for free, and start interacting with our members, download files and much more!

Click here if you are looking for our Flash files and other professional assets.
 
Post Reply | View first unread | Rate Thread Search this Thread | Thread Tools | Display Modes

#1
Bookmark and Share!
Components and Doc class
Old 2010-02-03

Hi, I have a component that creates an xml object and imports xml into it. The component then processes the xml.

The problems I'm running into is:

1. The xml file isn't local. Its on the network, so there is a lag.
2. The same component is used multiple times on the same page. So each component instantiates a new xml object and imports the xml data.

I'm hoping to import the xml when the page loads. Then all the components could use the data that the page loader imported.

The problem is, I'm not sure how to bridge the component and the doc class.

How does the components access the doc classes data without each component instantiating the class? Which of course defeats the purpose.

Any help is much appreciated.
postbit arrow Be the first to comment! | 111 views postbit arrow Reply: with Quote   
Registered User
BSMH is offline
seperator
Posts: 197
2004-07-28
BSMH lives in United States
seperator
Thread Tools
Display Modes Rate This Thread
Rate This Thread: