02-14-2011 09:58 AM
02-14-2011 03:55 PM
@alex: thanks - glad you got it worked out!
@john: thanks for confirming that it works in FB4!
02-28-2011 08:17 AM
As i am new to this platform i used ur code to get swipe gesture menu, but i am getting the following error mentioned below.
Description Resource Path Location Type1046: Type was not found or was not a compile-time constant: HeaderMenu. FlexTest.mxml /FlexTest/src line 17 Flex Problem
Hope will get help asap.Thanks in Advance
02-28-2011 08:34 AM
02-28-2011 10:06 AM
Thanks for ur lightning reply..:
Got the solution for that i needed to use
[Bindable] private var headerMenu:HeaderMenu = new HeaderMenu();
Now i am stuck with another issue. ie i need more than 10 menu buttons in that menu . i want to scroll this menu .
So how can i be able to scroll that view.
Thanks in advance
02-28-2011 10:47 AM
02-28-2011 12:17 PM
Thanks for that suggestion.
But i wanna know one more thing that, is it possible to put horizontal scroll view for that menu if the number of menus are more..
Thanks in advance,
02-28-2011 12:24 PM
You could probably use a ScrollPane to scroll around in the app bar, but I would also give the user some indication (arrows to the left and right showing that there is more content available) that this is possible, because they may not anticipate that behavior.
05-04-2011 11:54 PM - edited 05-05-2011 12:01 AM
So I have this working according to JRab's last posted code. However the two things that seem to be missing is how to switch views using the buttons on the menu and the functionality to have the menu close when the mouse is clicked off of the menu.
Previously my app used navigator.popToFirstView() in the click handler for the button, but when adding that to the buttons in this case, there is an error "Access of undefined property navigator". How do you handle switching views with this example?
I'm guessing that this is because the code is inside a BorderContainer and not a view, as it was previously... but how do I reference the views from within the new BorderContainer that is used for the menu?