WebsiteBaker Community Forum (upd)

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: maxxis on July 06, 2008, 12:11:37 AM

Title: Flash Menu system
Post by: maxxis on July 06, 2008, 12:11:37 AM
Hi guys

I thought it would be a great help to guys wanting to use flash on their baked sites to develop a little module that could convert the wb menu system into a flash menu system

This should take about 5 minutes to setup and get running for testing.

Step one: Download the zip from my sig.
Step two: Extract the FlashNavBuilder.php to your wb site's root
Step three: Inside flash you will need to edit a single line of code at line 154
Step four: Change the menu_xml.load("..."); to menu_xml.load("your full wb url/FlashNavBuilder.php");
Step five: Add the menu.swf you exported from the FLA to you template

Run

That is all that is to it.

You will need to resize the flash canvas size to whatever you choose and change the graphic to something that suits your site design.

**Features**

- Flash driven drop down menus
- Uses WB Menu's target properties to open pages as you set them ex _blank etc

**Future Changes**

- Add support for more than 2 sub menus
- Add support for horizontal menus
- Build proper install package (need help on how)

I really hope this can help somebody. I know it sure helped me.

In the end I hope to create a complete Flash framework that will run 100% on the WB CMS system. This is quite a lot of work and Im busy developing modules as I go along. Busy with the page content bit to convert the data to valid XML to be used with a XML parser I wrote a while back. Will keep you guys updated.

:mrgreen:


[gelöscht durch Administrator]
Title: Re: Flash Menu system
Post by: Availor on July 07, 2008, 03:26:22 PM
Could you please provide any demo I've tried to work it out but it didn't give me any results I guess I missed something in your instructions...
Title: Re: Flash Menu system
Post by: maxxis on July 07, 2008, 03:34:19 PM
Hi there

Im busy with the development of the site that uses this and it should be live soon.

There is 2 possible reasons for the menu not being built.

1 - Check the FlashNavBuilder.php in your browser to see if it generates the XML
2 - Make sure to call the absolute URL in the flash file

Did you upload the file for testing?
Title: Re: Flash Menu system
Post by: Availor on July 07, 2008, 06:00:39 PM
Yes. I will try to figure it out. Please post an example as soon as your website is developed.

Thanks for sharing the module by the way  :lol:
Title: Re: Flash Menu system
Post by: Availor on July 12, 2008, 12:45:21 AM
Well, I've tried but nothing happened, I checked several times that the path to the file is correct...
On the other hand, I've found a nice script that creates flash menu
http://www.videoxone.com/demo/baker1/pages/menu-test.php

It doesn't work perfectly but it works at the very least... It should also have drop downs and tabs but I didn't figure it out how it works exactly.

I've attached a zip file with the original code so maybe someone can figure it out...

[gelöscht durch Administrator]
Title: Re: Flash Menu system
Post by: johnp on July 14, 2008, 09:16:22 PM
I just downloaded code will give it a look over...


JP
Title: Re: Flash Menu system
Post by: maxxis on July 15, 2008, 09:00:45 AM
Thanks for the interest.

There is still some glitches and bugs in the code but its getting there. At the moment im changing a few things in the code to add more features ect. Will update soon.
Title: Re: Flash Menu system
Post by: Availor on July 15, 2008, 10:38:23 PM
Almost got it.... almost got it...
http://www.videoxone.com/WebsiteBaker/pages/tests/test-page.php

I think if it will be a success it will get WB to a whole new level...  :mrgreen:
Title: Re: Flash Menu system
Post by: maxxis on July 16, 2008, 09:09:20 AM
Its getting there and looking good.

Ill take a look at the code you posted a little later on.