[flexcoders] Re: depth problems, some help needed please

2007-11-18 Thread Mark
Thanks...
I tried that and it worked but it also swapped position as well.  Now it didn't 
swap position 
until you resize the window, but it did it.  So it went from Label, Flash, 
Label to Label, 
Label, Flash.  Any thoughts as to why that would happen?

Thanks




--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:

 
 Hi Mark,
 
 To change the depth, you can use the swapChildren() method:
 
 public function swapChildren(child1:DisplayObject
 http://127.0.0.1:60064/help/topic/com.adobe.flexbuilder.help/langref/fl\
 ash/display/DisplayObject.html , child2:DisplayObject
 http://127.0.0.1:60064/help/topic/com.adobe.flexbuilder.help/langref/fl\
 ash/display/DisplayObject.html ):void
 http://127.0.0.1:60064/help/topic/com.adobe.flexbuilder.help/langref/sp\
 ecialTypes.html#void
 
 -TH
 __
 
 Tim Hoff
 Cynergy Systems  |  Technical Lead
 3603 5th Ave. Suite A, San Diego, CA 92103
 http://www.cynergysystems.com http://www.cynergysystems.com
 
 --- In flexcoders@yahoogroups.com, Mark pusateri02@ wrote:
 
  I have a Flash CS3 component that pops up a small text box on roll-
  overs. Those Flash text pop-ups come up behind Flex Labels. Is there
  a way to control the depth of each component? The layout of these
  components are:
 
  HBox
  Label Left -- Flash Comp. -- Label Right
 
  Any ideas? Can I control this in Flash or Flex?
 
  Thanks,
  Mark
 






RE: [flexcoders] Scrollbar weirdness

2007-11-18 Thread Shaun Mccran
Its just the slider, your right in that if i’ve got a very long column the
scrollbar shrinks right down as thats the only one you can see. Was
wondering if there is a setheight property or something?

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: 16 November 2007 19:26
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Scrollbar weirdness

 

Don’ t have time to set this up right now.  Is the scrollbar changing height
or just the thumb?  The thumb should change height since it represents the
percentage of total rows that you can see.

 

   _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Shaun Mccran
Sent: Friday, November 16, 2007 10:15 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Scrollbar weirdness

 

No thoughts on this?

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of smccran
Sent: 15 November 2007 15:10
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Scrollbar weirdness

 

Hi all,
I have a datagrid that has longer data in some rows than others. The 
problem is that my scrollbar is changing size! Does anyone know how 
to stop the scrollbar changing height?

A sample code is below.

Thanks
Shaun

Code:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=HYPERLINK
http://www.adobe.com/2006/mxmlhttp://www.adobe.com/2006/mxml;

mx:XMLList id=employees
employee
nameChristina Coenraets/name
phone555-219-2270/phone
emailHYPERLINK
mailto:ccoenraets%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameJoanne Wall/name
phone555-219-2012/phone
emailHYPERLINK mailto:jwall%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMaurice Smith/name
phone555-219-2012/phone
emailHYPERLINK
mailto:maurice%40fictitious.com[EMAIL PROTECTED]/email
activefalse/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHeadmaster of Hogwarts School of Witchcraft and 
Wizardry 

Order of Merlin and other honors. 

Chocolate Frog card: Considered by many the greatest wizard of 
modern times. Dumbledore is particularly famous for his defeat of the 
dark wizard Grindelwald in 1945, for the discovery of the twelve uses 
of dragon's blood, and his work on alchemy with his partner, Nicolas 
Flamel. Prof. Dumbledore enjoys chamber music and tenpin 
bowling. 

Nitwit! Blubber! Oddment! Tweak! 

Shining silver hair. 

Men have wasted away before [the Mirror of Erised], entranced by 
what they have seen, or been driven mad, not knowing if what it shows 
is real or even possible. 

Rigged mirror to help those who wanted to find the stone but not.

Nitwit! Blubber! Oddment! Tweak! 

Shining silver hair. 

Men have wasted away 

[flexcoders] Traverse a Model

2007-11-18 Thread Ben Marchbanks
I have a model which I would like to walk to get key/values to update
the server with any changes.

The following works fine to get each value,but is there a simple way
to get the key as well ?

for each(var item in myModel){
  trace(item)
}



[flexcoders] className question

2007-11-18 Thread candysmate
I have an itemRenderer declared as:

mx:itemRenderer
  mx:Component className =rendererStyle
mx:Text

/mx:Text
  /mx:Component
/mx:itemRenderer

If I use this again elsewhere I get an error 'class name specified
more then once in document'.

But I thought the whole idea behind class names was to be able to
'group' components for styling etc ...?



Re: [flexcoders] TabNavigator no child selected

2007-11-18 Thread Rico Leuthold
I tried that. The problem is the tabBar (where I have to change the  
border color as well) which is not acessible from the TabNavigator.
The only way I found so far is to change the styleName property of  
the TabNavigator, but this is an extremly slow action (around two  
seconds).


tanks_rico


On 15.11.2007, at 18:39, Alex Harui wrote:



You could try changing skins/styles on the inactive one.



From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of rleuthold

Sent: Thursday, November 15, 2007 12:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TabNavigator no child selected



Hi,

Is it possible to set a TabNavigator to have no child selected with  
Action Script. I need it, cause
there are two tabNavigators in my App and I want to have the  
selected skin (red border) only

active in one of the TabNavigators.

Thank's

_rico






...
Rico Leuthold
[EMAIL PROTECTED]
+41(0)76 512 05 50
...




[flexcoders] Re: AMFPHP 1.9 security problem

2007-11-18 Thread danielvlopes
Now i understando how use beforefilter, but my question is:

I had a little big app in flex using amfphp, i had 11 classes inside
services folder, but the problem is if any user create a flex app and
point the path to my gateway (using absolute path) they can access all
my methods.

I need create login, logout methods in all my classes? Exist some way
to create those authencation methods in one place and use this for all
amfphp requests?

Thanks for attention and thanks for the link.

--- In flexcoders@yahoogroups.com, danielvlopes [EMAIL PROTECTED]
wrote:

 Thanks Muzak, i will try use this code with session in php. ;-)
 
 
 --- In flexcoders@yahoogroups.com, Muzak p.ginneberge@ wrote:
 
  See if this helps:
 

http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=3201
  
  regards,
  Muzak
  
  - Original Message - 
  From: danielvlopes danielvlopes@
  To: flexcoders@yahoogroups.com
  Sent: Friday, November 16, 2007 5:21 AM
  Subject: [flexcoders] Re: AMFPHP 1.9 security problem
  
  
  I found this topic in sephirot forum,
  http://www.sephiroth.it/phpBB/showthread.php?t=7966, they said use
  authenticate class in beforefilter amfphp function, i try look on this
  class in my amfphp folder but i don't understand how use... everything
  i found about authenticate in amfphp is for amfphp 1.2 and i using
  1.9beta 2 .
  
  Anyone can help?
 





[flexcoders] Re: Check if class implements interface at runtime

2007-11-18 Thread ben.clinkinbeard
Pretty sure this has been answered before so search the archives to
confirm, but I think you have to use describeType().

HTH,
Ben



--- In flexcoders@yahoogroups.com, Hrundik [EMAIL PROTECTED] wrote:

 Hello!
 
 There is a way to check if object is an instance of some class and
 implements the interface:
 
 if(myobj is MyInterface) {...}
 
 But is there a way to check if class created at runtime implements
 certain interface?
 
 This way doesn't work (MyClass implements MyInterface):
 
 var myClassName : String = MyClass;
 var myclass : Class = flash.utilsgetDefinitionByName (myClassName);
 if(myclass is MyInterface){...}
 
 And i think it shouldn't, cause Class class extends Object class.
 
 -- 
 With kindest regards,
   Nikita  Petrov aka Hrundikmailto:[EMAIL PROTECTED]





[flexcoders] Re: Help with sequential function calls

2007-11-18 Thread arieljake
It seems as if your call to getMission updates the Text with the new
value directly, but that could happen before the fade effect is
complete. Instead, collaborate between the getMission function and an
event listener on fadeOut that is listening for the effectEnd event to
manage updating the text. 

In the getMission function, if the effect has ended, update the text,
otherwise, save the new text into a variable. In the event listener on
the effect, if the new text has arrived, update the text, otherwise,
update a variable to indicate that the effect has ended.

You could also put this logic into one function that gets called from
both getMission and the event listener.



[flexcoders] Flex 2.0.1: Can shared objects be saved in any location that we want?

2007-11-18 Thread handitan
Trying to see if that can be done.

I am trying to saved shared objects in my thumb drive but no result so 
far.

Any thoughts?



[flexcoders] AIR: Has anyone released AIR product commercially?

2007-11-18 Thread handitan
I am just wondering if anyone has done that?
And would like to know your experience since it's still in Beta?

Thank you.



[flexcoders] Re: Error 1009 When Calling a WebService

2007-11-18 Thread bobignacio
Hey Jay,

When looking at the WSDL from weather.gov:

 http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl

These are the following sections of the WSDL which is posted which you
are attempting to use:

message name=NDFDgenByDayRequest
 part name=latitude type=xsd:decimal/
 part name=longitude type=xsd:decimal/
 part name=startDate type=xsd:date/
 part name=numDays type=xsd:integer/
 part name=format type=typens:formatType/
/message

message name=NDFDgenByDayResponse
 part name=dwmlByDayOut type=xsd:string/
/message

In your flex application, reexamine that the method name is spelled
correctly (NDFDgenByDay),  all of your arguments are spelled correctly
(latitude, longitude, etc.) and check the case of your spelling as
well. Also double check that what you are sending are not null.

Posting a snippet of your code may help as well.

Hope this gives you some more clues...

Bob I.

--- In flexcoders@yahoogroups.com, jaywood58 [EMAIL PROTECTED] wrote:

 Thanks Bob... that's a very helpful tag that I didn't know about. 
 
 The trace shows I'm getting as far as encoding soap request body 
 before the error crops up - seems to suggest something wrong with my 
 input args?? 



RE: [flexcoders] Check if class implements interface at runtime

2007-11-18 Thread Alex Harui
It will probably be most efficient to create an instance and test it

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Hrundik
Sent: Sunday, November 18, 2007 8:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Check if class implements interface at runtime

 

Hello!

There is a way to check if object is an instance of some class and
implements the interface:

if(myobj is MyInterface) {...}

But is there a way to check if class created at runtime implements
certain interface?

This way doesn't work (MyClass implements MyInterface):

var myClassName : String = MyClass;
var myclass : Class = flash.utilsgetDefinitionByName (myClassName);
if(myclass is MyInterface){...}

And i think it shouldn't, cause Class class extends Object class.

-- 
With kindest regards,
Nikita Petrov aka Hrundik mailto:[EMAIL PROTECTED] mailto:me%40hrundik.ru 

 



RE: [flexcoders] className question

2007-11-18 Thread Alex Harui
I think the second time you just do itemRenderer=rendererStyle

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of candysmate
Sent: Sunday, November 18, 2007 6:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] className question

 

I have an itemRenderer declared as:

mx:itemRenderer
mx:Component className =rendererStyle
mx:Text
/mx:Text
/mx:Component
/mx:itemRenderer

If I use this again elsewhere I get an error 'class name specified
more then once in document'.

But I thought the whole idea behind class names was to be able to
'group' components for styling etc ...?

 



RE: [flexcoders] Scrollbar weirdness

2007-11-18 Thread Alex Harui
There might be a way to set minHeight of the thumb, but there's no
obvious API for it.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Shaun Mccran
Sent: Sunday, November 18, 2007 4:11 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Scrollbar weirdness

 

Its just the slider, your right in that if i've got a very long column
the scrollbar shrinks right down as thats the only one you can see. Was
wondering if there is a setheight property or something?

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: 16 November 2007 19:26
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Scrollbar weirdness

 

Don' t have time to set this up right now.  Is the scrollbar changing
height or just the thumb?  The thumb should change height since it
represents the percentage of total rows that you can see.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Shaun Mccran
Sent: Friday, November 16, 2007 10:15 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Scrollbar weirdness

 

No thoughts on this?

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of smccran
Sent: 15 November 2007 15:10
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Scrollbar weirdness

 

Hi all,
I have a datagrid that has longer data in some rows than others. The 
problem is that my scrollbar is changing size! Does anyone know how 
to stop the scrollbar changing height?

A sample code is below.

Thanks
Shaun

Code:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 

mx:XMLList id=employees
employee
nameChristina Coenraets/name
phone555-219-2270/phone
email[EMAIL PROTECTED] mailto:ccoenraets%40fictitious.com
/email
activetrue/active
/employee
employee
nameJoanne Wall/name
phone555-219-2012/phone
email[EMAIL PROTECTED] mailto:jwall%40fictitious.com /email
activetrue/active
/employee
employee
nameMaurice Smith/name
phone555-219-2012/phone
email[EMAIL PROTECTED] mailto:maurice%40fictitious.com /email
activefalse/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHeadmaster of Hogwarts School of Witchcraft and 
Wizardry 

Order of Merlin and other honors. 

Chocolate Frog card: Considered by many the greatest wizard of 
modern times. Dumbledore is particularly famous for his defeat of the 
dark wizard Grindelwald in 1945, for the discovery of the twelve uses 
of dragon's blood, and his work on alchemy with his partner, Nicolas 
Flamel. Prof. Dumbledore enjoys chamber music and tenpin 
bowling. 

Nitwit! Blubber! Oddment! Tweak! 

Shining silver hair. 

Men have wasted away before [the Mirror of Erised], entranced by 
what they have seen, or been driven mad, not 

Re: [flexcoders] Vertical scrolling without horizontal scrolling? How do I make 100% == 100% of available width?

2007-11-18 Thread Josh McDonald
To sum it up, am I correct in my conclusion that it's impossible to
have a vertical scrollbar without a horizontal scrollbar on any
container that contains any component with the right='something'
attribute set?

I hope I'm wrong, that's annoying as hell.

-Josh

On Nov 15, 2007 5:35 PM, Alex Harui [EMAIL PROTECTED] wrote:









 As long as it is small enough to not cause the hbar to come on



  


 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Josh McDonald
  Sent: Wednesday, November 14, 2007 4:52 PM


  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Vertical scrolling without horizontal scrolling?
 How do I make 100% == 100% of available width?







 Does it have to be 0, or can I go with something like 200 or so? It
  irks me that when you shrink the browser window you get a million
  scrollbars in every nested container :)

  I know I'm probably a pain, but I'm determined to master Flex.

  -Josh

  On Nov 14, 2007 5:45 PM, Alex Harui [EMAIL PROTECTED] wrote:
  
  
  
  
  
  
  
  
  
   I think you want the content to use 100% but have minWidth=0. You're
   hitting an obscure 'rule' of flex that we don't shrink containers when
 they
   decide to put up scrollbars else it could propagate scrollbars down to
 its
   children. Also, if or when you know you want scrollbars, changing the
   policy to on will factor the scrollbars into the layout. minWidth
 usually
   solves it though.
  
  
  
   
  
  
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
   Behalf Of Josh McDonald
   Sent: Tuesday, November 13, 2007 11:13 PM
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Vertical scrolling without horizontal
 scrolling?
   How do I make 100% == 100% of available width?
  
  
  
  
  
  
  
   The content is set up to be in some cases 100%, otherwise it's
   anchored to top/bottom/sides.
  
   If I have the container (vbox) anchored to the bottom of the
   application, or no height specifcation at all, or any %, it simply
   grows out and i get the dual scrollbars. If i specify a pixel height,
   the container itself gets a scrollbar and everything works fine. Is
   there no way to have a container that has an anchored to the
   application minimum size, but will scroll internally if it needs to?
   I imagine setting the height to a pixel size when the application
   detects a resize would achieve the results I'm after, but that's
   awfully kludgey.
  
   I feel like I'm trying to do CSS-based design in HTML :-/
  
   -Josh
  
   On Nov 14, 2007 4:49 PM, Alex Harui [EMAIL PROTECTED] wrote:
   
   
   
   
   
   
   
   
   
Does the content need to fill the width of the container? If it does, I
think you'll always get an hbar since even narrowing it would obscure
content.
   
   
   
Otherwise, try setting minWidth=0 on the content items and maybe the
container as well.
   
   
   

   
   
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Tuesday, November 13, 2007 10:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Vertical scrolling without horizontal scrolling?
   How
do I make 100% == 100% of available width?
   
   
   
   
   
   
   
Hi guys,
   
I'm having a problem where as soon as my content goes taller than a
container (be it the application, or a panel) and a vertical scrollbar
is needed, it simply covers up some of the container rather than
narrowing it. This of course creates a horizontal scrollbar as well.
Is there an easy way to get around this? It's really the last thing I
want, and to me seems like the last thing anybody would want. I'm sure
it's something simple, but it's just one of those things that appears
difficult to google for :)
   
Any help appreciated :)
   
-Josh
   
--
This is crazy! Why are we talking about going to bed with Wilma
Flintstone... She'll never leave Fred and we know it. 
   
:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]
   
   
  
   --
  
   This is crazy! Why are we talking about going to bed with Wilma
   Flintstone... She'll never leave Fred and we know it. 
  
   :: Josh 'G-Funk' McDonald
   :: 0437 221 380 :: [EMAIL PROTECTED]
  
  
  

  --

  This is crazy! Why are we talking about going to bed with Wilma
  Flintstone... She'll never leave Fred and we know it. 

  :: Josh 'G-Funk' McDonald
  :: 0437 221 380 :: [EMAIL PROTECTED]


  



-- 
This is crazy! Why are we talking about going to bed with Wilma
Flintstone... She'll never leave Fred and we know it. 

 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]


Re: [flexcoders] Re: Programmatic control over a (H|V)Box gap width?

2007-11-18 Thread Josh McDonald
They don't seem to exist, that's the problem. They're in the MXML
markup, but not in the classes.

-Josh

On Nov 15, 2007 2:42 PM, srikanth_reddy_007 [EMAIL PROTECTED] wrote:






 use horizontalGap and verticalGap properties of the component.



  --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:
  
   Is it possible? I can't find any mention of it in the API documentation.
  
   Cheers,
   -Josh
  
   --
   This is crazy! Why are we talking about going to bed with Wilma
   Flintstone... She'll never leave Fred and we know it. 
  
   :: Josh 'G-Funk' McDonald
   :: 0437 221 380 :: [EMAIL PROTECTED]
  

  



-- 
This is crazy! Why are we talking about going to bed with Wilma
Flintstone... She'll never leave Fred and we know it. 

 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]


[flexcoders] Date Sort Question

2007-11-18 Thread Kevin
The docs say this about the default compare function used in  
SortField assignments:

(from Class SortField )
The default value is an internal compare function that can perform a  
string, numeric, or date comparison in ascending or descending order,  
with case-sensitive or case-insensitive string comparisons. Specify  
your own function only if you need a need a custom comparison  
algorithm.

But I have found that I must implement a custom sort function to make  
sorting on a date field work.  Am I doing something wrong or are the  
docs mislead in saying that the default compare function can handle  
date sorting?

Thanks, Kevin


[flexcoders] Drag by panel header [DragPanel, createPopUp(), addPopUp() ]

2007-11-18 Thread keszeli
Hey ya all!  [:D]

First of all check out http://metroklub.sk/Main/bin/Main.html .. the
source is viewable.. I'm trying to add some buttons in the tittle part
of the panel component.. so far it's working beautifully.. I had to
embedded the panel component inside of the Canvas and so on.. and so
on.. the only problem I have with it is that I would like my panel to be
dragged only by a tittle header. I tried it with DragPanel component
[you can see DragPanel.as] but then the canvas in witch the
buttonsdragpanel are is not moving with the same velocity as DragPanel 
[:(]  . Then I also tried  createPopUp() method but  I failed with
implementation.. so pls help me out with this one..



Re: [flexcoders] Date Sort Question

2007-11-18 Thread Kevin

Ahh.. I looked at the source and realized what I was doing wrong.

The way the code is written, if you pass the sort field constructor a  
value of 'true' for caseInsensitive then it automatically does a  
string compare on the field.  This makes sense and is actually a good  
way to enforce a string compare on a data field if that is what you  
want.  However, you just need to be careful if you accidentally put  
'true' in there as you are copying and pasting code from other  
SortField objects... like me!


This does a String compare:
new SortField(myDate,true);

This does a Date compare:
new SortField(myDate);

- Kevin


On Nov 18, 2007, at 8:18 PM, Kevin wrote:


The docs say this about the default compare function used in
SortField assignments:

(from Class SortField )
The default value is an internal compare function that can perform a
string, numeric, or date comparison in ascending or descending order,
with case-sensitive or case-insensitive string comparisons. Specify
your own function only if you need a need a custom comparison
algorithm.

But I have found that I must implement a custom sort function to make
sorting on a date field work. Am I doing something wrong or are the
docs mislead in saying that the default compare function can handle
date sorting?

Thanks, Kevin






[flexcoders] Re: Drag by panel header [DragPanel, createPopUp(), addPopUp() ]

2007-11-18 Thread ben.clinkinbeard
Maybe this could meet your needs?
http://www.returnundefined.com/2007/09/announcing-flexmdi-robust-extensible-mdi-framework-for-adobe-flex/

HTH,
Ben


--- In flexcoders@yahoogroups.com, keszeli [EMAIL PROTECTED] wrote:

 Hey ya all!  [:D]
 
 First of all check out http://metroklub.sk/Main/bin/Main.html .. the
 source is viewable.. I'm trying to add some buttons in the tittle part
 of the panel component.. so far it's working beautifully.. I had to
 embedded the panel component inside of the Canvas and so on.. and so
 on.. the only problem I have with it is that I would like my panel to be
 dragged only by a tittle header. I tried it with DragPanel component
 [you can see DragPanel.as] but then the canvas in witch the
 buttonsdragpanel are is not moving with the same velocity as DragPanel 
 [:(]  . Then I also tried  createPopUp() method but  I failed with
 implementation.. so pls help me out with this one..





[flexcoders] Customizing Chart ToolTips to format Y axis value as Currency

2007-11-18 Thread cuddlygunchi
Hello,

I love the way the default tooltips work in the charts.

However, I would like to customize the Y axis value shown in the 
tooltip so that it is formatted as a currency with the dollar sign and 
comma separators.

How can I extend the current tooltip behaviour to include this 
formatting without having to create the whole tooltip renderer ?

Many Thanks,
Aman





[flexcoders] Re: List renderer's malfunction because of Bitmap

2007-11-18 Thread icepaco33
Unless the same renderers can be at multiple places at once that's not
a valid hypothesis because the problem affects multiple items and will
occur after I add the bitmap to only 1 renderer.



--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 Maybe their backgrounds have become opaque.  Renderers get recycled so
 one instance can end up somewhere else in the list.  Make the textarea
 smaller than it should be and see if you can see the selection peeking
 out from behind.
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of icepaco33
 Sent: Friday, November 16, 2007 4:17 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: List renderer's malfunction because of Bitmap
 
  
 
 If I understand what you're saying then once I put the bitmap in place
 I should no longer be able to select / highlight the same renderer...
 
 However the problem is that I can no longer select the other renderers.
 
 The renderer with the bitmap works fine. The others (without bitmap)
 are no longer selectable / rollover able)
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Alex Harui aharui@ wrote:
 
  The bitmap obscures the highlight/selection rectangle.
  
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of icepaco33
  Sent: Friday, November 16, 2007 11:37 AM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] Re: List renderer's malfunction because of
 Bitmap
  
  
  
  Hello,
  my problem isn't the fact that the Bitmap doesn't show, it's that once
  I add the bitmap (using AreaText.AddChild(myBitmap) ) to my renderer
  then I can no longer select or rollover the other item renderers in
  the list...
  
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
  , Alex Harui aharui@ wrote:
  
   The highlight/selection is drawn under the renderer. If the bitmap
   obscures it, you won't see it. You can add your own
  highlight/selection
   over the bitmap by overriding updatedisplaylist, checking
   isItemHighlighted and isItemSelected
   
   
   
   
   
   From: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
  [mailto:flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
  ] On
   Behalf Of icepaco33
   Sent: Thursday, November 15, 2007 7:15 PM
   To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 
   Subject: [flexcoders] List renderer's malfunction because of Bitmap
   
   
   
   Greetings everyone,
   I have a problem with my List item renderer :
   I use a bitmap class (Bitmap) which I put in my TextArea to
 simululate
   a highlighter.
   
   The TextArea is used in a List renderer.
   
   However when I add this Bitmap to the TextArea then the Renderer
   starts to act very weird :
   
   once I 'highlight' a given renderer I can no longer select /
 rollover
   some of the other items in the list.
   
   (However if I remove the bitmap then everything work fine)
   
   Any ideas ?
  
 





[flexcoders] Block entire application while in transaction

2007-11-18 Thread danielvlopes
Hello, i had application with stacks, buttons, inputs and etc... when
user click in insert button it start upload and database insert, but
while those operations happening user can click in other parts of
application, exist some way to set enabled to false for entire
application while transactions ocour?

Thanks.



RE: [flexcoders] Vertical scrolling without horizontal scrolling? How do I make 100% == 100% of available width?

2007-11-18 Thread Alex Harui
Could be true for verticalscrollpolicy=auto.  Feel free to file a bug.
If you set it to on the hbar should go away.  You can also set the
horizontalScrollPolicy=off.  What happens if you set the right to
something larger than the width of the scrollbar?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Sunday, November 18, 2007 4:35 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Vertical scrolling without horizontal
scrolling? How do I make 100% == 100% of available width?

 

To sum it up, am I correct in my conclusion that it's impossible to
have a vertical scrollbar without a horizontal scrollbar on any
container that contains any component with the right='something'
attribute set?

I hope I'm wrong, that's annoying as hell.

-Josh

On Nov 15, 2007 5:35 PM, Alex Harui [EMAIL PROTECTED]
mailto:aharui%40adobe.com  wrote:









 As long as it is small enough to not cause the hbar to come on



 


 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of Josh McDonald
 Sent: Wednesday, November 14, 2007 4:52 PM


 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: Re: [flexcoders] Vertical scrolling without horizontal
scrolling?
 How do I make 100% == 100% of available width?







 Does it have to be 0, or can I go with something like 200 or so? It
 irks me that when you shrink the browser window you get a million
 scrollbars in every nested container :)

 I know I'm probably a pain, but I'm determined to master Flex.

 -Josh

 On Nov 14, 2007 5:45 PM, Alex Harui [EMAIL PROTECTED]
mailto:aharui%40adobe.com  wrote:
 
 
 
 
 
 
 
 
 
  I think you want the content to use 100% but have minWidth=0. You're
  hitting an obscure 'rule' of flex that we don't shrink containers
when
 they
  decide to put up scrollbars else it could propagate scrollbars down
to
 its
  children. Also, if or when you know you want scrollbars, changing
the
  policy to on will factor the scrollbars into the layout. minWidth
 usually
  solves it though.
 
 
 
  
 
 
  From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
  Behalf Of Josh McDonald
  Sent: Tuesday, November 13, 2007 11:13 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com

  Subject: Re: [flexcoders] Vertical scrolling without horizontal
 scrolling?
  How do I make 100% == 100% of available width?
 
 
 
 
 
 
 
  The content is set up to be in some cases 100%, otherwise it's
  anchored to top/bottom/sides.
 
  If I have the container (vbox) anchored to the bottom of the
  application, or no height specifcation at all, or any %, it simply
  grows out and i get the dual scrollbars. If i specify a pixel
height,
  the container itself gets a scrollbar and everything works fine. Is
  there no way to have a container that has an anchored to the
  application minimum size, but will scroll internally if it needs
to?
  I imagine setting the height to a pixel size when the application
  detects a resize would achieve the results I'm after, but that's
  awfully kludgey.
 
  I feel like I'm trying to do CSS-based design in HTML :-/
 
  -Josh
 
  On Nov 14, 2007 4:49 PM, Alex Harui [EMAIL PROTECTED]
mailto:aharui%40adobe.com  wrote:
  
  
  
  
  
  
  
  
  
   Does the content need to fill the width of the container? If it
does, I
   think you'll always get an hbar since even narrowing it would
obscure
   content.
  
  
  
   Otherwise, try setting minWidth=0 on the content items and maybe
the
   container as well.
  
  
  
   
  
  
   From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
   Behalf Of Josh McDonald
   Sent: Tuesday, November 13, 2007 10:24 PM
   To: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
   Subject: [flexcoders] Vertical scrolling without horizontal
scrolling?
  How
   do I make 100% == 100% of available width?
  
  
  
  
  
  
  
   Hi guys,
  
   I'm having a problem where as soon as my content goes taller than
a
   container (be it the application, or a panel) and a vertical
scrollbar
   is needed, it simply covers up some of the container rather than
   narrowing it. This of course creates a horizontal scrollbar as
well.
   Is there an easy way to get around this? It's really the last
thing I
   want, and to me seems like the last thing anybody would want. I'm
sure
   it's something simple, but it's just one of those things that
appears
   difficult to google for :)
  
   Any help appreciated :)
  
   -Josh
  
   --
   This is crazy! Why are we talking about going to bed with Wilma
   Flintstone... She'll never leave Fred 

RE: [flexcoders] Re: Programmatic control over a (H|V)Box gap width?

2007-11-18 Thread Alex Harui
I think they are styles and not properties?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Sunday, November 18, 2007 4:37 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Programmatic control over a (H|V)Box gap
width?

 

They don't seem to exist, that's the problem. They're in the MXML
markup, but not in the classes.

-Josh

On Nov 15, 2007 2:42 PM, srikanth_reddy_007 [EMAIL PROTECTED]
mailto:srikanthlives%40yahoo.co.in  wrote:






 use horizontalGap and verticalGap properties of the component.



 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Josh McDonald [EMAIL PROTECTED]
wrote:
 
  Is it possible? I can't find any mention of it in the API
documentation.
 
  Cheers,
  -Josh
 
  --
  This is crazy! Why are we talking about going to bed with Wilma
  Flintstone... She'll never leave Fred and we know it. 
 
  :: Josh 'G-Funk' McDonald
  :: 0437 221 380 :: [EMAIL PROTECTED]
 

 

-- 
This is crazy! Why are we talking about going to bed with Wilma
Flintstone... She'll never leave Fred and we know it. 

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED] mailto:josh%40gfunk007.com 

 



RE: [flexcoders] Re: List renderer's malfunction because of Bitmap

2007-11-18 Thread Alex Harui
Ok, well without a test case I can't really help any more.  All I can do
is point out common problems.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of icepaco33
Sent: Sunday, November 18, 2007 6:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: List renderer's malfunction because of Bitmap

 

Unless the same renderers can be at multiple places at once that's not
a valid hypothesis because the problem affects multiple items and will
occur after I add the bitmap to only 1 renderer.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Alex Harui [EMAIL PROTECTED] wrote:

 Maybe their backgrounds have become opaque. Renderers get recycled so
 one instance can end up somewhere else in the list. Make the textarea
 smaller than it should be and see if you can see the selection peeking
 out from behind.
 
 
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of icepaco33
 Sent: Friday, November 16, 2007 4:17 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Re: List renderer's malfunction because of
Bitmap
 
 
 
 If I understand what you're saying then once I put the bitmap in place
 I should no longer be able to select / highlight the same renderer...
 
 However the problem is that I can no longer select the other
renderers.
 
 The renderer with the bitmap works fine. The others (without bitmap)
 are no longer selectable / rollover able)
 
 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 , Alex Harui aharui@ wrote:
 
  The bitmap obscures the highlight/selection rectangle.
  
  
  
  
  
  From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of icepaco33
  Sent: Friday, November 16, 2007 11:37 AM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] Re: List renderer's malfunction because of
 Bitmap
  
  
  
  Hello,
  my problem isn't the fact that the Bitmap doesn't show, it's that
once
  I add the bitmap (using AreaText.AddChild(myBitmap) ) to my renderer
  then I can no longer select or rollover the other item renderers in
  the list...
  
  --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
  , Alex Harui aharui@ wrote:
  
   The highlight/selection is drawn under the renderer. If the bitmap
   obscures it, you won't see it. You can add your own
  highlight/selection
   over the bitmap by overriding updatedisplaylist, checking
   isItemHighlighted and isItemSelected
   
   
   
   
   
   From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
  [mailto:flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
  ] On
   Behalf Of icepaco33
   Sent: Thursday, November 15, 2007 7:15 PM
   To: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 
   Subject: [flexcoders] List renderer's malfunction because of
Bitmap
   
   
   
   Greetings everyone,
   I have a problem with my List item renderer :
   I use a bitmap class (Bitmap) which I put in my TextArea to
 simululate
   a highlighter.
   
   The TextArea is used in a List renderer.
   
   However when I add this Bitmap to the TextArea then the Renderer
   starts to act very weird :
   
   once I 'highlight' a given renderer I can no longer select /
 rollover
   some of the other items in the list.
   
   (However if I remove the bitmap then everything work fine)
   
   Any ideas ?
  
 


 



Re: [flexcoders] Customizing Chart ToolTips to format Y axis value as Currency

2007-11-18 Thread Brendan Meutzner
Aman,

Have a look at the dataTipFunction for your series.

Brendan


On 11/18/07, cuddlygunchi [EMAIL PROTECTED] wrote:
 Hello,

 I love the way the default tooltips work in the charts.

 However, I would like to customize the Y axis value shown in the
 tooltip so that it is formatted as a currency with the dollar sign and
 comma separators.

 How can I extend the current tooltip behaviour to include this
 formatting without having to create the whole tooltip renderer ?

 Many Thanks,
 Aman






-- 
Brendan Meutzner
http://www.meutzner.com/blog/


Re: [flexcoders] Scrolling/viewstack

2007-11-18 Thread Richard Rodseth
Sorry I missed your response earlier. The first view in the viewstack
is B (the simple one). There is no bleeding, the content is clipped.
No scrollbars on the VS.

I just tried it with view states and get the same problem. If I
reverse the order of the views in the stack or states, I'm OK. So I'm
doing that now, and switching the selected child in a creationComplete
handler. That seems to be an acceptable workaround for now, though I
suppose it also defeats lazy creation.

On 11/16/07, Alex Harui [EMAIL PROTECTED] wrote:


 Which one is the first visible child of the viewstack?



 When you say A does not shrink, does it bleed out the bottom of the VS (turn
 on borders to help see it).  Are there scrollbars on the VS?



  


 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Richard Rodseth
  Sent: Friday, November 16, 2007 1:15 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Scrolling/viewstack






 I have two components A and B in a ViewStack controlled by a link bar.
  B is simple, with no scrolling and some centered content.

  A is quite complex and includes a VBox containing a Repeater
  containing non-scrolling List instances. On its own A performs well
  and the VBox gets it's vertical scrollbar as needed.

  However, in the ViewStack, A does not shrink to match the ViewStack,
  and the VBox does not scroll.

  Update: If I set creationPolicy to all it *does* work. Sounds like a bug,
 no?

  Any ideas? I don't like using creationPolicy all. I suppose I could
  use View States rather than a ViewStack.



  


Re: RE : [flexcoders] 3D Column Chart

2007-11-18 Thread Asim nazir
I am using Flex3DCharts.swc library (October 19, 2006 release) in
Flex 2.0 available as an extension by Adobe Flex. In that library i am
using Column 3D charts.

--
Asim Nazir

On Nov 16, 2007 6:37 PM, Christophe Jolif [EMAIL PROTECTED] wrote:









 Hi Asim,

  Which 3D charts are you using?

  --
  Christophe
  http://flex.ilog.com


   Message d'origine
  De: flexcoders@yahoogroups.com de la part de Asim nazir
  Date: ven. 11/16/2007 6:08
  À: flexcoders@yahoogroups.com
  Objet : [flexcoders] 3D Column Chart



  Hi,

  I am working with 3D column chart which is an extension provided by
  Flex.  I am facing following problem
  - When data is changed in dataProvider of chart, It didnt clear the
  previous columns and add new columns according to new data in the
  chart
  I want to refresh/ re-render the chart when ever data is changed in
  dataProvider.

  I have tried with InvalidateNow(), InvalidateSeriesStyle,
  invalidateData etc but didnt work. Now as a work around i remove
  that chart from parent.. i-e this.removeChild(3Dchart) and add it
  again, though the problem is solved by doing so.. but it leads to an
  other problem. After doing so the Xaxis, Yaxis and Zaxis angles are
  reset to zero it tried to set them again at the time of adding the
  charts again but didnt work.

  - Any thoughts in re-rendring the 3D column chart in better way so
  that its angles dont reset.

  Thanks in advance.

  --
  Asim Nazir


  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links




  


Re: [flexcoders] Re: Programmatic control over a (H|V)Box gap width?

2007-11-18 Thread Josh McDonald
Yeah you're right, cheers!

On Nov 19, 2007 1:19 PM, Alex Harui [EMAIL PROTECTED] wrote:









 I think they are styles and not properties?



  


 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Josh McDonald
  Sent: Sunday, November 18, 2007 4:37 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Re: Programmatic control over a (H|V)Box gap
 width?






 They don't seem to exist, that's the problem. They're in the MXML
  markup, but not in the classes.

  -Josh

  On Nov 15, 2007 2:42 PM, srikanth_reddy_007 [EMAIL PROTECTED]
 wrote:
  
  
  
  
  
  
   use horizontalGap and verticalGap properties of the component.
  
  
  
   --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] 
 wrote:
   
Is it possible? I can't find any mention of it in the API
 documentation.
   
Cheers,
-Josh
   
--
This is crazy! Why are we talking about going to bed with Wilma
Flintstone... She'll never leave Fred and we know it. 
   
:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]
   
  
  

  --
  This is crazy! Why are we talking about going to bed with Wilma
  Flintstone... She'll never leave Fred and we know it. 

  :: Josh 'G-Funk' McDonald
  :: 0437 221 380 :: [EMAIL PROTECTED]

  



-- 
This is crazy! Why are we talking about going to bed with Wilma
Flintstone... She'll never leave Fred and we know it. 

 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]


Re: [flexcoders] Vertical scrolling without horizontal scrolling? How do I make 100% == 100% of available width?

2007-11-18 Thread Josh McDonald
It doesn't seem to matter what right is set to, my first instinct
was as you guessed and to make it something huge so it won't overlap
with the scroll bar but it doesn't seem to make a difference.

I'm still not 100% certain this isn't my fault, so I don't think I'm
at filing a bug for it yet :)

Might try and set up some test cases to verify what's going on.

Cheers,
-Josh

On Nov 19, 2007 1:19 PM, Alex Harui [EMAIL PROTECTED] wrote:









 Could be true for verticalscrollpolicy=auto.  Feel free to file a bug.
 If you set it to on the hbar should go away.  You can also set the
 horizontalScrollPolicy=off.  What happens if you set the right to
 something larger than the width of the scrollbar?



  


 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Josh McDonald
  Sent: Sunday, November 18, 2007 4:35 PM


  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Vertical scrolling without horizontal scrolling?
 How do I make 100% == 100% of available width?







 To sum it up, am I correct in my conclusion that it's impossible to
  have a vertical scrollbar without a horizontal scrollbar on any
  container that contains any component with the right='something'
  attribute set?

  I hope I'm wrong, that's annoying as hell.

  -Josh

  On Nov 15, 2007 5:35 PM, Alex Harui [EMAIL PROTECTED] wrote:
  
  
  
  
  
  
  
  
  
   As long as it is small enough to not cause the hbar to come on
  
  
  
   
  
  
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
   Behalf Of Josh McDonald
   Sent: Wednesday, November 14, 2007 4:52 PM
  
  
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Vertical scrolling without horizontal
 scrolling?
   How do I make 100% == 100% of available width?
  
  
  
  
  
  
  
   Does it have to be 0, or can I go with something like 200 or so? It
   irks me that when you shrink the browser window you get a million
   scrollbars in every nested container :)
  
   I know I'm probably a pain, but I'm determined to master Flex.
  
   -Josh
  
   On Nov 14, 2007 5:45 PM, Alex Harui [EMAIL PROTECTED] wrote:
   
   
   
   
   
   
   
   
   
I think you want the content to use 100% but have minWidth=0. You're
hitting an obscure 'rule' of flex that we don't shrink containers when
   they
decide to put up scrollbars else it could propagate scrollbars down to
   its
children. Also, if or when you know you want scrollbars, changing the
policy to on will factor the scrollbars into the layout. minWidth
   usually
solves it though.
   
   
   

   
   
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Tuesday, November 13, 2007 11:13 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Vertical scrolling without horizontal
   scrolling?
How do I make 100% == 100% of available width?
   
   
   
   
   
   
   
The content is set up to be in some cases 100%, otherwise it's
anchored to top/bottom/sides.
   
If I have the container (vbox) anchored to the bottom of the
application, or no height specifcation at all, or any %, it simply
grows out and i get the dual scrollbars. If i specify a pixel height,
the container itself gets a scrollbar and everything works fine. Is
there no way to have a container that has an anchored to the
application minimum size, but will scroll internally if it needs to?
I imagine setting the height to a pixel size when the application
detects a resize would achieve the results I'm after, but that's
awfully kludgey.
   
I feel like I'm trying to do CSS-based design in HTML :-/
   
-Josh
   
On Nov 14, 2007 4:49 PM, Alex Harui [EMAIL PROTECTED] wrote:









 Does the content need to fill the width of the container? If it does,
 I
 think you'll always get an hbar since even narrowing it would obscure
 content.



 Otherwise, try setting minWidth=0 on the content items and maybe the
 container as well.



 


 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On
 Behalf Of Josh McDonald
 Sent: Tuesday, November 13, 2007 10:24 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Vertical scrolling without horizontal
 scrolling?
How
 do I make 100% == 100% of available width?







 Hi guys,

 I'm having a problem where as soon as my content goes taller than a
 container (be it the application, or a panel) and a vertical
 scrollbar
 is needed, it simply covers up some of the container rather than
 narrowing it. This of course creates a horizontal scrollbar as well.
 Is there an easy way to get around this? It's really the last thing I
 want, 

RE : RE : [flexcoders] 3D Column Chart

2007-11-18 Thread Christophe Jolif
Hi Asim,
 
I can't help much then ;) 
 
If Flex 3 is ok for you might give a try at ILOG Elixir (http://flex.ilog.com) 
which provide similar functionalities.
 
--
Christophe



De: flexcoders@yahoogroups.com de la part de Asim nazir
Date: lun. 11/19/2007 6:45
À: flexcoders@yahoogroups.com
Objet : Re: RE : [flexcoders] 3D Column Chart



I am using Flex3DCharts.swc library (October 19, 2006 release) in
Flex 2.0 available as an extension by Adobe Flex. In that library i am
using Column 3D charts.

--
Asim Nazir

On Nov 16, 2007 6:37 PM, Christophe Jolif [EMAIL PROTECTED] wrote:









 Hi Asim,

  Which 3D charts are you using?

  --
  Christophe
  http://flex.ilog.com http://flex.ilog.com/ 


   Message d'origine
  De: flexcoders@yahoogroups.com de la part de Asim nazir
  Date: ven. 11/16/2007 6:08
  À: flexcoders@yahoogroups.com
  Objet : [flexcoders] 3D Column Chart



  Hi,

  I am working with 3D column chart which is an extension provided by
  Flex.  I am facing following problem
  - When data is changed in dataProvider of chart, It didnt clear the
  previous columns and add new columns according to new data in the
  chart
  I want to refresh/ re-render the chart when ever data is changed in
  dataProvider.

  I have tried with InvalidateNow(), InvalidateSeriesStyle,
  invalidateData etc but didnt work. Now as a work around i remove
  that chart from parent.. i-e this.removeChild(3Dchart) and add it
  again, though the problem is solved by doing so.. but it leads to an
  other problem. After doing so the Xaxis, Yaxis and Zaxis angles are
  reset to zero it tried to set them again at the time of adding the
  charts again but didnt work.

  - Any thoughts in re-rendring the 3D column chart in better way so
  that its angles dont reset.

  Thanks in advance.

  --
  Asim Nazir


  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links




 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links