Re: [flexcoders] Flex applications not working with Mozilla firefox

2005-09-16 Thread Michael Nisi
By going to http://macromedia.com?


 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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] Cairgorn Bug?

2005-09-16 Thread Michael Herron










There are only so many things it can be:

 

·
Have you
registered the event correctly with the controller?

·
Has the
controller been instantiated?

·
Has the
controller been instantiated BEFORE the event is broadcast? 

o   
When is
the event broadcast?

·
Are you instantiating
a delegate from within your command?

·
Are all
services required by the delegates available when they are constructed?

 

-Mike









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Omar Ramos
Sent: 16 September 2005 15:40
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Cairgorn
Bug?



 



Nope, This is the call
EventBroadcaster.getInstance().broadcastEvent(ScrapblogController.EVENT_SELECT_OBJECT,
eventObj); The command only implements the Command interface and only has a if
and a switch statement on execute thats it. 





 







 





On 9/16/05, Mercer,
Dustin <[EMAIL PROTECTED]>
wrote: 



Just curious, do you use any viewhelpers within your command?

 









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Omar Ramos
Sent: Friday, September 16, 2005
5:54 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Cairgorn
Bug?





 

I have set traces all over the place. No errors are
occurring and the command gets executed. Any Idea what could be the problem? 



On
9/14/05, Omar Ramos < [EMAIL PROTECTED]>
wrote: 

Thanks
alot for your reply ali, If in fact there was an error why the piece of code
beneth that line doesn't get executed? I am checking the command it is
executing just fine. Gona check on it again. 



 



On
9/14/05, Alistair
 McLeod <
[EMAIL PROTECTED] > wrote: 

Hi Omar,

 

An exception is probably getting thrown somewhere, either in
the EventBroadcaster because the event hasn't been registered with a command,
or within your command itself. 

 

Have you checked flashlog.txt (ensure you have debug player,
mm.cfg etc).

 

Ali



 



--

Alistair McLeod 
Development
Director 
iteration::two

 

[EMAIL PROTECTED]

Office:
+44 (0)131 338 6108 
 

This
e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately. 


Please also note that while software systems have been used to try to
ensure that this e-mail has been swept for viruses, iteration::two do not
accept responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out before
any attachments are opened. 



 



 







From: flexcoders@yahoogroups.com
[mailto:
flexcoders@yahoogroups.com] On Behalf Of Omar
Ramos
Sent: 14 September 2005 00:43
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairgorn
Bug?

 





Hi there,





 





There is
something strange going with cairngorm in the application am currently
developting. It seams that when I do a broadcast the lines of code beneth if
doesn't execute. 





I do
this.





 





EventBroadcaster.getInstance().broadcastEvent(ScrapblogController.EVENT_SELECT_OBJECT,
eventObj);
trace("TEST"); 





 





 





and the
trace never apears or the code beneth it never gets executed. Any ideas?





 





 





 





Omar
Ramos





System
Developer



 



--
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 
  
  
  Software design and development 
  
  
  Macromedia flex 
  
 
 
  
  Software development best practice 
  
  
   
  
  
   
  
 


 











YAHOO! GROUPS
LINKS 

 


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


 













 













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















YAHOO!
GROUPS LINKS


 


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


 




















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





  




  
  
  YAHOO! GROUPS LINKS



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

RE: [flexcoders] Accessing the root of a custom component

2005-10-10 Thread Michael Herron










You don’t need an ID as the
properties from the super class are within the “this” scope of the
custom component..so if you extended the TextInput and wanted to set the text
property:

 



 

    public
function setDefault(){

    //Sets
the text property to a default value

    text=”default”

}

 



 

-Mike









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alban Soupper
Sent: 10 October 2005 09:12
To: Flexcoders (E-mail)
Subject: [flexcoders] Accessing
the root of a custom component



 

Hi all,

is there a workaround to the fact that "id is
not allowed on root node"?
How can I access the root node of a custom
component to change its property?

Best regards,
Alban.


***

This email and any files transmitted with it are
confidential and
intended solely for the use of the individual or
entity to whom they
are addressed. If you have received this email in
error please notify
the system manager to [EMAIL PROTECTED]

***









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





  




  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Flex2 :: mx.controls.HorizontalList-like control

2005-11-15 Thread Michael Hansen



Matt,

Thank you very much for your reply. 

I've been looking for a in-depth description of how to create a custom components in flex2 for doing such a component, i.e. 

1. What events are fired, and when
2. Which methods must be implemented
3. How to access child tags
4. How to do measures...
5. etc.

Do such a doc. exist at present? 

Any help would be much appreciated.

Cheers

   -michael




On 11/15/05, Matt Chotin <[EMAIL PROTECTED]> wrote:

















Unfortunately it's still a Repeater
that's going to be your best bet or a custom control that you right.  We won't
support variableWidth in the HorizontalList.

 

Matt

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of flexhansen
Sent: Monday, November 14, 2005
1:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 ::
mx.controls.HorizontalList-like control



 

Hi list,

What would be the recommended approach for doing a
mx.controls.HorizontalList-like control for
elements of unequal width
using flex2?

Cheers

  -michael












--
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] Flex2 :: mx.controls.HorizontalList-like control

2005-11-16 Thread Michael Hansen



Hi Matt,

Sure I have, but the interesting chapter is missing:

http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp.htm?href="">


The current docs is mostly simple stuff. What I am looking for is a
description of the component model, i.e. a component life cycle
description including required implemented
interfaces/extensions/abstract methods (and why), layout model, and
hooks etc. Perhaps also couple of UML diagrams...?

In other words a description detailed enough so that i don't have to
pester busy guys like yourself with more or less trivial questions :o)
I know this is an alpha release, so it is perhaps to early for this
kind of stuff?

Thank you for your time Matt.

Cheers

 -michael



On 11/16/05, Matt Chotin <[EMAIL PROTECTED]> wrote:

















Have you read the various documentation
chapters available off of labs?  http://labs.macromedia.com/wiki/index.php/Flex_Framework#Documentation


 

One to look at would be Creating
and Extending Flex Components

 

Matt









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Michael Hansen
Sent: Tuesday, November 15, 2005
2:00 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex2 ::
mx.controls.HorizontalList-like control



 

Matt,

Thank you very much for your reply. 

I've been looking for a in-depth description of how to create a custom
components in flex2 for doing such a component, i.e. 

1. What events are fired, and when
2. Which methods must be implemented
3. How to access child tags
4. How to do measures...
5. etc.

Do such a doc. exist at present? 

Any help would be much appreciated.

Cheers

   -michael








On 11/15/05, Matt
Chotin <[EMAIL PROTECTED]>
wrote:



Unfortunately it's still a Repeater that's going to be your
best bet or a custom control that you right.  We won't support
variableWidth in the HorizontalList.

 

Matt

 









From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of flexhansen
Sent: Monday, November 14, 2005
1:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 ::
mx.controls.HorizontalList-like control





 

Hi list,

What would be the recommended approach for doing a
mx.controls.HorizontalList-like control for
elements of unequal width
using flex2?

Cheers

  -michael







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



  









RE: [flexcoders] Re: Question about Enable / Disable Validator

2005-11-16 Thread Michael Herron










From a cairngorm View Helper you should usually use syntax
like:

 

mx.validators.Validator.disable(view,
"modelName.elementName");

 

There isn’t really a “current
document” in flex, the first argument you need to provide is just a
reference to the document that the  you are validating against
was declared on. So from a view helper, the ‘view’ property does
this.

 

-Mike









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Libby
Sent: Tuesday, November 15, 2005
6:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Question
about Enable / Disable Validator



 

Ok, further testing makes me
think that my "pointer" to the current
document is not always good. I am getting it by
using
mx.application.application.objectName.objectName...  
Is this the
wrong way to do this, is there a better way to get
to the current
document? I apologize if this is a dumb question
as I am pretty new to
Flex development.

Thanks,
Libby

--- In flexcoders@yahoogroups.com,
"Libby" 
wrote:
>
> I am disabling the right one, but that's all
I am doing. It seems to
> me I need to do something to tell flex to
repaint the screen, which
> would then remove the red border since the
validator is not being
> invoked. Is this wrong?
> 
> --- In flexcoders@yahoogroups.com,
"Matt Chotin" <[EMAIL PROTECTED]> wrote:
> >
> > Hmm, disabling the validator usually
does clear any borders, you sure
> > you disabled the right one? 
> > 
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
> > Behalf Of Libby
> > Sent: Monday, November 14, 2005 5:52 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Question about Enable
/ Disable Validator
> > 
> >  
> > 
> > If you have a validator enabled and an
error has been thrown (the
> > field is red border), then you disable
the validator, the border stays
> > red. How can you force the red border to
go away after you disable the
> > validator? Somehow you need to repaint
the screen...?
> > 
> > Thanks,
> > Libby
> > 
> > 
> > 
> > 
> > 
> > --
> > 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
> >
 >
site+design+development&w2=Computer+software+development&w3=Software+des
> >
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
> >
tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>  
> > 
> > Computer software development
> >
 >
b+site+design+development&w2=Computer+software+development&w3=Software+d
> >
esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
> > actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> 

> > 
> > Software design and development
> >
 >
Web+site+design+development&w2=Computer+software+development&w3=Software
> >
+design+and+development&w4=Macromedia+flex&w5=Software+development+best+
> >
practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  
> > 
> > Macromedia flex
> >
 >
development&w2=Computer+software+development&w3=Software+design+and+deve
> >
lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> >
66&.sig=OO6nPIrz7_EpZI36cYzBjw>  
> > 
> > Software development best practice
> >
 >
w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
> >
are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
> >
st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>  
> > 
> >  
> > 
> >  
> > 
> > 
> > 
> > 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
  
  


Macromedi

[flexcoders] Flex2 :: HorizontalList Bug

2005-11-16 Thread Michael Hansen



Hi list,

I'm experiencing problems with the HorizontalList. Put up a
HorizontalList and bind it to a XMLListCollection. In my case I'm
showing some images.

1. Make it so that the list has horizontal scrollbars (e.g. by scaling the browser window)

2. Drag the scrollbar so that the _first_ tile disappears

3. scroll the _first_ tile into view again

4. click on any one of the tiles and...


Error: Invalid index: -1
    at mx.collections::BaseListCollectionView/http://www.macromedia.com/2005/flex/mx/internal::getBookmark()
    at mx.collections::BaseListCollectionViewCursor/get bookmark()
    at mx.controls.listclasses::ListBase/selectItem()
    at mx.controls.listclasses::ListBase/mouseDownHandler()


Anybody see this issue, and found a fix?? I'm really desperate... 

Thank you for any help!!

-michael


** app.mxml




  height="200"
  width="400"
  listItemRenderer="Thumbnail">



** thumbnail.mxml


http://www.macromedia.com/2005/mxml"
            borderStyle="solid"
            width="141"
            height="180"
            verticalAlign="middle" 
            verticalGap="0"
            vScrollPolicy="off"
            hScrollPolicy="off">

        
        





Anybody experiencing problems with the HorizontalList in flex2?

Here's my problem:








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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Flex2 :: HorizontalList Bug

2005-11-16 Thread Michael Hansen



I found a fix:

Use ArrayCollection instead of XMLListCollection for the result, i.e. don't use e4x as return type.

Hope this help somebody.

Cheers 

  -michael

On 11/16/05, Michael Hansen <[EMAIL PROTECTED]> wrote:
Hi list,

I'm experiencing problems with the HorizontalList. Put up a
HorizontalList and bind it to a XMLListCollection. In my case I'm
showing some images.

1. Make it so that the list has horizontal scrollbars (e.g. by scaling the browser window)

2. Drag the scrollbar so that the _first_ tile disappears

3. scroll the _first_ tile into view again

4. click on any one of the tiles and...


Error: Invalid index: -1
    at mx.collections::BaseListCollectionView/http://www.macromedia.com/2005/flex/mx/internal::getBookmark()
    at mx.collections::BaseListCollectionViewCursor/get bookmark()
    at mx.controls.listclasses::ListBase/selectItem()
    at mx.controls.listclasses::ListBase/mouseDownHandler()


Anybody see this issue, and found a fix?? I'm really desperate... 

Thank you for any help!!

-michael


** app.mxml




  height="200"
  width="400"
  listItemRenderer="Thumbnail">



** thumbnail.mxml


http://www.macromedia.com/2005/mxml"
            borderStyle="solid"
            width="141"
            height="180"
            verticalAlign="middle" 
            verticalGap="0"
            vScrollPolicy="off"
            hScrollPolicy="off">

        
        





Anybody experiencing problems with the HorizontalList in flex2?

Here's my problem:










--
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] handling empty(null) in CellRenderer

2005-11-18 Thread Michael Hansen



how about something like:


cheers
  -michael
On 11/18/05, keishichi2001 <[EMAIL PROTECTED]> wrote:




(flex2.0)

When i pass empty XML element into CellRenderer, and handle it like
followed, it shows as 'null' - String.

(in the CellRenderer)
...

...

I want it to be shown real empty(which means, show nothing) if empty
XML element given.

Does anyone run into same issue?
And how did u solved this?


Best Regards,
Keishichi













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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  
















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex2 : databinding & itemrenders

2005-11-18 Thread Michael Hansen



hi List,

I have a HorizontalList with a listItemRenderer. 

[Bindable]
public var ItemList:ArrayCollection;



The thumbnail.mxml consists of an vbox with an image and a label like so:


    
    


My problem is that if I change the underlying model(ItemList) for the
HorizontalList, the label text in the thumbnail render does not reflect
the change!? However if I poll the model using 

function doClick(event:Event) {
  
   ... event.target.selectedItem.file  ...
}

the updated data _is_ retrived. Seems the change is not reflected to the itemrender?!!
Am I missing something here...?

Thanks in advance :)

Cheers

 -michael








--
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 : databinding & itemrenders

2005-11-18 Thread Michael Hansen



Thank you Manish!

I'm not getting any warnings. :(

I don't quite follow your suggestion. Sorry for being stupid, but all
this is semi new to me :) Could you elaborate a bit on your 
answer?

Also do you guys have a public bug tracking running somewhere. I would
save us all (both you and me) some time. (i also got found 7 or 8 bugs
i would like verify, before submitting)

Thanks again, and have a nice weekend.

cheers

 -michael


On 11/18/05, Manish Jethani <[EMAIL PROTECTED]> wrote:




On 11/18/05, Michael Hansen <[EMAIL PROTECTED]> wrote:

>  The thumbnail.mxml consists of an vbox with an image and a label like so:
>
>  
>  
>  
>  
>
>  My problem is that if I change the underlying
model(ItemList) for the HorizontalList, the label text in the thumbnail
render does not reflect the change!?

The Alpha 1 build has a bug: dataObject is not bindable (aren't you
getting a warning?).  I believe we've fixed it now, but for the time
being you have to write a setter for the 'dataObject' property in your
custom cell renderer.

Manish







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

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






  




  
  
  YAHOO! GROUPS LINKS



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




  
















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





  




  
  
  YAHOO! GROUPS LINKS



   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 : databinding & itemrenders

2005-11-20 Thread Michael Hansen



Hi Manish,

Your trick doesn't seem to work. Actually it throws an exception on app. init.

Debugging the thumbnail.mxml file I observe the following:

1. first thumbnail '  function set dataObject'   is called with dataObject corresponding to dataprovider[0] multiple times
2. when it do iterates over the dataProvider array, both 'label', and parent is null? (which is what causes the exception)
3.  'function set dataObject' is _not_ called when the dataProvider array is changed.

I also notice that the binding works when tiles are scrolled off, and
on screen. I presume this is caused by the tiles being
destroyed/created when not in view/being displayed anew and therefore
not related to anything useful.

Isn't there a way to loop through the itemlist, and manually force a rebind of the dataObjects?

I guess one could rebind the dataProvider by alternating 2 databuffers;
but how do i clone the object array. Object itself doesn't seem to implement
.clone() ? Do I have to write some for..in stuff for that?


I'll tell you, I for one is hoping for a new release _very_ soon.  :D

cheers

 -michael




On 11/19/05, Manish Jethani <[EMAIL PROTECTED]
> wrote:




On 11/18/05, Michael Hansen <[EMAIL PROTECTED]> wrote:

>  I don't quite follow your suggestion. Sorry for being stupid, but all this
> is semi new to me :) Could you elaborate a bit on your  answer?

So instead of this:


    
    


You have to do this:


    
    
    
  override public function set dataObject(value:Object):Void
  {
    super.dataObject = value;
    label.text = value.file;
  }
    


Which sucks obviously, but for the time being that's what we have
(wait for the next build).

>  Also do you guys have a public bug tracking running somewhere. I would save
> us all (both you and me) some time. (i also got found 7 or 8 bugs i would
> like verify, before submitting)

No, I don't think so.  I'm sure QA engineers from the Flex team are
lurking on the list (and often posting too) and will pick up any
problems reported here.

Manish







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




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









  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: 



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







  



















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





  




  
  
  YAHOO! GROUPS LINKS



   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 : databinding & itemrenders

2005-11-21 Thread Michael Hansen



Thanks Manish.

I've abandoned the Hlist, and trying to build my own (much like the tile the flex store sample). 

I'm very much pressed for time now (did not foresee the problems with
databinding). If the new release hasn't come out when i finish this (a
week or so) I'll try to construct some samples that expose the problems.

I really appreciate your commitment. I hope com.macromedia.PayCheckManager is also looking at the list :D
cheers

  -michael


On 11/20/05, Manish Jethani <[EMAIL PROTECTED]> wrote:




On 11/20/05, Michael Hansen <[EMAIL PROTECTED]> wrote:

[snip]

>  Isn't there a way to loop through the itemlist, and manually force a rebind
> of the dataObjects?

Okay, if you have the time, can you send me (directly to me, not to
the list) a standalone sample (a complete sample that compiles and
runs) that shows the problem?  If you can't, it's okay, because I
think I know how to recreate your scenario.

Since you're hoping for this to be fixed in the next build, let me
make sure it works :)

Manish







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

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






  




  
  
  YAHOO! GROUPS LINKS



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




  
















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





  




  
  
  YAHOO! GROUPS LINKS



   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 :: XML-RPC (char replacement nuisance)

2005-11-29 Thread Michael Hansen



Hi list,

I'm doing some Xml RPC to .net backend, and having problems with char replacements.

I call the service, and it replies something like:

<?xml version="1.0" encoding="utf-8"?>
<tag>
</tag>

where e.g., < is replaced by <

As a result flex do _not_ decoding into the desired object-array.

If a do a .aspx page that write the xml to the document stream i receive







and all is well.

If a do a .net webservice, the payload (i.e. the result) is also
'char-replaced' and once again flex2 chokes. If I do a .net client that
connects to the webservice all is well.

Who's at 'fault' here? and is there a way to fix it without writing a custom xmlDecoder? (either on .net or flex2)

Am I really the only one that have had problems with this or am I stupid (gotta be realistic sometimes :o)

Cheers

  -michael












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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Re: Webservice not working! Any Ideas.

2005-11-29 Thread Michael Hansen



Might you be calling a .net webservice ?

I have problems with 'encoding' (see post: http://groups.yahoo.com/group/flexcoders/message/25547)

cheers

-michael
On 11/29/05, Tracy Spratt <[EMAIL PROTECTED]> wrote:




In your handler, loop over the catalog array and try to display
User_Name.
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of brownd_92
Sent: Tuesday, November 29, 2005 10:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Webservice not working! Any Ideas.

Ive checked the XML and it works fine.
Its returns basically the smae format of xml as in one of the 
examples. However, I have to use a webservice to call the method and 
not a httpservice tag.
I really dont know why it wont work!! if its the same xml as the 
example only returned from a webservice!

Cheers for the help



--- In flexcoders@yahoogroups.com, Aldo Bucchi <[EMAIL PROTECTED]> 
wrote:
>
> I can't tell by glimpsing...
> Have you checked if the XML arrives ok?
> 
> On 11/29/05, brownd_92 <[EMAIL PROTECTED]> wrote:
> > Hi there,
> > I have a webservice that returns an XML Document. I have followed
> > the examples in flex 2 to the letter and still cant get it to 
work!!
> >
> > This is my MXML File:
> >
> > 
> >
> > http://www.macromedia.com/2005/mxml"
> > creationComplete="srv.logonXML1.send()">
> >
> > 
> >
> > import mx.collections.ArrayCollection;
> > import mx.rpc.events.*;
> > import mx.controls.Alert;
> >
> > [Bindable]
> > public var catalog:ArrayCollection;
> >
> > private function resultHandler(event:ResultEvent)
> > {
> > catalog = new ArrayCollection
> > (srv.logonXML1.result.NewDataSet);
> > //Alert.show("Webservice Fired!");
> > }
> >
> > private function faultHandler(event:FaultEvent)
> > {
>
>
Alert.show(event.fault.faultstring, "Error requesting
> > data");
> > }
> >
> > 
> >
> >   
> > wsdl="http://localhost/bookingservice/Service.asmx?wsdl"
> > showBusyCursor="true"   result="resultHandler(event)"
> > fault="faultHandler(event)">
> > 
> > 
> > 
>
>
"[EMAIL PROTECTED]"
>
>
"secura140"
> > 
> > 
> > 
> >
> > 
> > 
> > 
>
>

> > 
> > 
> > 
> >
> > 
> >
> >
> > This is what my webservice returns:
> >
> >
> >   
> >  
> >  
> >   1
> >   [EMAIL PROTECTED]
> >   dsadsad
> >   120
> >   
> >   
> >
> >
> > Any Ideas why it wont show anything on the screen?
> >
> > Thanks
> >
> > David
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
> 
> 
> --
> : Aldo Bucchi :
> mobile (56) 8 429 8300
>







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



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




  
















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex2 :: XML-RPC (char replacement nuisance)

2005-11-29 Thread Michael Hansen



Thanks for the reply Matt,

I got a hold on what's going on.

When sending a RPC request to the .net, it replies something like the following:



  
    
  
    [HERE BE THE REPLY/PAYLOAD]
  
    
  


Now because .net regards what is inbetween
 as a 'payload' wrapped in a RPC protocol,
the data inside these tags cannot have chars like '<',and '>',
since this would potentially invalidate the xml structure of the reply
as a whole. Therefore whatever is between 
is html-encoded, e.g. < translated to <

Example: 

If the service was to return a xml dodument like

testing

the reply from the service would be:





  

    

  

    <tag>testing</tag>

  

    

  



which is decoded by flex to a string (Flex correctly interprets the
data received as 'raw' data as has no other choice) and _not_ a xml
document. Therefore the data is not passed, and the Object tree is not
created. 

I guess other rpc services do not html-encode the 'payload'??
Flickr(PHP??) seems to work just fine... Is Microsoft right in doing
this encoding?

Anybody out there a genius on RPC??  (less may also do it :)

Cheers

 -michael


PS. The linefeeds are definetly not the problem in this case. There's
only one type (CRLF), and tests show that this works just fine. :)


On 11/29/05, Matt Chotin <[EMAIL PROTECTED]> wrote:
















Probably less people are testing against
.NET right now.  We do have tests that did pass but we've also seen some
issues with the player (well also the compiler).  The issue that we had
internally was one of line-endings where the XML was mixed in using Windows
line endings (CRLF or \r\n) and Unix (LF or \n).  Any way of checking how the
service is coming back (I'd assume since it's .NET that it's
CRLF)?

 

Matt  

 









From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Michael Hansen
Sent: Tuesday, November 29, 2005
10:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 ::
XML-RPC (char replacement nuisance)



 

Hi list,

I'm doing some Xml RPC to .net backend, and having problems with char
replacements.

I call the service, and it replies something like:

<?xml version="1.0" encoding="utf-8"?>
<tag>
</tag>

where e.g., < is replaced by <

As a result flex do _not_ decoding into the desired object-array.

If a do a .aspx page that write the xml to the document stream i receive





and all is well.

If a do a .net webservice, the payload (i.e. the result) is also
'char-replaced' and once again flex2 chokes. If I do a .net client that
connects to the webservice all is well.

Who's at 'fault' here? and is there a way to fix it without writing a custom
xmlDecoder? (either on .net or flex2)

Am I really the only one that have had problems with this or am I stupid (gotta
be realistic sometimes :o)

Cheers

  -michael














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

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






  




  
  
  YAHOO! GROUPS LINKS



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




  

















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex2 :: XML-RPC (char replacement nuisance)

2005-11-30 Thread Michael Hansen



Hey Jesse,

The XMLRPC already contains CDATA, and nested CDATA is not allowed.

Also this is what the specs have to say:

What
 characters are allowed in strings? Non-printable characters? Null
 characters? Can a "string" be used to hold an arbitrary chunk of
 binary data? 



Any characters are allowed in a
string except < and &, which are encoded as < and &. A
string can be used to encode binary data. 


(
http://www.xmlrpc.com/spec)

So i guess the question is, how do one return a xml-type in a XmlRPC reply?


Thanks for your time, and suggetion Jesse!
Cheers

 -michael

On 11/30/05, JesterXL <[EMAIL PROTECTED]> wrote:









All jacked character data is supposed to use CDATA, 
like so:
 

 
Like the script tag in Flex.  Is there not a 
way to intercept .NET's response and wrap it?
 
 
----- Original Message - 
From: 
Michael Hansen 

To: flexcoders@yahoogroups.com 
Sent: Tuesday, November 29, 2005 6:01 PM
Subject: Re: [flexcoders] Flex2 :: XML-RPC (char replacement 
nuisance)
Thanks for the reply Matt,I got a hold on what's going 
on.When sending a RPC request to the .net, it replies something like the 
following:  
    
  
    [HERE 
BE THE REPLY/PAYLOAD]  
      
Now because .net regards what 
is inbetween  as a 'payload' wrapped in a RPC 
protocol, the data inside these tags cannot have chars like '<',and '>', 
since this would potentially invalidate the xml structure of the reply as a 
whole. Therefore whatever is between  is 
html-encoded, e.g. < translated to <Example: If the service was to return a 
xml dodument liketestingthe reply from 
the service would be:  
    
  
    
<tag>testing</tag>  
      
which is decoded by flex to a 
string (Flex correctly interprets the data received as 'raw' data as has no 
other choice) and _not_ a xml document. Therefore the data is not passed, and 
the Object tree is not created. I guess other rpc services do not 
html-encode the 'payload'?? Flickr(PHP??) seems to work just fine... Is 
Microsoft right in doing this encoding?Anybody out there a genius on 
RPC??  (less may also do it 
:)Cheers -michaelPS. The linefeeds are 
definetly not the problem in this case. There's only one type (CRLF), and tests 
show that this works just fine. :)
On 11/29/05, Matt 
Chotin <[EMAIL PROTECTED]> 
wrote:

  
  Probably less people 
  are testing against .NET right now.  We do have tests that did pass but 
  we've also seen some issues with the player (well also the compiler).  
  The issue that we had internally was one of line-endings where the XML was 
  mixed in using Windows line endings (CRLF or \r\n) and Unix (LF or \n).  
  Any way of checking how the service is coming back (I'd assume since it's .NET 
  that it's CRLF)?
   
  Matt  
  
   
  
  
  
  
  From: 
flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On Behalf 
  Of Michael HansenSent: Tuesday, November 29, 2005 10:06 
  AMTo: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 :: XML-RPC 
  (char replacement nuisance)
   
  
  Hi list,I'm doing some Xml 
  RPC to .net backend, and having problems with char replacements.I call 
  the service, and it replies something like:<?xml version="1.0" 
  encoding="utf-8"?><tag></tag>where 
  e.g., < is replaced by 
  <As a result flex 
  do _not_ decoding into the desired object-array.If a do a .aspx page 
  that write the xml to the document stream i receiveand 
  all is well.If a do a .net webservice, the payload (i.e. the result) 
  is also 'char-replaced' and once again flex2 chokes. If I do a .net client 
  that connects to the webservice all is well.Who's at 'fault' here? and 
  is there a way to fix it without writing a custom xmlDecoder? (either on .net 
  or flex2)Am I really the only one that have had problems with this or 
  am I stupid (gotta be realistic sometimes :o)Cheers  
  -michael--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  
  
  YAHOO! GROUPS LINKS 
  
 Visit your group "flexcoders" on the web.  

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

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
  
  
  
  





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

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






  




  
  
  YAHOO! GROUPS LINKS



   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 

[flexcoders] An internal build error has occured. Please check the Error Log.

2005-11-30 Thread Michael Hansen



Hi Macromedia folks,

I get this quite often. I don't know if it has any interest for you guys? Where's the error log anyways?

cheers

 -michael







--
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] How to create XML Object from string (AS3: E4X)

2005-11-30 Thread Michael Hansen



try

var myxml:XML = {xmlstring};
Cheers

 -michael


On 12/1/05, Ralf Rottmann <[EMAIL PROTECTED]> wrote:















Quick question: I have valid XML in a :String variable. How
can I create an XML Object from it?

 

This did NOT work:

 

1.

var tempXml:XML;

tempXml = XML(s);

 

2.

var tempXml:XML = new XML(s);

 

Any idea?

 

 

 

Ralf Rottmann


 









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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  

















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] How to create XML Object from string (AS3: E4X)

2005-11-30 Thread Michael Hansen



Sorry.. that doesn't work, but doing a XML construct from the string ought to work??

http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2041.html


cheers

-michaelOn 12/1/05, Michael Hansen <[EMAIL PROTECTED]> wrote:
try

var myxml:XML = {xmlstring};
Cheers

 -michael


On 12/1/05, Ralf Rottmann <[EMAIL PROTECTED]
> wrote:















Quick question: I have valid XML in a :String variable. How
can I create an XML Object from it?

 

This did NOT work:

 

1.

var tempXml:XML;

tempXml = XML(s);

 

2.

var tempXml:XML = new XML(s);

 

Any idea?

 

 

 

Ralf Rottmann



 









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


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










  
  
SPONSORED LINKS
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: 

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





  



















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Livedocs for Flex 2.0

2005-12-05 Thread Michael Hansen



i use this:

http://www.google.com/search?num=100&hl=en&lr=&safe=off&q=site%3Ahttp%3A%2F%2Flivedocs.macromedia.com%2Flabs%2F1%2Fflex&btnG=Search


cheers
 -micahel
On 12/5/05, Ralf Rottmann <[EMAIL PROTECTED]> wrote:















By the way, is there a link to the Flex 2.0 Live docs
anywhere?

 

Ralf Rottmann


 









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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  

















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] How can someone signup for the private beta of Flex 2?

2005-12-12 Thread Michael Hansen



http://www.surveymonkey.com/Users/94654059/Surveys/947291107854/1068578E-82F5-4C72-BD77-565DA58D1A4F.asp?U=947291107854&DO_NOT_COPY_THIS_LINK


cheers

 -michael
On 12/12/05, JesterXL <[EMAIL PROTECTED]> wrote:




...ok, I lied about the Gold, it's really "release candidate", but 
Macromedia is always Gold because they always sell millions of copies... I 
forget how many platnium is.

- Original Message - 
From: "JesterXL" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>

Sent: Monday, December 12, 2005 4:58 PM
Subject: Re: [flexcoders] How can someone signup for the private beta of 
Flex 2?


Not that I'm aware of, no.

Typically, software goes:

- prototype = developers in house get it to work
- alpha = developers in house get a working version who they then share with
in-house people
- beta = in house alpha works well enough, changes are made from in-house
alpha, and a select group from the public is invited to test the first build
of the beta
- gold = after beta 3, if no show stopping bugs, she's posted as a release
build, ready to ship

However, Macromedia has recently changed their alpha to public people.
Therefore, you can't get to point C without first going from point A, and
then to point B.

Alpha's not done yet, therefore, the beta can't start until the alpha is
done.


- Original Message - 
From: "Bart Harrison" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Monday, December 12, 2005 4:50 PM
Subject: Re: [flexcoders] How can someone signup for the private beta of
Flex 2?


That's for the public Alpha.  Is there a private Beta program ?

Bart


At 04:46 PM 12/12/2005, you wrote:
>Here's a URL that isn't private:
><http://labs.macromedia.com/>
http://labs.macromedia.com/
>
>- Original Message -
>From: "Clint Modien" <[EMAIL PROTECTED]>
>To: <flexcoders@yahoogroups.com>
>Sent: Monday, December 12, 2005 4:31 PM
>Subject: [flexcoders] How can someone signup for the private beta of Flex
>2?
>
>
>A client I'm working for needs the private beta for a
>proof-of-concept.  Anyone have a name and a contact number or a way to
>signup for it?
>
>Thanks in advance.
>
>
>
>--
>Flexcoders Mailing List
>FAQ:
><http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

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

>Search Archives:
><http://www.mail-archive.com/flexcoders%40yahoogroups.com>
http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>
>--
>YAHOO! GROUPS LINKS
>
>    *  Visit your group
> "<http://groups.yahoo.com/group/flexcoders>flexcoders" on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    *
> [EMAIL PROTECTED]?subject=Unsubscribe>
[EMAIL PROTECTED]
>
>    *
>    *  Your use of Yahoo! Groups is subject to the
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>--




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

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links








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

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links












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

Re: [flexcoders] (Flex 2.0) interacting with SWF files

2005-12-13 Thread Michael Hansen



Not exactly what you are looking for, but perhaps it may help you anyway...

http://www.helpqlodhelp.com/blog/archives/000141.html

http://www.livejournal.com/users/mannu/305284.html

cheers

 -michael

On 12/13/05, Darin Kohles <[EMAIL PROTECTED]> wrote:




I was wondering if anyone can point me to some good documentation for
interacting with Flash generated SWF files in Flex 2.0. At present I'm
trying to re-skin some components with dynamic content (small event
triggerd animations) but so far to no avail.

Any help would be appreciated.

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



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




  
















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex2 :: Grid / drop-in cellrenderer / drag-drop / exception / bug?

2005-12-21 Thread Michael Hansen



Hi!

I've implemented a grid using a drop-in cellrenderer as detailed in (my code is almost identical):

http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp.htm?href=""



I also have drag enabled on the grid.

The cellrenderer works fine. However, after I implementing the custom
renderer, I get a null reference exception when dragging an item in the
grid. 

_Looks_ like the drag proxy is not fully cloning the original item
(custom renderer ref. is null), which throws an exception when called.

Am I doing something wrong or is this a bug? Anyone else had luck in this kind of implementation?


Best wishes for the holidays!

-michael










--
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] creationComplete throw several times...

2005-12-27 Thread Michael Klishin
Manish Jethani wrote:
> I'm not sure I understand the scenario, but "creationComplete" is
> triggerred once and exactly once for every UIComponent instance. 
> Could it be that you're getting events from child objects as well?  If
> that's the case, you could check for the event object's 'target'
> property to make sure it refers to the object you're listening for.
> 
>  function creationCompleteHandler(event)
>  {
>if (event.target == myCanvas) {
> ...
>}
>  }

You're right, it's because of event bubbling and can be solved by 
checking event phase for equality with EventPhase.AT_TARGET constant as 
well.

-- 
Michael "Antares" Klishin,

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

Non progredi est regredi


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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] Embed font's glyphs in AS3 Project in Flex Builder 2 alpha

2006-01-01 Thread Michael Klishin
Hi,

Is there a way to embed specific set of glyphs in Action Script 3 
project in Zorn? Like we do with "Embed" button in Flash.

Thanks in advance, Happy new year!
-- 
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/
 




Re: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder 2 alpha

2006-01-01 Thread Michael Klishin
JesterXL wrote:
> [Embed(systemFont='Arial', mimeType='application/x-font-truetype')]

Thanks Jesse but this will embed the whole font, won't it? What if I 
need, say, just numerals? Or just letters a, j, u, and w?

Is there a way to do it?

-- 
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] To Adobe Team guys: AS3 feature request, custom metadata tags

2006-01-02 Thread Michael Klishin
Hi,

I'm sorry but I don't know what is the best place to post a feature 
request so I'll post it here because Adobe team guys are subscribed to 
this list :)

Here we go...

In AS3 it's possible to get info about instance of a class at runtime 
with help of describeType. Futhermore we can use metadata tags like 
[Binding] or [Event] and so forth. But metadata as it exists now is just 
a compiler directives, not a "real connectivity" right? What do you 
think of adding a feature to give AS3 programmers an opportunity to 
create own metadata types like annotations Java or C#.

Say, programmer declare metadata format somehow (for example, have a 
look at @interface in Java) and then adds data... Say, like this: 
[MetadataType(param="", param2="")]. During compilation this data is 
stored in class description so coder can get it as XML with one 
declateType call.

A couple of use case examples... With this feature we can describe 
serizlization / deserialization parameters in XML or binary format; 
custom metadata would be a great thing for Unit testing frameworks 
developers.

So what do you guys think of it?

Best wishes!
-- 
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/
 




Re: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder 2 alpha

2006-01-02 Thread Michael Klishin
Rob Rusher wrote:
> Did you try adding it in your style sheet like this:
> @font-face { 
>src: url("assets/fonts/arial.ttf");
>fontFamily:futura;
>unicode-range: "glyphs";
> }
> 
> Then in your flex-config.xml set the unicode-range:
> 
>glyphs
>U+0E01-U+0E5B
> 

Thanks, but it seems to be for MXML project (right me if I'm wrong). And 
I need a solution for AS3 project in Flex 2 alpha...

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





Re: [flexcoders] To Adobe Team guys: AS3 feature request, custom metadata tags

2006-01-02 Thread Michael Klishin
Matt Chotin wrote:
> We know, we've been asking for this internally.  Last I heard we weren't
> going to get it because of schedule but we'll see.
> 

Such a pity but thanks for your response anyway!

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




Re: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder 2 alpha

2006-01-02 Thread Michael Klishin
Hi,

Thanks for help Jesse and Johannes :)

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




Re: [flexcoders] Transfer of data to Xml file

2006-01-03 Thread Michael Klishin
shr_bali wrote:

> When using .net if we want to transfer or to send the data from the 
> form to the xml we use DomDocumentClass , iXmlDomElement,iXmlDomNode 
> etc.
> Is there some method or class in Flex which we can use in the same way 
> to transfer data frm flex application to Xml file.

Use Flash Remoting and you'll be able to pass your data to .NET easily 
without taking care of serialization and stuff. Then you just do what 
you usually do in .NET.

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





Re: [flexcoders] Create an Xml file

2006-01-04 Thread Michael Klishin
shr_bali wrote:

> Can i create a new XML file with the ActionScript code.

You can create new XML object and then send it to server to save it (or 
use Flash Remoting for saving). Check out XML class in docs ;)

-- 
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: Flex2 :: Grid / drop-in cellrenderer / drag-drop / exception / bug?

2006-01-05 Thread Michael Hansen



I'd like to bump this :) (holidays'n'all)Check out the example here:http://www.mindinteraction.com/bin/TestDataGrid2.html
 (Note Flex2 app)
>Drag an item to generate an exception.<Basically it's a drag enabled datagrid using drop-in cellrenderer. I'm unsure if the exception is my fault or a bug. The docs on drop-in cell renderers is not that exhaustive.
Thanks in advanceCheers -michaelHere's the raw code:***APP ***
http://www.macromedia.com/2005/mxml" xmlns="*">
                        
                    
                                        labelFunction="myLabelFunction"        columnName="Artist"
        headerText="Artist" />                            cellRenderer="Cellrender"
        columnName="Price"        headerText="Price" />                                            columnName="Album"                                    headerText="Album" />
                    ***Drop-in Cellrenderer *******
http://www.macromedia.com/2005/mxml
" xmlns="*" horizontalAlign="center">
    

On 12/21/05, Michael Hansen <[EMAIL PROTECTED]> wrote:

Hi!

I've implemented a grid using a drop-in cellrenderer as detailed in (my code is almost identical):

http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp.htm?href=""



I also have drag enabled on the grid.

The cellrenderer works fine. However, after I implementing the custom
renderer, I get a null reference exception when dragging an item in the
grid. 

_Looks_ like the drag proxy is not fully cloning the original item
(custom renderer ref. is null), which throws an exception when called.

Am I doing something wrong or is this a bug? Anyone else had luck in this kind of implementation?


Best wishes for the holidays!

-michael













--
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: Flex2 :: Grid / drop-in cellrenderer / drag-drop / exception / bug?

2006-01-08 Thread Michael Hansen



Nice to get confirmation on this.Thank you Manish :D
-michaelOn 1/7/06, Manish Jethani <[EMAIL PROTECTED]> wrote:




On 1/5/06, Michael Hansen <[EMAIL PROTECTED]> wrote:

> Check out the example here:
>
> http://www.mindinteraction.com/bin/TestDataGrid2.html  (Note Flex2 app)
>
> >Drag an item to generate an exception.<

> Basically it's a drag enabled datagrid using drop-in cellrenderer. I'm unsure if the exception
> is my fault or a bug. The docs on drop-in cell renderers is not that exhaustive.

Looks like a bug.  I've logged it.

BTW, in Beta 1 (when it's out), you should be able to bind to
'dataObject' instead of having to override the setter method.

Manish







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

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






  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



  
















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] How can I show validation error message with ActionScript progrmming?

2005-05-12 Thread michael keirnan






the errorString property of UIComponent causes the red borders and
rollover error tip. errorString is set by the default validation
listener when it gets errors.

so you'll need to do something like this:

  - write a validation listener that does not set errorString, but
instead presents the error how you like

  - set the listener property of your validators to point at your new
listener (your listener could extend UIComponent
 if you want to easily drop one in your MXML pages, but it does not
have to be)

one thing to be careful of: the default flex validation system has
internal knowledge of data bindings. that is, you point a validator at
a model object, and the default validation listener automagically knows
what UIComponent to associate with errors. your listener does not have
this knowledge, so if you do need to associate errors with fields you
have to declare or configure them somehow. it sounds like you may not
care about this association.

   

cto wrote:

  
  
  
  
  Hi~
  
I want to show a validation error messgae with ActionScript.
  
I general, if there is invalid data in form with validator, user can
see the 
error message(ErrorTip) when he rollover the formItem.
  
But, my customer want to show this error message without mouse rollOver.
  
Do you have any idea?
  










Yahoo! Groups Links

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














Re: [flexcoders] Default Text Color?

2005-05-12 Thread michael keirnan







Matt Chotin wrote:

  
  


  
  
  Yep.  I just
use the calculator in Windows
in scientific mode to help me out for stuff like this J
  

ugh, why go through all that trouble?

perl -e 'printf("%x\n", "734012")'

;)

   


  
   
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
  Sent: Thursday, May
12, 2005 10:07
AM
  To: flexcoders@yahoogroups.com
  Subject: Re:
[flexcoders] Default
Text Color?
  
   
  0x0B333C; right?
  
  - Original Message - 
  From: "JesterXL"
<[EMAIL PROTECTED]>
  To: "Flexcoders" 
  Sent: Thursday, May 12, 2005 12:57 PM
  Subject: [flexcoders] Default Text Color?
  
  
  I suck at math; what is 734012 in hex?
  
  Thanks if you can help.
  
  --JesterXL
  
  
  
  Yahoo! Groups Links
  
  
  
  
  
  
  

  









Yahoo! Groups Links

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














[flexcoders] using Flash Pro UI in Flex

2005-05-16 Thread Michael Griffin
Title: Message





I have 
several swfs created in Flash Pro that us some of the V2 Halo components 
(comboboxes and datagrids mostly).  I have been trying to load the swfs 
into a Flex UI (using the loader tag) but am seeing lots of rendering problems 
in the swfs when I do.  Datagrid columns appear to collapse until their 
contents become unreadable, combos won't open, etc.  There's quite a bit of 
work in there and I'm trying to avoid having to rebuild all this material in 
Flex since the timeframe in which this is needed for a demo is pretty 
short.
 
Can 
anyone recommend steps to get the Flash swfs prepared so the movies will at 
least render properly inside Flex?  Do I need to do something with the 
Flexforflash.zip material, edit classpaths, etc before exporting the swfs 
in the first place?  
 
I'm 
hoping someone on the forum can recommend a way that I can at least get this 
material viewable in Flex without having to rebuild everything. I've seen 
other posts at least implying that it should be possible to use Flash apps in 
Flex but not much in the way of documenting the steps.  Any help would be 
greatly appreciated.
 
Mike







Yahoo! Groups Links

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










[flexcoders] Event Listeners

2005-05-19 Thread Michael Herron










All,

 

I am having a problem with removing event listeners on a
panel.

 

I am adding the event listener like so:

 

    pane.addEventListener("contentCreated", Delegate.create(this, handleEvent) );

 

But trying to remove the event listener
using removeEventListener does not seem to work. I have tried several variants:

    

    pane.removeEventListener("contentCreated", Delegate.create(this, handleEvent) );

    pane.removeEventListener("contentCreated", Delegate.create(this) );

    pane.removeEventListener("contentCreated", this.handleEvent );

    pane.removeEventListener("contentCreated", this );

 

and none seem to work.  I’ve been struggling
with this for a good few hours and its driving me crazy, any help would be appreciated….

 

Ta

Mike Herron











Yahoo! Groups Links

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












RE: [flexcoders] Event Listeners

2005-05-19 Thread Michael Herron










Hi Alistair,

 

That worked perfectly, cheers!

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alistair McLeod
Sent: 19 May 2005 12:31
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Event
Listeners



 

Hi Michael,

 

I imagine its because your event listener is an anonymous
function, so the removeEventListener must be passed a reference to the same
function. Try this (untested)

 

 myHandler : Function = Delegate.create( this,
handleEvent ); 

 pane.addEventListener("contentCreated", myHandler );



 





 ...





 





 pane.removeEventListener("contentCreated", myHandler );





 





myHandler may have to be stored asan
instance variable if (as I suspect) the add and remove are in different scope.





 





Please let us know if that works.





 





Ali





 





--

Alistair McLeod
Development Director



iteration::two
[EMAIL PROTECTED]





 





Office:  +44 (0)131 338 6108





 





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







 





 



 







From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Herron
Sent: 19 May 2005 12:18
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Event
Listeners

All,

 

I am having a problem with removing event listeners on a
panel.

 

I am adding the event listener like so:

 

   
pane.addEventListener("contentCreated", Delegate.create(this, handleEvent) );

 

But trying to remove the event listener
using removeEventListener does not seem to work. I have tried several variants:

   


   
pane.removeEventListener("contentCreated", Delegate.create(this, handleEvent) );

   
pane.removeEventListener("contentCreated", Delegate.create(this) );

   
pane.removeEventListener("contentCreated", this.handleEvent );

   
pane.removeEventListener("contentCreated", this );

 

and none seem to work.  I’ve
been struggling with this for a good few hours and its driving me crazy, any
help would be appreciated….

 

Ta

Mike Herron

 










Yahoo! Groups Links

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












Re: [flexcoders] run Flex apps fullscreen

2005-06-14 Thread Michael Griffin




You could look at something like the Microbians chromeless window _javascript_s.  Dynamic Drive has them archived.  They work up until the window object changes introduced in XP SP2 in IE.
 
Mike-Original Message- From: superabe <[EMAIL PROTECTED]>Sent: Jun 14, 2005 3:08 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] run Flex apps fullscreen Thanks for the replies.I think this option will work great...for our purposes.Thanks,superabe- Original Message - From: "CHANSOU Patrick ROSI/SICOR" <[EMAIL PROTECTED]>To: Sent: Tuesday, June 14, 2005 11:41 AMSubject: RE: [flexcoders] run Flex apps fullscreenOr you can use "iexplore -k URL" to get internet explorer in kiosque mode (fullscreen)-Message d'origine-De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Joe BerkovitzEnvoyé : mardi 14 juin 2005 17:30À : flexcoders@yahoogroups.comObjet : Re: [flexcoders] run Flex apps fullscreenI don't have the answer, but I would very much expect that this is doable purely by employing DHTML and _javascript_ in the enclosing web page, without involving Flex in any way.  As such, you may have more luck searching resources that have to do with DHTML and scripting, rather than Flex .  .    .   .    jsuperabe wrote:> Hi List,>> Is it possible to run a flex app at fullscreen without any of the> browser chrome ?> If so how?>> Thanks in advance> superabe>>>> --> --> *Yahoo! Groups Links*>> * To visit your group on the web, go to:>   http://groups.yahoo.com/group/flexcoders/>> * To unsubscribe from this group, send an email to:>   [EMAIL PROTECTED]>> >> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of>   Service <http://docs.yahoo.com/info/terms/>.>>Yahoo! Groups LinksYahoo! Groups Links



Yahoo! Groups Links

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








Yahoo! Groups Links

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









Michael Griffin
781-395-1254 (H)
[EMAIL PROTECTED]





Re: [flexcoders] Datagrid not populating values.

2005-06-14 Thread Michael McKellip
Looking at you code it appears you are just missing a labelFunction on
the resource.num column. You cannot access nested object properties
with just the column name. Try this:

public function resourceNumLabel( data : Object ) : String {
   return data.resource.num;
}

Add the above function as the labelFunction property of the column.



Michael McKellip

On 6/14/05, Kevin Ewok <[EMAIL PROTECTED]> wrote:
> List,
>   I have spent now a day and half trying to debug this issue and I
> still cannot get it to work. My superiors want to go to a JSP model if
> I can't get this working, and I know it's something stupid I missing.
> 
> Anyway, I cannot get my datagrid values to display the values of
> nested objects. I saw postings involving overriding the AS
> constructor, but still no luck. To give you an idea, the first value
> of my datagrid below actually returns "[object Object]", so I know
> Flex has a handle on it. But the 2nd column of my datagrid (where I
> try to get the attribute from that object), always returns an empty
> value.
> 
> 
> 
> 
>  labelFunction="getIt" />
> 
>   
>  
> 
> 
> Below are my 2 AS classes which mirror my Java classes. When I debug
> the labelFunction method on my first column above, I can see that the
> values are there in my nested object (by exploding the 'item'
> attribute). When I call set "item.getResource().getNum()" toa local
> var on that item, it always returns undefinedin fact, so does
> item.getResource();. It's just really confusing. I'm running this on
> Jboss.
> 
> thanks in advance.
> 
> /** Parent (top-level) Object*/
> class com.Parent extends Object {
> 
> public function Parent(){}
> public static var regClass = Object.registerClass
> ("com.Parent",com.Parent);
> 
> var resource : com.Resource;
> function getResource() : com.Resource { return resource; }
> 
> function setResource(arg : com.ecarey.ces.model.Resource) : Void {
> resource = arg; }
> 
> /** Nested Object */
> class com.Resource extends Object {
> 
> public function Resource(){}
> 
> public static var regClass = Object.registerClass
> ("com.Resource",com.Resource);
> var num:String;  //also tried var num:String = new String();
> function getNum() : String { return num ; }
> function setNum(arg : String) : Void { num = arg; }
> }
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
>


 
Yahoo! Groups Links

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

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

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





[flexcoders] Creation events and view stack children

2005-06-30 Thread Michael Herron










Hi all, a quick question
about view stack instantiation:

 

If I have a view stack,
creation policy auto, with two children:

    

    

    



    

 

    ChildOne.mxml:

    

creationComplete=”trace(‘child one created’)”>

 

    

    

 

    ChildTwo.mxml:

    

creationComplete=”trace(‘child two created’)”>

 

    

    

 

In what order are the creationComplete events fired for the
children? I seem to be witnessing behaviour where the creation complete events
are being fired immediately, when the view stack is instantiated, but the
actual components within the children are not being instantiated until the selected
index of the view is changed (as you would expect from creationPolicy=”all”).
Does this sound reasonable? Has anyone experienced this kind of behaviour? I
was under the impression that the creationComplete event for the top-level components
themselves would not fire until the view stack index changed.

 

(Apologies for the lack of
a complete code sample (spread across several files I’m afraid), but
hopefully what I’ve said is enough to explain the problem)

 

Cheers,

Mike.






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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  








--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--



RE: [flexcoders] Creation events and view stack children

2005-06-30 Thread Michael Herron










The problem is I may have up to 20
children in that view stack, I can’t write code in a single event handler
for childrenCreated method to handle each sub view in the view stack. The creationComplete
code in each individual view functions as it should when not in a view stack. I
don’t want to start writing extra code just because I have happened to include
the view in a view stack. It seems to me like more appropriate behavior would
be for the view stack children not to broadcast the creationComplete event
before, well, their creation is complete!

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 30 June 2005 12:43
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Creation
events and view stack children



 



You want childrenCreated, not creationComplete.





 





- Original Message - 



From: Michael Herron






To: flexcoders@yahoogroups.com






Sent: Thursday, June 30,
2005 6:43 AM





Subject: [flexcoders]
Creation events and view stack children







 



Hi all, a quick question
about view stack instantiation:

 

If I have a view stack,
creation policy auto, with two children:

   


   


   




   


 

   
ChildOne.mxml:

   


creationComplete=”trace(‘child one
created’)”>

 

   


   


 

   
ChildTwo.mxml:

   


creationComplete=”trace(‘child two
created’)”>

 

   


   


 

In what order are the creationComplete events fired for the
children? I seem to be witnessing behaviour where the creation complete events
are being fired immediately, when the view stack is instantiated, but the
actual components within the children are not being instantiated until the
selected index of the view is changed (as you would expect from creationPolicy=”all”).
Does this sound reasonable? Has anyone experienced this kind of behaviour? I
was under the impression that the creationComplete event for the top-level
components themselves would not fire until the view stack index changed.

 

(Apologies for the lack of
a complete code sample (spread across several files I’m afraid), but
hopefully what I’ve said is enough to explain the problem)

 

Cheers,

Mike.



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







--
**STATEMENT OF CONFIDENTIALITY** 

This
e-mail and any attached files are confidential and intended solely for the use
of the individual to whom it is addressed. If you have received this email in
error please send it back to the person that sent it to you. Any views or
opinions presented are solely those of author and do not necessarily represent
those the Emakina Company. Unauthorized publication, use, dissemination,
forwarding, printing or copying of this email and its associated attachments is
strictly prohibited.

We
also inform you that we have checked that this message does not contain any
virus but we decline any responsability in case of any damage caused by an a
non detected virus.
--



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









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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Creation events and view stack children

2005-06-30 Thread Michael Herron










Ah!  think I see what you mean now Jester
– use childrenCreated on the individual components – I though you
were suggesting to use it on the view stack. I think that will do the trick. 

 

Still, is it just or me or does anyone else
think that the creationCompelete event should be fired only after the children
of a component have been created?

 

Cheers

Mike









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael
 Herron
Sent: 30 June 2005 12:55
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Creation
events and view stack children



 

The problem is I may have up to 20
children in that view stack, I can’t write code in a single event handler
for childrenCreated method to handle each sub view in the view stack. The
creationComplete code in each individual view functions as it should when not
in a view stack. I don’t want to start writing extra code just because I
have happened to include the view in a view stack. It seems to me like more
appropriate behavior would be for the view stack children not to broadcast the
creationComplete event before, well, their creation is complete!

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: 30 June 2005 12:43
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Creation
events and view stack children



 



You want childrenCreated, not creationComplete.





 





- Original Message - 



From: Michael Herron






To: flexcoders@yahoogroups.com






Sent: Thursday, June 30,
2005 6:43 AM





Subject: [flexcoders]
Creation events and view stack children







 



Hi all, a quick question
about view stack instantiation:

 

If I have a view stack,
creation policy auto, with two children:

   


   


   




   


 

   
ChildOne.mxml:

   


creationComplete=”trace(‘child one
created’)”>

 

   


   


 

   
ChildTwo.mxml:

   


creationComplete=”trace(‘child two
created’)”>

 

   


   


 

In what order are the creationComplete events fired for the
children? I seem to be witnessing behaviour where the creation complete events
are being fired immediately, when the view stack is instantiated, but the
actual components within the children are not being instantiated until the
selected index of the view is changed (as you would expect from
creationPolicy=”all”). Does this sound reasonable? Has anyone
experienced this kind of behaviour? I was under the impression that the
creationComplete event for the top-level components themselves would not fire
until the view stack index changed.

 

(Apologies for the lack
of a complete code sample (spread across several files I’m afraid), but
hopefully what I’ve said is enough to explain the problem)

 

Cheers,

Mike.



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




--
**STATEMENT OF CONFIDENTIALITY** 

This
e-mail and any attached files are confidential and intended solely for the use
of the individual to whom it is addressed. If you have received this email in
error please send it back to the person that sent it to you. Any views or
opinions presented are solely those of author and do not necessarily represent
those the Emakina Company. Unauthorized publication, use, dissemination,
forwarding, printing or copying of this email and its associated attachments is
strictly prohibited.

We
also inform you that we have checked that this message does not contain any
virus but we decline any responsability in case of any damage caused by an a
non detected virus.
--



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






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









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



  
  





  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Flex PlugIn to Eclipse

2005-07-01 Thread Michael Nisi
yes, oxygen works fine.

regards,
michael


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

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

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

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




Re: [flexcoders] Question about the flexstore mxml file in the samples

2005-07-01 Thread Michael McKellip
If you look in the main.mxml file you'll will see the ProductDetails
class is embedded. It actual class path is:

org.nevis.cairngorm.samples.store.view.productdetails.ProductDetails

Open the product details file and on about line 51 you will see the
 tag displaying the product image.

On 7/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>  I have been trying to learn about the makeup of this file so I can
> hopefully make a similar file myself. I know that the file is linked to
> other files which I have also looked at which brings me to my question. I do
> not see where the line of code is that links the images of the items in the
> store to the page. I know the images are saved in products folder thats
> inside the assets folder. But what I do not see is any mention of the image
> files in the flextore.mxml file or its connected as files. I want to know
> how it is connected so I could make a similar page but with different
> images? 
> 
>  --
>  Flexcoders Mailing List
>  FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>  Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
>  
>  
>  
>  YAHOO! GROUPS LINKS 
>  
>  
>  Visit your group "flexcoders" on the web.
>   
>  To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>   
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
>  
>  
>


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

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

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

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




[flexcoders] flex Validators

2005-07-19 Thread michael BADEN





Did 
someone know a way to acces Flex validators source code ?
 
Thanks 
for your help.
 
Mike





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] date.getUTCMonth / date.getUTCDate with a leading zero

2005-08-01 Thread Michael Herron










Look up the dateFormatter class (mx.formatters.DateFormatter). In your
format function, create an instance of it and supply it with the format string “DD\MM\”
and that should give you what you want.

 

Ta.

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Reto M. Kiefer
Sent: 01 August 2005 09:22
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
date.getUTCMonth / date.getUTCDate with a leading zero



 

Dear all,

maybe I am simply do not see the crucial point but
I have a small 
problem. In a form the users can enter some dates
via

  

The corresponding formatDate() looks like this
one:

function formatDate(date:Date):String
{
return (date.getUTCDate() + 1) + "-" + (
date.getUTCMonth() + 1 ) + "-" 
+ date.getUTCFullYear();
}

This works quite good, but I want have a leading 0
if the Day or the 
month conists of only on digit, e.g. 02 instead of
2 for february.

I searched all the variants of date.UTC() but
did not saw an option 
for this. I assume there is one because you can
have the year displayes 
with 4 or 2 digits...

Maybe some is so helpful and can provide me with
the proper function 
call or a workaround if there is no such a call.

Thanks in advance and best regards

Reto








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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: Dynamic Tree and VO's

2005-08-05 Thread Michael Herron










How about 

 

event.selectedItem.attributes.postcode?

 

I guess label works as its kind of native to the tree..

 

Mike.









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972
Sent: 05 August 2005 13:09
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Dynamic
Tree and VO's



 

try

event.selectedItem.postcode
or
event.selectedItem.POSTCODE
or
event.selectedItem['postcode']


--- In flexcoders@yahoogroups.com,
"digital_eyezed" 
<[EMAIL PROTECTED]> wrote:
> Sorry, that didn't work either.
> 
> Any other ideas??
> 
> --- In flexcoders@yahoogroups.com, João
Fernandes 
> <[EMAIL PROTECTED]> wrote:
> > Hi Iain,
> > 
> >  
> > 
> > Try with selectedNode instead
selectedItem.
> > 
> >  
> > 
> > João Fernandes
> > 
> > Secção de Desenvolvimento
> > 
> > Departamento de Informática
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf
Of digital_eyezed
> > Sent: sexta-feira, 5 de Agosto de 2005
12:03
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Dynamic Tree and
VO's
> > 
> >  
> > 
> > Hi,
> > 
> > I have a tree which is populated
(through the dataProvider) from 
a 
> > returned array of VO's from a
RemoteObject Call. Within the VO 
is 
> a 
> > number of attributes, two of the
attributes are called data and 
> label. 
> > The tree shows ok. I want to be able to
extract the other 
> attributes 
> > that are associated with this
selectedItem and can't seem to get 
> the 
> > data out. How do I do this? For example,
another attribute is 
> > call 'postcode' so I tried to use
change="myVariable = 
> >
event.selectedItem.getProperty('postcode')" but this did not 
work, 
> > although if I change the 'postcode' to
'label' then I get the 
> label.
> > 
> > Can you help?
> > 
> > Regards,
> > 
> > Iain
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
> 40yahoogroups.com 
> > 
> > 
> > 
> > 
> > 
> > 
> > YAHOO! GROUPS LINKS 
> > 
> >  
> > 
> > *  Visit
your group "flexcoders 
> 
" on the web.
> >     
> > *  To
unsubscribe from this group, send an email to:
> >  
[EMAIL PROTECTED] 
>
[EMAIL PROTECTED]> 
> >     
> > *  Your use
of Yahoo! Groups is subject to the Yahoo! Terms of 
> Service 
. 
> > 
> >  
> > 
> > 











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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] modified structure of dataprovider for tree cont rol

2004-04-28 Thread Michael Collins
Title: Message



According to the documentation you can use any names, you do not have to 
use 'node'  as shown in the example code.
 
Thanks,
Mike

-Original Message-From: achillesflex 
[mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 7:57 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
modified structure of dataprovider for tree controlis 
it possible to tell the tree component to use a different tag or xml 
structure for its tree control?rather than nodes within nodes ... what i 
mean is can i use my own tag names and different xml structure?


RE: [flexcoders] newbie

2005-03-03 Thread Michael Herron








Hi,

 

This is an issue that I have also had to
deal with recently.

 

I had limited success using code similar
to that which you have outlined below. The major problem is that pressing CTRL
+ the majority of keys causes the browser to intercept these key presses and
perform its own actions. Trying ctrl + almost every key on the keyboard
resulted in only getting about 6 or so CTRL + key combinations being made available
to me. Trying ALT + key was even less successful as the flash player just
seemed to loose focus entirely, with the browser menu then being given focus.

 

Has anybody else had any success with key
board shortcuts? At first glance, it doesn’t seem to be possible to
provide logical keyboard navigation on forms with more than a handful of
controls. Of course, tab navigation is still possible.

 









From: Abdul Qabiz
[mailto:[EMAIL PROTECTED] 
Sent: 03 March 2005 16:19
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] newbie



 

Hi,

1) Yeah, you can trap the keyboard events using
ActionScript. You can use
"keyDown" event with Key object tofind
about pressed keys.. See example
code later in the mail.

2) you can use the combination of mouseDown,
mouseMove & mouseUp event to
make dragging happen. Look at Manish's Google map
example, see how he is
dragging...

http://manish.revise.org/archives/2005/02/12/no-more-xml-from-google-maps/





##ShortCutKeyExample.mxml###



http://www.macromedia.com/2003/mxml"
width="100%"
height="100%"
backgroundColor="#FF" initialize="onAppInit();">

 


    

   

height="100%">

   

height="100%"
backgroundColor="#CC">
   

fontStyle="italic"
   
fontWeight="bold" fontFamily="Times New Roman"/>

 


   

height="100%"
backgroundColor="#99CCFF">
   

fontStyle="italic"
   
fontWeight="bold" fontFamily="Times New Roman"/>
   


   


    




-abdul




-Original Message-
From: Doodi, Hari - BLS CTR [mailto:[EMAIL PROTECTED]

Sent: Thursday, March 03, 2005 8:29 PM
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] newbie

Hi members,
  
  I am new to Flex
coding. I did learn a lot from coenraets web site
and also from richinternetapps.com. I do really
appreciate them for letting
others to see their code and learn from it. 

I do have couple of issues to resolve. I didtry
search on Livedocs and
other websites for solutions but didn't findany.

1)  Can any one
programmed hotkeys(keyboard shotcuts) in flex ? for
example, instead of using mouse to click on tab of
TabNavigator container
users can use keyboard shortcuts say Ctrl+T or
Alt+T something like this.
There will be a problem using Alt as accesskey
because Alt key has been used
for windows hotkeys. Please help.

2)  My user requires
that they should be able to zoom a scanned image
and then move/drag that image. I did accomplished
zooming part but unable to
drag the image. Here is the mxml file for your
ref.

 
<>
Thanks in advance.

Thanks!
Hari




Yahoo! Groups Links














generating ActionScript doc (ala javadoc)

2005-03-04 Thread Michael Keirnan

apologies in advance if this has been asked and answered. i searched
the archives (honest).

i'm curious what folks are doing for generating documentation for
their AS2 and MXML code. the freeware tools appear to be in the early
stages as yet.

here are some tools i've run across (but not yet tried)

http://www.badgers-in-foil.co.uk/projects/as2api/
http://visiblearea.com/visdoc/ (commercial)
http://www.as2doc.com (commercial)









Cairngorm view helpers and dynamic loading of content

2005-03-07 Thread Michael Herron








Hi all

 

Currently, I have a framework where separate “modules”
are loaded in to a central panel using the createChild method. The reason for
using this method as opposed to a view stack for example is the amount of these
“modules” that I could potentially have is huge and it seems easier/cleaner
to load the modules when required. And also, correct me if im wrong, but ifa
view stack was used, would each module not be loaded upon first navigating to
it and then be retained in memory?

 

When the user first selects a menu option and the required
module is loaded, all works fine.  The user may then navigate to another
module, whereupon the initial module is destroyed using the destroyAllChildren method
and the new module loaded. The problem occurs if the user then tries to return
to the original module. The module will attempt to register its view helper
which will in turn cause the view locator to throw an error, as the view name
has already been registered in the array of view helpers - even though the view
and view helper where destroyed when the new module was loaded. This is also problem
for reusable components that are being made use of inside the modules.

 

To confirm that this was the problem, I commented out the
view locators error checking and all worked fine. The way I see it, the only
solutions are:

 

·
Use a view stack and switch the selectedIndex
rather than using createChild/destroyChild – perhaps this should have
been the correct design choice used in the first place? Using this method the components
problem is also solved as the view can be registered through action script with
the “view already exists” error being caught, and just reassigning the
view attribute of the existing view helper to point to the existing instance of
the component.

 

·
Add a forceRegister method to the
view locator that will not perform the check for an existing view, write myown
view helper class that will override the set name method and call this method.
This method is obviously not ideal. Cairngorm is a solid framework and things
like existing view helper checking exist for a reason.

 

Any thoughts/suggestions?

Cheers,

Mike Herron 

 








RE: [flexcoders] Cairngorm view helpers and dynamic loading of content

2005-03-08 Thread Michael Herron








Hi Jimmy,

 

I wasn’t actually aware of the unregisterView
method on the view helper! After adding this, the problem seems to be solved
(cheers Steven). 









From: Dimitrios
Gianninas [mailto:[EMAIL PROTECTED] 
Sent: 07 March 2005 13:55
To: [EMAIL PROTECTED]
Subject: RE: [flexcoders]
Cairngorm view helpers and dynamic loading of content



 

Hi
Michael,

 

I think
the answer to your question is as simple as calling the unregisterView()
method on the correct ViewHelper when you are destroying that view all
together. Give that a try and let us know.



 



Jimmy
Gianninas

Software
Developer - Optimal Payments Inc.



 



 







From:Michael
Herron [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 20058:40
AM
To: [EMAIL PROTECTED]
Subject: [flexcoders] Cairngorm
view helpers and dynamic loading of content

Hi all

 

Currently, I have a framework where separate
“modules” are loaded in to a central panel using the createChild
method. The reason for using this method as opposed to a view stack for example
is the amount of these “modules” that I could potentially have is
huge and it seems easier/cleaner to load the modules when required. And also,
correct me if im wrong, but if a view stack was used, would each module notbe
loaded upon first navigating to it and then be retained in memory?

 

When the user first selects a menu option and the required
module is loaded, all works fine.  The user may then navigate to another
module, whereupon the initial module is destroyed using the destroyAllChildren
method and the new module loaded. The problem occurs if the user then triesto
return to the original module. The module will attempt to register its view
helper which will in turn cause the view locator to throw an error, as the view
name has already been registered in the array of view helpers - even thoughthe
view and view helper where destroyed when the new module was loaded. This is
also problem for reusable components that are being made use of inside the
modules.

 

To confirm that this was the problem, I commented out the
view locators error checking and all worked fine. The way I see it, the only
solutions are:

 

·
Use a view stack and switch the selectedIndex rather than using
createChild/destroyChild – perhaps this should have been the correct
design choice used in the first place? Using this method the components problem
is also solved as the view can be registered through action script with the
“view already exists” error being caught, and just reassigning the
view attribute of the existing view helper to point to the existing instance of
the component.

 

·
Add a forceRegister method to the view locator that will not performthe
check for an existing view, write my own view helper class that will override
the set name method and call this method. This method is obviously not ideal.
Cairngorm is a solid framework and things like existing view helper checking
exist for a reason.

 

Any thoughts/suggestions?

Cheers,

Mike Herron 

 








AVIS
IMPORTANT


WARNING




Les informations contenues dans le present
document et ses pieces jointes sont strictement confidentielles et reservees
a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le
destinataire, soyez avise que toute divulgation, distribution, copie, ou
autre utilisation de ces informations est strictement prohibee. Si vous avez
recu ce document par erreur, veuillez s'il vous plait communiquer
immediatement avec l'expediteur et detruire ce document sans en faire de
copie sous quelque forme.


The information contained in this document
and attachments is confidential and intended only for the person(s) named
above. If you are not the intended recipient you are hereby notified thatany
disclosure, copying, distribution, or any other use of the information is
strictly prohibited. If you have received this document by mistake, please
notify the sender immediately and destroy this document and attachments
without making any copy of any kind.















Re: generating ActionScript doc (ala javadoc)

2005-03-09 Thread Michael Keirnan

thanks for the pointer. i'm experimenting with NaturalDocs now. it
appears to be a very well considered tool. as you say, it is very easy
to format doc comments since it is so  natural. heh.

a minor note (or maybe nit) is that with all its flexibility the
javadoc @param tag style doesn't seem to fly. or maybe i'm missing
something. not a huge deal.

all in all a great tool and the price is certainly reasonable. 



--- In flexcoders@yahoogroups.com, "Brooks Andrus" <[EMAIL PROTECTED]> wrote:
> You might look at NaturalDocs. It has full language support for AS2
and is
> easier (in my mind) to use from a commenting syntax standpoint.
> 
> http://www.naturaldocs.org/
> 
> Regards,
> 
> Brooks







Re: [flexcoders] Default date in DateField

2005-03-09 Thread Michael Griffin


Hey Tom,
 
Does this help?  Just a simple example grabbing the date and setting it when the app initializes.
 

http://www.macromedia.com/2003/mxml" initialize="displayDate();">
        function displayDate(date) {   var today_date:Date = new Date();   var date_str:String = (today_date.getDate()+"/"+(today_date.getMonth()+1)+"/"+today_date.getFullYear());   mx.controls.Alert.show(date_str,"Message"); // displays current date in United States date format   selectedDate.text = date_str;    }
    
    
    

 
 
Mike-Original Message- From: Tom Fitzpatrick <[EMAIL PROTECTED]>Sent: Mar 9, 2005 3:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Default date in DateField How do I set a default date string in a DateField's text field? Say, I want the default date shown to be January 1, 2005. I'm able to set the default date in the popup calendar using selectedDate, but how do I display that in the text field?




Yahoo! Groups Sponsor





ADVERTISEMENT






Yahoo! Groups Links

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


Michael Griffin
781-395-1254 (H)
[EMAIL PROTECTED]




Help with a custom component

2005-03-11 Thread Michael Herron
Hi all.

 

I'm looking for some help with custom components. Basically, I have done
a bit of a hack and managed to get something that appears to the user as
an editable date field, by placing a TextInput over top of a DateField
control and capturing the required events (see attached for the code).
Its ugly, but it seems to work to a certain extent. The problems start
when I try to incorporate validation in to the test page. Placing a form
item with required set to true around the component along with a
validator tag doesn't seem to perform the necessary validation.
Sometimes typing the date directly will run the validator, but the
"hidden" DateField seems to be the component that changes color.
Basically, what im asking is:

 

* Can this approach be adapted to include validation from the
"parent" application that uses the component?

* Or, is there an easier, more elegant way to provide an
editable date field? (The docs indicate "editable" property inherited
from ComboBase will be ignored)

 

Cheers,

Mike


--_=_NextPart_002_01C52620.4339BDD6
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

http://www.w3.org/TR/REC-html40";>














Hi all.

 

I’m looking for some help with custom components. 
Basically,
I have done a bit of a hack and managed to get something that appears to the
user as an editable date field, by placing a TextInput over top of a DateField
control and capturing the required events (see attached for the code). Its
ugly, but it seems to work to a certain extent. The problems start when I try
to incorporate validation in to the test page. Placing a form item with
required set to true around the component along with a validator tag 
doesn’t
seem to perform the necessary validation. Sometimes typing the date directly
will run the validator, but the “hidden” DateField seems to be the
component that changes color. Basically, what im asking 
is:

 

·
Can this approach be adapted to 
include
validation from the “parent” application that uses the 
component?

·
Or, is there an easier, more elegant
way to provide an editable date field? (The docs indicate “editable”
property  inherited from ComboBase will be 
ignored)

 

Cheers,

Mike







--_=_NextPart_002_01C52620.4339BDD6--

bink1F9c8OgFw.bin
Description: EditableDateField.mxml


binlqjF5uYWu6.bin
Description: test_custom_date.mxml


RE: [flexcoders] Help with a custom component

2005-03-11 Thread Michael Herron








Good stuff! Cheers. I had a quick Google to
see if there was anything currently available, but you know the kind of nonsense
that flex searches return.

 









From: Manish Jethani
[mailto:[EMAIL PROTECTED] 
Sent: 11 March 2005 10:03
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Help
with a custom component



 

On Fri, 11 Mar 2005 09:54:39 -, Michael Herron
<[EMAIL PROTECTED]> wrote:

>
· Or, is there an easier, more
elegant way to provide an editable
> date field? (The docs indicate
"editable" property  inherited from ComboBase
> will be ignored) 

Yes. :)

http://manish.revise.org/archives/2005/02/27/editabledatefield-component/

Manish










[no subject]

2005-02-17 Thread Michael Herron










A

Sd 










Cairngorm and deferred instantiation

2005-02-17 Thread Michael Herron








Hi All

 

Apologies for the blank post.  

 

My problem is this:  When using a tab
navigator/view stack or any other component that uses deferred instantiation,
the required view helpers are not created at start up. That is, they are
children of tab navigator and not loaded until required, i.e. until the user
opens the required tab. When my commands are instantiated, they try to use the
view locator to get the required view helpers. Of course, this causes problems.
The only solutions I can see are:

 

·
Turn off deferred
instantiation. Not an option I would like to use

·
Get the view helpers when
required, in the execute, onResult and onFault methods, again not a nice option

 

Are there any other workarounds/solutions?

 

Cheers,

Mike

 








RE: [flexcoders] Cairngorm and deferred instantiation

2005-02-17 Thread Michael Herron








That’s certainly a workable
strategy, but from a design point of view the separate “tabs” (in
reality a view stack but works on same principles) are really applications
within their own right and I would like to be able include them just by passing
their root mxml name. Also, children will be added at run time to the view
stack using the create child method so I don’t want to have to defineall
the required view helpers for applications that may not be loaded.

 

Looks like I will have to use the view
locator 3 separate times in the execute, onResult and onFault methods…

 









From: Dimitrios
Gianninas [mailto:[EMAIL PROTECTED] 
Sent: 17 February 2005 16:00
To: [EMAIL PROTECTED]
Subject: RE: [flexcoders]
Cairngorm and deferred instantiation



 

Hi,

 

Put the
ViewHelper(s) at a higher level, I use TabNavigators and ViewStacks in several
places in my UI, but I do not have a ViewHelper per tab/stack. Just one forthe
whole bunch.



 



Jimmy
Gianninas

Software
Developer - Optimal Payments Inc.



 



 







From:Michael
Herron [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 17,2005
10:47 AM
To: [EMAIL PROTECTED]
Subject: [flexcoders] Cairngorm
and deferred instantiation

Hi All

 

Apologies for the blank post.  

 

My problem is this:  When using a tab
navigator/view stack or any other component that uses deferred instantiation,
the required view helpers are not created at start up. That is, they are
children of tab navigator and not loaded until required, i.e. until the user
opens the required tab. When my commands are instantiated, they try to use the
view locator to get the required view helpers. Of course, this causes problems.
The only solutions I can see are:

 

·
Turn off deferred instantiation. Not an option I would like
to use

·
Get the view helpers when required, in the execute, onResult
and onFault methods, again not a nice option

 

Are there any other workarounds/solutions?

 

Cheers,

Mike

 








AVIS
IMPORTANT


WARNING




Les informations contenues dans le present
document et ses pieces jointes sont strictement confidentielles et reservees
a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le
destinataire, soyez avise que toute divulgation, distribution, copie, ou
autre utilisation de ces informations est strictement prohibee. Si vous avez
recu ce document par erreur, veuillez s'il vous plait communiquer
immediatement avec l'expediteur et detruire ce document sans en faire de
copie sous quelque forme.


The information contained in this document
and attachments is confidential and intended only for the person(s) named
above. If you are not the intended recipient you are hereby notified thatany
disclosure, copying, distribution, or any other use of the information is
strictly prohibited. If you have received this document by mistake, please
notify the sender immediately and destroy this document and attachments
without making any copy of any kind.















RE: [flexcoders] Cairngorm and deferred instantiation

2005-02-18 Thread Michael Herron








Steven,

 

The problem is that the front controller
for the entire application will still be instantiating all the required command
classes at start up.

The command classes in turn will use the
view locator in their constructors to get the view helpers they need.  So
even though the 

command hasn’t been called and doesn’t
actually need to use the view; it is still trying to get an instance of the
required view helper.

 

Sorry if im not making this totally clear!
Like I said, the other solution is to only get the view helper instance when
the view is required,

i.e. in execute(), onResult() and
onFault(). 

 

The perfect solution? Cairngorm components
with completely self contained services, controller and view locators wouldbe fantastic…
;)  Seriously 

though, I do see your point, it is an architectural
problem that needs more thought.

 

Sorry for the lack of details, I can write
up a fuller description if required.

 

Cheers,

Mike

 









From: Steven Webster
[mailto:[EMAIL PROTECTED] 
Sent: 18 February 2005 10:16
To: [EMAIL PROTECTED]
Subject: RE: [flexcoders]
Cairngorm and deferred instantiation



 

Michael,

 

Looking at this a little differently ...
can you give us an idea as to why the ViewHelper not being instantiated

until the view is instantiated, is causing
you a problem ?   Since the view helper exists to help you manipulate

a view, then if the view doesn't exist
*arguably) the view helper needn't exist yet.

 

If you could provide a use-case as to why
the view helper should exist before the view, perhaps we can

identify whether what you're trying to
achieve, might be achieved more elegantly with a different strategy ?

 

Cairngorm is a lightweight framework, and
it seems to me that your application use-case (having an

application that is composed of multiple
applications that may or may not require to be created or

used at all by the user) may merit some
additional architecture and infrastructure to manage the

application-specific problems that youare
uncovering.

 

Best,

 

Steven

 



--

Steven Webster
Technical Director



iteration::two





 





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





 



 







From:Michael
Herron [mailto:[EMAIL PROTECTED] 
Sent: 17 February 2005 17:14
To: [EMAIL PROTECTED]
Subject: RE: [flexcoders]
Cairngorm and deferred instantiation

That’s certainly a workable
strategy, but from a design point of view the separate “tabs” (in reality
a view stack but works on same principles) are really applications within their
own right and I would like to be able include them just by passing their root
mxml name. Also, children will be added at run time to the view stack usingthe
create child method so I don’t want to have to define all the required
view helpers for applications that may not be loaded.

 

Looks like I will have to use the view
locator 3 separate times in the execute, onResult and onFault methods…



 







RE: [flexcoders] Cairngorm and deferred instantiation

2005-02-18 Thread Michael Herron








Steven,

 

Take your point, just wanted to see if
there was anybody else that had come across this

or found any different solutions. 

 

Not wanting to get the view helper on
demand was just a small point of style, it just 

made sense to get the view helper in the
constructor. Like you said though, 

clarity before brevity.

 

Cheers,

Mike

 









From: Steven Webster
[mailto:[EMAIL PROTECTED] 
Sent: 18 February 2005 13:21
To: [EMAIL PROTECTED]
Subject: RE: [flexcoders]
Cairngorm and deferred instantiation



 

Michael,

 

There's really no harm in the strategyof
locating the view helpers "on demand" where you need them, in the

execute(), onResult() or onFault()
methods; is your motive for creating them in the constructors simply to

save on typing out the
ViewLocator.getInstance.getViewHelper( "..." ) ?  

 

I'd go for clarity over brevity every time



 





Steven











From:Michael
Herron [mailto:[EMAIL PROTECTED] 
Sent: 18 February 2005 11:12
To: [EMAIL PROTECTED]
Subject: RE: [flexcoders] Cairngorm
and deferred instantiation

Steven,

 

The problem is that the front controller
for the entire application will still be instantiating all the required command
classes at start up.

The command classes in turn will use the
view locator in their constructors to get the view helpers they need.  So
even though the 

command hasn’t been called and
doesn’t actually need to use the view; it is still trying to get an
instance of the required view helper.

 

Sorry if im not making this totally clear!
Like I said, the other solution is to only get the view helper instance when
the view is required,

i.e. in execute(), onResult() and
onFault(). 

 

The perfect solution? Cairngorm components
with completely self contained services, controller and view locators wouldbe
fantastic… ;)  Seriously 

though, I do see your point, it is an
architectural problem that needs more thought.

 

Sorry for the lack of details, I can write
up a fuller description if required.

 

Cheers, 

 

 



 







opening all accordion screens...

2005-02-18 Thread Michael Griffin
Is it possible to open all accordion screens at once? I'd like to be able
to unroll the complete view of a flow instead of always having to navigate
one at a time. Any suggestions?

Mike

* 
PRIVILEGED AND CONFIDENTIAL: 
This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential and/or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If you
are not the intended recipient, please notify the sender immediately by
return e-mail, delete this communication and destroy all copies. 
*




DateField Through Action script

2005-02-28 Thread Michael Herron








Hi all, just a quick one:

 

For the purposes of unit testing cairngorm view
helpers, I create a “mock” view object as such:

 

   
view.labelOne = new Label();

   
view.textBoxOne = new TextBox();

 

Then assign this as the view object in the view
helper. This usually works fine. However, when using the DateField object
(view.dateOne = new DateField() ), this approach doesn’t seem to work.
The object is initialized, but the selectedDate
property is always undefined. Has anybody else come across this problem? Is
there something particular about the date field that makes creating an instance
of it in action script any different to creating a label / text box?

 

Thanks in advance,

Mike  


 

PS: Before you ask, no, my labels are not actually called
“labelOne”, “labelTwo” etc

 








Problem with Repeater.

2005-01-31 Thread Michael Hnat
Hi,

I (newbie) have to code a calenderview like outlook. Several Days must be
displayed. My first idea was using on DataGrid with multiple Columns. But
I've problems with dragging elements from one day to an other. My next idea
was using multiple DataGrids with one Column. Both ideas have the problem to
display more than one appointment at one time (like Outlook). 
Does anybody have a better idea to solve this problem or a ready component?

My example with multiple DataGrids (see below) is not displaying the correct
headerText. It should be a value from the dp:Array. It works for the
mx:Label, but not for the mx:DataGridColumn. What am I doing wrond?

Thanks for your help,
Michael Hnat

- code -

http://www.macromedia.com/2003/mxml"; xmlns="*"
backgroundColor="#FF">
 















 






RE: Problem with Repeater

2005-02-01 Thread Michael Hnat
Hi,

that's interessting. I've have a standard FLEX 1.5 installation in the
evaluation mode and it doesn't. Is my installation broken? Can I check this
somehow?

Thanks,
Michi



Message: 10 
Date: Mon, 31 Jan 2005 23:43:35 +0530
From: Manish Jethani <[EMAIL PROTECTED]>
Subject: Re: Problem with Repeater.

Michael Hnat wrote:

> My example with multiple DataGrids (see below) is not displaying the
correct
> headerText. It should be a value from the dp:Array.

Indeed it does. I tried your code on my Flex installation.

Manish





Cairngorm Event to Command

2005-02-04 Thread Michael Herron
Hi all


Just a quick question about using cairngorm:

In my application when a product has been added, I wish to broadcast a
"product added" event and have it picked up by two separate command classes
that will update two separate views. Unfortunately, when the event is
broadcast, it only seems to be picked up by the command class that was
registered last in the controller. 

To get round this I am having to broadcast two separate events specific to
the two views once a product has been added. Obviously, this doesn't provide
as high a level of de-coupling as I would like.

Has anyone else come across this problem? Am I doing something wrong or is
this a know "quirk"?


Cheers,
Mike





RE: [flexcoders] Cairngorm Event to Command

2005-02-04 Thread Michael Herron
Yes that would certainly work, but that would involve creating a new command
class. I was wanting to re-use the command classes that are currently being
used, but just fire them both for the same event.

Although your solution does seem more elegant that broadcasting multiple
events.

-Mike

-Original Message-
From: Alex [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 04 February 2005 12:11
To: flexcoders@yahoogroups.com
Subject: FW: [flexcoders] Cairngorm Event to Command


Hi Mike, 

I presume nothing prevents you from accessing two different views via
ViewLocator singleton within one command.

Regards,
Alex.

-Original Message-
From: Michael Herron [mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005 2:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm Event to Command


Hi all


Just a quick question about using cairngorm:

In my application when a product has been added, I wish to broadcast a
"product added" event and have it picked up by two separate command classes
that will update two separate views. Unfortunately, when the event is
broadcast, it only seems to be picked up by the command class that was
registered last in the controller. 

To get round this I am having to broadcast two separate events specific to
the two views once a product has been added. Obviously, this doesn't provide
as high a level of de-coupling as I would like.

Has anyone else come across this problem? Am I doing something wrong or is
this a know "quirk"?


Cheers,
Mike




Yahoo! Groups Links










Yahoo! Groups Links











RE: [flexcoders] Cairngorm Event to Command

2005-02-04 Thread Michael Herron
The command classes already exists and work in their own right for their
respective views. I will not always want to update both the views at the
same time. 

You seem to be getting confused with the purpose of the event. The event is
broadcast once the product has been added, not when the product is required
to be added. I then want to be able to specify in my front controller:

addCommand("productAdded", new CommandToUpdateViewOne());


-Original Message-
From: Alex [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 04 February 2005 12:47
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Cairngorm Event to Command


Not sure why it requires to create a new command class. 
onResult function in your command class that is assigned with "add product"
event would be something like 

public function onResult( event : Object ) : Void
{
var view1ViewHelper =
ViewLocator.getInstance().getViewHelper( "view1" );
var view2ViewHelper =
ViewLocator.getInstance().getViewHelper( "view2" );
view1ViewHelper.doSomethingInView1();
view2ViewHelper.doSomethingInView2();
}

Alex.

-Original Message-
From: Michael Herron [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 04, 2005 3:39 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Cairngorm Event to Command


Yes that would certainly work, but that would involve creating a new command
class. I was wanting to re-use the command classes that are currently being
used, but just fire them both for the same event.

Although your solution does seem more elegant that broadcasting multiple
events.

-Mike

-Original Message-
From: Alex [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 04 February 2005 12:11
To: flexcoders@yahoogroups.com
Subject: FW: [flexcoders] Cairngorm Event to Command


Hi Mike, 

I presume nothing prevents you from accessing two different views via
ViewLocator singleton within one command.

Regards,
Alex.

-Original Message-
From: Michael Herron [mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005 2:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm Event to Command


Hi all


Just a quick question about using cairngorm:

In my application when a product has been added, I wish to broadcast a
"product added" event and have it picked up by two separate command classes
that will update two separate views. Unfortunately, when the event is
broadcast, it only seems to be picked up by the command class that was
registered last in the controller. 

To get round this I am having to broadcast two separate events specific to
the two views once a product has been added. Obviously, this doesn't provide
as high a level of de-coupling as I would like.

Has anyone else come across this problem? Am I doing something wrong or is
this a know "quirk"?


Cheers,
Mike




Yahoo! Groups Links










Yahoo! Groups Links










Yahoo! Groups Links










Yahoo! Groups Links











RE: [flexcoders] Cairngorm Event to Command

2005-02-04 Thread Michael Herron

It requires a new command class because the command classes I currently have
update the two views separately. The requirement is not always for the view
to be updated simultaneously, so they each have their own command class.

The controller looks something like:

addCommand("updateViewOne", ViewOneCommand());
addCommand("updateViewTwo", ViewTwoCommand());

So these views can be updated without updating the other. What I want to
happen now is that when I have added a product successfully, is for both
command classes to be fired, therefore adding the lines below to the
controller:

addCommand("productAdded", ViewOneCommand());
addCommand("productAdded", ViewTwoCommand());


So ideally, the component that adds the command will not have know the
"updateViewOne" event or the "updateViewTwo" event. Nor should there be a
command to handle a "productAdded" event, I just want to define which view
to update through the front controller only. Therefore, if either of the
previous views no longer required updating when a product was added, or a
new view required updating, all I would need to change would be the
definitions in the controller. 

Mike.


-Original Message-
From: Alex [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 04 February 2005 12:47
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Cairngorm Event to Command


Not sure why it requires to create a new command class. 
onResult function in your command class that is assigned with "add product"
event would be something like 

public function onResult( event : Object ) : Void
{
var view1ViewHelper =
ViewLocator.getInstance().getViewHelper( "view1" );
var view2ViewHelper =
ViewLocator.getInstance().getViewHelper( "view2" );
view1ViewHelper.doSomethingInView1();
view2ViewHelper.doSomethingInView2();
}

Alex.

-Original Message-
From: Michael Herron [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 04, 2005 3:39 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Cairngorm Event to Command


Yes that would certainly work, but that would involve creating a new command
class. I was wanting to re-use the command classes that are currently being
used, but just fire them both for the same event.

Although your solution does seem more elegant that broadcasting multiple
events.

-Mike

-Original Message-
From: Alex [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 04 February 2005 12:11
To: flexcoders@yahoogroups.com
Subject: FW: [flexcoders] Cairngorm Event to Command


Hi Mike, 

I presume nothing prevents you from accessing two different views via
ViewLocator singleton within one command.

Regards,
Alex.

-Original Message-
From: Michael Herron [mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005 2:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm Event to Command


Hi all


Just a quick question about using cairngorm:

In my application when a product has been added, I wish to broadcast a
"product added" event and have it picked up by two separate command classes
that will update two separate views. Unfortunately, when the event is
broadcast, it only seems to be picked up by the command class that was
registered last in the controller. 

To get round this I am having to broadcast two separate events specific to
the two views once a product has been added. Obviously, this doesn't provide
as high a level of de-coupling as I would like.

Has anyone else come across this problem? Am I doing something wrong or is
this a know "quirk"?


Cheers,
Mike




Yahoo! Groups Links










Yahoo! Groups Links










Yahoo! Groups Links










Yahoo! Groups Links











Re: [flexcoders] Re: Flex, Hibernate and Coldfusion

2005-02-04 Thread Michael McKellip
Matt,

Glad to see that someone else would like to see this work. Our goals
may have been slightly different than yours. We were trying to use the
persistence layer and pojo's created with Hibernate in both an
internal Flex application and re-use it in a public Mach-II
application. Both our CF and Flex servers run as instances on top of
JRun. Hibernate works wonderfully with Flex and we are extremely happy
with it. CF was another story. We thought we had a workable solution.
However, while our solution worked with J2ee CF and JRun on a Mac OS
X machine, it did not work with the same version of CF and JRun on
Wiindows. We have found one of the major issues is that JRun doesn't
follow the standard servlet spec. There is definitely a classloader
issue with the JRun/CF combination. We have confirmed a basic bug with
the JRun/CF combination that prevents any java app using the log4j
logging classes from running within the CF instance. A basic class
that simply imports the logging classes and trys to do a log can
confirm it. We filed a bug report with Macromedia with code to
duplicate the problem but have not received a response.

We have a huge project and deadline looming and therefore had to
abandon our effort to use Hiernate with CF at the moment. I am
confident the same problems will not necessarily exist when using a
different J2ee app server such as JBoss or even just Tomcat. However,
our company is heavily invested in Macromedia technologies and we
would have a hard time getting management to approve a switch from
JRun to something else.

My co-worker and I will probably join your open-source effort to get
CF and Hibernate working. We may not be extremely active for a month
or so while we finish the project we are in the middle of. I have
included the steps that got it to work on the Mac OS X JRun/CF setup
below. Good luck!

---
1. Put the following Hibernate files into
{application.home}/servers/cfusion/cfusion/WEB-INF/lib directory:

cglib-full-2.0.2.jar
commons-collections-2.1.1.jar
commons-logging-1.0.4.jar
dom4j-1.4.jar
ehcache-0.9.jar
hibernate2.jar
jta.jar
odmg-3.0.jar

DO NOT include the log4j.jar as it will conflict with what CF loaded.

2. Expand the {application.home}/lib/webservices.jar file. Remove the
"logging" folder from within the org/apache/commons directory.
Recreate the webservices.jar
ie: From within the webservices folder run the following command:
jar cvf ../webservices.jar *

3. Expand the 
{application.home}/servers/cfusion/cfusion/WEB-INF/cfusion/lib/webservices.jar
file. Remove the "logging" folder from within the org/apache/commons
directory. Recreate this webservices.jar
ie: From within the webservices folder run the following command:
jar cvf ../webservices.jar *




On Thu, 03 Feb 2005 23:05:34 -, mpwoodward2 <[EMAIL PROTECTED]> wrote:
> 
> 
> --- In flexcoders@yahoogroups.com, Michael McKellip
> <[EMAIL PROTECTED]> wrote:
> > Cathy,
> >
> > Success! Thanks very much to you and Peter we have a workaround. There
> > is definitely a classloader issue between CFMX / JRun 4 and the
> > commons-logging classes. The end result is a user will be unable to
> > access any classes that use the commons-logging.jar classes from
> > within ColdFusion. In our case, we wanted to use a Hibernate backend
> > developed for a Flex app from within another app developed in CF /
> > Mach II. Hibernate uses the logging framework alot.
> 
> I've been working with Hibernate in Java lately and of course would
> love to have this same functionality for my CF apps, so this has
> definitely piqued my interest. My main question is this: now that you
> have Hibernate loading from CF, are you using Java objects with it, or
> have you figured out a way to persist CFCs using Hibernate?
> 
> Any details you can give on the specifics of what you're doing would
> be greatly appreciated.
> 
> Thanks,
> Matt
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>




RE: [flexcoders] Comboboxes in datagrid

2005-03-29 Thread Michael Griffin





Hey Tom,
 
You should check out http://www.markme.com/pent/archives/flex/solutions/cellrenderers.zip from Peter Ent's blog for a bunch of good cellrenderers (including a combobox) and the Flex explorer has 2 examples cellrenderers you can use as templates.  Send me a note if you can't get these working and I'll see what I can do to help.  Good luck.
 
Mike-Original Message- From: Tom Fitzpatrick <[EMAIL PROTECTED]>Sent: Mar 29, 2005 2:03 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Comboboxes in datagrid Dirk -Many thanks for your suggestions - but I'm still struggling to make this work.I guess I need a more complete, simple example of multiple comboboxes in multiple datagrid rows so I can build off of that.Can you - or anyone else - provide or point to such an example?- TomAt 10:34 AM 3/29/2005, you wrote:>Hi,>>I usually subclass the DataGridColumn class to customize the assigned cell >renderer. This way you can easily pass extra information (in your case the >dataprovider for the combo boxes) directly to the column. The cellrenderer >then "asks" its row for the dataprovider to use:>>>   > > dataProvider="{arr1}"/>> > dataProvider="{arr2}"/>> > dataProvider="{arr3}"/>>   >>>ExtendedDataGridColumn just extends the >mx.controls.gridclasses.DataGridColumn class and adds a public variable >dataProvider.>>Inside the cellRenderer class ComboRenderer (which you could implement as >a direct subclass  of mx.controls.ComboBox) you can then access the >correct dataProvider by doing this>>function init():Void {>   super.init();>   dataProvider = listOwner.getColumnAt(getCellIndex().columnIndex);>}>>Dirk.>>> > -Original Message-> > From: Tom Fitzpatrick [mailto:[EMAIL PROTECTED]> > Sent: Tuesday, March 29, 2005 5:23 PM> > To: flexcoders@yahoogroups.com> > Subject: [flexcoders] Comboboxes in datagrid> >> >> >> > I'm trying to create a datagrid that holds three-column rows with a> > comboBox in each cell.> >> > I assume I have to use a cellrenderer to accomplish this - is> > this correct?> > I've been experimenting with cellrenderer examples on the> > rich internet> > apps site (Webster/McLeod) and one posted by Dirk Eismann. Both these> > assume only one comboBox per row, and I haven't found a way> > to add three> > per row, each with a different dataProvider. So close, yet so> > far. Any tips> > (or code to share)?> >> > - Tom> >> >> >> >> >> >> >> > Yahoo! Groups Links> >> >> >> >> >> >> >> >>>Yahoo! Groups Sponsor>ADVERTISEMENT><http://us.ard.yahoo.com/SIG=129ss640v/M=298184.6191685.7192823.3001176/D=groups/S=1705007207:HM/EXP=1112196939/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075>>click here>>[]>>>>-->Yahoo! Groups Links>    * To visit your group on the web, go to:>    * > <http://groups.yahoo.com/group/flexcoders/>http://groups.yahoo.com/group/flexcoders/ >>    *>    * To unsubscribe from this group, send an email to:>    * > [EMAIL PROTECTED] >>    *>    * Your use of Yahoo! Groups is subject to the > <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.




Yahoo! Groups Sponsor





ADVERTISEMENT






Yahoo! Groups Links

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








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

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









Michael Griffin
781-395-1254 (H)
[EMAIL PROTECTED]





[flexcoders] Syntaxhighlighting in Dreamweaver

2005-04-04 Thread Michael Hnat

Hi,

is it possible to do syntax highlighting for MXML in Dreamweaver instead of
FlexBuilder?
Can someone tell me which files to copy?

Thanks,
Michi



 
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: Inserting a blank row in the middle of a datagrid.

2005-04-06 Thread Michael Keirnan


if you have a look at the properties of DataGrid in the docs (like
rowHeight) you'll see various ways to adjust how rows and columns are
displayed, including substituing your own rowRenderer if you
want to get fancy.

generally it is better to adjust properties that control
presentation as opposed to faking data to force presentation, but
if you -really- want a blank row you could try inserting a row
whose values are whitespace strings.

   


--- In flexcoders@yahoogroups.com, "greenfishinwater"
<[EMAIL PROTECTED]> wrote:
> 
> I have a datagrid, populated via a dataprovider from a remote
object.
> The grid has 3 columns, the first of which is a type description. In
> my application there are only 2 different types (Full Price and
> Discount Price). I would like to have a blank row between the rows
of
> the first type and the rows of the second type.This would help
> differentiate the 2 groups of data.
> 
> Anybody have any ideas on anyway to do this?
> 
> Andrew





 
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] Acessing a class

2005-04-08 Thread michael keirnan

from the code fragments below it looks like you never assign the 
"objPropostaBusca" variable to an instance of the class you want. it 
depends on the rest of your app and what you're trying to do of course, 
but something like this might work:


   var objPropostaBusca:as_PropostaBusca = new as_PropostaBusca();


   

Fernando Barros wrote:

>Hi there!
>
>Im trying to make my first flex app and I´ve this problem:
>I have proposta.mxml with 
>
>   
>
>
>And in PropostaBusca.mxml I have:
>...
>
>   var objPropostaBusca:as_PropostaBusca;
>
>...
>click="objPropostaBusca.Abrir(dgProposta.selectedItem.NPROPOSTAID);"/>
>
>And in as_PropostaBusca.as:
>import mx.controls.Alert;
>import mx.services.WebService;
>
>class as_PropostaBusca
>{
>   public function Abrir(nPropostaID:Number):Void
>   {
>   Alert.show('Entrou');
>   var objSessao:SharedObject;
>   ...
>
>But I´ve never got this Alert or any type of trace.
>
>What Am I doing wrong?
>
>Thks in advance!
>
>->->-
>Fernando Barros
>->->-
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>  
>


 
Yahoo! Groups Links

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

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

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





Re: [flexcoders] the difference between List.getItemAt and List.getChildAt

2005-04-08 Thread michael keirnan

the two APIs are not intended to be similar, although perhaps the names 
themselves might lead one to think they are related at first glance.

getItemAt() returns the specified item from the list's data provider. 
getChildAt() is inherited from View which is a base class that provides 
containment semantics. so MXML components that can have other MXML 
components within them extend View.

   

Krzysztof Szlapinski wrote:

>Hi,
>
>I wonder what is the difference between List.getItemAt() property and 
>List.getChildAt() method.
>
>When I create List items with addItem the List.getChildAt() gives me 
>undefined value and getItemAt() gives me the correct item.
>
>why?
>
>krzysiek 
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>  
>


 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Using FlexUnit with Cairngorm

2005-04-11 Thread Michael Herron

Its an interesting problem Allen, and one that ive been trying to tackle for a 
while.

The easiest way to do this is to:

Var view:Object;

Function setup(){

View.myLabel = new Label()

viewHelper = new myViewHelper()
viewHelper.view = view;
   }

You can do this with most of the standard controls. Instantiating a mxml file 
directly from action script seems to be a lot more difficult. I've had
 some luck with instantiating the mxml normally as a class, the calling init(). 
I'm sure somebody will reply to this with the correct way to do
 it!

The next step is to take the mock view and extract it in to a separate class:

Class com.views.mockView{

Var myLabel:Label;

mockVieW(){

this.myLabel = new Label
}

}

...
..

Function setup(){

viewHelper.View = new mockView();

}


The major disadvantage of this approach is that you will have to be sure to
 Keep your actual view and mock view "in-sync", but overall, you should be 
 able to reliably unit tests your view helpers.

Ta,
Mike


From: Allen Manning [mailto:[EMAIL PROTECTED] 
Sent: 11 April 2005 17:08
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Using FlexUnit with Cairngorm


Hello Flexcoders,
 
I've started using FlexUnit to test business logic in my business delegates.  
 
I would now like to use FlexUnit to test my View Helpers and getter / setter 
functions in the views themselves.  Does anyone have any examples of how 
one may run tests against their mxml views?
 
For example, if I want to test that a function getLabel():String placed in the 
root of mx:Application in file 'index.mxml' returns the string 'myLabel', how 
would I go about writing my test?  
 
public function testGetLabelFromView() : Void
{
    myViewToTest = mx.core.application.Application;//?? how do I get access to 
this ??
    assertEquals('should be ', 'myLabel' ,myViewToTest.getLabel());
}
I'm going to run this test from a testing application, tests.mxml so 
mx.core.application.Application refers to my testing application and not the 
target application I wish to test.
 
Do I need to instantiate my target application in the tests themselves?  Like 
this:
  
public function testGetLabelFromView() : Void
{
    myViewToTest = index;//do I call this as a class?
    assertEquals('should be ', 'myLabel' ,myViewToTest.getLabel());
}
Any help would be greatly appreciated.
 
Many Thanks,
Allen

 
Allen Manning, Technical Director  
Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com 



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



 
Yahoo! Groups Links

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

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

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





Re: [flexcoders] Re: help with setInterval...

2005-04-12 Thread michael keirnan

it would be good to go through the Flex UG sections on scoping and event 
listeners. in the long run understanding scope is invaluable. in your 
test case the following might work:

  setInterval(mx.utils.Delegate.create(this, upCount, 1000);


   

terry_hrtn wrote:

>Matt...now I'm getting the message below in the debug file...any 
>suggestions. 
>
>Warning: [type Function] is not a function
>   at ()
>
>--- In flexcoders@yahoogroups.com, Matt Chotin <[EMAIL PROTECTED]> wrote:
>  
>
>>You're having scope issues.  setInterval(this, "upCount", 1000);
>>
>> 
>>
>>More info here:
>>http://livedocs.macromedia.com/flex/15/flex_docs_en/1662.htm
>> 
>>
>> 
>>
>>Matt
>>
>> 
>>
>>  _  
>>
>>From: terry_hrtn [mailto:[EMAIL PROTECTED] 
>>Sent: Monday, April 11, 2005 10:03 AM
>>To: flexcoders@yahoogroups.com
>>Subject: [flexcoders] help with setInterval...
>>
>> 
>>
>>
>>Needing some help with setInterval...
>>Can someone tell me why "setInterval" calls the "upCount" function 
>>but does not update label on screen?
>>
>>
>>http://www.macromedia.com/2003/mxml
>> " >
>>  
>>  
>>  
>>  
>>
>>
>>  >click="startClock()" />
>>  >click="stopClock()" enabled="false" />
>>
>>
>>  
>>
>>
>>
>>
>>
>>
>>
>>  _  
>>
>>Yahoo! Groups Links
>>
>>* To visit your group on the web, go to:
>>http://groups.yahoo.com/group/flexcoders/
>> 
>>  
>>* To unsubscribe from this group, send an email to:
>>[EMAIL PROTECTED]
>> 
>>  
>>* Your use of Yahoo! Groups is subject to the Yahoo!
>>  Terms of Service.
>>
>>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>  
>


 
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] Adobe Flex? What does this mean to us... ?

2005-04-18 Thread Michael Laudrup

Well,

Flex is a nice product, with some nice features and an
awesome library of components. Although, I have some
things that don't like and I'll mention them below.

Flex was surprisingly very well accepted in the
financial world...and people with deep pockets paid
12k/2xcpu without hesitation... that made MM think
about reconsidering their price policy and consider
Flex as a true "enterprise" solution, when in fact the
product is quite limited in some regards and some bugs
are really annoying - no offence, and apologize if I
hurt somebody... Now, with this merger on the horizon
it's very unlikely that Adobe will shutdown this
product but might raise a red flag for people that
already bought this product  or intended to buy...
This can be fatal for Flex growth... and let's face it
are many great products on the market that couldn't
sustain themselves without a good marketing
strategy... look no further than Sun applications...

In conclusion, Flex market might cool off a bit in
the same time the projects developed in the last 6
months will be released in production... Depending on
the success of those projects Flex might be or not
around  So don't be concern that Adobe will
shutdown a successful product... Flex will die on his
hand if the product will not became a serious player
in the UI area... in regard with "enterprise" scale of
Flex is still arguable and not consider it a true
enterprise product, but maybe are different flavors of
"enterprise" these days... Although, "Flex is
enterprise solution, AS2 is OO" sounds nice when sell
this product... :)

Best regards,
Michael

I'll look forward seeing this product one year from
now and the evolution of it...



__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail


 
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: help with setInterval...

2005-04-23 Thread michael keirnan







heh, yeah i misplaced a paren on purpose to see who was paying
attention. ;) and if you believe that 

   

Abdul Qabiz wrote:

  Hi terry_hrtn,

Can you post the entire code now? I would like to see why it's not working. 

Correcting Michael's suggestion:

setInterval(mx.utils.Delegate.create(this, upCount), 1000);


I just tested your code after resolving scope issues, it works fine for
me

-abdul


-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Saturday, April 23, 2005 12:31 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: help with setInterval...


Does not work.

On 4/12/05, michael keirnan <[EMAIL PROTECTED]> wrote:
  
  
it would be good to go through the Flex UG sections on scoping and event
listeners. in the long run understanding scope is invaluable. in your
test case the following might work:

  setInterval(mx.utils.Delegate.create(this, upCount, 1000);

   

terry_hrtn wrote:



  Matt...now I'm getting the message below in the debug file...any
suggestions.

Warning: [type Function] is not a function
  at ()

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


  
  
You're having scope issues.  setInterval(this, "upCount", 1000);



More info here:
http://livedocs.macromedia.com/flex/15/flex_docs_en/1662.htm




Matt



 _

From: terry_hrtn [mailto:[EMAIL PROTECTED]...]
Sent: Monday, April 11, 2005 10:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] help with setInterval...




Needing some help with setInterval...
Can someone tell me why "setInterval" calls the "upCount" function
but does not update label on screen?


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







 _

Yahoo! Groups Links

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


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


* Your use of Yahoo! Groups is subject to the Yahoo!
  Terms of Service.



  
  




Yahoo! Groups Links











  

Yahoo! Groups Links






  
  

 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





  









Yahoo! Groups Links

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














[flexcoders] Flash Player/Flex Feature

2005-04-25 Thread Michael Laudrup

The 32k error is really annoying and I consider it
more a Flash Player/Flex bug than a feature   In
fact it's quite difficult for me to understand how the
garbage collector works and how the mxml pages are
translated in AS2 classes Is there any
documentation in regards with those issues 

Jumping to another topic, I've looked over the Flex
System requirements and look what I found...


Intel Pentium processor or higher
256 MB RAM (512 MB recommended)
400 MB available disk space
Microsoft Windows 2000 Server, XP Professional, or
2003 Server

Isn't this a little bit misleading? I have 1 Gb RAM
and after deploy/re-deploy the application 2-3 times,
JRun almost crawls on his knees and finally get
the blessing... "Out of Memory"...


Thanks,
Michael

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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] Tomcat and Flex (Apache and mod_jk)

2005-04-26 Thread Michael Laudrup



Is this acceptable moving the project in production?.
 
Regards,
Michael
Cary Newfeldt <[EMAIL PROTECTED]> wrote:
I usually restart Apache and Tomcat when this happens. Takes care of the issue for me on my freebsd box. cheers, cJohan Lopes wrote: 
Hi Eric,I've run into similar problems. I keep getting Error 500 (Internal Server Error) when running .mxml files through Apache + Tomcat hooked through mod_jk. The odd thing is that if I serve an html file through that same context or webapp everything works fine. But as soon as I try to access an mxml or jsp file it bombs.Please let me know if you make any progress on this issue.Thanks,/Johan
On 4/24/05, Eric Raymond <[EMAIL PROTECTED]> wrote: 
We've been using Tomcat with Flex for some time with no problems.Recently we started using mod_jk to connect Flex to the Apache Web Server.The flex application loads fine, but when it gets to handling an HttpService, it throws an exception.  Note that if we go directly totomcat (port 8080 instead of 80), all is well.The stack trace below suggests that the Flex Proxy Servlet is tryingto connect to the http service on a port which is not open .. perhaps the mod_jk workers port (although I would think that port would be open).Does anyone have mod_jk working with flex?java.net.ConnectException: Connection refusedat java.net.PlainSocketImpl.socketConnect (Native Method)at
 java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)atjava.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)at java.net.PlainSocketImpl.connect (PlainSocketImpl.java:182)at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)at java.net.Socket.connect(Socket.java:507)at java.net.Socket.connect(Socket.java:457)at java.net.Socket.(Socket.java:365)at java.net.Socket.(Socket.java:178)atorg.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java
 :86)atorg.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:651)atorg.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java :1170)atorg.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:628)atorg.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)atflex.server.j2ee.proxy.ProxyServlet.service (ProxyServlet.java:611)at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)atflex.bootstrap.BootstrapServlet.service(BootstrapServlet.java:69)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:252)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)Why use mod_jk and Apache with Tomcat?- The reasons to use Apache with Tomcat (versus a bare to the world instance of tomcat) are numerous albeit some aresuperstitous/religous.  They include performance (especially SSL),security, configurability, and scalability.- mod_jk is fairly high performance and handles http versus https nicely. - mod_jk supports load balancing across multiple instances of Tomcat.There are obvious reasons to load balance
 across multiple machinesand some more subtle ones for load balancing across multiple instances on a single machine.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/__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 







Yahoo! Groups Links

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










RE: [flexcoders] AMF POJO/hibernate/java.sql.Date Bug?

2005-04-26 Thread Michael Laudrup



To avoid the date thing, I keep the date as long on the server side and Number on the AS2.
 
Redards,
MichaelPeter Farland <[EMAIL PROTECTED]> wrote:
Sorry but the RemoteObject AMF Gateway does not create java.sql.Dateinstances from ActionScript Dates in Flex 1.5.-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of [EMAIL PROTECTED]Sent: Tuesday, April 26, 2005 3:58 AMTo: Flex CodersSubject: [flexcoders] AMF POJO/hibernate/java.sql.Date Bug?Hi to all,a strange thing has happened me with a simple attach file (without DateConversion). I my orignial CVenditaVO.java   i have used java.sql.Date for a field and in my ActionScript map i have used Date.The reason of java.sql.Date is i'm using hibernate as dataBase layer, i can't use java.util.Date because in my DAO throws, correctly for me, an Exception.In my flex side when receive data all work ok? and the debug info print correct "cast" 
 java--> ActionScript.The pains are raised when Flex pass an CVenditaVO object to java.Here my simple BusinessObject java:public void UpdateReso(CVenditaVO[] resi) { try {   IVendite resi_cli = CDaoFactory.getVenditeDAO();   resi_cli.UpdateReso(resi); } catch (DaoException ex) {   System.out.println(ex.getMessage()); }   }But, I have not understood now,  Flex throws various exception but not always the same.1) Cannt  invoke  method2) MY OBJECT IS OK IN ACTIONSCRIPT BO BUT IN J2EE side the object pass NULL here i wish dead ;-)About you it's a bug? why flex don't throws an "error cast"Ok hour after hour i have refactory my class, and the problem is my
 java.sql.Date with java.util.Date work.In my attach, who are using hibernate (DataConversion.JAVA) help you  toaround this problem.type="dao.hibernate.DateConversion"/>I have only the last problem with the date,when i use in actionScript a code like this...     vendita= new CVenditaVO();   pk = new CVenditaPK();   pk.datadi=Date;    --> Flex compile ok? but when pass this object to remote j2ee throws "Invalid inputarguments" 
 pk.nrscdi=Number(vendite)+1;  pk.oravdi='00'; pk.shopdi='Z01'; vendita.pk=pk; vendita.stagdi=sc.staga; Can you help me pleaseCiaoDevisYahoo! Groups Links__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 







Yahoo! Groups Links

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










Re: [flexcoders] binding error - from Flex?

2005-05-02 Thread michael keirnan






also, if you run mxmlc or compc against your source tree the generated
files are placed right in your source tree. (perhaps obvious if one
thinks about it, but i did not think about it until it bit me). this
can lead to various problems during the typical development process:
edit-compile-test-curse-repeat.

   

Tom Fitzpatrick wrote:

  Tracy - thanks. Deleting the generated files did the trick.

- Tom

At 12:19 PM 4/27/2005, you wrote:
  
  
The generated files I am talking about are under "
..[flex-root]\WEB-INF\flex\generated|" folder in the Flex server. There
are several folders with generated names. It is safe to delete them.

If you get the 32k error on one server but not another, that really
sounds like a boundary condition.  Try running the one with the error
using the ?debug=true request parameter.  This causes debug code to get
generated into the app and has, in the past allowed us to continue.

Tracy



-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Tom Fitzpatrick
Sent: Wednesday, April 27, 2005 6:26 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] binding error - from Flex?


Tracy - thanks for the suggestion. My problem is that I'm not really
changing anything, just making a copy of the whole app folder, renaming
it,
and trying to compile it again from the new folder - so I don't really
know
where to put the extra code.

I'm ready to try the file deletion suggestion, but need more info. I'm
running Flex locally using Tomcat, so I have generated files in my local

project folder and in my local server folder. Which ones do I delete?
Both?
Do I leave the libs folders alone? And - most important - is there any
danger in doing this or any precautions I should take?

- Tom

At 09:47 PM 4/25/2005, you wrote:


  Ignore the message, add some code, and run the app again.  I have also
hit a situation where this did not work until I had deleted the files
out of the ...web-inf\flex\generated folder, then compiled it again.
But usually, 10-15 more lines of code gets me over the hump.

If you believe you app is as refactored as is reasonable, give this a
try.
  







Yahoo! Groups Links











--
Yahoo! Groups Links
   * To visit your group on the web, go to:
   * 
http://groups.yahoo.com/group/flexcoders/ 

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

   *
   * Your use of Yahoo! Groups is subject to the 
Yahoo! Terms of Service.

  
  





 
Yahoo! Groups Links

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

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

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





  









Yahoo! Groups Links

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














Re: [flexcoders] Setting Text Property of Label Control Dynamically

2005-05-02 Thread michael keirnan






it looks like you want to use data binding here. in your mxml you can
do this:



and comment out this line in your AS:

    //lblListValue.text = strSize;

if you haven't already, definitely check out the sections in the Flex
User Guide that talk about data binding for more background. the Flex
explorer sample app is also very useful to understand the building
blocks available to flex coders.

   

David Terry wrote:

  
  
  
  
  Hello Fellow Groupies,
   
  I am having an issue
with setting the text property of a
label control dynamically –the alert box displays the correct value but
for some reason the label does not.
   
  What am I doing wrong?
   
  Many thank,
  David T.
   
  










Yahoo! Groups Links

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














Re: [flexcoders] Split up flex-config.xml

2005-05-03 Thread michael keirnan
i haven't tried it, but the XML entity include might work, depending on 
the parser.

   http://ant.apache.org/faq.html#xml-entity-include

   

Peter Farland wrote:

>Hi Yokota, only one configuration file can be used by the
>AMFGatewayServlet. The whitelist.parent.node points the gateway's
>configuration parser to the right element to start constructing its
>whitelist. This was necessary as Flex 1.5's configuration file has a
>whitelist for web services, http services and remote object services.
>
>Please file an enhancement request at
>http://www.macromedia.com/support/email/wishform/main.cgi
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>  
>


 
Yahoo! Groups Links

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

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

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





Re: [flexcoders] Questions, Questions

2005-05-04 Thread Michael Laudrup
Flex server is only a presentation layer that runs on
top of your current J2EE/.NET app. There is no diff
between a flex app and any other J2EE app in the way
the app is deployed...

Per my understanding when develop a j2ee app that uses
Flex as presentation layer, then you'll have to pay
for Flex license in order to deploy the app... and the
price might vary it was 12k/2cpu a while back but
know is more expensive the good news is that MM is
willing to negotiate with you and probably you'll get
something that will work out well for you.

For short I'm afraid that you cannot run a flex app
without paying a runtime license fee... nice huh...
way to go JSF...

In my opinion the cost of the license might be a show
stopper for many small companies that want to
develop/deploy flex applications. In addition to the
license cost you need to consider some unpleasant
limitations this product has and see if for the money
you pay you get what you needwhich probably you
already did.

So, welcome to the dark side...
Michael

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

2005-05-04 Thread Michael Laudrup
Guys, don't get me wrong... Flex is a very
comprehensive library of components/effects and quite
new on the market... 

Things that bothered me over time are:
1. lack of  multilingual support out the box; although
you can find few implementations but I think flex as
UI framework should streamline this a little bit... .
Validator package is a perfect example... it doesn't
support  binded error messages.. 
2. not having support for BigDecimals; Flex uses ECMA
standards and as Javascript doesn't know how to handle
number is double precision
3. AS2 is not an OO language, and I'm thinking at
method overloading..., etc; 
4. 32k size limitation. Interfaces with lots of UI
elements& code can get out the blue this error The
solution is to refactor the code a little bit, but
there is no definitive reason why this is
happening
5. scalability issues - times to time when the apps is
under heavy load the browser crashes without any
reason... Probably a memory leak. Unfortunately, there
is no error message logged... that I can find to trace
this error.  If the application is open in the browser
and it isn't used for a good period of time it will
stop working in fact not sure if this is a bug or
just something that I haven't figured out yet

I won't finish before mentioning some things that I do
like about Flex:
1. this user group that is very helpful and people
advices are very helpful...
2. Cairngorm framework is awesome, and we are eagerly
expecting the .99 version or 1.0 release  
3. As I already mentioned, a library of components
that are very helpful ( in fact this is what you paid
for... )
--- Jim Schneider <[EMAIL PROTECTED]> wrote:
> I'm more interested in the "unpleasant limitations"
> of Flex. I can then
> weigh these against whatever price.
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Rick Bullotta
> Sent: Wednesday, May 04, 2005 10:26 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Questions, Questions
> 
>  
> 
> One last time:
> 
>  
> 
> If you are an ISV or OEM, call Macromedia to discuss
> your SPECIFIC
> application needs in terms of pricing.  They are
> very open to working
> creatively with partners in this aspect, but you'll
> never know unless you
> call.
> 
>  
> 
> - Rick
> 
>   _  
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Jim Schneider
> Sent: Wednesday, May 04, 2005 11:22 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Questions, Questions
> 
>  
> 
> Could you expand on/list these "unpleasant
> limitations"? I'm one of these
> small companies trying to decide whether Flex is
> "worth it".
> 
> Thanks,
> 
> Jim
> 
>  
> 
>   _  
> 
> Yahoo! Groups Links
> 
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
>   
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>

> 
>   
> * Your use of Yahoo! Groups is subject to the Yahoo!
> Terms
>   of Service. 
> 
> 



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 


 
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] Michael H Merchant is out of the office.

2005-12-16 Thread Michael . H . Merchant
I will be out of the office starting  12/16/2005 and will not return until
12/19/2005.

I will respond to your message when I return.




 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

--
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] Installing Flex on windows

2006-01-06 Thread John Michael Barrett
If this gets listed twice I am sorry:
-
Hi,
I just joined this group`-`
I am using Coldfusion MX 7 on the Mac, and I love
flash forms,and so I thought I would try 
flex. I downloaded Flex 1.5 & flex builder on
wondows(I wish it was on the mac, but I guess I 
will have to play with flex at work no mac version:(
), and I think that the port should be 
8700, but I had no luck.

Once I create an application with flex, how can I view
it on my local server?
With coldfusion, I just view at:
http://localhost:8500,and so I thought that:
http://localhost:8700 would work, but when I looked at
macromedia it says that it should be:
http://localhost:8700/flex-->no luck

Is there anything that I did wrong with the download?
I picked the full(none jrun) option, as I 
figured I have jrun with coldfusion, and that I did
not need 2 versions. Do I need jrun for flex 
to work?

Thank you so much for any help that anybody could
provide,
John


  
 



  





__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.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/
 




RE: [flexcoders] Installing Flex, Please Help

2006-01-06 Thread John Michael Barrett



Hi,Thank you so much for getting back to me, as I felt a little lost whileat work. I will look into this tomorrow, as I really am excited about trying flex, it seems like you can do much more with it than flash forms`-`Thanks so much, and I will let you know how it worked out`-`JohnJo�o Fernandes <[EMAIL PROTECTED]> wrote:   John,  take a look here how to set up CFMX7 + Flex under the same  CFInstance http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=177 .   Regards,    Jo�o Fernandes Sec��o de Desenvolvimento Departamento de Inform�tica     From: flexcoders@yahoogroups.com  [mailto:[EMAIL PROTECTED] On Behalf Of John  BarrettSent: sexta-feira, 6 de Janeiro de 2006 9:55To:  flexcoders@yahoogroups.comSubject: [flexcoders] Installing Flex,  Please Help
 Hi,I just joined this group`-`I am using Coldfusion MX 7  on the Mac, and I love flash forms,and so I thought I would try flex. I  downloaded Flex 1.5 & flex builder on wondows(I wish it was on the mac, but  I guess I will have to play with flex at work no mac version:( ), and I  think that the port should be 8700, but I had no luck.Once I create  an application with flex, how can I view it on my local server?With  coldfusion, I just view at:http://localhost:8500,and so I thought  that:http://localhost:8700 would work,  but when I looked at macromedia it says that it should be:http://localhost:8700/flex-->no  luckIs there anything that I did wrong with the download? I picked the  full(none jrun) option, as I figured I have jrun with coldfusion, and that I  did not need 2 versions. Do I
 need jrun for flex to work?Thank you  so much for any help that anybody could provide,John 



  
 





 
 
 
 
 
 
	
		Yahoo! Photos 
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.





--
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] Installing Flex on windows

2006-01-13 Thread John Michael Barrett



Hi Tracy,Thank you so much`-`I un installed the other version that I had, and installed the one with the "Integrated JRun4". It now works, I was able to view the examples,and was very impressed with flex so far, It seems like flex will make working with flash forms much easier, which what I am after. I am very new to this, and just want to play with it, and to start out small and then grow from there. This is going to be fun`-`Thank you so much for your help, as I am not sure if I would have figured out what was wrong`-`JohnTracy Spratt <[EMAIL PROTECTED]> wrote: Yes. Flex is a J2EE application, so it must run under some servlet container.  If you are not a J2EE guy, and don't want to become one yet, install flex using the "Integrated JRun" option.  This will give you a working Flex installation immediately.  Your access urls will be: http://localhost:8700/flex/myApp/myAppMain.mxml http://localhost:8700/samples  If/when you find you want to serve Flex from IIS, you must move to some full web server, since the integrated JRun does not support the necessary connectors.  I have come to like Tomcat as my servlet container.  It is free, fairly
 easy to set up, and seems extremely stable.  Be aware that when the Flex trial expires, it reverts to a perpetual developers license, with restricted IP access.    Flex builder does not, but will simply stop working.  You might be able to get an extension from MM.  If you can use Eclipse, you are positioning yourself well for Flex Builder 2.0 which is built on Eclipse.  Below is a list of good resources. Tracy  Flex sites/blogs: http://www.cflex.net/showfaq.cfm?Object=faq&channelID=1&faqtype=&default fields=&defaultValues= http://www.cflex.net/ http://www.flexauthority.com/ http://weblogs.macromedia.com/mxna/ http://www.flexdaddy.info/ http://www.clinttredway.com/blog/ http://www.richinternet.de/blog/ http://www.everythingflex.com  Flex style Explorer: http://www.markme.com/mc/archives/FlexStyleExplorer.html  Documentation: http://livedocs.macromedia.com/flex/15/asdocs_en/index.html http://www.macromedia.com/go/flex15_java_livedocs http://www.macromedia.com/cfusion/knowledgebase/index.cfm  Lists: http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?catid=3 46 http://groups.yahoo.com/group/flexcoders/  Bugs/enhancement requests: http://www.macromedia.com/support/email/wishform/-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Michael Barrett Sent: Friday, January 06, 2006 5:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Installing Flex on windows  If this gets listed twice I am sorry: - Hi, I just joined this group`-` I am using Coldfusion MX 7 on the Mac, and I love flash forms,and so I thought I would try  flex. I downloaded Flex 1.5 & flex builder on wondows(I
 wish it was on the mac, but I guess I  will have to play with flex at work no mac version:( ), and I think that the port should be  8700, but I had no luck.  Once I create an application with flex, how can I view it on my local server? With coldfusion, I just view at: http://localhost:8500,and so I thought that: http://localhost:8700 would work, but when I looked at macromedia it says that it should be: http://localhost:8700/flex-->no luck  Is there anything that I did wrong with the download? I picked the full(none jrun) option, as I  figured I have jrun with coldfusion, and that I did not need 2 versions. Do I need jrun for flex  to work?  Thank you so much for any help that anybody could provide, John        
       __  Yahoo! DSL - Something to write home about.  Just $16.99/mo. or less.  dsl.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



  
 





 
 
 
 
 
 
	
		Yahoo! Photos 
Got holiday prints? See all the ways to get quality prints in your hands ASAP.





--
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] Have you seen this component

2005-05-14 Thread Michael van Leest
I've seen something like this in an car configurator application 
(Citroen). It's build by Clockworks (The Netherlands) but I think one of 
the programmers is here in the list as well.
His name is Owen van Dijk (http://www.owenvandijk.nl) contact him, maybe 
he can help you out with this.

Good Luck, Michael

Ben Elmore wrote:

>All.
>
>This isn't a milk carton bulletin, just checking to see if any of you have
>seen a tab navigator when the tabs arranged vertically on the left side
>(buttons sifted 90 degrees). I have a need for this and wanted to avoid
>building it myself if I could help it.
>
>Thanks.
>
>Ben
>
>
>--
>
>This e-mail and any attachments may contain information which is
>confidential, proprietary, privileged or otherwise protected by law. The
>information is solely intended for the named addressee (or a person
>responsible for delivering it to the addressee). If you are not the intended
>recipient of this message, you are not authorized to read, print, retain,
>copy or disseminate this message or any part of it. If you have received
>this e-mail in error, please notify the sender immediately by return e-mail
>and delete it from your computer.
> 
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>  
>



 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Coolest Flex Site Ever!

2005-02-22 Thread Michael van Leest
Looks nice, but did you have a specific reason to use Flex instead of 
just Flash??
Because it looks like it could have been done with Flash a lot "easier" 
then to do all this with flex???

But anyway looks great, Michael
sfalien wrote:
Want to see something totally different made with Flex and uses almost 100% custom built 
components, with really tight interation with Flash? Check out my new site that I built 
(with some help from Macromedia) for Macy's Juniors Brand called This Is IT. 

http://www.thisit.com
Enjoy!


Yahoo! Groups Links









Re: [flexcoders] Re: Coolest Flex Site Ever!

2005-02-22 Thread Michael van Leest




Ok that's explains a lot more... If it's a continues work in progress,
then at the end Flex would be the way to go...
But without the keep in mind points, it looked ike Flex was just a
overdone choice.

But anyway, it's the "best looking" flex app on this moment indeed!

Michael

chris colinsky wrote:


actually this site is driven by web services, which are feed data through a custom built 
content management system that plugs into existing systems and an asset aquisition 
pipeline. also this site was designed so that it could be skinned with new graphics and 
interaction every couple of months. It's current theme is Celebrity, next will be somehting 
for the summer and back to school. This is the primary reason that we used Flex for the 
framework on this project. 

Keep in mind when going through this site:
- it's for teenagers
- it's a work in progress
- eventually it will have a checkout and way more stuff to buy. this is only the first 
itteration and is not just a disposable site.

sfalien

--- In flexcoders@yahoogroups.com, "sfalien" <[EMAIL PROTECTED]> wrote:


Want to see something totally different made with Flex and uses almost 100% custom 


built 


components, with really tight interation with Flash? Check out my new site that I built 
(with some help from Macromedia) for Macy's Juniors Brand called This Is IT. 

http://www.thisit.com

Enjoy!








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/













Coldfusion Flash Forms Problem

2005-02-23 Thread Michael van Leest
Any developers here that make CF Flash Forms??
If so, can anyone help me with a Flash Form problem (sort of MXML)
The case (I'm writing a demo):
I have a DataGrid that contains a empty query (size, toppings, price). 
But if I click on a button it needs to add a row with the selected settings.
Example:
Medium pizza (Radio buttons), with 3 toppings (Multi select list). If 
the user clicks the addPizza button, it needs to get the type of pizza, 
and all the selected toppings and add this to the DataGrid. Can anyone 
give me an example how this is done in MXML? Because I think I need to 
use AS and/or mxml in my onclick event, but don't know where to start.

Any feedback is welcome!




Re: [flexcoders] Can Flex do this?

2005-02-17 Thread Michael van Leest




Hi,

You'll need Flash to create this kind of application. Flex is more an
"Enterprise Application" front-end. 
This is the shortest version of telling about flex  :-D ...

Michael

Kim Reddington wrote:


Message


I
am new to Flex and am trying to get a feel for the capabilities of
Flex.  GE has created a drawing tool that I know they utilized Flash to
create.  You can view this great tool at http://www.imaginationcubed.com. 
I am wondering if Flex has the capabilities to create something
similar, or if you would need to create the tool in Flash and embed the
Flash tool into a Flex application?
 
Thank you.










Re: [flexcoders] A nearly complete click-and-hold menu!

2005-01-31 Thread Michael van Leest
Nicely done!
Seth Voltz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ladies and Gentlemen,
May I present to you a click and hold contextual menu package Beta 1
http://designgods.net/misc_stuff/flex/popMenu.mxml.swf
Some things to note:
* Operation - click and hold anywhere in the application. I have mapped 
sample menus for everything. The code is such that if there is no menu 
mapped somewhere it will not try to display one.
* Try and get a context menu while clicking and holding over the push 
button - It doesn't work? I think it's something in the menu controls 
but I haven't tested it thoroughly.
* Clicking and dragging will still pop up a menu... I'm going to work 
on a fix at my next convenience... any hints as to an elegant solution 
would be appreciated as I just noticed it tonight.
* Sometimes clicking and then quickly clicking somewhere else causes 
the menu code to fail. Not sure why.
* Source code will be available later on... I still feel I have a lot 
of work to do before I'm willing to publish it (at the very least a ton 
of documentation needs to be put in. I'm thinking of trying NaturalDocs 
on it.)

Okay... please give me your feedback, bug reports, etc... I'm looking 
to make this a solid package for open release.

Thanks,
Seth
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFB/cjDsnBTlzgQQ28RAsi+AJ0W1l7X3/DeyV6pviY5aWL4neaZ6wCfYjh0
PwPds2idc892/q05sIs4o2U=
=bmUy
-END PGP SIGNATURE-

Yahoo! Groups Links









  1   2   >