Feb 25, 2010, 9:29 AM
[CLOSED] .SWF aninimation is not showed using FlashComponent
Hi,
I need to show an animation when a treepanel node is clicked, I am using the control FlashComponent with the following code, but it does not show the animation
Could you please tell me what else do I need to do?
I need to show an animation when a treepanel node is clicked, I am using the control FlashComponent with the following code, but it does not show the animation
Could you please tell me what else do I need to do?
protected void TreePanelPortalsNodeClick(object sender, DirectEventArgs e)
{
portalAnimation.Url = this.ResolveUrl(@".\Portals\EN\Portal1.swf");
}
<West Split="true" MarginsSummary="5 5 5 5">
<ext:TreePanel
ID="TreePanelPortals"
runat="server"
Padding="5"
Animate="true"
EnableDD="true"
ContainerScroll="true"
DDGroup="organizerDD"
RootVisible="false"
Width="200"
AutoScroll="true">
<DirectEvents>
<Click OnEvent="TreePanelPortalsNodeClick"/>
</DirectEvents>
</ext:TreePanel>
</West>
<Center>
<ext:Panel ID="Panel3" runat="server">
<Items>
<ext:FlashComponent ID="portalAnimation" runat="server" Height="400px" Width="700">
</ext:FlashComponent>
</Items>
</ext:Panel>
</Center>