Re: [flexcoders] Tree+ datas from mySQL

2006-02-27 Thread Jignesh Dodiya



Its great, thanx Matt, 

Is there any working sample available regarding ths...

Jignesh
On 2/27/06, Matt Chotin [EMAIL PROTECTED] wrote:


Flex 2 allows you to specify a TreeDataDescriptor for this exact purpose, specify the top-level data to the Tree and then use the descriptor to read into those other arrays as necessary for the children (or other parts of the data).


MAtt





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jignesh DodiyaSent: Sunday, February 26, 2006 3:33 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Tree+ datas from mySQL


I think , it seems really very difficult or just it may be wrong wayor bad stuffs 





On 2/26/06, Jignesh M. Dodiya 
[EMAIL PROTECTED] wrote:


hi,
Is there any idea how to provide data provider to tree component in mySQL based datas...how can i use 2-3 COllection Array in to single 
tree COntrol;regards,jignesh
--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. 




-- jignesh dodiya --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. 




-- jignesh dodiya 






--
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] Developing Rich Clients book

2006-02-27 Thread Steven Webster
All,

Definitely not a touchy subject - it's a fair question !

The book will be rewritten completely for Flex 2.0, and we'll be using
the opportunity to refactor how we've approached the subject.
However, I'd echo a number of comments that the aim of the book is to
lift the covers on how one might approach the architecture and
best-practices around Flex application development.  Furthermore, for
each feature of the Flex product, the aim of the book was to impart
where and how you might apply there features, rather than an attribute
by attribute, method by method coverage of the various components,
containers, etc.

We share your frustration that the code no longer compiles; however I do
trust that the value you'll extract from the book is significantly more
than some source code samples.

Best wishes,

Steven

--
Steven Webster
Practice Director (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6108
m: +44 (0) 7917 428 947 
[EMAIL PROTECTED] 

 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes
 Sent: 27 February 2006 05:08
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Developing Rich Clients book
 
 Agreed. I considered myself a flex developer early on in the 
 piece that knew flex, but i'm happy to put hand on heart 
 and declare that I still have it on my bookshelf and at times 
 refer to it for min-refresh-my-memory style queries.
 
 Semantics of the book hold, just syntax is a lot different. 
 Plus it wouldn't hurt to know where flex has come from in 
 order to guage where its going.
 
 If however you have to pay and not your work and the budgets 
 a bit tight then i'd say no :)
 
 
 On 2/27/06, Matt Chotin [EMAIL PROTECTED] wrote:
  I think it depends on your goal for reading the book.  If 
 you want to 
  just copy sample code and run it then the book now serves less of a 
  purpose.  But I think the approaches that are talked about 
 in the book 
  still hold in Flex 2 so for general background it's still 
 worthwhile.
 
  Matt
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] 
  On Behalf Of pixelgeek
  Sent: Friday, February 24, 2006 9:54 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Developing Rich Clients book
 
  Maybe a potentially touchy subject considering the group 
 mods but is 
  the Developing Rich Clients with Macromedia Flex book a 
 worthwhile 
  purchase now?
 
  I ask primarily because I am not able to get the sample app from 
  Chapter 2 to run (or compile) and if the rest of the book 
 has similar 
  issues due to the changes to Flex and MXML (note: I don't 
 see this as 
  an issue with the authors or the book just a fact of life) I am not 
  sure the point behind continuing to work through it.
 
  So are the rest of the samples in the book salvagable or has the 
  language changed that much that I will run into similar 
 issues through 
  the rest of the book?
 
  TIA
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 
 
 
 --
 Regards,
 Scott Barnes
 http://www.mossyblog.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
 
 
 
  
 
 
 


--
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: Use component within the repeater

2006-02-27 Thread sinacapho
Dear Matt,
 As i am afraid that my component have something wrong about the
input parameter . So i have already use method 1 to test it and it is
ok. But if the component is using with the repeater . Then error form.
thx


capho



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

 #3 looked like it should work to me.  So none of the input parameters
 are correct?  Are there any values?  What component does your InputField
 extend?  Maybe it's not playing with databinding correctly?  Maybe you
 overrode a method without calling the superclass version?
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sinacapho
 Sent: Sunday, February 19, 2006 6:21 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Use component within the repeater
 
 Dear All,
 i am now facing a problem with repeater . I have writing a component
 completely by actionscript . As i want to generate that component
 dynamically .i use mx:Repeater to help me. For example i use the
 following code to do show.
 
 1. I should like to check if my component can work well so i create
 the component with testing input. i find it is ok
 
 gp:InputField Input_type = asdfasdfsd
 Input_label = asdfasdfasdf
 Input_fieldname = asdfasdfas
 Input_default = sdfgd
 /gp:InputField
 
 2. Then i test the dataProvider using Repeater and i also works fine
 
 mx:Repeater id=componment_repeater
 dataProvider={httpservice_function_form.result.array.Item}
 mx:Label text =
 {componment_repeater.currentItem.fieldLabel}/mx:Label
 /mx:Repeater
 
 3. I begin to using the repeater to generate the component , however
 can create the correct number of component, but all the input
 parameter cannot get. _
 
 mx:Repeater id=componment_repeater1
 dataProvider={httpservice_function_form.result.array.Item}
 gp:InputField Input_type =
 {componment_repeater1.currentItem.fieldType}
 Input_label = {componment_repeater1.currentItem.fieldLabel}
 Input_fieldname = {componment_repeater1.currentItem.fieldName}
 Input_default = {componment_repeater1.currentItem.fieldDefault}
 /gp:InputField
 /mx:Repeater--
 
 4. So i using the repeater with repeat function and using
 actionscript to create the component. It 's Fine ^_^
 
 mx:Repeater id=componment_repeater2
 dataProvider={httpservice_function_form.result.array.Item}
 repeat=capcap(event.target)/
 
 function capcap(items){
 var ddd = function_form.createChild(InputField,
 undefined,
 {Input_type:items.currentItem.fieldType,
 Input_label:items.currentItem.fieldLabel,
 Input_fieldname:items.currentItem.fieldName,
 Input_help_id:items.currentItem.funcId,
 Input_function_id:report_model.function_id,
 Input_default:items.currentItem.fieldDefault}
 );
 }
 
 
 i think that method 3 and 4 are the same, But why this happen?? i
 prefer to using method 3 as i need not consider about the recreate
 problem and it is much more standard. Can somebody help me?
 
 
 capho
 
 
 
 
 
 
 
 
 --
 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: Developing Rich Clients book

2006-02-27 Thread pixelgeek
--- In flexcoders@yahoogroups.com, jeremy lu [EMAIL PROTECTED] wrote:

 second that, recently re-read this book again, still very useful for
 application structure concepts and some neat tricks.

Duly noted.

Thanks all





--
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: Chart printing options - how to in Flex 1.5?

2006-02-27 Thread wujunjr
I tried again this afternoon but failed :(

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

 I have a similar question:
 
 How to print a chart/element without show it in the screen? Since 
the 
 UI element can be zoom in/out so the printed effect is not so good.
 
 I'm using Flex 1.5.
 
 Thanks a lot.
 
 --- In flexcoders@yahoogroups.com, kronos113 kenthaynes@ wrote:
 
  Thank you Ely.  I appreciate your help.
  
  I'll play around with this.
  
  -kent
  
  --- In flexcoders@yahoogroups.com, Ely Greenfield 
[EMAIL PROTECTED] 
 wrote:
  
   
   
   Right then.  Good answer.  You'll want to write your own custom
   itemSkin.
   
   1. write a custom class that extends FlexDisplayObject
   2. it should optionally implement iDataObject.  If it does, it's
   dataObject property will be assigned an instance of a 
 ColumnSeriesItem
   (or some other type, based on the series type). 
   3. override updateDisplayList.  Fill your bounding rectangle
   (0,0,unscaledWidth, unscaledHeight) with a nice pattern.
   4. assign the 'itemSkin' style of the ColumnSeries to be your 
new 
 custom
   skin class.
   5. If you want to get fancy, you could write your skin to 
define 
 a new
   style that controls what pattern it should render, how to 
render 
 it,
   etc. in your updateDisplayList function, if you call getStyle
(), 
 you'll
   get style values defined either on your custom skin class, or 
on 
 the
   enclosing series class.  
   
   
   I don't remember what part of this is implemented in the 
currently
   public alpha, but I'm sure this will work in the next public 
 release.
   
   
   Ely.
   
   
   
   -Original Message-
   From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
   Behalf Of kronos113
   Sent: Tuesday, January 24, 2006 12:24 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Chart printing options
   
   Sorry...using Flex 2.
   
   --- In flexcoders@yahoogroups.com, Ely Greenfield 
 [EMAIL PROTECTED]
   wrote:
   


Kent -- are you using Flex 1.5 or 2.0?

Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] 
On Behalf Of kronos113
Sent: Tuesday, January 24, 2006 10:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Chart printing options

I'm creating print views for some online reports we're 
working 
 on.  In
   
the online versions we have some nice colored bars on our 
 charts.
This looks great online but it isn't an ideal solution for 
 printing. 
What I'd like to do is create a custom pattern fill to be 
used 
 in the 
chart's print view.  Anyone have any ideas how I can do this?

I've looked at the IFill interface as it showed promise by 
it's 
 name 
but the docs for it are empty.

If anyone has any ideas I'd appreciate it.

Thanks
Kent

[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
   
   
   
   
   
   
   
   --
   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] Developing Rich Clients book

2006-02-27 Thread Phil Marston
Hi Steven,

Any hints at a time-line for the 2nd edition?

;-)

Phil


At 03:16 27/02/2006 -0800, you wrote:
All,

Definitely not a touchy subject - it's a fair question !

The book will be rewritten completely for Flex 2.0, and we'll be using
the opportunity to refactor how we've approached the subject.
However, I'd echo a number of comments that the aim of the book is to
lift the covers on how one might approach the architecture and
best-practices around Flex application development.  Furthermore, for
each feature of the Flex product, the aim of the book was to impart
where and how you might apply there features, rather than an attribute
by attribute, method by method coverage of the various components,
containers, etc.

We share your frustration that the code no longer compiles; however I do
trust that the value you'll extract from the book is significantly more
than some source code samples.

Best wishes,

Steven

--
Steven Webster
Practice Director (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6108
m: +44 (0) 7917 428 947
[EMAIL PROTECTED]



  -Original Message-
  From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes
  Sent: 27 February 2006 05:08
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Developing Rich Clients book
 
  Agreed. I considered myself a flex developer early on in the
  piece that knew flex, but i'm happy to put hand on heart
  and declare that I still have it on my bookshelf and at times
  refer to it for min-refresh-my-memory style queries.
 
  Semantics of the book hold, just syntax is a lot different.
  Plus it wouldn't hurt to know where flex has come from in
  order to guage where its going.
 
  If however you have to pay and not your work and the budgets
  a bit tight then i'd say no :)
 
 
  On 2/27/06, Matt Chotin [EMAIL PROTECTED] wrote:
   I think it depends on your goal for reading the book.  If
  you want to
   just copy sample code and run it then the book now serves less of a
   purpose.  But I think the approaches that are talked about
  in the book
   still hold in Flex 2 so for general background it's still
  worthwhile.
  
   Matt
  
   -Original Message-
   From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED]
   On Behalf Of pixelgeek
   Sent: Friday, February 24, 2006 9:54 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Developing Rich Clients book
  
   Maybe a potentially touchy subject considering the group
  mods but is
   the Developing Rich Clients with Macromedia Flex book a
  worthwhile
   purchase now?
  
   I ask primarily because I am not able to get the sample app from
   Chapter 2 to run (or compile) and if the rest of the book
  has similar
   issues due to the changes to Flex and MXML (note: I don't
  see this as
   an issue with the authors or the book just a fact of life) I am not
   sure the point behind continuing to work through it.
  
   So are the rest of the samples in the book salvagable or has the
   language changed that much that I will run into similar
  issues through
   the rest of the book?
  
   TIA
  
  
  
  
  
   --
   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
  
  
  
  
  
  
  
 
 
  --
  Regards,
  Scott Barnes
  http://www.mossyblog.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
 
 
 
 
 
 
 


--
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





__
Phil Marston
Learning Technologist
Learning Technology Unit
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660
http://www.abdn.ac.uk/diss/ltu/
__ 



--
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] strange undefined property error

2006-02-27 Thread list
Below is the complete code. I've done a few test 'applications' with flex
2.0 in the last few weeks. When I decided to dig deeper into xml and flex
however everything went weird. The following code gives an undefined
property error on both 'a' and 'test'. I might be overlooking something
obvious here, but as far as I can see the code is correct. What could
cause this?

Kind regards,
Sonja Duijvesteijn



?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
layout=absolute
mx:Script
![CDATA[
var test:String = foo;
a.text = test;
]]
/mx:Script
mx:TextArea x=45 y=50 width=662 height=477 id=a/
/mx:Application




--
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] Developing Rich Clients book

2006-02-27 Thread Carlos Rovira



I agree, still a great book. Hope Steve and Ali have plans for a second part to cover all the news with Flex 2 and FES 2.0 ;)2006/2/27, Scott Barnes 
[EMAIL PROTECTED]:



Agreed. I considered myself a flex developer early on in the piece
that knew flex, but i'm happy to put hand on heart and declare that
I still have it on my bookshelf and at times refer to it for
min-refresh-my-memory style queries.

Semantics of the book hold, just syntax is a lot different. Plus it
wouldn't hurt to know where flex has come from in order to guage where
its going.

If however you have to pay and not your work and the budgets a bit
tight then i'd say no :)


On 2/27/06, Matt Chotin [EMAIL PROTECTED] wrote:

 I think it depends on your goal for reading the book. If you want to
 just copy sample code and run it then the book now serves less of a
 purpose. But I think the approaches that are talked about in the book
 still hold in Flex 2 so for general background it's still worthwhile.

 Matt

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
 Behalf Of pixelgeek
 Sent: Friday, February 24, 2006 9:54 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Developing Rich Clients book

 Maybe a potentially touchy subject considering the group mods but is
 the Developing Rich Clients with Macromedia Flex book a worthwhile
 purchase now?

 I ask primarily because I am not able to get the sample app from
 Chapter 2 to run (or compile) and if the rest of the book has similar
 issues due to the changes to Flex and MXML (note: I don't see this as
 an issue with the authors or the book just a fact of life) I am not
 sure the point behind continuing to work through it.

 So are the rest of the samples in the book salvagable or has the
 language changed that much that I will run into similar issues through
 the rest of the book?

 TIA





 --
 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









--
Regards,
Scott Barnes
http://www.mossyblog.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
.



  









-- ::| Carlos Rovira::| http://www.carlosrovira.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] xml files embedded in swf?

2006-02-27 Thread Jan L. Nauta
Hi,

(Flex 2.0 Beta 1)

I noticed that xml files are always embedded in the generated .swf file???

mx:XML id=my_xml source=my.xml format=e4x/

I thought it would work like images, so unless you embed it explicit it
would be an external resource. The xml file even got copied to the bin
directory, but the swf still uses it's 'internal' version...

Regards,

Jan L. Nauta



--
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] Developing Rich Clients book

2006-02-27 Thread Steven Webster
Hey Phil,

No date as yet ... As soon as we have something we can share with the
list, we'll do exactly that !

Best wishes,

Steven

--
Steven Webster
Practice Director (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6108
m: +44 (0) 7917 428 947 
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Phil Marston
 Sent: 27 February 2006 11:39
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Developing Rich Clients book
 
 Hi Steven,
 
 Any hints at a time-line for the 2nd edition?
 
 ;-)
 
 Phil
 
 
 At 03:16 27/02/2006 -0800, you wrote:
 All,
 
 Definitely not a touchy subject - it's a fair question !
 
 The book will be rewritten completely for Flex 2.0, and 
 we'll be using 
 the opportunity to refactor how we've approached the subject.
 However, I'd echo a number of comments that the aim of the 
 book is to 
 lift the covers on how one might approach the architecture and 
 best-practices around Flex application development.  
 Furthermore, for 
 each feature of the Flex product, the aim of the book was to impart 
 where and how you might apply there features, rather than an 
 attribute 
 by attribute, method by method coverage of the various components, 
 containers, etc.
 
 We share your frustration that the code no longer compiles; 
 however I 
 do trust that the value you'll extract from the book is 
 significantly 
 more than some source code samples.
 
 Best wishes,
 
 Steven
 
 --
 Steven Webster
 Practice Director (Rich Internet Applications) Adobe Consulting 
 Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
 p: +44 (0) 131 338 6108
 m: +44 (0) 7917 428 947
 [EMAIL PROTECTED]
 
 
 
   -Original Message-
   From: flexcoders@yahoogroups.com
   [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes
   Sent: 27 February 2006 05:08
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Developing Rich Clients book
  
   Agreed. I considered myself a flex developer early on in 
 the piece 
   that knew flex, but i'm happy to put hand on heart and declare 
   that I still have it on my bookshelf and at times refer to it for 
   min-refresh-my-memory style queries.
  
   Semantics of the book hold, just syntax is a lot different.
   Plus it wouldn't hurt to know where flex has come from in 
 order to 
   guage where its going.
  
   If however you have to pay and not your work and the 
 budgets a bit 
   tight then i'd say no :)
  
  
   On 2/27/06, Matt Chotin [EMAIL PROTECTED] wrote:
I think it depends on your goal for reading the book.  If
   you want to
just copy sample code and run it then the book now 
 serves less of 
a purpose.  But I think the approaches that are talked about
   in the book
still hold in Flex 2 so for general background it's still
   worthwhile.
   
Matt
   
-Original Message-
From: flexcoders@yahoogroups.com
   [mailto:[EMAIL PROTECTED]
On Behalf Of pixelgeek
Sent: Friday, February 24, 2006 9:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Developing Rich Clients book
   
Maybe a potentially touchy subject considering the group
   mods but is
the Developing Rich Clients with Macromedia Flex book a
   worthwhile
purchase now?
   
I ask primarily because I am not able to get the sample 
 app from 
Chapter 2 to run (or compile) and if the rest of the book
   has similar
issues due to the changes to Flex and MXML (note: I don't
   see this as
an issue with the authors or the book just a fact of life) I am 
not sure the point behind continuing to work through it.
   
So are the rest of the samples in the book salvagable 
 or has the 
language changed that much that I will run into similar
   issues through
the rest of the book?
   
TIA
   
   
   
   
   
--
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
   
   
   
   
   
   
   
  
  
   --
   Regards,
   Scott Barnes
   http://www.mossyblog.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
  
  
  
  
  
  
  
 
 
 --
 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] Flex 2 equivalent of remote-objects-debug

2006-02-27 Thread Jim Schneider










Is there an equivalent in Flex 2 of the remote-objects-debug
configuration element so that I can turn on debug output of the
AMF data to/from my remote objects?



Thanks,



Jim





-

Jim Schneider

KJ Interactive, Inc.

1-877-370-6906

1-612-605-5399













--
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] xml files embedded in swf?

2006-02-27 Thread Harish Sivaramakrishnan
Hi

mx:XML tag always embeds the xml at compile time,
hence there is also a limitation to the size of the
xml that you can load on to the swf. In order to read
an xml data at run time you could use
mx:HTTPService id=serv url=my_xml
resultFormat=xml result=foo()/

You could write ur logic in function foo() and use the
loaded xml data.

Hope this helps,

Harish.
Flex-QA 
Adobe India.

--- Jan L. Nauta [EMAIL PROTECTED] wrote:


-
Hi,

(Flex 2.0 Beta 1)

I noticed that xml files are always embedded in the
generated .swf file???

mx:XML id=my_xml source=my.xml format=e4x/

I thought it would work like images, so unless you
embed it explicit it
would be an external resource. The xml file even got
copied to the bin
directory, but the swf still uses it's 'internal'
version...

Regards,

Jan L. Nauta



--
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.

  
-




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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

* 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] RIA Certified Developer/Architect

2006-02-27 Thread Tolulope Olonade










Still wondering why Adobe
hasnt come out with a certification track named similar as above J



Regards









--
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] Form field direction

2006-02-27 Thread Pablo Apanasionek





Is there a way to 
set up the mx:Form tag to place the mx:FormItem childs in a horizontal 
direction, instead of the default vertical one? O maybe a way to change the 
focus path to go from left to right, top to bottom?

I.e.:

Field 1 - 
Field 2
 
/
 
/
 
/
Field 3 - 
Field 4

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] word wrap in flexbuilder beta 2 editor?

2006-02-27 Thread Paolo Bernardini
is there a word wrap option in flexbuilder beta 2 code view editor? 
Like the one you can have in code view with flexbuilder 1.5, so that 
long line of code wrap down without having to scroll horizontally.





--
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] Developing Rich Clients book

2006-02-27 Thread Carlos Rovira



Great to hear about the plans for the second edition. Can't wait! : )2006/2/27, Steven Webster [EMAIL PROTECTED]:




Hey Phil,

No date as yet ... As soon as we have something we can share with the
list, we'll do exactly that !

Best wishes,

Steven

--
Steven Webster
Practice Director (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6108
m: +44 (0) 7917 428 947 
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com] On Behalf Of Phil Marston
 Sent: 27 February 2006 11:39
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Developing Rich Clients book
 
 Hi Steven,
 
 Any hints at a time-line for the 2nd edition?
 
 ;-)
 
 Phil
 
 
 At 03:16 27/02/2006 -0800, you wrote:
 All,
 
 Definitely not a touchy subject - it's a fair question !
 
 The book will be rewritten completely for Flex 2.0, and 
 we'll be using 
 the opportunity to refactor how we've approached the subject.
 However, I'd echo a number of comments that the aim of the 
 book is to 
 lift the covers on how one might approach the architecture and 
 best-practices around Flex application development. 
 Furthermore, for 
 each feature of the Flex product, the aim of the book was to impart 
 where and how you might apply there features, rather than an 
 attribute 
 by attribute, method by method coverage of the various components, 
 containers, etc.
 
 We share your frustration that the code no longer compiles; 
 however I 
 do trust that the value you'll extract from the book is 
 significantly 
 more than some source code samples.
 
 Best wishes,
 
 Steven
 
 --
 Steven Webster
 Practice Director (Rich Internet Applications) Adobe Consulting 
 Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
 p: +44 (0) 131 338 6108
 m: +44 (0) 7917 428 947
 [EMAIL PROTECTED]
 
 
 
   -Original Message-
   From: flexcoders@yahoogroups.com
   [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Barnes
   Sent: 27 February 2006 05:08
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Developing Rich Clients book
  
   Agreed. I considered myself a flex developer early on in 
 the piece 
   that knew flex, but i'm happy to put hand on heart and declare 
   that I still have it on my bookshelf and at times refer to it for 
   min-refresh-my-memory style queries.
  
   Semantics of the book hold, just syntax is a lot different.
   Plus it wouldn't hurt to know where flex has come from in 
 order to 
   guage where its going.
  
   If however you have to pay and not your work and the 
 budgets a bit 
   tight then i'd say no :)
  
  
   On 2/27/06, Matt Chotin [EMAIL PROTECTED] wrote:
I think it depends on your goal for reading the book. If
   you want to
just copy sample code and run it then the book now 
 serves less of 
a purpose. But I think the approaches that are talked about
   in the book
still hold in Flex 2 so for general background it's still
   worthwhile.
   
Matt
   
-Original Message-
From: flexcoders@yahoogroups.com
   [mailto:flexcoders@yahoogroups.com]
On Behalf Of pixelgeek
Sent: Friday, February 24, 2006 9:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Developing Rich Clients book
   
Maybe a potentially touchy subject considering the group
   mods but is
the Developing Rich Clients with Macromedia Flex book a
   worthwhile
purchase now?
   
I ask primarily because I am not able to get the sample 
 app from 
Chapter 2 to run (or compile) and if the rest of the book
   has similar
issues due to the changes to Flex and MXML (note: I don't
   see this as
an issue with the authors or the book just a fact of life) I am 
not sure the point behind continuing to work through it.
   
So are the rest of the samples in the book salvagable 
 or has the 
language changed that much that I will run into similar
   issues through
the rest of the book?
   
TIA
   
   
   
   
   
--
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
   
   
   
   
   
   
   
  
  
   --
   Regards,
   Scott Barnes
   http://www.mossyblog.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
  
  
  
  
  
  
  
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

 

RE: [flexcoders] strange undefined property error

2006-02-27 Thread Geoffrey Williams
'a' hasn't been created when you try to assign a value to 'text':

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
layout=absolute creationComplete=init ()
mx:Script
![CDATA[
internal var test:String = foo;

internal function init () {
a.text = test;
}
]]
/mx:Script
mx:TextArea x=45 y=50 width=662 height=477 id=a/
/mx:Application

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, February 27, 2006 4:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] strange undefined property error

Below is the complete code. I've done a few test 'applications' with flex
2.0 in the last few weeks. When I decided to dig deeper into xml and flex
however everything went weird. The following code gives an undefined
property error on both 'a' and 'test'. I might be overlooking something
obvious here, but as far as I can see the code is correct. What could
cause this?

Kind regards,
Sonja Duijvesteijn



?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
layout=absolute
mx:Script
![CDATA[
var test:String = foo;
a.text = test;
]]
/mx:Script
mx:TextArea x=45 y=50 width=662 height=477 id=a/
/mx:Application




--
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] DataGrid automatic height

2006-02-27 Thread Jonathan Miranda












rowCount is read-only if ya use
variableRowHeight=true. So no word on finding the height of a specific row with
actionscript?

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Sunday, February 26, 2006
6:28 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] DataGrid
automatic height





Have you guys set rowCount to be the same
as dataProvider.length? That should get the DG to start attempting to
draw all rows.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Friday, February 24, 2006
10:33 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] DataGrid
automatic height







If you can find a way to find out
rowHeight by actionscript with variableRowHeight=true, more power to you
 Im still stumped on this.

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dustin Mercer
Sent: Friday, February 24, 2006
11:40 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] DataGrid
automatic height





What did you use for number? What
about height={(dg.dataProvider.length * dg.rowHeight) + 2}
you might need the + 2 there to account for the 1px border on top and
bottom. For the variableRowHeight, you will have to do a lot more
work. It will be very tough since you cannot just loop through the rows
to find their heights, because the hidden rows arent drawn yet ;)
So that will take so creativity. Maybe someone else has an idea on that,
in the mean time, I will play with the idea. Hope this works for normal
row heights though.



Dustin Mercer











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Friday, February 24, 2006
7:23 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] DataGrid
automatic height







Id love to figure this out also,
especially if you use variableRowHeight=true

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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, 

[flexcoders] Re: RIA Certified Developer/Architect

2006-02-27 Thread Brendan Meutzner
I second this

Flex has been publicly released for almost 2 years now, but we still
don't have a certification to strive for? 

Also, I've noticed individuals with the title of Certified Flex
Instructor/Trainer or something to that effect... What is it, and how
do I get it?

Thanks,

Brendan


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

 Still wondering why Adobe hasnt come out with a certification track
 named similar as above :-)
 
  
 
 Regards








--
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: DG cellrendered Combobox

2006-02-27 Thread Jeremy Rottman
Currently I am using flex 2, and I had previously tried what you
posted. And it gives me the same error everytime.

Type annotation is not a compile-time constant: agentSearch [CODEGEN
agentSearch_inlineComponent1]


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

 Can we do Flex 2?  Something like this:
 
 mx:DataGridColumn headerText=Side columnName=agentType
   mx:itemRenderer
 mx:Component
  mx:ComboBox
mx:dataProvider 
  mx:Array
mx:Object label=Buyer data=buyer /
mx:Object label=Seller data=seller /
  /mx:Array
   /mx:dataProvider
 /mx:Combobox
   /mx:Component
  /mx:itemRenderer
 /mx:DataGridColumn
 
 
 For 1.5 I think you're going to need to write a separate subclass of
 ComboBox and just populate the DP yourself.  You could basically take
 the ComboBox I have above and just extract that to an MXML file, then
 use that as the renderer.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Jeremy Rottman
 Sent: Sunday, February 26, 2006 6:28 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] DG cellrendered Combobox
 
 I have a combo box that I am using with in my search results datagrid
 that will allow users teh ability to set the side of hte agent being
 attached to the file. How can I populate the combobox in the dg with a
 simple bindable array I have made. The array is below.
 
 
 Datagrid:
   mx:DataGrid x=10 y=67 id=ASDG
 width=90% height=65%
   mx:columns
   mx:DataGridColumn
 headerText=Name columnName=FLD_FULLNAME /
   mx:DataGridColumn
 headerText=Company columnName=FLD_USEREMAIL/
   mx:DataGridColumn
 headerText=Address columnName=FLD_ADDRESS/
   mx:DataGridColumn
 headerText=Agent Id visible=false
 columnName=FLD_USERLOGIN/
   mx:DataGridColumn
 headerText=Side columnName=agentType
 cellRenderer=mx.controls.ComboBox /
   /mx:columns
   /mx:DataGrid
 
 
 Array:
 
 public var agentType: Array =[ {label:Buyer, data:buyer},
 {label:Seller, data:seller}];
 
 
 
 
 
 --
 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] xml files embedded in swf?

2006-02-27 Thread Jan L. Nauta
Hi Harish,

Is there a reason for this strange behaviour? Normally I have to add @embed
explicitely... Also what is the limitation on the size of the xml embeded in
the swf?

Regards,

Jan L. Nauta

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Harish Sivaramakrishnan
 Sent: Monday, February 27, 2006 15:05
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] xml files embedded in swf?
 
 Hi
 
 mx:XML tag always embeds the xml at compile time,
 hence there is also a limitation to the size of the
 xml that you can load on to the swf. In order to read
 an xml data at run time you could use
 mx:HTTPService id=serv url=my_xml
 resultFormat=xml result=foo()/
 
 You could write ur logic in function foo() and use the
 loaded xml data.
 
 Hope this helps,
 
 Harish.
 Flex-QA
 Adobe India.
 
 --- Jan L. Nauta [EMAIL PROTECTED] wrote:
 
 
 -
 Hi,
 
 (Flex 2.0 Beta 1)
 
 I noticed that xml files are always embedded in the
 generated .swf file???
 
 mx:XML id=my_xml source=my.xml format=e4x/
 
 I thought it would work like images, so unless you
 embed it explicit it
 would be an external resource. The xml file even got
 copied to the bin
 directory, but the swf still uses it's 'internal'
 version...
 
 Regards,
 
 Jan L. Nauta
 
 
 
 --
 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.
 
 
 -
 
 
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.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
 
 
 
 
 
 




--
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: SWF Object/Embed tags (Flex/Flex 2/Flash 7+)

2006-02-27 Thread Darin Kohles
Thanks Matt for your reply. I generally do copy and paste from the
HTML generated by either Flash (8) or FB (2b). As I mentioned, my
colleague had read an article about dropping the Embed tag, so I
thought I'd ask for the Official word on the subject.

Keep on keeping on.

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

 I'd use the HTML template that we provide from FB as a guideline for
 what we recommend.
 
 Matt
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Darin Kohles
 Sent: Friday, February 24, 2006 8:41 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] SWF Object/Embed tags (Flex/Flex 2/Flash 7+)
 
 I recently had a colleague recommend not using the Embed tag for
 loading SWF files into html. I personally use swifs generated from
 multiple applications and I've currently got FP 8.5 on my main browser
 apps (IE/Moz-FF). I'm wondering if there is a definitive statement
 from someone who develops the applications in question
 (Cartman:'respect my authoritay') who can definately say what
 attributes/params are actually required and what are purely
 optional. Unfortunately for me, I have to check platform/browser
 compliance for everything I produce (IE 5 - mac!!!) so I'd like to not
 have conflicts.
 
 My most recent usage is the following:
 
 object width=760 height=580 data=/media/swf/vault.swf
 type=application/x-shockwave-flash id=vault name=vault
 param name=allowScriptAccess value=sameDomain/
 param name='FlashVars'
 value=clientID=10serverURL=http://idp05gwas.d-p.com;
 param name=movie value=/media/swf/vault.swf /
 param name=quality value=high /
 param name=bgcolor value=#ff /
 /object
 
 Changing/adding stuff gives me inconsistent behaviors. For example
 codebase and classid attributes of the object tag cause failures in
 Firefox and IE respectively. Maybe this is a DOCTYPE issue, but I
 really could use a difinitive answer from a TIC (Those/Them In Charge).
 
 Thanks for you 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







--
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] Flash Detection Option

2006-02-27 Thread Jonathan Miranda










Anyone else get this to actually work from the FB options? I
think the auto-installer option in FlexBuilder2 doesnt work with flash
player 8.5 alpha 3.since all my users are seeing solid blue screens
(meaning the script isnt triggering).

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.

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] Re: Anybody willing to field a Flex2/CF noobs architectural questions?

2006-02-27 Thread Renaun Erickson
Ian,

I use Flex2 and ColdFusion quite a bit, you can send me your files
with a couple of detailed questions and I'll see what I can do to help.

Renaun

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

 I am studying the phones example, the documentation, and all web
resources I know of as fast as I can in order to get my 25 year old
procedural head around these new Flex/OO concepts.
 
 My goal is to create a working mockup of an existing application I
wrote in CFML\HTML a few years ago.  I am having trouble finding the
information I need to get very far in this project.  I do not yet know
enough to even know where to begin.
 
 My first stumbling block, how does one retrieve multiple pieces of
data from the CFC backend?  Following the phones example and the
documentation I have successfully retrieved a simple array and
attached it to a tile list, but I also want a string label that
describes/names the dynamic data in the array.  I created a function
to return the string, but do not know how to connect this string to a
label control separately from the array which is connected to a tile
control at the same time.
 
 I can provide copies of my files to anybody willing to review them.
 I am not posting them here until I learn whether it is accepted or
not to post larger code examples to this list.
 
 Pointers to useful sections of the manual or other written resources
also gratefully accepted.
 
 TIA
 
 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
 
 -
 | 1 |   |
 -  Binary Soduko
 |   |   |
 -
  
 C code. C code run. Run code run. Please!
 - Cynthia Dunning








--
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 equivalent of remote-objects-debug

2006-02-27 Thread Renaun Erickson
In the Flex 2 Builder Beta 1 there are 2 ways to run it Normally and
in Debug mode.  Since its eclipse now the Debug mode has its own
Prespective also.

Renaun

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

 Is there an equivalent in Flex 2 of the remote-objects-debug
configuration
 element so that I can turn on debug output of the AMF data to/from my
 remote objects?
 
  
 
 Thanks,
 
  
 
 Jim
 
  
 
 -
 
 Jim Schneider
 
 KJ Interactive, Inc.
 
 1-877-370-6906
 
 1-612-605-5399








--
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 builder 1.5 or 2.0

2006-02-27 Thread oiland_barry
Hello everyone,

im new to the group and only just started using the whole Flex
environment and language in the past fewe weeks.  I can see the
advantages of using Flex for the GUI's that my system will use and
using Coldfusion cfc's to manipulate my database and data as a whole.

I am using Coldfusion to develop my main system and i intend to use
Flex to create some powerful GUI's.  However i have been having some
major problems getting to two to work together (cf/flex compiler
merge, Coldfusion cfc's as remote objects).

I have been using Flex Builder 1.5 for a few weeks now and im starting
to build what will be a pretty sophisticated application.  I have been
having a few problems with getting Coldfusion cfc/Remote Objects
working, thankfully i have got a quick fix so i can continue
developing my application for the time being, but i need to get this
problem sorted before i can deploy the system for production use.

My main question is what are the advantages of using Flex Builder 2.0
over 1.5, and indeed the Flex 2.0 language over 1.5.  I was about to
install Flex Builder 2.0 on my laptop to develop the system, but i
just got the remote objects/cfc's working so i thought that if it aint
broke dont fix it!

I am running the cf and flex as integrated JRun 4 servers on one
machine on my network, and i am developing and viewing the cf and flex
applications on my laptop.

Any comments would be helpful.

Thanks,

Barry





--
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] Coldfusion cfc's and Flex Remote Objects

2006-02-27 Thread oiland_barry
Hi,

i have successfully got this working (almost!) at long last. I am
running both my cf and flex as iintegrated JRun servers on my server
machine (port 8700 and 8500 respectively) and i am developing and
accessing the mxml files from my laptop.

I can get the echo cfc to work ok, and i also placed another cfc in
the same directory (plants.cfc) which seems to let me get flex and cf
communicating.

My problem is that when i try to use another cfc in another directory
(not \flex\remoting\samples\) flex doesnt seem to be able to
communicate at all, it just sits there with the busy symbol.

Im not sure whats going on, but i am sure that i have added the
appropriate code in the right places and all the configuration files
(flex's flex-config.xml, cf's gateway-config.xml) seem to be in order!

Its just not working at all and i cant continue developing until i can
reliably have access to the cfc's!

Also, the named remote objects are giving em a bit of trouble...
should i be pointing to the server name or localhost. When i use
localhost, flex doesnt seem to be able to talk to the cfc's, but when
i use the servers name (advent) it seems to work fine.

Basically i cant get my flex to talk to my cfc's when they are stored
in my main cfc directory. I have restarted both the cf and flex
servers on many occasions and i have also restarted the whole machine
on a few occasions just to be sure everything is initialised properly.
I'll give it another restart now just to see.

Please help,

Barry






--
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: RIA Certified Developer/Architect

2006-02-27 Thread Jonathan Miranda












Would also like to know this..if you
got a company willing to pay for training, take them up on it J

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brendan Meutzner
Sent: Monday, February 27, 2006
7:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: RIA
Certified Developer/Architect





I second this

Flex has been publicly released for almost 2 years
now, but we still
don't have a certification to strive for? 

Also, I've noticed individuals with the title of
Certified Flex
Instructor/Trainer or something to that
effect... What is it, and how
do I get it?

Thanks,

Brendan


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

 Still wondering why Adobe hasnt come out with
a certification track
 named similar as above :-)
 
 
 
 Regards














--
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] MXML file naming conventions

2006-02-27 Thread Sergey Kovalyov
Hi All!

Are there any widespread approach to name MXMLs? I rely on this document
http://www.macromedia.com/devnet/flash/articles/as_bestpractices_02.html,
but still I don't know the best way to assign names to MXMLs. May be
ClassFunctionClassType.mxml (e. g. UserProfilePage.mxml, where UserProfile
is class function and Page is class type)?

Sergey.



--
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] Coldfusion cfc's and Flex Remote Objects

2006-02-27 Thread Dekayd Media Inc.
Is your main CFC directory under your webroot or is it setup in the CF
Admin?

Did you setup a crossdomain policy file on your coldfusion instance?

If your cfc's are on your server then you should be using your servername in
the connection URL or a domain name if you have one pointed at that server.



--Kelly







-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of oiland_barry
Sent: Monday, February 27, 2006 8:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Coldfusion cfc's and Flex Remote Objects

Hi,

i have successfully got this working (almost!) at long last. I am
running both my cf and flex as iintegrated JRun servers on my server
machine (port 8700 and 8500 respectively) and i am developing and
accessing the mxml files from my laptop.

I can get the echo cfc to work ok, and i also placed another cfc in
the same directory (plants.cfc) which seems to let me get flex and cf
communicating.

My problem is that when i try to use another cfc in another directory
(not \flex\remoting\samples\) flex doesnt seem to be able to
communicate at all, it just sits there with the busy symbol.

Im not sure whats going on, but i am sure that i have added the
appropriate code in the right places and all the configuration files
(flex's flex-config.xml, cf's gateway-config.xml) seem to be in order!

Its just not working at all and i cant continue developing until i can
reliably have access to the cfc's!

Also, the named remote objects are giving em a bit of trouble...
should i be pointing to the server name or localhost. When i use
localhost, flex doesnt seem to be able to talk to the cfc's, but when
i use the servers name (advent) it seems to work fine.

Basically i cant get my flex to talk to my cfc's when they are stored
in my main cfc directory. I have restarted both the cf and flex
servers on many occasions and i have also restarted the whole machine
on a few occasions just to be sure everything is initialised properly.
I'll give it another restart now just to see.

Please help,

Barry






--
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] Coldfusion cfc's and Flex Remote Objects

2006-02-27 Thread Benoit Hediard
First thing to check is to see if you can call your cfcs with a regular http
call :
http://localhost/flex/remoting/samples/SomeService.cfc

To start with Flex/CF connectivity, do not use named remote objects.
Simply use the default ColdFusion destination (defined when installing the
updater) + source attribute.

Ex.:
mx:RemoteObject id=someService
destination=ColdFusion
source=flex.remoting.samples.SomeService /

Benoit Hediard

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de oiland_barry
Envoyé : lundi 27 février 2006 16:11
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Coldfusion cfc's and Flex Remote Objects

Hi,

i have successfully got this working (almost!) at long last. I am running
both my cf and flex as iintegrated JRun servers on my server machine (port
8700 and 8500 respectively) and i am developing and accessing the mxml files
from my laptop.

I can get the echo cfc to work ok, and i also placed another cfc in the same
directory (plants.cfc) which seems to let me get flex and cf communicating.

My problem is that when i try to use another cfc in another directory (not
\flex\remoting\samples\) flex doesnt seem to be able to communicate at all,
it just sits there with the busy symbol.

Im not sure whats going on, but i am sure that i have added the appropriate
code in the right places and all the configuration files (flex's
flex-config.xml, cf's gateway-config.xml) seem to be in order!

Its just not working at all and i cant continue developing until i can
reliably have access to the cfc's!

Also, the named remote objects are giving em a bit of trouble...
should i be pointing to the server name or localhost. When i use localhost,
flex doesnt seem to be able to talk to the cfc's, but when i use the servers
name (advent) it seems to work fine.

Basically i cant get my flex to talk to my cfc's when they are stored in my
main cfc directory. I have restarted both the cf and flex servers on many
occasions and i have also restarted the whole machine on a few occasions
just to be sure everything is initialised properly.
I'll give it another restart now just to see.

Please help,

Barry






--
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: Flex 2 equivalent of remote-objects-debug

2006-02-27 Thread Peter Farland
Also note that for client side logging without Flex 2 Builder, a generic
logging mechanism has been introduced which is used by all messaging
based services, including RPC services such as RemoteObject. One logging
target implementation is the TraceTarget which traces log messages out
to the flashlog.txt file with the debug version of the player. Try
adding the following into your MXML in Flex 2:

mx:TraceTarget level=0 /

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Renaun Erickson
Sent: Monday, February 27, 2006 11:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex 2 equivalent of remote-objects-debug

In the Flex 2 Builder Beta 1 there are 2 ways to run it Normally and in
Debug mode.  Since its eclipse now the Debug mode has its own
Prespective also.

Renaun

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

 Is there an equivalent in Flex 2 of the remote-objects-debug
configuration
 element so that I can turn on debug output of the AMF data to/from 
 my remote objects?
 
  
 
 Thanks,
 
  
 
 Jim
 
  
 
 -
 
 Jim Schneider
 
 KJ Interactive, Inc.
 
 1-877-370-6906
 
 1-612-605-5399








--
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: RIA Certified Developer/Architect

2006-02-27 Thread JesterXL





...both of you, Jonathan and Brendan, have good 
attitudes, and contribute to this list. Both of those facts alone would 
cause me to hire you in a heartbeat.

However, if you are looking for the sense of 
accomplishment, ability to represent bigger companies, and the resume addition, 
then I understand.

- Original Message - 
From: Jonathan 
Miranda 
To: flexcoders@yahoogroups.com 
Sent: Monday, February 27, 2006 11:40 AM
Subject: RE: [flexcoders] Re: RIA Certified 
Developer/Architect



Would also like to know 
this…..if you got a company willing to pay for training, take them up on it 
J
_
Jonathan 
Miranda
Flexible 
Master of the Web
"In the game of 
chess, it's important to never let your opponent see your 
pieces."
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.




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Brendan 
MeutznerSent: Monday, February 
27, 2006 7:47 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: RIA Certified 
Developer/Architect

I second thisFlex has been publicly released for almost 2 years now, but 
we stilldon't have a certification 
to strive for? Also, I've 
noticed individuals with the title of "Certified FlexInstructor/Trainer" or something to that effect... What is 
it, and howdo I get 
it?Thanks,Brendan--- In flexcoders@yahoogroups.com, "Tolulope Olonade" 
[EMAIL PROTECTED]wrote: Still 
wondering why Adobe hasnt come out with a certification 
track named similar as above 
:-)   
 
Regards





--
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: RIA Certified Developer/Architect

2006-02-27 Thread Jonathan Miranda












Ironically, most flex developers I know
outside this list are like flexcoders? Whats that? 
Ive found using this list gives me the ability to say thats
possible a lot more.of course, most of the solutions are funky
since were still in Beta J Work with what you got though.

And hey, if someone out there is hiring then feel free to ask J (by the way, neat
Airplane game Jester)

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Monday, February 27, 2006
9:51 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: RIA
Certified Developer/Architect







...both of you, Jonathan and Brendan, have good attitudes,
and contribute to this list. Both of those facts alone would cause me to
hire you in a heartbeat.











However, if you are looking for the sense of accomplishment,
ability to represent bigger companies, and the resume addition, then I
understand.











- Original Message - 



From: Jonathan
Miranda 





To: flexcoders@yahoogroups.com






Sent: Monday, February
27, 2006 11:40 AM





Subject: RE: [flexcoders]
Re: RIA Certified Developer/Architect













Would also like to know this..if
you got a company willing to pay for training, take them up on it J

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brendan Meutzner
Sent: Monday, February 27, 2006
7:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: RIA
Certified Developer/Architect





I second this

Flex has been publicly released for almost 2 years
now, but we still
don't have a certification to strive for? 

Also, I've noticed individuals with the title of
Certified Flex
Instructor/Trainer or something to that
effect... What is it, and how
do I get it?

Thanks,

Brendan


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

 Still wondering why Adobe hasnt come out with
a certification track
 named similar as above :-)
 
 
 
 Regards
















--
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]
  

RE: [flexcoders] Flex builder 1.5 or 2.0

2006-02-27 Thread Jonathan Miranda










Flex Builder 2 has so many neat little
tweaks that make coding life a lot smoother. Just from personal preference

Alt+ (left-arrow/right-arrow)

Control-click on code

Shift-f2

Control-O (huge timesaver)

Control-shift-T


Besides the builder, Flex2 is a lot cleaner in figuring stuff out
 and a lot more functionality has been standardized  added. It is
still in beta, so there are some hiccups but Ive found its worth
the minor issues to upgrade most of my apps.



_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of oiland_barry
Sent: Monday, February 27, 2006
8:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex builder
1.5 or 2.0





Hello everyone,

im new to the group and only just started using
the whole Flex
environment and language in the past fewe
weeks. I can see the
advantages of using Flex for the GUI's that my
system will use and
using Coldfusion cfc's to manipulate my database
and data as a whole.

I am using Coldfusion to develop my main system
and i intend to use
Flex to create some powerful GUI's. However
i have been having some
major problems getting to two to work together (cf/flex
compiler
merge, Coldfusion cfc's as remote objects).

I have been using Flex Builder 1.5 for a few weeks
now and im starting
to build what will be a pretty sophisticated
application. I have been
having a few problems with getting Coldfusion
cfc/Remote Objects
working, thankfully i have got a quick fix so i
can continue
developing my application for the time being, but
i need to get this
problem sorted before i can deploy the system for
production use.

My main question is what are the advantages of
using Flex Builder 2.0
over 1.5, and indeed the Flex 2.0 language over
1.5. I was about to
install Flex Builder 2.0 on my laptop to develop
the system, but i
just got the remote objects/cfc's working so i
thought that if it aint
broke dont fix it!

I am running the cf and flex as integrated JRun 4
servers on one
machine on my network, and i am developing and
viewing the cf and flex
applications on my laptop.

Any comments would be helpful.

Thanks,

Barry











--
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] Flex2: DateField formatFunction bug

2006-02-27 Thread Benoit Hediard
I've encountered this annoying bug today.
When using the formatFunction attribute of DateField, when the component
looses its focus, it erases the date text field.
 
To reproduce the problem, simply execute the following code from LiveDocs,
select a date and move the focus to the other text input:
mx:DateFormatter id=dfconv formatString=/MM/DD/
mx:Script
![CDATA[
private function formatDate(date:Date):String
{
return dfconv.format(date);
} 
]]
/mx:Script

mx:DateField id=df formattingFunction=formatDate /

mx:TextInput /

There is a simple workaround, but it does not work all the time:
mx:DateFormatter id=dfconv formatString=/MM/DD/
mx:Script
![CDATA[
private function formatDate(date:Date):String
{
return dfconv.format(date);
}

private function onChange():void {
df.text = formatDate(df.selectedDate);
}
]]
/mx:Script

mx:DateField id=df change=onChange() /

mx:TextInput /

Benoit Hediard



 
 




--
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] Focus within the Browser

2006-02-27 Thread Claudia Barnal
How can I know if the Application has the focus within the Browser.

I need to do something like this:

if ( playerHasFocus == true )
{
myMC._visible = true;
}
else
{
myMC._visible = false;
}

Thanks,
Claudia


--
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] Focus within the Browser

2006-02-27 Thread Jonathan Miranda












On a similar note, anyone know how to send
certain key-strokes back to the browser when it has focus? I use control-t
religiously for tabbing in Firefox and its really annoying when the
flash video sucks those in  rather it somehow gets passed back to the
browser

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Claudia Barnal
Sent: Monday, February 27, 2006
10:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Focus within
the Browser





How can I know if the
Application has the focus within the Browser.

I need to do something like this:

if ( playerHasFocus == true )
{
 myMC._visible =
true;
}
else
{
 myMC._visible = false;
}

Thanks,
Claudia








--
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] Using getURL

2006-02-27 Thread is_loxtan
Hi.

I'm a beginner in Flex.

I need to do an application very easy but my experience in this is a 
little.

I need a JSP where use a application Flex and I can load a file.
I need select a file in a browse window.

I have this code, please help me is urgent, if you can send me the 
help in spanish would be wonderful. you can see my english is not 
perfect.

%@ taglib uri=FlexTagLib prefix=mm %
%@ page contentType=text/html; charset=iso-8859-1 
language=java 
import=java.util.* 
errorPage= %

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 
Transitional//EN http://www.w3.org/TR/html4/loose.dtd;
html
head
titleSubir Archivo al Repositorio/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-
1
link rel=stylesheet href=css/estilo.css type=text/css
script language=Javascript src=js/valida.js/script
script language=Javascript
  var uploadform;
  
  function validacion() {
with (window.document.formulario) {
  if (esNulo(file,Archivo)) return false;
}
  }

/script
/head

body
form action=%= request.getContextPath() %/expedienteUpload 
method=post enctype=multipart/form-data name=formulario 
onSubmit=return validacion();
  table width=90%  border=0 align=center cellpadding=0 
cellspacing=0
tr
  td
mm:mxml
  mx:Application 
xmlns:mx=http://www.macromedia.com/2003/mxml; 
backgroundColor=#FF height=300 width=100% 
horizontalAlign=center
 mx:VBox horizontalAlign=center
   mx:Label text=Alta de Archivo 
fontSize=13/  
   mx:Link label=Consulta click= 
color=#0033FF fontSize=10/
 mx:VBox borderStyle=solid 
marginBottom=10
 mx:HBox backgroundColor=#CC
   mx:Label text=Datos width=355/
 /mx:HBox
 mx:HBox
   mx:Label text=Archivo:/
   mx:TextInput width=214/
   mx:Button label=Browse click=getURL
('javascript:browse()')/
 /mx:HBox
 mx:HBox
   mx:Label text=Observación:/
   mx:TextArea width=261 height=65 
vScrollPolicy=auto hScrollPolicy=auto/
 /mx:HBox
 mx:HBox width=348 
horizontalAlign=right
   mx:Button label=Guardar 
click=mx.controls.Alert.show('aki se guardará') height=20/
 /mx:HBox
 /mx:VBox
/mx:VBox
  /mx:Application
/mm:mxml
  /td
/tr
  /table
/form
/body
/html

---
you can find me in msn [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] Flex2: DateField formatFunction bug

2006-02-27 Thread Alberto Albericio Salvador
I found the same bug some weeks ago. I cant use the formattingFunction 
and I hope it gets fixed soon

Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



Benoit Hediard escribió:
 I've encountered this annoying bug today.
 When using the formatFunction attribute of DateField, when the component
 looses its focus, it erases the date text field.
  
 To reproduce the problem, simply execute the following code from LiveDocs,
 select a date and move the focus to the other text input:
 mx:DateFormatter id=dfconv formatString=/MM/DD/
 mx:Script
 ![CDATA[
 private function formatDate(date:Date):String
 {
   return dfconv.format(date);
 } 
 ]]
 /mx:Script

 mx:DateField id=df formattingFunction=formatDate /

 mx:TextInput /

 There is a simple workaround, but it does not work all the time:
 mx:DateFormatter id=dfconv formatString=/MM/DD/
 mx:Script
 ![CDATA[
 private function formatDate(date:Date):String
 {
   return dfconv.format(date);
 }

 private function onChange():void {
   df.text = formatDate(df.selectedDate);
 }
 ]]
 /mx:Script

 mx:DateField id=df change=onChange() /

 mx:TextInput /

 Benoit Hediard



  
  




 --
 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: mx:TitleWindow -- SizeGrip?

2006-02-27 Thread Doug Lowder
Been meaning to post this for a while now.  Here's a version of 
Andrew Spaulding's resizable TitleWindow with quite a few 
enhancements.  You'll need to get the buttons.swf and wedge.png 
resources from the download at www.flexdaddy.info.  Also, create 
your own arrow*.* drag cursor images yourself, which should be easy 
enough to do.

Here's the updated code, along with supporting mxml and a sample 
app.  Feel free to use and/or modify as you see fit.  And if you 
make any useful enahncements to it, please post!  :)

- Doug

PopupWindow.as:
--
/*---
-
RESIZABLE AND COLLAPSABLE TitleWindow (6/3/05 Andrew Spaulding) - 
Original
Updated by Doug Lowder, 2/27/2006
   
Ported from  -
Manish Jethani's ResizableTitleWindow
http://manish.revise.org/archives/2005/01/09/resizable-titlewindow-
in-flex/

Jesse Warden's CollapsablePanel mixin.
http://dev.jessewarden.com/flex/collapsablepanel/
   
Other concepts taken from Christophe Coenraets Pod implementation.
http://www.coenraets.com/viewarticle.jsp?articleId=89

This Class is a mixture of all the above implementations.
Unlike the Pod implementation this component will move the buttons 
to the right 
when other buttons are disabled.  This is a quick fix and could be 
written much 
smarter.
   
PLEASE NOTE - This is a work in progress. You may use and modify 
this code
  wherever you wish. Please check back at 
www.flexdaddy.info
  for any future updates on this component.
 
TO DO - 
1. Combine all assets into one .swf
2. Anything else that needs fixing :-p
   
-
---*/

import mx.core.UIComponent;
import mx.containers.TitleWindow;
import mx.controls.SimpleButton;
import mx.controls.Image;
import mx.effects.Resize;
import mx.managers.CursorManager;
import mx.managers.DepthManager;
import mx.utils.Delegate;
import fast.echo.Echo;


[Event(WND_CREATE)]
[Event(WND_CLOSE)]
[Event(WND_EDIT)]
[Event(WND_MAXIMIZE)]
[Event(WND_MINIMIZE)]
[Event(WND_FOCUS)]
[Event(WND_RESIZE_START)]
[Event(WND_RESIZE)]
[Event(WND_RESIZE_END)]
[Event(WND_BLUR)]
[Event(WND_MOVE)]


class PopupWindow extends TitleWindow {

// Skins
[Embed(/WEB-
INF/flex/user_classes/info/flexdaddy/utils/buttons.swf#minibutton_dow
n)]
var buttonDownSkin:String;
[Embed(/WEB-
INF/flex/user_classes/info/flexdaddy/utils/buttons.swf#minibutton_ove
r)]
var buttonOverSkin:String;
[Embed(/WEB-
INF/flex/user_classes/info/flexdaddy/utils/buttons.swf#minibutton_emp
ty)]
var buttonEmptySkin:String;
[Embed(/WEB-
INF/flex/user_classes/info/flexdaddy/utils/arrowDiag2.gif)]
var diagonalResizeSkinRight : String;
[Embed(/WEB-
INF/flex/user_classes/info/flexdaddy/utils/arrowDiag1.gif)]
var diagonalResizeSkinLeft : String;
[Embed(/WEB-
INF/flex/user_classes/info/flexdaddy/utils/arrowLeftRight.gif)]
var horizontalResizeSkin : String;
[Embed(/WEB-
INF/flex/user_classes/info/flexdaddy/utils/arrowUpDown.gif)]
var verticalResizeSkin : String;
[Embed(/WEB-
INF/flex/user_classes/info/flexdaddy/utils/wedge.png)]
var resizeHandleSkin : String;


// Icons
[Embed(/WEB-
INF/flex/user_classes/info/flexdaddy/utils/buttons.swf#edit_icon)]
var buttonEditIcon:String;
[Embed(/WEB-
INF/flex/user_classes/info/flexdaddy/utils/buttons.swf#down_icon)]
var buttonUpIcon:String;
[Embed(/WEB-
INF/flex/user_classes/info/flexdaddy/utils/buttons.swf#up_icon)]
var buttonDownIcon:String;


// Cursor vars
var cursorId : Number = null;
var isHandleDragging : Boolean = false;
var handleEdge : Number = EDGE_NONE;

// Constants for window edges (see 'handleEdge')
static var EDGE_NONE : Number   = 0;
static var EDGE_RIGHT : Number  = 1;
static var EDGE_LEFT : Number   = 2;
static var EDGE_TOP : Number= 3;
static var EDGE_BOTTOM : Number = 4;
static var EDGE_TOP_RIGHT : Number  = 5;
static var EDGE_TOP_LEFT : Number   = 6;
static var EDGE_BOTTOM_RIGHT : Number   = 7;
static var EDGE_BOTTOM_LEFT : Number= 8;


// Define which buttons are available in the PopupWindow header
// var closeButton inherited from TitleWindow
var editButton : Boolean = false;
var stateButton : Boolean = false;

// Opacity of window when being moved by the user
var dragAlpha : Number = 100;

// Effect to play when window is created
// Currently supports Zoom, Fade, Dissolve, and none
var popupEffect : String = Zoom;


// Original window title
var windowTitle:String;


// Header Buttons
private var sbEdit : SimpleButton;
private var sbStateUp : SimpleButton;
private var sbStateDown : SimpleButton;
private var numButtons : Number;

[flexcoders] Re: Flex2 Tree Bug crashes browser

2006-02-27 Thread sufibaba
Hi Matt,

The node has not been added anywhere else.  I've modified the Tree
example from the Flex Sample Explorer to duplicate the problem I am
having in my App and it is exhibiting the same behavior.

- tree.mxml 

?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
creationComplete=srv.send()

mx:Script
![CDATA[

[Bindable]
public var selectedNode:Object;

[Bindable]
public var XLC:XML;

public function initList(event:Event)
{
XLC = event.target.result;
}

public function treeChanged(event:Event) {
selectedNode=Tree(event.target).selectedNode;
}

public function  addNewNode() // 
{
//var myXML:XML = model.templateLayout.treeData;


var newItem:XML = node label=new node/

var newNodeAdded:XML = selectedNode.appendChild(newItem);
//Alert.show (Tree changeEvt :  + newNodeAdded.toXMLString());
selectedNode = newNodeAdded;

myTree.selectedNode = selectedNode;
}



 ]]
/mx:Script

mx:HTTPService id=srv url=../assets/tree.xml resultFormat=e4x
result=initList(event)/

mx:Button label=addnewnode id=newadd click=addNewNode() /

mx:HDividedBox width=100% height=100%
mx:Tree id=myTree width=50% height=100% labelField=@label
rootVisible=false dataProvider={XLC}
change=treeChanged(event)/
mx:TextArea height=100% width=50%
text=Selected Item: [EMAIL PROTECTED]/
/mx:HDividedBox

/mx:Application


 assets/tree.xml 

?xml version=1.0 encoding=utf-8?
node

node label=Mail Box
node label=Inbox
node label=Marketing/
node label=Product Management/
node label=Personal/
/node
node label=Outbox
node label=Professional/
node label=Personal/
/node
node label=Spam/
node label=Sent/
/node

/node

-

I tried both IE and Firefox on winXP and this bug crashes both
browsers when a new node is appended to a leaf node.

Is there a possible work around for this bug do you think?

Cheers,

Tim





--
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: Full dynamic tree example

2006-02-27 Thread Michael Montagna
For the record, one way to fetch tree children on demand, is to pin
the top level nodes to your Tree and then subclass the datadescriptor
getChildren.  

In getChildren you'd run the service calls and return the appropriate
children.  

-Michael


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

 Hello fellow Flex coders!  Greetings from the frozen state of Utah.
 
 Well, I'm stuck.  I see a lot of people asking for examples of how
to do a
 dynamic tree.  Dynamic as in JUST loading the first level of nodes,
and when
 the user opens a node, it calls back to the server, gets it's
children, and
 adds them to the tree dynamically.
 
 (The reason I can't load the tree all at once is because it can be
 recursive, so the tree would go forever.)
 
 Anyway, I have searched the list archive and I see a LOT of answers with
 either a quick explanation or tiny partial code snippet, but have yet to
 find a COMPLETE running example.  Every time I find what I'm looking
for via
 Google, it links back to a certain pay site and I can't justify $250
for a
 few lines of example code.
 
 Does anyone know of a fully working dynamic tree example with source?
 
 I'm POSITIVE it's right under my nose and I'll feel like a twinkie
when it's
 pointed out to me.  :(
 
 Thanks ya'all
 -Pat Buchanan







--
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] Newbie: load external xml problem

2006-02-27 Thread revanisle
Hi all,
  I'm new to Flex and AS3 (well, I guess everyone's new to AS3) and
am having difficulty with what should be basic and simple - loading an
external xml file.  I can't even get the examples in Help to work
(Flex 2beta):

1 var externalXML:XML;
2 var loader:URLLoader = new URLLoader();
3 var request:URLRequest = new URLRequest(xmlFile.xml);
4 loader.load(request);
5 loader.addEventListener(EventType.COMPLETE, onComplete);
6 
7 function onComplete(event:Event):Void{
8 var loader:URLLoader = URLLoader(event.target);
9 externalXML = new XML(loader.data);
10trace(externalXML.toXMLString());
11 }

This gives me an error at line 7 - Void is not a compile time constant.
If I change that to lowercase void (or any other valid constant) or
remove the type declaration :Void altogether I get two errors at lines
4 and 5 telling me that request and loader are undefined
properties, even though they're defined immediately above.  What
gives?  and thanks in advance for your help!

Rick Englert






--
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] Newbie: load external xml problem

2006-02-27 Thread Jonathan Miranda












Unless Im missing something, you could
use a mx:Model source=xmlFile.xml and use onComplete
eventsor if its in a url, use a HttpService to call it in. Heres
what Id do:

mx:HttpService url="" result=trace(result.toXMLstring());/



_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of revanisle
Sent: Monday, February 27, 2006
12:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Newbie: load
external xml problem





Hi all,
 I'm new to Flex and AS3 (well, I guess
everyone's new to AS3) and
am having difficulty with what should be basic and
simple - loading an
external xml file. I can't even get the
examples in Help to work
(Flex 2beta):

1 var externalXML:XML;
2 var loader:URLLoader = new URLLoader();
3 var request:URLRequest = new
URLRequest(xmlFile.xml);
4 loader.load(request);
5 loader.addEventListener(EventType.COMPLETE,
onComplete);
6 
7 function onComplete(event:Event):Void{
8 var loader:URLLoader =
URLLoader(event.target);
9 externalXML = new
XML(loader.data);
10
trace(externalXML.toXMLString());
11 }

This gives me an error at line 7 - Void is not a
compile time constant.
If I change that to lowercase void (or any other
valid constant) or
remove the type declaration :Void altogether I get
two errors at lines
4 and 5 telling me that request and
loader are undefined
properties, even though they're defined
immediately above. What
gives? and thanks in advance for your help!

Rick Englert












--
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] Newbie: load external xml problem

2006-02-27 Thread Roger Gonzalez
I think some of the docs are obsolete.

It appears to me that lines 4 and 5 aren't actually in a function
definition, which means that they are in the static context of the
surrounding class (you -are- putting this in a class, right?  Flex
doesn't support loose code.)

In that case, request does -not- exist, because its an instance var.

Also, you need to make sure you have 

import flash.net.URLLoader; 
import flash.net.URLRequest;

in your file somewhere.

Also, I think that you'll need to add the COMPLETE event listener to
loader.loadeeInfo rather than just loader.  (I just hit this one
myself!)

-rg

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of revanisle
 Sent: Monday, February 27, 2006 11:44 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Newbie: load external xml problem
 
 Hi all,
   I'm new to Flex and AS3 (well, I guess everyone's new to 
 AS3) and am having difficulty with what should be basic and 
 simple - loading an external xml file.  I can't even get the 
 examples in Help to work (Flex 2beta):
 
 1 var externalXML:XML;
 2 var loader:URLLoader = new URLLoader();
 3 var request:URLRequest = new URLRequest(xmlFile.xml);
 4 loader.load(request);
 5 loader.addEventListener(EventType.COMPLETE, onComplete);
 6
 7 function onComplete(event:Event):Void{
 8 var loader:URLLoader = URLLoader(event.target);
 9 externalXML = new XML(loader.data);
 10trace(externalXML.toXMLString());
 11 }
 
 This gives me an error at line 7 - Void is not a compile time 
 constant.
 If I change that to lowercase void (or any other valid 
 constant) or remove the type declaration :Void altogether I 
 get two errors at lines
 4 and 5 telling me that request and loader are undefined 
 properties, even though they're defined immediately above.  
 What gives?  and thanks in advance for your help!
 
 Rick Englert
 
 
 
 
 
 
 --
 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] Flex2 :: Button :: Custom Skin Classes

2006-02-27 Thread Teoti Graphix



Hello,

I know in previous incarnations of the Button, you would subclass
RectBorder and create a switch or conditional statement based on the
borderStyle which actually showed what 'phase' the button is in.

I see that the phase property now is protected. So we can't call paret.phase in the RectBorder skin class.

What is the correct way of subclassing the RectBorder for the skin styles of mx.controls.Button ?

I traced the borderStyle and came up with inset which is obviously a default that means nothing.

Any ideas adobe ?

Peace, Mike






--
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] HorizontalList scroll question

2006-02-27 Thread Graham, Jason










I have a horizontal list that is scrolling, is there a way
to programmatically select an item and have it scroll to that selected item? 



I tried doing something like this.



myHorizontalList.hPosition = mySelectedItemsIndex;



That doesnt seem to do anything and if I just set the
selectedItem its selected just not scrolled to.



Thanks













--
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: SWF Object/Embed tags (Flex/Flex 2/Flash 7+)

2006-02-27 Thread John Dowdell
Darin Kohles wrote:
 As I mentioned, my
 colleague had read an article about dropping the Embed tag, so I
 thought I'd ask for the Official word on the subject.

Yes, Drew McLellan's Flash Satay article has been highly linked. Drew 
was seeking to make pages which make the validators happy by not 
including EMBED. He tested for simple visibility of SWF with only OBJECT 
in some undetermined browsers... I think he later named some of the 
browsers where he saw the SWF.

But to my knowledge no one has done ongoing work against the various 
browser brands, in their various versions on the various platforms, in 
various HTML environments (inside DIV, with certain alignments, etc), 
with the full range of browser-dependent features (printing, JavaScript 
communication, data-passing etc).

The best list I've seen about various browser differences when invoking 
plugins through OBJECT rather than their documented EMBED was at Geoff 
Stearn's place last spring... link and synopsis here:
http://weblogs.macromedia.com/jd/archives/2005/06/browser_object.cfm

Summary: Until the browser vendors say they take responsibility for 
correctly invoking plugins via OBJECT, I'd have to urge staying with 
their documented EMBED. There are tricks to keep the validators happy 
when using that tag (dynamic JS writes, etc), but the core problem of 
the HTML 4.0 de jure spec disallowing the de facto standard of the day 
still has repercussions, even here in 2006.

jd





-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


--
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] Developing Rich Clients book

2006-02-27 Thread Tariq Ahmed
It's an excellent book I have to say, but keep in mind that it was 
written for Flex 1.0, so some of the examples break in 1.5, and a lot of 
them need to be re-written for 2.0.

Besides the examples, it's the concepts that are very important, and 
provide the reader of what features are available in Flex, and how they 
work generally. Though at this point in time, I'd wait for a 2.0 book 
since architecturally a lot of things have changed fundamentally since 1.0.


pixelgeek wrote:
 Maybe a potentially touchy subject considering the group mods but is
 the Developing Rich Clients with Macromedia Flex book a worthwhile
 purchase now? 

 I ask primarily because I am not able to get the sample app from
 Chapter 2 to run (or compile) and if the rest of the book has similar
 issues due to the changes to Flex and MXML (note: I don't see this as
 an issue with the authors or the book just a fact of life) I am not
 sure the point behind continuing to work through it.

 So are the rest of the samples in the book salvagable or has the
 language changed that much that I will run into similar issues through
 the rest of the book?

 TI
   




--
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 2 Compiler bug?

2006-02-27 Thread Bruce Eckel



Try compiling the following mxml file, for any embedded SWF file (here called slide01.swf):?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=
http://www.macromedia.com/2005/mxmlmx:TitleWindow mx:Image id=currentSlide width=720 height=540 source=@Embed('slide01.swf')/
/mx:TitleWindow/mx:ApplicationMy output was:$ mxmlc BugTest.mxmlLoading configuration file D:\Flex\Flex Framework 2\frameworks\flex-config.xml,root element flex-configInitial setup: 422ms
Loaded 6 SWCs: 860msLicense Service: Flex 2.0 Developer Edition enabled (beta period ends May 1, 2006)Compiling...Error: symbol 13 not definedjava.lang.IllegalArgumentException: symbol 13 not defined
 at macromedia.swf.Dictionary.getTag(Dictionary.java:156) at macromedia.swf.TagDecoder.decodePlaceObject23(TagDecoder.java:1256) at macromedia.swf.TagDecoder.decodeTag(TagDecoder.java:257)
 at macromedia.swf.TagDecoder.decodeTags(TagDecoder.java:164) at macromedia.swf.TagDecoder.decodeDefineSprite(TagDecoder.java:2480) at macromedia.swf.TagDecoder.decodeTag(TagDecoder.java:275)
 at macromedia.swf.TagDecoder.decodeTags(TagDecoder.java:164) at macromedia.swf.TagDecoder.decodeDefineSprite(TagDecoder.java:2480) at macromedia.swf.TagDecoder.decodeTag(TagDecoder.java:275)
 at macromedia.swf.TagDecoder.decodeTags(TagDecoder.java:164) at macromedia.swf.TagDecoder.parse(TagDecoder.java:117) at flex2.compiler.media.MovieTranscoder.doTranscode(MovieTranscoder.java
:87) at flex2.compiler.media.AbstractTranscoder.transcode(AbstractTranscoder.java:118) at flex2.compiler.as3.EmbedUtil.transcode(EmbedUtil.java:110) at flex2.compiler.as3.EmbedEvaluator.generateSource
(EmbedEvaluator.java:285) at flex2.compiler.as3.EmbedEvaluator.generateSources(EmbedEvaluator.java:356) at flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:88) at macromedia.asc.parser.ClassDefinitionNode.evaluate
(ClassDefinitionNode.java:86) at macromedia.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:324) at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:34)
 at macromedia.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:904) at flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:270) at macromedia.asc.parser.ProgramNode.evaluate
(ProgramNode.java:63) at flex2.compiler.as3.EmbedExtension.parse(EmbedExtension.java:33) at flex2.compiler.as3.Compiler.parse(Compiler.java:196) at flex2.compiler.mxml.ImplementationCompiler.parse
(ImplementationCompiler.java:153) at flex2.compiler.mxml.Compiler.parse(Compiler.java:73) at flex2.compiler.API.parse(API.java:1104) at flex2.compiler.API.parse(API.java:1072) at 
flex2.compiler.API.batchInner(API.java:156) at flex2.compiler.API.batch(API.java:260) at flex2.compiler.API.compile(API.java:361) at flex2.compiler.API.compile(API.java:289) at 
flex2.tools.Compiler.main(Compiler.java:167)$Peak memory usage: 54 MB (Heap: 35, Non-Heap: 19)-- Bruce Eckel






--
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] Mono MP3s (bug?)

2006-02-27 Thread Bruce Eckel



Has anyone else seen this behavior:I have an application that uses Flash 8.5's built-in MP3 player. When the MP3 is a stereo file, it works fine. When I convert the MP3 to a mono file, the file plays in speeded-up mode (a la The Chipmunks).
-- Bruce Eckel






--
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] URL Loader with CGI

2006-02-27 Thread eguinaldoms
Hi, i'm use the flex 1.5 and the Loadvars to work with CGI file now i
chage to version 2 beta and my function to work with CGI don work
anymore !

How i can work with CGI in flex 2.0 Beta ?

function chamarcobol() {
var url:String = http://10.0.0.244/cgi-bin/sfexx001; ;
var my_lv:LoadVars = new LoadVars();
my_lv.REPTRF = CODREP.text;;
my_lv.EMPTRF = CODFILIAL.text;
my_lv.FLDRES = 123;
my_lv.onLoad = function(Ok){
if(Ok) {
_level0.depthChild0.NOMREP.text = my_lv.FLDRES;
} else {
mx.controls.Alert.show('Não foi possivel enviar os
dados ao servidor ! /n Tente mais tarde ou entre em contato com o
suporte.', 'Erro'); }

my_lv.sendAndLoad(url,my_lv);
break; }


Please how i can use now to make the same thing ?


Tnks 

Eguinaldo Marques






--
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] Reading or Embedding SWFs?

2006-02-27 Thread Bruce Eckel



I'm creating an app that displays SWF slides and plays MP3 files associated with those slides. When I create this application under Flexbuilder, at runtime it opens the external SWF slide files and plays the MP3 files just fine. But when I move the application to a different directory (containing the expected SWFs and MP3s) I get a runtime error complaining about loading the SWF files. Even stranger is the fact that the security message is only complaining about loading SWF files from the local directory. When I comment out the SWF file loading, it's perfectly happy to load MP3 files from the local directory. 

I've tried a number of experiments, including copying the SWF file from the directory where flexbuilder creates it (where it works) to a different directory (where it pops up a security message). I don't know if this is expected behavior or a bug, but if it is expected behavior then I think I could solve it if I can compile the SWF files into the app instead of having them as separate files, but I don't know how to do that (and note my previous message about an apparent bug in the @Embed command).


I'd be perfectly happy to compile the external SWF slides directly into the application as some kind of array of images (thus solving the access problem), but so far I haven't been able to figure out how to do that. Any hints would be greatly appreciated.
-- Bruce Eckel 






--
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] DG display with xml and webservice

2006-02-27 Thread Jeremy Rottman
I am using a webservice to call a function from my cfc that returns
data as xml. When the data results are received, I convert the results
into an array named agents. I am trying to populate my dg with the
array. When I click on the dg I am calling the function
agentDisplayQry. Which calls the function in my cfc. However, I cant
get this to work. Can someone help me with this.

Here is what I am trying.

mx:Script

  import mx.collections.ArrayCollection;
  [Bindable]
  public var agents:ArrayCollection;

/mx:Script

mx:WebService id=srv 
useProxy=false 
wsdl=http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl; 
result=agents = new
ArrayCollection(srv.agentDisplayQry.result.list.employee)
showBusyCursor=true /

Then I am using this dg to display the information.
mx:DataGrid x=18 y=291 width=695
click=agentDisplayQry(fileNum.text)   
dataProvider={agents}
height=192 id=datagrid1mx:columns
mx:DataGridColumn headerText=Agent Name width=275 
columnName=agentName/
mx:DataGridColumn headerText=Transaction Side width=150 
columnName=agentSide/
mx:DataGridColumn editable=true headerText=% of Side
width=95  columnName=col3/ 
mx:DataGridColumn
headerText=Type width=175 columnName=agentType/
/mx:columns
/mx:DataGrid






--
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: Flex2 Tree Bug crashes browser

2006-02-27 Thread Michael Montagna
There's certainly a bug in here, but you can try replacing the
appendChild call:

  var newNodeAdded:XML = selectedNode.appendChild(newItem);

with:

 selectedNode.insertChildBefore(null, newItem);

Also, I changed selectedNode to type XML from Object.

This works for me, the Tree see's the update and converts the leaf to a
closed branch with the new node.

Let me know if you'll still have problems.

-Michael



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

 Hi Matt,

 The node has not been added anywhere else.  I've modified the Tree
 example from the Flex Sample Explorer to duplicate the problem I am
 having in my App and it is exhibiting the same behavior.

 - tree.mxml 

 ?xml version=1.0 encoding=utf-8?

 mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
 creationComplete=srv.send()

 mx:Script
 ![CDATA[

  [Bindable]
  public var selectedNode:Object;

 [Bindable]
  public var XLC:XML;

  public function initList(event:Event)
  {
  XLC = event.target.result;
  }

  public function treeChanged(event:Event) {
  selectedNode=Tree(event.target).selectedNode;
  }

 public function  addNewNode() //
 {
  //var myXML:XML = model.templateLayout.treeData;


   var newItem:XML = node label=new node/

   var newNodeAdded:XML = selectedNode.appendChild(newItem);
   //Alert.show (Tree changeEvt :  + newNodeAdded.toXMLString());
   selectedNode = newNodeAdded;

   myTree.selectedNode = selectedNode;
 }



  ]]
 /mx:Script

 mx:HTTPService id=srv url=../assets/tree.xml resultFormat=e4x
 result=initList(event)/

 mx:Button label=addnewnode id=newadd click=addNewNode() /

 mx:HDividedBox width=100% height=100%
 mx:Tree id=myTree width=50% height=100% labelField=@label
 rootVisible=false dataProvider={XLC}
 change=treeChanged(event)/
 mx:TextArea height=100% width=50%
 text=Selected Item: [EMAIL PROTECTED]/
 /mx:HDividedBox

 /mx:Application


  assets/tree.xml 

 ?xml version=1.0 encoding=utf-8?
 node

 node label=Mail Box
 node label=Inbox
 node label=Marketing/
 node label=Product Management/
 node label=Personal/
 /node
 node label=Outbox
 node label=Professional/
 node label=Personal/
 /node
 node label=Spam/
 node label=Sent/
  /node

 /node

 -

 I tried both IE and Firefox on winXP and this bug crashes both
 browsers when a new node is appended to a leaf node.

 Is there a possible work around for this bug do you think?

 Cheers,

 Tim








--
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] Mono MP3s (bug?)

2006-02-27 Thread Johannes Nel



dude, are you bruce eckel from mindview?On 2/27/06, Bruce Eckel [EMAIL PROTECTED] wrote:



Has anyone else seen this behavior:I have an application
that uses Flash 8.5's built-in MP3 player. When the MP3 is a stereo
file, it works fine. When I convert the MP3 to a mono file, the file
plays in speeded-up mode (a la The Chipmunks).
-- Bruce Eckel






--
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.




  








-- j:pn http://www.lennel.org






--
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] Array based class throws error for splice method call

2006-02-27 Thread Vadim Melnik
Hi All,

Got problem with my custom class inheriting default AS3 Array one. 
Not sure it's allowed in AS3, but it worked well with previous 
ActionScript 2.
 
I've created small test case, it throws runtime error somewhere 
inside Array.splice call. Also in real application I am getting IE 
GPFs right after exception dialog closed.

P.S.: also reported this bug using web form - 
http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform


[Error]

ReferenceError: Error #1069: Property length not found on MyArray 
and there is no default value
at Array/splice()
at MyArray/bug()
at test002::doTest()

[test002.mxml]

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;

mx:Button click=doTest() label=doTest/
mx:Script![CDATA[

import MyArray;

private function doTest():void
{
var a:MyArray = new MyArray();
a.bug();
}

]]/mx:Script
/mx:Application


[MyArray.as]

package
{
public class MyArray extends Array
{
public function MyArray()
{
push(some data);
}

public function bug():void
{
splice(0, 1);
}
}
}



--
Thanks,
Vadim.





--
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] Array based class throws error for splice method call

2006-02-27 Thread Jonathan Miranda












Theres a lot of stuff missing it
seems in your class. AS3 is strong-type coding, so you need to code in
everything youre assuming it understands. I dont have the time to
check it out, but my first guess is to have the set/get commands and call the
splice/push methods on the actual array (maybe using this 
think in AS2 to AS3 the implementation of this changed).

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Vadim Melnik
Sent: Monday, February 27, 2006
1:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Array based
class throws error for splice method call





Hi All,

Got problem with my custom class inheriting
default AS3 Array one. 
Not sure it's allowed in AS3, but it worked well
with previous 
ActionScript 2.

I've created small test case, it throws runtime
error somewhere 
inside Array.splice call. Also in real application
I am getting IE 
GPFs right after exception dialog closed.

P.S.: also reported this bug using web form - 
http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform


[Error]

ReferenceError: Error #1069: Property length not
found on MyArray 
and there is no default value
 at Array/splice()
 at MyArray/bug()
 at
test002::doTest()

[test002.mxml]

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

mx:Button click=doTest()
label=doTest/
mx:Script![CDATA[

import MyArray;

private function doTest():void
{
 var a:MyArray = new
MyArray();
 a.bug();
}

]]/mx:Script
/mx:Application


[MyArray.as]

package
{
 public class
MyArray extends Array
 {

 public function MyArray()

 {

  push(some
data);

 }


 public function bug():void

 {

  splice(0, 1);

 }
 }
}



--
Thanks,
Vadim.











--
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] Flex 2 Compiler bug?

2006-02-27 Thread Roger Gonzalez
Incidentally, if I had to guess, I'd guess its a Flash 8 SWF that uses
filters, perhaps a bevel gradient or something?

If so, I've fixed this, it should be coming out in Beta 2.

-rg 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Roger Gonzalez
 Sent: Monday, February 27, 2006 1:00 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Flex 2 Compiler bug?
 
 Its more likely related to your particular SWF, as its a 
 symptom of a badly parsed SWF tag.  (We embed SWFs all the time.)
 
 Please file a bug, and include one of your SWFs that causes 
 the problem.
 
 Thanks,
 -rg 
 
  -Original Message-
  From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Eckel
  Sent: Monday, February 27, 2006 12:02 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex 2 Compiler bug?
  
  Try compiling the following mxml file, for any embedded SWF 
 file (here 
  called slide01.swf):
  
  ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=
  http://www.macromedia.com/2005/mxml
  http://www.macromedia.com/2005/mxml 
  
  mx:TitleWindow
  mx:Image id=currentSlide width=720 height=540  
  source=@Embed('slide01.swf')/ /mx:TitleWindow
  
  /mx:Application
  
  My output was:
  
  $ mxmlc BugTest.mxml
  Loading configuration file D:\Flex\Flex Framework 
  2\frameworks\flex-config.xml, root element flex-config 
 Initial setup: 
  422ms Loaded 6 SWCs: 860ms License Service:
  Flex 2.0 Developer Edition enabled (beta period ends May 1, 200
  6)
  Compiling...
  Error: symbol 13 not defined
  
  java.lang.IllegalArgumentException: symbol 13 not defined 
  at macromedia.swf.Dictionary.getTag(Dictionary.java:156)
  at
  macromedia.swf.TagDecoder.decodePlaceObject23(TagDecoder.java:1256)
  at macromedia.swf.TagDecoder.decodeTag(TagDecoder.java:257) 
  at macromedia.swf.TagDecoder.decodeTags(TagDecoder.java:164)
  at
  macromedia.swf.TagDecoder.decodeDefineSprite(TagDecoder.java:2480)
  at macromedia.swf.TagDecoder.decodeTag(TagDecoder.java:275) 
  at macromedia.swf.TagDecoder.decodeTags(TagDecoder.java:164)
  at
  macromedia.swf.TagDecoder.decodeDefineSprite(TagDecoder.java:2480)
  at macromedia.swf.TagDecoder.decodeTag(TagDecoder.java:275) 
  at macromedia.swf.TagDecoder.decodeTags(TagDecoder.java:164)
  at macromedia.swf.TagDecoder.parse(TagDecoder.java:117)
  at
  
 flex2.compiler.media.MovieTranscoder.doTranscode(MovieTranscoder.java
  :87)
  at
  
 flex2.compiler.media.AbstractTranscoder.transcode(AbstractTranscoder.
  java:118)
  at 
 flex2.compiler.as3.EmbedUtil.transcode(EmbedUtil.java:110)
  at flex2.compiler.as3.EmbedEvaluator.generateSource
  (EmbedEvaluator.java:
  285)
  at
  
 flex2.compiler.as3.EmbedEvaluator.generateSources(EmbedEvaluator.java
  :356)
  at
  flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:88)
  at macromedia.asc.parser.ClassDefinitionNode.evaluate
  (ClassDefinitionNod
  e.java:86)
  at
  
 macromedia.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.j
  ava:324)
  at
  
 macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.ja
  va:34) 
  at
  
 macromedia.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.j
  ava:904)
  at
  flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:270)
  at macromedia.asc.parser.ProgramNode.evaluate
  (ProgramNode.java:63)
  at
  flex2.compiler.as3.EmbedExtension.parse(EmbedExtension.java:33)
  at flex2.compiler.as3.Compiler.parse(Compiler.java:196)
  at flex2.compiler.mxml.ImplementationCompiler.parse
  (ImplementationCompil
  er.java:153)
  at flex2.compiler.mxml.Compiler.parse(Compiler.java:73)
  at flex2.compiler.API.parse(API.java:1104)
  at flex2.compiler.API.parse(API.java:1072)
  at flex2.compiler.API.batchInner(API.java:156)
  at flex2.compiler.API.batch(API.java:260)
  at flex2.compiler.API.compile(API.java:361)
  at flex2.compiler.API.compile(API.java:289)
  at flex2.tools.Compiler.main(Compiler.java:167)
  $
  Peak memory usage: 54 MB (Heap: 35, Non-Heap: 19)
  
  --
  Bruce Eckel
  
  --
  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
  http://groups.yahoo.com/gads?t=msk=Web+site+design+developme
  ntw1=Web+site+design+developmentw2=Computer+software+develop
  mentw3=Software+design+and+developmentw4=Macromedia+flexw5=
 Software+development+best+practicec=5s=166
 .sig=L-4QTvxB_quFDtMyhrQaHQ Computer software 
  development
  http://groups.yahoo.com/gads?t=msk=Computer+software+develop
  

[flexcoders] Re: DG display with xml and webservice

2006-02-27 Thread Doug Lowder
Have you verified that the click event is actually being processed 
by your datagrid?  If not, try using a trace or Alert.show for the 
click handler, or try changing the click event to something like 
creationComplete.  If you find the problem is not the click event, 
then it's likely there is an issue with the data returned by your 
web service.

Hope that helps,
Doug

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

 I am using a webservice to call a function from my cfc that returns
 data as xml. When the data results are received, I convert the 
results
 into an array named agents. I am trying to populate my dg with the
 array. When I click on the dg I am calling the function
 agentDisplayQry. Which calls the function in my cfc. However, I 
cant
 get this to work. Can someone help me with this.
 
 Here is what I am trying.
 
 mx:Script
 
   import mx.collections.ArrayCollection;
   [Bindable]
   public var agents:ArrayCollection;
 
 /mx:Script
 
 mx:WebService id=srv 
 useProxy=false 
 wsdl=http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl; 
 result=agents = new
 ArrayCollection(srv.agentDisplayQry.result.list.employee)
 showBusyCursor=true /
 
 Then I am using this dg to display the information.
 mx:DataGrid x=18 y=291 width=695
 click=agentDisplayQry(fileNum.text) 
dataProvider={agents}
 height=192 id=datagrid1  mx:columns
   mx:DataGridColumn headerText=Agent Name 
width=275 
 columnName=agentName/
   mx:DataGridColumn headerText=Transaction Side 
width=150 
 columnName=agentSide/
   mx:DataGridColumn editable=true headerText=% of 
Side
 width=95  columnName=col3/   
mx:DataGridColumn
 headerText=Type width=175 columnName=agentType/
   /mx:columns
 /mx:DataGrid







--
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: DG display with xml and webservice

2006-02-27 Thread Jeremy Rottman
I know the click event is working properly. And I know the data being
returned from my webservice is returning correclty. I have have tested
teh cfc and verfied that it is returned the xml.

I am just not sure if I am connecting the webservice to the dg properly. 

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

 Have you verified that the click event is actually being processed 
 by your datagrid?  If not, try using a trace or Alert.show for the 
 click handler, or try changing the click event to something like 
 creationComplete.  If you find the problem is not the click event, 
 then it's likely there is an issue with the data returned by your 
 web service.
 
 Hope that helps,
 Doug
 
 --- In flexcoders@yahoogroups.com, Jeremy Rottman jarottman@ 
 wrote:
 
  I am using a webservice to call a function from my cfc that returns
  data as xml. When the data results are received, I convert the 
 results
  into an array named agents. I am trying to populate my dg with the
  array. When I click on the dg I am calling the function
  agentDisplayQry. Which calls the function in my cfc. However, I 
 cant
  get this to work. Can someone help me with this.
  
  Here is what I am trying.
  
  mx:Script
  
import mx.collections.ArrayCollection;
[Bindable]
public var agents:ArrayCollection;
  
  /mx:Script
  
  mx:WebService id=srv 
  useProxy=false 
  wsdl=http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl; 
  result=agents = new
  ArrayCollection(srv.agentDisplayQry.result.list.employee)
  showBusyCursor=true /
  
  Then I am using this dg to display the information.
  mx:DataGrid x=18 y=291 width=695
  click=agentDisplayQry(fileNum.text)   
   dataProvider={agents}
  height=192 id=datagrid1mx:columns
  mx:DataGridColumn headerText=Agent Name 
 width=275 
  columnName=agentName/
  mx:DataGridColumn headerText=Transaction Side 
 width=150 
  columnName=agentSide/
  mx:DataGridColumn editable=true headerText=% of 
 Side
  width=95  columnName=col3/ 
   mx:DataGridColumn
  headerText=Type width=175 columnName=agentType/
  /mx:columns
  /mx:DataGrid
 








--
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: DG display with xml and webservice

2006-02-27 Thread Jonathan Miranda












Ahh, I think I know why. In your result
you called it srv.AgentDisplay.and shouldnt it be
result.AgentDisplay.

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Rottman
Sent: Monday, February 27, 2006
2:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: DG
display with xml and webservice





I know the click event is
working properly. And I know the data being
returned from my webservice is returning
correclty. I have have tested
teh cfc and verfied that it is returned the xml.

I am just not sure if I am connecting the
webservice to the dg properly. 

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

 Have you verified that the click event is
actually being processed 
 by your datagrid? If not, try using a
trace or Alert.show for the 
 click handler, or try changing the click
event to something like 
 creationComplete. If you find the
problem is not the click event, 
 then it's likely there is an issue with the
data returned by your 
 web service.
 
 Hope that helps,
 Doug
 
 --- In flexcoders@yahoogroups.com,
Jeremy Rottman jarottman@ 
 wrote:
 
  I am using a webservice to call a
function from my cfc that returns
  data as xml. When the data results are
received, I convert the 
 results
  into an array named agents. I am trying
to populate my dg with the
  array. When I click on the dg I am
calling the function
  agentDisplayQry. Which calls the
function in my cfc. However, I 
 cant
  get this to work. Can someone help me
with this.
  
  Here is what I am trying.
  
  mx:Script
  
 
import mx.collections.ArrayCollection;
 
[Bindable]
 
public var agents:ArrayCollection;
  
  /mx:Script
  
  mx:WebService id=srv 
  useProxy=false 
  wsdl=http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl

  result=agents = new
 
ArrayCollection(srv.agentDisplayQry.result.list.employee)
  showBusyCursor=true /
  
  Then I am using this dg to display the
information.
  mx:DataGrid x=18
y=291 width=695
 
click=agentDisplayQry(fileNum.text) 
  
 
 dataProvider={agents}
  height=192
id=datagrid1
 
 mx:columns
  
 mx:DataGridColumn headerText=Agent
Name 
 width=275 
  columnName=agentName/
  
 mx:DataGridColumn
headerText=Transaction Side 
 width=150 
  columnName=agentSide/
  
 mx:DataGridColumn editable=true
headerText=% of 
 Side
  width=95
columnName=col3/
 
 
 
 
mx:DataGridColumn
  headerText=Type
width=175 columnName=agentType/
  
/mx:columns
  /mx:DataGrid
 














--
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] Mono MP3s (bug?)

2006-02-27 Thread Roger Gonzalez
--- Yahoo! Groups Survey --~--
Please help us to improve Yahoo! Groups. Take the survey now!

http://v2.decipherinc.com/survey/yahoo/yah05014?list=18

~-

 I have an application that uses Flash 8.5's built-in MP3 
 player. When the MP3 is a stereo file, it works fine. When I 
 convert the MP3 to a mono file, the file plays in speeded-up 
 mode (a la The Chipmunks). 

Sounds like its reading two mono samples and making one stereo sample.
I suppose that might happen if the header was messed up, although
perusing the Flex audio transcoder source, its hard to see how it could
get confused about this!

Could you email me a copy of the mono MP3?

Thanks,

-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/
 




[flexcoders] Re: Array based class throws error for splice method call

2006-02-27 Thread Vadim Melnik
 There's a lot of stuff missing it seems in your class 
Right, because I've cut source code as much as possible to simplify 
test case.

 AS3 is strong-type coding, so you need to code in everything 
you're assuming it understands

My code compiles without errors/warnings in strict mode.


my first guess is to have the set/get commands and call the 
splice/push methods on the actual array (maybe using this

I've played with things like this/super and other variants, but did 
not find right solution. For me it sounds like a bug in Array.splice 
implementation, (unless Array class is final/sealed by design and is 
not allowed to be inherited).


--
Thanks,
Vadim.


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

 There's a lot of stuff missing it seems in your class. AS3 is
 strong-type coding, so you need to code in everything you're 
assuming it
 understands. I don't have the time to check it out, but my first 
guess
 is to have the set/get commands and call the splice/push methods 
on the
 actual array (maybe using this - think in AS2 to AS3 the
 implementation of this changed).
 
 _
 
 Jonathan Miranda
 
 Flexible Master of the Web
 
 In the game of chess, it's important to never let your opponent 
see
 your pieces.
 
 HealthGrades http://www.healthgrades.com/ : 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.
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Vadim Melnik
 Sent: Monday, February 27, 2006 1:50 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Array based class throws error for splice 
method
 call
 
  
 
 Hi All,
 
 Got problem with my custom class inheriting default AS3 Array one. 
 Not sure it's allowed in AS3, but it worked well with previous 
 ActionScript 2.
 
 I've created small test case, it throws runtime error somewhere 
 inside Array.splice call. Also in real application I am getting IE 
 GPFs right after exception dialog closed.
 
 P.S.: also reported this bug using web form - 
 http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform
 
 
 [Error]
 
 ReferenceError: Error #1069: Property length not found on MyArray 
 and there is no default value
   at Array/splice()
   at MyArray/bug()
   at test002::doTest()
 
 [test002.mxml]
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
 
 mx:Button click=doTest() label=doTest/
 mx:Script![CDATA[
 
 import MyArray;
 
 private function doTest():void
 {
   var a:MyArray = new MyArray();
   a.bug();
 }
 
 ]]/mx:Script
 /mx:Application
 
 
 [MyArray.as]
 
 package
 {
   public class MyArray extends Array
   {
 public function MyArray()
 {
   push(some data);
 }
 
 public function bug():void
 {
   splice(0, 1);
 }
   }
 }
 
 
 
 --
 Thanks,
 Vadim.
 
 
 
 
 
 --
 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
 http://groups.yahoo.com/gads?
t=msk=Web+site+design+developmentw1=Web+
 
site+design+developmentw2=Computer+software+developmentw3=Software+
des
 
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+p
rac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ  
 
 Computer software development
 http://groups.yahoo.com/gads?
t=msk=Computer+software+developmentw1=We
 
b+site+design+developmentw2=Computer+software+developmentw3=Softwar
e+d
 
esign+and+developmentw4=Macromedia+flexw5=Software+development+best
+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw  
 
 Software design and development
 http://groups.yahoo.com/gads?
t=msk=Software+design+and+developmentw1=
 
Web+site+design+developmentw2=Computer+software+developmentw3=Softw
are
 
+design+and+developmentw4=Macromedia+flexw5=Software+development+be
st+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  

RE: [flexcoders] Re: Array based class throws error for splice method call

2006-02-27 Thread Jonathan Miranda












In your code, youre not calling the
Super constructor.

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Vadim Melnik
Sent: Monday, February 27, 2006
2:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Array
based class throws error for splice method call





 There's a lot of
stuff missing it seems in your class 
Right, because I've cut source code as much as
possible to simplify 
test case.

 AS3 is strong-type coding, so you need to
code in everything 
you're assuming it understands

My code compiles without errors/warnings in strict
mode.


my first guess is to have the set/get
commands and call the 
splice/push methods on the actual array (maybe
using this

I've played with things like this/super and other
variants, but did 
not find right solution. For me it sounds like a
bug in Array.splice 
implementation, (unless Array class is
final/sealed by design and is 
not allowed to be inherited).


--
Thanks,
Vadim.


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

 There's a lot of stuff missing it seems in
your class. AS3 is
 strong-type coding, so you need to code in
everything you're 
assuming it
 understands. I don't have the time to check
it out, but my first 
guess
 is to have the set/get commands and call the
splice/push methods 
on the
 actual array (maybe using this -
think in AS2 to AS3 the
 implementation of this changed).
 
 _
 
 Jonathan Miranda
 
 Flexible Master of the Web
 
 In the game of chess, it's important to
never let your opponent 
see
 your pieces.
 
 HealthGrades http://www.healthgrades.com/ :
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.
 
 
 
 From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of Vadim Melnik
 Sent: Monday, February 27, 2006 1:50 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Array based class
throws error for splice 
method
 call
 
 
 
 Hi All,
 
 Got problem with my custom class inheriting
default AS3 Array one. 
 Not sure it's allowed in AS3, but it worked
well with previous 
 ActionScript 2.
 
 I've created small test case, it throws
runtime error somewhere 
 inside Array.splice call. Also in real
application I am getting IE 
 GPFs right after exception dialog closed.
 
 P.S.: also reported this bug using web form -

 http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform
 
 
 [Error]
 
 ReferenceError: Error #1069: Property length
not found on MyArray 
 and there is no default value
 at
Array/splice()
 at MyArray/bug()
 at
test002::doTest()
 
 [test002.mxml]
 
 ?xml version=1.0
encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml
 
 mx:Button click=doTest() label=doTest/
 mx:Script![CDATA[
 
 import MyArray;
 
 private function doTest():void
 {
 var
a:MyArray = new MyArray();
 a.bug();
 }
 
 ]]/mx:Script
 /mx:Application
 
 
 [MyArray.as]
 
 package
 {
 public 

[flexcoders] Re: DG display with xml and webservice

2006-02-27 Thread Doug Lowder
I don't know if it's different in Flex 2.0, but in 1.5 the 
webservice result handler would be something like:

result=agents = new ArrayCollection(event.result.list.employee)

That is assuming the XML from your cfc looks like:

list
  employee ... /employee
  employee ...
/list

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

 I know the click event is working properly. And I know the data 
being
 returned from my webservice is returning correclty. I have have 
tested
 teh cfc and verfied that it is returned the xml.
 
 I am just not sure if I am connecting the webservice to the dg 
properly. 
 
 --- In flexcoders@yahoogroups.com, Doug Lowder douglowder@ 
wrote:
 
  Have you verified that the click event is actually being 
processed 
  by your datagrid?  If not, try using a trace or Alert.show for 
the 
  click handler, or try changing the click event to something like 
  creationComplete.  If you find the problem is not the click 
event, 
  then it's likely there is an issue with the data returned by 
your 
  web service.
  
  Hope that helps,
  Doug
  
  --- In flexcoders@yahoogroups.com, Jeremy Rottman jarottman@ 
  wrote:
  
   I am using a webservice to call a function from my cfc that 
returns
   data as xml. When the data results are received, I convert the 
  results
   into an array named agents. I am trying to populate my dg with 
the
   array. When I click on the dg I am calling the function
   agentDisplayQry. Which calls the function in my cfc. However, 
I 
  cant
   get this to work. Can someone help me with this.
   
   Here is what I am trying.
   
   mx:Script
   
 import mx.collections.ArrayCollection;
 [Bindable]
 public var agents:ArrayCollection;
   
   /mx:Script
   
   mx:WebService id=srv 
   useProxy=false 
   wsdl=http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl; 
   result=agents = new
   ArrayCollection(srv.agentDisplayQry.result.list.employee)
   showBusyCursor=true /
   
   Then I am using this dg to display the information.
   mx:DataGrid x=18 y=291 width=695
   click=agentDisplayQry(fileNum.text) 
  dataProvider={agents}
   height=192 id=datagrid1  
mx:columns
 mx:DataGridColumn headerText=Agent Name 
  width=275 
   columnName=agentName/
 mx:DataGridColumn headerText=Transaction Side 
  width=150 
   columnName=agentSide/
 mx:DataGridColumn editable=true headerText=% of 
  Side
   width=95  columnName=col3/   
  mx:DataGridColumn
   headerText=Type width=175 columnName=agentType/
 /mx:columns
   /mx:DataGrid
  
 







--
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] Mono MP3s (bug?)

2006-02-27 Thread Richard Leggett





What's the sample rate of the mono mp3?

Richard


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes 
NelSent: 27 February 2006 20:47To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Mono MP3s 
(bug?)
dude, are you bruce eckel from mindview?
On 2/27/06, Bruce 
Eckel [EMAIL PROTECTED] 
wrote: 
Has 
  anyone else seen this behavior:I have an application that uses Flash 
  8.5's built-in MP3 player. When the MP3 is a stereo file, it works fine. When 
  I convert the MP3 to a mono file, the file plays in speeded-up mode (a la The 
  Chipmunks). -- Bruce Eckel --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. 
  
  
  -- j:pn http://www.lennel.org





--
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 Enterprise Services and SSL

2006-02-27 Thread Michael Klishin
Hi,

Could anyone tell me if Flex 2 ES supports SSL for communication with
server?

Regards.

0:35 | 28.02.2006
-- 
Michael Antares Klishin,

Email: [EMAIL PROTECTED]
Web: www.novemberain.com

Non progredi est regredi


--
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: Array based class throws error for splice method call

2006-02-27 Thread Vadim Melnik
Yes, I also tested super() before and it didn't help me. 
As far as I know, it's allowed to omit super() call in AS3 
constructor, at least documentation refers it as:
...If you omit the call to super(), Flex automatically calls it at 
the beginning of your
constructor 

--
Thanks,
Vadim.


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

 In your code, you're not calling the Super constructor
 
 _
 
 Jonathan Miranda
 
 Flexible Master of the Web
 
 In the game of chess, it's important to never let your opponent 
see
 your pieces.
 
 HealthGrades http://www.healthgrades.com/ : 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.
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Vadim Melnik
 Sent: Monday, February 27, 2006 2:23 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Array based class throws error for splice
 method call
 
  
 
  There's a lot of stuff missing it seems in your class 
 Right, because I've cut source code as much as possible to 
simplify 
 test case.
 
  AS3 is strong-type coding, so you need to code in everything 
 you're assuming it understands
 
 My code compiles without errors/warnings in strict mode.
 
 
 my first guess is to have the set/get commands and call the 
 splice/push methods on the actual array (maybe using this
 
 I've played with things like this/super and other variants, but 
did 
 not find right solution. For me it sounds like a bug in 
Array.splice 
 implementation, (unless Array class is final/sealed by design and 
is 
 not allowed to be inherited).
 
 
 --
 Thanks,
 Vadim.
 
 
 --- In flexcoders@yahoogroups.com, Jonathan Miranda jmiranda@ 
 wrote:
 
  There's a lot of stuff missing it seems in your class. AS3 is
  strong-type coding, so you need to code in everything you're 
 assuming it
  understands. I don't have the time to check it out, but my first 
 guess
  is to have the set/get commands and call the splice/push methods 
 on the
  actual array (maybe using this - think in AS2 to AS3 the
  implementation of this changed).
  
  _
  
  Jonathan Miranda
  
  Flexible Master of the Web
  
  In the game of chess, it's important to never let your opponent 
 see
  your pieces.
  
  HealthGrades http://www.healthgrades.com/ : Guiding America to 
 Better
  Healthcare(tm)
  
  NASDAQ: HGRD
  
  w  (720) 963-3832
  
  c  (707) 761-0868
  
  jmiranda@ 
  
  _
  
  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.
  
  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Vadim Melnik
  Sent: Monday, February 27, 2006 1:50 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Array based class throws error for splice 
 method
  call
  
   
  
  Hi All,
  
  Got problem with my custom class inheriting default AS3 Array 
one. 
  Not sure it's allowed in AS3, but it worked well with previous 
  ActionScript 2.
  
  I've created small test case, it throws runtime error somewhere 
  inside Array.splice call. Also in real application I am getting 
IE 
  GPFs right after exception dialog closed.
  
  P.S.: also reported this bug using web form - 
  

Re: [flexcoders] Re: Array based class throws error for splice method call

2006-02-27 Thread Paul BH



I may be wrong - havent looked at AS3 in a while, and I couldnt find it after a 10 minute hunt, but I think I read somewhere you are no longer allowed to subclass Array
On 2/27/06, Jonathan Miranda [EMAIL PROTECTED]
 wrote: 



In your code, you're not calling the Super constructor….
 
_
Jonathan Miranda
 
Flexible Master of the Web
 
In the game of chess, it's important to never let your opponent see your pieces. 


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. 





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Vadim MelnikSent: Monday, February 27, 2006 2:23 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Array based class throws error for splice method call


 There's a lot of stuff missing it seems in your class 
 Right, because I've cut source code as much as possible to simplify test case.
 AS3 is strong-type coding, so you need to code in everything you're assuming it understandsMy code compiles without errors/warnings in strict mode. 
my first guess is to have the set/get commands and call the splice/push methods on the actual array (maybe using this 
I've played with things like this/super and other variants, but did not find right solution. For me it sounds like a bug in Array.splice
 implementation, (unless Array class is final/sealed by design and is not allowed to be inherited).
--Thanks,Vadim.--- In 
flexcoders@yahoogroups.com, Jonathan Miranda [EMAIL PROTECTED] wrote:
 There's a lot of stuff missing it seems in your class. AS3 is strong-type coding, so you need to code in everything you're 
assuming it understands. I don't have the time to check it out, but my first guess
 is to have the set/get commands and call the splice/push methods on the actual array (maybe using this - think in AS2 to AS3 the 
 implementation of this changed).  _ 
  Jonathan Miranda  Flexible Master of the Web 
  In the game of chess, it's important to never let your opponent see
  your pieces.  HealthGrades 
 http://www.healthgrades.com/ : 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. 
   
 From: flexcoders@yahoogroups.com [mailto:
 flexcoders@yahoogroups.com] On Behalf Of Vadim Melnik Sent: Monday, February 27, 2006 1:50 PM
 To: flexcoders@yahoogroups.com Subject: [flexcoders] Array based class throws error for splice 
method call  
  Hi All,  Got problem with my custom class inheriting default AS3 Array one. 
 Not sure it's allowed in AS3, but it worked well with previous  ActionScript 2.
  I've created small test case, it throws runtime error somewhere  inside Array.splice call. Also in real application I am getting IE 
 GPFs right after exception dialog closed.  P.S.: also reported this bug using web form - 
 http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform 
   [Error] 
 ReferenceError: Error #1069: Property length not found on MyArray  and there is no default value
 at Array/splice() at MyArray/bug() at test002::doTest()
  [test002.mxml]  ?xml version=1.0 encoding=utf-8? 
 mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml 
  mx:Button click=doTest() label=doTest/
 mx:Script![CDATA[  import MyArray; 
 

Re: [flexcoders] Re: Array based class throws error for splice method call

2006-02-27 Thread Johannes Nel



array is not marked as final according to the docs so you should be able to subclass itOn 2/27/06, Paul BH [EMAIL PROTECTED]
 wrote:I may be wrong - havent looked at AS3 in a while, and I couldnt find it
after a 10 minute hunt, but I think I read somewhere you are no longer
allowed to subclass Array
On 2/27/06, Jonathan Miranda [EMAIL PROTECTED]
 wrote: 



In your code, you're not calling the Super constructor….

 
_
Jonathan Miranda

 
Flexible Master of the Web

 
In the game of chess, it's important to never let your opponent see your pieces. 



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. 




From: 

flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 

On Behalf Of Vadim MelnikSent: Monday, February 27, 2006 2:23 PMTo: 

flexcoders@yahoogroups.comSubject: [flexcoders] Re: Array based class throws error for splice method call


 There's a lot of stuff missing it seems in your class 

 Right, because I've cut source code as much as possible to simplify test case.

 AS3 is strong-type coding, so you need to code in everything you're assuming it understandsMy code compiles without errors/warnings in strict mode. 
my first guess is to have the set/get commands and call the splice/push methods on the actual array (maybe using this 
I've played with things like this/super and other variants, but did not find right solution. For me it sounds like a bug in Array.splice

 implementation, (unless Array class is final/sealed by design and is not allowed to be inherited).

--Thanks,Vadim.--- In 

flexcoders@yahoogroups.com, Jonathan Miranda [EMAIL PROTECTED] wrote:

 There's a lot of stuff missing it seems in your class. AS3 is strong-type coding, so you need to code in everything you're 

assuming it understands. I don't have the time to check it out, but my first guess

 is to have the set/get commands and call the splice/push methods on the actual array (maybe using this - think in AS2 to AS3 the 
 implementation of this changed).  _ 
  Jonathan Miranda  Flexible Master of the Web 
  In the game of chess, it's important to never let your opponent see

  your pieces.  HealthGrades 

 http://www.healthgrades.com/ : 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. 
   

 From: flexcoders@yahoogroups.com [mailto:

 flexcoders@yahoogroups.com] On Behalf Of Vadim Melnik Sent: Monday, February 27, 2006 1:50 PM

 To: flexcoders@yahoogroups.com Subject: [flexcoders] Array based class throws error for splice 
method call  

  Hi All,  Got problem with my custom class inheriting default AS3 Array one. 
 Not sure it's allowed in AS3, but it worked well with previous  ActionScript 2.

  I've created small test case, it throws runtime error somewhere  inside Array.splice call. Also in real application I am getting IE 
 GPFs right after exception dialog closed.  P.S.: also reported this bug using web form - 
 http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform 
   [Error] 

 ReferenceError: Error #1069: Property length not found on MyArray  and there is no default value

 at Array/splice() at MyArray/bug() at test002::doTest()

  [test002.mxml]  ?xml 

[flexcoders] Re: Array based class throws error for splice method call

2006-02-27 Thread Doug Lowder
That would be unfortunate if true.  The current docs *do* say this, 
however:

You can subclass Array and override or add methods; but specify the 
subclass as dynamic or you will lose the ability to store data in an 
array.

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

 I may be wrong - havent looked at AS3 in a while, and I couldnt 
find it
 after a 10 minute hunt, but I think I read somewhere you are no 
longer
 allowed to subclass Array
 
 On 2/27/06, Jonathan Miranda [EMAIL PROTECTED] wrote:
 
   In your code, you're not calling the Super constructor….* *
 
  _
 
  *Jonathan Miranda*
 
  *Flexible Master of the Web*
 
  *In the game of chess, it's important to never let your 
opponent see your
  pieces. *
 
  HealthGrades http://www.healthgrades.com/: 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.
   --
 
  *From:* flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *Vadim Melnik
  *Sent:* Monday, February 27, 2006 2:23 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Re: Array based class throws error for 
splice
  method call
 
 
 
   There's a lot of stuff missing it seems in your class 
  Right, because I've cut source code as much as possible to 
simplify
  test case.
 
   AS3 is strong-type coding, so you need to code in everything
  you're assuming it understands
 
  My code compiles without errors/warnings in strict mode.
 
 
  my first guess is to have the set/get commands and call the
  splice/push methods on the actual array (maybe using this
 
  I've played with things like this/super and other variants, but 
did
  not find right solution. For me it sounds like a bug in 
Array.splice
  implementation, (unless Array class is final/sealed by design 
and is
  not allowed to be inherited).
 
 
  --
  Thanks,
  Vadim.
 
 
  --- In flexcoders@yahoogroups.com, Jonathan Miranda jmiranda@
  wrote:
  
   There's a lot of stuff missing it seems in your class. AS3 is
   strong-type coding, so you need to code in everything you're
  assuming it
   understands. I don't have the time to check it out, but my 
first
  guess
   is to have the set/get commands and call the splice/push 
methods
  on the
   actual array (maybe using this - think in AS2 to AS3 the
   implementation of this changed).
  
   _
  
   Jonathan Miranda
  
   Flexible Master of the Web
  
   In the game of chess, it's important to never let your 
opponent
  see
   your pieces.
  
   HealthGrades  http://www.healthgrades.com/ : Guiding America 
to
  Better
   Healthcare(tm)
  
   NASDAQ: HGRD
  
   w  (720) 963-3832
  
   c  (707) 761-0868
  
   jmiranda@
  
   _
  
   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.
  
   
  
   From: flexcoders@yahoogroups.com
  [mailto: [EMAIL PROTECTED] On
   Behalf Of Vadim Melnik
   Sent: Monday, February 27, 2006 1:50 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Array based class throws error for splice
  method
   call
  
  
  
   Hi All,
  
   Got problem with my custom class inheriting default AS3 Array 
one.
   Not sure it's allowed in AS3, but it worked well with previous
   ActionScript 2.
  
   

Re: [flexcoders] Re: Array based class throws error for splice method call

2006-02-27 Thread JesterXL
There are known problems with sub-classing Array, but not sure the status. 
For now, just use composition until we know it's fixed.

- Original Message - 
From: Doug Lowder [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, February 27, 2006 4:59 PM
Subject: [flexcoders] Re: Array based class throws error for splice method 
call


That would be unfortunate if true.  The current docs *do* say this,
however:

You can subclass Array and override or add methods; but specify the
subclass as dynamic or you will lose the ability to store data in an
array.

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

 I may be wrong - havent looked at AS3 in a while, and I couldnt
find it
 after a 10 minute hunt, but I think I read somewhere you are no
longer
 allowed to subclass Array

 On 2/27/06, Jonathan Miranda [EMAIL PROTECTED] wrote:
 
   In your code, you're not calling the Super constructor..* *
 
  _
 
  *Jonathan Miranda*
 
  *Flexible Master of the Web*
 
  *In the game of chess, it's important to never let your
opponent see your
  pieces. *
 
  HealthGrades http://www.healthgrades.com/: Guiding America to
Better
  HealthcareT
 
  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.
   --
 
  *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *Vadim Melnik
  *Sent:* Monday, February 27, 2006 2:23 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Re: Array based class throws error for
splice
  method call
 
 
 
   There's a lot of stuff missing it seems in your class 
  Right, because I've cut source code as much as possible to
simplify
  test case.
 
   AS3 is strong-type coding, so you need to code in everything
  you're assuming it understands
 
  My code compiles without errors/warnings in strict mode.
 
 
  my first guess is to have the set/get commands and call the
  splice/push methods on the actual array (maybe using this
 
  I've played with things like this/super and other variants, but
did
  not find right solution. For me it sounds like a bug in
Array.splice
  implementation, (unless Array class is final/sealed by design
and is
  not allowed to be inherited).
 
 
  --
  Thanks,
  Vadim.
 
 
  --- In flexcoders@yahoogroups.com, Jonathan Miranda jmiranda@
  wrote:
  
   There's a lot of stuff missing it seems in your class. AS3 is
   strong-type coding, so you need to code in everything you're
  assuming it
   understands. I don't have the time to check it out, but my
first
  guess
   is to have the set/get commands and call the splice/push
methods
  on the
   actual array (maybe using this - think in AS2 to AS3 the
   implementation of this changed).
  
   _
  
   Jonathan Miranda
  
   Flexible Master of the Web
  
   In the game of chess, it's important to never let your
opponent
  see
   your pieces.
  
   HealthGrades  http://www.healthgrades.com/ : Guiding America
to
  Better
   Healthcare(tm)
  
   NASDAQ: HGRD
  
   w  (720) 963-3832
  
   c  (707) 761-0868
  
   jmiranda@
  
   _
  
   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.
  
   
  
   From: flexcoders@yahoogroups.com
  [mailto: [EMAIL PROTECTED] On
   Behalf Of Vadim Melnik
   Sent: Monday, February 

Re: [flexcoders] Re: Array based class throws error for splice method call

2006-02-27 Thread Paul BH



thats what I get for half listening to stuff...
On 2/27/06, Doug Lowder [EMAIL PROTECTED] wrote:
That would be unfortunate if true. The current docs *do* say this, however:You can subclass Array and override or add methods; but specify the 
subclass as dynamic or you will lose the ability to store data in an array.--- In 
flexcoders@yahoogroups.com, Paul BH [EMAIL PROTECTED] wrote: I may be wrong - havent looked at AS3 in a while, and I couldnt find it after a 10 minute hunt, but I think I read somewhere you are no 
longer allowed to subclass Array  On 2/27/06, Jonathan Miranda [EMAIL PROTECTED] wrote:   In your code, you're not calling the Super constructor….* *
   _   *Jonathan Miranda*   *Flexible Master of the Web*   *In the game of chess, it's important to never let your 
opponent see your  pieces. *   HealthGrades 
http://www.healthgrades.com/: 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.
  --   *From:* flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] *On  Behalf Of *Vadim Melnik
  *Sent:* Monday, February 27, 2006 2:23 PM 
  *To:* flexcoders@yahoogroups.com  *Subject:* [flexcoders] Re: Array based class throws error for 
splice  method call  There's a lot of stuff missing it seems in your class   Right, because I've cut source code as much as possible to 
simplify  test case.AS3 is strong-type coding, so you need to code in everything  you're assuming it understands   My code compiles without errors/warnings in strict mode.
my first guess is to have the set/get commands and call the  splice/push methods on the actual array (maybe using this   I've played with things like this/super and other variants, but 
did  not find right solution. For me it sounds like a bug in Array.splice  implementation, (unless Array class is final/sealed by design and is  not allowed to be inherited).
--  Thanks,  Vadim.--- In 
flexcoders@yahoogroups.com, Jonathan Miranda jmiranda@  wrote: There's a lot of stuff missing it seems in your class. AS3 is   strong-type coding, so you need to code in everything you're
  assuming it   understands. I don't have the time to check it out, but my first  guess   is to have the set/get commands and call the splice/push methods
  on the   actual array (maybe using this - think in AS2 to AS3 the   implementation of this changed). _
 Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent
  see   your pieces. HealthGrades  http://www.healthgrades.com/
 : Guiding America to  Better   Healthcare(tm) NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868
 jmiranda@ _ 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.
  From: 
flexcoders@yahoogroups.com  [mailto: flexcoders@yahoogroups.com] On   Behalf Of Vadim Melnik
   Sent: Monday, February 27, 2006 1:50 PM   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Array based class throws error for splice  method   call Hi All,  
   Got problem with my custom class inheriting default AS3 Array one.   Not sure it's allowed in AS3, but it worked well with previous   ActionScript 2.  
   I've created small test case, it throws 

Re: [flexcoders] URL Loader with CGI

2006-02-27 Thread Abdul Qabiz



Hi,Things have changed in Macromedia Flash Player 8.5 and AS3. Like LoadVars, _level0 etc are not there in Macromedia Flash Player 8.5.You can look at the AS2 to AS3 migration document and do the changes accordingly.
BTW! You can you use HTTPService in Flex 1.5/Flex 2.0 to achieve similar results. HTTPService is easier to use. You don't need to use LoadVars to load data from a URL or file in Flex.Migration document: 
http://livedocs.macromedia.com/labs/1/flex/langref/migration.htmlSearch flexcoders archive to see how can you use HTTPService. You can also find several examples over web and in docs.
-abdulOn 2/28/06, eguinaldoms [EMAIL PROTECTED] wrote:
Hi, i'm use the flex 1.5 and the Loadvars to work with CGI file now ichage to version 2 beta and my function to work with CGI don workanymore !How i can work with CGI in flex 2.0 Beta ?function chamarcobol() {
var url:String = http://10.0.0.244/cgi-bin/sfexx001 ;var my_lv:LoadVars = new LoadVars();my_lv.REPTRF = CODREP.text;;my_lv.EMPTRF = CODFILIAL.text
;my_lv.FLDRES = 123;my_lv.>if(Ok) {_level0.depthChild0.NOMREP.text = my_lv.FLDRES;} else {mx.controls.Alert.show('Não foi possivel enviar osdados ao servidor ! /n Tente mais tarde ou entre em contato com o
suporte.', 'Erro'); }my_lv.sendAndLoad(url,my_lv);break; }Please how i can use now to make the same thing ?TnksEguinaldo Marques--Flexcoders Mailing List
FAQ: 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] Re: Flex2 Tree Bug crashes browser

2006-02-27 Thread sufibaba
Michael,

Your Antibug spray did the trick.

Thanks for the tip.

Tim


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

 There's certainly a bug in here, but you can try replacing the
 appendChild call:

   var newNodeAdded:XML = selectedNode.appendChild(newItem);

 with:

  selectedNode.insertChildBefore(null, newItem);

 Also, I changed selectedNode to type XML from Object.

 This works for me, the Tree see's the update and converts the leaf to
a
 closed branch with the new node.

 Let me know if you'll still have problems.

 -Michael



 --- In flexcoders@yahoogroups.com, sufibaba sufibaba@ wrote:
 
  Hi Matt,
 
  The node has not been added anywhere else.  I've modified the Tree
  example from the Flex Sample Explorer to duplicate the problem I am
  having in my App and it is exhibiting the same behavior.
 
  - tree.mxml 
 
  ?xml version=1.0 encoding=utf-8?
 
  mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
  creationComplete=srv.send()
 
  mx:Script
  ![CDATA[
 
   [Bindable]
   public var selectedNode:Object;
 
  [Bindable]
   public var XLC:XML;
 
   public function initList(event:Event)
   {
   XLC = event.target.result;
   }
 
   public function treeChanged(event:Event) {
   selectedNode=Tree(event.target).selectedNode;
   }
 
  public function  addNewNode() //
  {
   //var myXML:XML = model.templateLayout.treeData;
 
 
var newItem:XML = node label=new node/
 
var newNodeAdded:XML = selectedNode.appendChild(newItem);
//Alert.show (Tree changeEvt :  + newNodeAdded.toXMLString());
selectedNode = newNodeAdded;
 
myTree.selectedNode = selectedNode;
  }
 
 
 
   ]]
  /mx:Script
 
  mx:HTTPService id=srv url=../assets/tree.xml resultFormat=e4x
  result=initList(event)/
 
  mx:Button label=addnewnode id=newadd click=addNewNode() /
 
  mx:HDividedBox width=100% height=100%
  mx:Tree id=myTree width=50% height=100%
labelField=@label
  rootVisible=false dataProvider={XLC}
  change=treeChanged(event)/
  mx:TextArea height=100% width=50%
  text=Selected Item: [EMAIL PROTECTED]/
  /mx:HDividedBox
 
  /mx:Application
 
 
   assets/tree.xml 
 
  ?xml version=1.0 encoding=utf-8?
  node
 
  node label=Mail Box
  node label=Inbox
  node label=Marketing/
  node label=Product Management/
  node label=Personal/
  /node
  node label=Outbox
  node label=Professional/
  node label=Personal/
  /node
  node label=Spam/
  node label=Sent/
   /node
 
  /node
 
  -
 
  I tried both IE and Firefox on winXP and this bug crashes both
  browsers when a new node is appended to a leaf node.
 
  Is there a possible work around for this bug do you think?
 
  Cheers,
 
  Tim
 








--
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] Reading or Embedding SWFs?

2006-02-27 Thread Abdul Qabiz



Hi Bruce,Loading local SWF might not be working because of Security Sandbox. Try giving the permission to your main to load SWFs from context-menu of Flash Player.Context-menu  Settings  first tab Advanced
It would show advanced settings manager from macromedia.com, from there you can the directory.Though, I expect somebody would confirm this. You can also try reading the security white paper for Flash Player 8 here: 
http://www.macromedia.com/devnet/flashplayer/articles/flash_player_8_security.pdfThings might be different in Macromedia Flash Player 
8.5, so information in above white paper might not totally apply.As far as embedding swfs is concerned, I think that should work. I don't remember the exact syntax, but if you do quick search to this mailing-list archive, I am sure you would find the exact syntax. Roger has replied many such queries.
A quick search gave me following results:http://www.mail-archive.com/flexcoders@yahoogroups.com/msg20285.html
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg20239.htmlHope that helps...BTW! Are you Bruce Eckel of Mindview.net?-abdul
On 2/28/06, Bruce Eckel [EMAIL PROTECTED] wrote:



I'm creating an app that displays SWF slides and plays MP3 files associated with those slides. When I create this application under Flexbuilder, at runtime it opens the external SWF slide files and plays the MP3 files just fine. But when I move the application to a different directory (containing the expected SWFs and MP3s) I get a runtime error complaining about loading the SWF files. Even stranger is the fact that the security message is only complaining about loading SWF files from the local directory. When I comment out the SWF file loading, it's perfectly happy to load MP3 files from the local directory. 

I've tried a number of experiments, including copying the SWF file from the directory where flexbuilder creates it (where it works) to a different directory (where it pops up a security message). I don't know if this is expected behavior or a bug, but if it is expected behavior then I think I could solve it if I can compile the SWF files into the app instead of having them as separate files, but I don't know how to do that (and note my previous message about an apparent bug in the @Embed command).


I'd be perfectly happy to compile the external SWF slides directly into the application as some kind of array of images (thus solving the access problem), but so far I haven't been able to figure out how to do that. Any hints would be greatly appreciated.
-- Bruce Eckel 






--
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








  
  
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] FB2 :: Outline Script block class tree

2006-02-27 Thread Teoti Graphix



Hello,

You know what would be awsome in the Flex Builder 2 IDE?

When I am developing mxml components(SWC), I am starting to change my
developing perspective and find it easy to create a quasi component
using the powerful as3 interface along with the tremendously efficient
mxml ui designing.

I am also finding this to be my new path towards an RCD ( Rapid Component Development ;-) pattern.

Now, if you could put the awsome as3 outline tree where the 
Script node lies within the source view of an mxml component,
development time would increase 10 fold!). I know you would have to
parse inside the script tags but, it would tremendously help the FB2
component developers IDE.

Any thoughts?

PS In the last few months I really have changed my programming style. I
bet some others feel this change to with working with Flex 2beta. It
seems like for the most part other than HEAVY component
classes/frameworks(needing class structure), this mxml component
pardigm is very solid comming from flash component developmer.
It's funny how things change. 

Peace, Mike






--
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] Flash Detection Option

2006-02-27 Thread Abdul Qabiz



I believe, you are talking about express-install. Not sure, if that works for Macromedia Flash Player 8.5 considering it is still under-development and would not be good idea to update user-machines with a binary which is not of release quality.
May be after some-months, it would start working..-abdulOn 2/27/06, Jonathan Miranda [EMAIL PROTECTED]
 wrote:

















Anyone else get this to actually work from the FB options? I
think the auto-installer option in FlexBuilder2 doesn't work with flash
player 8.5 alpha 3….since all my users are seeing solid blue screens
(meaning the script isn't triggering).

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.

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 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] Flash Detection Option

2006-02-27 Thread Jonathan Miranda












Then why have the option in the builder if
its not meant to work J

_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.

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.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz
Sent: Monday, February 27, 2006
3:59 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
Detection Option





I believe, you are
talking about express-install. Not sure, if that works for Macromedia Flash
Player 8.5 considering it is still under-development and would not be good idea
to update user-machines with a binary which is not of release quality. 

May be after some-months, it would start working..

-abdul



On 2/27/06, Jonathan
Miranda [EMAIL PROTECTED]
 wrote:



Anyone
else get this to actually work from the FB options? I think the auto-installer
option in FlexBuilder2 doesn't work with flash player 8.5 alpha 3.since all my
users are seeing solid blue screens (meaning the script isn't triggering).

_

Jonathan Miranda

Flexible Master of
the Web

In the game of chess, it's important to never
let your opponent see your pieces.

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 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] Focus within the Browser

2006-02-27 Thread Abdul Qabiz



Not sure of cross browser solution, but in IE you can trap an event when activeX gets focus. You can then call some function in ActionScript using ExternalInterface API.-abdul
On 2/27/06, Claudia Barnal [EMAIL PROTECTED] wrote:
How can I know if the Application has the focus within the Browser.I need to do something like this:if ( playerHasFocus == true ){myMC._visible = true;}else{myMC._visible = false;
}Thanks,Claudia--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 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.



  









Re: [flexcoders] Focus within the Browser

2006-02-27 Thread Abdul Qabiz



Jonthan, does this help: http://www.splintered.co.uk/experiments/archives/flash_satay_firefox_bug/I think, similar issues has been discussed on flashcoders mailing list, you might want to search there.
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders-abdulOn 2/27/06, 
Jonathan Miranda [EMAIL PROTECTED] wrote:





















On a similar note, anyone know how to send
certain key-strokes back to the browser when it has focus? I use control-t
religiously for tabbing in Firefox and it's really annoying when the
flash video sucks those in – rather it somehow gets passed back to the
browser

_

Jonathan Miranda


Flexible Master of the Web


In the
game of chess, it's important to never let your opponent see your pieces.


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.











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Claudia Barnal
Sent: Monday, February 27, 2006
10:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Focus within
the Browser





How can I know if the
Application has the focus within the Browser.

I need to do something like this:

if ( playerHasFocus == true )
{
 myMC._visible =
true;
}
else
{
 myMC._visible = false;
}

Thanks,
Claudia








--
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








  
  
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] Flash Detection Option

2006-02-27 Thread Abdul Qabiz



It is understood that many things won't work because it is beta quality software but options shown would function properly in release version.I think, it's not an issue. Macromedia Flash Player 8.5 might be making requests to server to download the required version of player since server still hosts Flash Player 8, which is the released version. Request might be failing
May be someone from Adobe would like to comment.-abdulOn 2/28/06, Jonathan Miranda [EMAIL PROTECTED]
 wrote:




















Then why have the option in the builder if
it's not meant to work J


_

Jonathan Miranda


Flexible Master of the Web


In the
game of chess, it's important to never let your opponent see your pieces.


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.











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Abdul Qabiz
Sent: Monday, February 27, 2006
3:59 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
Detection Option





I believe, you are
talking about express-install. Not sure, if that works for Macromedia Flash
Player 8.5 considering it is still under-development and would not be good idea
to update user-machines with a binary which is not of release quality. 

May be after some-months, it would start working..

-abdul



On 2/27/06, Jonathan
Miranda [EMAIL PROTECTED]
 wrote:



Anyone
else get this to actually work from the FB options? I think the auto-installer
option in FlexBuilder2 doesn't work with flash player 8.5 alpha 3….since all my
users are seeing solid blue screens (meaning the script isn't triggering).

_

Jonathan Miranda

Flexible Master of
the Web

In the game of chess, it's important to never
let your opponent see your pieces.

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 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 

Re: [flexcoders] xml files embedded in swf?

2006-02-27 Thread Abdul Qabiz



Hi Jan,This is not a strange behaviour. mx:Model /, mx:XML / etc are compiler tags, which means content inside them (or linked) would be compiled in the SWF. It is well documented and it has been the same in Flex 
1.5 as well.You use @Embed (..), mx:XML /, mx:Model / when you want to compile the assets with-in the final SWFs.As Harish said, if you want to load content/assets on runtime, you should consider other available APIs/tags, 
f.ex. mx:HTTPService /, mx:Image / without @Embed in source attribute, mx:Loader / etcDoes that make sense?-abdulOn 2/27/06, 
Jan L. Nauta [EMAIL PROTECTED] wrote:
Hi Harish,Is there a reason for this strange behaviour? Normally I have to add @embedexplicitely... Also what is the limitation on the size of the xml embeded inthe swf?Regards,Jan L. Nauta
 -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Harish Sivaramakrishnan
 Sent: Monday, February 27, 2006 15:05 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] xml files embedded in swf? Hi
 mx:XML tag always embeds the xml at compile time, hence there is also a limitation to the size of the xml that you can load on to the swf. In order to read an xml data at run time you could use
 mx:HTTPService id=serv url=""> resultFormat=xml result=foo()/ You could write ur logic in function foo() and use the loaded xml data.
 Hope this helps, Harish. Flex-QA Adobe India. --- Jan L. Nauta [EMAIL PROTECTED] wrote:
 - Hi, (Flex 2.0 Beta 1) I noticed that xml files are always embedded in the generated .swf file??? mx:XML id=my_xml source=
my.xml format=e4x/ I thought it would work like images, so unless you embed it explicit it would be an external resource. The xml file even got copied to the bin
 directory, but the swf still uses it's 'internal' version... Regards, Jan L. Nauta -- 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. - __ Do You Yahoo!? Tired of spam?Yahoo! Mail has the best spam protection around
 http://mail.yahoo.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
--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.



  









Re: [flexcoders] xml files embedded in swf?

2006-02-27 Thread Abdul Qabiz



Also what is the limitation on the size of the xml embeded inthe swf?
I think, you can embed quite good amount of data in SWF in Flex 2.0. Where as Flex 1.5 had some limit. Check out the Flexcoders FAQ, link is in the footer of this email. You can also search the flexoders archive, I remember it has been discussed once.
-abdulOn 2/27/06, Jan L. Nauta [EMAIL PROTECTED] wrote:
Hi Harish,Is there a reason for this strange behaviour? Normally I have to add @embedexplicitely... Also what is the limitation on the size of the xml embeded inthe swf?Regards,Jan L. Nauta
 -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Harish Sivaramakrishnan
 Sent: Monday, February 27, 2006 15:05 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] xml files embedded in swf? Hi
 mx:XML tag always embeds the xml at compile time, hence there is also a limitation to the size of the xml that you can load on to the swf. In order to read an xml data at run time you could use
 mx:HTTPService id=serv url=""> resultFormat=xml result=foo()/ You could write ur logic in function foo() and use the loaded xml data.
 Hope this helps, Harish. Flex-QA Adobe India. --- Jan L. Nauta [EMAIL PROTECTED] wrote:
 - Hi, (Flex 2.0 Beta 1) I noticed that xml files are always embedded in the generated .swf file??? mx:XML id=my_xml source=
my.xml format=e4x/ I thought it would work like images, so unless you embed it explicit it would be an external resource. The xml file even got copied to the bin
 directory, but the swf still uses it's 'internal' version... Regards, Jan L. Nauta -- 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. - __ Do You Yahoo!? Tired of spam?Yahoo! Mail has the best spam protection around
 http://mail.yahoo.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
--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.



  









Re: [flexcoders] Flex2 :: Button :: Custom Skin Classes

2006-02-27 Thread Abdul Qabiz



Look at following links on skinning in Flex 2.0:-http://mannu.livejournal.com/305284.html
http://weblogs.macromedia.com/khoyt/archives/2006/02/programmatic_sk.cfm-abdulOn 2/28/06, Teoti Graphix 
[EMAIL PROTECTED] wrote:


Hello,

I know in previous incarnations of the Button, you would subclass
RectBorder and create a switch or conditional statement based on the
borderStyle which actually showed what 'phase' the button is in.

I see that the phase property now is protected. So we can't call paret.phase in the RectBorder skin class.

What is the correct way of subclassing the RectBorder for the skin styles of mx.controls.Button ?

I traced the borderStyle and came up with inset which is obviously a default that means nothing.

Any ideas adobe ?

Peace, Mike






--
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








  
  
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] Flex 2 Enterprise Services and SSL

2006-02-27 Thread Abdul Qabiz



I guess, it should support. If not, then it won't be hard doing the same by setting up few things in place. I guess, FES uses RTMP/AMF as communication protocol and you can make both of these work over SSL.See this link: 
http://www.macromedia.com/devnet/flashcom/articles/firewalls_proxy04.htmlAnd also this:
http://www.macromedia.com/software/flashmediaserver/productinfo/features/#f-5-6-abdulOn 2/28/06, Michael Klishin 
[EMAIL PROTECTED] wrote:Hi,Could anyone tell me if Flex 2 ES supports SSL for communication with
server?Regards.0:35 | 28.02.2006--Michael Antares Klishin,Email: [EMAIL PROTECTED]Web: 
www.novemberain.comNon progredi est regredi--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 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.



  









Re: [flexcoders] DG display with xml and webservice

2006-02-27 Thread Abdul Qabiz



Try this:mx.utils.ArrayUtil.toArray(ResultEvent(event).result)mx:WebService id=srvuseProxy=falsewsdl=http://flex.homesmartagent.com
/cfc/adminHS2F.cfc?wsdlresult=agents = new ArrayCollection(mx.utils.ArrayUtil.toArray
(ResultEvent(event).result))showBusyCursor=true /Does that work?-abdulOn 2/28/06, Jeremy Rottman
 [EMAIL PROTECTED] wrote:I am using a webservice to call a function from my cfc that returns
data as xml. When the data results are received, I convert the resultsinto an array named agents. I am trying to populate my dg with thearray. When I click on the dg I am calling the functionagentDisplayQry. Which calls the function in my cfc. However, I cant
get this to work. Can someone help me with this.Here is what I am trying.mx:Scriptimport mx.collections.ArrayCollection;[Bindable]public var agents:ArrayCollection;
/mx:Scriptmx:WebService id=srvuseProxy=falsewsdl=http://flex.homesmartagent.com/cfc/adminHS2F.cfc?wsdl
result=agents = newArrayCollection(srv.agentDisplayQry.result.list.employee)showBusyCursor=true /Then I am using this dg to display the information.mx:DataGrid x=18 y=291 width=695
click=agentDisplayQry(fileNum.text) dataProvider={agents}height=192 id=datagrid1mx:columns
mx:DataGridColumn headerText=Agent Name width=275columnName=agentName/mx:DataGridColumn headerText=Transaction Side width=150
columnName=agentSide/mx:DataGridColumn editable=true headerText=% of Sidewidth=95columnName=col3/ mx:DataGridColumn
headerText=Type width=175 columnName=agentType//mx:columns/mx:DataGrid--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] syntax / code hinting help for a custom classes 'type' variable

2006-02-27 Thread grae_hall
I'm extending the effects class to allow me to have a custom tag that 
can tween a component in a known and limited number of ways.

I'm not really sure what the correct syntax is to define those limited 
types of class methods.

Say my tween class allows you to tween the alpha, the scale, and the 
coordinates of a designated item on the stage.

So, I'm not sure how to define a variable in my class 
called tweenType so it consists of 3 potential values named alphaFX, 
scaleFX and coordFX, with one of them being a default.

I'd also like to be able to type myMX:effect tweenType=alphaFX... 
and it code hint the known values of the variable in the class.

I'm not really sure what sort object/variable is the correct one to use 
in AS3.

Any help would be greatly appreciated - etc.





--
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] CF/Flex Integration Issue: RangeError

2006-02-27 Thread perezd324
Hey all, I have been working on a sample app using CF and Flex 2. 
and so far its working smooth...Until I run across a query that has 
no records in it. I have it take the results and bind them to a 
datagrid, this is the error it gives me:

RangeError: Index '0' specified is out of bounds
at mx.collections::ListCollectionView/getItemAt()
at 
mx.collections::ListCollectionView/http://www.macromedia.com/2005/act
ionscript/flash/proxy::getProperty()
at 
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/intern
al::processResult()
at 
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/intern
al::resultHandler()
at flash.events::EventDispatcher/dispatchEvent()
at mx.rpc::Producer/acknowledge()
at C:\dev\enterprise_beta1\frameworks\libs\framework.swc
(mx/core/mx_internal)$35::NetConnectionMessageResponder/result()



here is the function that is executed when the remoteobject gets a 
result:


import mx.rpc.events.*;
import mx.collections.ArrayCollection;

public var LogLength:String;
public var LogName:String;

[Bindable]
public var LogData:ArrayCollection;



public function DGResults(){




LogData = LogDataSvc.CFLogToQuery.result;
LogLength = LogData.length.toString();
LogName = [EMAIL PROTECTED]();
t1.text = LogLength;


if (LogData.list.length.toString() != '0'){
mainpanel.title = 'CFLogView | ' + LogName + ' - ' + 
LogLength + ' records found';
 dglogresults.dataProvider = LogData;
}
else {

dglogresults.dataProvider = ;
mainpanel.title = 'CFLogView';

}
}

is there some sort of try/catch I can run or something to make it 
stop telling me this error? I'd prefer it to just set the 
dataprovider to null so nothing shows up rather than tell me that 
there is nothing in the array...I don't know what to do here. Any 
Suggestions?






--
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 builder 1.5 or 2.0

2006-02-27 Thread Abdul Qabiz



FlexBuilder 2 is much better than FlexBuilder 1.5. It is based on Eclipse and has better development work flow, debugging capabilities, project management and much more.
http://labs.macromedia.com/wiki/index.php/Flex_Builder:overviewAdobe Flex 2.0 is far superior than Flex 1.5. It has more components, better framework, easier component development work flow, better cell rendering architecture, new features in DataGrid and other controls. And of course lots of bug fixes. Flex 2 framework is completely rewritten for performance, clean API etc.
Flex 2.0 applications run on Macromedia Flash Player 8.5 which has lots of new features(E4X, Regular Expressions, new Display List architecture and more), better programming language, ActionScript 3 which is more strict/intuitive to developers from different OO programming background.
http://www.macromedia.com/devnet/flex/articles/flex2_intro.htmlHope that helps...-abdul
On 2/27/06, oiland_barry [EMAIL PROTECTED] wrote:
Hello everyone,im new to the group and only just started using the whole Flexenvironment and language in the past fewe weeks.I can see theadvantages of using Flex for the GUI's that my system will use and
using Coldfusion cfc's to manipulate my database and data as a whole.I am using Coldfusion to develop my main system and i intend to useFlex to create some powerful GUI's.However i have been having some
major problems getting to two to work together (cf/flex compilermerge, Coldfusion cfc's as remote objects).I have been using Flex Builder 1.5 for a few weeks now and im startingto build what will be a pretty sophisticated application.I have been
having a few problems with getting Coldfusion cfc/Remote Objectsworking, thankfully i have got a quick fix so i can continuedeveloping my application for the time being, but i need to get thisproblem sorted before i can deploy the system for production use.
My main question is what are the advantages of using Flex Builder 2.0over 1.5, and indeed the Flex 2.0 language over 1.5.I was about toinstall Flex Builder 2.0 on my laptop to develop the system, but i
just got the remote objects/cfc's working so i thought that if it aintbroke dont fix it!I am running the cf and flex as integrated JRun 4 servers on onemachine on my network, and i am developing and viewing the cf and flex
applications on my laptop.Any comments would be helpful.Thanks,Barry--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.



  









RE: [flexcoders] strange undefined property error

2006-02-27 Thread Tracy Spratt
And you can't do work like that outside of a function.  You can only
declare stuff, and assign primitive values.
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Geoffrey Williams
Sent: Monday, February 27, 2006 9:42 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] strange undefined property error

'a' hasn't been created when you try to assign a value to 'text':

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
layout=absolute creationComplete=init ()
mx:Script
![CDATA[
internal var test:String = foo;

internal function init () {
a.text = test;
}
]]
/mx:Script
mx:TextArea x=45 y=50 width=662 height=477 id=a/
/mx:Application

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, February 27, 2006 4:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] strange undefined property error

Below is the complete code. I've done a few test 'applications' with
flex
2.0 in the last few weeks. When I decided to dig deeper into xml and
flex
however everything went weird. The following code gives an undefined
property error on both 'a' and 'test'. I might be overlooking something
obvious here, but as far as I can see the code is correct. What could
cause this?

Kind regards,
Sonja Duijvesteijn



?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
layout=absolute
mx:Script
![CDATA[
var test:String = foo;
a.text = test;
]]
/mx:Script
mx:TextArea x=45 y=50 width=662 height=477 id=a/
/mx:Application




--
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] Flex2 :: Internal Build Error :: Adobe Engineers?

2006-02-27 Thread Teoti Graphix



Hello,

Well using FLex 2 beta I get the internal build error with this;

test.mxml

-

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml width=600 height=600

 mx:Script
  ![CDATA[
   var b;
  ]]
 /mx:Script

 mx:Button id=b/

/mx:Application

An internal build error has occurred. Please check the Error Log.

But, add public to it, 

public var b;

I get the Conflict with definition '_b' in namespace 'test'.

Peace, MikeOn 2/27/06, Gordon Smith [EMAIL PROTECTED] wrote:

















I can't repro your problem. Here's what I
tried:





App.mxml:

---



?xml version=1.0
encoding=utf-8?

mx:Application xmlns:mx=
http://www.adobe.com/2006/mxml
width=600 height=600

 mx:Script
source=script.as/

 mx:Button id=b/

/mx:Application



script.as:


-



var b:Button;





When I compile App.mxml I get



Error: Conflict with definition 'b' in
namespace 'internal'



Please file a bug with code that gives the
internal build error.



- Gordon











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Teoti Graphix
Sent: Saturday, February 25, 2006
9:51 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex2 ::
Internal Build Error :: Adobe Engineers?





oh yeah,

The reason I found this is becasue I had suspisions of this class but I added
the public modifier to it and THEN actually got the error of a duplicated id.

So maybe the problem is you ar not checking both var and public var for
duplications of id's ?

Peace, Mike



On 2/25/06, Teoti
Graphix [EMAIL PROTECTED]
wrote:

Ok,

WHEW!

I wasted 2 'partial' days trying to recover my componet project.

Man, this is something you people need to get on top of becasue people with be
screaming if this situation happens to them!

After I sliced and diced my project to all (**) I found an interesting
thing in a sub mxml component.

I had duplicated a button id.

So, 

1) A button id=drag_bt was in the mxml componen xml.
2) There was an mx:Script block preceding the mxml.
3) in the script block I had accidently declared
- var drag_bt:Button

Once I commented out this ONE LINE, the whole project of over 15 classes
started working again!

I don't know what the problem with the compiler is but, it didn't say
duplicated reference. Just internal build error. I mean come on you know what
the odds of me finding something like that that shut down my whole project is!

Dangerous men, dangerous ;-)

Peace, Mike







On 2/21/06, Matt
Chotin 
[EMAIL PROTECTED] wrote:



Obviously an internal build error should never occur, instead
we should give you a real error message. So you've determined it's in
your custom component right? Just build that back up I guess.
Perhaps create another Application and just put the custom component in there,
see if it gives you a real error.



Matt











From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Teoti Graphix
Sent: Tuesday, February 21, 2006
5:53 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex2 ::
Internal Build Error :: Adobe Engineers?







Thanks ;-)

but... no dice, I did exactly whaty you said, still I can't get passed the
An internal error has occured. Please check the Error log.

Now, the error log, I suppose this si something I have had to set up, and right
now there really is no error log?

Anyway, I have this error registering 2 times in the queue for
TEOListPaneComponent resource.

Then I get a funny warning Application file TESTComponents.mxml does not
exists.

You know what, I know it dosn't exist becasue I deleted it! :)

I also went into the properties and made sure it wasn't still registered, it
was but had (deleted) next to it. So I delete the referecne there.

Now, I also have created an entirly new project copied the mxml in. Does not
work, next I started cutting out parts to see if I could get it to build. Yes,
haha I took out my 2 custom components that were in an HBox and it worked. That
still hasn't helped me! Yes, I know the problem is in my component somwhere
but, I don't know where.

Adboe engineers are awsome, I jut hope there will be a more elegent way to fix
this our at least guide us developers becasue I am wastin time, hehe time is
money they say.

Peace, Mike



On
2/21/06, JesterXL [EMAIL PROTECTED]
wrote:



I
usually copy files and rebuild them from various parts. Like, I'll create
a bin directory by hand, copy other SWF's in, and rename them to
yourproject.swf, and yourproject-debug.swf. The HTML
files are copied from other projects too, but the html-template folder can be
rebuilt by right clicking on the error in the Problems tab.











Try
that.













-
Original Message - 




From: 
Teoti Graphix 





To: 
flexcoders@yahoogroups.com 





Sent: Tuesday, February 21, 2006 8:12 PM






Subject: [flexcoders] Flex2 :: Internal
Build Error :: Adobe Engineers?












[flexcoders] Proxy Server Issue ( lc_id is undefined )

2006-02-27 Thread shahnavaz Alware










Hi All,



I have a following situation



Server A  Flex Application

Server B  Proxy Server (Apache)



Server B has a mapping 



I have following settings on my Proxy Server B



***

DefaultType application/octet-stream



Mime.types file has following line for Flash

application/x-shockwave-flash swf



*

On Server A flex-config.xml has following setting



 external-proxy


locationhmsee.hmssoftware.net/location


/external-proxy



Now when I try to get to the flex application through Proxy
Server it properly forwards the request to Login Screen. Once I pass login
information it tries to open the Flex Application and my browser shows Opening
status forever. 



Is there something I am missing here to get the Flex
Application running using Proxy Server?



I appreciate the replies from flexcoders.



ShahnavazAlware |Software Engineer| Visiprise
| office: +1 760-929-2300 ext
140| cell: +1 858-366-3440 | www.visiprise.com



It is our company policy not to accept
email of any data controlled by the International Traffic in Arms Regulations
(ITAR). Please contact our Security Officer,Matt Reeves, for instructions
and authorization to transmit such data.











--
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] Flex2 :: Button :: Custom Skin Classes

2006-02-27 Thread Teoti Graphix



Thank you!

That was exactly what I was looking for.

For those who don't have the time to click the link right now,

Solution::

Use a switch statement on the ProgramaticSkin, Border or RectBorder using the 'name' property of the skin class.

Great, and eloquent. 

Peace, MikeOn 2/27/06, Abdul Qabiz [EMAIL PROTECTED] wrote:



Look at following links on skinning in Flex 2.0:-http://mannu.livejournal.com/305284.html

http://weblogs.macromedia.com/khoyt/archives/2006/02/programmatic_sk.cfm-abdulOn 2/28/06, Teoti Graphix
 
[EMAIL PROTECTED] wrote:



Hello,

I know in previous incarnations of the Button, you would subclass
RectBorder and create a switch or conditional statement based on the
borderStyle which actually showed what 'phase' the button is in.

I see that the phase property now is protected. So we can't call paret.phase in the RectBorder skin class.

What is the correct way of subclassing the RectBorder for the skin styles of mx.controls.Button ?

I traced the borderStyle and came up with inset which is obviously a default that means nothing.

Any ideas adobe ?

Peace, Mike






--
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









  
  
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








  
  
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] [ann] Sydney Developers Group March meeting

2006-02-27 Thread Chris Velevitch
On Monday 13th March is the first meeting of the year and it starts
with the new study group weekly meeting format. With the study group
format, members are asked to study some aspect of the  Flash Platform
prior to the meeting. At the meeting, the moderator will lead
discussion and questions about the topic. The meeting is on at 6:30pm
for 7pm start and finishes around 8:30pm.

Details about the group, venue and program are available from
http://www.flashdev.org.au.

Also, remember to come to the National User Group meeting tomorrow
night 1st March, at StarCity Convention Centre at 7pm as the kick off
event for WebDu 2006 (www.webdu.com.au)



Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au


--
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] Automated Testing of Flex Components

2006-02-27 Thread Caine Lai
Perhaps someone has an answer for this.  We are thinking of using Flex
components in our JSP pages and don't know we we will do our automated
testing.  Are there any automated testing tools for Flash/Flex?

Thanks.





--
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] Proxy Server Issue ( lc_id is undefined )

2006-02-27 Thread Tariq Ahmed






Regarding lc_id, I've seen that problem when using IIS. Check the IIS
config - it needs the execute perms to be set to scripts and
executables.


shahnavaz Alware wrote:

  
  
  
  
  Hi All,
  
  I have a following
situation
  
  Server A  Flex Application
  Server B  Proxy Server (Apache)
  
  Server B has a mapping 
  
  I have following settings
on my Proxy Server B
  
  ***
  DefaultType
application/octet-stream
  
  Mime.types file has
following line for Flash
  application/x-shockwave-flash
swf
  
  *
  On
Server A flex-config.xml has following setting
  
  
  external-proxy
  
  locationhmsee.hmssoftware.net/location
  
/external-proxy
  
  Now when I try to get to
the flex application through Proxy
Server it properly forwards the request to Login Screen. Once I pass
login
information it tries to open the Flex Application and my browser shows
Opening
status forever. 
  
  Is there something I am
missing here to get the Flex
Application running using Proxy Server?
  
  I appreciate the replies
from flexcoders.
  
  ShahnavazAlware
|Software Engineer| Visiprise
  | office: +1
760-929-2300 ext
140| cell: +1 858-366-3440 | www.visiprise.com
  
  It is our
company policy not to accept
email of any data controlled by the International Traffic in Arms
Regulations
(ITAR). Please contact our Security Officer,Matt Reeves, for
instructions
and authorization to transmit such data.
  
  









--
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: Full dynamic tree example

2006-02-27 Thread Hari Kolasani






Here is a sample .mxml/as code that worked for me. Hope this will
help.

- Hari

*
?xml version="1.0" encoding="utf-8"?
mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml"
backgroundColor="#FF" creationComplete="initList()"
 mx:Script
  ![CDATA[
  import mx.collections.XMLListCollection;
  
  var origXML:XML;

  public function initList() 
  {
   myTree.rootVisible = false;

   //TODO: Get this XML from a data service
   var origXMLString:String = "MyRoot " + 
   "node1
label=\"supernode1\" someProp=\"sdsdf \" isBranch=\"true\"/" + 
   "node2
label=\"supernode2\" someProp=\"sdsdf \" isBranch=\"true\"/" + 
   "node3
label=\"supernode3\" someProp=\"sdsdf \" isBranch=\"true\"/" + 
  "/MyRoot";
   
   origXML = new XML(origXMLString);
   myTree.dataProvider = origXML;
  }
  public function open(event:Object)
  {
   var selectedNode:Object =event.node;
   
   var myXMLList:XMLList = new XMLList(selectedNode);
   
   //TODO: Get this XML from a data service
based on the selected node.
   var newXMLString:String = "childnode1
label=\"childnode1\" someProp=\"sdsdf \" isBranch=\"true\" /" + 
 "childnode2
label=\"childnode2\" someProp=\"sdsdf \" isBranch=\"false\" /" + 
  "childnode3
label=\"childnode3\" someProp=\"sdsdf \" isBranch=\"true\" /" ; 
   
   var myNewXMLList:XMLList = new XMLList(newXMLString);
   
   selectedNode.setChildren(myNewXMLList);
   
   myText1.text = selectedNode.toXMLString();
   myText2.text = myTree.dataProvider.source[0];
   myTree.dataProvider = origXML;
  }
  
  public function close(event:Object)
  {
   var selectedNode:Object = event.node;
   
   var myXMLList:XMLList = new XMLList(selectedNode);
   
   removeAllDecendants(myXMLList);
   
   myText1.text = selectedNode.toXMLString();
   myText2.text = myTree.dataProvider.source[0];
   myTree.dataProvider = origXML;
  }
  
  public function removeAllDecendants(xmlList:XMLList)
  {
   var myDescendantXMLList:XMLList = xmlList.descendants();
   var myDecendentXMLListCollection:XMLListCollection = new
XMLListCollection(myDescendantXMLList);
   myDecendentXMLListCollection.removeAll();
  }

 ]]
 /mx:Script

 !-- Simple example to demonstrate the Tree control --
 mx:XML id="myxml"
 /mx:XML

 mx:HDividedBox width="100%" height="100%"

 !-- Tree listing of directories (only) --
 mx:Box
mx:Tree id="myTree" width="600" height="600"
labelField="@label" defaultLeafIcon="@Embed('images/folder.gif')"
nodeOpen="open(event)" nodeClose="close(event)"/
 /mx:Box

  mx:VBox
  !-- Text Areas to Display Node XMLs --
  mx:Box
   mx:TextArea width="600" height="300" id="myText1"
/
  /mx:Box
 mx:Box
   mx:TextArea width="600" height="300" id="myText2"
/
  /mx:Box
 /mx:VBox
 /mx:HDividedBox
/mx:Application
*

Brendan Meutzner wrote:

It doesn't work for 2.0
  
  
Brendan
  
--- In flexcoders@yahoogroups.com, "Pat Buchanan" [EMAIL PROTECTED]
wrote:

 Brendan - thank you so much for the additional information. I'm
sure it
 will prove helpful. Do you know if this FAST architecture is
compatible with
 Flex 2?
 
 However, if anyone out there happens to run into a self contained,
fully
 running simple example (with source) please pass along the URL. If
I can
 finally get one running, I will post the source here.
 
 It would be greatly appreciated.
 
 Oh - and Flex 2 is the target, of course. :)
 
 Thank you!
 -Pat Buchanan
 
 
 
 On 2/24/06, Brendan Meutzner [EMAIL PROTECTED] wrote:
 
  Pat,
 
  Have a look at the object inspector tool in the FAST
toolkit...
 
  http://www.macromedia.com/devnet/flex/articles/fast_userguide.html
 
  Pay attention to:
 
  EchoConsole.mxml
  EchoConsoleconnection.as
  EchoAppConnection.as
 
  You'll have to figure out your remote calls, but this does
show the
  dynamic construction of a tree dataProvider might help...
 
 
  Brendan
 
 
 
  --- In flexcoders@yahoogroups.com, "Pat Buchanan"
ajillis@ wrote:
  
   Hello fellow Flex coders! Greetings from the frozen
state of Utah.
  
   Well, I'm stuck. I see a lot of people asking for
examples of how
  to do a
   dynamic tree. Dynamic as in JUST loading the first
level of nodes,
  and when
   the user opens a node, it calls back to the server, gets
it's
  children, and
   adds them to the tree dynamically.
  
   (The reason I can't load the tree all at once is because
it can be
   recursive, so the tree would go forever.)
  
   Anyway, I have searched the list archive and I see a LOT
of
answers with
   either a quick explanation or tiny partial code snippet,
but
have yet to
   find a COMPLETE running example. Every time I find what
I'm looking
  for via
   Google, it links back to a certain pay site and I can't
justify $250
  for a
   few lines of example code.
  
   Does anyone know of a fully working dynamic tree example
with
source?
  
   I'm POSITIVE it's right under my 

  1   2   >