[flexcoders] e-mail client sample Flex

2005-05-23 Thread Francesco





hi,
 
 
I'm 
trying to create it, but i've some problem and Hotmail and yahoo doesn't offer 
any WebService to check mail...
 
My 
problem is that when i select a leaf in the tree on the left, i'd like that on 
the datagrid on the right will appear a list of element.
i.e. 
when i choose inbox on the left on the right will appear all the 
inbox-emails...
 
Perhaps i've to organize better the xml source (Outlook_dati_3.xml)...
 
Any 
suggestion?
 
 
Does anyone have 
a e-mail client sample with 
sources? 
 
Thanks,
Francesco
 
 
 
Here 
is my code
 
 
 
---
Outlook_base_3.mxml
 
http://www.macromedia.com/2003/mxml" 
>
 
               
    

 
  
 
   
  --
Outlook_dati_3.xml
 
 
 
  Christina 
Coenraets   invito   [EMAIL PROTECTED]   Ciao, 
come stai. ti scrivo per darti mie 
notizie   Louis 
Freligh   orario 
esame   [EMAIL PROTECTED]   Ciao, 
come stai. ti scrivo per darti mie 
notizie   Ronnie 
Hodgman   meteo   [EMAIL PROTECTED]   Ciao, 
come stai. ti scrivo per darti mie notizie. Mi sono trasferito a 
milano.   Joanne 
Wall   voto   [EMAIL PROTECTED]   Ciao, 
come stai. ti scrivo per darti mie 
notizie   Maurice 
Smith   auto   [EMAIL PROTECTED]   Ciao, 
come stai. ti scrivo per darti mie notizie. Mi sono trasferito a 
milano.   Mary 
Jones   spamming   [EMAIL PROTECTED]   Ciao, 
come stai. ti scrivo per darti mie 
notizie Christina 
dCoenraets   invitod   [EMAIL PROTECTED]   Ciao, 
comed stai. ti scrivo per darti mie 
notizie   Louis 
Frelfifgh   orario 
efsame   [EMAIL PROTECTED]   Ciao, 
come fstai. ti scrivo per darti mie 
notizie 
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] e-mail client sample Flex

2005-05-23 Thread Steven Webster





Francesco,
 
There is a sample email client application in the book 
"Developing Rich Clients with Macromedia Flex"
that works with a 3rd party hotmail webservice; however, I 
know that there were problems recently with
the web-service, that the web-service author explained to 
me (but I can't remember).
 
Best,
 
Steven
 



--
Steven WebsterTechnical 
Director
iteration::two
 
This e-mail and any associated attachments 
transmitted with it may contain confidential information and must not be copied, 
or disclosed, or used by anyone other than the intended recipient(s). If you are 
not the intended recipient(s) please destroy this e-mail, and any copies of it, 
immediately. Please also note that while software systems have been 
used to try to ensure that this e-mail has been swept for viruses, 
iteration::two do not accept responsibility for any damage or loss caused in 
respect of any viruses transmitted by the e-mail. Please ensure your own checks 
are carried out before any attachments are 
opened.

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  FrancescoSent: 23 May 2005 08:33To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] e-mail client 
  sample Flex
  
  hi,
   
   
  I'm 
  trying to create it, but i've some problem and Hotmail and yahoo doesn't offer 
  any WebService to check mail...
   
  My 
  problem is that when i select a leaf in the tree on the left, i'd like that on 
  the datagrid on the right will appear a list of element.
  i.e. 
  when i choose inbox on the left on the right will appear all the 
  inbox-emails...
   
  Perhaps i've to organize better the xml source (Outlook_dati_3.xml)...
   
  Any 
  suggestion?
   
   
  Does anyone have a e-mail client sample with 
  sources? 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] e-mail client sample Flex

2005-05-23 Thread Sjors Pals






Maybe you can use this one:
http://www.bindingpoint.com/service.aspx?skey=04e3710f-fda1-4f46-88b3-b6d977ddb449

I would test it with some sample mailadress and not with serious
business acounts ;)

Greets,

Sjors


Steven Webster wrote:

  
  
  Francesco,
   
  There is a sample email client
application in the book "Developing Rich Clients with Macromedia Flex"
  that works with a 3rd party
hotmail webservice; however, I know that there were problems recently
with
  the web-service, that the
web-service author explained to me (but I can't remember).
   
  Best,
   
  Steven
   
  
  
  
  --
  Steven Webster
Technical Director
  iteration::two
  
   
  This e-mail and any
associated attachments transmitted with it may contain confidential
information and must not be copied, or disclosed, or used by anyone
other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it,
immediately.
 
Please also note that while software systems have been used to try to
ensure that this e-mail has been swept for viruses, iteration::two do
not accept responsibility for any damage or loss caused in respect of
any viruses transmitted by the e-mail. Please ensure your own checks
are carried out before any attachments are opened.
  
  
  
  
  

 From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Francesco
Sent: 23 May 2005 08:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] e-mail client sample Flex


hi,
 
 
I'm trying to create it, but i've some problem
and Hotmail and yahoo doesn't offer any WebService to check mail...
 
My problem is that when i select a leaf in the
tree on the left, i'd like that on the datagrid on the right will
appear a list of element.
i.e. when i choose inbox on the left on the
right will appear all the inbox-emails...
 
Perhaps i've to organize better the xml source (Outlook_dati_3.xml)...
 
Any suggestion?
 
 
Does anyone have a e-mail client
sample with sources? 
  











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.











[flexcoders] Loading CSS dynamically at runtime?

2005-05-23 Thread Richard Butler
Hi all,

Has anyone tried loading in a CSS stylesheet dynamically at runtime, or
know how it could be done? The only way I can think of is using the good
old Flash way using TextField.StyleSheet's parseCSS() and then doing a
few loops, but is there a more up-to-date method within Flex?

I understand the  tag will only let you import at compile
time, is that correct?

Cheers guys.
Rich

-
Richard Butler.
Senior Creative Architect.

Monochrome.
Upper Floor
164a Portsmouth Road
Cobham
Surrey KT11 1HS.

Free: 08000 199 742
Tel: +44 (0) 1932 862 874 
Fax: +44 (0) 1932 866 065 

www.monochrome.co.uk



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Resource bundle utility classes for Flex (Benoit Hediard)

2005-05-23 Thread devis
Hi,
i'm using this utility http://groups.yahoo.com/group/flexcoders/message/8730,
and Benoit Hediard has worked very good, thanks.
But i wish to use this utility, also, into a dataGrid labelFunction
but i have no idea how to do, 
for examples here the code work


but if i wish to  use this labelFunction

  function getTipo(item)
  {
 // return item.description;

 return helper.labels.bundle?
  }

Can you help me please
Devis






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] ADMIN: Offlist requests for help...

2005-05-23 Thread Steven Webster





Hey 
all,
 
I'm posting this on 
behalf of a number of frequent contributors to the mailing list, who 
are
increasingly 
receiving private email requests, and sometimes even private IM 
messages
deduced from Yahoo! 
accounts, for help with Flex problems.
 
The folks that are 
giving of their time on flexcoders, are already spending a great deal 
of
company (and often 
personal) time reading and responding to posts; if they don't reply 
to
your post, it's 
probably because of a number of reasons:
 

  Your question is an 
  FAQ, and has been answered before on the list
  Your question could 
  be answered by spending some time in the docs/books/etc.
  Someone else has 
  already pointed you to an answer for your question
  You haven't 
  provided enough detail for someone to quickly answer
  
Saying "my code 
doesn't work" isn't as helpful as reducing your understanding of the fault 
to a reproducible test-case that isolates the problem.  It might take 
you some time, but it's only fair you spend that time, rather than the 
person that wants to help you.
Increasingly, people 
are forwarding their questions directly to some of the list members who answer 
on the forums, both within Macromedia and outwith Macromedia -- this is really 
bad form, and we'd all appreciate it a little more if you could post your 
questions to the list, and allow people to answer as soon as they have the time 
to do so.
 
For what it's worth, 
any questions that start "please can you fix my code" or "please can you provide 
code that " is most 
likely to be ignored.  Try and reduce your question to a feature of the 
Flex technology with which you are experiencing an issue, provide as short 
a code example as possible that exposes the problem you are having, and 
you'll probably find that 2 or 3 people are fighting to get an answer to your 
problem first.
 
A number of folks on 
the list are compiling an FAQ that we'll send out to new members on 
subscription, and which we may post regularly as well; in the meantime, if 
people could follow the advice above, I know it will be very much appreciated by 
many on the list.
 
If you do have 
urgent need for your problem to be fixed, because you have a production schedule 
around your Flex project, several of the consultancies who contribute to 
flexcoders and provide bespoke Flex consultancy, combined with official 
Macromedia support purchased with your Flex license, should assure your success 
with Flex.
 
We're over 1600 
members now, and adding 50-100 members a week at present ... so as the 
membership grows, we have to ensure that popping heads up and answering lots of 
questions, doesn't become a burden because of a minority who think it's 
acceptable to also post privately to individuals.
 
Thanks for 
understanding,
 
Steven
 


--
Steven WebsterTechnical 
Director
iteration::two
 
This e-mail and any associated attachments 
transmitted with it may contain confidential information and must not be copied, 
or disclosed, or used by anyone other than the intended recipient(s). If you are 
not the intended recipient(s) please destroy this e-mail, and any copies of it, 
immediately. Please also note that while software systems have been 
used to try to ensure that this e-mail has been swept for viruses, 
iteration::two do not accept responsibility for any damage or loss caused in 
respect of any viruses transmitted by the e-mail. Please ensure your own checks 
are carried out before any attachments are 
opened.
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Operations to perform after sorting of datagrid

2005-05-23 Thread Pradeep
Hi,
I need to perform some custom operation whenever any of the columns of
datagrid is sorted. The headerRelease event is fired just before sorting
is about to occur but i want to perform operation after sorting is
done. Please suggest some alternatives.

Pradeep




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Operations to perform after sorting of datagrid

2005-05-23 Thread Alistair McLeod
Hi Pradeep,

Are you sure the headerRelease event is broadcast before the sort has been
completed? I thought it was afterwards.

In any case, you should be able to listen for the "modelChanged" event on
your DataGrid's dataProvider, which will be broadcast after the sort has
completed. Specifically, the event object broadcast will have an eventName
property set to "sort" when sorting has taken place (though I'm not sure if
that's a documented feature).

Cheers,

Ali


--
Alistair McLeod
Development Director
iteration::two
[EMAIL PROTECTED]
 
Office:  +44 (0)131 338 6108
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Pradeep
Sent: 23 May 2005 13:25
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Operations to perform after sorting of datagrid

Hi,
I need to perform some custom operation whenever any of the columns of
datagrid is sorted. The headerRelease event is fired just before sorting is
about to occur but i want to perform operation after sorting is done. Please
suggest some alternatives.

Pradeep




 
Yahoo! Groups Links



 



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Operations to perform after sorting of datagrid

2005-05-23 Thread Alistair McLeod
Hi Pradeep,

I've just knocked together a test and it certainly seems that headerRelease
is broadcast after the sort has taken place. Can you post some code showing
otherwise?

Cheers,

Ali 


--
Alistair McLeod
Development Director
iteration::two
[EMAIL PROTECTED]
 
Office:  +44 (0)131 338 6108
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alistair McLeod
Sent: 23 May 2005 13:35
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Operations to perform after sorting of datagrid

Hi Pradeep,

Are you sure the headerRelease event is broadcast before the sort has been
completed? I thought it was afterwards.

In any case, you should be able to listen for the "modelChanged" event on
your DataGrid's dataProvider, which will be broadcast after the sort has
completed. Specifically, the event object broadcast will have an eventName
property set to "sort" when sorting has taken place (though I'm not sure if
that's a documented feature).

Cheers,

Ali


--
Alistair McLeod
Development Director
iteration::two
[EMAIL PROTECTED]
 
Office:  +44 (0)131 338 6108
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Pradeep
Sent: 23 May 2005 13:25
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Operations to perform after sorting of datagrid

Hi,
I need to perform some custom operation whenever any of the columns of
datagrid is sorted. The headerRelease event is fired just before sorting is
about to occur but i want to perform operation after sorting is done. Please
suggest some alternatives.

Pradeep




 
Yahoo! Groups Links



 



 
Yahoo! Groups Links



 



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Operations to perform after sorting of datagrid

2005-05-23 Thread Abdul Qabiz
Hi Pradeep, 

As Ali confirmed its working for him, please check again in your code.
If it is not working, I am going to tell you other way of doing this. 

All data of DataGrid or other List components are stored in
DataProvider, so any changes or manipulation in data triggers
DataProvider's modelChanged event.

You can see DataProvider Event's API here:
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclasses
/DataProvider.html#events


Following example shows, how can you subscribe dataProvider events:


##Example1.mxml##


http://www.macromedia.com/2003/mxml";
creationComplete="onAppInit();">








   


   




   




2) ##Example2.mxml##


http://www.macromedia.com/2003/mxml";
creationComplete="onAppInit();">







  



   




Hope that helps...

-abdul



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Pradeep
Sent: Monday, May 23, 2005 5:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Operations to perform after sorting of datagrid

Hi,
I need to perform some custom operation whenever any of the columns of
datagrid is sorted. The headerRelease event is fired just before sorting
is about to occur but i want to perform operation after sorting is
done. Please suggest some alternatives.

Pradeep




 
Yahoo! Groups Links



 



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alistair McLeod
Sent: Monday, May 23, 2005 6:14 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Operations to perform after sorting of
datagrid

Hi Pradeep,

I've just knocked together a test and it certainly seems that
headerRelease
is broadcast after the sort has taken place. Can you post some code
showing
otherwise?

Cheers,

Ali 


--
Alistair McLeod
Development Director
iteration::two
[EMAIL PROTECTED]
 
Office:  +44 (0)131 338 6108
 
This e-mail and any associated attachments transmitted with it may
contain
confidential information and must not be copied, or disclosed, or used
by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it,
immediately.
 
Please also note that while software systems have been used to try to
ensure
that this e-mail has been swept for viruses, iteration::two do not
accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alistair McLeod
Sent: 23 May 2005 13:35
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Operations to perform after sorting of
datagrid

Hi Pradeep,

Are you sure the headerRelease event is broadcast before the sort has
been
completed? I thought it was afterwards.

In any case, you should be able to listen for the "modelChanged" event
on
your DataGrid's dataProvider, which will be broadcast after the sort has
completed. Specifically, the event object broadcast will have an
eventName
property set to "sort" when sorting has taken place (though I'm not sure
if
that's a documented feature).

Cheers,

Ali


--
Alistair McLeod
Development Director
iteration::two
[EMAIL PROTECTED]
 
Office:  +44 (0)131 338 6108
 
This e-mail and any associated attachments transmitted with it may
contain
confidential information and must not be copied, or disclosed, or used
by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it,
immediately.
 
Please also note that while software systems have been used to try to
ensure
that this e-mail has been swept for viruses, iteration::two do not
accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Pradeep
Sent: 23 May 2005 13:25
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Operations to perform after sorting of datagrid

Hi,
I need to perform some custom operation whenever any of the columns of
datagrid is sorted. The headerRelease event is fired just before sorting
is
about to occur but i want to perform operation after sorting is done.
Please
suggest some alternatives.

Pradeep




 
Yahoo! Groups Links



 



 
Yahoo! Groups Links



 



 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PRO

Re: [flexcoders] Loading CSS dynamically at runtime?

2005-05-23 Thread Manish Jethani
On 5/23/05, Richard Butler <[EMAIL PROTECTED]> wrote:

> Has anyone tried loading in a CSS stylesheet dynamically at runtime, or
> know how it could be done? The only way I can think of is using the good
> old Flash way using TextField.StyleSheet's parseCSS() and then doing a
> few loops, but is there a more up-to-date method within Flex?

Yes, styles specified in the Style tag are compiled into the SWF.  As
far as I know, the only way to set styles at runtime is to use the
setStyle() method.  See this thread:
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg04682.html


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] How To: Setting up Flex 1.5 on Jrun with Apache

2005-05-23 Thread Niklas Richardson
Hi everyone,

I've just posted this "How To" for setting up Flex 1.5 on Jrun with
Apache.

http://www.prismix.com/blog/archives/2005/05/setting_up_flex.cfm

I hope it's helpful to those new to Flex, and wish to use Jrun and also
Apache.

Also, I would appreciate any comments / feedback on how we can refine
this process.  Perhaps we can add this to Flex Authority once it's
fleshed out a bit more.

Reegards

Niklas

Niklas Richardson

Prismix Ltd 
t +44 (0)870 749 1100 
f +44 (0)870 749 1200 
w http://www.prismix.com/




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Eclipse as a main flex dev

2005-05-23 Thread Manish Jethani
On 5/23/05, r0main <[EMAIL PROTECTED]> wrote:

> What would be very hot is that when we are editing MXML files in a
> FAME + Eclipse environment and saving it, we can :
> ->Launch mxmlc to compile the file (parameters ?)
> ->Then Run MTASC onto the compiled file

Even though I haven't tried, I'm pretty sure you can't compile a
xxx-generated.as file with MTASC, because that file does not contain
all the source, just enough for you to understand what's going on
under the hood.

Instead, you could use mxmlc to compile directly to SWF, no?


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Loading CSS dynamically at runtime?

2005-05-23 Thread Rich Butler
Thanks for that Manish, looks like I'm not the only one...

I spent an hour or two writing a class that seems to do the trick
using a combination of TextField.StyleSheet and CSSStyleDeclaration -
it can be done... :-)

Cheers,
Rich

--- In flexcoders@yahoogroups.com, Manish Jethani
<[EMAIL PROTECTED]> wrote:
> On 5/23/05, Richard Butler <[EMAIL PROTECTED]> wrote:
> 
> > Has anyone tried loading in a CSS stylesheet dynamically at
runtime, or
> > know how it could be done? The only way I can think of is using
the good
> > old Flash way using TextField.StyleSheet's parseCSS() and then doing a
> > few loops, but is there a more up-to-date method within Flex?
> 
> Yes, styles specified in the Style tag are compiled into the SWF.  As
> far as I know, the only way to set styles at runtime is to use the
> setStyle() method.  See this thread:
> http://www.mail-archive.com/flexcoders@yahoogroups.com/msg04682.html




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] At runtime setting an accordion child invisible

2005-05-23 Thread Jeroen De Vos
Title: At runtime setting an accordion child invisible








Hi all,


I need to set an accordion child invisible (remove it from the accordion) following a user action.

Setting the "visible" property of the child to false does not work.


How can I do this?


Thanks,

Jeroen.







Jeroen De Vos

Gemeentelijk Havenbedrijf Antwerpen

C/ICT - AMARIS




Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail. English Translation: This e-mail and all attached files are official documents of Antwerp Port Authority and may contain confidential or personal information. If you have received this e-mail in error, you are asked to inform the sender by e-mail or telephone immediately, and to remove it from your system without reading or reproducing it or passing it on to other parties. Antwerp Port Authority is in no way responsible for any errors or inaccuracies in the contents of this e-mail, nor can it be held liable for any direct or indirect loss, damage or inconvenience arising from any such errors or inaccuracies. [GHA#Disclaimer]







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Custom Datagrid (like Excel)

2005-05-23 Thread Beck Novaes
Hi People, 

I need to implement a DataGrid with the following requirements:

-   It should be possible to have ComboBox in his cells;
-   It should be possible to use the keyboard (TAB) to jump from one
cell to another even though in one cell there is a ComboBox
-   It should be possible to restrict data on individual cells
-   It should be possible to validate data on individual cells

In other worlds, this DataGrid should work much like an Excel Sheet.
The most important thing is the ability to enter the data just using
the keyboard.

To implement something like this I need to dive into DataGrid. Does
anyone have some tips to save my time? Have you ever needed to
implement something like this?

Thanks a lot!


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] At runtime setting an accordion child invisible

2005-05-23 Thread Jeroen De Vos
Title: At runtime setting an accordion child invisible





To follow up on my own question:
Accordion.getHeaderAt(index).visible = false  produces 
a rather funny result. The child is rendered invisible, but the accordion 
'reserves' a blank space for that child.
So, now I need to tell the accordion that he may not show 
that blank space.
 
Any suggestions?
 
Jeroen.
 


Van: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Namens Jeroen De 
VosVerzonden: maandag 23 mei 2005 16:24Aan: 
flexcoders@yahoogroups.comOnderwerp: [flexcoders] At runtime setting 
an accordion child invisible

Hi all, 
I need to set an accordion child invisible (remove it 
from the accordion) following a user action. Setting the "visible" property of the child to false does not 
work. 
How can I do this? 
Thanks, Jeroen. 
 
Jeroen De Vos Gemeentelijk Havenbedrijf Antwerpen 
C/ICT - AMARIS  
Deze e-mail en alle gekoppelde bestanden zijn officiele 
documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke 
of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail 
of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen 
en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te 
verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf 
Antwerpen is op geen enkele manier verantwoordelijk voor fouten of 
onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf 
Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte 
schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of 
fout in deze e-mail. English Translation: This e-mail and all attached 
files are official documents of Antwerp Port Authority and may contain 
confidential or personal information. If you have received this e-mail in error, 
you are asked to inform the sender by e-mail or telephone immediately, and to 
remove it from your system without reading or reproducing it or passing it on to 
other parties. Antwerp Port Authority is in no way responsible for any errors or 
inaccuracies in the contents of this e-mail, nor can it be held liable for any 
direct or indirect loss, damage or inconvenience arising from any such errors or 
inaccuracies. [GHA#Disclaimer]







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] At runtime setting an accordion child invisible

2005-05-23 Thread Dirk Eismann
The Accordion class inherits all methods from mx.core.View, thus you could use 
the destroyChildAt() method to get rid of the child component.

Dirk.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Jeroen De 
Vos
Sent: Monday, May 23, 2005 4:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] At runtime setting an accordion child invisible


To follow up on my own question:
Accordion.getHeaderAt(index).visible = false  produces a rather funny result. 
The child is rendered invisible, but the accordion 'reserves' a blank space for 
that child.
So, now I need to tell the accordion that he may not show that blank space.

Any suggestions?

Jeroen.





Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Jeroen De Vos
Verzonden: maandag 23 mei 2005 16:24
Aan: flexcoders@yahoogroups.com
Onderwerp: [flexcoders] At runtime setting an accordion child invisible


Hi all, 
I need to set an accordion child invisible (remove it from the accordion) 
following a user action. 
Setting the "visible" property of the child to false does not work. 
How can I do this? 
Thanks, 
Jeroen. 



 
Jeroen De Vos 
Gemeentelijk Havenbedrijf Antwerpen 
C/ICT - AMARIS 
 
Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het 
Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke 
informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch 
te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder 
vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of 
te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen 
enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud 
van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk 
gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt 
als gevolg van een onnauwkeurigheid of fout in deze e-mail. 

English Translation: This e-mail and all attached files are official documents 
of Antwerp Port Authority and may contain confidential or personal information. 
If you have received this e-mail in error, you are asked to inform the sender 
by e-mail or telephone immediately, and to remove it from your system without 
reading or reproducing it or passing it on to other parties. Antwerp Port 
Authority is in no way responsible for any errors or inaccuracies in the 
contents of this e-mail, nor can it be held liable for any direct or indirect 
loss, damage or inconvenience arising from any such errors or inaccuracies. 
[GHA#Disclaimer]



Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
  
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Loading CSS dynamically at runtime?

2005-05-23 Thread Clint Modien



this might help... i came across this a few days ago and thought it was an amazing tool to help me with css
 
http://www.markme.com/mc/archives/FlexStyleExplorer.html
 
you can download the code here..
 
http://www.markme.com/mc/archives/FlexStyleExplorer.zip
 
On 5/23/05, Richard Butler <[EMAIL PROTECTED]> wrote:
Hi all,Has anyone tried loading in a CSS stylesheet dynamically at runtime, orknow how it could be done? The only way I can think of is using the good
old Flash way using TextField.StyleSheet's parseCSS() and then doing afew loops, but is there a more up-to-date method within Flex?I understand the  tag will only let you import at compile
time, is that correct?Cheers guys.Rich-Richard Butler.Senior Creative Architect.Monochrome.Upper Floor164a Portsmouth Road
CobhamSurrey KT11 1HS.Free: 08000 199 742Tel: +44 (0) 1932 862 874Fax: +44 (0) 1932 866 065www.monochrome.co.ukYahoo! Groups Links
<*> To visit your group on the web, go to:   http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:   http://docs.yahoo.com/info/terms/









Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] At runtime setting an accordion child invisible

2005-05-23 Thread Alistair McLeod
Title: At runtime setting an accordion child invisible





Hi Jereon,
 
It seems that the Accordion wasn't designed for the runtime 
manipulation of the number of visible children, and does not easily lend itself 
to be changed in such a way. I imagine you'll have to extend the component, 
overriding layoutChildren(), measure() and probably a few other of its internal 
methods.
 
Cheers,
 
Ali
 



--
Alistair 
McLeodDevelopment Director
iteration::two[EMAIL PROTECTED]
 
Office:  +44 (0)131 338 
6108
 
This e-mail and any associated attachments 
transmitted with it may contain confidential information and must not be copied, 
or disclosed, or used by anyone other than the intended recipient(s). If you are 
not the intended recipient(s) please destroy this e-mail, and any copies of it, 
immediately. Please also note that while software systems have been 
used to try to ensure that this e-mail has been swept for viruses, 
iteration::two do not accept responsibility for any damage or loss caused in 
respect of any viruses transmitted by the e-mail. Please ensure your own checks 
are carried out before any attachments are 
opened.
 
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De 
VosSent: 23 May 2005 15:47To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] At runtime 
setting an accordion child invisible

To follow up on my own question:
Accordion.getHeaderAt(index).visible = false  produces 
a rather funny result. The child is rendered invisible, but the accordion 
'reserves' a blank space for that child.
So, now I need to tell the accordion that he may not show 
that blank space.
 
Any suggestions?
 
Jeroen.
 


Van: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Namens Jeroen De 
VosVerzonden: maandag 23 mei 2005 16:24Aan: 
flexcoders@yahoogroups.comOnderwerp: [flexcoders] At runtime setting 
an accordion child invisible

Hi all, 
I need to set an accordion child invisible (remove it 
from the accordion) following a user action. Setting the "visible" property of the child to false does not 
work. 
How can I do this? 
Thanks, Jeroen. 
 
Jeroen De Vos Gemeentelijk Havenbedrijf Antwerpen 
C/ICT - AMARIS  
Deze e-mail en alle gekoppelde bestanden zijn officiele 
documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke 
of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail 
of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen 
en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te 
verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf 
Antwerpen is op geen enkele manier verantwoordelijk voor fouten of 
onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf 
Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte 
schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of 
fout in deze e-mail. English Translation: This e-mail and all attached 
files are official documents of Antwerp Port Authority and may contain 
confidential or personal information. If you have received this e-mail in error, 
you are asked to inform the sender by e-mail or telephone immediately, and to 
remove it from your system without reading or reproducing it or passing it on to 
other parties. Antwerp Port Authority is in no way responsible for any errors or 
inaccuracies in the contents of this e-mail, nor can it be held liable for any 
direct or indirect loss, damage or inconvenience arising from any such errors or 
inaccuracies. [GHA#Disclaimer]







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Cairngorm 0.99 ViewHelper problem

2005-05-23 Thread Stephen Inzer
In the 0.95 version of Cairngorm the ViewHelpers were identified by
their name attribute. I could initialize the name attribute with a
call to a method. But in the 0.99 version the name attribute has gone
away, and the ViewHelper is identied by the id attribute. The id
attribute cannot be initailized at run time, it must be evaluated a
compile time.

In the application I am developing I have a view that has a
ViewHelper. The view is used many times As a result I need to have
many ViewHelpers. The Views and ViewHelpers are created at runtime so
I cannot hard code the ids for these objects. Each ViewHelper must
have a unique name, but since I cannot call a method when assigning
the id attribute I cannot do this. 

Will this work:


  


This allows me to set the id without a compiler error, but will the
initialized( document: Object, id: String) method be called with the
the correct object?


Stephen Inzer





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Tree component's calculateWidth() method, does it work?

2005-05-23 Thread pilby1
I have a panel that houses a tree control. I have noticed that the 
tree's horizontal scrollbar has a bad habit of appearing when it 
shouldn't, so I had decided to set its hScrollPolicy to "off", and 
thereafter turning it on manually as needed.

In order for this to be possible, I need to know the width of the tree 
after a node has been opened. This is because an opened node could 
effectively make the tree width wider, depending on how long the text 
of the child nodes are.

Checking the documentation, it seems like the method, calculateWidth
(), is my answer. However, doing tree.calculateWidth() always returns 
NaN, making it useless.

Am I using it wrong? Or is it even known to work?

Any feedback from anyone would be greatly appreciated, because I need 
to make my tree component behave. Thanks.




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




AW: [flexcoders] Re: Loading CSS dynamically at runtime?

2005-05-23 Thread Benjamin Dobler


> I spent an hour or two writing a class that seems to do the trick
> using a combination of TextField.StyleSheet and CSSStyleDeclaration -
> it can be done... :-)
> 

I would be extremely interested in your approach!





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Operations to perform after sorting of datagrid

2005-05-23 Thread Manish Jethani
On 5/23/05, Alistair McLeod <[EMAIL PROTECTED]> wrote:

> I've just knocked together a test and it certainly seems that headerRelease
> is broadcast after the sort has taken place. Can you post some code showing
> otherwise?

Seconded.  'headerRelease' is broadcast after the sort is done.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Double clicking on a datagrid

2005-05-23 Thread dillo_mac
Hello folks, I'm looking to implement a double click method on a
datagrid. I have searched high and low on the web and seem to have run
into a dead end. Is this even possible to implement with flex? Any
help would be greatly appreciated.




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Double clicking on a datagrid

2005-05-23 Thread jeff tapper
http://cflex.net/showfiledetails.cfm?ChannelID=1&Object=CodeLibrary&objectID=125

At 11:49 AM 5/23/2005, you wrote:
>Hello folks, I'm looking to implement a double click method on a
>datagrid. I have searched high and low on the web and seem to have run
>into a dead end. Is this even possible to implement with flex? Any
>help would be greatly appreciated.
>
>
>
>
>--
>Yahoo! Groups Links
>* To visit your group on the web, go to:
>* 
> http://groups.yahoo.com/group/flexcoders/
>  
>
>*
>* To unsubscribe from this group, send an email to:
>* 
> [EMAIL PROTECTED] 
>
>*
>* Your use of Yahoo! Groups is subject to the 
> Yahoo! Terms of Service.



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Re: Loading CSS dynamically at runtime?

2005-05-23 Thread Richard Butler
Benjamin,

Create a class (cssl) with a TextField.StyleSheet (tss) attached and
utilise its load() or parseCSS() method. Then loop through the CSS style
objects created within tss using _css or _style properties (ugly but
there doesn't seem to be a function to get these out). For each of these
style selector objects, create a CSSStyleDeclaration() at
_global.styles[styleName] level and use setStyle() to set each property.

I haven't tested it in-depth yet but it seems to work for most CSS
styles I've tried.

Cheers,
Rich


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Benjamin Dobler
Sent: 23 May 2005 16:13
To: flexcoders@yahoogroups.com
Subject: AW: [flexcoders] Re: Loading CSS dynamically at runtime?




> I spent an hour or two writing a class that seems to do the trick 
> using a combination of TextField.StyleSheet and CSSStyleDeclaration - 
> it can be done... :-)
> 

I would be extremely interested in your approach!





 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Re: Flex on the Web

2005-05-23 Thread Tarik Ahmed






Hi Michel. I think you need to focus on is what you/your company/your
clients challenges are and whether RIA's will provide a satisfactory
return on investment that yields a productivity gain.

I view RIA's as the next generation of web based applications; the
'rich' part enables you to create much for fluid and dynamic
applications that enable improved workflow and reduced development time
resulting in various implicit and explicit cost savings in various
forms. In some cases... it may not even be feasible to do in an HTML
based interface and your only option is RIA.

If RIA's offer you the edge you need, then you evaluate your choices. 
- Flex
- Xamlon
- Laszlo
- Droplets (?)

Determine your evaluation and weighting criteria and eval the options
and determine which is right for you. Determining how big the user
community is, installed license base, etc... is a worthy criteria - you
don't want to be the only one. Eg the Flex Coder's user group is 1645
users, and Laszlo's is 389. I couldn't find any for the other two.



Michel Jansen wrote:

  Steven Webster wrote:

  
  

  Also, last I saw posted to this group, there were only about
200 licenses sold to date.

  

I can pretty much certainly state that there have been a *great*
deal more than 200 licenses sold to date, perhaps 200 customers
was cited, but a single customer might purchase anywhere from
10s or 100s of licenses in many instances.  And I've only got
visibility of a small proportion of the Flex business that is
being done...

  
  
If this is true... Where are all the applications? Is Flex only used for 
Intranet purposes??

Michel
  










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.















AW: [flexcoders] Re: Loading CSS dynamically at runtime?

2005-05-23 Thread Benjamin Dobler


> Benjamin,
> 
> Create a class (cssl) with a TextField.StyleSheet (tss) attached and
> utilise its load() or parseCSS() method. Then loop through the CSS style
> objects created within tss using _css or _style properties (ugly but
> there doesn't seem to be a function to get these out). For each of these
> style selector objects, create a CSSStyleDeclaration() at
> _global.styles[styleName] level and use setStyle() to set each property.
> 
> I haven't tested it in-depth yet but it seems to work for most CSS
> styles I've tried.
> 
> Cheers,
> Rich
> 

Cools thanx!



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Loading CSS dynamically at runtime?

2005-05-23 Thread dave buhler



I would guess MM chose to force users to set the styles as a sep. AS
file (which I think is how css values are converted) at compile time
rather than slow down the user's box with setStyle() at runtime.
setStyle() is extraordinarily CPU intensive. I could be wrong. I'm
diggin' back into memory for this one.

On 5/23/05, Manish Jethani <[EMAIL PROTECTED]> wrote:
On 5/23/05, Richard Butler <[EMAIL PROTECTED]> wrote:> Has anyone tried loading in a CSS stylesheet dynamically at runtime, or> know how it could be done? The only way I can think of is using the good
> old Flash way using TextField.StyleSheet's parseCSS() and then doing a> few loops, but is there a more up-to-date method within Flex?Yes, styles specified in the Style tag are compiled into the SWF.  As
far as I know, the only way to set styles at runtime is to use thesetStyle() method.  See this thread:http://www.mail-archive.com/flexcoders@yahoogroups.com/msg04682.html
Yahoo! Groups Links<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/









Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Tree component's calculateWidth() method, does it work?

2005-05-23 Thread Matt Chotin










calculateWidths() (with the s on the
end).  This will start at the top of the tree and open every node, measuring
the widths and then return the width you could use.  By default the Tree will
scan up to the first 10,000 nodes.  If you want to specify a smaller number
(like you know the first subtree has a max of 100 nodes and nothing below will
be wider) you can specify it as an argument to
calculateWidths(maxNodesToMeasure).

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of pilby1
Sent: Monday, May 23, 2005 11:47
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree
component's calculateWidth() method, does it work?



 

I have a panel that houses a tree control. I have noticed that the 
tree's horizontal scrollbar has a bad habit of
appearing when it 
shouldn't, so I had decided to set its
hScrollPolicy to "off", and 
thereafter turning it on manually as needed.

In order for this to be possible, I need to know
the width of the tree 
after a node has been opened. This is because an
opened node could 
effectively make the tree width wider, depending
on how long the text 
of the child nodes are.

Checking the documentation, it seems like the
method, calculateWidth
(), is my answer. However, doing
tree.calculateWidth() always returns 
NaN, making it useless.

Am I using it wrong? Or is it even known to work?

Any feedback from anyone would be greatly
appreciated, because I need 
to make my tree component behave. Thanks.














Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] Re: Flex on the Web

2005-05-23 Thread jacksodj
this is the message I am refering to as the last thing I saw posted. 
that was in april.

http://groups.yahoo.com/group/flexcoders/message/12407

--- In flexcoders@yahoogroups.com, John Dowdell <[EMAIL PROTECTED]> 
wrote:
> jacksodj wrote:
> > Also, last I saw posted to this group, there were only about 200 
> > licenses sold to date.
> 
> I saw that you quoted my whole message in reply. If you had 
instead 
> checked the links provided, you would have seen that number of 
licensees 
> (not just licenses) increased over 50% since the time of whatever 
> uncited material you were quoting.
> 
http://www.macromedia.com/macromedia/ir/macr/web_pres/earnings/q405/
>(Flex material starts at slide 30.)
> 
> jd
> 
> 
> 
> 
> 
> -- 
> John Dowdell . Macromedia Developer Support . San Francisco CA USA
> Weblog: http://www.macromedia.com/go/blog_jd
> Aggregator: http://www.macromedia.com/go/weblogs
> Technotes: http://www.macromedia.com/support/
> Spam killed my private email -- public record is best, thanks.




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] creating row in datagrid at runtime

2005-05-23 Thread Doodi, Hari - BLS CTR










Hi,

    I
would like to extend the scope of this thread by asking How to make this newly
added row as a part of the dataprovider? What I mean is I am able to create a
new row in datagrid by using your methodology. But when I try to access data in
my POJO, I am getting nullpointer exception. That means, I think, the newly
added row to grid is not truly added to dataprovider. Do I have to make any
specific function call to make the newly added row attach to dataprovider? If
this question is already discussed, please guide me with reference.

 



Thanks! 
Hari 



-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Tracy Spratt
Sent: Friday, May 20, 2005 4:51 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] creating
row in datagrid at runtime

 

Here's a little mod that automatically adds the new
row when you tab out of the last cell.  The doLater reminder solved an
aggravating problem I was having!

 





  xmlns="*">



   


cellFocusOut="checkOnNav(event)">

  




   


   





 


   

 



 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Manish Jethani
Sent: Friday, May 20, 2005 9:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] creating row in datagrid at runtime

 

On 5/19/05, shettyaditsathish <[EMAIL PROTECTED]>
wrote:

> i need to create a row in an existing datagrid on
an event and show the

> the 1st column of the newly created row in
editable mode.

 





  xmlns="*">

  

    function enterNewRow():Void

    {

  grid.addItem();

  focusNewRow();

  doLater(this,
"focusNewRow");

    }

    function focusNewRow():Void

    {

  grid.setFocus();

  grid.focusedCell =
{columnIndex: 0, itemIndex:

grid.dataProvider.length-1};

    }

  

  

    

  

   


   


  

    

  

  



 

Note:

 

 1.  grid.addItem() will add a blank row

 2.  call focusNewRow() in the next frame
using doLater()

 

 

 

Yahoo! Groups Links

 

<*> To visit your group on the web, go to:

   
http://groups.yahoo.com/group/flexcoders/

 

<*> To unsubscribe from this group, send an
email to:

   
[EMAIL PROTECTED]

 

<*> Your use of Yahoo! Groups is subject to:

    http://docs.yahoo.com/info/terms/

 

 

 

 

 










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] transparent background for list/datagrid/accordion components

2005-05-23 Thread Clint Modien












I just thought i’d jumpstart this thread as I’m
trying to find an answer to this myself.

 

When i set the backgroundAlpha of  the datagrid
component it doesn’t change...

 

Any ideas?



 







From: Sven
Claar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 30, 2004
5:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] transparent
background for list/datagrid/accordion components

Hi,

 

i can’t create a
transparent version of list or accordion components?

Is there a special trick?
In general if I work with Lists and cellrenderers.

 

I tried everything from
backgroundColor with backgroundAlpha or backgroundImage with backgroundAlpha
but it’s everytime white or the speciefied backgroundColor/Image with the
alpha settings or anything i defined
in the cellrenderer.

 

Any workaround?

 

Tanks,

Sven















Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] creating row in datagrid at runtime

2005-05-23 Thread Tracy Spratt










Calling addItem() on the dataGrid is
actually calling it on the dataProvider and physically adding the line.

 

Now, that line is empty, the “item”
would be undefined (null?), and NOTE THIS: editing a datagrid cell does not
automatically update the datagrid.  You will need to use the editCell
event to call editField() to update the dp with the entered data.  I bet
your dataProvider has a line but it is empty.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doodi, Hari - BLS CTR
Sent: Monday, May 23, 2005 3:25 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] creating
row in datagrid at runtime



 

Hi,

   
I would like to extend the scope of this thread by asking How to make this
newly added row as a part of the dataprovider? What I mean is I am able to
create a new row in datagrid by using your methodology. But when I try to
access data in my POJO, I am getting nullpointer exception. That means, I
think, the newly added row to grid is not truly added to dataprovider. Do I
have to make any specific function call to make the newly added row attach to
dataprovider? If this question is already discussed, please guide me with
reference.

 



Thanks! 
Hari 



-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy
 Spratt
Sent: Friday, May 20, 2005 4:51 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] creating
row in datagrid at runtime

 

Here's a little mod that automatically adds the new
row when you tab out of the last cell.  The doLater reminder solved an
aggravating problem I was having!

 





  xmlns="*">



   


cellFocusOut="checkOnNav(event)">

  




   


   





 


   

 



 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Manish Jethani
Sent: Friday, May 20, 2005 9:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] creating row in datagrid at runtime

 

On 5/19/05, shettyaditsathish
<[EMAIL PROTECTED]> wrote:

> i need to create a row in an existing datagrid on
an event and show the

> the 1st column of the newly created row in
editable mode.

 





  xmlns="*">

  

    function enterNewRow():Void

    {

  grid.addItem();

  focusNewRow();

  doLater(this,
"focusNewRow");

    }

    function focusNewRow():Void

    {

  grid.setFocus();

  grid.focusedCell =
{columnIndex: 0, itemIndex:

grid.dataProvider.length-1};

    }

  

  

    

  

   


   


  

    

  

  



 

Note:

 

 1.  grid.addItem() will add a blank row

 2.  call focusNewRow() in the next frame
using doLater()

 

 

 

Yahoo! Groups Links

 

<*> To visit your group on the web, go to:

   
http://groups.yahoo.com/group/flexcoders/

 

<*> To unsubscribe from this group, send an
email to:

    [EMAIL PROTECTED]

 

<*> Your use of Yahoo! Groups is subject to:

    http://docs.yahoo.com/info/terms/

 

 

 

 

 











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] creating row in datagrid at runtime

2005-05-23 Thread Tracy Spratt










Probably you should create your new item
object:

Var oNewItem:Object = newObject({myProp:myval1,myprop2:myVal2…})

Then do:

oEvent.target.addItem(oNewItem);

 

That way the new line won’t be undefined.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy
 Spratt
Sent: Monday, May 23, 2005 5:12 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] creating
row in datagrid at runtime



 

Calling addItem() on the dataGrid is
actually calling it on the dataProvider and physically adding the line.

 

Now, that line is empty, the
“item” would be undefined (null?), and NOTE THIS: editing a
datagrid cell does not automatically update the datagrid.  You will need
to use the editCell event to call editField() to update the dp with the entered
data.  I bet your dataProvider has a line but it is empty.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doodi, Hari - BLS CTR
Sent: Monday, May 23, 2005 3:25 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] creating
row in datagrid at runtime



 

Hi,

   
I would like to extend the scope of this thread by asking How to make this
newly added row as a part of the dataprovider? What I mean is I am able to
create a new row in datagrid by using your methodology. But when I try to
access data in my POJO, I am getting nullpointer exception. That means, I
think, the newly added row to grid is not truly added to dataprovider. Do I
have to make any specific function call to make the newly added row attach to
dataprovider? If this question is already discussed, please guide me with
reference.

 



Thanks! 
Hari 



-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy
 Spratt
Sent: Friday, May 20, 2005 4:51 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] creating
row in datagrid at runtime

 

Here's a little mod that automatically adds the new
row when you tab out of the last cell.  The doLater reminder solved an
aggravating problem I was having!

 





  xmlns="*">



   


cellFocusOut="checkOnNav(event)">

  




   


   





 


   

 



 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Manish Jethani
Sent: Friday, May 20, 2005 9:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] creating row in datagrid at runtime

 

On 5/19/05, shettyaditsathish
<[EMAIL PROTECTED]> wrote:

> i need to create a row in an existing datagrid on
an event and show the

> the 1st column of the newly created row in
editable mode.

 





  xmlns="*">

  

    function enterNewRow():Void

    {

  grid.addItem();

  focusNewRow();

  doLater(this,
"focusNewRow");

    }

    function focusNewRow():Void

    {

  grid.setFocus();

  grid.focusedCell =
{columnIndex: 0, itemIndex:

grid.dataProvider.length-1};

    }

  

  

    

  

    

   


  

    

  

  



 

Note:

 

 1.  grid.addItem() will add a blank row

 2.  call focusNewRow() in the next frame
using doLater()

 

 

 

Yahoo! Groups Links

 

<*> To visit your group on the web, go to:

   
http://groups.yahoo.com/group/flexcoders/

 

<*> To unsubscribe from this group, send an
email to:

    [EMAIL PROTECTED]

 

<*> Your use of Yahoo! Groups is subject to:

    http://docs.yahoo.com/info/terms/

 

 

 

 

 

 










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] combobox cell renderer

2005-05-23 Thread Rajesh Jayabalan
Hi,

 I am having problems with initializing my combo box cell renderer.

 I have a application initialize method call which calls a few
httpservice to get data

function appInit()
 {
clcrSSrv.send();
clStatSrv.send();
clTypeSrv.send();
initCellRenderer();
 }

the method initCellRenderer()

private function initCellRenderer() : Void  
  {
var comboBoxValues = clTypeSrv.result.types.type;
 ComboBoxCellRenderer.dataProvider = comboBoxValues;
  }

where 'ComboBoxCellRenderer' is my cell renderer and is a Action
script class file.

in the createchildren method i have 

function createChildren(Void) : Void
{
super.createChildren();

createClassObject( Label, "comboLabel", 1, { styleName:this,
owner:this } );
createClassObject( ComboBox, "combo", 2, { styleName:this,
owner:this, selectable:true } );

combo.addEventListener( "change", this );
combo.addEventListener( "enter", this );

combo.dataProvider = ComboBoxCellRenderer.dataProvider;

combo.setStyle( "backgroundColor", getStyle( "selectionColor" ) 
);
changeFlag = false;
size();
}


my datagrid 

















Now this setup works fine some times.. sometimes the cellrenderer does
not have any data, even though it is the same(single static)  query
and i can see the data coming back from the jsp. I am thinking that
the createchildren method if called before the jsp has returned data
so I changed my httpservie to have result="initCellRenderer()"



even this creates the combobox sometimes and not all times.. 

I tried debugging and see the dataprovider is undefined inside the
createchildren method.

And also I found the createchildren method was called a total of 12
times initially, even though there are no rows to be shown initially.

Can anyone tell me how to solve the missing data problem and also why
the cellrenderer is being initialized 12 times.

Rajesh J





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] implementing init() in subclass

2005-05-23 Thread Kristopher Schultz





I'm trying to 
create an MXML component that is a subclass of . I would like 
to provide my own implementation of mx.core.UIComponent's init() method so that 
I can set some default values for my custom component properties. However, when 
I try this (as illustrated below) I get the following odd 
error:
 
 
   line 
52 The member name, init, may not be repeated more than 
once.
   line 
85 The member name, init, may not be repeated more than 
once.
 
 
My code looks like 
this...
 
 
51  public 
function init() :Void52  {53  
super.init();54  // Use default property values 
if necessary.55  if (selected == 
undefined)56  
{57  selected = 
false;58  }59  }
 
 
Note, this code is 
all inline in my MXML file. My  block ends at line 62. Line 85 
is in the middle of my MXML tags!
 
What is really 
causing this error? How do I resolve it? Is overriding the init() method not the 
best approach for setting default property values?
 
 

Kris
 
-- 
 
Kristopher Schultz
Developer
 
Resource Interactive
p: 614.410.2123
www.resource.com
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] implementing init() in subclass

2005-05-23 Thread JesterXL





I never figured that out.  What I do is use 
the contructor in my init, so:
 
function initYourCanvas()
{
 
}
 
And then, in your Canvas' attributes, 
do:
 
initialize="initYourCanvas();"
- Original Message - 
From: Kristopher 
Schultz 
To: flexcoders@yahoogroups.com 
Sent: Monday, May 23, 2005 5:36 PM
Subject: [flexcoders] implementing init() in subclass

I'm trying to 
create an MXML component that is a subclass of . I would like 
to provide my own implementation of mx.core.UIComponent's init() method so that 
I can set some default values for my custom component properties. However, when 
I try this (as illustrated below) I get the following odd 
error:
 
 
   line 
52 The member name, init, may not be repeated more than 
once.
   line 
85 The member name, init, may not be repeated more than 
once.
 
 
My code looks like 
this...
 
 
51  public 
function init() :Void52  {53  
super.init();54  // Use default property values 
if necessary.55  if (selected == 
undefined)56  
{57  selected = 
false;58  }59  }
 
 
Note, this code is 
all inline in my MXML file. My  block ends at line 62. Line 85 
is in the middle of my MXML tags!
 
What is really 
causing this error? How do I resolve it? Is overriding the init() method not the 
best approach for setting default property values?
 
 

Kris
 
-- 
 
Kristopher Schultz
Developer
 
Resource Interactive
p: 614.410.2123
www.resource.com
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Double clicking on a datagrid

2005-05-23 Thread Manish Jethani
On 5/23/05, dillo_mac <[EMAIL PROTECTED]> wrote:
> Hello folks, I'm looking to implement a double click method on a
> datagrid. I have searched high and low on the web and seem to have run
> into a dead end. Is this even possible to implement with flex? Any
> help would be greatly appreciated.

Track the 'cellPress' event with a timer.  If it's clicked two times
within a few milliseconds, it's a double-click.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] implementing init() in subclass

2005-05-23 Thread JesterXL





Actually, unless you want to override the vars by 
re-claring them with default values up top, yoou are better off just doing a 
plain AS solution.  If you do that (non MXML), the compiler won't bitch 
about init.
 
- Original Message - 
From: JesterXL 
To: flexcoders@yahoogroups.com 
Sent: Monday, May 23, 2005 5:42 PM
Subject: Re: [flexcoders] implementing init() in 
subclass

I never figured that out.  What I do is use 
the contructor in my init, so:
 
function initYourCanvas()
{
 
}
 
And then, in your Canvas' attributes, 
do:
 
initialize="initYourCanvas();"
- Original Message - 
From: Kristopher 
Schultz 
To: flexcoders@yahoogroups.com 
Sent: Monday, May 23, 2005 5:36 PM
Subject: [flexcoders] implementing init() in subclass

I'm trying to 
create an MXML component that is a subclass of . I would like 
to provide my own implementation of mx.core.UIComponent's init() method so that 
I can set some default values for my custom component properties. However, when 
I try this (as illustrated below) I get the following odd 
error:
 
 
   line 
52 The member name, init, may not be repeated more than 
once.
   line 
85 The member name, init, may not be repeated more than 
once.
 
 
My code looks like 
this...
 
 
51  public 
function init() :Void52  {53  
super.init();54  // Use default property values 
if necessary.55  if (selected == 
undefined)56  
{57  selected = 
false;58  }59  }
 
 
Note, this code is 
all inline in my MXML file. My  block ends at line 62. Line 85 
is in the middle of my MXML tags!
 
What is really 
causing this error? How do I resolve it? Is overriding the init() method not the 
best approach for setting default property values?
 
 

Kris
 
-- 
 
Kristopher Schultz
Developer
 
Resource Interactive
p: 614.410.2123
www.resource.com
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] implementing init() in subclass

2005-05-23 Thread Abdul Qabiz





Hi Kris,
 
When a MXML component is converted to ActionScript code, 
compiler inserts a init(...) method in it. Since MXML components are for 
developers looking for quick solution, things have been made easier where 
developer doesn't have to override required methods like init(..) etc. If you 
know about flex component framework, having an init(..) method with super.init() 
call is at minimum for any custom component. But developer doesn't have to do if 
it is custom mxml component.
 
If you really need an init(..) method, I would suggest you 
to create component using ActionScript 
 
If you are curious to know, what ActionScript code is 
generated out of your MXML component, follow the steps mentioned at Manish's 
blog, I just don't want to repeat 'em here again.
 
http://manish.revise.org/2005/05/code-generated-by-mxml-compiler.html
 
 
You can change init(..) method in generated  
actionscript code and compile it back using mxmlc? I guess, it is appropriate 
for pre-compiled swf scenario...
 
 
-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kristopher 
SchultzSent: Tuesday, May 24, 2005 3:06 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] implementing init() 
in subclass

I'm trying to 
create an MXML component that is a subclass of . I would like 
to provide my own implementation of mx.core.UIComponent's init() method so that 
I can set some default values for my custom component properties. However, when 
I try this (as illustrated below) I get the following odd 
error:
 
 
   line 
52 The member name, init, may not be repeated more than 
once.
   line 
85 The member name, init, may not be repeated more than 
once.
 
 
My code looks like 
this...
 
 
51  public 
function init() :Void52  {53  
super.init();54  // Use default property values 
if necessary.55  if (selected == 
undefined)56  
{57  selected = 
false;58  }59  }
 
 
Note, this code is 
all inline in my MXML file. My  block ends at line 62. Line 85 
is in the middle of my MXML tags!
 
What is really 
causing this error? How do I resolve it? Is overriding the init() method not the 
best approach for setting default property values?
 
 

Kris
 
-- 
 
Kristopher Schultz
Developer
 
Resource Interactive
p: 614.410.2123
www.resource.com
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] implementing init() in subclass

2005-05-23 Thread Matt Chotin










The MXML compiler generates an init()
method for any MXML class.  The initialize event might be fine but depending on
your other code it might execute too late.  I think using commitProperties()
might be OK (assign your values and then call super.commitProperties() at the
end of your method).

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Monday, May 23, 2005 5:53 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
implementing init() in subclass



 



Actually, unless you want to override the vars by re-claring
them with default values up top, yoou are better off just doing a plain AS
solution.  If you do that (non MXML), the compiler won't bitch about init.





 





- Original Message - 



From: JesterXL






To: flexcoders@yahoogroups.com






Sent: Monday, May 23,
2005 5:42 PM





Subject: Re: [flexcoders]
implementing init() in subclass







 





I never figured that out.  What I do is use the
contructor in my init, so:





 





function initYourCanvas()





{





 





}





 





And then, in your Canvas' attributes, do:





 





initialize="initYourCanvas();"





- Original Message - 



From: Kristopher
Schultz 





To: flexcoders@yahoogroups.com






Sent: Monday, May 23,
2005 5:36 PM





Subject: [flexcoders]
implementing init() in subclass







 





I'm trying to create an MXML component that is a subclass
of . I would like to provide my own implementation of
mx.core.UIComponent's init() method so that I can set some default values for
my custom component properties. However, when I try this (as illustrated below)
I get the following odd error:





 





 





   line 52 The member
name, init, may not be repeated more than once.





   line 85 The member
name, init, may not be repeated more than once.





 





 





My code looks like this...





 





 





51  public function init() :Void
52  {
53  super.init();
54  // Use default property values if necessary.
55  if (selected == undefined)
56  {
57  selected = false;
58  }
59  }





 





 





Note, this code is all inline in my MXML file. My
 block ends at line 62. Line 85 is in the middle of my MXML
tags!





 





What is really causing this error? How do I resolve it? Is
overriding the init() method not the best approach for setting default property
values?





 





 





Kris





 





-- 





 





Kristopher Schultz





Developer





 





Resource Interactive





p: 614.410.2123





www.resource.com





 



 










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












Re: [flexcoders] Tree component's calculateWidth() method, does it work?

2005-05-23 Thread Manish Jethani
On 5/23/05, pilby1 <[EMAIL PROTECTED]> wrote:

> Checking the documentation, it seems like the method, calculateWidth
> (), is my answer. However, doing tree.calculateWidth() always returns
> NaN, making it useless.

It's 'calculateWidths' (with an 's').  Could that be the problem?


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Double clicking on a datagrid

2005-05-23 Thread Dave Carabetta
On 5/23/05, dillo_mac <[EMAIL PROTECTED]> wrote:
> Hello folks, I'm looking to implement a double click method on a
> datagrid. I have searched high and low on the web and seem to have run
> into a dead end. Is this even possible to implement with flex? Any
> help would be greatly appreciated.
> 

You're not searching hard enough! ;)

http://www.mail-archive.com/flexcoders@yahoogroups.com/msg01391.html

Be sure to search that archive rather than using Yahoo!'s search, which stinks.

Regards,
Dave.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Custom Datagrid (like Excel)

2005-05-23 Thread Jim Laing
Hey Beck,

I've done exactly what you're looking for (plus a lot of other stuff
you might not want), through digging into the DataGrid code and
creating a subclass. I've posted the code, and it should provide you
with a starting point, although I still haven't gotten around to
creating a simple demo (blame it on schedule ...)

Check out this message: http://groups.yahoo.com/group/flexcoders/message/14768

Jim  


On 5/23/05, Beck Novaes <[EMAIL PROTECTED]> wrote:
> Hi People,
> 
> I need to implement a DataGrid with the following requirements:
> 
> -   It should be possible to have ComboBox in his cells;
> -   It should be possible to use the keyboard (TAB) to jump from one
> cell to another even though in one cell there is a ComboBox
> -   It should be possible to restrict data on individual cells
> -   It should be possible to validate data on individual cells
> 
> In other worlds, this DataGrid should work much like an Excel Sheet.
> The most important thing is the ability to enter the data just using
> the keyboard.
> 
> To implement something like this I need to dive into DataGrid. Does
> anyone have some tips to save my time? Have you ever needed to
> implement something like this?
> 
> Thanks a lot!
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
>


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Custom Datagrid (like Excel)

2005-05-23 Thread Manish Jethani
On 5/23/05, Beck Novaes <[EMAIL PROTECTED]> wrote:

> I need to implement a DataGrid with the following requirements:
> 
> -   It should be possible to have ComboBox in his cells;
> -   It should be possible to use the keyboard (TAB) to jump from one
> cell to another even though in one cell there is a ComboBox
> -   It should be possible to restrict data on individual cells
> -   It should be possible to validate data on individual cells

Have you seen Jim Liang's WGDataGrid?
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg06733.html


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Double clicking on a datagrid

2005-05-23 Thread dave buhler



Devis,

There is no doubleClick event in Flex components, but it's quite simple to
implement this. If you look at the flexcoders archive, there has been
discussion on the same.

I could find this thread regarding Double-Click:

http://www.mail-archive.com/flexcoders@yahoogroups.com/msg01391.html



You can find more at:

http://www.mail-archive.com/flexcoders%40yahoogroups.com/
-abdul

- Show quoted text --Original Message-From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]Sent: Wednesday, April 20, 2005 12:36 PMTo: Flex Coders
Subject: [flexcoders] DataGrid doublelclickHi,i'm not find documentation about   "double click cell press" event intoDataGrid?It's possibile please.Thank you in advance.Devis
Yahoo! Groups LinksYahoo! Groups Links<*> To visit your group on the web, go to:    
http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:    
[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:    
http://docs.yahoo.com/info/terms/

  ReplyForward
Invite Abdul to Gmail










 
[EMAIL PROTECTED] to flexcoders More options
  Apr 20ok thankdevisAbdul Qabiz ha scritto:
- Show quoted text ->Devis,>>There is no doubleClick event in Flex components, but it's quite simple to>implement this. If you look at the flexcoders archive, there has been
>discussion on the same.>>I could find this thread regarding Double-Click:>>
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg01391.html>>>You can find more at:>>
http://www.mail-archive.com/flexcoders%40yahoogroups.com/>>>-abdul>>-Original Message->From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]>Sent: Wednesday, April 20, 2005 12:36 PM
>To: Flex Coders>Subject: [flexcoders] DataGrid doublelclick>>>Hi,>i'm not find documentation about   "double click cell press" event into>DataGrid?>It's possibile please.
>Thank you in advance.>Devis>Yahoo! Groups Links>>>Yahoo! Groups Links>>
>>Yahoo! Groups Links<*> To visit your group on the web, go to:    
http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:    
[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:    
http://docs.yahoo.com/info/terms/  
ReplyForwardInvite [EMAIL PROTECTED]
 to Gmail







 kaibabsowats 
<[EMAIL PROTECTED]> to flexcoders
 More options  Apr 20


Here is an example of a DoubleClickTree should be pretty easy to
convert over to a DataGrid:

[Event("doubleClick")]
class com.mason.core.components
.DoubleClickTree extendsmx.controls.Tree {        var lastClick = 0;        var dbLastSelected:Object;        var dClick = false;        // Required for Delegate.        import 
mx.utils.Delegate;        function DoubleClickTree() {                addEventListener("change",_doubleClick);        }        function _doubleClick( event ) {                checkDblClick( 
this.selectedNode );                if( this.getIsBranch( this.selectedNode ) && dClick ) {
                   
   this.setIsOpen( this.selectedNode, (( this.getIsOpen(this.selectedNode ) ) ? false : true), true, true);                }                if( !this.getIsBranch( this.selectedNode ) && dClick ) {
                         dispatchEvent({ type: "doubleClick" });                }        }        private function checkDblClick(s) {                var clickTime = getTimer();

               dClick =
((clickTime-lastClick<300) && (dbLastSelected == s));                lastClick = clickTime;                dbLastSelected = s;        }}
On 5/23/05, dillo_mac <[EMAIL PROTECTED]> wrote:
Hello folks, I'm looking to implement a double click method on adatagrid. I have searched high and low on the web and seem to have runinto a dead end. Is this even possible to implement with flex? Anyhelp would be greatly appreciated.
Yahoo! Groups Links<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/









Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Custom Datagrid (like Excel)

2005-05-23 Thread Tracy Spratt
There are about three dependencies you will need to modify/comment out,
and it will run just fine.
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jim Laing
Sent: Monday, May 23, 2005 6:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Custom Datagrid (like Excel)

Hey Beck,

I've done exactly what you're looking for (plus a lot of other stuff
you might not want), through digging into the DataGrid code and
creating a subclass. I've posted the code, and it should provide you
with a starting point, although I still haven't gotten around to
creating a simple demo (blame it on schedule ...)

Check out this message:
http://groups.yahoo.com/group/flexcoders/message/14768

Jim  


On 5/23/05, Beck Novaes <[EMAIL PROTECTED]> wrote:
> Hi People,
> 
> I need to implement a DataGrid with the following requirements:
> 
> -   It should be possible to have ComboBox in his cells;
> -   It should be possible to use the keyboard (TAB) to jump from
one
> cell to another even though in one cell there is a ComboBox
> -   It should be possible to restrict data on individual cells
> -   It should be possible to validate data on individual cells
> 
> In other worlds, this DataGrid should work much like an Excel Sheet.
> The most important thing is the ability to enter the data just using
> the keyboard.
> 
> To implement something like this I need to dive into DataGrid. Does
> anyone have some tips to save my time? Have you ever needed to
> implement something like this?
> 
> Thanks a lot!
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
>


 
Yahoo! Groups Links



 






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Problems using percentage in Width property for container...

2005-05-23 Thread Mike Anderson
I am terribly confused, especially since FlexBuilder 1.5 docs go out
their way, to say that the old widthFlex and heightFlex properties are
deprecated.

According to the docs, I just use Width and Height - and stick the
percentage number in there.  I am getting errors during compilation, and
this is a Macromedia tutorial - which is kind of surprising.

According to the Docs it says: "This property has been deprecated. For
flexible widths, please set width to a percentage value."

But when I try doing this, using this particular code:



I get "Failed to parse number: 80%" and "Failed to parse number: 100%"
when the application compiles.

Any ideas what I am doing wrong?

Thanks,

Mike


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Problems using percentage in Width property for container...

2005-05-23 Thread Abdul Qabiz
Hi,

Can you please post complete code or testable code?

I don't see any reason that you should get this error. Which version of
Flex you are using?



-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Anderson
Sent: Tuesday, May 24, 2005 8:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problems using percentage in Width property for
container...

I am terribly confused, especially since FlexBuilder 1.5 docs go out
their way, to say that the old widthFlex and heightFlex properties are
deprecated.

According to the docs, I just use Width and Height - and stick the
percentage number in there.  I am getting errors during compilation, and
this is a Macromedia tutorial - which is kind of surprising.

According to the Docs it says: "This property has been deprecated. For
flexible widths, please set width to a percentage value."

But when I try doing this, using this particular code:



I get "Failed to parse number: 80%" and "Failed to parse number: 100%"
when the application compiles.

Any ideas what I am doing wrong?

Thanks,

Mike


 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




re: [flexcoders] Problems using percentage in Width property for container...

2005-05-23 Thread Tarik Ahmed



Well if there's no closing tag on whatever you're using you need to end it like:height="100%"/>  From: "Mike Anderson" <[EMAIL PROTECTED]>Sent: Monday, May 23, 2005 8:11 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Problems using percentage in Width property for container...I am terribly confused, especially since FlexBuilder 1.5 docs go outtheir way, to say that the old widthFlex and heightFlex properties aredeprecated.According to the docs, I just use Width and Height - and stick thepercentage number in there. I am getting errors during compilation, andthis is a Macromedia tutorial - which is kind of surprising.According to the Docs it says: "This property has been deprecated. Forflexible widths, please set width to a percentage value."But when I try doing this, using this particular code:height="100%">I get "Failed to parse number: 80%" and "Failed to parse number: 100%"when the application compiles.Any ideas what I am doing wrong?Thanks,MikeYahoo! Groups Links<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Problems using percentage in Width property for container...

2005-05-23 Thread Mike Anderson
Sure - here you go!  I was just playing around with a MM Tutorial, and
am getting errors a little too early in the game for my own taste...
Please be aware of word-wrap, I don't know if this list-serve wraps
posts, if you were to literally paste this code into the IDE...  Thanks
in advance :)  Mike


http://www.macromedia.com/2003/mxml";>







  





  
  
  











 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Abdul Qabiz
Sent: Monday, May 23, 2005 10:43 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problems using percentage in Width property
for container...

Hi,

Can you please post complete code or testable code?

I don't see any reason that you should get this error. Which version of
Flex you are using?



-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Anderson
Sent: Tuesday, May 24, 2005 8:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problems using percentage in Width property for
container...

I am terribly confused, especially since FlexBuilder 1.5 docs go out
their way, to say that the old widthFlex and heightFlex properties are
deprecated.

According to the docs, I just use Width and Height - and stick the
percentage number in there.  I am getting errors during compilation, and
this is a Macromedia tutorial - which is kind of surprising.

According to the Docs it says: "This property has been deprecated. For
flexible widths, please set width to a percentage value."

But when I try doing this, using this particular code:



I get "Failed to parse number: 80%" and "Failed to parse number: 100%"
when the application compiles.

Any ideas what I am doing wrong?

Thanks,

Mike


 
Yahoo! Groups Links



 




 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Possible to setStyle on the entire application?

2005-05-23 Thread Jeff Steiner
Without using a setStyle for every single element in an app, is it possible
to change the theme-color of an application on the fly?

Thanks,
Jeff
http://www.flexauthority.com



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Problems using percentage in Width property for container...

2005-05-23 Thread Abdul Qabiz
I am now very sure that you are using Flex 1.0, you are not using Flex
1.5

Please make sure by looking at JRUN console message, it must say Flex
version. Or you can look at "WEB-INF\flex\logs\flex.log"

-abdul



 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Anderson
Sent: Tuesday, May 24, 2005 9:31 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problems using percentage in Width property
for container...

Sure - here you go!  I was just playing around with a MM Tutorial, and
am getting errors a little too early in the game for my own taste...
Please be aware of word-wrap, I don't know if this list-serve wraps
posts, if you were to literally paste this code into the IDE...  Thanks
in advance :)  Mike


http://www.macromedia.com/2003/mxml";>







  





  
  
  











 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Abdul Qabiz
Sent: Monday, May 23, 2005 10:43 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problems using percentage in Width property
for container...

Hi,

Can you please post complete code or testable code?

I don't see any reason that you should get this error. Which version of
Flex you are using?



-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Anderson
Sent: Tuesday, May 24, 2005 8:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problems using percentage in Width property for
container...

I am terribly confused, especially since FlexBuilder 1.5 docs go out
their way, to say that the old widthFlex and heightFlex properties are
deprecated.

According to the docs, I just use Width and Height - and stick the
percentage number in there.  I am getting errors during compilation, and
this is a Macromedia tutorial - which is kind of surprising.

According to the Docs it says: "This property has been deprecated. For
flexible widths, please set width to a percentage value."

But when I try doing this, using this particular code:



I get "Failed to parse number: 80%" and "Failed to parse number: 100%"
when the application compiles.

Any ideas what I am doing wrong?

Thanks,

Mike


 
Yahoo! Groups Links



 




 
Yahoo! Groups Links



 




 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Possible to setStyle on the entire application?

2005-05-23 Thread Abdul Qabiz
Jeff,

You can change the themeColor of entier app like this:



..




-abdul

 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff Steiner
Sent: Tuesday, May 24, 2005 11:00 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Possible to setStyle on the entire application?

Without using a setStyle for every single element in an app, is it
possible
to change the theme-color of an application on the fly?

Thanks,
Jeff
http://www.flexauthority.com



 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] transparent background for list/datagrid/accordion components

2005-05-23 Thread Clint Modien



umm... ya... i set the backgroundAlpha but i didn't set the alpha;
 
setting the alpha worked. 
On 5/23/05, Clint Modien <[EMAIL PROTECTED]> wrote:



I just thought i'd jumpstart this thread as I'm trying to find an answer to this myself.
 
When i set the backgroundAlpha of  the datagrid component it doesn't change...
 
Any ideas?
 



From:
 Sven Claar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 30, 2004 5:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] transparent background for list/datagrid/accordion components
Hi,
 
i can't create a transparent version of list or accordion components?
Is there a special trick? In general if I work with Lists and cellrenderers.
 
I tried everything from backgroundColor with backgroundAlpha or backgroundImage with backgroundAlpha
but it's everytime white or the speciefied backgroundColor/Image with the alpha settings or anything i definedin the cellrenderer.

 
Any workaround?
 
Tanks,
Sven


Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/  
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 









Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Possible to setStyle on the entire application?

2005-05-23 Thread Jeff Steiner
ha

Sorry - I am looking to change them after the app has loaded.

dynamically.

Jeff
- Original Message - 
From: "Abdul Qabiz" <[EMAIL PROTECTED]>
To: 
Sent: Monday, May 23, 2005 10:47 PM
Subject: RE: [flexcoders] Possible to setStyle on the entire application?


> Jeff,
> 
> You can change the themeColor of entier app like this:
> 
> 
> 
> ..
> 
> 
> 
> 
> -abdul
> 
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Jeff Steiner
> Sent: Tuesday, May 24, 2005 11:00 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Possible to setStyle on the entire application?
> 
> Without using a setStyle for every single element in an app, is it
> possible
> to change the theme-color of an application on the fly?
> 
> Thanks,
> Jeff
> http://www.flexauthority.com
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/