We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25322
    • 78 Posts
    Is there any massive problems with using a flash navigation inside modx that i would need to be aware of? i know i shouldn’t really be using flash as a navigation but the client is insisting and as they will not be adding pages to the site- they will just be editing existing pages and not the flash, so that makes it less trouble. Whats the best way of embedding the flash. Can i just do it like i normally would
    <div id="divFlashNav2">
    <script type="text/javascript">
    AC_FL_RunContent( ’codebase’,’http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0’,’width’,’900’,’height’,’68’,’title’,’Flash Navigation’,’src’,’header’,’quality’,’high’,’pluginspage’,’http://www.macromedia.com/go/getflashplayer’,’movie’,’header’ ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="900" height="68" title="Flash Navigation">
    <param name="movie" value="header.swf" />
    <param name="quality" value="high" />
    <embed src="header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="900" height="68"></embed>
    </object></noscript>
    </div>
    • Probably best to put the object tags for the flash in a chunk, then put the chunk tags in your template. Otherwise, just put it in the way you would a static HTML document. MODx doesn’t care.

      I’m not a Flash programmer, but I know one or two, and it is possible to make a dynamic Flash menu using the MODx document database.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 25322
        • 78 Posts
        cheers for the info sotwell. i will look into dynamic flash menus in a couple of months i think...
          • 36624
          • 535 Posts
          a really cool thing (i think ^^) is to output your documents with ditto or wayfinder in text/XML format.. and then you load the XML with flash...
            CTRL+SHIFT+U - Clear Cache
            CTRL+SHIFT+H - Hiding Heft Panel
            CTRL+SHIFT+N - Fast Create Resource
            CTRL+ALT+P - Preview Recource (in edit resorce window)
            CTRL+ALT+S - Save