YoFLA Community Forum

 - Forums - Reply - Search - Statistics -
YoFLA Cummunity Forum / Cover Flow - General Discussion / Changing data source at runtime
Author Message
martin
# Posted: 22 Dec 2008 09:47
Reply 


Hi

I have a question before purchasing the coverflow component. I've looked over the documentation but I'm unsure about the following issue.

Can the data source (the xml file) be updated at runtime, so a new data feed can be loaded at runtime?

Have you thought about only loading images when needed, instead of loading all images on initialization? Which would facilitate a much larger number of images to be displayed without changing the data source.
(which is a feature I would like :) )

regards
martin

matus
Admin
# Posted: 22 Dec 2008 10:20
Reply 


Hi,

currently one can update the images only by initializing the tool with new data source xml file.

Currently only the images which are shown are loaded, and in case all the shown images are loaded, the script continues with pre-loading the images which are out of the visible view. This can be changed easily to not to preload the images which are not shown.

Regards,
Matus.

martin
# Posted: 22 Dec 2008 12:34
Reply 


Hi,

Thank you for the quick reply.

matus wrote:
"currently one can update the images only by initializing the tool with new data source xml file."

Does this mean that I will have to completely dispose the component and create a new instance with a new data source? Is this possible at runtime, or do I have to do some trickery with loading the component into a container swf?

regards

matus
Admin
# Posted: 22 Dec 2008 12:41
Reply 


Hmm,

I think when I was programming the cowerflow it was designed to be a single swf displayed in a webpage and so there are no routines implemented to change the data source at runtime. What is more important, there are no routines to free memory.

So - without updating the code - I do not recommend use it as a component.

I am not sure how the container trickery works with freeing the memory, but you can give it a try.

martin
# Posted: 22 Dec 2008 14:05
Reply 


alright, thank you for your help :)

sbathini
Member
# Posted: 10 Aug 2010 06:45
Reply 


Is it possible to provide a URL location for coverFeed.xml to dynamically use different coverFeed.xml based on page content?

Your reply
Bold Style  Italic Style  Underlined Style  Image Link  URL Link 

» Username  » Password 
You can post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have an account you can also log in from this page without posting a message.