Since the release of the source code of my coverflow component there was just one bug that came up again and again. The coverflow couldn’t load images from a subdomain or another domain. I’ve fixed that one by adding a LoaderContext to the Image loader. The new sources and samples are available on the SebCoverFlow project page.
Sebastian – nice work – I am having a problem when I click on Images occasionally the display freaks out and I see triangles – fixes itself if I click on the triangle – I am loading images from a URL instead of embedding in SWC – that seems to be the only difference – any clues – I have nto modified any other part of the code
I too am seeing this problem. I have been able to reproduce it more on older machines and MAC’s. Also seems to be more frequent with only 3 or so covers vs say 15. By adding _view3D.clear(); in the render function, it seems to help and I get it on a infrequent basis. However, I have implemented a “flip” function to flip a cover and I do see the covers “jitter” sometimes when flipping. Seems to be an issue with rendering objects in a view that haven’t changed their position.
James could you diponibilize the flip cover function?
Hi,
Nice app! Just wondering why is the removeAllCovers() method in SebCoverFlow private?
Hi Sebastian!
It’s a fantastic component, you’ve developed there.
I’ve been experimenting with the sources – to see if i could make the coverflow repeat over and over when looping through images. But i can’t quite make it work.
Do you have an idea, how that can be done?
Kindly Regards
Søren
Hi Søren,
You can control the contents of the coverFlow through the dataProvider, in this case it’s an ArrayCollection. Just call addItemAt and removeItemAt(0) on the ArrayCollection. The only problem left to solve is the selected index, if you remove an item at position 0, and the selected cover index is 5, the selected index will shift.
Hi sebastiaan,
great component.
Is it possible add other components to the coverflow (e.g. datagrid, buttons)?
I thik that the answer is no.
Can you help me to modify the component so I can add these components too?
thanks
p.s. excuse me for my poor English
Hi,
Great component.
I am having problems, sometimes the display gets into a mess and the images are showed as triangles. I appreciate any help.
Thanks.
Using the latest version of away3d will fix the triangles problems.
Hello I am getting this error when i try to run the sample code
(translation from french, sorry):
ArgumentError: Error #2025: The DisplayObject indicated should be a child of the caller
at flash.display::DisplayObjectContainer/getChildIndex()
at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::rawChildren_getChildIndex()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\core\Container.as:4535]
at mx.core::ContainerRawChildrenList/getChildIndex()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\core\ContainerRawChildrenList.as:191]
at mx.controls::RadioButtonGroup/breadthOrderCompare()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\controls\RadioButtonGroup.as:601]
at Array$/_sort()
at Array/http://adobe.com/AS3/2006/builtin::sort()
at mx.controls::RadioButtonGroup/http://www.adobe.com/2006/flex/mx/internal::addInstance()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\controls\RadioButtonGroup.as:465]
at mx.controls::RadioButton/addToGroup()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\controls\RadioButton.as:574]
at mx.controls::RadioButton/commitProperties()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\controls\RadioButton.as:491]
at mx.core::UIComponent/validateProperties()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\core\UIComponent.as:7387]
at mx.managers::LayoutManager/validateProperties()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\managers\LayoutManager.as:572]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\managers\LayoutManager.as:700]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1069]
Do you know why I get that ?
Hi, first of all great component!
I’m a first time flex programmer and I managed to use it nicely.
I would like each image to be assossiated with a specific url. I’m not sure how to do that.
I’m also a bit unsure how to make the images sources dynamic using an xml.
The docs are a bit higher level than I am
Thanks,
Niv