Hello,
is there someone using SpringGraph from
http://mark-shepherd.com/blog/springgraph-flex-component/ ?
I try to add a Image inside the itemRenderer
<adobe:itemRenderer>
<mx:Component>
<mx:VBox>
<mx:Label fontSize="14" text="[EMAIL PROTECTED]"
color="#ffffff"/>
<mx:Image id="image" source="[EMAIL PROTECTED]"/>
-->
</mx:VBox>
</mx:Component>
</adobe:itemRenderer>
but if i do this, i get an error:
Error: Unable to load ''.
at mx.controls::SWFLoader/::loadContent()
at mx.controls::SWFLoader/load()
at mx.controls::SWFLoader/mx.controls:SWFLoader::commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/::validateProperties()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
If i comment out the Image Renderer the Label will be shown correctly.
And if i use the [EMAIL PROTECTED] value as textsource for the
label, it shows me a correct url.
The used XML File:
<graph>
<Node id="p1" prop="Bonaparte"
imageUrl="http://ec1.images-amazon.com/images/P/B000IJVETY.01._SCTHUMBZZZ_.jpg"/>
>Node id="e1" prop="Robespierre"
imageUrl="http://ec1.images-amazon.com/images/P/B000IJVETY.01._SCTHUMBZZZ_.jpg"/>
<Edge fromID="p1" toID="e1"/>
</graph>