Hi! Den
I think to create Flash menu this good thought, since flash technology develops rapidly. Already animation pictures and images are bored.
In this article I will show how to generate dynamic XML documents with Object-Oriented PHP.
Let's start with our output XML method and work backwards from there:
[CODE]procedure gen_xml {
<?php echo"<?xml version="1.0" encoding="UTF-8"?> <menu>
<media_to_load_other_files>
<menu_structure>
<item>";
for ($num=1; $num <= &max_level_tip,; $num++ )
{
echo"
<item text=\" Item";
echo $num;
echo"\" />";
}
echo" </item>
</menu_structure>
</menu>";
?>
}[/CODE]
Hope this helps
You should dynamically generate structure of your Flash menu and it must generate in "*.php" file. It was remind structure in xml files. Without fall must exist the file, which save text of your menu items.
In php dynamic file must exist values, which get of these files (left.menu & top.menu). The structure is save in $aMenuLinks array.
You make good job.
Good luck in Flash menu! :)
I think to create Flash menu this good thought, since flash technology develops rapidly. Already animation pictures and images are bored.
In this article I will show how to generate dynamic XML documents with Object-Oriented PHP.
Let's start with our output XML method and work backwards from there:
[CODE]procedure gen_xml {
<?php echo"<?xml version="1.0" encoding="UTF-8"?> <menu>
<media_to_load_other_files>
<menu_structure>
<item>";
for ($num=1; $num <= &max_level_tip,; $num++ )
{
echo"
<item text=\" Item";
echo $num;
echo"\" />";
}
echo" </item>
</menu_structure>
</menu>";
?>
}[/CODE]
Hope this helps
You should dynamically generate structure of your Flash menu and it must generate in "*.php" file. It was remind structure in xml files. Without fall must exist the file, which save text of your menu items.
In php dynamic file must exist values, which get of these files (left.menu & top.menu). The structure is save in $aMenuLinks array.
You make good job.
Good luck in Flash menu! :)