[flexcoders] Re: TabNavigator styles not being applied (flex4)

2010-07-08 Thread bhaq1972
They look the same to me. I just added another style ... fontWeight:bold and that is being applied. Maybe I will use a skin Thanks --- In flexcoders@yahoogroups.com, "Amy" wrote: > > It looks like you're not using the mx namespace you've declared in your > stylesheet. > > --- In flexc

[flexcoders] Re: TabNavigator styles not being applied (flex4)

2010-07-08 Thread Amy
It looks like you're not using the mx namespace you've declared in your stylesheet. --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > Anyone know why styling is not being applied to this Flex4 example (a > modified example from livedocs)? > > thanks > > > http://ns.adobe.com/mxml/2009

[flexcoders] Re: TabNavigator

2010-05-21 Thread turbo_vb
Yeah, see the last post. You could extend TabNavigator and bubble up the tabBar itemClick event. Not too difficult, but not out of the box. -TH --- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > You might mean "click", in which case yes. It is dispatched when clicking > with the co

Re: [flexcoders] Re: TabNavigator

2010-05-21 Thread Richard Rodseth
You might mean "click", in which case yes. It is dispatched when clicking with the content area of the navigator, but not on the button bar. And it wouldn't cover keyboard navigation. On Fri, May 21, 2010 at 1:06 PM, turbo_vb wrote: > > > You try itemClick? > > -TH > > > --- In flexcoders@yahoog

[flexcoders] Re: TabNavigator

2010-05-21 Thread turbo_vb
Strike that first response; no itemClick event there. But, the protected var tabBar does dispatch itemClick, so... -TH --- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > Is there an event dispatched by TabNavigator when the *user* switches tabs? > > "change" is dispatched when the

[flexcoders] Re: TabNavigator

2010-05-21 Thread turbo_vb
You try itemClick? -TH --- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > Is there an event dispatched by TabNavigator when the *user* switches tabs? > > "change" is dispatched when the selected change happens > programmatically (eg. because selectedChild is bound). >

[flexcoders] Re: TabNavigator stacking order

2009-11-23 Thread valdhor
You may like to expand upon this example... http://flexexamples.blogspot.com/2007/12/positioned-tab-navigator-in-flex.html --- In flexcoders@yahoogroups.com, Joel Stransky wrote: > > By default, a TabNavigator adds its TabBar on top of the viewstack. Is there > a way to force it to draw it under

[flexcoders] Re: TabNavigator changes page (html) title

2009-11-20 Thread ynotob
Update. I was able to get fix the issue with a minor change to the original reply. I had to set the title to the string explicitly. Thanks again. private var applicationName:String = "User status and admin option"; private function initApp():void { browserManager = BrowserManager.getInsta

[flexcoders] Re: TabNavigator changes page (html) title

2009-11-19 Thread ynotob
Thanks, I'll give that a try, appreciate the detailed response. Do you know if it is fixed in more recent SDK releases? I've been meaning to upgrade the SDK for a while but have delayed because I'm not sure how painful / painless the process is. --- In flexcoders@yahoogroups.com, "Flex Boy"

[flexcoders] Re: TabNavigator changes page (html) title

2009-11-19 Thread Flex Boy
Yea I know, it's a bug in the historymangager(sdk 3.2), you have to set the pagetitle manual after pressing the tab.. work around: private var browserManager:IBrowserManager; private function initApp():void { browserManager = BrowserManager.getInstance(); browserManager.setTitle('your page titl

Re: [flexcoders] Re: TabNavigator - events children get on tab show

2009-08-17 Thread Tom Chiverton
On Monday 17 Aug 2009, Tom Chiverton wrote:rea show="{Alert.show('a')}"/> > > > > > > I never get the pop up. Ah ha. This is by design. I found http://www.nabble.com/-flex_india:18847--Show-Event-is-not-working-for-meNeed-some-hep-td21803964.html and the b

Re: [flexcoders] Re: TabNavigator - events children get on tab show

2009-08-17 Thread Tom Chiverton
On Friday 14 Aug 2009, valdhor wrote: > From memory, on first show it's creationcomplete. After that, it's show. I thought so too. I knocked up this test case: I never get the pop up. Can anyone else confirm ? I have

[flexcoders] Re: TabNavigator - events children get on tab show

2009-08-14 Thread valdhor
>From memory, on first show it's creationcomplete. After that, it's show. --- In flexcoders@yahoogroups.com, Tom Chiverton wrote: > > If I have a component in a Tabnavigator what event does that component > receive > when the tab navigator changes to show it ? > It's not FlexEvent.SHOW for in

Re: [flexcoders] Re: TabNavigator changing from MXML to actionscript.

2009-08-13 Thread Wesley Acheson
I have it working now thanks for all your assistance. On Thu, Aug 13, 2009 at 5:44 PM, jaywood58 wrote: > An easy way might be to use different viewstates (e.g., a base state > without the restricted tab, and a derived state that includes the restricted > tab), then simply set the appropriate vi

[flexcoders] Re: TabNavigator changing from MXML to actionscript.

2009-08-13 Thread jaywood58
An easy way might be to use different viewstates (e.g., a base state without the restricted tab, and a derived state that includes the restricted tab), then simply set the appropriate viewstate based on user permissions. Similar to your init() code, it might look something like: if (Permissions

Re: [flexcoders] Re: TabNavigator changing from MXML to actionscript.

2009-08-12 Thread Wesley Acheson
I considered that but say you have four tab where any one can be on or off. that 8 different view states. On Thu, Aug 13, 2009 at 4:41 AM, jaywood58 wrote: > An easy way might be to use different viewstates (e.g., a base state > without the restricted tab, and a derived state that includes the r

[flexcoders] Re: TabNavigator changing from MXML to actionscript.

2009-08-12 Thread jaywood58
An easy way might be to use different viewstates (e.g., a base state without the restricted tab, and a derived state that includes the restricted tab), then simply set the appropriate viewstate based on user permissions. Similar to your init() code, it might look something like: if (Permissions

Re: [flexcoders] Re: TabNavigator creationPolicy

2009-05-07 Thread Richard Rodseth
Hi Amy, I solved my own problem (eliminating the use of AddChild) and moved on a long time ago. I shared my results for the benefit of others, and got a response from you which I found snide. In case you wish to expand your knowledge, here's the documentation for AddChild, which as far as I know i

[flexcoders] Re: TabNavigator creationPolicy

2009-05-07 Thread Amy
--- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > Hmm. This seems a little wrong-side-of-the-bed. > > Actually, when you do: > > > > > > > View1 and View2 are instantiated (obviously necessary to get the labels), > but the *children* of the inactive tabs are not, and as a

Re: [flexcoders] Re: TabNavigator creationPolicy

2009-05-06 Thread Richard Rodseth
Hmm. This seems a little wrong-side-of-the-bed. Actually, when you do: View1 and View2 are instantiated (obviously necessary to get the labels), but the *children* of the inactive tabs are not, and as a result the creationComplete events of the inactive tabs are not fired. Makes perfec

[flexcoders] Re: TabNavigator creationPolicy

2009-05-06 Thread Amy
--- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > The code that I replaced was adding the entire TabNavigator plus children > and grandchildren in an AddChild tag. > It appears that deferred instantiation of the grandchildren is > non-functional in that case. Duh. When you do this:

Re: [flexcoders] Re: TabNavigator creationPolicy

2009-05-05 Thread Richard Rodseth
The code that I replaced was adding the entire TabNavigator plus children and grandchildren in an AddChild tag. It appears that deferred instantiation of the grandchildren is non-functional in that case. On Tue, May 5, 2009 at 11:14 AM, Amy wrote: > > > --- In flexcoders@yahoogroups.com , Richar

[flexcoders] Re: TabNavigator creationPolicy

2009-05-05 Thread Amy
--- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > I think I've tracked down what's going on in the actual application (I > inherited this portion of the code). The TabNavigator is added in an > AddChild tag, and in this case all the children and their children appear to > get created.

Re: [flexcoders] Re: TabNavigator creationPolicy

2009-05-04 Thread Richard Rodseth
om [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *Richard Rodseth > *Sent:* Monday, May 04, 2009 7:06 PM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] Re: TabNavigator creationPolicy > > > > > > > I think I've tracked down what's going on

RE: [flexcoders] Re: TabNavigator creationPolicy

2009-05-04 Thread Tracy Spratt
, 2009 7:06 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: TabNavigator creationPolicy I think I've tracked down what's going on in the actual application (I inherited this portion of the code). The TabNavigator is added in an AddChild tag, and in this case all th

Re: [flexcoders] Re: TabNavigator creationPolicy

2009-05-04 Thread Richard Rodseth
I think I've tracked down what's going on in the actual application (I inherited this portion of the code). The TabNavigator is added in an AddChild tag, and in this case all the children and their children appear to get created. Switching to a viewstack as below solved the problem. I actually quit

[flexcoders] Re: TabNavigator creationPolicy

2009-05-04 Thread Amy
--- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > Created a test case below (creation policy is the default null). Most of the > time, the trace shows "One complete" and when you activate tabs Two and > Three you see the trace from those creationComplete events, as expected. > > But I

[flexcoders] Re: TabNavigator creationPolicy

2009-05-04 Thread Richard Rodseth
Created a test case below (creation policy is the default null). Most of the time, the trace shows "One complete" and when you activate tabs Two and Three you see the trace from those creationComplete events, as expected. But I swear sometimes the Tab Three events fire at startup! The docs for Co

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-10-16 Thread donald_d_hook
are just > stabbing > > > in > > > > the dark. > > > > > > > > > > > > > > > > Rip out everything until it works, start adding it back til it > > > breaks. > > > > > > > > > > > > > > > > Tracy > > > > > > > > > >

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-30 Thread donald_d_hook
works, start adding it back til it > > breaks. > > > > > > > > > > > > Tracy > > > > > > > > > > > > ________ > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-27 Thread rleuthold
yahoogroups.com [mailto:[EMAIL PROTECTED] > On > > Behalf Of Tim Hoff > > Sent: Friday, September 26, 2008 12:52 PM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Re: TabNavigator - have to click twice on tab > to > > display page > > > > >

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-27 Thread donald_d_hook
ark. > > > > > > > > Rip out everything until it works, start adding it back til it > breaks. > > > > > > > > Tracy > > > > > > > > ____ > > > > From: flexcoders@yahoogrou

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-27 Thread donald_d_hook
s@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Tim Hoff > Sent: Friday, September 26, 2008 12:52 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: TabNavigator - have to click twice on tab to > display page > > > > > So, when you click the

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-27 Thread donald_d_hook
When I hit the 2nd tab, it flickers and the 1st tab is displayed (still since I started on the first tab). I hit it again and he contents of the 2nd tab are displayed Thanks --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > So, when you click the 2nd tab, does th

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread Hyder
excoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Tim Hoff > Sent: Friday, September 26, 2008 12:52 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: TabNavigator - have to click twice on tab to > display page > > > > > So, when you cl

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread Tim Hoff
Something must be going on in your code that is setting the selectedChild or selectedIndex. As Tracy suggests, post some code and maybe someone can help. Another approach is to create a new test application and build up the components from scratch; to see where the problem is occuring. More th

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread donald_d_hook
When I hit the 2nd tab, it flickers and the 1st tab is displayed (still since I started on the first tab). I hit it again and he contents of the 2nd tab are displayed Thanks --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > So, when you click the 2nd tab, does th

RE: [flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread Tracy Spratt
oders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Friday, September 26, 2008 12:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: TabNavigator - have to click twice on tab to display page So, when you click the 2nd tab, does the 2nd tab remain selected, or does it s

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread Tim Hoff
So, when you click the 2nd tab, does the 2nd tab remain selected, or does it switch back to the first tab? If it stays on the 2nd tab, are you still seeing the content from the first tab, or is it just blank; until you click the 2nd tab again? -TH --- In flexcoders@yahoogroups.com, "donald_d_ho

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread donald_d_hook
TH - No, I m not doing that, thats what I thought it was originally. Thanks --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Cool, one other thing to check would be if you are manually setting the > selectedIndex of the TabNavigator anywhere. Just guessing though

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread Tim Hoff
Cool, one other thing to check would be if you are manually setting the selectedIndex of the TabNavigator anywhere. Just guessing though; without seeing the code. -TH --- In flexcoders@yahoogroups.com, "donald_d_hook" <[EMAIL PROTECTED]> wrote: > > TH - > > THanks - I will give it a shot and se

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread donald_d_hook
TH - THanks - I will give it a shot and see. --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Sounds suspiciously like a callLater() solution. Have you tested > whether the creationComplete event is actually firing, before you click > tab2, for all of the child

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-26 Thread donald_d_hook
Hyder - Thanks for your insight - I will check it out as well to see if I have the same results. Thanks! --- In flexcoders@yahoogroups.com, "Hyder" <[EMAIL PROTECTED]> wrote: > > I started having the same problem with my application recently. What's > interesting is that it only happens with

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-25 Thread donald_d_hook
Tracy - No, I am not doing anything with the content or events. I will take a look at instantiation and the creationPolicy... Thanks ... --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Are you programatically doing anything with the content of tab 2? > > >

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-25 Thread Tim Hoff
Sounds suspiciously like a callLater() solution. Have you tested whether the creationComplete event is actually firing, before you click tab2, for all of the child components? Sometimes not setting the data, in a timely fashion, can also make a view appear blank. -TH --- In flexcoders@yahoogro

[flexcoders] Re: TabNavigator - have to click twice on tab to display page

2008-09-25 Thread Hyder
I started having the same problem with my application recently. What's interesting is that it only happens with the debug version of my application. The debug version, not necessarily in debug mode (application-debug.swf). But when I compile a release version, the tabnav works just fine. Also,

[flexcoders] Re: TabNavigator - how to make label a hyperlink that loads a specific module

2008-08-22 Thread djohnson29
Thank you! --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Use TabBar and ViewStack, you can then programatically determine what > any tab click does. > > > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAI

[flexcoders] Re: Tabnavigator without the default tab enabled?

2008-07-16 Thread valdhor
Set visible=false ? If an item is visible then some part of that item must be set somehow. --- In flexcoders@yahoogroups.com, "vipinck" <[EMAIL PROTECTED]> wrote: > > Is it possible to have a tabnavigator component without the default > tab activated/highlighted? When in normal state all tabs sh

[flexcoders] Re: TabNavigator & scrollbar space - BUG ?

2008-04-17 Thread bobpardoe1959
I solved this with some help from TeotiGraphics. In my actionscript i was doing setStyle("top", "2") What I should have been doing was setStyle("top", 2) - without the quotes on the number. It seems Flex 3 gets fussy about native data types. I am assuming it was resolving the string "2" to be 0 a

[flexcoders] Re: TabNavigator & scrollbar space - BUG ?

2008-04-16 Thread Ryan
I'm having the exact same problem. I have tried setting all my parent objects to 100% height and also leaving the height out entirely. I have no type of hard coded sizes in anything contained in the tab navigator. Thanks, Ryan --- In flexcoders@yahoogroups.com, "bobpardoe1959" <[EMAIL PROTECTE

[flexcoders] Re: TabNavigator Question

2008-03-23 Thread yhelleman
Another option might be to try the following. Extend TabNavigator component and create your own TabBar component. The TabBar component essentially is a HBox, so you can use add a child using the rawChildren method. What I've done is use another HBox component as the child being added to the TabB

[flexcoders] Re: Tabnavigator crashes ALL tweens

2008-02-11 Thread raymondjp
Figured it out for those interested: If you are using a fix for the datagrid column visibility issue (where hidden columns show themselves again when bound to an arraycollection) as described here . Use the solut

[flexcoders] Re: TabNavigator+States=Crash

2008-01-28 Thread Fidel Viegas
Jernome> After looking through the source code to how it works... Jernome> it is not a bug Jerome> :p... my mistake Jerome> What's happening is the tab navigator doesn't create all Jerome> the children because the property "creationPolicy" is set Jerome> to "auto" the Flex framework checks to see

Re: [flexcoders] Re: TabNavigator+States=Crash

2008-01-28 Thread Jerome Clarke
After looking through the source code to how it works... it is not a bug :p... my mistake What's happening is the tab navigator doesn't create all the children because the property "creationPolicy" is set to "auto" the Flex framework checks to see if the property "target" is true ( in your case te

[flexcoders] Re: TabNavigator+States=Crash

2008-01-28 Thread Fidel Viegas
Muzak wrote: Muzak>read up on creationPolicy. Muzak>http://livedocs.adobe.com/flex/201/langref/mx/core/Container.html#creationPolicy Yep, you should read that. I have experienced the same problem until I actually discovered that accidentally. Then, I went to read the manual, and everything was th

[flexcoders] Re: TabNavigator button customisation

2008-01-23 Thread hmmmbeer3
--- In flexcoders@yahoogroups.com, "Dale Fraser" <[EMAIL PROTECTED]> wrote: > > Try this > > > > http://www.flexibleexperiments.com/Flex/ExtendedTabNavigator/Sample.ht ml > > > > Regards > > Dale Fraser > > > > http://learncf.com > Yep. Now I have a choice. Bugger. Thanks.

[flexcoders] Re: TabNavigator button customisation

2008-01-23 Thread hmmmbeer3
--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote: > > u mean like this? > http://flexlib.googlecode.com/svn/trunk/examples/SuperTabNavigator/Super TabNavigator_Sample.swf > the source code is there too, superTabNaviagtor > http://code.google.com/p/flexlib/wiki/ComponentLis

[flexcoders] Re: TabNavigator hide/show tabs

2007-11-08 Thread nasawebguy
This seems to do the trick in my case...courtesy of flexcoder Cato Paus http://www.umbrellacorp.no and SearchCoders. Different problem, but I modified it to meet my needs. Not sure why this works... target.getTabAt(i).visible= false; and not the getChildAt, removeChildAt things I tried but it do

Re: [flexcoders] Re: TabNavigator hide/show tabs

2007-11-08 Thread Ralf Bokelberg
Use a Viewstack and a TabBar and update the dataProvider of the TabBar whenever the permissions change. Cheers Ralf. On Nov 8, 2007 7:47 PM, Scott Melby <[EMAIL PROTECTED]> wrote: > > > > > > > Should be possible to remove child using something like the following. In > fact I believe this should

Re: [flexcoders] Re: TabNavigator hide/show tabs

2007-11-08 Thread Scott Melby
Should be possible to remove child using something like the following. In fact I believe this should work with regular TabNavigator as well. tabNav.removeChildAt(index); tabNav.invalidateDisplayList(); hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com nasawebg

[flexcoders] Re: TabNavigator hide/show tabs

2007-11-08 Thread nasawebguy
Thanks Scott. I look it over some...very nice. But, I don't readily see an option to programmatically close a specific tab. --- In flexcoders@yahoogroups.com, Scott Melby <[EMAIL PROTECTED]> wrote: > > You may be better off using the SuperTabBar >

[flexcoders] Re: TabNavigator and includeInlayout

2007-10-22 Thread johantrax
Apologies for the late reply, I have been busy with some other project. I'll check out the superTabNavigator as suggested, will post subsequent data on failure. --Johan --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > includeInLayout is a flag on UIComponent and the

[flexcoders] Re: tabNavigator - dynamic tabs?

2007-09-25 Thread pauscato
Hi Byte hope this helps :) private function tabNavigatorCreatonCompleteHandler(event:FlexEvent):void{ // setup TabNavigator var target:TabNavigator = TabNavigator(event.target); for(var i:int = 1; i < target.numChildren; i++){ target.getTabAt(i).visible= false;

[flexcoders] Re: tabNavigator - dynamic tabs?

2007-09-25 Thread Cato Paus
Hi Byte.. Hope this helps private function tabNavigatorCreatonCompleteHandler(event:FlexEvent):void{ // setup TabNavigator var target:TabNavigator = TabNavigator(event.target); for(var i:int = 1; i < target.numChildren; i++){ //target.getTabAt(i).enabled=false;

[flexcoders] Re: TabNavigator and Text

2007-04-23 Thread scalenine
Looks like you already did that. Nevermind. --- In flexcoders@yahoogroups.com, "scalenine" <[EMAIL PROTECTED]> wrote: > > Try setting creationPolicy="all". > > http://livedocs.adobe.com/flex/201/langref/mx/core/Container.html#creationPolicy > > Juan > scalenine.com > > --- In flexcoders@yahoogr

[flexcoders] Re: TabNavigator and Text

2007-04-23 Thread scalenine
Try setting creationPolicy="all". http://livedocs.adobe.com/flex/201/langref/mx/core/Container.html#creationPolicy Juan scalenine.com --- In flexcoders@yahoogroups.com, "Matt" <[EMAIL PROTECTED]> wrote: > > I'm dynamically creating content with ActionScript and I create a > TabNavigator (set cre

[flexcoders] Re: TabNavigator Tab BackgroundImage

2007-02-02 Thread potentialunfounded
Check out http://www.scalenine.com . I just added a theme based on the soon to be released Yahoo Messenger for Windows Vista. There's a lot of samples and source files that I think could help. Basically to set a background image for a tab you have to specify a tabStyle in the TabNavigator attribut

[flexcoders] Re: TabNavigator and SWFLoaders problem

2006-12-18 Thread durnelln
Thanks Angus. I checked my code and I am not setting width/height on the SWFLoader before setting percentHeight and percentWidth. However despite setting them both to 100% on the SWFLoaders, the loaders on all tabs apart from the first one end up with width=0 and height=0 once loaded. Can any

RE: [flexcoders] Re: TabNavigator issue

2006-05-30 Thread naveen kumar
Thanks for replay, I am using flex1.5 , and there are two properties in specific to TabNavigator, widht, PreferedWidth >From: "rama satoskar" <[EMAIL PROTECTED]> >Reply-To: flexcoders@yahoogroups.com >To: flexcoders@yahoogroups.com >Subject: [flexcoders] Re: T

[flexcoders] Re: TabNavigator issue

2006-05-30 Thread rama satoskar
Are u sure there is a property as PreferredWidth and width in a tabNavigator(Beta3)?? Coz when i looked through the help files i found only 'width' and ' 'percentWidth' PercentWidth is defined as: Number that specifies the width of a component as a percentage of its parent's size. Are u talki

Re: [flexcoders] Re: TabNavigator & Accordion crashing when on another state

2006-05-22 Thread Josh Buhler
Ethan - Thanks for the info - I just found the updated thread on labs, and got your message a few minutes later. I added the historyManagementEnabled = false, and it worked great.Hopefully this one will get fixed soon, as it's something I could see happening fairly often if not fixed.- JoshOn May

[flexcoders] Re: TabNavigator & Accordion crashing when on another state

2006-05-22 Thread ekokurtz
Josh, I had the same trouble and had also posted on here about it looking for answer.  I was able to get a reply from an Adobe person via the Adobe/Macromedia forums -    set the historyManagementEnabled attribute = false for the tab,    accordion, etc.  This is a bug with the current beta

Re: [flexcoders] Re: TabNavigator & Accordion crashing when on another state

2006-05-22 Thread Josh Buhler
Yeah, I tried that, but it didn't make a difference. The weird thing was that the error only happened when running the swf within an HTML page. If I ran the swf by itself, either in the browser or stand-alone player, it worked fine.- JoshOn May 22, 2006, at 11:47 AM, Tim Hoff wrote: Are you sure

[flexcoders] Re: TabNavigator & Accordion crashing when on another state

2006-05-22 Thread Tim Hoff
Are you sure that setting creationPolicy="all" on the Accordion's container doesn't remove the null error? -TH --- In flexcoders@yahoogroups.com, Josh Buhler <[EMAIL PROTECTED]> wrote: > > Just wondering if anyone here has found a workaround to the issue  > that's described in this thread fr

[flexcoders] Re: TabNavigator Bug Flex 2 Beta 2

2006-03-23 Thread Harris Reynolds
Sreejith, You are correct... this BUG was reporting earlier (see thread below) and I have confirmed that it still exists. Can anyone from Adobe confirm this? ~harris --- In flexcoders@yahoogroups.com, "Jonathan Miranda" <[EMAIL PROTECTED]> wrote: > > It sometimes lays out correctly after you

RE: [flexcoders] Re: TabNavigator in Popwindow issue ?

2006-02-01 Thread Stacey Mulcahy
PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: TabNavigator in Popwindow issue ?   Unless the TabNavigator control was altered for 2.0, you want to look for the "change" event, not "click". Doug --- In flexcoders@yahoogroups.com, "Stacey Mulcahy&qu

[flexcoders] Re: TabNavigator in Popwindow issue ?

2006-02-01 Thread douglowder
Unless the TabNavigator control was altered for 2.0, you want to look for the "change" event, not "click". Doug --- In flexcoders@yahoogroups.com, "Stacey Mulcahy" <[EMAIL PROTECTED]> wrote: > > I seem to be having an issue getting the click event from the Tab Navigator > when its in a popu

[flexcoders] Re: TabNavigator styles

2005-10-20 Thread gulfsprite
I solved this using a stylesheet, a TabBar and a Viewstack. I'm new to Flex so there may be a better way but this works for me. - Christy Here's an example: function setTabStyles2() { //this can be inside a loop to avoid hardcoding of indices. tb1.getChildAt(0).st

[flexcoders] Re: TabNavigator tabs style

2005-07-27 Thread bhaq1972
It looks like i've offended you. i apologize sincerely. this group has been and still is very helpful to me. so i dont want to offend anyone. --- In flexcoders@yahoogroups.com, Sreejith Unnikrishnan <[EMAIL PROTECTED]> wrote: > Either one can read the mind or the mail :-) > No point in asking

[flexcoders] Re: TabNavigator tabs style

2005-07-27 Thread zipo13
_ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sreejith Unnikrishnan > Sent: mardi 26 juillet 2005 13:00 > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Re: TabNavigator tabs style > > > Hi Philip

Re: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Sreejith Unnikrishnan
Either one can read the mind or the mail :-) No point in asking to read somebody else's reply! /"have you tried Matt's recommendation i.e. use the styleName property?"/ Anyways, dont worry! You dont get negative scores on this forum. Everybody wins. :-) Thanks for taking the time. bhaq1972 wrote

[flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread bhaq1972
Hi Sree >Now back to the question, if I want to assign corner-radius to only ONE tabNavigator, how do I do it! I'm glad you found your answer. I'm no mind reader, my answer was based on what you asked. What you actually wanted to know was how do to assign the corner- radius for the tabBar in

RE: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Philippe Maegerman
he tabBar property ;)   Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sreejith UnnikrishnanSent: mardi 26 juillet 2005 13:00To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: TabNavigator tabs style Hi Philippe, thats damn good!That is all we need

Re: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Sreejith Unnikrishnan
r des rêves, c'est continuer d'exister...   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sreejith Unnikrishnan Sent: mardi 26 juillet 2005 12:19 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: TabNavigator tabs style

RE: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Philippe Maegerman
I couldn't manage to do it with styles, but came up with some actionscript ;)   It will style all the TabNavigator tabs, but you could easily changeit to update only one tab by passing it's index as an argument ;))   http://www.macromedia.com/2003/mxml">

Re: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Sreejith Unnikrishnan
Hi, You did not say whether you tried and it worked :-) Run thecode below. Look out for the following. Corner-radius is the radius applied to the Navigator and NOT the tabs (desired) when applied using styleName Comment and UnComment the Tab style to see the difference. All the tabs

[flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread bhaq1972
Hi Sreejith, > Infact the question is very simple. > > How do you set corner-radius = 10 to one TabNavigator and corner- radius > = 0 on another in the same application! > I've given up! :-( > have you tried Matt's recommendation i.e. use the styleName property? eg (btw i added your styleshee

Re: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Sreejith Unnikrishnan
ppe Maegerman From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of zipo13 Sent: mardi 26 juillet 2005 8:30 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: TabNavigator tabs style I don't think its possible to set 2 styles to the same control. After loo

RE: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Philippe Maegerman
now that you are talking about TabNavigator, I didn't try.   Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of zipo13Sent: mardi 26 juillet 2005 8:30To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: TabNavigator tabs style I don't th

[flexcoders] Re: TabNavigator tabs style

2005-07-25 Thread zipo13
I don't think its possible to set 2 styles to the same control. After looking at the code of TabNavigator I found that it has a member of tabBar and that this tabBar creates children of an inner class that are not exposed (mx.containers.tabclasses.Tab) since the tabBar creates these dynamicly I don

[flexcoders] Re: TabNavigator gimmick

2005-06-21 Thread joao_m_fernandes
Mika tab navigator doesn't support click event but change event. http://livedocs.macromedia.com/flex/15/asdocs_en/ Package > mx.Containers Classes > TabNavigator Scroll down to the events list. João Fernandes --- In flexcoders@yahoogroups.com, "Mika Kiljunen" <[EMAIL PROTECTED]> wrote: > Tha