Re: [flexcoders] Mac Flex developing

2006-03-23 Thread Mike Chambers
What are the specs on your mac and pc?

mike chambers

Alisdair Mills wrote:
> yeah... i add incremental but for some reason it still takes between  
> 8 and 20 seconds. the output from mxmlc is as follows
> 
> Files: 546 Time: 8458ms
> Linking... 100ms
> Optimizing... 901ms
> SWF Encoding... 180ms
> Persisting 114 compilation units... 160ms
> Total time: 12607ms
> 
> am i doing something wrong? my syntax is as follows... mxmlc -- 
> incremental=true -output=deploy/FeverPitch.swf src/FeverPitch.mxml.
> 
> cheers, Al
> 
> 
> On 24 Mar 2006, at 05:32, Mike Chambers wrote:
> 
>> Make sure you are doing incremental compiles by passing:
>>
>> --incremental=true
>>
>> on the command line.
>>
>> mike chambers
>>
>> [EMAIL PROTECTED]
>>


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

<*> 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] Mac Flex developing

2006-03-23 Thread Alisdair Mills
yeah... i add incremental but for some reason it still takes between  
8 and 20 seconds. the output from mxmlc is as follows

Files: 546 Time: 8458ms
Linking... 100ms
Optimizing... 901ms
SWF Encoding... 180ms
Persisting 114 compilation units... 160ms
Total time: 12607ms

am i doing something wrong? my syntax is as follows... mxmlc -- 
incremental=true -output=deploy/FeverPitch.swf src/FeverPitch.mxml.

cheers, Al


On 24 Mar 2006, at 05:32, Mike Chambers wrote:

> Make sure you are doing incremental compiles by passing:
>
> --incremental=true
>
> on the command line.
>
> mike chambers
>
> [EMAIL PROTECTED]
>
>
> Alisdair Mills wrote:
>> Mike, just out of interest... is there any way to get the SDK
>> compiler to compile as quickly as the compiler in flex builder? Using
>> flex builder beta 1 as a guide it would take 1 second or so in flex
>> builder but up to 20 seconds with the command line mxmlc compiler...
>> quite a difference. I was half way through developing an app with
>> beta 1 on a mac (which worked - sort of - on os x eclipse) and since
>> beta 2 it has got a whole lot tougher/slower.
>>
>> On 23 Mar 2006, at 22:25, Mike Chambers wrote:
>>
>>> fyi, we now have an SDK download for Windows, Mac and Linux:
>>>
>>> http://www.macromedia.com/cfusion/entitlement/index.cfm?
>>> e=labs#flexsdk2
>>>
>>> (no more having to copy from windows)
>>>
>>> mike chambers
>>>
>>> [EMAIL PROTECTED]
>>>
>>> Richard Leggett wrote:
 I didn't see whether you specified 1.X or 2.0, and I'm sure
 someone else
 will be better able to speak about Flex 1.X, but I might be able to
 offer some insights for Flex 2.0.

 I'm a PC guy myself but my colleague is currently working on a Mac
 running Eclipse with the FlexBuilder 2 plug-ins (copied directly
 from a
 PC install). Here's what you don't get:

  - Debugging ( or run in debug player )
  - Therefore trace() - see workaround below
  - IDE makes the carat jump around and highlight various things,
 occaisionally he switches to FDT when it all gets too much
  - No MXML highlighting and code completion in MXML documents (if
 anyone
 knows the location of the DTD I'm sure you can at least hook up
 XMLBuddy
 or something to it to get some sort of highlighting and prompting).
  - Errors e.g. "null has no properties" just causes app to stop
 working

 You do get:

  - "intellisense"/code completion / look up declaration in AS
 documents
  - Run as release build

 Design view I'm not sure on, would have to check, not used much.
 So in
 summary, it is workable for now as long as there's a PC guy  
 around to
 debug if it all gets too much.

 I wrote a quick little Logger class and compatible output panel  
 that
 uses LocalConnection if anyone would like it, very simple but it
 might
 save you 5 mins and it's better to have some sort of trace than
 none at
 all if you must use a Mac ;)

 Also tried running Eclipse in VirtualPC, as you'd expect no good
 even on
 the fastest Macs, if anyone has any insights into running  
 Darwine on
 Tiger I'd love to be able to pass it on.

 Rich

 --- 
 --
 ---
 *From:* flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED]
 *On Behalf Of *Jonathan Miranda
 *Sent:* 23 March 2006 19:34
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Mac Flex developing

 Just curious, how and if there are differences with developing
 Flex on a
 Mac (the only thing I can foresee is tools limited to Windows
 environments).**

 _

 *Jonathan Miranda*

 *Flexible Master of the Web*

 //"Try not to become a man of success, but a man of value." -  
 Albert
 Einstein//

 HealthGrades : Guiding America to
 Better
 Healthcare™

 NASDAQ: HGRD

 w  (720) 963-3832

 c  (707) 761-0868

 [EMAIL PROTECTED] 

 _

 The message contains confidential and/or legally privileged
 information
 and is intended for use only by the indicated addressee.  If you
 are not
 the named addressee you should not disseminate, distribute, or
 copy this
 e-mail. Please notify the sender immediately by e-mail if you have
 received this e-mail by mistake and delete this e-mail from your
 system.
 E-mail transmissions cannot be guaranteed to be secure or error-
 free as
 information could be intercepted, corrupted, lost,
 destroyed,arrive late
 or incomplete, or contain viruses. The sender therefore does not
 accept
 liability for any errors or omissions in the contents of this  
 m

Re: [flexcoders] Mac Flex developing

2006-03-23 Thread Mike Chambers
Make sure you are doing incremental compiles by passing:

--incremental=true

on the command line.

mike chambers

[EMAIL PROTECTED]


Alisdair Mills wrote:
> Mike, just out of interest... is there any way to get the SDK  
> compiler to compile as quickly as the compiler in flex builder? Using  
> flex builder beta 1 as a guide it would take 1 second or so in flex  
> builder but up to 20 seconds with the command line mxmlc compiler...  
> quite a difference. I was half way through developing an app with  
> beta 1 on a mac (which worked - sort of - on os x eclipse) and since  
> beta 2 it has got a whole lot tougher/slower.
> 
> On 23 Mar 2006, at 22:25, Mike Chambers wrote:
> 
>> fyi, we now have an SDK download for Windows, Mac and Linux:
>>
>> http://www.macromedia.com/cfusion/entitlement/index.cfm? 
>> e=labs#flexsdk2
>>
>> (no more having to copy from windows)
>>
>> mike chambers
>>
>> [EMAIL PROTECTED]
>>
>> Richard Leggett wrote:
>>> I didn't see whether you specified 1.X or 2.0, and I'm sure  
>>> someone else
>>> will be better able to speak about Flex 1.X, but I might be able to
>>> offer some insights for Flex 2.0.
>>>
>>> I'm a PC guy myself but my colleague is currently working on a Mac
>>> running Eclipse with the FlexBuilder 2 plug-ins (copied directly  
>>> from a
>>> PC install). Here's what you don't get:
>>>
>>>  - Debugging ( or run in debug player )
>>>  - Therefore trace() - see workaround below
>>>  - IDE makes the carat jump around and highlight various things,
>>> occaisionally he switches to FDT when it all gets too much
>>>  - No MXML highlighting and code completion in MXML documents (if  
>>> anyone
>>> knows the location of the DTD I'm sure you can at least hook up  
>>> XMLBuddy
>>> or something to it to get some sort of highlighting and prompting).
>>>  - Errors e.g. "null has no properties" just causes app to stop  
>>> working
>>>
>>> You do get:
>>>
>>>  - "intellisense"/code completion / look up declaration in AS  
>>> documents
>>>  - Run as release build
>>>
>>> Design view I'm not sure on, would have to check, not used much.  
>>> So in
>>> summary, it is workable for now as long as there's a PC guy around to
>>> debug if it all gets too much.
>>>
>>> I wrote a quick little Logger class and compatible output panel that
>>> uses LocalConnection if anyone would like it, very simple but it  
>>> might
>>> save you 5 mins and it's better to have some sort of trace than  
>>> none at
>>> all if you must use a Mac ;)
>>>
>>> Also tried running Eclipse in VirtualPC, as you'd expect no good  
>>> even on
>>> the fastest Macs, if anyone has any insights into running Darwine on
>>> Tiger I'd love to be able to pass it on.
>>>
>>> Rich
>>>
>>> - 
>>> ---
>>> *From:* flexcoders@yahoogroups.com  
>>> [mailto:[EMAIL PROTECTED]
>>> *On Behalf Of *Jonathan Miranda
>>> *Sent:* 23 March 2006 19:34
>>> *To:* flexcoders@yahoogroups.com
>>> *Subject:* [flexcoders] Mac Flex developing
>>>
>>> Just curious, how and if there are differences with developing  
>>> Flex on a
>>> Mac (the only thing I can foresee is tools limited to Windows
>>> environments).**
>>>
>>> _
>>>
>>> *Jonathan Miranda*
>>>
>>> *Flexible Master of the Web*
>>>
>>> //"Try not to become a man of success, but a man of value." - Albert
>>> Einstein//
>>>
>>> HealthGrades : Guiding America to  
>>> Better
>>> Healthcare™
>>>
>>> NASDAQ: HGRD
>>>
>>> w  (720) 963-3832
>>>
>>> c  (707) 761-0868
>>>
>>> [EMAIL PROTECTED] 
>>>
>>> _
>>>
>>> The message contains confidential and/or legally privileged  
>>> information
>>> and is intended for use only by the indicated addressee.  If you  
>>> are not
>>> the named addressee you should not disseminate, distribute, or  
>>> copy this
>>> e-mail. Please notify the sender immediately by e-mail if you have
>>> received this e-mail by mistake and delete this e-mail from your  
>>> system.
>>> E-mail transmissions cannot be guaranteed to be secure or error- 
>>> free as
>>> information could be intercepted, corrupted, lost,  
>>> destroyed,arrive late
>>> or incomplete, or contain viruses. The sender therefore does not  
>>> accept
>>> liability for any errors or omissions in the contents of this message
>>> which arise as a result of e-mail transmission. If verification is
>>> required please request a hard-copy version.
>>>
>>>
>>>
>>> --
>>> Flexcoders Mailing List
>>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>>> Search Archives: http://www.mail-archive.com/flexcoders% 
>>> 40yahoogroups.com
>>>
>>>
>>>
>>> SPONSORED LINKS
>>> Web site design development
>>> >> +development&w1=Web+site+design+development&w2=Computer+software 
>>> +development&w3=Software+design+and+development&w4=Macromedia 
>>> +fl

[flexcoders] Print function on linux server cannot work well

2006-03-23 Thread wujunjr
Could anyone kindly help me? Thanks.

--- In flexcoders@yahoogroups.com, "wujunjr" <[EMAIL PROTECTED]> wrote:
>
> Hi, everyone,
> 
> I'm dying...
> It's our local time 3:00 a.m.
> It is the first time for us to depoy the flex 1.5 code to linux 
server. 
> As the result, all the text in the chart cannot be printed at all 
using 
> flex "print" function while it's ok in windows, and there are many 
> display features different with in windows.
> 
> Maybe it is due to AWT's poor graphic function? There is no graphic 
> card on the linux server. Anyway, I have never realized that before.
> 
> Could anyone kindly help me?
> 
> Thanks a lot!!!
>






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

<*> 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] Beta 2 debugger issues

2006-03-23 Thread Scott Fanetti



Is anyone having major problems getting anything to debug with the Beta 2 debugger?I am trying to update some of my Beta 1 apps to Beta 2 and the debugger perspective takes forever to launch - and the debugger itself times out before the application builds.  Does anyone have this same problem?
-- Thanks,Scott FanettiSoftware EngineerFairfield Language TechnologiesRosettastone.com[EMAIL PROTECTED]
[EMAIL PROTECTED]






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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Minimizing functionality on TitleWindow

2006-03-23 Thread Alex & Alex
Hello experts,

I'm working on an application similar to a desktop environment. I have 
a TitleWindow that works just great and I have created 2 states.

the first state is when the TitleWindow is open and the second state 
is when the TitleWindow is minimized.

Question:

How can I add a dash (-) next to the (x) on the TitleWindow that when 
clicked on the TitleWindow will change between states?

Thanks
Alex





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

<*> 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] Request to Adobe re: Documentation format

2006-03-23 Thread jeremy lu



hi Matt, where's the other forum for discussion on Flex ?thanks.On 3/24/06, Matt Horn <[EMAIL PROTECTED]
> wrote:





I can assure you we read this and other forums. Hey, where 
do you think my best code samples come from? ;)
 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Mac Flex developing

2006-03-23 Thread jeremy lu



mind you, dual boot to xp on intel-based mac is now proven :)best of both world ? On 3/24/06, Jonathan Miranda <
[EMAIL PROTECTED]> wrote:Hmm, so what you're telling me is I shouldn't get an iMacPro laptop
unless I can get it to dual-boot OSX/XP ;)_Jonathan MirandaFlexible Master of the Web"Try not to become a man of success, but a man of value." - Albert
EinsteinHealthGrades: Guiding America to Better Healthcare(tm)NASDAQ: HGRDw  (720) 963-3832c  (707) 761-0868[EMAIL PROTECTED]_
The message contains confidential and/or legally privileged informationand is intended for use only by the indicated addressee.  If you are notthe named addressee you should not disseminate, distribute, or copy this
e-mail. Please notify the sender immediately by e-mail if you havereceived this e-mail by mistake and delete this e-mail from your system.E-mail transmissions cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,arrive lateor incomplete, or contain viruses. The sender therefore does not acceptliability for any errors or omissions in the contents of this message
which arise as a result of e-mail transmission. If verification isrequired please request a hard-copy version.-Original Message-From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] OnBehalf Of Alisdair MillsSent: Thursday, March 23, 2006 5:23 PMTo: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Mac Flex developingMike, just out of interest... is there any way to get the SDKcompiler to compile as quickly as the compiler in flex builder? Usingflex builder beta 1 as a guide it would take 1 second or so in flex
builder but up to 20 seconds with the command line mxmlc compiler...quite a difference. I was half way through developing an app withbeta 1 on a mac (which worked - sort of - on os x eclipse) and sincebeta 2 it has got a whole lot tougher/slower.
On 23 Mar 2006, at 22:25, Mike Chambers wrote:> fyi, we now have an SDK download for Windows, Mac and Linux:>> http://www.macromedia.com/cfusion/entitlement/index.cfm
?> e=labs#flexsdk2>> (no more having to copy from windows)>> mike chambers>> [EMAIL PROTECTED]>> Richard Leggett wrote:
>> I didn't see whether you specified 1.X or 2.0, and I'm sure>> someone else>> will be better able to speak about Flex 1.X, but I might be able to>> offer some insights for Flex 2.0.
 I'm a PC guy myself but my colleague is currently working on a Mac>> running Eclipse with the FlexBuilder 2 plug-ins (copied directly>> from a>> PC install). Here's what you don't get:
  - Debugging ( or run in debug player )>>  - Therefore trace() - see workaround below>>  - IDE makes the carat jump around and highlight various things,>> occaisionally he switches to FDT when it all gets too much
>>  - No MXML highlighting and code completion in MXML documents (if>> anyone>> knows the location of the DTD I'm sure you can at least hook up>> XMLBuddy>> or something to it to get some sort of highlighting and prompting).
>>  - Errors e.g. "null has no properties" just causes app to stop>> working You do get:  - "intellisense"/code completion / look up declaration in AS
>> documents>>  - Run as release build Design view I'm not sure on, would have to check, not used much.>> So in>> summary, it is workable for now as long as there's a PC guy around to
>> debug if it all gets too much. I wrote a quick little Logger class and compatible output panel that>> uses LocalConnection if anyone would like it, very simple but it>> might
>> save you 5 mins and it's better to have some sort of trace than>> none at>> all if you must use a Mac ;) Also tried running Eclipse in VirtualPC, as you'd expect no good
>> even on>> the fastest Macs, if anyone has any insights into running Darwine on>> Tiger I'd love to be able to pass it on. Rich -
>> --->> *From:* flexcoders@yahoogroups.com>> [mailto:flexcoders@yahoogroups.com]>> *On Behalf Of *Jonathan Miranda
>> *Sent:* 23 March 2006 19:34>> *To:* flexcoders@yahoogroups.com>> *Subject:* [flexcoders] Mac Flex developing Just curious, how and if there are differences with developing
>> Flex on a>> Mac (the only thing I can foresee is tools limited to Windows>> environments).** _ *Jonathan Miranda*
 *Flexible Master of the Web* //"Try not to become a man of success, but a man of value." - Albert>> Einstein// HealthGrades <
http://www.healthgrades.com/>: Guiding America to>> Better>> Healthcare(tm) NASDAQ: HGRD w  (720) 963-3832
 c  (707) 761-0868 [EMAIL PROTECTED] [EMAIL PROTECTED]>
 _ The message contains confidential and/or legally privileged>> information>> and is intended for use only by the indicated addressee.  If you
>> are not>>

Re: [flexcoders] Beta2 - Hide/Show Grid Columns - Where did getColumnAt() Go?

2006-03-23 Thread jeremy lu



how about grid.columns[1].visible = truegetColumnAt() is gone but you can manipulate it via columns getter/setter.jeremyOn 3/24/06, 
quasimotoca <[EMAIL PROTECTED]> wrote:
Hi Folks:I used to be able to do this in Beta1:grid.getColumnAt(1).visible = trueIs there an alternative way to show/hide Grid columns in Beta2?Cheers,Dave
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Everyone: Please indicate Flex version in subject line

2006-03-23 Thread Tracy Spratt









This forum is so active that we need to not waste our time even reading questions we can’t answer.

And spending time to answer a question on the wrong version is even worse.

Thanks,

Tracy








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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Beta2 - Hide/Show Grid Columns - Where did getColumnAt() Go?

2006-03-23 Thread quasimotoca
Hi Folks:

I used to be able to do this in Beta1:


grid.getColumnAt(1).visible = true


Is there an alternative way to show/hide Grid columns in Beta2?

Cheers,
Dave







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

<*> 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 1.5 CurrencyFormatter

2006-03-23 Thread JesterXL
Found the offending function.  A debug class used for doing CFDump like 
actions in ActionScript written back in 2003 overrwrote the 
String.prototype.toString method and formatted it to it's liking.  Since the 
last line of NumberBase, a class CurrencyFormatter uses, goes:

return value.toString();

This causes the custom formatting function to run, thus mangling the 
intended return value.  Not sure why yet, but the overrwriting doesn't occur 
when you run the SWF in debug mode in Flex Builder 1.5; maybe it locks 
String.prototype.toString from being overrwritten, or the library itself 
knows it's running in debug mode and doesn't run... :: shrugs ::.

Either way, found the source of the bug.  Thanks for your help!

- Original Message - 
From: "Doug Lowder" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 23, 2006 6:48 PM
Subject: [flexcoders] Re: Flex 1.5 CurrencyFormatter


OK.  Same results here with Firefox 1.5.0.1, Player 8.5 beta 2
(8,5,0,246), so something's fishy.

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> Sorry, I'm still working on a true reproduceable test case.
>
> In my app, running in IE 6 Flash Player 7.0.22.0, Firefox 1.5 with
Flash
> Player 8.5 beta 2, and inside of Flex Builder running... all show
$"0.00"
>
> However, running in Flex Builder in Debug mode shows it fine.
>
> I'm in the midst of creating a series of test cases and so far,
everyone
> works fine; I cannot duplicate the exact problem yet.  My guess
is, our app
> utilizes a lot of other libraries written by f'ing nitwits
screwing with
> prototypes.  As such, it's really hard to track down, but I don't
give up
> easily... thanks for your help G!
>
> - Original Message - 
> From: "Doug Lowder" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, March 23, 2006 6:19 PM
> Subject: [flexcoders] Re: Flex 1.5 CurrencyFormatter
>
>
> Also works fine - $0.00.  I hate it when that happens  :/
>
> Running Flash Player 8.0.22 here.  Maybe something that was fixed
in
> a Flex update?
>
> --- In flexcoders@yahoogroups.com, "JesterXL"  wrote:
> >
> > Try this:
> >
> > import mx.formatters.CurrencyFormatter;
> > var result:String = USDformatter.format(0);
> > trace(resutlt);
> >
> >
> > - Original Message - 
> > From: "Doug Lowder" 
> > To: 
> > Sent: Thursday, March 23, 2006 5:55 PM
> > Subject: [flexcoders] Re: Flex 1.5 CurrencyFormatter
> >
> >
> > I couldn't reproduce it.  Everything formats just fine with the
> > grid's label function, even coming up blank with the "a" string
as
> > the price.
> >
> > 
> > http://www.macromedia.com/2003/mxml";>
> >
> >   
> >   
> >   
> >
> >> currencySymbol="$"
> > decimalSeparatorFrom="."
> >  decimalSeparatorTo="." useNegativeSign="true"
> > useThousandsSeparator="true" alignSymbol="left"/>
> >
> >   
> >
> >
> > 
> >
> >
> > 
> > 
> >  headerText="Price"
> > labelFunction="formatPrice" />
> > 
> > 
> >
> >
> >   
> > 
> >
> >
> > --- In flexcoders@yahoogroups.com, "JesterXL"  wrote:
> > >
> > > This works when used with a TextInput, but does not work with a
> > > labelFunction with a DataGrid.  I'm getting relaly weird
results
> > like
> > > $"0.00" when you pass a 0 to the CurrencyFormatter.format
> function.
> > >
> > > Why does this work perfectly with a TextField, but not with
> > labelFunction
> > > for a DataGrid?
> > >
> > > This works:
> > >
> > > 
> > > http://www.macromedia.com/2003/mxml";>
> > >
> > >  
> > >  
> > >  
> > >
> > >   > currencySymbol="$"
> > > decimalSeparatorFrom="."
> > > decimalSeparatorTo="." useNegativeSign="true"
> > > useThousandsSeparator="true" alignSymbol="left"/>
> > >
> > >  
> > >
> > >   
> > > enter="format1
> > ()" />
> > >   
> > >
> > >  
> > > 
> > >
> > > However, this psuedo code does not:
> > >
> > > function formatPrice( item : Object, columnName :
String ):String
> > > {
> > >  var formattedPrice:String = USDformatter.format(item.price);
> > >  return formattedPrice;
> > > }
> > >
> > > I have confirmed through traces & debugs that item.price is in
> > fact 0.
> > > Strangely, even hardcoding 0 or "0" into the
USDformatter.format
> > function
> > > still results in the $"0.00" problem.
> > >
> > > !?!?
> > >
> > > --JesterXL
> > >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
> 40yahoogroups.com
> > Yahoo! Groups Links
> >
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>






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








--
Flexcoders Mailing List
FAQ: htt

[flexcoders] workinng project not work in flex-2 beta-2

2006-03-23 Thread Jignesh M. Dodiya
hellow, 

I have installed flex-2 beta-2 and just try to run the project that 
was built in flex-2 beta-1 that is not working properly anymore in 
flex-2 beta-2

I have checked the lab documentation and corrected some changes but  
the following problems can't be solved, anybody has idea???

(1). I have a Panel control in my project, that just resize with 
transition state... code working fine with flex-2 beta-1 but beta-2 
just don't support the transition. On compiling, very first time it 
make transition and come back to initial state , thenafter it will 
not make any transiton while compiling it gives no Error at all. 
Any idea regarding this... 

(2). Combo-box control works fine in beta-1 but in beta-2, clicking 
on the combobox, any Indexed value you select, combo box sticks to 
its 0 indexed value and the value is not changing on clicking other 
value

(3). I have seen some strange behaviour that sometime on compiling 
project in beta-2 gives the pop-up that there is error in the 
application with no hint or error description. On neglecting it, the 
application works ok, but the Error pop-up can't be re-produced all 
the time on compiling..

hope someone may have face the above mentioned problems..Really 
hope for solution

regards,

Jignesh






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

<*> 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: Tree kicking my butt. Need some help

2006-03-23 Thread Doug Lowder
Ah, that explains it.  Afraid I can't provide much help on Flex 2.

--- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]> 
wrote:
>
> No I am sorry this is flex 2b. I always forget to put that on 
there.
> 
> --- In flexcoders@yahoogroups.com, "Doug Lowder"  
wrote:
> >
> > 
> > Strange... this is Flex 1.5, right?  I basically do the same 
thing to
> > populate my document tree, except I pass a 2nd param that the 
docs say
> > is supposed to be optional:
> > 
> > myTree.addTreeNode(file.name, {file: file.clone()});
> > 
> > Link
> >
> 
 > addTreeNode>  :
> >
> 
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/Tree.htm
l#a\
> > ddTreeNode
> >
> 
 > addTreeNode>
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Jeremy Rottman" 
> > wrote:
> > >
> > > Hum that wont even compile, gives me this error.
> > >
> > > Call to a possibly undefined method 'addTreeNode' through a 
reference
> > > with static type 'mx.controls:Tree'
> > >
> > >
> > > --- In flexcoders@yahoogroups.com, "Doug Lowder" douglowder@ 
wrote:
> > > >
> > > > Try this:
> > > >
> > > > function DocDisplayModdisplayDocsListQryResult( result ){
> > > > var resultArray: Array = mx.utils.ArrayUtil.toArray(result);
> > > > for (var i = 0; i < resultArray.length; i++) {
> > > > DocTree.addTreeNode(resultArray[i].dir);
> > > > }
> > > > }
> > > >
> > > > You can also add an optional data object to the addTreeNode()
> > > > function, as the 2nd parameter.
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Jeremy Rottman" 

> > > > wrote:
> > > > >
> > > > > I have added the code you suggested and it still just 
displays it
> > > > as
> > > > > [object Object].
> > > > > I even trimed my cfc down to this, just to test the 
folders.
> > > > >
> > > > >  > > > > returntype="array" output="true">
> > > > >  > > > type="string" />
> > > > >  > > > >
> > > >
> > 
directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
> > > > ode#/#arguments.fileNum#"
> > > > > name="ListDir" />
> > > > > 
> > > > > 
> > > > > 
> > > > >  > > > = structnew()>
> > > > >  > > > [dcounter].dir = ListDir.name>
> > > > >  > > > dcounter + 1>
> > > > > 
> > > > > 
> > > > > 
> > > > >
> > > > >
> > > > > --- In flexcoders@yahoogroups.com, "Doug Lowder" 

> > > > wrote:
> > > > > >
> > > > > > One thing you'll want to do is make sure your 
dataprovider is
> > > > set to
> > > > > > an array in the case where you are reading a directory 
that
> > > > consists
> > > > > > of only a single item. Flex will interpret that as an 
object
> > > > > > instead of an array, so you will need the following:
> > > > > >
> > > > > > function DocDisplayModdisplayDocsListQryResult( result ){
> > > > > > DocTree.dataProvider = mx.utils.ArrayUtil.toArray
(result);
> > > > > > }
> > > > > >
> > > > > >
> > > > > > Doug
> > > > > >
> > > > > > --- In flexcoders@yahoogroups.com, "Jeremy Rottman" 

> > > > > > wrote:
> > > > > > >
> > > > > > > In my app, I have a section that is suposed to display 
in a
> > > > tree
> > > > > > all
> > > > > > > documents that are in a specific folder.
> > > > > > >
> > > > > > > The issue I have is that, when I test the code, the 
tree has
> > > > this
> > > > > > > output [object Object].
> > > > > > >
> > > > > > > Is this because it not formated correctly in my cfc? 
Or is it
> > > > > > > something more sinister and evil.
> > > > > > >
> > > > > > > I have this cfc code. This code works.
> > > > > > >
> > > > > > >  > > > > > > returntype="array" output="true">
> > > > > > >  > > > > > type="string" />
> > > > > > >  > > > > > >
> > > > > >
> > > >
> > 
directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
> > > > > > ode#/L060001"
> > > > > > > name="ListDir" />
> > > > > > >
> > > > > > > 
> > > > > > > select * from ListDir
> > > > > > > where type = 'Dir'
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > select * from ListDir
> > > > > > > where type = 'File' and directory =
> > > > > >
> > > > >
> 
> '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#ar
> > > > > > guments.fileNum#/#dirArray[dcounter].dir#'
> > > > > > > 
> > > > > > > 
> > > > > > >  > > > > > ListFileQry.name>
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > >
> > > > > > > Now, I call this function like this.
> > > > > > >
> > > > > > > Webservice --
> > > > > > > 
> > > > > > >  > > > > > > wsdl="http://flex.homesmartagent.com/cfc/adminList.cfc?
wsdl"
> > > > > > > showBusyCursor="true">
> > > > > > >  > > > > > > result="DocDisplayModdisplayDocsListQryResult
> > > > > > (
> > > > > > > DocDisplayMod.displayDocsListQry.result )"
> > > > > > > fault="DocDisplayModdisplayDocsListQryFault(
> > > > > > event )" />
> > > > >

RE: [flexcoders] Re: Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package

2006-03-23 Thread Roger Gonzalez

> It's interesting idea. But current Flex release doesn't provide good 
> external libraries support as for me. Some RSL initialization code 
> is statically injected by mxlmlc to the application SWF file during 
> compilation process ( binding initialization, remote class 
> registration etc). It makes impossible to update library binaries 
> without recompilation of application SWF. Each time shared library 
> is updated, we need to recompile all applications as well. Also all 
> dynamic classes declared in RSL must be explicitly referenced by 
> main application,(as otherwise these classes will be loaded without 
> initialization). 

If you're finding this to be the case, I suggest refactoring to use more
interfaces.  If you set things up correctly, you should only need to
rebuild the other piece if the interface changes.  This helps decouple
the dependencies, and makes for faster recompiles.

> For the same reason we are unable to load "unknown" library at 
> runtime and dynamically create class without problem (I mean classes 
> with complex UI, remoting code etc). 

In order to get the initialization code, you need to build using mxmlc.
I'm working on some skunkworks code to make building these sorts of
loadable modules easier.

> Ideally it would be better if "compc" stored all initialization 
> information in SWC binaries. So loader could access it at runtime 
> and automatically initialize external library on demand. Just my 
> 2c...

The player doesn't know SWCs, but you're welcome to write an AS3 SWC
parser.  :-)

-rg


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

<*> 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] Mac Flex developing

2006-03-23 Thread Jonathan Miranda
Hmm, so what you're telling me is I shouldn't get an iMacPro laptop
unless I can get it to dual-boot OSX/XP ;)

_
Jonathan Miranda
Flexible Master of the Web
"Try not to become a man of success, but a man of value." - Albert
Einstein
HealthGrades: Guiding America to Better Healthcare(tm)
NASDAQ: HGRD
w  (720) 963-3832
c  (707) 761-0868
[EMAIL PROTECTED] 
_

The message contains confidential and/or legally privileged information
and is intended for use only by the indicated addressee.  If you are not
the named addressee you should not disseminate, distribute, or copy this
e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system.
E-mail transmissions cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,arrive late
or incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message
which arise as a result of e-mail transmission. If verification is
required please request a hard-copy version.


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alisdair Mills
Sent: Thursday, March 23, 2006 5:23 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Mac Flex developing

Mike, just out of interest... is there any way to get the SDK  
compiler to compile as quickly as the compiler in flex builder? Using  
flex builder beta 1 as a guide it would take 1 second or so in flex  
builder but up to 20 seconds with the command line mxmlc compiler...  
quite a difference. I was half way through developing an app with  
beta 1 on a mac (which worked - sort of - on os x eclipse) and since  
beta 2 it has got a whole lot tougher/slower.

On 23 Mar 2006, at 22:25, Mike Chambers wrote:

> fyi, we now have an SDK download for Windows, Mac and Linux:
>
> http://www.macromedia.com/cfusion/entitlement/index.cfm? 
> e=labs#flexsdk2
>
> (no more having to copy from windows)
>
> mike chambers
>
> [EMAIL PROTECTED]
>
> Richard Leggett wrote:
>> I didn't see whether you specified 1.X or 2.0, and I'm sure  
>> someone else
>> will be better able to speak about Flex 1.X, but I might be able to
>> offer some insights for Flex 2.0.
>>
>> I'm a PC guy myself but my colleague is currently working on a Mac
>> running Eclipse with the FlexBuilder 2 plug-ins (copied directly  
>> from a
>> PC install). Here's what you don't get:
>>
>>  - Debugging ( or run in debug player )
>>  - Therefore trace() - see workaround below
>>  - IDE makes the carat jump around and highlight various things,
>> occaisionally he switches to FDT when it all gets too much
>>  - No MXML highlighting and code completion in MXML documents (if  
>> anyone
>> knows the location of the DTD I'm sure you can at least hook up  
>> XMLBuddy
>> or something to it to get some sort of highlighting and prompting).
>>  - Errors e.g. "null has no properties" just causes app to stop  
>> working
>>
>> You do get:
>>
>>  - "intellisense"/code completion / look up declaration in AS  
>> documents
>>  - Run as release build
>>
>> Design view I'm not sure on, would have to check, not used much.  
>> So in
>> summary, it is workable for now as long as there's a PC guy around to
>> debug if it all gets too much.
>>
>> I wrote a quick little Logger class and compatible output panel that
>> uses LocalConnection if anyone would like it, very simple but it  
>> might
>> save you 5 mins and it's better to have some sort of trace than  
>> none at
>> all if you must use a Mac ;)
>>
>> Also tried running Eclipse in VirtualPC, as you'd expect no good  
>> even on
>> the fastest Macs, if anyone has any insights into running Darwine on
>> Tiger I'd love to be able to pass it on.
>>
>> Rich
>>
>> -

>> ---
>> *From:* flexcoders@yahoogroups.com  
>> [mailto:[EMAIL PROTECTED]
>> *On Behalf Of *Jonathan Miranda
>> *Sent:* 23 March 2006 19:34
>> *To:* flexcoders@yahoogroups.com
>> *Subject:* [flexcoders] Mac Flex developing
>>
>> Just curious, how and if there are differences with developing  
>> Flex on a
>> Mac (the only thing I can foresee is tools limited to Windows
>> environments).**
>>
>> _
>>
>> *Jonathan Miranda*
>>
>> *Flexible Master of the Web*
>>
>> //"Try not to become a man of success, but a man of value." - Albert
>> Einstein//
>>
>> HealthGrades : Guiding America to  
>> Better
>> Healthcare(tm)
>>
>> NASDAQ: HGRD
>>
>> w  (720) 963-3832
>>
>> c  (707) 761-0868
>>
>> [EMAIL PROTECTED] 
>>
>> _
>>
>> The message contains confidential and/or legally privileged  
>> information
>> and is intended for use only by the indicated addressee.  If you  
>> a

RE: [flexcoders] How to enumerate ApplicationDomain classes?

2006-03-23 Thread Roger Gonzalez
I fought the battle, and lost.  :-(

It was deemed a potential security issue, and I although I think I
successfully argued that down, it was deprioritized compared to other
more critical issues.  We'll hopefully revisit it for a future release.

-rg 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik
> Sent: Thursday, March 23, 2006 10:10 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How to enumerate ApplicationDomain classes?
> 
> Hi All,
> 
> ApplicationDomain provides getClass(getDefinition??) method to 
> retrieve class definition. Is it possible to enumerate all available 
> class definitions or class names loaded by certain application domain 
> at runtime from AS code?
> 
> --
> Thanks,
> Vadim Melnik.
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


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

<*> 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] Cairngorm Model binding problem

2006-03-23 Thread Jonathan Miranda











Alright, I’m attempting to move my little dashboard to
Cairngorm and it’s going alright but now I’ve got a real basic
problem and it’s stumping me – I know it’s something little
but I’m stuck. In my ModelLocator instance I have an ICollectionView.
Service gets called by event/delegates and the command responder is setting the
model.ICV correctly….but my chart which uses dataProvider=”{model.ICV}”
isn’t updating. Now, since I made in my chart component:

[Bindable]

public var model : ModelLocator =
ModelLocator.getInstance();



And in my ModelLocator file:

public var ICV: ICollectionView;

I’m assuming the problem is somewhere in the binding – do I need to
broadcast an update event to the Chart….that doesn’t sound right
though, anytime an ICV changes I shouldn’t have to do that right? Bah,
having a headache isn’t helping….anyone got any ideas where I went
wrong?

_

Jonathan Miranda

Flexible Master of
the Web

"Try not to become a
man of success, but a man of value." - Albert Einstein

HealthGrades:
Guiding America
to Better Healthcare™

NASDAQ: HGRD

w  (720) 963-3832

c  (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee.  If you
are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.

 












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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Mac Flex developing

2006-03-23 Thread Alisdair Mills
Mike, just out of interest... is there any way to get the SDK  
compiler to compile as quickly as the compiler in flex builder? Using  
flex builder beta 1 as a guide it would take 1 second or so in flex  
builder but up to 20 seconds with the command line mxmlc compiler...  
quite a difference. I was half way through developing an app with  
beta 1 on a mac (which worked - sort of - on os x eclipse) and since  
beta 2 it has got a whole lot tougher/slower.

On 23 Mar 2006, at 22:25, Mike Chambers wrote:

> fyi, we now have an SDK download for Windows, Mac and Linux:
>
> http://www.macromedia.com/cfusion/entitlement/index.cfm? 
> e=labs#flexsdk2
>
> (no more having to copy from windows)
>
> mike chambers
>
> [EMAIL PROTECTED]
>
> Richard Leggett wrote:
>> I didn't see whether you specified 1.X or 2.0, and I'm sure  
>> someone else
>> will be better able to speak about Flex 1.X, but I might be able to
>> offer some insights for Flex 2.0.
>>
>> I'm a PC guy myself but my colleague is currently working on a Mac
>> running Eclipse with the FlexBuilder 2 plug-ins (copied directly  
>> from a
>> PC install). Here's what you don't get:
>>
>>  - Debugging ( or run in debug player )
>>  - Therefore trace() - see workaround below
>>  - IDE makes the carat jump around and highlight various things,
>> occaisionally he switches to FDT when it all gets too much
>>  - No MXML highlighting and code completion in MXML documents (if  
>> anyone
>> knows the location of the DTD I'm sure you can at least hook up  
>> XMLBuddy
>> or something to it to get some sort of highlighting and prompting).
>>  - Errors e.g. "null has no properties" just causes app to stop  
>> working
>>
>> You do get:
>>
>>  - "intellisense"/code completion / look up declaration in AS  
>> documents
>>  - Run as release build
>>
>> Design view I'm not sure on, would have to check, not used much.  
>> So in
>> summary, it is workable for now as long as there's a PC guy around to
>> debug if it all gets too much.
>>
>> I wrote a quick little Logger class and compatible output panel that
>> uses LocalConnection if anyone would like it, very simple but it  
>> might
>> save you 5 mins and it's better to have some sort of trace than  
>> none at
>> all if you must use a Mac ;)
>>
>> Also tried running Eclipse in VirtualPC, as you'd expect no good  
>> even on
>> the fastest Macs, if anyone has any insights into running Darwine on
>> Tiger I'd love to be able to pass it on.
>>
>> Rich
>>
>> - 
>> ---
>> *From:* flexcoders@yahoogroups.com  
>> [mailto:[EMAIL PROTECTED]
>> *On Behalf Of *Jonathan Miranda
>> *Sent:* 23 March 2006 19:34
>> *To:* flexcoders@yahoogroups.com
>> *Subject:* [flexcoders] Mac Flex developing
>>
>> Just curious, how and if there are differences with developing  
>> Flex on a
>> Mac (the only thing I can foresee is tools limited to Windows
>> environments).**
>>
>> _
>>
>> *Jonathan Miranda*
>>
>> *Flexible Master of the Web*
>>
>> //"Try not to become a man of success, but a man of value." - Albert
>> Einstein//
>>
>> HealthGrades : Guiding America to  
>> Better
>> Healthcare™
>>
>> NASDAQ: HGRD
>>
>> w  (720) 963-3832
>>
>> c  (707) 761-0868
>>
>> [EMAIL PROTECTED] 
>>
>> _
>>
>> The message contains confidential and/or legally privileged  
>> information
>> and is intended for use only by the indicated addressee.  If you  
>> are not
>> the named addressee you should not disseminate, distribute, or  
>> copy this
>> e-mail. Please notify the sender immediately by e-mail if you have
>> received this e-mail by mistake and delete this e-mail from your  
>> system.
>> E-mail transmissions cannot be guaranteed to be secure or error- 
>> free as
>> information could be intercepted, corrupted, lost,  
>> destroyed,arrive late
>> or incomplete, or contain viruses. The sender therefore does not  
>> accept
>> liability for any errors or omissions in the contents of this message
>> which arise as a result of e-mail transmission. If verification is
>> required please request a hard-copy version.
>>
>>
>>
>> --
>> Flexcoders Mailing List
>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>> Search Archives: http://www.mail-archive.com/flexcoders% 
>> 40yahoogroups.com
>>
>>
>>
>> SPONSORED LINKS
>> Web site design development
>> > +development&w1=Web+site+design+development&w2=Computer+software 
>> +development&w3=Software+design+and+development&w4=Macromedia 
>> +flex&w5=Software+development+best 
>> +practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
>>  Computer software development
>> > +development&w1=Web+site+design+development&w2=Computer+software 
>> +development&w3=Software+design+and+development&w4=Mac

[flexcoders] Re: Tree kicking my butt. Need some help

2006-03-23 Thread Jeremy Rottman
No I am sorry this is flex 2b. I always forget to put that on there.

--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> 
> Strange... this is Flex 1.5, right?  I basically do the same thing to
> populate my document tree, except I pass a 2nd param that the docs say
> is supposed to be optional:
> 
> myTree.addTreeNode(file.name, {file: file.clone()});
> 
> Link
>
 addTreeNode>  :
>
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/Tree.html#a\
> ddTreeNode
>
 addTreeNode>
> 
> 
> --- In flexcoders@yahoogroups.com, "Jeremy Rottman" 
> wrote:
> >
> > Hum that wont even compile, gives me this error.
> >
> > Call to a possibly undefined method 'addTreeNode' through a reference
> > with static type 'mx.controls:Tree'
> >
> >
> > --- In flexcoders@yahoogroups.com, "Doug Lowder" douglowder@ wrote:
> > >
> > > Try this:
> > >
> > > function DocDisplayModdisplayDocsListQryResult( result ){
> > > var resultArray: Array = mx.utils.ArrayUtil.toArray(result);
> > > for (var i = 0; i < resultArray.length; i++) {
> > > DocTree.addTreeNode(resultArray[i].dir);
> > > }
> > > }
> > >
> > > You can also add an optional data object to the addTreeNode()
> > > function, as the 2nd parameter.
> > >
> > > --- In flexcoders@yahoogroups.com, "Jeremy Rottman" 
> > > wrote:
> > > >
> > > > I have added the code you suggested and it still just displays it
> > > as
> > > > [object Object].
> > > > I even trimed my cfc down to this, just to test the folders.
> > > >
> > > >  > > > returntype="array" output="true">
> > > >  > > type="string" />
> > > >  > > >
> > >
> directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
> > > ode#/#arguments.fileNum#"
> > > > name="ListDir" />
> > > > 
> > > > 
> > > > 
> > > >  > > = structnew()>
> > > >  > > [dcounter].dir = ListDir.name>
> > > >  > > dcounter + 1>
> > > > 
> > > > 
> > > > 
> > > >
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Doug Lowder" 
> > > wrote:
> > > > >
> > > > > One thing you'll want to do is make sure your dataprovider is
> > > set to
> > > > > an array in the case where you are reading a directory that
> > > consists
> > > > > of only a single item. Flex will interpret that as an object
> > > > > instead of an array, so you will need the following:
> > > > >
> > > > > function DocDisplayModdisplayDocsListQryResult( result ){
> > > > > DocTree.dataProvider = mx.utils.ArrayUtil.toArray(result);
> > > > > }
> > > > >
> > > > >
> > > > > Doug
> > > > >
> > > > > --- In flexcoders@yahoogroups.com, "Jeremy Rottman" 
> > > > > wrote:
> > > > > >
> > > > > > In my app, I have a section that is suposed to display in a
> > > tree
> > > > > all
> > > > > > documents that are in a specific folder.
> > > > > >
> > > > > > The issue I have is that, when I test the code, the tree has
> > > this
> > > > > > output [object Object].
> > > > > >
> > > > > > Is this because it not formated correctly in my cfc? Or is it
> > > > > > something more sinister and evil.
> > > > > >
> > > > > > I have this cfc code. This code works.
> > > > > >
> > > > > >  > > > > > returntype="array" output="true">
> > > > > >  > > > > type="string" />
> > > > > >  > > > > >
> > > > >
> > >
> directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
> > > > > ode#/L060001"
> > > > > > name="ListDir" />
> > > > > >
> > > > > > 
> > > > > > select * from ListDir
> > > > > > where type = 'Dir'
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > select * from ListDir
> > > > > > where type = 'File' and directory =
> > > > >
> > > >
> '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#ar
> > > > > guments.fileNum#/#dirArray[dcounter].dir#'
> > > > > > 
> > > > > > 
> > > > > >  > > > > ListFileQry.name>
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > >
> > > > > > Now, I call this function like this.
> > > > > >
> > > > > > Webservice --
> > > > > > 
> > > > > >  > > > > > wsdl="http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl";
> > > > > > showBusyCursor="true">
> > > > > >  > > > > > result="DocDisplayModdisplayDocsListQryResult
> > > > > (
> > > > > > DocDisplayMod.displayDocsListQry.result )"
> > > > > > fault="DocDisplayModdisplayDocsListQryFault(
> > > > > event )" />
> > > > > > 
> > > > > >
> > > > > > AS Connected to the webservice:
> > > > > >
> > > > > > function DocDisplayModdisplayDocsListQry
> > > > > (fileNum){
> > > > > >
> > > > > DocDisplayMod.displayDocsListQry(fileNum);}
> > > > > >
> > > > > > // called when results received
> > > > > > function
> > > > > DocDisplayModdisplayDocsListQryResult( result ){
> > > > > > DocTree.dataProvider =
> > > > > result;
> > > > > > }
> > > > > >
> > > > > > function
> > > > > DocDisplayModdisplayDocsListQryF

[flexcoders] Re: Flex 1.5 CurrencyFormatter

2006-03-23 Thread Doug Lowder
OK.  Same results here with Firefox 1.5.0.1, Player 8.5 beta 2 
(8,5,0,246), so something's fishy.

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> Sorry, I'm still working on a true reproduceable test case.
> 
> In my app, running in IE 6 Flash Player 7.0.22.0, Firefox 1.5 with 
Flash 
> Player 8.5 beta 2, and inside of Flex Builder running... all show 
$"0.00"
> 
> However, running in Flex Builder in Debug mode shows it fine.
> 
> I'm in the midst of creating a series of test cases and so far, 
everyone 
> works fine; I cannot duplicate the exact problem yet.  My guess 
is, our app 
> utilizes a lot of other libraries written by f'ing nitwits 
screwing with 
> prototypes.  As such, it's really hard to track down, but I don't 
give up 
> easily... thanks for your help G!
> 
> - Original Message - 
> From: "Doug Lowder" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, March 23, 2006 6:19 PM
> Subject: [flexcoders] Re: Flex 1.5 CurrencyFormatter
> 
> 
> Also works fine - $0.00.  I hate it when that happens  :/
> 
> Running Flash Player 8.0.22 here.  Maybe something that was fixed 
in
> a Flex update?
> 
> --- In flexcoders@yahoogroups.com, "JesterXL"  wrote:
> >
> > Try this:
> >
> > import mx.formatters.CurrencyFormatter;
> > var result:String = USDformatter.format(0);
> > trace(resutlt);
> >
> >
> > - Original Message - 
> > From: "Doug Lowder" 
> > To: 
> > Sent: Thursday, March 23, 2006 5:55 PM
> > Subject: [flexcoders] Re: Flex 1.5 CurrencyFormatter
> >
> >
> > I couldn't reproduce it.  Everything formats just fine with the
> > grid's label function, even coming up blank with the "a" string 
as
> > the price.
> >
> > 
> > http://www.macromedia.com/2003/mxml";>
> >
> >   
> >   
> >   
> >
> >> currencySymbol="$"
> > decimalSeparatorFrom="."
> >  decimalSeparatorTo="." useNegativeSign="true"
> > useThousandsSeparator="true" alignSymbol="left"/>
> >
> >   
> >
> >
> > 
> >
> >
> > 
> > 
> >  headerText="Price"
> > labelFunction="formatPrice" />
> > 
> > 
> >
> >
> >   
> > 
> >
> >
> > --- In flexcoders@yahoogroups.com, "JesterXL"  wrote:
> > >
> > > This works when used with a TextInput, but does not work with a
> > > labelFunction with a DataGrid.  I'm getting relaly weird 
results
> > like
> > > $"0.00" when you pass a 0 to the CurrencyFormatter.format
> function.
> > >
> > > Why does this work perfectly with a TextField, but not with
> > labelFunction
> > > for a DataGrid?
> > >
> > > This works:
> > >
> > > 
> > > http://www.macromedia.com/2003/mxml";>
> > >
> > >  
> > >  
> > >  
> > >
> > >   > currencySymbol="$"
> > > decimalSeparatorFrom="."
> > > decimalSeparatorTo="." useNegativeSign="true"
> > > useThousandsSeparator="true" alignSymbol="left"/>
> > >
> > >  
> > >
> > >   
> > > enter="format1
> > ()" />
> > >   
> > >
> > >  
> > > 
> > >
> > > However, this psuedo code does not:
> > >
> > > function formatPrice( item : Object, columnName : 
String ):String
> > > {
> > >  var formattedPrice:String = USDformatter.format(item.price);
> > >  return formattedPrice;
> > > }
> > >
> > > I have confirmed through traces & debugs that item.price is in
> > fact 0.
> > > Strangely, even hardcoding 0 or "0" into the 
USDformatter.format
> > function
> > > still results in the $"0.00" problem.
> > >
> > > !?!?
> > >
> > > --JesterXL
> > >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
> 40yahoogroups.com
> > Yahoo! Groups Links
> >
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>






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

<*> 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: Tree kicking my butt. Need some help

2006-03-23 Thread Doug Lowder



Strange... this is Flex 1.5, right?  I basically do the same thing to populate my document tree, except I pass a 2nd param that the docs say is supposed to be optional:
myTree.addTreeNode(file.name, {file: file.clone()});
Link : http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/Tree.html#addTreeNode
--- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]> wrote:>> Hum that wont even compile, gives me this error.> > Call to a possibly undefined method 'addTreeNode' through a reference> with static type 'mx.controls:Tree'> > > --- In flexcoders@yahoogroups.com, "Doug Lowder" douglowder@ wrote:> >> > Try this:> > > > function DocDisplayModdisplayDocsListQryResult( result ){> > var resultArray: Array = mx.utils.ArrayUtil.toArray(result);> > for (var i = 0; i < resultArray.length; i++) {> > DocTree.addTreeNode(resultArray[i].dir);> > }> > }> > > > You can also add an optional data object to the addTreeNode() > > function, as the 2nd parameter.> > > > --- In flexcoders@yahoogroups.com, "Jeremy Rottman"  > > wrote:> > >> > > I have added the code you suggested and it still just displays it > > as> > > [object Object].> > > I even trimed my cfc down to this, just to test the folders.> > > > > > > > > returntype="array" output="true">> > > > > type="string" />> > > > > > > > directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC> > ode#/#arguments.fileNum#"> > > name="ListDir" />> > > > > > > > > > > > > > = structnew()>> > > > > [dcounter].dir = ListDir.name>> > > > > dcounter + 1>> > > > > > > > > > > > > > > > > > --- In flexcoders@yahoogroups.com, "Doug Lowder"  > > wrote:> > > >> > > > One thing you'll want to do is make sure your dataprovider is > > set to > > > > an array in the case where you are reading a directory that > > consists > > > > of only a single item. Flex will interpret that as an object > > > > instead of an array, so you will need the following:> > > > > > > > function DocDisplayModdisplayDocsListQryResult( result ){> > > > DocTree.dataProvider = mx.utils.ArrayUtil.toArray(result);> > > > }> > > > > > > > > > > > Doug> > > > > > > > --- In flexcoders@yahoogroups.com, "Jeremy Rottman"  > > > > wrote:> > > > >> > > > > In my app, I have a section that is suposed to display in a > > tree > > > > all> > > > > documents that are in a specific folder. > > > > > > > > > > The issue I have is that, when I test the code, the tree has > > this> > > > > output [object Object].> > > > > > > > > > Is this because it not formated correctly in my cfc? Or is it> > > > > something more sinister and evil.> > > > > > > > > > I have this cfc code. This code works.> > > > > > > > > > > > > > > returntype="array" output="true">> > > > > > > > > type="string" />> > > > > > > > > > > > > > > > directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC> > > > ode#/L060001"> > > > > name="ListDir" />> > > > > > > > > > > > > > > select * from ListDir> > > > > where type = 'Dir'> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > select * from ListDir> > > > > where type = 'File' and directory => > > > > > > '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#ar> > > > guments.fileNum#/#dirArray[dcounter].dir#'> > > > > > > > > > > > > > > > > > > ListFileQry.name>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Now, I call this function like this.> > > > > > > > > > Webservice --> > > > > > > > > > > > > > > wsdl="http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl"> > > > > showBusyCursor="true">> > > > > > > > > > result="DocDisplayModdisplayDocsListQryResult> > > > (> > > > > DocDisplayMod.displayDocsListQry.result )" > > > > > fault="DocDisplayModdisplayDocsListQryFault( > > > > event )" />> > > > > > > > > > > > > > > AS Connected to the webservice:> > > > > > > > > > function DocDisplayModdisplayDocsListQry> > > > (fileNum){> > > > > > > > > DocDisplayMod.displayDocsListQry(fileNum);}> > > > > > > > > > // called when results received> > > > > function > > > > DocDisplayModdisplayDocsListQryResult( result ){> > > > > DocTree.dataProvider = > > > > result; > > > > > }> > > > > > > > > > function > > > > DocDisplayModdisplayDocsListQryFault ( event ){}> > > > > > > > > > > > > > > Code for my tree:> > > > > > > height="75%"> > > > > width="85%"/>> > > > >> > > >> > >> >>






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  
 

[flexcoders] History iframe shows up in flex 2 beta 2

2006-03-23 Thread pasflex
The history iframe is visible in the html wrapper (firefox at least).  
It shows up beneath the lower left corner of an application, or when 
using the mouse scrollwheel on an application that fills the browser 
window.


http://www.adobe.com/2006/mxml"; 
height="100" />

Looking at the source of the page there is this:







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

<*> 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] Flex 2.0: mxmlc question

2006-03-23 Thread Tobias Patton
Thanks Mike;

Including the up-to-date source for corelib in my actionscript classpath
did the trick.

The mystery remains, however, as to why I could link against the old
corelib.swc in FlexBuilder but not from the command line.

Tobias.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Chambers
Sent: Thursday, March 23, 2006 3:21 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0: mxmlc question

Yes. We have not rebuilt those SWCs for beta 2 yet (trying to track down

one bug).

In the meantime, you can link against the source which has been updated.

http://labs.macromedia.com/wiki/index.php/Source:get

Sorry about the hassle.

mike chambers

[EMAIL PROTECTED]

Tobias Patton wrote:
> The only swc I'm adding is corelib, which was downloaded from 
>
http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:
libraries#corelib. 
> I guess it's safe to assume that it was built with the Beta 1
compiler. 
> I would have thought this was the problem except for the fact that I
can 
> build the same project through Flex Builder. The very same corelib.swc

> is added as a library in the project properties.
> 
>  
> 
> When a library is added to a project using Flex Builder, is that the 
> same as adding a -library-path option to mxmlc? There are options 
> available in Flex Builder for added .swc files (Source attachment,
link 
> type, RSL URL, auto extract swf) that don't seem to translate directly

> to the command line.
> 
>  
> 
> Tobias.
> 
>  
> 
> I don't think the "copy the en_US directory" would work here. en_US
is 
> my current system locale, and it's also the folder pointed to by the 
> flex-config.xml file. The people who found this hack to work for them 
> were all in a different locale.
> 
>  
> 
>

> 
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

> *On Behalf Of *Roger Gonzalez
> *Sent:* Thursday, March 23, 2006 2:10 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* RE: [flexcoders] Flex 2.0: mxmlc question
> 
>  
> 
> First, make certain you don't have any Beta1 SWCs being loaded by 
> Beta2.  That will break.
> 
>  
> 
> If you add corelib.swc (or its parent directory) to your library path,

> it will make it available to be linked in.
> 
>  
> 
> Its choking in the ResourceBundle code, which implies to me that 
> ListCollectionView isn't getting something it needs.  Have you done
the 
> same sort of "copy the en_us directory" locale hack that has worked
for 
> other people?
> 
>  
> 
> -rg
> 
>  
> 
>

> 
> *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Tobias Patton
> *Sent:* Thursday, March 23, 2006 8:15 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* RE: [flexcoders] Flex 2.0: mxmlc question
> 
> Hi Roger;
> 
> So, to link corelib.swc into my application, you'd supply the path
> to corelib as an argument to the -library-path option? Here's the
> command-line I'm using:
> 
> mxmlc
>
-actionscript-classpath=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\C
lient\classes
> -library-path
>
D:\PerforceDepot\galiano\Galiano.Tobias_Patton\tools\compiler\Flex2b2\fr
ameworks\libs\
>
D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\oem\corelib\bin\co
relib.swc 
> --
>
D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsView\
DashboardJobsView.mxml
> 
> This compiles, but I get the following runtime error when I launch
> my application:
> 
> Error: Key outOfBounds was not found in resource bundle
SharedResources
> 
> at mx.resource::ResourceBundle/getObject()
> 
> at mx.resource::ResourceBundle/getString()
> 
> at
mx.collections::ListCollectionView$/::loadResources()
> 
> at mx.managers::SystemManager$/registerInitCallback()
> 
> at mx.collections::ListCollectionView$cinit()
> 
> at global$init()
> 
> at global$init()
> 
> at _DashboardJobsView_FlexInit$/init()
> 
> at mx.managers::SystemManager/::frameEndHandler()
> 
> This used  to work in Beta 1.
> 
> If I remove the reference to corelib.swc from the command line
(and
> comment out any code that depends on corelib), I can compile and
run
> the application.
> 
> Can you suggest what might be wrong with the way I'm building the
> application?
> 
> 
> Thanks.
> 
> Tobias.
> 
> BTW: The reason flex-config.xml couldn't be found was that I was
> running mxmlc with 'java -jar mxmlc.jar'
> 
>

> 
> *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Roger Gonzalez
> *Sent:* Wednesday, March 22, 2006 8:09 PM
> 

Re: [flexcoders] Re: Flex 1.5 CurrencyFormatter

2006-03-23 Thread JesterXL
Sorry, I'm still working on a true reproduceable test case.

In my app, running in IE 6 Flash Player 7.0.22.0, Firefox 1.5 with Flash 
Player 8.5 beta 2, and inside of Flex Builder running... all show $"0.00"

However, running in Flex Builder in Debug mode shows it fine.

I'm in the midst of creating a series of test cases and so far, everyone 
works fine; I cannot duplicate the exact problem yet.  My guess is, our app 
utilizes a lot of other libraries written by f'ing nitwits screwing with 
prototypes.  As such, it's really hard to track down, but I don't give up 
easily... thanks for your help G!

- Original Message - 
From: "Doug Lowder" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 23, 2006 6:19 PM
Subject: [flexcoders] Re: Flex 1.5 CurrencyFormatter


Also works fine - $0.00.  I hate it when that happens  :/

Running Flash Player 8.0.22 here.  Maybe something that was fixed in
a Flex update?

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> Try this:
>
> import mx.formatters.CurrencyFormatter;
> var result:String = USDformatter.format(0);
> trace(resutlt);
>
>
> - Original Message - 
> From: "Doug Lowder" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, March 23, 2006 5:55 PM
> Subject: [flexcoders] Re: Flex 1.5 CurrencyFormatter
>
>
> I couldn't reproduce it.  Everything formats just fine with the
> grid's label function, even coming up blank with the "a" string as
> the price.
>
> 
> http://www.macromedia.com/2003/mxml";>
>
>   
>   
>   
>
>currencySymbol="$"
> decimalSeparatorFrom="."
>  decimalSeparatorTo="." useNegativeSign="true"
> useThousandsSeparator="true" alignSymbol="left"/>
>
>   
>
>
> 
>
>
> 
> 
>  labelFunction="formatPrice" />
> 
> 
>
>
>   
> 
>
>
> --- In flexcoders@yahoogroups.com, "JesterXL"  wrote:
> >
> > This works when used with a TextInput, but does not work with a
> > labelFunction with a DataGrid.  I'm getting relaly weird results
> like
> > $"0.00" when you pass a 0 to the CurrencyFormatter.format
function.
> >
> > Why does this work perfectly with a TextField, but not with
> labelFunction
> > for a DataGrid?
> >
> > This works:
> >
> > 
> > http://www.macromedia.com/2003/mxml";>
> >
> >  
> >  
> >  
> >
> >   currencySymbol="$"
> > decimalSeparatorFrom="."
> > decimalSeparatorTo="." useNegativeSign="true"
> > useThousandsSeparator="true" alignSymbol="left"/>
> >
> >  
> >
> >   
> >
> >   
> >
> >  
> > 
> >
> > However, this psuedo code does not:
> >
> > function formatPrice( item : Object, columnName : String ):String
> > {
> >  var formattedPrice:String = USDformatter.format(item.price);
> >  return formattedPrice;
> > }
> >
> > I have confirmed through traces & debugs that item.price is in
> fact 0.
> > Strangely, even hardcoding 0 or "0" into the USDformatter.format
> function
> > still results in the $"0.00" problem.
> >
> > !?!?
> >
> > --JesterXL
> >
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>






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







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

<*> 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: Tree kicking my butt. Need some help

2006-03-23 Thread Jeremy Rottman
Hum that wont even compile, gives me this error.

Call to a possibly undefined method 'addTreeNode' through a reference
with static type 'mx.controls:Tree'


--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> Try this:
> 
> function DocDisplayModdisplayDocsListQryResult( result ){
> var resultArray: Array = mx.utils.ArrayUtil.toArray(result);
> for (var i = 0; i < resultArray.length; i++) {
> DocTree.addTreeNode(resultArray[i].dir);
> }
> }
> 
> You can also add an optional data object to the addTreeNode() 
> function, as the 2nd parameter.
> 
> --- In flexcoders@yahoogroups.com, "Jeremy Rottman"  
> wrote:
> >
> > I have added the code you suggested and it still just displays it 
> as
> > [object Object].
> > I even trimed my cfc down to this, just to test the folders.
> > 
> >  > returntype="array" output="true">
> >  type="string" />
> >  > 
> directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
> ode#/#arguments.fileNum#"
> > name="ListDir" />
> > 
> > 
> >
> > = structnew()>
> > [dcounter].dir = ListDir.name>
> > dcounter + 1>
> >
> > 
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Doug Lowder"  
> wrote:
> > >
> > > One thing you'll want to do is make sure your dataprovider is 
> set to 
> > > an array in the case where you are reading a directory that 
> consists 
> > > of only a single item.  Flex will interpret that as an object 
> > > instead of an array, so you will need the following:
> > > 
> > > function DocDisplayModdisplayDocsListQryResult( result ){
> > > DocTree.dataProvider = mx.utils.ArrayUtil.toArray(result);
> > > }
> > > 
> > > 
> > > Doug
> > > 
> > > --- In flexcoders@yahoogroups.com, "Jeremy Rottman"  
> > > wrote:
> > > >
> > > > In my app, I have a section that is suposed to display in a 
> tree 
> > > all
> > > > documents that are in a specific folder. 
> > > > 
> > > > The issue I have is that, when I test the code, the tree has 
> this
> > > > output [object Object].
> > > > 
> > > > Is this because it not formated correctly in my cfc? Or is it
> > > > something more sinister and evil.
> > > > 
> > > > I have this cfc code. This code works.
> > > > 
> > > >  > > > returntype="array" output="true">
> > > >  > > type="string" />
> > > >  > > > 
> > > 
> directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
> > > ode#/L060001"
> > > > name="ListDir" />
> > > > 
> > > > 
> > > >select * from ListDir
> > > >where type = 'Dir'
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > > >
> > > >
> > > >
> > > >select * from ListDir
> > > >where type = 'File' and directory =
> > > 
> > '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#ar
> > > guments.fileNum#/#dirArray[dcounter].dir#'
> > > >
> > > >
> > > > > > ListFileQry.name>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 
> > > > 
> > > > 
> > > > Now, I call this function like this.
> > > > 
> > > > Webservice --
> > > > 
> > > >  > > > wsdl="http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl";
> > > > showBusyCursor="true">
> > > >  > > > result="DocDisplayModdisplayDocsListQryResult
> > > (
> > > > DocDisplayMod.displayDocsListQry.result )" 
> > > > fault="DocDisplayModdisplayDocsListQryFault( 
> > > event )" />
> > > > 
> > > > 
> > > > AS Connected to the webservice:
> > > > 
> > > > function DocDisplayModdisplayDocsListQry
> > > (fileNum){
> > > > 
> > >   DocDisplayMod.displayDocsListQry(fileNum);}
> > > > 
> > > > // called when results received
> > > > function 
> > > DocDisplayModdisplayDocsListQryResult( result ){
> > > > DocTree.dataProvider = 
> > > result;
> > > > }
> > > >  
> > > > function 
> > > DocDisplayModdisplayDocsListQryFault ( event ){}
> > > > 
> > > > 
> > > > Code for my tree:
> > > >  height="75%"
> > > > width="85%"/>
> > > >
> > >
> >
>






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

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

RE: [flexcoders] Flex Job Opening - San Francisco, CA

2006-03-23 Thread Chris Jones






I 
apologize is this is an inappropriate use of the flexcoders forum, but thought I 
would give it a try and ask for forgiveness later.
CNET Networks' Data Warehouse group seeks a UI/RIA Engineer with 
a strong focus on building intuitive/interactive interfaces as we look to create 
a new cutting edge business intelligence reporting environment. This 
cross-functional position calls for a dedicated and self-motivated engineer who 
can work either independently or with the guidance of senior engineers in a 
fast-paced development environment.
Skills Required:
· 3+ years building intuitive web interfaces
· Excellent verbal and written communication skills
· Strong experience with: XML, HTML, DHTML, CSS, 
_javascript_
· 3+ years experience with one or more server-side web 
application technologies (JSP, Servlets, PHP) with a database-driven 
application
· 2+ years experience developing Web clients using Flex, Laszlo, 
Swing/AWT or equivalent
· Experience with data mining/statistics a plus
If Interested please send me a copy of your resume, salary 
requirements, and available start date.
Regards,
Chris Jones
CNET Networks
[EMAIL PROTECTED]






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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] CairngormLogin sample on Flex 2.0 beta 2

2006-03-23 Thread William Lambé











Thank you very much, as you can guess I am
new to the mailing list. Viva Flex 2.0

 









De :
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Oriol Gual
Envoyé : jeudi 23 mars 2006
20:04
À :
flexcoders@yahoogroups.com
Objet : Re: [flexcoders]
CairngormLogin sample on Flex 2.0 beta 2



 

Hi William, 

I asked the same thing few posts earlier, just
look for "Cairngorm beta release?" or click
here

Oriol. 



2006/3/23, William Lambé <[EMAIL PROTECTED]>:



Hello everybody, 

 

I am trying to use Cairngorm 2.0 with the new Flex 2.0 beta 2.  And
for that, I am trying to run the CairngormLogin sample. I changed some things
that happen between beta 1 and beta 2 of Flex 2.0, but I have still a
Problem : 

 

To the line «  » in
CairngormLogin.mxml,  I have this problem : 

 

« Implicit coercion of a value with static type 'mx.core :UIComponent'
to a possibly unrelated type 'mx.core :Container' »

 

Is someone can explain to me what does it mean ?

 

William.





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










YAHOO!
GROUPS LINKS 

 


  Visit your group "flexcoders"
 on the web.
   
  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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Re: Flex 2: Chart problem

2006-03-23 Thread Torben Nielsen
Hi Ely,

In the meantime I found another solution. Here is the code:

private function changeEuribor():void
{
lblTest.text = euribor3.selected.toString();
if (euribor3.selected == true) {
if (lineEuribor3.alpha == 0.0) {
fadeIn.target = lineEuribor3;
fadeIn.play();
lblTest.text = "Show Line";
}
} else if (euribor3.selected != true) {
if (lineEuribor3.alpha == 1.0) {
fadeOut.target = lineEuribor3
fadeOut.play();
lblTest.text = "Hide Line";
}
}
}

This works perfect.

Best regards.

Torben Nielsen


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ely Greenfield
Sent: giovedì 23 marzo 2006 23.31
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 2: Chart problem



Sorry, I forgot my usual question ... Is this Flex 1.5, or 2.0?


If it's 2.0, there are showEffect and hideEffect styles on LineSeries.

Ely.

 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Torben Nielsen
Sent: Thursday, March 23, 2006 1:35 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 2: Chart problem

Hi Ely,

Thanks for your reply. I already tried to toggle the visibility, but this
does not trigger the effect. Even though it works, it's not very elegant.
There are not a method in the LineSeries class called showEffect or
hideEffect.

Could I maybe do somthing using the dispatchEvent method?

Best regards.

Torben Nielsen

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ely Greenfield
Sent: giovedì 23 marzo 2006 22.31
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 2: Chart problem



Set the showEffect/hideEffect instead of showDataEffect/hideEffect, and set
the visibility of the series to true/false.  When you toggle the visibility,
the show/hide effects will be played automatically.

Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Torben Nielsen
Sent: Thursday, March 23, 2006 1:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 2: Chart problem

Hi,

that did not work. Maybe it's better if I explain what I am trying to
obtain. I have created to effects in my mxml:




These I would lake to use every time on of the lineseries is selected or
unselected to make an more elegant change when a line series is made
visibile or invisibile.

Any ideas?


Thanks.

Torben


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Doug Lowder
Sent: giovedì 23 marzo 2006 21.39
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex 2: Chart problem

I believe showDataEffect and hideDataEffect are Effect objects, not
functions.  Try lineEuribor3.showDataEffect.play() and
lineEuribor3.hideDataEffect.play().


--- In flexcoders@yahoogroups.com, "Torben Nielsen" <[EMAIL PROTECTED]>
wrote:
>
>  
> 
> Hi,
> 
>  
> 
> I am working on an application with a Line Chart that contains
various line
> series. I have made some checkboxes which should hide/show the
different
> line series. Here is the mxml/actionscript for the various
elements:
> 
>  
> 
> Checkbox:
> 
>  
> 
>  click="changeEuribor();" />
> 
>  
> 
> Chart:
> 
>  
> 
> 
> 
> 
> 
>  displayName="Euribor 3 mese lettera" yField="Euribor3"
> showDataEffect="fadeIn" hideDataEffect="fadeOut">
> 
> 
> 
>  weight="3" alpha="0.8"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> Checkbox click function:
> 
>  
> 
> private function changeEuribor2():void
> 
>  {
> 
> lblTest.text = "event fired";
> 
> if (euribor3.selected == true) {
> 
> if (lineEuribor3.alpha <= 0.1) {
> 
> lineEuribor3.showDataEffect();
> 
> }
> 
> } else if (euribor3.selected == false) {
> 
> lineEuribor3.hideDataEffect() ;
> 
> lblTest.text = "Hide Line";
> 
> }
> 
> }
> 
>  
> 
> Problem:
> 
>  
> 
> When I click on the checkbox I get the following error message:
> 
>  
> 
> TypeError: Error #1006: Call attempted on an object that is not a
function.
> 
> at EnaCharts/::changeEuribor()
> 
> at EnaCharts/__euribor3_click()
> 
>  
> 
> What am I doing Wrong
> 
>  
> 
> Thanks.
> 
>  
> 
> Torben Nielsen
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/f

Re: [flexcoders] Flex 2.0: mxmlc question

2006-03-23 Thread Mike Chambers
Yes. We have not rebuilt those SWCs for beta 2 yet (trying to track down 
one bug).

In the meantime, you can link against the source which has been updated.

http://labs.macromedia.com/wiki/index.php/Source:get

Sorry about the hassle.

mike chambers

[EMAIL PROTECTED]

Tobias Patton wrote:
> The only swc I’m adding is corelib, which was downloaded from 
> http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:libraries#corelib.
>  
> I guess it’s safe to assume that it was built with the Beta 1 compiler. 
> I would have thought this was the problem except for the fact that I can 
> build the same project through Flex Builder. The very same corelib.swc 
> is added as a library in the project properties.
> 
>  
> 
> When a library is added to a project using Flex Builder, is that the 
> same as adding a –library-path option to mxmlc? There are options 
> available in Flex Builder for added .swc files (Source attachment, link 
> type, RSL URL, auto extract swf) that don’t seem to translate directly 
> to the command line.
> 
>  
> 
> Tobias.
> 
>  
> 
> I don’t think the “copy the en_US directory” would work here. en_US  is 
> my current system locale, and it’s also the folder pointed to by the 
> flex-config.xml file. The people who found this hack to work for them 
> were all in a different locale.
> 
>  
> 
> 
> 
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *Roger Gonzalez
> *Sent:* Thursday, March 23, 2006 2:10 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* RE: [flexcoders] Flex 2.0: mxmlc question
> 
>  
> 
> First, make certain you don't have any Beta1 SWCs being loaded by 
> Beta2.  That will break.
> 
>  
> 
> If you add corelib.swc (or its parent directory) to your library path, 
> it will make it available to be linked in.
> 
>  
> 
> Its choking in the ResourceBundle code, which implies to me that 
> ListCollectionView isn't getting something it needs.  Have you done the 
> same sort of "copy the en_us directory" locale hack that has worked for 
> other people?
> 
>  
> 
> -rg
> 
>  
> 
> 
> 
> *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Tobias Patton
> *Sent:* Thursday, March 23, 2006 8:15 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* RE: [flexcoders] Flex 2.0: mxmlc question
> 
> Hi Roger;
> 
> So, to link corelib.swc into my application, you’d supply the path
> to corelib as an argument to the –library-path option? Here’s the
> command-line I’m using:
> 
> mxmlc
> 
> -actionscript-classpath=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\classes
> -library-path
> 
> D:\PerforceDepot\galiano\Galiano.Tobias_Patton\tools\compiler\Flex2b2\frameworks\libs\
> 
> D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\oem\corelib\bin\corelib.swc
>  
> --
> 
> D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsView\DashboardJobsView.mxml
> 
> This compiles, but I get the following runtime error when I launch
> my application:
> 
> Error: Key outOfBounds was not found in resource bundle SharedResources
> 
> at mx.resource::ResourceBundle/getObject()
> 
> at mx.resource::ResourceBundle/getString()
> 
> at mx.collections::ListCollectionView$/::loadResources()
> 
> at mx.managers::SystemManager$/registerInitCallback()
> 
> at mx.collections::ListCollectionView$cinit()
> 
> at global$init()
> 
> at global$init()
> 
> at _DashboardJobsView_FlexInit$/init()
> 
> at mx.managers::SystemManager/::frameEndHandler()
> 
> This used  to work in Beta 1.
> 
> If I remove the reference to corelib.swc from the command line (and
> comment out any code that depends on corelib), I can compile and run
> the application.
> 
> Can you suggest what might be wrong with the way I’m building the
> application?
> 
> 
> Thanks.
> 
> Tobias.
> 
> BTW: The reason flex-config.xml couldn’t be found was that I was
> running mxmlc with ‘java –jar mxmlc.jar’
> 
> 
> 
> *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Roger Gonzalez
> *Sent:* Wednesday, March 22, 2006 8:09 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* RE: [flexcoders] Flex 2.0: mxmlc question
> 
> library-path makes SWCs available for resolving class dependencies. 
> This is normally what you want.
> 
> include-libraries forces all symbols in the SWCs to be included in
> the application, whether they are needed or not.
> 
> I don't know why you'd get that error unless you're not using mxmlc
> or Flex Bui

[flexcoders] Re: Flex 1.5 CurrencyFormatter

2006-03-23 Thread Doug Lowder
Also works fine - $0.00.  I hate it when that happens  :/

Running Flash Player 8.0.22 here.  Maybe something that was fixed in 
a Flex update?

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> Try this:
> 
> import mx.formatters.CurrencyFormatter;
> var result:String = USDformatter.format(0);
> trace(resutlt);
> 
> 
> - Original Message - 
> From: "Doug Lowder" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, March 23, 2006 5:55 PM
> Subject: [flexcoders] Re: Flex 1.5 CurrencyFormatter
> 
> 
> I couldn't reproduce it.  Everything formats just fine with the 
> grid's label function, even coming up blank with the "a" string as 
> the price.
> 
> 
> http://www.macromedia.com/2003/mxml";>
> 
>   
>   
>   
> 
>currencySymbol="$"
> decimalSeparatorFrom="."
>  decimalSeparatorTo="." useNegativeSign="true"
> useThousandsSeparator="true" alignSymbol="left"/>
> 
>   
> 
>
> 
>
>
> 
> 
>  labelFunction="formatPrice" />
> 
> 
>
> 
>   
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "JesterXL"  wrote:
> >
> > This works when used with a TextInput, but does not work with a 
> > labelFunction with a DataGrid.  I'm getting relaly weird results 
> like 
> > $"0.00" when you pass a 0 to the CurrencyFormatter.format 
function.
> > 
> > Why does this work perfectly with a TextField, but not with 
> labelFunction 
> > for a DataGrid?
> > 
> > This works:
> > 
> > 
> > http://www.macromedia.com/2003/mxml";>
> > 
> >  
> >  
> >  
> > 
> >   currencySymbol="$" 
> > decimalSeparatorFrom="."
> > decimalSeparatorTo="." useNegativeSign="true" 
> > useThousandsSeparator="true" alignSymbol="left"/>
> > 
> >  
> > 
> >   
> >
> >   
> > 
> >  
> > 
> > 
> > However, this psuedo code does not:
> > 
> > function formatPrice( item : Object, columnName : String ):String
> > {
> >  var formattedPrice:String = USDformatter.format(item.price);
> >  return formattedPrice;
> > }
> > 
> > I have confirmed through traces & debugs that item.price is in 
> fact 0. 
> > Strangely, even hardcoding 0 or "0" into the USDformatter.format 
> function 
> > still results in the $"0.00" problem.
> > 
> > !?!?
> > 
> > --JesterXL
> >
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com 
> Yahoo! Groups Links
>






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

<*> 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] Flex 2.0: mxmlc question

2006-03-23 Thread Tobias Patton











The only swc I’m adding is corelib,
which was downloaded from http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:libraries#corelib.
I guess it’s safe to assume that it was built with the Beta 1 compiler. I
would have thought this was the problem except for the fact that I can build
the same project through Flex Builder. The very same corelib.swc is added as a
library in the project properties.

 

When a library is added to a project using
Flex Builder, is that the same as adding a –library-path option to mxmlc?
There are options available in Flex Builder for added .swc files (Source attachment,
link type, RSL URL, auto extract swf) that don’t seem to translate
directly to the command line.

 

Tobias.

 

I don’t think the “copy the
en_US directory” would work here. en_US  is my current system
locale, and it’s also the folder pointed to by the flex-config.xml file.
The people who found this hack to work for them were all in a different locale.

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roger Gonzalez
Sent: Thursday, March 23, 2006
2:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex
2.0: mxmlc question



 

First, make certain you don't have any Beta1 SWCs
being loaded by Beta2.  That will break.

 

If you add corelib.swc (or its parent directory) to
your library path, it will make it available to be linked in.

 

Its choking in the ResourceBundle code, which
implies to me that ListCollectionView isn't getting something it needs. 
Have you done the same sort of "copy the en_us directory" locale hack
that has worked for other people?

 

-rg



 







From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Patton
Sent: Thursday, March 23, 2006
8:15 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex
2.0: mxmlc question



Hi Roger;



So, to link corelib.swc into my application, you’d
supply the path to corelib as an argument to the –library-path option?
Here’s the command-line I’m using:

mxmlc -actionscript-classpath=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\classes
-library-path
D:\PerforceDepot\galiano\Galiano.Tobias_Patton\tools\compiler\Flex2b2\frameworks\libs\
D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\oem\corelib\bin\corelib.swc 
--
D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsView\DashboardJobsView.mxml

This compiles, but I get the following runtime error when I
launch my application:

Error: Key outOfBounds was not found in resource bundle
SharedResources

   
at mx.resource::ResourceBundle/getObject()

   
at mx.resource::ResourceBundle/getString()

   
at mx.collections::ListCollectionView$/::loadResources()

   
at mx.managers::SystemManager$/registerInitCallback()

   
at mx.collections::ListCollectionView$cinit()

   
at global$init()

   
at global$init()

   
at _DashboardJobsView_FlexInit$/init()

   
at mx.managers::SystemManager/::frameEndHandler()

This used  to work in Beta 1.

If I remove the reference to corelib.swc from the command
line (and comment out any code that depends on corelib), I can compile and run
the application. 

Can you suggest what might be wrong with the way I’m
building the application?


Thanks.

Tobias.

BTW: The reason flex-config.xml couldn’t be found was
that I was running mxmlc with ‘java –jar mxmlc.jar’









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Roger Gonzalez
Sent: Wednesday, March 22, 2006
8:09 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex
2.0: mxmlc question



library-path makes SWCs available for resolving class
dependencies.  This is normally what you want.



include-libraries forces all symbols in the SWCs to be included in
the application, whether they are needed or not.



I don't know why you'd get that error unless you're
not using mxmlc or Flex Builder.  By default, the compiler tries to load
flex-config.xml out of ${flexlib}, which for mxmlc.exe is relative to the bin
directory, and I suspect is set explicitly by Flex Builder.



I don't know what the "does not use a config file by
default" means.  mxmlc certainly loads a flex-config.xml file by
default.  I'm not positive what Flex Builder does, though.



In beta 2, you should be able to use
-load-config+=otherfile.xml to overlay your config on top of the default config.



In other words, the config file isn't required, but there
are some default settings that are trying to load it.  Something about
your setup sounds broken.



-rg











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Tobias Patton
Sent: Wednesday, March 22, 2006
4:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0:
mxmlc question





Can someone
explain the difference between the “-include-libraries” and
“-library-path” compiler options?

The
documentation states that “-includ

Re: [flexcoders] Re: Flex 1.5 CurrencyFormatter

2006-03-23 Thread JesterXL
Try this:

import mx.formatters.CurrencyFormatter;
var result:String = USDformatter.format(0);
trace(resutlt);


- Original Message - 
From: "Doug Lowder" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 23, 2006 5:55 PM
Subject: [flexcoders] Re: Flex 1.5 CurrencyFormatter


I couldn't reproduce it.  Everything formats just fine with the 
grid's label function, even coming up blank with the "a" string as 
the price.


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

  
  
  

  

  

   

   
   





   

  



--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> This works when used with a TextInput, but does not work with a 
> labelFunction with a DataGrid.  I'm getting relaly weird results 
like 
> $"0.00" when you pass a 0 to the CurrencyFormatter.format function.
> 
> Why does this work perfectly with a TextField, but not with 
labelFunction 
> for a DataGrid?
> 
> This works:
> 
> 
> http://www.macromedia.com/2003/mxml";>
> 
>  
>  
>  
> 
>   decimalSeparatorFrom="."
> decimalSeparatorTo="." useNegativeSign="true" 
> useThousandsSeparator="true" alignSymbol="left"/>
> 
>  
> 
>   
>
>   
> 
>  
> 
> 
> However, this psuedo code does not:
> 
> function formatPrice( item : Object, columnName : String ):String
> {
>  var formattedPrice:String = USDformatter.format(item.price);
>  return formattedPrice;
> }
> 
> I have confirmed through traces & debugs that item.price is in 
fact 0. 
> Strangely, even hardcoding 0 or "0" into the USDformatter.format 
function 
> still results in the $"0.00" problem.
> 
> !?!?
> 
> --JesterXL
>







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



 




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

<*> 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: Flex 1.5 CurrencyFormatter

2006-03-23 Thread Doug Lowder
I couldn't reproduce it.  Everything formats just fine with the 
grid's label function, even coming up blank with the "a" string as 
the price.


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

  
  
  

  

  

   

   
   





   

  



--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> This works when used with a TextInput, but does not work with a 
> labelFunction with a DataGrid.  I'm getting relaly weird results 
like 
> $"0.00" when you pass a 0 to the CurrencyFormatter.format function.
> 
> Why does this work perfectly with a TextField, but not with 
labelFunction 
> for a DataGrid?
> 
> This works:
> 
> 
> http://www.macromedia.com/2003/mxml";>
> 
>  
>  
>  
> 
>   decimalSeparatorFrom="."
> decimalSeparatorTo="." useNegativeSign="true" 
> useThousandsSeparator="true" alignSymbol="left"/>
> 
>  
> 
>   
>
>   
> 
>  
> 
> 
> However, this psuedo code does not:
> 
> function formatPrice( item : Object, columnName : String ):String
> {
>  var formattedPrice:String = USDformatter.format(item.price);
>  return formattedPrice;
> }
> 
> I have confirmed through traces & debugs that item.price is in 
fact 0. 
> Strangely, even hardcoding 0 or "0" into the USDformatter.format 
function 
> still results in the $"0.00" problem.
> 
> !?!?
> 
> --JesterXL
>







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

<*> 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: SOLVED: Dummy e4x XML question - assign string to XML with simple content?

2006-03-23 Thread thunderstumpgesatwork
Jason,

>
> Why not oNode.value = 1.54; and for attributes [EMAIL PROTECTED]

That statement set's an element node, or attribute of the node, and
produces the following XML. You can try it if you want =)
cheers,
Thunder
__
 
   var oNode:XML = 1.54;
 
   // assign the "value" property of the node
   oNode.value=1.77;
   [EMAIL PROTECTED];

   trace(oNode.toString()); 
// outputs: 
/*

  1.54
  1.77

*/







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

<*> 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: Tree kicking my butt. Need some help

2006-03-23 Thread Doug Lowder
And if that works, you can try it without the loop through the 
results, and instead specify labelField="dir" in your tree as Oscar 
suggested.

--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> Try this:
> 
> function DocDisplayModdisplayDocsListQryResult( result ){
> var resultArray: Array = mx.utils.ArrayUtil.toArray(result);
> for (var i = 0; i < resultArray.length; i++) {
> DocTree.addTreeNode(resultArray[i].dir);
> }
> }
> 
> You can also add an optional data object to the addTreeNode() 
> function, as the 2nd parameter.
> 
> --- In flexcoders@yahoogroups.com, "Jeremy Rottman"  
> wrote:
> >
> > I have added the code you suggested and it still just displays 
it 
> as
> > [object Object].
> > I even trimed my cfc down to this, just to test the folders.
> > 
> >  > returntype="array" output="true">
> >  type="string" />
> >  > 
> 
directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
> ode#/#arguments.fileNum#"
> > name="ListDir" />
> > 
> > 
> >
> > = structnew()>
> > [dcounter].dir = ListDir.name>
> > dcounter + 1>
> >
> > 
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Doug Lowder"  
> wrote:
> > >
> > > One thing you'll want to do is make sure your dataprovider is 
> set to 
> > > an array in the case where you are reading a directory that 
> consists 
> > > of only a single item.  Flex will interpret that as an object 
> > > instead of an array, so you will need the following:
> > > 
> > > function DocDisplayModdisplayDocsListQryResult( result ){
> > > DocTree.dataProvider = mx.utils.ArrayUtil.toArray(result);
> > > }
> > > 
> > > 
> > > Doug
> > > 
> > > --- In flexcoders@yahoogroups.com, "Jeremy Rottman" 
 
> > > wrote:
> > > >
> > > > In my app, I have a section that is suposed to display in a 
> tree 
> > > all
> > > > documents that are in a specific folder. 
> > > > 
> > > > The issue I have is that, when I test the code, the tree has 
> this
> > > > output [object Object].
> > > > 
> > > > Is this because it not formated correctly in my cfc? Or is it
> > > > something more sinister and evil.
> > > > 
> > > > I have this cfc code. This code works.
> > > > 
> > > >  > > > returntype="array" output="true">
> > > >  > > type="string" />
> > > >  > > > 
> > > 
> 
directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
> > > ode#/L060001"
> > > > name="ListDir" />
> > > > 
> > > > 
> > > >select * from ListDir
> > > >where type = 'Dir'
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > > >
> > > >
> > > >
> > > >select * from ListDir
> > > >where type = 'File' and directory =
> > > 
> 
> '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#ar
> > > guments.fileNum#/#dirArray[dcounter].dir#'
> > > >
> > > >
> > > > > > ListFileQry.name>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 
> > > > 
> > > > 
> > > > Now, I call this function like this.
> > > > 
> > > > Webservice --
> > > > 
> > > >  > > > wsdl="http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl";
> > > > showBusyCursor="true">
> > > >  > > > 
result="DocDisplayModdisplayDocsListQryResult
> > > (
> > > > DocDisplayMod.displayDocsListQry.result )" 
> > > > 
fault="DocDisplayModdisplayDocsListQryFault( 
> > > event )" />
> > > > 
> > > > 
> > > > AS Connected to the webservice:
> > > > 
> > > > function 
DocDisplayModdisplayDocsListQry
> > > (fileNum){
> > > > 
> > >   DocDisplayMod.displayDocsListQry(fileNum);}
> > > > 
> > > > // called when results 
received
> > > > function 
> > > DocDisplayModdisplayDocsListQryResult( result ){
> > > > DocTree.dataProvider 
= 
> > > result;
> > > > }
> > > >  
> > > > function 
> > > DocDisplayModdisplayDocsListQryFault ( event ){}
> > > > 
> > > > 
> > > > Code for my tree:
> > > >  height="75%"
> > > > width="85%"/>
> > > >
> > >
> >
>






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

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

RE: [flexcoders] Re: Flex 2: Chart problem

2006-03-23 Thread Ely Greenfield


Sorry, I forgot my usual question ... Is this Flex 1.5, or 2.0?


If it's 2.0, there are showEffect and hideEffect styles on LineSeries.

Ely.

 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Torben 
Nielsen
Sent: Thursday, March 23, 2006 1:35 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 2: Chart problem

Hi Ely,

Thanks for your reply. I already tried to toggle the visibility, but this does 
not trigger the effect. Even though it works, it's not very elegant.
There are not a method in the LineSeries class called showEffect or hideEffect.

Could I maybe do somthing using the dispatchEvent method?

Best regards.

Torben Nielsen

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely 
Greenfield
Sent: giovedì 23 marzo 2006 22.31
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 2: Chart problem



Set the showEffect/hideEffect instead of showDataEffect/hideEffect, and set the 
visibility of the series to true/false.  When you toggle the visibility, the 
show/hide effects will be played automatically.

Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Torben 
Nielsen
Sent: Thursday, March 23, 2006 1:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 2: Chart problem

Hi,

that did not work. Maybe it's better if I explain what I am trying to obtain. I 
have created to effects in my mxml:




These I would lake to use every time on of the lineseries is selected or 
unselected to make an more elegant change when a line series is made visibile 
or invisibile.

Any ideas?


Thanks.

Torben


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug 
Lowder
Sent: giovedì 23 marzo 2006 21.39
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex 2: Chart problem

I believe showDataEffect and hideDataEffect are Effect objects, not functions.  
Try lineEuribor3.showDataEffect.play() and lineEuribor3.hideDataEffect.play().


--- In flexcoders@yahoogroups.com, "Torben Nielsen" <[EMAIL PROTECTED]>
wrote:
>
>  
> 
> Hi,
> 
>  
> 
> I am working on an application with a Line Chart that contains
various line
> series. I have made some checkboxes which should hide/show the
different
> line series. Here is the mxml/actionscript for the various
elements:
> 
>  
> 
> Checkbox:
> 
>  
> 
>  click="changeEuribor();" />
> 
>  
> 
> Chart:
> 
>  
> 
> 
> 
> 
> 
>  displayName="Euribor 3 mese lettera" yField="Euribor3"
> showDataEffect="fadeIn" hideDataEffect="fadeOut">
> 
> 
> 
>  weight="3" alpha="0.8"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> Checkbox click function:
> 
>  
> 
> private function changeEuribor2():void
> 
>  {
> 
> lblTest.text = "event fired";
> 
> if (euribor3.selected == true) {
> 
> if (lineEuribor3.alpha <= 0.1) {
> 
> lineEuribor3.showDataEffect();
> 
> }
> 
> } else if (euribor3.selected == false) {
> 
> lineEuribor3.hideDataEffect() ;
> 
> lblTest.text = "Hide Line";
> 
> }
> 
> }
> 
>  
> 
> Problem:
> 
>  
> 
> When I click on the checkbox I get the following error message:
> 
>  
> 
> TypeError: Error #1006: Call attempted on an object that is not a
function.
> 
> at EnaCharts/::changeEuribor()
> 
> at EnaCharts/__euribor3_click()
> 
>  
> 
> What am I doing Wrong
> 
>  
> 
> Thanks.
> 
>  
> 
> Torben Nielsen
>







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



 




 






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



 




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



 






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



 





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

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

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

[flexcoders] Re: mxmlc/compc versus web server compile

2006-03-23 Thread Renaun Erickson
Yeah, life is too short.  You can always go once step further and add
Mason on top of ANT and have a whole other bag of goodies to spin off
during the build process.  Maybe even the Flex 2 document/source code
generator I am seeing people talking about.

Renaun

--- In flexcoders@yahoogroups.com, "Ted Patrick" <[EMAIL PROTECTED]> wrote:
>
> 
> The real key to ANT is leveraging the "depends" property.
> 
> 
> 
> In this case calling ANT flex.build, will first run rsl.build just
before running flex.build. "depends" allows you to create a very large
build from very small encapsulated tasks. It is the lever that makes
ANT so powerful in both the large and in the small.
> 
> I have to admit that I was not an ANT fan prior to joining Cynergy
and tended to use Python for build automation. The key difference is
that each python build script was exact but limited in its reusability
in a larger build process. Although I still prefer a real language
over XML tag logic any day of the week, its more readable, more
understandable.
> 
> Then again it would take a mountain of work to eject a fully
configured Tomcat instance from Python and life is too short!
> 
> Cheers,
> 
> Cynergy Systems, Inc.
> Theodore Patrick
> Sr. Consultant
> [EMAIL PROTECTED]
> tel: 1.866.CYNERGY
> http://www.cynergysystems.com
> 
> 
> --
> Ted,
> 
> Thanks for the for depth of insight.  My mind finally has got
> mxmlc/compc and build scripts in the right prespective.
> 
> Renaun
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006
>






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

<*> 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] Mac Flex developing

2006-03-23 Thread Mike Chambers
fyi, we now have an SDK download for Windows, Mac and Linux:

http://www.macromedia.com/cfusion/entitlement/index.cfm?e=labs#flexsdk2

(no more having to copy from windows)

mike chambers

[EMAIL PROTECTED]

Richard Leggett wrote:
> I didn't see whether you specified 1.X or 2.0, and I'm sure someone else 
> will be better able to speak about Flex 1.X, but I might be able to 
> offer some insights for Flex 2.0.
>  
> I'm a PC guy myself but my colleague is currently working on a Mac 
> running Eclipse with the FlexBuilder 2 plug-ins (copied directly from a 
> PC install). Here's what you don't get:
>  
>  - Debugging ( or run in debug player ) 
>  - Therefore trace() - see workaround below
>  - IDE makes the carat jump around and highlight various things, 
> occaisionally he switches to FDT when it all gets too much
>  - No MXML highlighting and code completion in MXML documents (if anyone 
> knows the location of the DTD I'm sure you can at least hook up XMLBuddy 
> or something to it to get some sort of highlighting and prompting).
>  - Errors e.g. "null has no properties" just causes app to stop working
>  
> You do get:
>  
>  - "intellisense"/code completion / look up declaration in AS documents
>  - Run as release build
>  
> Design view I'm not sure on, would have to check, not used much. So in 
> summary, it is workable for now as long as there's a PC guy around to 
> debug if it all gets too much.
>  
> I wrote a quick little Logger class and compatible output panel that 
> uses LocalConnection if anyone would like it, very simple but it might 
> save you 5 mins and it's better to have some sort of trace than none at 
> all if you must use a Mac ;)
>  
> Also tried running Eclipse in VirtualPC, as you'd expect no good even on 
> the fastest Macs, if anyone has any insights into running Darwine on 
> Tiger I'd love to be able to pass it on.
>  
> Rich
> 
> 
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *Jonathan Miranda
> *Sent:* 23 March 2006 19:34
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Mac Flex developing
> 
> Just curious, how and if there are differences with developing Flex on a 
> Mac (the only thing I can foresee is tools limited to Windows 
> environments).**
> 
> _
> 
> *Jonathan Miranda*
> 
> *Flexible Master of the Web*
> 
> //"Try not to become a man of success, but a man of value." - Albert 
> Einstein//
> 
> HealthGrades : Guiding America to Better 
> Healthcare™
> 
> NASDAQ: HGRD
> 
> w  (720) 963-3832
> 
> c  (707) 761-0868
> 
> [EMAIL PROTECTED] 
> 
> _
> 
> The message contains confidential and/or legally privileged information 
> and is intended for use only by the indicated addressee.  If you are not 
> the named addressee you should not disseminate, distribute, or copy this 
> e-mail. Please notify the sender immediately by e-mail if you have 
> received this e-mail by mistake and delete this e-mail from your system. 
> E-mail transmissions cannot be guaranteed to be secure or error-free as 
> information could be intercepted, corrupted, lost, destroyed,arrive late 
> or incomplete, or contain viruses. The sender therefore does not accept 
> liability for any errors or omissions in the contents of this message 
> which arise as a result of e-mail transmission. If verification is 
> required please request a hard-copy version.
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> 
> 
> 
> SPONSORED LINKS
> Web site design development 
> 
>  
>   Computer software development 
> 
>  
>   Software design and development 
> 
>  
> 
> Macromedia flex 
> 
>  
>   Softwar

[flexcoders] Re: Tree kicking my butt. Need some help

2006-03-23 Thread Doug Lowder
Try this:

function DocDisplayModdisplayDocsListQryResult( result ){
var resultArray: Array = mx.utils.ArrayUtil.toArray(result);
for (var i = 0; i < resultArray.length; i++) {
DocTree.addTreeNode(resultArray[i].dir);
}
}

You can also add an optional data object to the addTreeNode() 
function, as the 2nd parameter.

--- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]> 
wrote:
>
> I have added the code you suggested and it still just displays it 
as
> [object Object].
> I even trimed my cfc down to this, just to test the folders.
> 
>returntype="array" output="true">
>   
>
directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
ode#/#arguments.fileNum#"
> name="ListDir" />
>   
>   
>  
>  
>  
>  
>  
>   
>   
>   
> 
> --- In flexcoders@yahoogroups.com, "Doug Lowder"  
wrote:
> >
> > One thing you'll want to do is make sure your dataprovider is 
set to 
> > an array in the case where you are reading a directory that 
consists 
> > of only a single item.  Flex will interpret that as an object 
> > instead of an array, so you will need the following:
> > 
> > function DocDisplayModdisplayDocsListQryResult( result ){
> > DocTree.dataProvider = mx.utils.ArrayUtil.toArray(result);
> > }
> > 
> > 
> > Doug
> > 
> > --- In flexcoders@yahoogroups.com, "Jeremy Rottman"  
> > wrote:
> > >
> > > In my app, I have a section that is suposed to display in a 
tree 
> > all
> > > documents that are in a specific folder. 
> > > 
> > > The issue I have is that, when I test the code, the tree has 
this
> > > output [object Object].
> > > 
> > > Is this because it not formated correctly in my cfc? Or is it
> > > something more sinister and evil.
> > > 
> > > I have this cfc code. This code works.
> > > 
> > >> > returntype="array" output="true">
> > >> type="string" />
> > >  > > 
> > 
directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
> > ode#/L060001"
> > > name="ListDir" />
> > > 
> > > 
> > >select * from ListDir
> > >where type = 'Dir'
> > > 
> > > 
> > > 
> > > 
> > >
> > >
> > >
> > >
> > >select * from ListDir
> > >where type = 'File' and directory =
> > 
> '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#ar
> > guments.fileNum#/#dirArray[dcounter].dir#'
> > >
> > >
> > > > ListFileQry.name>
> > >
> > >  
> > >
> > >  
> > >
> > >   
> > > 
> > > 
> > > Now, I call this function like this.
> > > 
> > > Webservice --
> > >   
> > >> > wsdl="http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl";
> > > showBusyCursor="true">
> > >> >   result="DocDisplayModdisplayDocsListQryResult
> > (
> > > DocDisplayMod.displayDocsListQry.result )" 
> > >   fault="DocDisplayModdisplayDocsListQryFault( 
> > event )" />
> > >   
> > > 
> > > AS Connected to the webservice:
> > > 
> > >   function DocDisplayModdisplayDocsListQry
> > (fileNum){
> > >   
> > DocDisplayMod.displayDocsListQry(fileNum);}
> > >   
> > >   // called when results received
> > >   function 
> > DocDisplayModdisplayDocsListQryResult( result ){
> > >   DocTree.dataProvider = 
> > result;  
> > >   }
> > >
> > >   function 
> > DocDisplayModdisplayDocsListQryFault ( event ){}
> > > 
> > > 
> > > Code for my tree:
> > >  > > width="85%"/>
> > >
> >
>






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

<*> 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] Flex 1.5 CurrencyFormatter

2006-03-23 Thread JesterXL
This works when used with a TextInput, but does not work with a 
labelFunction with a DataGrid.  I'm getting relaly weird results like 
$"0.00" when you pass a 0 to the CurrencyFormatter.format function.

Why does this work perfectly with a TextField, but not with labelFunction 
for a DataGrid?

This works:


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

 
 
 

 

 

  
   
  

 


However, this psuedo code does not:

function formatPrice( item : Object, columnName : String ):String
{
 var formattedPrice:String = USDformatter.format(item.price);
 return formattedPrice;
}

I have confirmed through traces & debugs that item.price is in fact 0. 
Strangely, even hardcoding 0 or "0" into the USDformatter.format function 
still results in the $"0.00" problem.

!?!?

--JesterXL




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

<*> 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] Bug in list.selectedIndices

2006-03-23 Thread Joan Tan











Actually, I can reproduce this problem in
the beta 2, but, internally in our later builds, the bug is fixed. Sorry it
didn’t make it into this build, but it will be fixed in the next one. Can
you still send the bug number along if you have it? Then, I can document it
that it’s not fixed in beta 2, but it is in later builds.

 

Joan

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joan Tan
Sent: Thursday, March 23, 2006
2:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Bug in
list.selectedIndices



 



I can reproduce the bug. Do you remember the bug # that you filed.
Or, I will file a new one. I can’t seem to find the original bug.

 

Thanks,

Joan

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Tobias Patton
Sent: Thursday, March 23, 2006
11:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Bug in
list.selectedIndices



 



Just a quick
note to Adobe:

 

I reported a
bug in Flex 2 Beta 1 where the selectedIndices property of a list control would
not contain the correct values if the user selected multiple entries using the
shift key. The problems is still in Beta 2.

 

Thanks.

Tobias.

 

Creo Inc., a subsidiary of Kodak



Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 



 



 














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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Bug in list.selectedIndices

2006-03-23 Thread Mac Martine











It’s number 162791

It’s supposedly fixed now but I
haven’t tried it. 

 

Tobias, The fix should be in the next
public release.

 

Thanks!

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joan Tan
Sent: Thursday, March 23, 2006
2:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Bug in
list.selectedIndices



 



I can reproduce the bug. Do you remember the bug # that you filed.
Or, I will file a new one. I can’t seem to find the original bug.

 

Thanks,

Joan

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Tobias Patton
Sent: Thursday, March 23, 2006
11:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Bug in
list.selectedIndices



 



Just a quick
note to Adobe:

 

I reported a
bug in Flex 2 Beta 1 where the selectedIndices property of a list control would
not contain the correct values if the user selected multiple entries using the
shift key. The problems is still in Beta 2.

 

Thanks.

Tobias.

 

Creo Inc., a subsidiary of Kodak



Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 



 



 














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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] : Flex and Coldfusion : where to ask ?

2006-03-23 Thread João Fernandes










Hi,

Flexcoders are great but when there are some issues related to CF connectivity for Flex 2 Beta where is the best place to post our issues? There are a lot of ppl from the Flex team here, but it seems that from CF team there is none.

The Labs wiki is a total desert.
The CF Connectivity forum doesn't seem to be watched by CF folks either.

I know that they have a lot of work now with Mystic and maybe already preparing Scorpio but if we can't get some answers, we'll never know if it's a bug or if we are doing something wrong.
Like that, we can't find bugs that should be removed from the final release.

João Fernandes









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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Re: Tree kicking my butt. Need some help

2006-03-23 Thread Oscar . Cortes
In addition,  you might  need labelField or labelFunction.




|-+->
| | |
| |  "Doug Lowder"  |
| |  <[EMAIL PROTECTED]>   |
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  03/23/2006 04:52 PM|
| |  Please respond to  |
| |  flexcoders |
| | |
|-+->
  
>-|
  | 
|
  |  To: flexcoders@yahoogroups.com 
|
  |  cc:
|
  |  Subject:  [flexcoders] Re: Tree kicking my butt. Need some help
|
  
>-|




One thing you'll want to do is make sure your dataprovider is set to
an array in the case where you are reading a directory that consists
of only a single item.  Flex will interpret that as an object
instead of an array, so you will need the following:

function DocDisplayModdisplayDocsListQryResult( result ){
DocTree.dataProvider = mx.utils.ArrayUtil.toArray(result);
}


Doug

--- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]>
wrote:
>
> In my app, I have a section that is suposed to display in a tree
all
> documents that are in a specific folder.
>
> The issue I have is that, when I test the code, the tree has this
> output [object Object].
>
> Is this because it not formated correctly in my cfc? Or is it
> something more sinister and evil.
>
> I have this cfc code. This code works.
>
> returntype="array" output="true">
>
> 
directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
ode#/L060001"
> name="ListDir" />
>
> 
>select * from ListDir
>where type = 'Dir'
> 
> 
> 
> 
>
>
>
>
>select * from ListDir
>where type = 'File' and directory =
> '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#ar
guments.fileNum#/#dirArray[dcounter].dir#'
>
>
>
>
>   
>
>   
>
>
> 
>
> Now, I call this function like this.
>
> Webservice --
>
> wsdl="http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl";
> showBusyCursor="true">
>
result="DocDisplayModdisplayDocsListQryResult
(
> DocDisplayMod.displayDocsListQry.result )"
>
fault="DocDisplayModdisplayDocsListQryFault(
event )" />
>
>
> AS Connected to the webservice:
>
>function
DocDisplayModdisplayDocsListQry
(fileNum){
>
 DocDisplayMod.displayDocsListQry(fileNum);}
>
>// called when results
received
>function
DocDisplayModdisplayDocsListQryResult( result ){
>
DocTree.dataProvider =
result;
>}
>
>function
DocDisplayModdisplayDocsListQryFault ( event ){}
>
>
> Code for my tree:
>  width="85%"/>
>






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











---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




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

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

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

RE: [flexcoders] Bug in list.selectedIndices

2006-03-23 Thread Joan Tan











I can reproduce the bug. Do you remember
the bug # that you filed. Or, I will file a new one. I can’t seem to find
the original bug.

 

Thanks,

Joan

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Patton
Sent: Thursday, March 23, 2006
11:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Bug in
list.selectedIndices



 



Just a quick
note to Adobe:

 

I reported a
bug in Flex 2 Beta 1 where the selectedIndices property of a list control would
not contain the correct values if the user selected multiple entries using the
shift key. The problems is still in Beta 2.

 

Thanks.

Tobias.

 

Creo Inc., a subsidiary of Kodak



Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 



 














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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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: Tree kicking my butt. Need some help

2006-03-23 Thread Jeremy Rottman
I have added the code you suggested and it still just displays it as
[object Object].
I even trimed my cfc down to this, just to test the folders.






   
   
   
   
   




--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> One thing you'll want to do is make sure your dataprovider is set to 
> an array in the case where you are reading a directory that consists 
> of only a single item.  Flex will interpret that as an object 
> instead of an array, so you will need the following:
> 
> function DocDisplayModdisplayDocsListQryResult( result ){
> DocTree.dataProvider = mx.utils.ArrayUtil.toArray(result);
> }
> 
> 
> Doug
> 
> --- In flexcoders@yahoogroups.com, "Jeremy Rottman"  
> wrote:
> >
> > In my app, I have a section that is suposed to display in a tree 
> all
> > documents that are in a specific folder. 
> > 
> > The issue I have is that, when I test the code, the tree has this
> > output [object Object].
> > 
> > Is this because it not formated correctly in my cfc? Or is it
> > something more sinister and evil.
> > 
> > I have this cfc code. This code works.
> > 
> >  > returntype="array" output="true">
> >  type="string" />
> >  > 
> directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
> ode#/L060001"
> > name="ListDir" />
> > 
> > 
> >select * from ListDir
> >where type = 'Dir'
> > 
> > 
> > 
> > 
> >
> >
> >
> >
> >select * from ListDir
> >where type = 'File' and directory =
> > '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#ar
> guments.fileNum#/#dirArray[dcounter].dir#'
> >
> >
> > ListFileQry.name>
> >
> >
> >
> >
> >
> > 
> > 
> > 
> > Now, I call this function like this.
> > 
> > Webservice --
> > 
> >  > wsdl="http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl";
> > showBusyCursor="true">
> >  > result="DocDisplayModdisplayDocsListQryResult
> (
> > DocDisplayMod.displayDocsListQry.result )" 
> > fault="DocDisplayModdisplayDocsListQryFault( 
> event )" />
> > 
> > 
> > AS Connected to the webservice:
> > 
> > function DocDisplayModdisplayDocsListQry
> (fileNum){
> > 
>   DocDisplayMod.displayDocsListQry(fileNum);}
> > 
> > // called when results received
> > function 
> DocDisplayModdisplayDocsListQryResult( result ){
> > DocTree.dataProvider = 
> result;
> > }
> >  
> > function 
> DocDisplayModdisplayDocsListQryFault ( event ){}
> > 
> > 
> > Code for my tree:
> >  > width="85%"/>
> >
>







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

<*> 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] Flex 2.0: mxmlc question

2006-03-23 Thread Roger Gonzalez






First, make certain you don't have any Beta1 SWCs being loaded by 
Beta2.  That will break.
 
If you add corelib.swc (or its parent directory) to your library path, it 
will make it available to be linked in.
 
Its choking in the ResourceBundle code, which implies to me that 
ListCollectionView isn't getting something it needs.  Have you done the 
same sort of "copy the en_us directory" locale hack that has worked for other 
people?
 
-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Tobias 
  PattonSent: Thursday, March 23, 2006 8:15 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2.0: mxmlc 
  question
  
  
  Hi 
  Roger;
  
  
  So, to link 
  corelib.swc into my application, you’d supply the path to corelib as an 
  argument to the –library-path option? Here’s the command-line I’m 
  using:
  
  mxmlc 
  -actionscript-classpath=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\classes 
  -library-path 
  D:\PerforceDepot\galiano\Galiano.Tobias_Patton\tools\compiler\Flex2b2\frameworks\libs\ 
  D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\oem\corelib\bin\corelib.swc  
  -- 
  D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsView\DashboardJobsView.mxml
  
  This compiles, but I 
  get the following runtime error when I launch my 
  application:
  
  Error: Key 
  outOfBounds was not found in resource bundle 
  SharedResources
      
  at mx.resource::ResourceBundle/getObject()
      
  at mx.resource::ResourceBundle/getString()
      
  at 
  mx.collections::ListCollectionView$/::loadResources()
      
  at mx.managers::SystemManager$/registerInitCallback()
      
  at mx.collections::ListCollectionView$cinit()
      
  at global$init()
      
  at global$init()
      
  at _DashboardJobsView_FlexInit$/init()
      
  at mx.managers::SystemManager/::frameEndHandler()
  
  This used  to 
  work in Beta 1.
  
  If I remove the 
  reference to corelib.swc from the command line (and comment out any code that 
  depends on corelib), I can compile and run the application. 
  
  
  Can you suggest what 
  might be wrong with the way I’m building the 
  application?
  Thanks.
  
  Tobias.
  
  BTW: The reason 
  flex-config.xml couldn’t be found was that I was running mxmlc with ‘java –jar 
  mxmlc.jar’
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roger GonzalezSent: Wednesday, March 22, 2006 8:09 
  PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2.0: mxmlc 
  question
  
  library-path makes 
  SWCs available for resolving class dependencies.  This is normally 
  what you want.
  include-libraries 
  forces all symbols in the SWCs to be included in the application, whether they 
  are needed or not.
  
  
  I don't know why 
  you'd get that error unless you're not using mxmlc or Flex Builder.  By 
  default, the compiler tries to load flex-config.xml out of ${flexlib}, which 
  for mxmlc.exe is relative to the bin directory, and I suspect is set 
  explicitly by Flex Builder.
  
  I don't know what the 
  "does not use a config file by default" means.  mxmlc certainly loads a 
  flex-config.xml file by default.  I'm not positive what Flex Builder 
  does, though.
  
  In beta 2, you should 
  be able to use -load-config+=otherfile.xml to overlay your config on top of 
  the default config.
  
  In other words, the 
  config file isn't required, but there are some default settings that are 
  trying to load it.  Something about your setup sounds 
  broken.
  
  -rg
  




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias PattonSent: Wednesday, March 22, 2006 4:38 
PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2.0: mxmlc 
question

Can someone explain the 
difference between the “-include-libraries” and “-library-path” compiler 
options?
The documentation states 
that “-include-libraries” is commonly used to link in an .swc file 
containing localized resources. But what about .swc file containing other 
.swc files used by the application? The documentation for “-library-path” 
implies that this option should be used to link in custom components. What 
is the difference? When I add a library in Flex Builder, does this translate 
to an “-include-libraries” option of a “-library-path” 
option?
Also, the documentation 
states that the Flex compilers do not use a config file by default. However, 
unless I specify the “-load-config” option, I get the error: defaults: 
Error: unable to open './flex-config.xml'. Is this flag required or 
not?
Thanks.
Tobias.
Creo Inc., a 
subsidiary of Kodak
Tobias Patton | 
Software Developer | Tel: +1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] 
| 
http://www.creo.com 

  


[flexcoders] Re: Flex 2: Chart problem

2006-03-23 Thread Doug Lowder
No real experience with Flex 2 effects here, but couldn't you just 
play your effect in the changeEuribor() function?  Something like

fadeIn.play([lineEuribor3]);

with adjustments for AS3, if necessary.


--- In flexcoders@yahoogroups.com, "Torben Nielsen" <[EMAIL PROTECTED]> 
wrote:
>
> Hi,
> 
> that did not work. Maybe it's better if I explain what I am trying 
to
> obtain. I have created to effects in my mxml:
> 
> 
> 
> 
> These I would lake to use every time on of the lineseries is 
selected or
> unselected to make an more elegant change when a line series is 
made
> visibile or invisibile.
> 
> Any ideas?
> 
> 
> Thanks.
> 
> Torben
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Doug Lowder
> Sent: giovedì 23 marzo 2006 21.39
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex 2: Chart problem
> 
> I believe showDataEffect and hideDataEffect are Effect objects, not
> functions.  Try lineEuribor3.showDataEffect.play() and
> lineEuribor3.hideDataEffect.play().
> 
> 
> --- In flexcoders@yahoogroups.com, "Torben Nielsen" 
> wrote:
> >
> >  
> > 
> > Hi,
> > 
> >  
> > 
> > I am working on an application with a Line Chart that contains
> various line
> > series. I have made some checkboxes which should hide/show the
> different
> > line series. Here is the mxml/actionscript for the various
> elements:
> > 
> >  
> > 
> > Checkbox:
> > 
> >  
> > 
> >  > click="changeEuribor();" />
> > 
> >  
> > 
> > Chart:
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> >  > displayName="Euribor 3 mese lettera" yField="Euribor3"
> > showDataEffect="fadeIn" hideDataEffect="fadeOut">
> > 
> > 
> > 
> >  color="0xFF"
> > weight="3" alpha="0.8"/>
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> > 
> > Checkbox click function:
> > 
> >  
> > 
> > private function changeEuribor2():void
> > 
> >  {
> > 
> > lblTest.text = "event fired";
> > 
> > if (euribor3.selected == true) {
> > 
> > if (lineEuribor3.alpha <= 0.1) {
> > 
> > lineEuribor3.showDataEffect
();
> > 
> > }
> > 
> > } else if (euribor3.selected == false) {
> > 
> > lineEuribor3.hideDataEffect() ;
> > 
> > lblTest.text = "Hide Line";
> > 
> > }
> > 
> > }
> > 
> >  
> > 
> > Problem:
> > 
> >  
> > 
> > When I click on the checkbox I get the following error message:
> > 
> >  
> > 
> > TypeError: Error #1006: Call attempted on an object that is not a
> function.
> > 
> > at EnaCharts/::changeEuribor()
> > 
> > at EnaCharts/__euribor3_click()
> > 
> >  
> > 
> > What am I doing Wrong
> > 
> >  
> > 
> > Thanks.
> > 
> >  
> > 
> > Torben Nielsen
> >
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>






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

<*> 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: Tree kicking my butt. Need some help

2006-03-23 Thread Doug Lowder
One thing you'll want to do is make sure your dataprovider is set to 
an array in the case where you are reading a directory that consists 
of only a single item.  Flex will interpret that as an object 
instead of an array, so you will need the following:

function DocDisplayModdisplayDocsListQryResult( result ){
DocTree.dataProvider = mx.utils.ArrayUtil.toArray(result);
}


Doug

--- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]> 
wrote:
>
> In my app, I have a section that is suposed to display in a tree 
all
> documents that are in a specific folder. 
> 
> The issue I have is that, when I test the code, the tree has this
> output [object Object].
> 
> Is this because it not formated correctly in my cfc? Or is it
> something more sinister and evil.
> 
> I have this cfc code. This code works.
> 
>returntype="array" output="true">
>   
>  
directory="#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC
ode#/L060001"
> name="ListDir" />
> 
> 
>select * from ListDir
>where type = 'Dir'
> 
> 
> 
> 
>
>
>
>
>select * from ListDir
>where type = 'File' and directory =
> '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#ar
guments.fileNum#/#dirArray[dcounter].dir#'
>
>
>
>
>  
>
>  
>
>   
> 
> 
> Now, I call this function like this.
> 
> Webservice --
>   
>wsdl="http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl";
> showBusyCursor="true">
>  result="DocDisplayModdisplayDocsListQryResult
(
> DocDisplayMod.displayDocsListQry.result )" 
>   fault="DocDisplayModdisplayDocsListQryFault( 
event )" />
>   
> 
> AS Connected to the webservice:
> 
>   function DocDisplayModdisplayDocsListQry
(fileNum){
>   
DocDisplayMod.displayDocsListQry(fileNum);}
>   
>   // called when results received
>   function 
DocDisplayModdisplayDocsListQryResult( result ){
>   DocTree.dataProvider = 
result;  
>   }
>
>   function 
DocDisplayModdisplayDocsListQryFault ( event ){}
> 
> 
> Code for my tree:
>  width="85%"/>
>






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

<*> 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 2: Chart problem

2006-03-23 Thread Torben Nielsen
Hi Ely,

Thanks for your reply. I already tried to toggle the visibility, but this
does not trigger the effect. Even though it works, it’s not very elegant.
There are not a method in the LineSeries class called showEffect or
hideEffect.

Could I maybe do somthing using the dispatchEvent method?

Best regards.

Torben Nielsen

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ely Greenfield
Sent: giovedì 23 marzo 2006 22.31
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 2: Chart problem



Set the showEffect/hideEffect instead of showDataEffect/hideEffect, and set
the visibility of the series to true/false.  When you toggle the visibility,
the show/hide effects will be played automatically.

Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Torben Nielsen
Sent: Thursday, March 23, 2006 1:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 2: Chart problem

Hi,

that did not work. Maybe it's better if I explain what I am trying to
obtain. I have created to effects in my mxml:




These I would lake to use every time on of the lineseries is selected or
unselected to make an more elegant change when a line series is made
visibile or invisibile.

Any ideas?


Thanks.

Torben


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Doug Lowder
Sent: giovedì 23 marzo 2006 21.39
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex 2: Chart problem

I believe showDataEffect and hideDataEffect are Effect objects, not
functions.  Try lineEuribor3.showDataEffect.play() and
lineEuribor3.hideDataEffect.play().


--- In flexcoders@yahoogroups.com, "Torben Nielsen" <[EMAIL PROTECTED]>
wrote:
>
>  
> 
> Hi,
> 
>  
> 
> I am working on an application with a Line Chart that contains
various line
> series. I have made some checkboxes which should hide/show the
different
> line series. Here is the mxml/actionscript for the various
elements:
> 
>  
> 
> Checkbox:
> 
>  
> 
>  click="changeEuribor();" />
> 
>  
> 
> Chart:
> 
>  
> 
> 
> 
> 
> 
>  displayName="Euribor 3 mese lettera" yField="Euribor3"
> showDataEffect="fadeIn" hideDataEffect="fadeOut">
> 
> 
> 
>  weight="3" alpha="0.8"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> Checkbox click function:
> 
>  
> 
> private function changeEuribor2():void
> 
>  {
> 
> lblTest.text = "event fired";
> 
> if (euribor3.selected == true) {
> 
> if (lineEuribor3.alpha <= 0.1) {
> 
> lineEuribor3.showDataEffect();
> 
> }
> 
> } else if (euribor3.selected == false) {
> 
> lineEuribor3.hideDataEffect() ;
> 
> lblTest.text = "Hide Line";
> 
> }
> 
> }
> 
>  
> 
> Problem:
> 
>  
> 
> When I click on the checkbox I get the following error message:
> 
>  
> 
> TypeError: Error #1006: Call attempted on an object that is not a
function.
> 
> at EnaCharts/::changeEuribor()
> 
> at EnaCharts/__euribor3_click()
> 
>  
> 
> What am I doing Wrong
> 
>  
> 
> Thanks.
> 
>  
> 
> Torben Nielsen
>







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



 




 






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



 




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



 






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

<*> 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 kicking my butt. Need some help

2006-03-23 Thread Jeremy Rottman
In my app, I have a section that is suposed to display in a tree all
documents that are in a specific folder. 

The issue I have is that, when I test the code, the tree has this
output [object Object].

Is this because it not formated correctly in my cfc? Or is it
something more sinister and evil.

I have this cfc code. This code works.






   select * from ListDir
   where type = 'Dir'




   
   
   
   
   select * from ListDir
   where type = 'File' and directory =
'#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#arguments.fileNum#/#dirArray[dcounter].dir#'
   
   
   
   
   
   
   
   



Now, I call this function like this.

Webservice --

http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl";
showBusyCursor="true">



AS Connected to the webservice:

function DocDisplayModdisplayDocsListQry(fileNum){

DocDisplayMod.displayDocsListQry(fileNum);}

// called when results received
function DocDisplayModdisplayDocsListQryResult( 
result ){
DocTree.dataProvider = result;  
 
}
 
function DocDisplayModdisplayDocsListQryFault ( 
event ){}


Code for my tree:









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

<*> 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 2: Chart problem

2006-03-23 Thread Ely Greenfield


Set the showEffect/hideEffect instead of showDataEffect/hideEffect, and set the 
visibility of the series to true/false.  When you toggle the visibility, the 
show/hide effects will be played automatically.

Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Torben 
Nielsen
Sent: Thursday, March 23, 2006 1:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flex 2: Chart problem

Hi,

that did not work. Maybe it's better if I explain what I am trying to obtain. I 
have created to effects in my mxml:




These I would lake to use every time on of the lineseries is selected or 
unselected to make an more elegant change when a line series is made visibile 
or invisibile.

Any ideas?


Thanks.

Torben


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug 
Lowder
Sent: giovedì 23 marzo 2006 21.39
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex 2: Chart problem

I believe showDataEffect and hideDataEffect are Effect objects, not functions.  
Try lineEuribor3.showDataEffect.play() and lineEuribor3.hideDataEffect.play().


--- In flexcoders@yahoogroups.com, "Torben Nielsen" <[EMAIL PROTECTED]>
wrote:
>
>  
> 
> Hi,
> 
>  
> 
> I am working on an application with a Line Chart that contains
various line
> series. I have made some checkboxes which should hide/show the
different
> line series. Here is the mxml/actionscript for the various
elements:
> 
>  
> 
> Checkbox:
> 
>  
> 
>  click="changeEuribor();" />
> 
>  
> 
> Chart:
> 
>  
> 
> 
> 
> 
> 
>  displayName="Euribor 3 mese lettera" yField="Euribor3"
> showDataEffect="fadeIn" hideDataEffect="fadeOut">
> 
> 
> 
>  weight="3" alpha="0.8"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> Checkbox click function:
> 
>  
> 
> private function changeEuribor2():void
> 
>  {
> 
> lblTest.text = "event fired";
> 
> if (euribor3.selected == true) {
> 
> if (lineEuribor3.alpha <= 0.1) {
> 
> lineEuribor3.showDataEffect();
> 
> }
> 
> } else if (euribor3.selected == false) {
> 
> lineEuribor3.hideDataEffect() ;
> 
> lblTest.text = "Hide Line";
> 
> }
> 
> }
> 
>  
> 
> Problem:
> 
>  
> 
> When I click on the checkbox I get the following error message:
> 
>  
> 
> TypeError: Error #1006: Call attempted on an object that is not a
function.
> 
> at EnaCharts/::changeEuribor()
> 
> at EnaCharts/__euribor3_click()
> 
>  
> 
> What am I doing Wrong
> 
>  
> 
> Thanks.
> 
>  
> 
> Torben Nielsen
>







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



 




 






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



 




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

<*> 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] Installing Coldfusion "Mystic" beta 2.

2006-03-23 Thread Gareth Edwards
Thanks for the tip, I actually opened up the installer with winrar, 
grabbed the jre, backed up the old one and replaced it. Didn't release 
it existed in "runtime"

Cheers
Gareth.

Battershall, Jeff wrote:
> Gareth,
>
> There's something up with the Mystic Beta 2 installer, and a bug has
> been filed. If you change java.home in jvm.config to point to
> C:\JRun4\runtime\jre and re-start CF services you should be in business.
>
> Jeff
>
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Gareth Edwards
> Sent: Wednesday, March 22, 2006 11:28 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Installing Coldfusion "Mystic" beta 2.
>
>
> Everything seemed to install o.k, but.. I'm running JRUN / Multiserver 
> and it seems it didn't update my JRE to 1.4.2_06?
>
> Anyone know why this might be?
>
> Cheers
> Gareth.
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>
>
>
>  
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>
>
>
>  
>
>
>
>   


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

<*> 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] Request to Adobe re: Documentation format

2006-03-23 Thread Matt Horn






I can assure you we read this and other forums. Hey, where 
do you think my best code samples come from? ;)
 
As for changing the numbering format of the docs, I've 
forwarded Cortlandt's request on to one of the editors, but changes like that 
would have to be approved at a much higher level in order to make their way into 
the template. Let's just say it's not going to happen for Beta 3. 
:) 
 
Matthew Horn
Flex docs

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of dos 
  dedosSent: Wednesday, March 22, 2006 4:24 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Request to 
  Adobe re: Documentation format
  Thank you very much for the links. Big help!I'm sure 
  Adobe documentation team will find your ideas re document structure pretty 
  useful. Just one note on a much higher level :) ...I view 
  programming languages are basically formal logic systems having non-universal 
  axioms (i.e. "non-logical" in the formal sense) and rules of inference, so it 
  follows that:1. Some perfectly well formed statements in any given 
  language would be impossible to prove as perfectly executable (i.e. with no 
  error) based on the axioms of the language, and this holds true no matter how 
  many axioms we add to the system.2. Any given programming language 
  could only be proven to be consistent by other languages. This makes 
  the consistency proof conditional on the consistency of the second language, 
  which in turn could only be validated by a third, and so on. No consistency 
  proof for any formal logic system could be final.That's why I stopped 
  worrying a! nd learned to love the 
  inconsistency.:)Cortlandt Winters 
  <[EMAIL PROTECTED]> wrote:
  Hi Dos Dedos,They 
are herehttp://labs.macromedia.com/wiki/index.php/Flex:Release_Notes#Beta_2_documentationIf 
any adobe docs folk do read this to look for requests, it would be nice in 
the future for alpha docs to be chaptered and indexed with page numbers 
offset by chapter rather than by total (like they do with tax and legal 
docs). The reason that would be nice is that you could print out a pdf and 
then when a new version of a chapter pops up, you can just reprint out that 
one chapter. If the page numbers are reletive to the chapters we can have 
printouts that change as the alpha docs do without getting page numbers out 
of synch. I still like to print out docs, mainly when learning 
something new, so that I can write in the margins, highlight points, and 
review it later.I love that the level of technical scope in the 
Flex2 docs is generally a level higher than flash docs in the past. These 
seem written more for programmers than for the casual coder as has been in 
the past. I like the little notes as to why a certain language design choice 
was decided upon amongst options. It inspires more confidence into the 
thinking behind the choices. -Cort
On 3/22/06, dos 
dedos <[EMAIL PROTECTED]> 
wrote:

  I'm glad the new Beta 2 IDE includes 
  links to documentation ...I was wondering if we can have it in 
  Adobe Acrobat f! ormat so we can print it and read it 
  offline?
  
  
  Yahoo! MailUse Photomail to share photos without annoying 
  attachments. 
  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  
  
  YAHOO! GROUPS LINKS 
  
 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email 
to:  [EMAIL PROTECTED]  

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service . 
  
  
  
  
  
  Blab-away for as little as 1¢/min. Make PC-to-Phone 
  Calls using Yahoo! Messenger with Voice. 






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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Re: Flex 2: Chart problem

2006-03-23 Thread Torben Nielsen
Hi,

that did not work. Maybe it’s better if I explain what I am trying to
obtain. I have created to effects in my mxml:




These I would lake to use every time on of the lineseries is selected or
unselected to make an more elegant change when a line series is made
visibile or invisibile.

Any ideas?


Thanks.

Torben


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Doug Lowder
Sent: giovedì 23 marzo 2006 21.39
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex 2: Chart problem

I believe showDataEffect and hideDataEffect are Effect objects, not
functions.  Try lineEuribor3.showDataEffect.play() and
lineEuribor3.hideDataEffect.play().


--- In flexcoders@yahoogroups.com, "Torben Nielsen" <[EMAIL PROTECTED]>
wrote:
>
>  
> 
> Hi,
> 
>  
> 
> I am working on an application with a Line Chart that contains
various line
> series. I have made some checkboxes which should hide/show the
different
> line series. Here is the mxml/actionscript for the various
elements:
> 
>  
> 
> Checkbox:
> 
>  
> 
>  click="changeEuribor();" />
> 
>  
> 
> Chart:
> 
>  
> 
> 
> 
> 
> 
>  displayName="Euribor 3 mese lettera" yField="Euribor3"
> showDataEffect="fadeIn" hideDataEffect="fadeOut">
> 
> 
> 
>  weight="3" alpha="0.8"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> Checkbox click function:
> 
>  
> 
> private function changeEuribor2():void
> 
>  {
> 
> lblTest.text = "event fired";
> 
> if (euribor3.selected == true) {
> 
> if (lineEuribor3.alpha <= 0.1) {
> 
> lineEuribor3.showDataEffect();
> 
> }
> 
> } else if (euribor3.selected == false) {
> 
> lineEuribor3.hideDataEffect() ;
> 
> lblTest.text = "Hide Line";
> 
> }
> 
> }
> 
>  
> 
> Problem:
> 
>  
> 
> When I click on the checkbox I get the following error message:
> 
>  
> 
> TypeError: Error #1006: Call attempted on an object that is not a
function.
> 
> at EnaCharts/::changeEuribor()
> 
> at EnaCharts/__euribor3_click()
> 
>  
> 
> What am I doing Wrong
> 
>  
> 
> Thanks.
> 
>  
> 
> Torben Nielsen
>







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



 




 






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

<*> 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] Installing Coldfusion "Mystic" beta 2.

2006-03-23 Thread Battershall, Jeff
Gareth,

There's something up with the Mystic Beta 2 installer, and a bug has
been filed. If you change java.home in jvm.config to point to
C:\JRun4\runtime\jre and re-start CF services you should be in business.

Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gareth Edwards
Sent: Wednesday, March 22, 2006 11:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Installing Coldfusion "Mystic" beta 2.


Everything seemed to install o.k, but.. I'm running JRUN / Multiserver 
and it seems it didn't update my JRE to 1.4.2_06?

Anyone know why this might be?

Cheers
Gareth.


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



 



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

<*> 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] Flex 2 Beta 2 ViewStack Bug

2006-03-23 Thread Colin Wiseley











Thanks, setting creationPolicy="all"
in my sample app gets it to work but it’s still not working on the big
application I’m developing.  It has a ViewStack nested inside another
ViewStack. I set creationPolicy="all" on both of them but the show
events are not firing the first time I view an item in the nested ViewStack.  I
didn’t have this problem in Beta 1.  Weird.

 



Colin
 Wiseley

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sinatosk
Sent: Thursday, March 23, 2006
3:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2
Beta 2 ViewStack Bug



 



I might be wrong but I think it's something to do
with the way things are inialized. trying setting the
"creationPolicy" to "all" like this





 











 





but don't set it on your childs. I've not tried
this... for some reason my browser keeps crashing everytime I try run Flex apps
in debug mode... dunno why. Just a warning though if you have alot of view
stacks... having "creationPolicy" set to "all" will slow
your application load time down ( only when it firsts gets initalized then
after it's all nice n fast :p ) 





 





hope this helps ;)







 





On 3/23/06, Colin Wiseley
<[EMAIL PROTECTED]> wrote:






Hi,
I have a bug that I've noticed with the recent release of Flex 2 Beta 2.
 The show event is not being dispatched when an item in a ViewStack
becomes visible for the first time.  This problem was not present in Beta
1. 

 

You
can use the code below to reproduce the problem.  Run the application in
Debug Mode and you'll see that the trace statement does not get displayed until
the second time that you click the Forward button. 

 

Is
there a workaround for this or do I need to wait for Beta 3?  Thanks!

 

 



http://www.adobe.com/2006/mxml
" backgroundColor="#FF">

  

   


 
 

   


   


 
 

   


  

 



 

Colin Wiseley 

 





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





SPONSORED
LINKS 


 
  
  Web site design development 
  
  
  Computer software development 
  
  
  Software design and development 
  
 
 
  
  Macromedia flex 
  
  
  Software development best practice 
  
  
   
  
 


 







YAHOO!
GROUPS LINKS 

 


  Visit your group
 "flexcoders"
 on the web.
  
  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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Mac Flex developing

2006-03-23 Thread Weyert de Boer
Hi Richard,

I would love to have that class if it's saves time. Of course, I can use 
the Windows version of Flex but the dockbar and quicksilver are so 
awesome to work with. Anyway hopefully
they will support the Mac in Beta 3!!!

Yours,
Weyert
> I didn't see whether you specified 1.X or 2.0, and I'm sure someone 
> else will be better able to speak about Flex 1.X, but I might be able 
> to offer some insights for Flex 2.0.
>  
> I'm a PC guy myself but my colleague is currently working on a Mac 
> running Eclipse with the FlexBuilder 2 plug-ins (copied directly from 
> a PC install). Here's what you don't get:
>  
>  - Debugging ( or run in debug player ) 
>  - Therefore trace() - see workaround below
>  - IDE makes the carat jump around and highlight various things, 
> occaisionally he switches to FDT when it all gets too much
>  - No MXML highlighting and code completion in MXML documents (if 
> anyone knows the location of the DTD I'm sure you can at least hook up 
> XMLBuddy or something to it to get some sort of highlighting and 
> prompting).
>  - Errors e.g. "null has no properties" just causes app to stop working
>  
> You do get:
>  
>  - "intellisense"/code completion / look up declaration in AS documents
>  - Run as release build
>  
> Design view I'm not sure on, would have to check, not used much. So in 
> summary, it is workable for now as long as there's a PC guy around to 
> debug if it all gets too much.
>  
> I wrote a quick little Logger class and compatible output panel that 
> uses LocalConnection if anyone would like it, very simple but it might 
> save you 5 mins and it's better to have some sort of trace than none 
> at all if you must use a Mac ;)
>  
> Also tried running Eclipse in VirtualPC, as you'd expect no good even 
> on the fastest Macs, if anyone has any insights into running Darwine 
> on Tiger I'd love to be able to pass it on.



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

<*> 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: Flex 2: Chart problem

2006-03-23 Thread Vadim Melnik
Is it typo in attached code, that function declared 
as "changeEuribor2" but click handler calls changeEuribor?

--
Thanks,
Vadim Melnik.

--- In flexcoders@yahoogroups.com, "Torben Nielsen" <[EMAIL PROTECTED]> 
wrote:
>
>  
> 
> Hi,
> 
>  
> 
> I am working on an application with a Line Chart that contains 
various line
> series. I have made some checkboxes which should hide/show the 
different
> line series. Here is the mxml/actionscript for the various 
elements:
> 
>  
> 
> Checkbox:
> 
>  
> 
>  click="changeEuribor();" />
> 
>  
> 
> Chart:
> 
>  
> 
> 
> 
> 
> 
>  displayName="Euribor 3 mese lettera" yField="Euribor3"
> showDataEffect="fadeIn" hideDataEffect="fadeOut">
> 
> 
> 
>  weight="3" alpha="0.8"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> Checkbox click function:
> 
>  
> 
> private function changeEuribor2():void
> 
>  {
> 
> lblTest.text = "event fired";
> 
> if (euribor3.selected == true) {
> 
> if (lineEuribor3.alpha <= 0.1) {
> 
> lineEuribor3.showDataEffect();
> 
> }
> 
> } else if (euribor3.selected == false) {
> 
> lineEuribor3.hideDataEffect() ;
> 
> lblTest.text = "Hide Line";
> 
> }
> 
> }
> 
>  
> 
> Problem:
> 
>  
> 
> When I click on the checkbox I get the following error message:
> 
>  
> 
> TypeError: Error #1006: Call attempted on an object that is not a 
function.
> 
> at EnaCharts/::changeEuribor()
> 
> at EnaCharts/__euribor3_click()
> 
>  
> 
> What am I doing Wrong
> 
>  
> 
> Thanks.
> 
>  
> 
> Torben Nielsen
>







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

<*> 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] Question about RemoveChild

2006-03-23 Thread Gordon Smith
I assume this is Flex 2. If you've called removeChild() or
removeChildAt() and you don't have any other references to this child,
it will get garbage collected at some point. But if you've stored a
reference to that child on some object, it won't go away.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Schutten
Sent: Thursday, March 23, 2006 12:32 AM
To: [EMAIL PROTECTED] Com
Subject: [flexcoders] Question about RemoveChild

Hi,

I want to delete dynamically created buttons. The documentation of Flex
says: Removing a child does not delete it, so you can redisplay it later
without recreating it.

So if RemoveChild doesn't delete them how can i do so?


Greetings,

Richard



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



 




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

<*> 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] Flex 2 Beta 2 ViewStack Bug

2006-03-23 Thread sinatosk



I might be wrong but I think it's something to do with the way things are inialized. trying setting the "creationPolicy" to "all" like this
 

 
but don't set it on your childs. I've not tried this... for some reason my browser keeps crashing everytime I try run Flex apps in debug mode... dunno why. Just a warning though if you have alot of view stacks... having "creationPolicy" set to "all" will slow your application load time down ( only when it firsts gets initalized then after it's all nice n fast :p )

 
hope this helps ;)
 
On 3/23/06, Colin Wiseley <[EMAIL PROTECTED]> wrote:



Hi, I have a bug that I've noticed with the recent release of Flex 2 Beta 2.  The show event is not being dispatched when an item in a ViewStack becomes visible for the first time.  This problem was not present in Beta 1. 

 
You can use the code below to reproduce the problem.  Run the application in Debug Mode and you'll see that the trace statement does not get displayed until the second time that you click the Forward button.

 
Is there a workaround for this or do I need to wait for Beta 3?  Thanks!
 
 

http://www.adobe.com/2006/mxml
" backgroundColor="#FF">
  
    
  

    
    

  

    
  
 

 
Colin Wiseley 
 --Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

 Visit your group "flexcoders" on the web.  
 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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Closing tab - Eclipse style

2006-03-23 Thread Richard Rodseth
I think the poster wants to implement an interface like Eclipse's
within Flex, and was not commenting on Flex Builder.

- Richard

On 3/23/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
>  Dosn't it do that already?
>
>  I use the tab x's to close each tab.
>
>  Peace, Mike
>
>  PS I am not using the plugin version, standalone.
>
>
> On 3/23/06, engkee <[EMAIL PROTECTED]> wrote:
> >
> > Is there a way to decorate the Flex tabs with a [x] so that one can
> > click on it to close the tab, similar to how it is done in eclipse?
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> >
> > 
>  YAHOO! GROUPS LINKS
> >
> >
> >  Visit your group "flexcoders" on the web.
> >
> >  To unsubscribe from this group, send an email to:
> >   [EMAIL PROTECTED]
> >
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >
> > 
>
>
>
>
> --
> What goes up, does come down.
>
>
>
>  --
>  Flexcoders Mailing List
>  FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>  Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>  
>  YAHOO! GROUPS LINKS
>
>
>  Visit your group "flexcoders" on the web.
>
>  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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> 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: Flex 2: Chart problem

2006-03-23 Thread Doug Lowder
I believe showDataEffect and hideDataEffect are Effect objects, not 
functions.  Try lineEuribor3.showDataEffect.play() and 
lineEuribor3.hideDataEffect.play().


--- In flexcoders@yahoogroups.com, "Torben Nielsen" <[EMAIL PROTECTED]> 
wrote:
>
>  
> 
> Hi,
> 
>  
> 
> I am working on an application with a Line Chart that contains 
various line
> series. I have made some checkboxes which should hide/show the 
different
> line series. Here is the mxml/actionscript for the various 
elements:
> 
>  
> 
> Checkbox:
> 
>  
> 
>  click="changeEuribor();" />
> 
>  
> 
> Chart:
> 
>  
> 
> 
> 
> 
> 
>  displayName="Euribor 3 mese lettera" yField="Euribor3"
> showDataEffect="fadeIn" hideDataEffect="fadeOut">
> 
> 
> 
>  weight="3" alpha="0.8"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> Checkbox click function:
> 
>  
> 
> private function changeEuribor2():void
> 
>  {
> 
> lblTest.text = "event fired";
> 
> if (euribor3.selected == true) {
> 
> if (lineEuribor3.alpha <= 0.1) {
> 
> lineEuribor3.showDataEffect();
> 
> }
> 
> } else if (euribor3.selected == false) {
> 
> lineEuribor3.hideDataEffect() ;
> 
> lblTest.text = "Hide Line";
> 
> }
> 
> }
> 
>  
> 
> Problem:
> 
>  
> 
> When I click on the checkbox I get the following error message:
> 
>  
> 
> TypeError: Error #1006: Call attempted on an object that is not a 
function.
> 
> at EnaCharts/::changeEuribor()
> 
> at EnaCharts/__euribor3_click()
> 
>  
> 
> What am I doing Wrong
> 
>  
> 
> Thanks.
> 
>  
> 
> Torben Nielsen
>







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

<*> 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] Mac Flex developing

2006-03-23 Thread Alisdair Mills



I develop flex 2.0 on a mac with flex builder beta 1 i had a great set up by copying the files from the windows plugin. for me the debug view worked perfectly. For editing i used the oxygen plugin as the flex builder one for mxml crashed eclipse and the AS editor had a cursor that jumped around the page as you typed... not workable at all. I used the xsd from flex 1.0 and updated the namespace to get code completion with oxygen for mxml.with beta 2 copying the files across doesn't do anything to my eclipse. it just ignores them completely... so i've had to set up an ant build to run mxmlc... a real pain because i've lost error checking on save and more importantly mxmlc takes 10-15 seconds from the command line.. but only took about 1 second from flex builder with beta 1. no idea why it takes so much longer.for traces i would advise using the debug player and setting it up so traces are written to a text file (by creating an mm.cfg file). There is an eclipse plugin called flash log from paul spitzer - which outputs the contents of this file to an eclipse panel. paul's website is no longer online... feel free to email me offlist if anyone wants me to send them the plugin.so developing flex on a mac is a bit of a pain... but i still love it (flex and the mac).cheers, AlOn 23 Mar 2006, at 20:09, Richard Leggett wrote:   I didn't see whether you specified 1.X or 2.0, and I'm sure someone else will be better able to speak about Flex 1.X, but I might be able to offer some insights for Flex 2.0.   I'm a PC guy myself but my colleague is currently working on a Mac running Eclipse with the FlexBuilder 2 plug-ins (copied directly from a PC install). Here's what you don't get:    - Debugging ( or run in debug player )   - Therefore trace() - see workaround below  - IDE makes the carat jump around and highlight various things, occaisionally he switches to FDT when it all gets too much  - No MXML highlighting and code completion in MXML documents (if anyone knows the location of the DTD I'm sure you can at least hook up XMLBuddy or something to it to get some sort of highlighting and prompting).  - Errors e.g. "null has no properties" just causes app to stop working   You do get:    - "intellisense"/code completion / look up declaration in AS documents  - Run as release build   Design view I'm not sure on, would have to check, not used much. So in summary, it is workable for now as long as there's a PC guy around to debug if it all gets too much.   I wrote a quick little Logger class and compatible output panel that uses LocalConnection if anyone would like it, very simple but it might save you 5 mins and it's better to have some sort of trace than none at all if you must use a Mac ;)   Also tried running Eclipse in VirtualPC, as you'd expect no good even on the fastest Macs, if anyone has any insights into running Darwine on Tiger I'd love to be able to pass it on.   Rich   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan MirandaSent: 23 March 2006 19:34To: flexcoders@yahoogroups.comSubject: [flexcoders] Mac Flex developing  Just curious, how and if there are differences with developing Flex on a Mac (the only thing I can foresee is tools limited to Windows environments)._Jonathan MirandaFlexible Master of the Web"Try not to become a man of success, but a man of value." - Albert EinsteinHealthGrades: Guiding America to Better Healthcare™NASDAQ: HGRDw  (720) 963-3832c  (707) 761-0868[EMAIL PROTECTED] _The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee.  If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS  Web site design development  Computer software development  Software design and development  Macromedia flex  Software development best practice YAHOO! GROUPS LINKS  Visit your group "flexcoders" on the web.    To unsubscribe from this group, send an email to: [EMAIL PROTECTED]    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Serv

[flexcoders] Re: Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package

2006-03-23 Thread Vadim Melnik
>>> -include-libraries will force entire SWCs to be linked in.  (And 
Beta 3 will have -include, which will do it for individual 
definitions.)<<<

We can move our classes to external library and it will be 
automatically linked. The reason I've asked this question is that 
in "Flex Library Project", we can control which classes to include 
in SWC file (Properties | Flex Build Path | Classes dialog). But 
default "Flex Project" doesn't provide this tab, and I expect my 
custom classes created in this project will be automatically 
included to the final app SWF. But project classes/components are 
not included till explicitly referenced in application code. (It's 
possible that I missed something, and this functionality is 
available...).


>>> A better path might be to dynamically load another SWF that 
contains the definitions that you want to have "soft" references 
to.<<<

It's interesting idea. But current Flex release doesn't provide good 
external libraries support as for me. Some RSL initialization code 
is statically injected by mxlmlc to the application SWF file during 
compilation process ( binding initialization, remote class 
registration etc). It makes impossible to update library binaries 
without recompilation of application SWF. Each time shared library 
is updated, we need to recompile all applications as well. Also all 
dynamic classes declared in RSL must be explicitly referenced by 
main application,(as otherwise these classes will be loaded without 
initialization). 

For the same reason we are unable to load "unknown" library at 
runtime and dynamically create class without problem (I mean classes 
with complex UI, remoting code etc). 

Ideally it would be better if "compc" stored all initialization 
information in SWC binaries. So loader could access it at runtime 
and automatically initialize external library on demand. Just my 
2c...


--
Thanks,
Vadim Melnik.


> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik
> > Sent: Thursday, March 23, 2006 4:49 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Flex 2.0 b2: 'getClassByName' 
> > method of the 'flash.util' package
> > 
> > Is there some special mxmlc option to prevent optimization, and 
> > force compiler to include all classes from classpath or at least 
> > imported ones (like "import MyClass;") ? I saw "-compiler.keep-
all-
> > type-selectors" option, described as "disables the pruning of 
unused 
> > type selectors (advanced)", but don't clearly understand it 
effect.
> > 
> > --
> > Thanks,
> > Vadim Melnik.
> > 
> > --- In flexcoders@yahoogroups.com, "Peter Farland"  
> > wrote:
> > >
> > > No, you must have a refernence to MyClass somewhere in your 
code in
> > > order for it to be linked in to the SWF at compile time. A 
string
> > > 'myPackage.MyClass' does not constitute a reference. This is 
not a 
> > bug -
> > > the compiler must optimize what classes are actually needed to 
> > keep the
> > > SWF size down.
> > >  
> > > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of tyombria
> > > Sent: Wednesday, March 22, 2006 4:44 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Flex 2.0 b2: 'getClassByName' method of 
the
> > > 'flash.util' package
> > > 
> > > Hi, all.
> > > 
> > > Method 'getClassByName' works correctly only with adobe 
classes.
> > > For example, getClassByName('flash.net.URLLoader') works fine.
> > > 
> > > I've got a problem with my custom classes.
> > > For example:
> > > var myClassReference:MyClass = getClassByName
('myPackage.MyClass');
> > > I get error:
> > > Error #1065: Variable MyClass is not defined.
> > > 
> > > Class exists in classpath or in the library.
> > > 
> > > If i put somewhere inside declaration block: var 
myClass:MyClass It
> > > (getClassByName) works fine.
> > > 
> > > Is it a bug?
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > Yahoo! Groups Links
> > >
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> >
>







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

<*> 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] Fault handling in webservices without a proxy

2006-03-23 Thread Pablo Apanasionek






I've found this page 
on Adobe Forums that describes the 'fault' object that fires up on a faulty 
webservice call. I was particularly interested in the fault.detail and 
fault.type properties to use them in Flex 1.5. However, they seem to be 
undefined when the useProxy='false' setting is used. The fault.faultcode is 
always set to 'Server.Connection'.
 
Is this correct? Is 
there a workaround?
 
Thanks in 
advance,
Pablo Gustavo 
Apanasionek






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Flex 2 Beta 2 ViewStack Bug

2006-03-23 Thread Colin Wiseley











Hi, I have a bug that I’ve noticed with the recent
release of Flex 2 Beta 2.  The show event is not being dispatched when an
item in a ViewStack becomes visible for the first time.  This problem was
not present in Beta 1. 

 

You can use the code below to reproduce the problem.  Run
the application in Debug Mode and you’ll see that the trace statement
does not get displayed until the second time that you click the Forward button.

 

Is there a workaround for this or do I need to wait for Beta
3?  Thanks!

 

 





  

    

  

    

    

  

    

  

 



 

Colin Wiseley 

 












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Mac Flex developing

2006-03-23 Thread Richard Leggett






I didn't see whether you specified 1.X or 2.0, and I'm sure 
someone else will be better able to speak about Flex 1.X, but I might be able to 
offer some insights for Flex 2.0.
 
I'm a PC guy myself but my colleague is currently working 
on a Mac running Eclipse with the FlexBuilder 2 plug-ins (copied directly from a 
PC install). Here's what you don't get:
 
 - Debugging ( or run in debug player 
) 
 - Therefore 
trace() - see workaround below
 - IDE makes the carat jump around and highlight 
various things, occaisionally he switches to FDT when it all gets too 
much
 - No MXML highlighting and code completion in MXML 
documents (if anyone knows the location of the DTD I'm sure you can at least 
hook up XMLBuddy or something to it to get some sort of highlighting and 
prompting).
 - Errors e.g. "null has no properties" just 
causes app to stop working
 
You do get:
 
 - "intellisense"/code completion / look up 
declaration in AS documents
 - Run as release build
 
Design view I'm not sure on, would have to check, not used 
much. So in summary, it is workable for now as long as there's a PC guy around 
to debug if it all gets too much.
 
I wrote a quick little Logger class and compatible output 
panel that uses LocalConnection if anyone would like it, very simple but it 
might save you 5 mins and it's better to have some sort of trace than none 
at all if you must use a Mac ;)
 
Also tried running Eclipse in VirtualPC, as you'd 
expect no good even on the fastest Macs, if anyone has any insights into 
running Darwine on Tiger I'd love to be able to pass it on.
 
Rich


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jonathan 
MirandaSent: 23 March 2006 19:34To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Mac Flex 
developing


Just curious, how and if there are 
differences with developing Flex on a Mac (the only thing I can foresee is tools 
limited to Windows environments).
_
Jonathan 
Miranda
Flexible Master 
of the Web
"Try not to become a man of success, but a man of 
value." - Albert Einstein
HealthGrades: Guiding 
America to Better 
Healthcare™
NASDAQ: HGRD
w  (720) 
963-3832
c  (707) 
761-0868
[EMAIL PROTECTED] 

_
The message contains confidential 
and/or legally privileged information and is intended for use only by the 
indicated addressee.  If you are not the named addressee you should not 
disseminate, distribute, or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. E-mail transmissions cannot be guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed,arrive late or incomplete, or contain viruses. The sender therefore 
does not accept liability for any errors or omissions in the contents of this 
message which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Flex 2: Chart problem

2006-03-23 Thread Torben Nielsen











 

Hi,

 

I am
working on an application with a Line Chart that contains various line series. I have made some checkboxes which
should hide/show the different line series. Here is the mxml/actionscript for
the various elements:

 

Checkbox:

 



 

Chart:

 



   


   
    

   
    

   
        

   
        

   
    

    





 

Checkbox
click function:

 

private
function changeEuribor2():void

 {

lblTest.text = "event fired";

  
 if (euribor3.selected == true) {

  
     if
(lineEuribor3.alpha <= 0.1) {

  
         lineEuribor3.showDataEffect();

  
     }

  
 } else if (euribor3.selected == false) {

  
     lineEuribor3.hideDataEffect()
;

  
     lblTest.text
= "Hide Line";


   }

}

 

Problem:

 

When
I click on the checkbox I get the following error message:

 

TypeError:
Error #1006: Call attempted on an object that is not a function.

    at
EnaCharts/::changeEuribor()

    at
EnaCharts/__euribor3_click()

 

What
am I doing Wrong

 

Thanks.

 

Torben
Nielsen












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Closing tab - Eclipse style

2006-03-23 Thread Michael Schmalle



Dosn't it do that already?

I use the tab x's to close each tab.

Peace, Mike

PS I am not using the plugin version, standalone.On 3/23/06, engkee <[EMAIL PROTECTED]> wrote:



Is there a way to decorate the Flex tabs with a [x] so that one can 
click on it to close the tab, similar to how it is done in eclipse?











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

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






  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




  









-- What goes up, does come down.






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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] AS3 :: Interface type verses Concrete type return

2006-03-23 Thread Michael Schmalle



Scott,

Yeah I totally get what your saying. I think when I was talking with
roger I had mentioned that I wanted to access like getItemAt() through
the ArrayCollection but, if it was used as a public or passed, I would
want the client to use the IViewCursor interface.

My reasoning is that for internal manipulation of what I want to a
complish, it was esier to use ArrayCollection's public api. I know I
could use IViewCursor but, it ends up being a lot more code to
accomplish simple things that I need.

Maybe with this scenario, it comes down to personal preference? ;-)

PS, yeah I really didn't need a Strategy implementation with what I was
trying to accomplish. The ArrayCollection is always going to be an
ArrayCollection.

Peace, MikeOn 3/23/06, Scott Langeberg <[EMAIL PROTECTED]> wrote:



I'm not sure if this is what you're looking for, but this is what i'm trying to illustrate:Class A {    var collection:ICollectionView   function setCollection(newCollection:ICollectionView) {   collection = newCollection;
   }}In this case, an instance of A can
change its collection implementation at runtime, as long as that
implementation is from ICollectionView. This may be unapplicable in
your case, but this approach is very flexible in OOP. For instance, in
the Strategy pattern, an object is able to change its behaviors at
runtime, based on the behavior object(s) it contains internally. Scott
On 3/23/06, Michael Schmalle <
[EMAIL PROTECTED]> wrote:



Thanks Scott,

The question was really aimed at ArrayCollection, so internally I type
it as ArrayCollection and if say a public methods returns it, I would
use ICollectionView, then this as you said allows me to swap behaviors
in the client class.

Peace, MikeOn 3/23/06, Scott Langeberg <

[EMAIL PROTECTED]> wrote:





2 pc: If you ever want to swap behaviors internally at runtime, use interfaces: : ) Scott


On 3/17/06, Michael Schmalle <
[EMAIL PROTECTED]> wrote:


Thanks roger,

That answers my question exactly! :)

This is how I program, so that makes me happy. Sometimes intuition of feeling goes along way with oop.

Peace, MikeOn 3/17/06, Roger Gonzalez <



[EMAIL PROTECTED]> wrote:







My rules of thumb:

  
  When passed in from the outside, use an interface.  There's 
  generally no reason to bake in a dependency to a particular implementation, 
  whereas adding a concrete type reference will make it strongly coupled; 
  whenever your class is compiled, it will always force the other type to be 
  linked in (ka-ching!).  If using the interface feels awkward, there's 
  probably a "thinko" in your (or our) design 
  abstraction.
  
  When used internally, can you imagine any situation where you might use 
  a different implemetation?  If not, use a concrete 
  type.
-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael 
  SchmalleSent: Friday, March 17, 2006 6:05 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] AS3 :: Interface 
  type verses Concrete type return
  Hello,The question I have is what is the general concensus 
  dealing with how you pass and type a property.Would you type a 
  property with a concerte type if it is used internally in a class ?Or 
  with say ArrayCollection, you need to type it IListViewCollection?I 
  guess the real question is, where is the line between interface implementation 
  and concrete implementation?It's a lot easier to use the getItemAt() 
  of array collection then the cursor internally sometimes, but for a returned 
  type I do understand that you want to hide that by using the interface of 
  ArrayCollection's  IListViewCollection. If I keep the 
  interface type this is forcing the client to use the IViewCursor 
  right?Now, is this the standard practice the methods like getItemAt() 
  are only supposed to be used by the objects owner not a client?I'm 
  just trying to nail standard practices here.This question really 
  pertains to the ArrayCollection for me right now. Peace, 
  MikePS Yes, program to an interface not to an implementation. Sorry if 
  this post might not be clear. I am having a hard time explaing what my true 
  question is :)-- What goes up, does come down. 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt





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













  
  
SPONSORED LINKS
  
  
  






Web site design development
  
  





Computer software development
  
  





Software design and development
  
  







Macromedia flex
  
  





Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders
" on the web.
 


   To unsubscribe from th

Re: [flexcoders] Re: Flex Beta 2 - Loader not loading SWF 100%

2006-03-23 Thread Bruno Martins



Hi,
 
I know about this listener problem but I'll try other solution as soon as possible...
 
Tks 
On 3/23/06, inawire <[EMAIL PROTECTED]> wrote:

Thanks Bruno and Doug, This is on the right track (though I still do not know why this worked in beta 1 with out all this extra code). Bruno, your code worked for me fine (flex 2 version of Doug's idea).
When I load my inner app, the content resizes perfectly (see inner app below).The only trouble I am having now it a basic problem that anyone could probably help me with. The event listener for the 'resize' is still 
being called from the shell when I try to load a second inner app. I have been trying to use removeListener but do not seam to find an event that lets me know when the first inner app is being removed (or 
unloaded). I have tried to call unload() on the instance of the Loader app in the shell app and keep getting the error'Call to a possibly undefined method 'unLoad' through a reference with static type 'mx.controls:Loader
'Is there an event I can make the inner app listen for that tells me that it is being removed  when I load a new inner app (or is it being removed)?Thanks RossP.S. Bruno, as for your question, using your code and the fact that my 
inner apps scale using the layout anchors, I did not have to talk to the inner app from the shell app. I have tried using the LoaderInstanceName.content.propertyInInnerApp and I can not get around the same compliler error as stated above.
Thanks for your help.Code for sample inner app the resizes to fit==http://www.adobe.com/2006/mxml" mlns="*"    layout="absolute" width="100%" height="100%" 
creationComplete="initApp();"paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0"  >  import flash.util.trace;

    private function resizeLoader(event:Event = null):void  {    width = parent.parent.parent.width;    height = parent.parent.parent.height;  }
  
  public function unLoader():void  {    trace('unLoader called')    parent.parent.parent.removeEventListener("resize", resizeLoader);
  }       private function initApp():void  {     resizeLoader();    parent.parent.parent.addEventListener("resize", resizeLoader);
  }

      

--- In flexcoders@yahoogroups.com, "Bruno Martins" <[EMAIL PROTECTED]> wrote:
>
> Hi,> > I did a poor solution to this problem but I believe that is a start to solve> the problem:> > I put the following code in the application that will be loaded:
> >  private function resizeLoader(event:Event = null):void>  {>   width = parent.parent.parent.width;>   height = parent.parent.parent.height;>  }
> >  private function initApp():void{>  resizeLoader();>  parent.parent.parent.addEventListener("resize", resizeLoader);>   }> > onCreationComplete execute the initApp()...
> > I try to create a AppLoader component extend the loader and adjust the> content after the complete event but I don't know how to access the content> proprieties, if some one know how to change the content properties 
please> let me know...> > Tks...> 
> On 3/22/06, Doug Lowder <[EMAIL PROTECTED]> wrote:> >> > I know in 1.5 the trick was to provide the loaded (inner) app with
> > getPreferredHeight() and getPreferredWidth() functions; may be worth a> > try in your case if you are able to modify the code for the loaded> > apps.  In AS2, it was:> >
> > function getPreferredHeight() {> > return _parent? _parent.layoutHeight : super.getPreferredHeight();> > }> >> > function getPreferredWidth() {> > return _parent? _parent.layoutWidth : 
super.getPreferredWidth();> >> > }> >> > --- In flexcoders@yahoogroups.com
, "inawire"  wrote:> > >> > > With further testing, the loaded (inner) app (application.width) is> > > scailing to the correct size on initial load. When the outer 
shell> > > resizes, the inner app resize does not get called (it does when it> > > runs on its own).> > >> > > Also when the inner app first loads, thought the inner app is 
showing> > > the correct width available, the inner content does not scale to> > > fit available size of the inner app.> > >> > > Does anyone have any ideas?> > >
> > > Ross> > >> > >> > >> > >> > > --- In 
flexcoders@yahoogroups.com, "Bruno Martins"  wrote:> > > >> > > > I had the same problem, but I don't fix yet.> > > >> > > > On 3/21/06, inawire  wrote:
> > > > >> > > > > Hi> > > > >> > > > > I just converted my app to Beta 2. Ran the conversion scripts,> > > switch> > > > > layout constraintes, changed LinkBar click to itemClick 
(that got> > > > > me),worked through some new warnings that were not present before.> > > > > Everything works fine now ... but (always a but)> > > > >
> > > > > I'm loading other Flex apps into a shell Flex app. I had the> > > loaded> > > > > apps expanding to fill 100% of the available space. The shell app> > > has
> > > > > a top control panel, a bottom status bar an

RE: [flexcoders] Extending MXML components (change from 1.5 to 2)

2006-03-23 Thread Tony Pujals











Thank you very much for the response –
you have no idea how timely it is for us internally. I’ve been a strong
advocate for Flex 2. Unfortunately, I can’t say more on a public list,
but I would be very interested in having a private dialog about some of the barriers
that are affecting our direction.

 

Best regards,

 

Tony

 



 

 

tony pujals| senior engineer | Yahoo!
SiteBuilder Express

p. 408.349.6284 | e. tonyp * yahoo-inc * com | y!id tonypujals

 



 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Basil Hosmer
Sent: Thursday, March 23, 2006
6:48 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Extending MXML components (change from 1.5 to 2)



 



Tony,

 

Yes, we absolutely intend to continue supporting extending MXML
with MXML, with the constraint that only one set of children be specified
anywhere in the chain of derived components or the component instantiation. 

 

What you’re seeing is a bug in beta 2 – the framework
incorrectly raises the “multiple sets of children in base and derived
components” error in cases where the superclass (A.mxml in your example)
in fact has no children.

 

This will be fixed for beta 3; the workaround in beta 2 is to
insert the following  code into the superclass, e.g. A.mxml:

 



/**

 * 
This namespace is used for undocumented APIs -- usually implementation

 * 
details -- which can't be private because they need to visible

 * 
to other classes.

 * 
APIs in this namespace are completely unsupported and are likely to

 * 
change in future versions of Flex.

 */

namespace
mx_internal = "http://www.adobe.com/2006/flex/mx/internal";

 

override
mx_internal function
setDocumentDescriptor(desc:mx.core.UIComponentDescriptor):void

{

  
if (mx_internal::_documentDescriptor &&
mx_internal::_documentDescriptor.properties.childDescriptors)

  
{

 
if (desc.properties.childDescriptors)

 
{


throw new Error("Multiple sets of visual children have been specified for
this component (base component definition and derived component
definition).");

 
}

  
}

  
else

  
{

 
mx_internal::_documentDescriptor = desc;

 
mx_internal::_documentDescriptor.document = this;

  
}

}



 

Basil

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Tony Pujals
Sent: Wednesday, March 22, 2006
6:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Extending
MXML components (change from 1.5 to 2)



 



In Flex 1.5,
you could create an MXML component and then extend it with another custom
component. For example, this would work:

 



A.mxml









 

 



B.mxml





   




 

 



Test.mxml





   




 

 

 

 

How was this
useful? Well, for example, for an HTML page editor, we had an Element.mxml
component subclassed by ImageElement.mxml and TextElement.mxml.

 

This does not
work with any of the Flex 2 alpha/betas. Flash 8.5 displays this diagnostic:

 

Error:
Multiple sets of visual children have been specified for this component (base
component definition and derived component definition)

   
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::setDocumentDescriptor()

   
at A/initialize()

   
at B/initialize()

   
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::rawChildAdded()

   
at mx.core::UIComponent/addChildAt()

   
at mx.core::Container/addChild()

   
at mx.core::Container/createComponentFromDescriptor()

   
at mx.core::Container/createComponentsFromDescriptors()

   
at mx.core::Application/createComponentsFromDescriptors()

   
at mx.core::Container/mx.core:Container::createChildren()

   
at mx.core::UIComponent/initialize()

   
at mx.core::Container/initialize()

   
at mx.core::Application/initialize()

   
at flextest/initialize()

   
at mx.managers::SystemManager/::initializeChild()

   
at mx.managers::SystemManager/::initializeTopLevelWindow()

   
at mx.managers::SystemManager/::frameEndHandler()

 

 

 

It’s
not that the error message isn’t clear, per se, but since this is
different behavior, I’m curious …. Can you only extend mx
components but not you’re own, or this only possible with ActionScript
components and not mxml….?

 

Thanks,

 

Tony

 

 

tony pujals| senior engineer | Yahoo! SiteBuilder Express

p. 408.349.6284 | e. tonyp
* yahoo-inc * com | y!id tonypujals

 

 



 














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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from 

[flexcoders] Mac Flex developing

2006-03-23 Thread Jonathan Miranda











Just curious, how and if there are differences with
developing Flex on a Mac (the only thing I can foresee is tools limited to
Windows environments).

_

Jonathan Miranda

Flexible Master of
the Web

"Try not to become a
man of success, but a man of value." - Albert Einstein

HealthGrades:
Guiding America
to Better Healthcare™

NASDAQ: HGRD

w  (720) 963-3832

c  (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee.  If you
are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.

 












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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] AS3 :: Interface type verses Concrete type return

2006-03-23 Thread Scott Langeberg



I'm not sure if this is what you're looking for, but this is what i'm trying to illustrate:Class A {    var collection:ICollectionView   function setCollection(newCollection:ICollectionView) {   collection = newCollection;
   }}In this case, an instance of A can change its collection implementation at runtime, as long as that implementation is from ICollectionView. This may be unapplicable in your case, but this approach is very flexible in OOP. For instance, in the Strategy pattern, an object is able to change its behaviors at runtime, based on the behavior object(s) it contains internally. 
ScottOn 3/23/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:



Thanks Scott,

The question was really aimed at ArrayCollection, so internally I type
it as ArrayCollection and if say a public methods returns it, I would
use ICollectionView, then this as you said allows me to swap behaviors
in the client class.

Peace, MikeOn 3/23/06, Scott Langeberg <
[EMAIL PROTECTED]> wrote:




2 pc: If you ever want to swap behaviors internally at runtime, use interfaces: : ) Scott

On 3/17/06, Michael Schmalle <
[EMAIL PROTECTED]> wrote:


Thanks roger,

That answers my question exactly! :)

This is how I program, so that makes me happy. Sometimes intuition of feeling goes along way with oop.

Peace, MikeOn 3/17/06, Roger Gonzalez <


[EMAIL PROTECTED]> wrote:







My rules of thumb:

  
  When passed in from the outside, use an interface.  There's 
  generally no reason to bake in a dependency to a particular implementation, 
  whereas adding a concrete type reference will make it strongly coupled; 
  whenever your class is compiled, it will always force the other type to be 
  linked in (ka-ching!).  If using the interface feels awkward, there's 
  probably a "thinko" in your (or our) design 
  abstraction.
  
  When used internally, can you imagine any situation where you might use 
  a different implemetation?  If not, use a concrete 
  type.
-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael 
  SchmalleSent: Friday, March 17, 2006 6:05 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] AS3 :: Interface 
  type verses Concrete type return
  Hello,The question I have is what is the general concensus 
  dealing with how you pass and type a property.Would you type a 
  property with a concerte type if it is used internally in a class ?Or 
  with say ArrayCollection, you need to type it IListViewCollection?I 
  guess the real question is, where is the line between interface implementation 
  and concrete implementation?It's a lot easier to use the getItemAt() 
  of array collection then the cursor internally sometimes, but for a returned 
  type I do understand that you want to hide that by using the interface of 
  ArrayCollection's  IListViewCollection. If I keep the 
  interface type this is forcing the client to use the IViewCursor 
  right?Now, is this the standard practice the methods like getItemAt() 
  are only supposed to be used by the objects owner not a client?I'm 
  just trying to nail standard practices here.This question really 
  pertains to the ArrayCollection for me right now. Peace, 
  MikePS Yes, program to an interface not to an implementation. Sorry if 
  this post might not be clear. I am having a hard time explaing what my true 
  question is :)-- What goes up, does come down. 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt




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












  
  
SPONSORED LINKS
  
  
  





Web site design development
  
  




Computer software development
  
  




Software design and development
  
  






Macromedia flex
  
  




Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web.
 


   To unsubscribe from this group, send an email to: 



[EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service


.




  








-- What goes up, does come down.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt



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











  
  
SPONSORED LINKS
  
  
  




Web site design development
  
  



Computer software development
  
  



Software design and development
  
  





Macromedia flex
  
  



Software development best practice
  

 

Re: [flexcoders] Headers of Panel in Flex 2 Similar to Flex 1.5

2006-03-23 Thread Scott Langeberg



Thanks so much. That's what I've been looking for, for some time!!ScottOn 3/23/06, jeremy lu <[EMAIL PROTECTED]
> wrote:


hi scott, extends Panel/TitleWindow then use following code:

this.titleBar.addEventListener("mouseDown", onMouseDown);

you can pretty much do anything you like to titleBar.

jeremy.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

   To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
.



  








-- : : ) Scott






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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] CairngormLogin sample on Flex 2.0 beta 2

2006-03-23 Thread Oriol Gual



Hi William, I asked the same thing few posts earlier, just look for "Cairngorm beta release?" or click hereOriol.
2006/3/23, William Lambé <[EMAIL PROTECTED]>:











Hello everybody, 

 

I am trying to use Cairngorm 2.0 with the new Flex
2.0 beta 2.  And for that, I am trying to run the CairngormLogin sample. I
changed some things that happen between beta 1 and beta 2 of Flex 2.0, but I
have still a Problem : 

 

To the line «  » in CairngormLogin.mxml,  I have this problem : 

 

« Implicit coercion of a value with static type 'mx.core :UIComponent'
to a possibly unrelated type 'mx.core :Container' »

 

Is someone can explain to me what does it mean ?

 

William.












--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

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






  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

   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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Closing tab - Eclipse style

2006-03-23 Thread engkee
Is there a way to decorate the Flex tabs with a [x] so that one can 
click on it to close the tab, similar to how it is done in eclipse?







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

<*> 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] Bug in list.selectedIndices

2006-03-23 Thread Tobias Patton











Just a quick note to Adobe:

 

I reported a bug in Flex 2 Beta 1 where the selectedIndices
property of a list control would not contain the correct values if the user
selected multiple entries using the shift key. The problems is still in Beta 2.

 

Thanks.

Tobias.

 

Creo Inc., a subsidiary of Kodak

Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 

 












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Re: Saving object graphs

2006-03-23 Thread Peter Farland
It is intended behavior and it's not an error (although a common one). If you 
don't create a reference to the class the optimizer won't keep it in the swf. 
If you didn't do this then each SWF would contain every class in the classpath 
- this is not good. An import doesn't guarantee the class will be used.

Note that you don't need to make it bindable nor public nor does it necessarily 
have to be a variable to create a reference... also, I'd suggest making it 
static if you don't have a legitimate place in your API to create a reference 
to the class so that it doesn't effect every instance of the component (well, 
if it's on the top level Application this isn't as important).

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
pepe_perez_perez_perez
Sent: Thursday, March 23, 2006 12:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Saving object graphs

> Can you try adding a reference to the Book type in your code 
> somewhere...

[Bindable]
public var book : Book = new Book();

And, ¡bingo!, works perfectly. I don't know why I don't ask for help before. 
Have been with this 3 days.

If that is the intended behaviour I'd report that as an error.

Another problem now is that the Books are losing the backreference to Library 
but I'd send another message if I could not solve it by myself.

Thanks a lot,

Pepe.







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



 





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

<*> 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] Flash custom components in Flex 2

2006-03-23 Thread Roger Gonzalez






Hi... due to changes between the virtual machines in Flash Player 8 and 
8.5, there is no cross-compatibility with scripting between the two 
versions.
 
Until the new AS3-based version of Flash Authoring comes out, we are 
only supporting a workflow based on non-scripted assets.  You basically 
will create individual assets in Flash 8, export them in the library with a 
unique name, and then use Embed in Flex 2 to pull them in.  All scripting 
needs to be done on the Flex side.  You can either use var-level Embed to 
have an AS3 class for your asset created for you, or you can use class-level 
Embed on an appropriate class for the particular asset type you want to 
use.
 
See the docs on skinning for more details.
 
-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan 
  BezuidenhoutSent: Thursday, March 23, 2006 6:58 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Flash custom 
  components in Flex 2
  Hi everyone,In the Flex 1.5 docs there was a section on 
  how to make a custom component in Flash and how to export it etc for use in 
  Flex.  I have noticed that this content is missing from the new Flex 2 
  docs.Is this not encouraged anymore or have they just not been 
  included?I have tried to make a swc component using the directions in 
  the old docs.  I am not very good with Flash at all - but here is 
  what I did: I am trying something simple - I create a graphic in Flash 
  - in the library, I make the graphic to be a component called Navigator and I 
  have an associated .as class file like this:class Navigator extends 
  mx.core.UIComponent {    static var 
  symbolName:String="Navigator";    static var 
  symbolOwner:Object="Navigator";    var 
  className:String="Navigator";    function Navigator() 
  {        }    
  function init() {        
  super.init();        
  invalidate();    }}I then export this as a swc 
  and call it Navigator.swc.  I place this swc file in the root of my app - 
  the same place where the mxml files are.  In my main.mxml I then try and 
  instantiate it as The Flex Builder compiler then 
  says 'Could not resolve  to be a component 
  implementation.Do I need to do anything else?The end result 
  needs (I guess once I have the basic thing above working) is to have a graphic 
  with a bunch of objects of different shapes that are actually buttons - but 
  they do not look like buttons - they have irregualr edges and I need to be 
  able to disable/enable them from Flex and monitor in Flex when they get 
  clicked etc. Any idea as to where I am going 
  wrong?ThanksJonathan






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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Cannot print text in chart running on linux server, urgent!

2006-03-23 Thread wujunjr
Hi, everyone,

I'm dying...
It's our local time 3:00 a.m.
It is the first time for us to depoy the flex 1.5 code to linux server. 
As the result, all the text in the chart cannot be printed at all using 
flex "print" function while it's ok in windows, and there are many 
display features different with in windows.

Maybe it is due to AWT's poor graphic function? There is no graphic 
card on the linux server. Anyway, I have never realized that before.

Could anyone kindly help me?

Thanks a lot!!!





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

<*> 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 2.0 b2: 'getClassByName' method of the 'flash.util' package

2006-03-23 Thread Roger Gonzalez
-include-libraries will force entire SWCs to be linked in.  (And Beta 3
will have -include, which will do it for individual definitions.)

A better path might be to dynamically load another SWF that contains the
definitions that you want to have "soft" references to.

-rg 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik
> Sent: Thursday, March 23, 2006 4:49 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex 2.0 b2: 'getClassByName' 
> method of the 'flash.util' package
> 
> Is there some special mxmlc option to prevent optimization, and 
> force compiler to include all classes from classpath or at least 
> imported ones (like "import MyClass;") ? I saw "-compiler.keep-all-
> type-selectors" option, described as "disables the pruning of unused 
> type selectors (advanced)", but don't clearly understand it effect.
> 
> --
> Thanks,
> Vadim Melnik.
> 
> --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> 
> wrote:
> >
> > No, you must have a refernence to MyClass somewhere in your code in
> > order for it to be linked in to the SWF at compile time. A string
> > 'myPackage.MyClass' does not constitute a reference. This is not a 
> bug -
> > the compiler must optimize what classes are actually needed to 
> keep the
> > SWF size down.
> >  
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of tyombria
> > Sent: Wednesday, March 22, 2006 4:44 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Flex 2.0 b2: 'getClassByName' method of the
> > 'flash.util' package
> > 
> > Hi, all.
> > 
> > Method 'getClassByName' works correctly only with adobe classes.
> > For example, getClassByName('flash.net.URLLoader') works fine.
> > 
> > I've got a problem with my custom classes.
> > For example:
> > var myClassReference:MyClass = getClassByName('myPackage.MyClass');
> > I get error:
> > Error #1065: Variable MyClass is not defined.
> > 
> > Class exists in classpath or in the library.
> > 
> > If i put somewhere inside declaration block: var myClass:MyClass It
> > (getClassByName) works fine.
> > 
> > Is it a bug?
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


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

<*> 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] How to create new custom Style in custom component?

2006-03-23 Thread Stephen Gilson
That will work for Flex 2.0 only.

Stephen 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stanislav Zayarsky
Sent: Thursday, March 23, 2006 12:13 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to create new custom Style in custom
component?

Thanks Stephen, I suppose it will work with Flex 1.5 too?

Best regards
Stanislav

On 3/23/06, Stanislav Zayarsky <[EMAIL PROTECTED]> wrote:
> Thanks Anatole, This helps!
>
> Best regards
> Stanislav
>
> On 3/23/06, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:
> >
> > I believe the simplest way is to look in the generated code - it 
> > gives you the better understanding on both code and timing. The code

> > would go like
> > this:
> > ..
> > var style:CSSStyleDeclaration;
> > style =
> > StyleManager.getStyleDeclaration(".yourStyleName");
> > if (!style)  {
> >  style = new CSSStyleDeclaration();
> >  StyleManager.setStyleDeclaration(".yourStyleName",
> > style, false);
> > }
> > if (style.factory == null)
> > {
> >  style.factory = function():void
> >  {
> >   this.paddingBottom = 0;
> >   this.paddingTop = 0;
> >  };
> > }
> >
> >
> > Hope this helps,
> > Anatole Tartakovsky
> >
> >
> > - Original Message -
> > From: Stanislav Zayarsky
> > To: flexcoders@yahoogroups.com
> > Sent: Thursday, March 23, 2006 11:29 AM
> > Subject: [flexcoders] How to create new custom Style in custom
component?
> >
> > Hi FlexCoders,
> >
> > I'm wondering how I can create new custom style in my ActionScript 
> > Component? And how to use it with StyleManager?
> >
> > Can anybody point me to documentation where this topic is described?
> >
> > Best regards
> > Stanislav
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ:
> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> > 
> > YAHOO! GROUPS LINKS
> >
> >  Visit your group "flexcoders" on the web.
> >
> >  To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> >
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
> >  To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> >
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
> > 
> >
> >
> >
> > - Original Message -
> > From: Stanislav Zayarsky
> > To: flexcoders@yahoogroups.com
> > Sent: Thursday, March 23, 2006 11:29 AM
> > Subject: [flexcoders] How to create new custom Style in custom
component?
> >
> > Hi FlexCoders,
> >
> > I'm wondering how I can create new custom style in my ActionScript 
> > Component? And how to use it with StyleManager?
> >
> > Can anybody point me to documentation where this topic is described?
> >
> > Best regards
> > Stanislav
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ:
> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> > 
> > YAHOO! GROUPS LINKS
> >
> >  Visit your group "flexcoders" on the web.
> >
> >  To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> >
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
> >  To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> >
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
> > 
> >
>


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



 




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

<*> 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: How to hide backMonthButton and fwdMonthButton of DateChooser Control?

2006-03-23 Thread Gordon Smith
Hmmm... these properties are no longer public, but you could always use
geChildAt() to get references to anything to want inside a component. It
looks like they'd be getChildAt(10) and getChildAt(11).

- Gordon

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexhtoo
Sent: Thursday, March 23, 2006 12:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How to hide backMonthButton and fwdMonthButton
of DateChooser Control?

--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> In Beta 2, try
> 
> 
> 
> - Gordon
> 
> 


Thanks Gordon for your reply.

It get work in Beta 1. Do you know New Flex Beta 2 come out? I
wanna know for Beta 2. 

In Beta 2, there are problems message:
Access of undefined property 'backMonthButton'
Access of undefined property 'fwdMonthButton'.


http://labs.macromedia.com/wiki/index.php/Flex:Beta_1_to_Beta_2_Changes#
Changes_to_the_mx.controls_Package

Thanks.


> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of flexhtoo
> Sent: Wednesday, March 22, 2006 10:04 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How to hide backMonthButton and fwdMonthButton
of
> DateChooser Control?
> 
> I want to konw how to hide backMonthButton and fwdMonthButton of
> DateChooser in Flex Beta 2.
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>





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



 





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

<*> 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: TitleWindow lost focus on startup

2006-03-23 Thread Doug Lowder
A more appropriate page title would probably be in order, too.  ;)


--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> I did quite a bit of investigation on this, including Jester's 
take 
> on the problem over on his site.  The root of the problem is that 
> the browser does not automatically give the Flash player focus 
when 
> the page loads.  For Internet Explorer, there is a way to 
accomplish 
> this through Javascript.  As far as I know, Mozilla browsers do 
not 
> allow setting the focus to a plugin via Javascript.
> 
> Here is html that you can use as a wrapper to set the focus to a 
> Flash app on startup.  Just set the mxmlname and url variables 
> approiately for your case and browse to the html page instead of 
> your mxml app.
> 
> 
> 
> AboveNet Customer Portal
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "xithor"  wrote:
> >
> > I have a TitleWindow set to popup at the startup of my 
> application. I use this window at 
> > other points in the program with absolutely no problems. But 
when 
> it's called on startup 
> > using the 'initialize' event on my main canvas, it opens the 
> popup, and it functions fairly 
> > normally, but A: does not obtain focus automatically, B: does 
not 
> capture tab key presses.
> > 
> > The loginWin TitleWindow is set to setFocus() on one of the text 
> input boxes... It highlights 
> > it in blue, but when you type, the text doesn't go into it, 
unless 
> you manually click in teh 
> > box.
> > 
> > Then if I hit tab, it tabs through the items in my main canvas, 
vs 
> tabbing through items in 
> > the popup.
> > 
> > I'm guessing this is somehow related to the window loading 
before 
> the main components 
> > are finished initializing, but I'm not sure how to get around 
> this. I've tried all sorts of tips 
> > and tricks, but still can't get it to work.
> > 
> > Any suggestions would be appreciated. Code snippits below:
> > 
> > 
> > 
> > Main Canvas:
> > 
> >  initialize="startUp();">
> > 
> > 
> > loginWin definition:
> > 
> > var loginWin:Object;
> > 
> > 
> > startUp() function:
> > 
> > function startUp() {
> > loginWin=TitleWindow(PopUpManager.createPopUp
> (mainCanvas, loginBox , 
> > true));
> > loginWin.mainApp = this;
> > loginWin.centerPopUp();
> > }
> >
>







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

<*> 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] Where is the IncludeLayout

2006-03-23 Thread Benoit Hediard
This property is "includeInLayout" (one of the best addition in beta1!).

Benoit Hediard 

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de mvbaffa
Envoyé : jeudi 23 mars 2006 16:06
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Where is the IncludeLayout

Hi all,

Flex 2 beta 1 had a property, includeLayout, that relased the screen space
of invisible components.

I could not find it in Beta 2. Does anyone knows what is the new name os
includeLayout.

Thanks in advance





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



 







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

<*> 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: TitleWindow lost focus on startup

2006-03-23 Thread Doug Lowder
I did quite a bit of investigation on this, including Jester's take 
on the problem over on his site.  The root of the problem is that 
the browser does not automatically give the Flash player focus when 
the page loads.  For Internet Explorer, there is a way to accomplish 
this through Javascript.  As far as I know, Mozilla browsers do not 
allow setting the focus to a plugin via Javascript.

Here is html that you can use as a wrapper to set the focus to a 
Flash app on startup.  Just set the mxmlname and url variables 
approiately for your case and browse to the html page instead of 
your mxml app.



AboveNet Customer Portal









--- In flexcoders@yahoogroups.com, "xithor" <[EMAIL PROTECTED]> wrote:
>
> I have a TitleWindow set to popup at the startup of my 
application. I use this window at 
> other points in the program with absolutely no problems. But when 
it's called on startup 
> using the 'initialize' event on my main canvas, it opens the 
popup, and it functions fairly 
> normally, but A: does not obtain focus automatically, B: does not 
capture tab key presses.
> 
> The loginWin TitleWindow is set to setFocus() on one of the text 
input boxes... It highlights 
> it in blue, but when you type, the text doesn't go into it, unless 
you manually click in teh 
> box.
> 
> Then if I hit tab, it tabs through the items in my main canvas, vs 
tabbing through items in 
> the popup.
> 
> I'm guessing this is somehow related to the window loading before 
the main components 
> are finished initializing, but I'm not sure how to get around 
this. I've tried all sorts of tips 
> and tricks, but still can't get it to work.
> 
> Any suggestions would be appreciated. Code snippits below:
> 
> 
> 
> Main Canvas:
> 
> 
> 
> 
> loginWin definition:
> 
> var loginWin:Object;
> 
> 
> startUp() function:
> 
> function startUp() {
> loginWin=TitleWindow(PopUpManager.createPopUp
(mainCanvas, loginBox , 
> true));
> loginWin.mainApp = this;
> loginWin.centerPopUp();
> }
>







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

<*> 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 enumerate ApplicationDomain classes?

2006-03-23 Thread Vadim Melnik
Hi All,

ApplicationDomain provides getClass(getDefinition??) method to 
retrieve class definition. Is it possible to enumerate all available 
class definitions or class names loaded by certain application domain 
at runtime from AS code?

--
Thanks,
Vadim Melnik.





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

<*> 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] AS3 :: Interface type verses Concrete type return

2006-03-23 Thread Michael Schmalle



Thanks Scott,

The question was really aimed at ArrayCollection, so internally I type
it as ArrayCollection and if say a public methods returns it, I would
use ICollectionView, then this as you said allows me to swap behaviors
in the client class.

Peace, MikeOn 3/23/06, Scott Langeberg <[EMAIL PROTECTED]> wrote:



2 pc: If you ever want to swap behaviors internally at runtime, use interfaces: : ) Scott
On 3/17/06, Michael Schmalle <
[EMAIL PROTECTED]> wrote:


Thanks roger,

That answers my question exactly! :)

This is how I program, so that makes me happy. Sometimes intuition of feeling goes along way with oop.

Peace, MikeOn 3/17/06, Roger Gonzalez <

[EMAIL PROTECTED]> wrote:







My rules of thumb:

  
  When passed in from the outside, use an interface.  There's 
  generally no reason to bake in a dependency to a particular implementation, 
  whereas adding a concrete type reference will make it strongly coupled; 
  whenever your class is compiled, it will always force the other type to be 
  linked in (ka-ching!).  If using the interface feels awkward, there's 
  probably a "thinko" in your (or our) design 
  abstraction.
  
  When used internally, can you imagine any situation where you might use 
  a different implemetation?  If not, use a concrete 
  type.
-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael 
  SchmalleSent: Friday, March 17, 2006 6:05 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] AS3 :: Interface 
  type verses Concrete type return
  Hello,The question I have is what is the general concensus 
  dealing with how you pass and type a property.Would you type a 
  property with a concerte type if it is used internally in a class ?Or 
  with say ArrayCollection, you need to type it IListViewCollection?I 
  guess the real question is, where is the line between interface implementation 
  and concrete implementation?It's a lot easier to use the getItemAt() 
  of array collection then the cursor internally sometimes, but for a returned 
  type I do understand that you want to hide that by using the interface of 
  ArrayCollection's  IListViewCollection. If I keep the 
  interface type this is forcing the client to use the IViewCursor 
  right?Now, is this the standard practice the methods like getItemAt() 
  are only supposed to be used by the objects owner not a client?I'm 
  just trying to nail standard practices here.This question really 
  pertains to the ArrayCollection for me right now. Peace, 
  MikePS Yes, program to an interface not to an implementation. Sorry if 
  this post might not be clear. I am having a hard time explaing what my true 
  question is :)-- What goes up, does come down. 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt



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











  
  
SPONSORED LINKS
  
  
  




Web site design development
  
  



Computer software development
  
  



Software design and development
  
  





Macromedia flex
  
  



Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 


   To unsubscribe from this group, send an email to: 


[EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service

.




  








-- What goes up, does come down.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt


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










  
  
SPONSORED LINKS
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 


   To unsubscribe from this group, send an email to: 

[EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service

.



  








-- : : ) Scott






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

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






  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Re: dynamically creating a remote object

2006-03-23 Thread Tracy Spratt
I don't know of a specific example.  I would try use the same
methodology and just substitute RemoteObject.  You might find an example
via google.

Is there a very good reason you need to do this?  You do understand that
you can declare a data service in mxml and then manipulate it
programmatically, right?

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of deepu_verma
Sent: Thursday, March 23, 2006 2:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: dynamically creating a remote object

Thanks Tracy, but the example is for web service. Where can I get the
syntax for RemoteObject call.

Thanks
dv
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> This is not supported in 1.5, but is possible to do.
> 
> See this article:
> http://jeff.mxdj.com/calling_a_webservice_purely_through_as.htm
> 
> Tracy
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of deepu_verma
> Sent: Wednesday, March 22, 2006 6:50 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] dynamically creating a remote object
> 
> How can I dynamically create an instance of remote object in flex 1.5
> I am trying the following
> testRemote =
>
mx.core.Application.application.createClassObject(mx.servicetags.RemoteO
> bject,
> "text_mc", 0,
>
{endpoint:"http://dverma01.corp.adobe.com:8300/cfusion/flashservices/gat
> eway/",
>   
> source:"webreqapp.test",result:"testText.text=event.result"});
> mx.core.Application.application.text_mc.test();
> 
> Thanks
> dv
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>







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



 






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

<*> 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] Where is the IncludeLayout

2006-03-23 Thread mvbaffa
Hi all,

Flex 2 beta 1 had a property, includeLayout, that relased the screen 
space of invisible components.

I could not find it in Beta 2. Does anyone knows what is the new name 
os includeLayout.

Thanks in advance





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

<*> 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: Saving object graphs

2006-03-23 Thread pepe_perez_perez_perez
> Can you try adding a reference to the Book
> type in your code somewhere...

[Bindable]
public var book : Book = new Book();

And, ¡bingo!, works perfectly. I don't know why I don't
ask for help before. Have been with this 3 days.

If that is the intended behaviour I'd report that as an error.

Another problem now is that the Books are losing the
backreference to Library but I'd send another message
if I could not solve it by myself.

Thanks a lot,

Pepe.







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

<*> 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: Flex Beta 2 - Loader not loading SWF 100%

2006-03-23 Thread inawire
Thanks Bruno and Doug, 

This is on the right track (though I still do not know why this 
worked in beta 1 with out all this extra code). 

Bruno, your code worked for me fine (flex 2 version of Doug's idea).
When I load my inner app, the content resizes perfectly (see inner 
app below).

The only trouble I am having now it a basic problem that anyone could 
probably help me with. The event listener for the 'resize' is still 
being called from the shell when I try to load a second inner app. I 
have been trying to use removeListener but do not seam to find an 
event that lets me know when the first inner app is being removed (or 
unloaded). I have tried to call unload() on the instance of the 
Loader app in the shell app and keep getting the error
'Call to a possibly undefined method 'unLoad' through a reference 
with static type 'mx.controls:Loader'

Is there an event I can make the inner app listen for that tells me 
that it is being removed  when I load a new inner app (or is it being 
removed)?

Thanks Ross

P.S. 
Bruno, as for your question, using your code and the fact that my 
inner apps scale using the layout anchors, I did not have to talk to 
the inner app from the shell app. I have tried using the 
LoaderInstanceName.content.propertyInInnerApp and I can not get 
around the same compliler error as stated above.

Thanks for your help.




Code for sample inner app the resizes to fit
==

http://www.adobe.com/2006/mxml"; mlns="*"
layout="absolute" width="100%" height="100%" 
creationComplete="initApp();"
paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0"
>

  import flash.util.trace;

  private function resizeLoader(event:Event = null):void
  {
width = parent.parent.parent.width;
height = parent.parent.parent.height;
  }
  
  public function unLoader():void
  {
trace('unLoader called')
parent.parent.parent.removeEventListener("resize", resizeLoader);
  } 

  private function initApp():void
  { 
resizeLoader();
parent.parent.parent.addEventListener("resize", resizeLoader);
  }




 
  
  
  
 








--- In flexcoders@yahoogroups.com, "Bruno Martins" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I did a poor solution to this problem but I believe that is a start 
to solve
> the problem:
> 
> I put the following code in the application that will be loaded:
> 
>  private function resizeLoader(event:Event = null):void
>  {
>   width = parent.parent.parent.width;
>   height = parent.parent.parent.height;
>  }
> 
>  private function initApp():void{
>  resizeLoader();
>  parent.parent.parent.addEventListener("resize", 
resizeLoader);
>   }
> 
> onCreationComplete execute the initApp()...
> 
> I try to create a AppLoader component extend the loader and adjust 
the
> content after the complete event but I don't know how to access the 
content
> proprieties, if some one know how to change the content properties 
please
> let me know...
> 
> Tks...
> 
> On 3/22/06, Doug Lowder <[EMAIL PROTECTED]> wrote:
> >
> > I know in 1.5 the trick was to provide the loaded (inner) app with
> > getPreferredHeight() and getPreferredWidth() functions; may be 
worth a
> > try in your case if you are able to modify the code for the loaded
> > apps.  In AS2, it was:
> >
> > function getPreferredHeight() {
> > return _parent? _parent.layoutHeight : 
super.getPreferredHeight();
> > }
> >
> > function getPreferredWidth() {
> > return _parent? _parent.layoutWidth : super.getPreferredWidth
();
> >
> > }
> >
> > --- In flexcoders@yahoogroups.com, "inawire"  wrote:
> > >
> > > With further testing, the loaded (inner) app 
(application.width) is
> > > scailing to the correct size on initial load. When the outer 
shell
> > > resizes, the inner app resize does not get called (it does when 
it
> > > runs on its own).
> > >
> > > Also when the inner app first loads, thought the inner app is 
showing
> > > the correct width available, the inner content does not scale to
> > > fit available size of the inner app.
> > >
> > > Does anyone have any ideas?
> > >
> > > Ross
> > >
> > >
> > >
> > >
> > > --- In flexcoders@yahoogroups.com, "Bruno Martins"  
wrote:
> > > >
> > > > I had the same problem, but I don't fix yet.
> > > >
> > > > On 3/21/06, inawire  wrote:
> > > > >
> > > > > Hi
> > > > >
> > > > > I just converted my app to Beta 2. Ran the conversion 
scripts,
> > > switch
> > > > > layout constraintes, changed LinkBar click to itemClick 
(that got
> > > > > me),worked through some new warnings that were not present 
before.
> > > > > Everything works fine now ... but (always a but)
> > > > >
> > > > > I'm loading other Flex apps into a shell Flex app. I had the
> > > loaded
> > > > > apps expanding to fill 100% of the available space. The 
shell app
> > > has
> > > > > a top control panel, a bottom status bar and t

RE: [flexcoders] Flex & Action Script 2.0 Related Books & Sites

2006-03-23 Thread Venu Vasireddy











 

ActionScript 3.0  guide

 

http://livedocs.macromedia.com/flex/20beta1/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2352.html

 

Similar one exists for Flex and MXML
programming.

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of srini vasan
Sent: Thursday, March 23, 2006
3:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex & Action
Script 2.0 Related Books & Sites



 



Hi





 





I am new starter on flex and action script 2.0.
Please can you any one suggest me what are all the books avialble related
to flex and action script 2.0 in indian editions and flex & action
scrit 2.0 learning related sites.





 





Thanks 









Jiyo cricket on Yahoo!
India cricket
Yahoo!
Messenger Mobile Stay in touch with your buddies all the time.











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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] TitleWindow lost focus on startup

2006-03-23 Thread xithor
I have a TitleWindow set to popup at the startup of my application. I use this 
window at 
other points in the program with absolutely no problems. But when it's called 
on startup 
using the 'initialize' event on my main canvas, it opens the popup, and it 
functions fairly 
normally, but A: does not obtain focus automatically, B: does not capture tab 
key presses.

The loginWin TitleWindow is set to setFocus() on one of the text input boxes... 
It highlights 
it in blue, but when you type, the text doesn't go into it, unless you manually 
click in teh 
box.

Then if I hit tab, it tabs through the items in my main canvas, vs tabbing 
through items in 
the popup.

I'm guessing this is somehow related to the window loading before the main 
components 
are finished initializing, but I'm not sure how to get around this. I've tried 
all sorts of tips 
and tricks, but still can't get it to work.

Any suggestions would be appreciated. Code snippits below:



Main Canvas:




loginWin definition:

var loginWin:Object;


startUp() function:

function startUp() {
loginWin=TitleWindow(PopUpManager.createPopUp(mainCanvas, 
loginBox , 
true));
loginWin.mainApp = this;
loginWin.centerPopUp();
}






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

<*> 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] CairngormLogin sample on Flex 2.0 beta 2

2006-03-23 Thread William Lambé











Hello everybody, 

 

I am trying to use Cairngorm 2.0 with the new Flex
2.0 beta 2.  And for that, I am trying to run the CairngormLogin sample. I
changed some things that happen between beta 1 and beta 2 of Flex 2.0, but I
have still a Problem : 

 

To the line «  » in CairngormLogin.mxml,  I have this problem : 

 

« Implicit coercion of a value with static type ‘mx.core :UIComponent’
to a possibly unrelated type ‘mx.core :Container’ »

 

Is someone can explain to me what does it mean ?

 

William.












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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Re: mxmlc/compc versus web server compile

2006-03-23 Thread Ted Patrick

The real key to ANT is leveraging the "depends" property.



In this case calling ANT flex.build, will first run rsl.build just before 
running flex.build. "depends" allows you to create a very large build from very 
small encapsulated tasks. It is the lever that makes ANT so powerful in both 
the large and in the small.

I have to admit that I was not an ANT fan prior to joining Cynergy and tended 
to use Python for build automation. The key difference is that each python 
build script was exact but limited in its reusability in a larger build 
process. Although I still prefer a real language over XML tag logic any day of 
the week, its more readable, more understandable.

Then again it would take a mountain of work to eject a fully configured Tomcat 
instance from Python and life is too short!

Cheers,

Cynergy Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com


--
Ted,

Thanks for the for depth of insight.  My mind finally has got
mxmlc/compc and build scripts in the right prespective.

Renaun

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006
 


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

<*> 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] GetCamera(someCam) returns null (Beta 2)

2006-03-23 Thread João Fernandes











Hi there,

 

I’m trying to get a specific camera like
this:

 

for(var i:uint = 0; i < Camera.names.length; i++){

   if(Camera.names[i]
== "VHScrCap"){

       ssCamera
= Camera.getCamera(Camera.names[i]);

       ssCamera.setMode(640, 480,10,true);

       ssCamera.setQuality(0,50);
  

       break;

   }

        }

 

In debugging, I can see that Camera.names
returns the wanted Cam but Camera.getCamera(Camera.names[i]) always return null.

That cam isn’t being used .

 

João Fernandes
Dep.
Informática - Área de Desenvolvimento
Cofina media

Avenida
João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel
(+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]

 












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









  1   2   >