<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Global Navigation version 2.00 released</title>
	<atom:link href="http://blog.turtlebite.com/global-navigation-version-2-00-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.turtlebite.com/global-navigation-version-2-00-released/</link>
	<description>Flash CMS Framework, Fleb Framework, Global Navigation and other ActionScript Stuff</description>
	<lastBuildDate>Tue, 24 Jan 2012 19:46:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Christian</title>
		<link>http://blog.turtlebite.com/global-navigation-version-2-00-released/comment-page-1/#comment-186</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:50:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcmsframework.com/?p=520#comment-186</guid>
		<description>Cool that you found a solution that works for you, At first glance your code looks ok to me. I just did not have the need for a vertical navigation with different button heights, in fact I would try to avoid it. But you never know... :-) Maybe the one client who demands it is just around the corner...</description>
		<content:encoded><![CDATA[<p>Cool that you found a solution that works for you, At first glance your code looks ok to me. I just did not have the need for a vertical navigation with different button heights, in fact I would try to avoid it. But you never know&#8230; <img src='http://blog.turtlebite.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Maybe the one client who demands it is just around the corner&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ottie</title>
		<link>http://blog.turtlebite.com/global-navigation-version-2-00-released/comment-page-1/#comment-185</link>
		<dc:creator>ottie</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcmsframework.com/?p=520#comment-185</guid>
		<description>Hi Christian,

Thanks for the fast reply - the setlabeltextnewline method indeed gave me good results. Only worry is that some of the buttons have 3 or two lines of text while others only have one, and they are all placed vertically and should be equally proportioned to the text. I know, it&#039;s a pain.
I managed to &quot;fix it&quot; - probably in an unorthodox way :
in your Navigationbutton2.as,
I made a new private var _btnHeight
and then went into the positionLabel method and inserted:

_btnHeight = navigBtnAsset.navigBtnLabel.textFieldMc.tf.height;
			
if(_btnHeight &gt; navigBtnAsset.navigBtnArea.height)
	{
		navigBtnAsset.navigBtnArea.height = _btnHeight ;
		navigBtnAsset.navigBtnBg.height = _btnHeight ;
		__initHeight = _btnHeight;
	}

This does the trick, but could be better with some extra parameters - I know.

If you see a better way - and I&#039;m sure you do - please let me know. Always keen to learn from a pro.
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Christian,</p>
<p>Thanks for the fast reply &#8211; the setlabeltextnewline method indeed gave me good results. Only worry is that some of the buttons have 3 or two lines of text while others only have one, and they are all placed vertically and should be equally proportioned to the text. I know, it&#8217;s a pain.<br />
I managed to &#8220;fix it&#8221; &#8211; probably in an unorthodox way :<br />
in your Navigationbutton2.as,<br />
I made a new private var _btnHeight<br />
and then went into the positionLabel method and inserted:</p>
<p>_btnHeight = navigBtnAsset.navigBtnLabel.textFieldMc.tf.height;</p>
<p>if(_btnHeight &gt; navigBtnAsset.navigBtnArea.height)<br />
	{<br />
		navigBtnAsset.navigBtnArea.height = _btnHeight ;<br />
		navigBtnAsset.navigBtnBg.height = _btnHeight ;<br />
		__initHeight = _btnHeight;<br />
	}</p>
<p>This does the trick, but could be better with some extra parameters &#8211; I know.</p>
<p>If you see a better way &#8211; and I&#8217;m sure you do &#8211; please let me know. Always keen to learn from a pro.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://blog.turtlebite.com/global-navigation-version-2-00-released/comment-page-1/#comment-184</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Mon, 08 Feb 2010 09:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcmsframework.com/?p=520#comment-184</guid>
		<description>hi ottie

I have separated it into two files to be more independent when the Gaia Framework changes. That&#039;s the way it is handled since Global Navigation version 2.xx. So, yes, if used in Gaia you need two files. Maybe you should have a look at the Fleb Framework here, which is based on the Global Navigation and you have again one xml file. If you want to change the height of your buttons you should do it inside mainBtn.swf. Also have look at this: http://www.flashcmsframework.com/docs/global-navigation2-public-methods#setbtnlabeltextnewline if you need to handle long label text in your menu buttons.</description>
		<content:encoded><![CDATA[<p>hi ottie</p>
<p>I have separated it into two files to be more independent when the Gaia Framework changes. That&#8217;s the way it is handled since Global Navigation version 2.xx. So, yes, if used in Gaia you need two files. Maybe you should have a look at the Fleb Framework here, which is based on the Global Navigation and you have again one xml file. If you want to change the height of your buttons you should do it inside mainBtn.swf. Also have look at this: <a href="http://www.flashcmsframework.com/docs/global-navigation2-public-methods#setbtnlabeltextnewline" rel="nofollow">http://www.flashcmsframework.com/docs/global-navigation2-public-methods#setbtnlabeltextnewline</a> if you need to handle long label text in your menu buttons.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ottie</title>
		<link>http://blog.turtlebite.com/global-navigation-version-2-00-released/comment-page-1/#comment-183</link>
		<dc:creator>ottie</dc:creator>
		<pubDate>Mon, 08 Feb 2010 09:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcmsframework.com/?p=520#comment-183</guid>
		<description>Hi Christian,
Great admirer of your work - really nice programming.
As I&#039;m a gaia starter, I&#039;d love to check out an example of your combined navigation (site.xml and navigation.xml combined in one file), but trying out your global navigation 2/212 examples, there are still the two files or am I missing something?
This would also make things easier to change languages.
And just one more question: I have a navigation with buttons of variable height, depending on the length of the labels. I know self-adjustable width is not a problem, but height is another issue.
Any ideas?

Thanks a million.</description>
		<content:encoded><![CDATA[<p>Hi Christian,<br />
Great admirer of your work &#8211; really nice programming.<br />
As I&#8217;m a gaia starter, I&#8217;d love to check out an example of your combined navigation (site.xml and navigation.xml combined in one file), but trying out your global navigation 2/212 examples, there are still the two files or am I missing something?<br />
This would also make things easier to change languages.<br />
And just one more question: I have a navigation with buttons of variable height, depending on the length of the labels. I know self-adjustable width is not a problem, but height is another issue.<br />
Any ideas?</p>
<p>Thanks a million.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://blog.turtlebite.com/global-navigation-version-2-00-released/comment-page-1/#comment-172</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Mon, 21 Dec 2009 15:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcmsframework.com/?p=520#comment-172</guid>
		<description>Hi Marc

Anwser 1: have a look at the xml attribute btnSpacingY - http://www.flashcmsframework.com/docs/doku.php?id=global-navigation2-xml#btnspacingy
and also the demo file 5,6,7,8,9,10. They have a vertical menu - http://www.flashcmsframework.com/docs/doku.php?id=global-navigation2-examples

Answer 2: This is also possible :-) Look here (getSiblings) http://www.flashcmsframework.com/docs/doku.php?id=global-navigation2-public-methods#getsiblings
By using getSiblings, you can retrieve all btns of a level and do what is needed, in your example fade out all buttons of that level. 

Cheers,
Christian</description>
		<content:encoded><![CDATA[<p>Hi Marc</p>
<p>Anwser 1: have a look at the xml attribute btnSpacingY &#8211; <a href="http://www.flashcmsframework.com/docs/doku.php?id=global-navigation2-xml#btnspacingy" rel="nofollow">http://www.flashcmsframework.com/docs/doku.php?id=global-navigation2-xml#btnspacingy</a><br />
and also the demo file 5,6,7,8,9,10. They have a vertical menu &#8211; <a href="http://www.flashcmsframework.com/docs/doku.php?id=global-navigation2-examples" rel="nofollow">http://www.flashcmsframework.com/docs/doku.php?id=global-navigation2-examples</a></p>
<p>Answer 2: This is also possible <img src='http://blog.turtlebite.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Look here (getSiblings) <a href="http://www.flashcmsframework.com/docs/doku.php?id=global-navigation2-public-methods#getsiblings" rel="nofollow">http://www.flashcmsframework.com/docs/doku.php?id=global-navigation2-public-methods#getsiblings</a><br />
By using getSiblings, you can retrieve all btns of a level and do what is needed, in your example fade out all buttons of that level. </p>
<p>Cheers,<br />
Christian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cramredan</title>
		<link>http://blog.turtlebite.com/global-navigation-version-2-00-released/comment-page-1/#comment-171</link>
		<dc:creator>cramredan</dc:creator>
		<pubDate>Mon, 21 Dec 2009 00:21:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcmsframework.com/?p=520#comment-171</guid>
		<description>Hello christian,

i have two questions concerning the use of your Global Navigation sample code :

1) where do you switch parameters in your .as files for a vertical (rather than horizontal) display of your top hierarchy buttons ?

2) how would you proceed to obtain the same menu workflow as the one displayed in the following website www.royalsalute.com ? Would that be possible, meaning hiding the level 0 hierarchy once once of its buttons have been clicked

Thanks for your answer. MARC</description>
		<content:encoded><![CDATA[<p>Hello christian,</p>
<p>i have two questions concerning the use of your Global Navigation sample code :</p>
<p>1) where do you switch parameters in your .as files for a vertical (rather than horizontal) display of your top hierarchy buttons ?</p>
<p>2) how would you proceed to obtain the same menu workflow as the one displayed in the following website <a href="http://www.royalsalute.com" rel="nofollow">http://www.royalsalute.com</a> ? Would that be possible, meaning hiding the level 0 hierarchy once once of its buttons have been clicked</p>
<p>Thanks for your answer. MARC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://blog.turtlebite.com/global-navigation-version-2-00-released/comment-page-1/#comment-162</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Sun, 29 Nov 2009 13:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcmsframework.com/?p=520#comment-162</guid>
		<description>Hi Tiago

Thanks for your input! I absolutly agree with your points. My plan is to write a little app to create the xml file visually (where you can try out settings with your own buttons). And I will also put your suggestion about the document class on my to-do list. :-)</description>
		<content:encoded><![CDATA[<p>Hi Tiago</p>
<p>Thanks for your input! I absolutly agree with your points. My plan is to write a little app to create the xml file visually (where you can try out settings with your own buttons). And I will also put your suggestion about the document class on my to-do list. <img src='http://blog.turtlebite.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tiago Pedras</title>
		<link>http://blog.turtlebite.com/global-navigation-version-2-00-released/comment-page-1/#comment-161</link>
		<dc:creator>Tiago Pedras</dc:creator>
		<pubDate>Sun, 29 Nov 2009 13:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcmsframework.com/?p=520#comment-161</guid>
		<description>Hey

Global Navigation was the best solution I&#039;ve found to create a dynamic navigation for Gaia. After figuring it out it is definately a nice choice to complement Gaia.

There are two things that I would like it to have and I thought I should share them with you.
The first one is quite simple and is only refering to the default layout of buttons. They kinda made me shiver at first and I even thought of not using this since it didn&#039;t seemed very customizable just by looking at it. Now I understand that it&#039;s not true but as a designer I can&#039;t help of judging things by it&#039;s look.
The second thing also has to do with this which is the fact that it would be nice if we could edit the button states in a document class instead of the timeline.

Hope you find this usefull! ;)
Cheers and thank you for the hard work!</description>
		<content:encoded><![CDATA[<p>Hey</p>
<p>Global Navigation was the best solution I&#8217;ve found to create a dynamic navigation for Gaia. After figuring it out it is definately a nice choice to complement Gaia.</p>
<p>There are two things that I would like it to have and I thought I should share them with you.<br />
The first one is quite simple and is only refering to the default layout of buttons. They kinda made me shiver at first and I even thought of not using this since it didn&#8217;t seemed very customizable just by looking at it. Now I understand that it&#8217;s not true but as a designer I can&#8217;t help of judging things by it&#8217;s look.<br />
The second thing also has to do with this which is the fact that it would be nice if we could edit the button states in a document class instead of the timeline.</p>
<p>Hope you find this usefull! <img src='http://blog.turtlebite.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Cheers and thank you for the hard work!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

