Pappanse, Frold, Marco, and Chucky...
I am posting a flash 'non-authoring' version of the menu, which will not require you to open and edit in Flash MX. Rather a php file is used to send params to the swf (getWCMS_NA.php) It can be customized according to these parameters:
host: "may want to use inc file to point outside webroot"
username: "same as above"
password: "same as above"
db name: "same as above"
domain url: "http:
www.myDomain.com/index.php?"
custom color (note: specify as "0xFFFFFF" not "#FFFFFF" )
It also sets a cookie, which is used to reset the Flash menu on first 'subsequent' visit. And the query has been updated as well. When clicking on a category that has sub categories, the swf opens the subcategories, reflecting similarity of Oliver's original NAV_COLUMN script.
Note that the custom color parameter requires the Flash client to use the setRGB method, which has some latency.
The main parameter >>>> the 'unofficial'
{PAGETITLE} repTag.
Therefore you will need to add this:
Code: Select all
//need to add to content.func.inc.php
// PAGETITLE replacement
if( ! (strpos($content["all"],'{PAGETITLE}')===false)) {
$content["all"] = str_replace('{PAGETITLE}', $content["struct"][$content["cat_id"]]
["acat_name"], $content["all"]);
}
// -------------------------------------------------------------
The menu uses white keylines and black text and may therefore limit the use of colors.....working on an update that handles these as php parameters as well. The original swf is 166px wide and 480px high. You can scale the width to Oliver's default of 170px without degradation. The height is based on accomodationg categories/sub-categories and sub-sub catgeories.
Right now: open number of primary categories, 15 sub-categories and 5 additional sub-sub categories....Uses {PAGETITLE} tag in FLASHVARS to animate buttons to category selected. Eliminated the use of Shared Object (Flash's version of cookies).
Here is the zip link:
http://www.intermundi.com/aaa_sportotag ... horing.zip
I will be posting an authoring version (for those who have Flash MX)...in the near future. Setting color internally bypasses the setRGB latency issue...so using Flash MX authoring app is preferred. Nontheless, this file should be of interest.
And again ALL categories in the phpwcms site structure must be given an alias.
All best,
jsw (john)
UPDATE: Original Zip had a bug...reposted fix. Will need to re-download correct version of phpwcms_flash_nonauthoring.zip