Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-31-2007, 04:31 AM
Member
 
Posts: 13
Default Flash in Zimbra AjaxTK components

Hello!

Does anybody know how to import Flash animation into Zimbra AjaxTK components?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 09-03-2007, 09:16 AM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by sondor View Post
Hello!

Does anybody know how to import Flash animation into Zimbra AjaxTK components?

Thanks!
AjaxTK is simply JavaScript + DHTML. You should not have any problem using the standard flash importation techniques if you need Flash.
Reply With Quote
  #3 (permalink)  
Old 09-03-2007, 02:50 PM
Member
 
Posts: 13
Default

Quote:
Originally Posted by JoshuaPrismon View Post
AjaxTK is simply JavaScript + DHTML. You should not have any problem using the standard flash importation techniques if you need Flash.
A tried to import flash object like this

composite = new DwtComposite(shell, null, DwtControl.ABSOLUTE_STYLE);
composite .setBounds(200, 80, 1000, 700);
composteHtml = composite .getHtmlElement();
composteHtml.innerHTML = [""].join("<object classid="clsid:... blablabla">");

But javascript debugger has inform me with an error that compiler could not recognize an "object" expression, so I found some clever or stupid way (you should decide this ) to import flash objects into my zimbra ajax toolkit application. I imported it into application html framework in body html object!

<table>
<tr>
<td>
<div>
<noscript><p>Javascript must be enabled to use this.</p></noscript>
<script language="JavaScript">
function launch() {
DBG = new AjxDebug(AjxDebug.NONE, null, false);
Demo.run();
}
AjxCore.addOnloadListener(launch);
</script>
</div>
</td>
<td>
<table>
<tr>
<td><div id="flash">
<object classid="... blablabla flash object ">
</object>
</div></td>
</tr>
</table>
</td>
</tr>
</table>

Last edited by sondor; 09-03-2007 at 02:54 PM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.