Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • johns1972 6 posts 26 karma points
    Mar 17, 2010 @ 20:56
    johns1972
    0

    flash navigation

    Hai Iam new here and iam a big fan of umbraco. I hoop somebody knows how to make a flash navigation inside umbraco.

    Can somebody help me?

     

    gr, John

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 17, 2010 @ 23:13
    Jan Skovgaard
    0

    Hi John

    In short, yes it possible to make flash navigation with Umbraco. In fact you can do a 100% flash-based site with Umbraco where it's possible to manage all the content in Umbraco. This site is Umbraco based and the frontend is 100% flash http://detgyldnekompas1.dk/.

    You just need to fetch the navigation-nodes from Umbraco. That can be done in different ways. One approach could be to create an XML document.

    Then you will need to create a documenttype called "XML" for instance and assign at template to the document type. Then you would have to create the XML document type somwhere in your content tree where it's hidden away from your sites content.

    Then you can make an XSLT macro to render the XML output you need for your navigation, which you can then fetch from the URL that becomes available when you publish the XML document type. But remember to keep it hidden from your content etc.

    Then you need to use som some javascript to embed your flash navigation into your site like SWFObject for instance.

    Acutally I also think that this can be done more effectively using Umbraco /BASE - But unfortunately I have'nt had the opportunity to play around with it yet.

    And there are probably more ways it can be done.

    Hope this helps.

     

  • johns1972 6 posts 26 karma points
    Mar 18, 2010 @ 09:09
    johns1972
    0

    Oke i get it, but now some practical things. How can i get a menu (flash) in umbraco.

    I have a swf fil driven by xml:

    for example

    <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
    <links>
     <link name="Main" ref="index.html"/>
     <link name="Pictures & Videos" ref="#">
      <inLink name="Image Gallery" ref="pictures.html"/>
      <inLink name="Photoshop Tutorial" ref="photoTut.html"/>
     </link>
     <link name="Programming" ref="xmlflash.html">
      <inLink name="XML flash tutorial" ref="xmlflash.html"/>
      <inLink name="Nightshot Noise" ref="nightShot.html"/>
     </link>
     <link name="Flash Games" ref="snakeFlash.html">
      <inLink name="Arkanoid Clone" ref="arkanoidFlash.html"/>
      <inLink name="Snake" ref="snakeFlash.html"/>
      <inLink name="The Cell" ref="cellFlash.html"/>
     </link>
     <link name="3D Design" ref="lightwave.html">
      <inLink name="Blender 3D" ref="blender.html"/>
      <inLink name="3D Studio" ref="3dstudio.html"/>
      <inLink name="Lightwave" ref="lightwave.html"/>
     </link>
     <link name="LW Plugin" ref="tvplugin.html"/>
    </links>

    Can you help me?

  • Comment author was deleted

    Mar 18, 2010 @ 09:16

    Hi John,

    You'll basicly need to output the xml with umbraco (using xslt) and placing a macro associated with that xslt file on a template.

    There is a chapter on umbraco.tv all about loading data into flash and getting data from flash to umbraco

    http://umbraco.org/documentation/videos/for-developers/rich-internet-applications/loading-umbraco-data-into-flash

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 18, 2010 @ 09:34
    Jan Skovgaard
    0

    Tim...you are saying it so simple, that was exactly what I was trying to say in the above. But I guess that was a bit cluttered :-)

    /Jan

  • johns1972 6 posts 26 karma points
    Mar 18, 2010 @ 10:23
    johns1972
    0

    Yes but how do you called a link to the button?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 18, 2010 @ 22:20
    Jan Skovgaard
    0

    Hi John

    I guess you need to parse the XML in your flash movie...or do I misunderstand what you're asking?

Please Sign in or register to post replies

Write your reply to:

Draft