Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,256
Total Threads: 81,169
Total Posts: 566,839
There are 50 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Flash and Actionscript :

Loading XML Data to Flash

Thread title: Loading XML Data to Flash
Closed Thread    
    Thread tools Search this thread Display Modes  
06-20-2008, 02:11 AM
#1
Petertang is offline Petertang
Petertang's Avatar
Status: Junior Member
Join date: Sep 2007
Location: Singapore
Expertise:
Software:
 
Posts: 51
iTrader: 0 / 0%
 

Petertang is on a distinguished road

Send a message via Yahoo to Petertang

  Old  Loading XML Data to Flash

Hi,

I am just new to XML and I found that it able to use it as the Data list for my Flash. But I am not sure if I have a huge Data (let said more than 100) listed in XML file and loaded to my Flash movie using XML.Load(). Would this take more times to load the data into the Flash Movie?

06-20-2008, 03:21 AM
#2
Amross is offline Amross
Status: Member
Join date: Jan 2007
Location:
Expertise:
Software:
 
Posts: 311
iTrader: 4 / 100%
 

Amross is on a distinguished road

  Old

Take more time to load than what? I'm not sure what you're trying to compare it to, but needless to say, 100 nodes in an XML file really isn't much at all. Regardless of size, there's no reason not to use Flash's built in XML class when handling XML. Just make sure that whatever you end up using the data for, before you proceed, check that the XML file has finished loading. That can be done by using ActionScript's load event handler.

06-22-2008, 03:44 AM
#3
Petertang is offline Petertang
Petertang's Avatar
Status: Junior Member
Join date: Sep 2007
Location: Singapore
Expertise:
Software:
 
Posts: 51
iTrader: 0 / 0%
 

Petertang is on a distinguished road

Send a message via Yahoo to Petertang

  Old

Thanks. But I do not know that if I increasing the data in the XML file, will this increase the loading time in the Flash movie when the viewer come to the site.

I have saw some Flash website that have a long waiting in loading process page and I always try to prevent this happen to my website.

06-27-2008, 01:01 AM
#4
Dark_Prince11 is offline Dark_Prince11
Status: Member
Join date: Apr 2007
Location: Deer Park, NY
Expertise:
Software:
 
Posts: 123
iTrader: 0 / 0%
 

Dark_Prince11 is on a distinguished road

Send a message via AIM to Dark_Prince11 Send a message via MSN to Dark_Prince11

  Old

If the XML file does get ridiculously large, then yes it will take Flash a while to parse the entire file. But it wouldn't be dramatic increase unless your XML file was nearing 50MB.

06-27-2008, 05:02 AM
#5
Petertang is offline Petertang
Petertang's Avatar
Status: Junior Member
Join date: Sep 2007
Location: Singapore
Expertise:
Software:
 
Posts: 51
iTrader: 0 / 0%
 

Petertang is on a distinguished road

Send a message via Yahoo to Petertang

  Old

That's a lot.

Closed Thread    


Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed