Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 10:22:37 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155401 Posts in 21698 Topics by 7729 Members
Latest Member: adnan
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Flash Menu system  (Read 1098 times)
maxxis

Offline Offline

Posts: 30


« on: July 05, 2008, 11:11:37 PM »

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.

 afro
Logged
Availor

Offline Offline

Posts: 225



« Reply #1 on: July 07, 2008, 02: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...
Logged
maxxis

Offline Offline

Posts: 30


« Reply #2 on: July 07, 2008, 02: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?
Logged
Availor

Offline Offline

Posts: 225



« Reply #3 on: July 07, 2008, 05: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  cheesy
Logged
Availor

Offline Offline

Posts: 225



« Reply #4 on: July 11, 2008, 11:45:21 PM »

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...
Logged
cnwb

Offline Offline

Posts: 234



WWW
« Reply #5 on: July 14, 2008, 08:16:22 PM »

I just downloaded code will give it a look over...


JP
Logged

maxxis

Offline Offline

Posts: 30


« Reply #6 on: July 15, 2008, 08: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.
Logged
Availor

Offline Offline

Posts: 225



« Reply #7 on: July 15, 2008, 09: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...  afro
Logged
maxxis

Offline Offline

Posts: 30


« Reply #8 on: July 16, 2008, 08:09:20 AM »

Its getting there and looking good.

Ill take a look at the code you posted a little later on.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!