Re: [flexcoders] Re: export to excel

2006-10-31 Thread Jonas Windey
Title: Re: [flexcoders] Re: export to excel





What book is that exact?

Thanks


On 10/31/06 3:46 PM, Anatole Tartakovsky [EMAIL PROTECTED] wrote:

 




Ziyad,
There is a chapter in the Flex 2.0 book on external communications - three of the examples show different ways to export datagrid to excel
Two client - centric approaches are : 
1. To use office web component - do Externalinterface to IE browser, and _javascript_ to OfficeWeb component embedded in HTML
2. download Excel file with embedded flash player and use LocalConnection for 2-way communications

HTH,
Anatole


On 10/20/06, Ziyad MADERBOCUS [EMAIL PROTECTED] wrote: 


Hello 
Could u plz tell me if u were able to do it? 
Coz im facing the same prob n I duno how to export data from flex datagrid to an excel sheet  

Thnx in advance 




 

Ziyaad Maderbocus 
I.T. Programmer 
Superfund Asset Management  
Office 112 
Grand Bay Business Park 
Geranium Road  
Grand Bay 
Tel: (230) 209 8073 
Cell: (230) 496 96 87  
Fax: (230) 263 1919 








__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





[flexcoders] Flex 2 beta on Mac: problem with webservices

2006-10-30 Thread Jonas Windey
Hi,

I'm having a strange problem when trying to build my project on a Mac.
I'm using DataServices.as if anyone is familiar with it..

Anyway, the problem comes when I try to pass arguments to the webservice.
Without arguments, all data is received, but when I send args I get a HTTP
error:

var op:Operation = ws[methodName];
ws.addEventListener(result,onResult);

ws.addEventListener(fault,onFault);
if(args) op.arguments = args;

op.resultFormat = e4x;
op.send();

On windows this is working great, but when I compile it and run it on mac,
this is the error:

mx.messaging.messages.ErrorMessage (@178634c1)
Error: [IOErrorEvent type=ioError bubbles=false cancelable=false
eventPhase=2 text=Error #2032: Stream Error. URL:
http://labs.pixco.com/medtronicWS/login/loginRegistration.asmx;]. URL:
http://labs.pixco.com/medtronicWS/login/loginRegistration.asmx

Anyone with a clue?
I'm sure this is a bug, since compiling this in windows works flawless.

Thanks,
Jonas





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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Version check for IE7 not working anymore

2006-10-20 Thread Jonas Windey
Hi,

I just upgraded to IE 7 final, and I'm getting the Alternate HTML content
should be placed here. This content requires the Adobe Flash Player. Get
Flash message when I open my app.
Anyone with a quick fix? I got fp9.0 installed

Thanks,
Jonas




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Custom validator example from Help not working?

2006-10-19 Thread Jonas Windey
Hi,

I need to validate multiple fields, and I saw the help contained an example
for validating multiple fields.

You can find it in Help  Creating and Extending Flex 2 Components 
Creating Nonvisual Flex Components  Creating Custom Validators, 
Under Example: Validating multiple fields

In the example they say you can use the subfield attribute to the
ValidationResult.
Now the problem is, this isn't working at all. It still validates the 3
input fields, but it always sets the errormessage to the first field (even
though they say in the example This inclusion permits Flex to identify the
input component that caused the error, and to highlight that component in
the application.

Anyone got a clue? What I need to do is, I have 3 fields, and at least one
of the 3 needs to be filled in. If none are filled in, all 3 fields need to
display an errormessage.

Thanks.

Jonas





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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] .visible = false still keeps element's width height?

2006-10-19 Thread Jonas Windey
Hi,

I have 3 buttons in a HBox, and in some cases I need to hide one of them.
The problem is, if I hide them, they still keep their original width and
there's a gap. Is there a clean solution for this? I was thinking of setting
it's width to 0 but that's not very clean.

Thanks!
Jonas




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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Listen to changes of a bindable variable

2006-10-17 Thread Jonas Windey










Hi,



Were using the riawave pattern (lightweight version
of cairngorm), and Im trying to listen to changes to our ModelLocator.



When I use a textfield that contains a direct reference to
our model, everything is working fine:



mycomp text= {model.currentUser.name}
/ ..



Now I need to have a function that gets triggered when our
model changes



We tried something like
model.addEventListener(FlexEvent.DATA_CHANGE); but that gave no success.

Anyone know which event is being dispatched when a binded
variable changes? Or is it not accessible?



The only other solution I see is using a getter and setter
for every variable in our modellocator, and in the setter we could dispatch an
event, but I want a cleaner solution.



Thanks for the tips!




 
  
  
  
  
  Jonas Windey
  Web Developer
  T. +32 3 216 86 47
  
  Pixco Interactive Division
  T. +32 3 216 86 40
  F. +32 3 216 86 49
  
  http://www.pixco.com
  
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





RE: [flexcoders] Listen to changes of a bindable variable

2006-10-17 Thread Jonas Windey










Thanks man, that did the trick!











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dima Ulich
Sent: dinsdag 17 oktober 2006
14:54
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Listen
to changes of a bindable variable









Use Paul William's solution.





It helps me alot.











check it here http://weblogs.macromedia.com/paulw/





hope it helps











Street





- Original Message

From: Jonas Windey [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, October 17, 2006 4:39:01 PM
Subject: [flexcoders] Listen to changes of a bindable variable



Hi,



Were using the riawave pattern (lightweight version of
cairngorm), and Im trying to listen to changes to our ModelLocator.



When I use a textfield that contains a direct reference to
our model, everything is working fine:



mycomp text= {model.currentUser.name} / ..



Now I need to have a function that gets triggered when our
model changes



We tried something like
model.addEventListener(FlexEvent.DATA_CHANGE); but that gave no success.

Anyone know which event is being dispatched when a binded
variable changes? Or is it not accessible?



The only other solution I see is using a getter and setter
for every variable in our modellocator, and in the setter we could dispatch an
event, but I want a cleaner solution.



Thanks for the tips!




 
  
  
  
  
  Jonas Windey
  Web Developer
  T. +32 3 216 86 47
  
  Pixco Interactive Division
  T. +32 3 216 86 40
  F. +32 3 216 86 49
  
  http://www.pixco.com
  
 


















__ NOD32 1.1805 (20061016) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





RE: [flexcoders] Auto-expand Treenodes

2006-09-27 Thread Jonas Windey












public function expandTree():void

{

treeTest.selectedIndex =
0;

treeTest.expandChildrenOf(treeTest.selectedItem
, true);

}



Remember to call this function after a
validateNow(), so in my case its:



treeTest.dataProvider = treeData;

treeTest.validateNow();

 

expandTree();



Hope this works for you,

Jonas











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sascha
Sent: woensdag 27 september 2006
14:03
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Auto-expand
Treenodes











I know this had been brought up before and I found
some stuff on it in the
archive but it doesn't work for me... I want to auto-expand a Tree when it
is displayed ...

objectTree.expandChildrenOf(objectTree.dataProvider[0],
true);

gives me a Cannot access a property or method of a null object
reference.

myTree.selectedItem = myTree.dataProvider.getItemAt(0); //Mailbox
node
myTree.expandChildrenOf(myTree.selectedItem, true);

also doesn't work.

objectTree.selectedIndex = 0;
objectTree.expandChildrenOf(objectTree.selectedItem, true);

Selects the first item but doesn't expand it.

What can I do to expand the tree? Any info on this would be appreciated!

Sascha




__ NOD32 1.1776 (20060926) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Client-side save as functionality

2006-09-25 Thread Jonas Windey










Hi,



This is a sort of a re-post but Im gonna give it
another try. Does anyone know how you can save to a file without passing to a
server?

Like I have a string with some text in it, and I want to let
the user save this text to a file. I think in the timesheet sample application,
it had a save to xls that worked without passing to a server.



The goal is to import xml data to a datagrid, but still
provide a save to excel functionality, without re-requesting the data from the
server (since the xml data is already retrieved, and I would just need to save
this xml data as an xls sheet)



Thanks!




 
  
  
  
  
  Jonas Windey
  Web Developer
  T. +32 3 216 86 47
  
  Pixco Interactive Division
  T. +32 3 216 86 40
  F. +32 3 216 86 49
  
  http://www.pixco.com
  
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





RE: [flexcoders] Client-side save as functionality

2006-09-25 Thread Jonas Windey












Yea, I wouldnt want to write
directly to the disk, but Id give a file-save as dialog (normal browser
behavior)



Ill check the FileReference class,
tx for the tip.



Jonas











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of EECOLOR
Sent: maandag 25 september 2006
10:19
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Client-side save as functionality













Hello,











As far as i know you cant save to the local disk. Flash does not have
permissions for that. The only way is to initialize a download command using
the FileReference class.

















Greetz Erik
























__ NOD32 1.1772 (20060924) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Flex swf caching

2006-09-20 Thread Jonas Windey










Hi,



What is the best way to ensure that, when uploading a new
version of our project to the server, the client gets a new version of the swf
file the next time he refreshes his browser?

To ensure that you have the latest version, we have to say
that they should clear their browsers cache and refresh, but were
looking for a cleaner way to solve this. 

I was thinking in terms of a build version in flex, that
gets appended to the swf, so main.swf?build=3129 , to ensure the client has the
newest version. 



Thanks




 
  
  
  
  
  Jonas Windey
  Web Developer
  T. +32 3 216 86 47
  
  Pixco Interactive Division
  T. +32 3 216 86 40
  F. +32 3 216 86 49
  
  http://www.pixco.com
  
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





RE: [flexcoders] Flex - Database

2006-09-18 Thread Jonas Windey
Has anyone actually tried executing an SQL 2005 XML Webservice directly in
Flex 2? I have setup an example but I always get the following error in flex
when calling a webservice method:

faultCode:DecodingError faultString:'Error #1009: Cannot access a property
or method of a null object reference.' faultDetail:'null'

I can test the Webservice with XMLSpy, send a SOAP request and read it
without problems. So my guess is flex can't handle the sort of decoding it's
using. 

Here's the envelope I'm sending (it's the same as calling the webservice
operation GetProductById in Flex:

SOAP-ENV:Envelope
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
SOAP-ENV:Body
m:GetProductByID xmlns:m=http://Adventure-Works/Products;
m:ProductID-0/m:ProductID
/m:GetProductByID
/SOAP-ENV:Body
/SOAP-ENV:Envelope

And this is the resulting xml

http://212.100.188.156/formulaOne/wsResult.xml

Apparently flex is having a problem decoding the resulting XML

Anyone with a tip?

Jonas


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Andrews
Sent: vrijdag 15 september 2006 11:31
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex - Database

That's true, but there would be nothing to stop anyone building a data
access layer using actionscript that was separate to the view logic.
Currently the view logic will use FDS, or a web service/whatever to get the
data for the view, there's no logical reason why the fuctionality that
typically lives on the server couldn't reside in actionscript classes and
still retain independence from the view.

It's a separate argument whether you want that processing for performance
reasons to take place on the client or the server, but in terms of logically
separating layers there's no reason not to do that and have a very slim
database/persistence layer sitting on the server rather the full access
layer.

In essence, it's good that the current Flex facilities (almost) enforce the
separation, but even without that separation you can be a good developer and
not compromise the architecture.

Maybe I'll get flamed for this..

Paul
- Original Message - 
From: Tom Chiverton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, September 15, 2006 10:15 AM
Subject: Re: [flexcoders] Flex - Database


 On Thursday 14 September 2006 16:02, Tracy Spratt wrote:
  If this functionality is the same as the SQLXML functionality I played
  with a year or so ago, SQL Server provides an url against which you can
  make SQL queries.

 Handy, but you really shouldn't be using it.
 The temptation then will be to keep your data access layer mixed up with
the
 view.
 Eww.

 -- 
 Tom Chiverton
 Helping to vitalistically leverage bricks-and-clicks e-services

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office address
is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.



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














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






 






__ NOD32 1.1756 (20060914) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:

RE: [flexcoders] Flex - Database

2006-09-18 Thread Jonas Windey
Has anyone actually tried executing an SQL 2005 XML Webservice directly in
Flex 2? I have setup an example but I always get the following error in flex
when calling a webservice method:

faultCode:DecodingError faultString:'Error #1009: Cannot access a property
or method of a null object reference.' faultDetail:'null'

I can test the Webservice with XMLSpy, send a SOAP request and read it
without problems. So my guess is flex can't handle the sort of decoding it's
using. 

Here's the envelope I'm sending (it's the same as calling the webservice
operation GetProductById in Flex:

SOAP-ENV:Envelope
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
SOAP-ENV:Body
m:GetProductByID xmlns:m=http://Adventure-Works/Products;
m:ProductID-0/m:ProductID
/m:GetProductByID
/SOAP-ENV:Body
/SOAP-ENV:Envelope

And this is the resulting xml

http://212.100.188.156/formulaOne/wsResult.xml

Apparently flex is having a problem decoding the resulting XML

Anyone with a tip?

Jonas


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Andrews
Sent: vrijdag 15 september 2006 11:31
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex - Database

That's true, but there would be nothing to stop anyone building a data
access layer using actionscript that was separate to the view logic.
Currently the view logic will use FDS, or a web service/whatever to get the
data for the view, there's no logical reason why the fuctionality that
typically lives on the server couldn't reside in actionscript classes and
still retain independence from the view.

It's a separate argument whether you want that processing for performance
reasons to take place on the client or the server, but in terms of logically
separating layers there's no reason not to do that and have a very slim
database/persistence layer sitting on the server rather the full access
layer.

In essence, it's good that the current Flex facilities (almost) enforce the
separation, but even without that separation you can be a good developer and
not compromise the architecture.

Maybe I'll get flamed for this..

Paul
- Original Message -
From: Tom Chiverton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, September 15, 2006 10:15 AM
Subject: Re: [flexcoders] Flex - Database


 On Thursday 14 September 2006 16:02, Tracy Spratt wrote:
  If this functionality is the same as the SQLXML functionality I played
  with a year or so ago, SQL Server provides an url against which you can
  make SQL queries.

 Handy, but you really shouldn't be using it.
 The temptation then will be to keep your data access layer mixed up with
the
 view.
 Eww.

 -- 
 Tom Chiverton
 Helping to vitalistically leverage bricks-and-clicks e-services

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office address
is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.



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














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






 






__ NOD32 1.1756 (20060914) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Andrews
Sent: vrijdag 15 september 2006 13:50
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex - Database

Ah, OK now we're talking about the security of a Flex/Flash app, and I take
your point. Is that always an issue on an intranet? perhaps not.
I guess that security is always going to 

[flexcoders] Double colon in flex

2006-09-13 Thread Jonas Windey










Hi,



Is there a use/possibility to use the double colon operator
( :: ) in Flex 2? Like in java, the namespace operator?

Anyone who could give me an example?



Thanks!




 
  
  
  
  
  Jonas Windey
  Web Developer
  T. +32 3 216 86 47
  
  Pixco Interactive Division
  T. +32 3 216 86 40
  F. +32 3 216 86 49
  
  http://www.pixco.com
  
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





[flexcoders] Flex dataservices: fill vs asynctoken

2006-08-09 Thread Jonas Windey










Hi,



Im new to flex dataservices (using WebORB), and I
like to know whats the difference between:



ds = new DataService(contact);

ds.fill(contacts);



and



ds = new DataService(contact);

var token:AsyncToken = AsyncToken(ds.fill(contacts));

token.kind = fill;



Thanks!

Jonas




 
  
  
  
  
  Jonas Windey
  Web Developer
  T. +32 3 216 86 47
  
  Pixco Interactive Division
  T. +32 3 216 86 40
  F. +32 3 216 86 49
  
  http://www.pixco.com
  
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Binding array to repeater

2006-08-03 Thread Jonas Windey










Hi,



I have a repeater with a thumbnail in it.



Code:



mx:Repeater id=rptGallery
dataProvider={arrMdta}

ui:thumb
imagePath={Mdta(rptGallery.currentItem).fileName} / 

/mx:Repeater 



In my script I have



[Bindable]

public var arrMdta:Array = [new
Mdta(assets/image001.jpg)];



So far so good, I see my image (inside my thumb component
theres an mx:image, nothing fancy



Now the harder part, I try to bind the repeater to the array
(as Im doing here, but when I change my array, it doesnt get
updated automatically.



In my applicationComplete, I call function init();



private function init():void

{

for(var i:Number = 1; i  100;
i++)

 {

var filePath:String
= assets/image;

 if(i.toString().length == 1)
filePath += 00; // just because images have filenames image001.jpg,
etc

 if(i.toString().length == 2)
filePath += 0;

 filePath += i.toString() +
.jpg;

 arrMdta.push(new Mdta(filePath));

}

}



This doesnt work, only when I put the following line:



rptGallery.dataProvider = arrMdta;



Why is it only working if I re-force the dataProvider? I
thought that was the point of binding my data?



Thanks for any help,

Jonas




 
  
  
  
  
  Jonas Windey
  Web Developer
  T. +32 3 216 86 47
  
  Pixco Interactive Division
  T. +32 3 216 86 40
  F. +32 3 216 86 49
  
  http://www.pixco.com
  
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [Junk E-Mail - MED] [flexcoders] Binding array to repeater

2006-08-03 Thread Jonas Windey












Hmm, nope. This is what I tried



import
mx.collections.ArrayCollection;

[Bindable]

public var arrMdta:Array = new Array();

private function init():void

{

 for(var
i:Number = 1; i  100; i++)

 {

 var
filePath:String = assets/image;

 if(i.toString().length
== 1) filePath += 00;

 if(i.toString().length
== 2) filePath += 0;

 filePath
+= i.toString() + .jpg;

 arrMdta.push(new
Mdta(filePath));

 }

}



And in mxml



mx:ArrayCollection
id=acGallery source={arrMdta} /



Repeater:



mx:Repeater id=rptGallery
dataProvider={acGallery}

ui:thumb
imagePath={rptGallery.currentItem.fileName} / 

/mx:Repeater 



No luck, now I dont have any items.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shannon Hicks
Sent: donderdag 3 augustus 2006
16:02
To: flexcoders@yahoogroups.com
Subject: RE: [Junk E-Mail - MED]
[flexcoders] Binding array to repeater











Close... that's the point of binding to an
ArrayCollection... make arrMdta into an ArrayCollection instead, and it'll
work great.



Shan









From:
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey
Sent: Thursday, August 03, 2006
8:42 AM
To: [EMAIL PROTECTED]ups.com
Subject: [Junk E-Mail - MED]
[flexcoders] Binding array to repeater





Hi,

I
have a repeater with a thumbnail in it.

Code:

mx:Repeater
id=rptGallery dataProvider={arrMdta}

ui:thumb
imagePath={Mdta(rptGallery.currentItem).fileName}
/


/mx:Repeater


In my
script I have

[Bindable]

public var
arrMdta:Array = [new Mdta(assets/image001.jpg)];

So
far so good, I see my image (inside my thumb component theres an
mx:image, nothing fancy

Now
the harder part, I try to bind the repeater to the array (as Im doing
here, but when I change my array, it doesnt get updated automatically.

In my
applicationComplete, I call function init();

private
function init():void

{

for(var
i:Number = 1; i  100; i++)


{

var
filePath:String = assets/image;


if(i.toString().length == 1) filePath += 00; // just because
images have filenames image001.jpg, etc


if(i.toString().length == 2) filePath += 0;


filePath += i.toString() + .jpg;


arrMdta.push(new Mdta(filePath));

}

}

This
doesnt work, only when I put the following line:

rptGallery.dataProvider
= arrMdta;

Why
is it only working if I re-force the dataProvider? I thought that was the point
of binding my data?

Thanks
for any help,

Jonas


 
  
  
  
  
  
  Jonas
  Windey
  Web
  Developer
  
  T. +32
  3 216 86 47
  
  Pixco
  Interactive Division
  
  T.
  +32 3 216 86 40
  
  F.
  +32 3 216 86 49
  
  http://www.pixco.com
  
 
 










--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/406 - Release Date: 8/2/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/406 - Release Date: 8/2/2006




__ NOD32 1.1690 (20060803) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [Junk E-Mail - MED] [flexcoders] Binding array to repeater

2006-08-03 Thread Jonas Windey












Hmm, I tried that too, but with
arrMdta.addItem() it hangs my browser. Seem I cant add objects to an
arraycollection, only arrays (and I dont want to create an array for
each item in it)



Thanks though











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Tredway
Sent: donderdag 3 augustus 2006
17:08
To: flexcoders@yahoogroups.com
Subject: Re: [Junk E-Mail - MED]
[flexcoders] Binding array to repeater











set this, arrMdta,
to a type of ArrayCollection not just an array.. 



On 8/3/06, Jonas
Windey [EMAIL PROTECTED]com
wrote:













Hmm, nope. This is what I
tried



import mx.collections.ArrayCollection;

[Bindable]

public var arrMdta:Array
= new Array();

private function
init():void

{


for(var i:Number = 1; i  100; i++)


{


var filePath:String = assets/image;


if(i.toString().length == 1) filePath += 00;


if(i.toString().length == 2) filePath += 0;


filePath += i.toString() + .jpg;


arrMdta.push(new Mdta(filePath));


}

}



And in mxml



mx:ArrayCollection id=acGallery
source={arrMdta} /



Repeater:



mx:Repeater
id=rptGallery dataProvider={acGallery}

ui:thumb
imagePath={rptGallery.currentItem.fileName}
/


/mx:Repeater 



No luck, now I don't have
any items.











From:
[EMAIL PROTECTED]ups.com
[mailto: flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks
Sent: donderdag 3 augustus 2006
16:02
To: [EMAIL PROTECTED]ups.com
Subject: RE: [Junk E-Mail - MED]
[flexcoders] Binding array to repeater











Close... that's the point
of binding to an ArrayCollection... make arrMdta into an ArrayCollection
instead, and it'll work great.



Shan









From:
[EMAIL PROTECTED]ups.com
[mailto: flexcoders@yahoogroups.com] On Behalf Of Jonas Windey
Sent: Thursday, August 03, 2006
8:42 AM
To: [EMAIL PROTECTED]ups.com
Subject: [Junk E-Mail - MED]
[flexcoders] Binding array to repeater





Hi,

I have a repeater with a thumbnail in it.

Code:

mx:Repeater id=rptGallery
dataProvider={arrMdta}

ui:thumb imagePath={Mdta(rptGallery.currentItem).fileName}
/


/mx:Repeater


In my script I have

[Bindable]

public var arrMdta:Array = [new
Mdta(assets/image001.jpg)];

So far so good, I see my image (inside my thumb
component there's an mx:image, nothing fancy

Now the harder part, I try to bind the repeater to
the array (as I'm doing here, but when I change my array, it doesn't get
updated automatically.

In my applicationComplete, I call function
init();

private function init():void

{

for(var i:Number = 1; i  100; i++)


{

var filePath:String = assets/image;


if(i.toString().length == 1) filePath += 00; // just because
images have filenames image001.jpg, etc


if(i.toString().length == 2) filePath += 0;


filePath += i.toString() + .jpg;


arrMdta.push(new Mdta(filePath));

}

}

This doesn't work, only when I put the following
line:

rptGallery.dataProvider = arrMdta;

Why is it only working if I re-force the dataProvider?
I thought that was the point of binding my data?

Thanks for any help,

Jonas


 
  
  
  
  
  Jonas
  Windey
  Web
  Developer
  T.
  +32 3 216 86 47
  Pixco Interactive Division
  T. +32 3 216 86 40
  F. +32 3 216 86 49
  http://www.pixco.com
  
 








--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/406 - Release Date: 8/2/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/406 - Release Date: 8/2/2006




__ NOD32 1.1690 (20060803) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com






















-- 
diabetic? http://www.diabetesforums.com
Albert Einstein - It's not that I'm so smart, it's just that I stay with
problems longer. 




__ NOD32 1.1690 (20060803) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] mx:Zoom not zooming dropshadows?

2006-07-28 Thread Jonas Windey










Hi,



I have a VBox with a custom borderSkin (taken from the help,
the CustomBorder example) where I want to apply a zoom effect to.

Now the problem is, if I zoom, it doesnt enlarge the
dropshadow that was set programmatically in the borderSkin.



Any tips to get that working?

Thanks,

Jonas




 
  
  
  
  
  Jonas Windey
  Web Developer
  T. +32 3 216 86 47
  
  Pixco Interactive Division
  T. +32 3 216 86 40
  F. +32 3 216 86 49
  
  http://www.pixco.com
  
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] Flex 2: How To Use Tree.expandItem()

2006-07-20 Thread Jonas Windey












Hi Colin,



expandItem doesnt expect a node in
your tree, but in your dataprovider



example:



myTree.expandItem(treeData.node[0],true,
false);



where treeData is the dataprovider (in
this case, an xml document)



Hope this helps,

Jonas













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Colin Wiseley
Sent: woensdag 19 juli 2006 23:48
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2: How
To Use Tree.expandItem()













Hi, how do I
use the Tree.expandItem() function? What is the item that I
pass to the function? An example would be much appreciated. Thanks!






__ NOD32 1.1668 (20060719) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Bind label to class attributes

2006-07-17 Thread Jonas Windey
Hi, I use the following code:

[Bindable]
public var currentUser:FtpUser;

In my titlewindow, I have:

title=User settings ({currentUser.name})

This is working perfect, I fill the currentUser from inside the caller of
the titlewindow, and it's setting the correct result.
However, I get a warning that Data binding will not be able to detect
assignments to name.
Any way to get rid of that? It's not that there's an error, it's just
annoying :-)

Thanks,
Jonas




 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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] Button mouseUpOutside?

2006-07-17 Thread Jonas Windey










Hi, 



I need to trigger a function when you release the mouse
button outside the button (e.g you click on it, drag outside the button, and
release the mouse)

Any way to catch that?



Jonas




__._,_.___





--
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] Tree drag drop: how to get node where item is dropped

2006-07-14 Thread Jonas Windey










Hi, 



I have a tree with drag  drop enabled. Now what is the
best way to find out where the current selected item is dropped?

Id need to know its parent (if its not on the
rootnode), and the position where its dropped inside that parent.



Or is there an easier way to find the position? Like
comparing the dataproviders before  after?



Thanks for the tips,

Jonas




__._,_.___





--
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] WebORB for .net beta5: feedback

2006-07-13 Thread Jonas Windey










Hi,



I just installed the WebORB beta5, but cant get the
sample running at http://localhost/weborb/examples/flex/contact/client-side/ContactManager.html

I set the permissions correct for the .mdb, I set the ASP.NET
version to 2.0, but I keep getting Send failed, at initialization
of the page.



Anyone who has got it working?




__._,_.___





--
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] WebORB for .net beta5: feedback

2006-07-13 Thread Jonas Windey










Ok, I forgot to read my mails last night. Apparantly Mark
Piler from themidnightcoders.com sent me a mail after noticing that I had
downloaded the beta 5 (which had just been released), writing the following:



A quick workaround is to
open web.config from /Inetpub/wwwroot/weborb and remove the following two
lines:



add assembly=vjslib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A/

add
assembly=BlueDragon, Version=6.2.1.0, Culture=neutral,
PublicKeyToken=7551335DE9FC3C36/



Please make sure that the
closing tags for assemblies and compilation stay in the file
(they are on the same line as the BlueDragon reference).



You can always check if
web.config is valid by opening the following URL:

http://localhost/weborb/examples/testsuite/client/testsuite.aspx



How nice is this? :-) I guess he must get a notification every
time someone downloads his product, and check if everything is working.



So, I got the Contact Manager sample working now, lets
play around a bit.



Jonas






__._,_.___





--
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: WebORB for .net beta5: feedback

2006-07-13 Thread Jonas Windey












Hi Tim,



Well, my first impression is that its
pretty complex, at least a lot more complex than just creating ASP.NET Web
services and calling them from flex.

Apparently you need to place all your remote
methods in xml config files. Etc. The tutorials from http://www.themidnightcoders.com/articles/datamanagement-part3.htm
help a lot, but its still a huge change, also in the way of thinking. (eg
updating data with the sync methods, changeobjects etc). Also you use a lot
more databinding, whereas with web services you just fill your datagrid or
treeview with the data you receive, and in the case of an update, you will
probably use a web service too to update the current row. Here you just omit your
changes to your dataService, and he handles all the rest.



I think the Flex + .NET + WebORB community
is pretty small at the moment though, so it would be nice of some gurus from
this list play a bit with it like Im doing right now.



Jonas











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
Sent: donderdag 13 juli 2006 11:32
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: WebORB
for .net beta5: feedback











Hey Jonas,

Please let us know what your impressions of WebORB are after you 
have had a chance to work with it a little. I'll be switching 
from .NET WebServices to RemoteObject soon, so I would love to hear 
about your experience.

Thanks,
Tim Hoff

--- In [EMAIL PROTECTED]ups.com,
Jonas Windey [EMAIL PROTECTED] wrote:

 Ok, I forgot to read my mails last night. Apparantly Mark Piler 
from
 themidnightcoders.com sent me a mail after noticing that I had 
downloaded
 the beta 5 (which had just been released), writing the following:
 
 
 
 A quick workaround is to open web.config 
from /Inetpub/wwwroot/weborb and
 remove the following two lines:
 
 
 
 add assembly=vjslib, Version=2.0.0.0, Culture=neutral,
 PublicKeyToken=B03F5F7F11D50A3A/
 
 add assembly=BlueDragon, Version=6.2.1.0,
Culture=neutral,
 PublicKeyToken=7551335DE9FC3C36/
 
 
 
 Please make sure that the closing tags for assemblies and 
compilation
 stay in the file (they are on the same line as the BlueDragon 
reference).
 
 
 
 You can always check if web.config is valid by opening the 
following URL:
 
 http://localhost/weborb/examples/testsuite/client/testsuite.aspx
 
 
 
 How nice is this? :-) I guess he must get a notification every 
time someone
 downloads his product, and check if everything is working.
 
 
 
 So, I got the Contact Manager sample working now, let's play 
around a bit.
 
 
 
 Jonas





__ NOD32 1.1656 (20060712) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: WebORB for .net beta5: feedback

2006-07-13 Thread Jonas Windey












Hi Mark,



Thanks for your explanations. We (our
team) are still not 100% sure what method is the best to follow. Ive
been following Flex2 since the alpha version, and due to our experience with
.NET (just regular websites with some Ajax),
we have chosen to go with a Web Services approach.

Not having any experience with Flash
remoting (before, we used Flash in combination with regular asp to provide xml
data to flash), this was the easiest way.



Can anyone give some pros and cons on some
ways of working with .NET and Flex? It seems there are 3 choices:

-
ASP.NET
Web Services

-
Flex
Remoting using WebORB

-
Flex
DataServices using WebORB



(dont mention FDS, since we are
running in a Windows environment using IIS, and some customers who dislike
Java)



The projects we work on are mainly Media
Asset Management tools, together with admin. Our database is MS SQL 2005, using
stored procedures.

Sidenote: were using asp.net 2.0.



All tips are welcome!



Jonas











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of mpiller
Sent: donderdag 13 juli 2006 15:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: WebORB
for .net beta5: feedback











Hi Jonas,

I just want to clarify a few things to help avoid possible confusion.

If you're doing Flex remoting (ie invoke .NET objects from Flex using
RemoteObject), you do not need to do anything special at all - no need
for special method attributes, no need to register methods in xml
files - just drop your assembly into /bin folder and register a
destination in remoting-config.xml and you are done.

However if you're doing data management using mx.data.DataService on
the client side, then you need to register your data assembler methods
in data-management-config.xml. Normally you would have one or more
methods to do 'fills' and just one method to do 'syncs'. This will be
optional in Beta6 as we will be publishing an interface that your data
assembler class can implement.

Hope this helps.

cheers,
Mark

--- In [EMAIL PROTECTED]ups.com,
Jonas Windey [EMAIL PROTECTED] wrote:

 Hi Tim,
 
 
 
 Well, my first impression is that it's pretty complex, at least a
lot more
 complex than just creating ASP.NET Web services and calling them
from flex.
 
 Apparently you need to place all your remote methods in xml config
files.
 Etc. The tutorials from
 http://www.themidnightcoders.com/articles/datamanagement-part3.htm
help a
 lot, but it's still a huge change, also in the way of thinking. (eg
updating
 data with the sync methods, changeobjects etc). Also you use a lot more
 databinding, whereas with web services you just fill your datagrid or
 treeview with the data you receive, and in the case of an update,
you will
 probably use a web service too to update the current row. Here you
just omit
 your changes to your dataService, and he handles all the rest.
 
 
 
 I think the Flex + .NET + WebORB community is pretty small at the moment
 though, so it would be nice of some gurus from this list play a bit
with it
 like I'm doing right now.
 
 
 
 Jonas
 
 
 
 _ 
 
 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of Tim Hoff
 Sent: donderdag 13 juli 2006 11:32
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] Re: WebORB for .net beta5: feedback
 
 
 
 Hey Jonas,
 
 Please let us know what your impressions of WebORB are after you 
 have had a chance to work with it a little. I'll be switching 
 from .NET WebServices to RemoteObject soon, so I would love to hear 
 about your experience.
 
 Thanks,
 Tim Hoff
 
 --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com,
 Jonas Windey jonas@ wrote:
 
  Ok, I forgot to read my mails last night. Apparantly Mark Piler 
 from
  themidnightcoders.com sent me a mail after noticing that I had 
 downloaded
  the beta 5 (which had just been released), writing the following:
  
  
  
  A quick workaround is to open web.config 
 from /Inetpub/wwwroot/weborb and
  remove the following two lines:
  
  
  
  add assembly=vjslib, Version=2.0.0.0, Culture=neutral,
  PublicKeyToken=B03F5F7F11D50A3A/
  
  add assembly=BlueDragon, Version=6.2.1.0,
Culture=neutral,
  PublicKeyToken=7551335DE9FC3C36/
  
  
  
  Please make sure that the closing tags for assemblies and 
 compilation
  stay in the file (they are on the same line as the BlueDragon 
 reference).
  
  
  
  You can always check if web.config is valid by opening the 
 following URL:
  
  http://localhost/
 http://localhost/weborb/examples/testsuite/client/testsuite.aspx
 weborb/examples/testsuite/client/testsuite.aspx
  
  
  
  How nice is this? :-) I guess he must get a notification every 
 time someone
  downloads his product, and check if everything is working.
  
  
  
  So, I got the Contact Manager sample working now, let's play 
 around a bit.
  
  
  
  Jonas
 
 
 
 
 __ NOD32 1.1656 (20060712) Information __
 
 This message was checked by NOD32 antivirus

RE: [flexcoders] Explorer-like drag drop tree

2006-07-12 Thread Jonas Windey












Cool, cant wait. Ive now
gotten so far that I can drag items on every node, but the only thing I need to
force now is that if you drag an item on a node on the last level, it needs to
be open for flex to allow dropping on it.

For now Ill just open every node in
my tree in the initial state. That way at least its working. 



Now give me your sample ;-)



Jonas

Lol - Jason, were
anagrammable











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason Hawryluk
Sent: dinsdag 11 juli 2006 23:55
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Explorer-like drag  drop tree













I'm at home, and it's late, but i'll put
together a sample, and post it when i get back to work ;)











Jason











-Message d'origine-
De: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]De la part de Pat Buchanan
Envoyé: mardi 11 juillet
2006 22:58
À: flexcoders@yahoogroups.com
Objet: Re: [flexcoders]
Explorer-like drag  drop tree





Jason:











Do you have an example of this for us current/future newbies?











Thanks!







On 7/11/06, Jason
Hawryluk [EMAIL PROTECTED]
wrote: 













What I do is on dragover
after a set time when over the folderi open it. The user is then free to
drag into the folder.











If you want i can give
you more details, if you think this would help solve your problem.











jason























-Message
d'origine-
De: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]De la part de Jonas Windey
Envoyé: mardi 11 juillet
2006 15:59 
À: flexcoders@yahoogroups.com
Objet: RE: [flexcoders]
Explorer-like drag  drop tree 









Yea, go figure that every
directory contains a dummy leaf. Wouldn't really
be explorer-like wouldn't it :-)

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of Tom Chiverton
Sent: dinsdag 11 juli 2006 15:33
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Explorer-like drag  drop tree 

On Tuesday 11 July 2006 12:36, Jonas Windey wrote:
 Since the directories in the deepest level won't ever have an open node,
 this is impossible.

If it really is the case that it needs an open node, just add a dummy child 
node.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales
under registered number OC307980 whose registered office address is at
St James's Court Brown Street
 Manchester M2 2JF.
A list of members is
available for inspection at the registered office. Any reference to a 
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may
be confidential or legally privileged. If you are not the addressee you 
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents. If you have received this email in error please 
delete it and notify Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.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

__ NOD32 1.1653 (20060711) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com
























__ NOD32 1.1654 (20060711) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Explorer-like drag drop tree

2006-07-11 Thread Jonas Windey










Im trying to create a folder-manager in flex that
allows a user to move, create and delete folders.

The folderstructure gets sent to the client in xml format,
like this:



root

 folder label=ftproot

 folder label=subfolder1
/

 folder label=subfolder2
/

 /folder

 folder label=ftproot2 /

/root



Etc.



This is all working well, I get a treeview, and with some
custom icons it looks exactly like the explorer in windows. 

The problem arrives when folders are seen as leafs instead
of nodes (like every deepest folder for instance, is seen as a leaf)



To enable true drag  drop, every node, also the leafs,
should act as a node. In explorer for instance, if you drag a folder on another
folder, it is automatically seen as a subfolder.

Since Flex doesnt allow items to be dragged onto a
leaf, Im having a problem here. Once every folder is on the root node
for instance, its impossible to move any folder onto another folder.



Anyone with a suggestion? I suppose Ill have to
create a custom itemrenderer and force every item so it thinks it
has childnodes, but maybe someone could give me a good direction here.



Thanks




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] image upload with flex 1.5

2006-07-11 Thread Jonas Windey












http://www.adobe.com/devnet/flex/articles/fp8_features.html
?











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of oiland_barry
Sent: dinsdag 11 juli 2006 11:36
To: flexcoders@yahoogroups.com
Subject: [flexcoders] image upload
with flex 1.5











Hi all, i need to get an image upload app working
ASAP. Im using Flex
1.5 but all the posts i find on the net dont seem to be getting me any
closer to starting, never mind getting the app completed!

Hope someone will have some help.

Barry




__ NOD32 1.1652 (20060710) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Explorer-like drag drop tree

2006-07-11 Thread Jonas Windey












Yea so I had gotten so far already. The
problem is, I cant spend another day trying and experimenting, since
time is running out.

Until then, I guess Ill play a bit
further.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Lu
Sent: dinsdag 11 juli 2006 13:04
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Explorer-like drag  drop tree












custom item renderer is the way to go.





On 7/11/06, Jonas
Windey [EMAIL PROTECTED]
wrote:













I'm trying to create a folder-manager in flex that allows
a user to move, create and delete folders.

The folderstructure gets sent to the client in xml
format, like this:



root


folder label=ftproot


folder label=subfolder1 /


folder label=subfolder2 /


/folder


folder label=ftproot2 /

/root



Etc.



This is all working well, I get a treeview, and with
some custom icons it looks exactly like the explorer in windows. 

The problem arrives when folders are seen as leafs
instead of nodes (like every deepest folder for instance, is seen as a leaf)



To enable true drag  drop, every node, also the
leafs, should act as a node. In explorer for instance, if you drag a folder on
another folder, it is automatically seen as a subfolder.

Since Flex doesn't allow items to be dragged onto a
leaf, I'm having a problem here. Once every folder is on the root node for
instance, it's impossible to move any folder onto another folder.



Anyone with a suggestion? I suppose I'll have to
create a custom itemrenderer and force every item so it 'thinks' it has
childnodes, but maybe someone could give me a good direction here.



Thanks






















__ NOD32 1.1652 (20060710) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Explorer-like drag drop tree

2006-07-11 Thread Jonas Windey












Ok so apparently its nearly
impossible to achieve this, since dragging an item so it becomes a child of the
item you dragged it on requires that its new parent has an open node.

Since the directories in the deepest level
wont ever have an open node, this is impossible.



Too bad. 











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Lu
Sent: dinsdag 11 juli 2006 13:04
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Explorer-like drag  drop tree












custom item renderer is the way to go.





On 7/11/06, Jonas
Windey [EMAIL PROTECTED]
wrote:













I'm trying to create a folder-manager in flex that allows
a user to move, create and delete folders.

The folderstructure gets sent to the client in xml
format, like this:



root


folder label=ftproot


folder label=subfolder1 /


folder label=subfolder2 /


/folder


folder label=ftproot2 /

/root



Etc.



This is all working well, I get a treeview, and with
some custom icons it looks exactly like the explorer in windows. 

The problem arrives when folders are seen as leafs
instead of nodes (like every deepest folder for instance, is seen as a leaf)



To enable true drag  drop, every node, also the
leafs, should act as a node. In explorer for instance, if you drag a folder on
another folder, it is automatically seen as a subfolder.

Since Flex doesn't allow items to be dragged onto a
leaf, I'm having a problem here. Once every folder is on the root node for
instance, it's impossible to move any folder onto another folder.



Anyone with a suggestion? I suppose I'll have to
create a custom itemrenderer and force every item so it 'thinks' it has
childnodes, but maybe someone could give me a good direction here.



Thanks






















__ NOD32 1.1652 (20060710) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.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] Explorer-like drag drop tree

2006-07-11 Thread Jonas Windey
Yea, go figure that every directory contains a dummy leaf. Wouldn't really
be explorer-like wouldn't it :-)

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: dinsdag 11 juli 2006 15:33
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Explorer-like drag  drop tree

On Tuesday 11 July 2006 12:36, Jonas Windey wrote:
 Since the directories in the deepest level won't ever have an open node,
 this is impossible.

If it really is the case that it needs an open node, just add a dummy child 
node.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may
be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.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



 






__ NOD32 1.1653 (20060711) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com





 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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] Is anyone having trouble contacting Adobe and/or purchasing Flex?

2006-07-10 Thread Jonas Windey












The only problem we have is that were
from Belgium (Europe), and still cant buy Flex 2.0 yet. 

Our CEO has direct contact with Adobe in
The Netherlands though, so it should be here any day now.



Jonas











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: maandag 10 juli 2006 9:36
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Is
anyone having trouble contacting Adobe and/or purchasing Flex?











Not here.

1. 3:26am - go to adobe.com
2. log in, find credit card
3. choose Products  Flex
4. click purchase  Flex with Charting
5. input info in store, click submit
6. done!

Took 3 minutes, and 36 seconds.

Sounds like you read the story about someone in Oz not being so lucky?
http://www.mariposa.com.au/arcims/2006/07/how_can_i_buy_flex_2_in_austra.cfm

.however, I AM paying mad bling to Robin Hilliard for his Flex 2 API 
posters, so that would imply that if Robin Hilliard is affiliated with Flex, 
then Ozzie's CAN buy it. :: shrugs :: I haven't seen any other mention on 
Techmeme, techcrunch, delicious, mxna, etc.

- Original Message - 
From: David Mendels [EMAIL PROTECTED]com
To: [EMAIL PROTECTED]ups.com
Sent: Sunday, July 09, 2006 11:50 PM
Subject: [flexcoders] Is anyone having trouble contacting Adobe and/or 
purchasing Flex?

Hi Flexcoders,

Subject line is fairly self-explanatory. I have seen a blog post or two
from people having trouble connecting with us on pricing or simply with
purchasing Flex Builder.

This is the first product from the former Macromedia to be launched at
Adobe and I am sure we have kinks in the system. I want to make
sure
we troubleshoot quickly. Please let us know.

Regards,
David
Adobe

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




__ NOD32 1.1651 (20060708) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] ArrayCollection as datasource

2006-07-10 Thread Jonas Windey










Hi,



Im using a webservice to provide data to a tree but I
cant seem to bind the data. The datatype of my operation is Object (with
e4x I get other problems and Id like to keep it Object for all my
operation), and the result looks like this:



result = mx.utils.ObjectProxy (@3977541)

 object
= Object (@3967381)

 selectAllDirectoriesResult
= mx.utils.ObjectProxy (@3a715c1)

 object
= Object (@3a67521)

 root
= mx.utils.ObjectProxy (@3a71cc1)

 node
= mx.collections.ArrayCollection (@39222b1)

 object
= Object (@3a38d01)

 node
= mx.collections.ArrayCollection (@39222b1)

 [0]
= mx.utils.ObjectProxy (@3a71d41)

 label
= pixco

 nbrFiles
= 0

 object
= Object (@3a6de81)

 uid
= 754C8DC3-6ADC-2912-C233-5880843A46A2

 [1]
= mx.utils.ObjectProxy (@3a71d81)

 label
= pixco_id

 nbrFiles
= 0

 node
= mx.utils.ObjectProxy (@3a7f0c1)

 label =
test

 nbrFiles
= 0

 node
= mx.utils.ObjectProxy (@3a7f241)

 label
= test2

 nbrFiles
= 0

 node
= mx.collections.ArrayCollection (@39b5e81)

 [0]
= mx.utils.ObjectProxy (@3a7f2c1)

 [1]
= mx.utils.ObjectProxy (@3a7f301)

  filterFunction
= null

 length
= 2 [0x2]

 list
= mx.collections.ArrayList (@3a7f341)

 sort
= null

 source
= Array (@39b5fd1)

 object
= Object (@3a85041)

 uid
= B30C5FD7-96DD-44CB-5D4C-588084459E45

 object
= Object (@3a675a1)

 uid
= F49EDC31-C665-13C9-BD37-5880843A15D1

 object
= Object (@3a6daa1)

 uid
= C5BB5321-B5D8-CB23-4F34-5880843A5850

 filterFunction
= null

 length
= 2 [0x2]

 list
= mx.collections.ArrayList (@3a7f381)

 sort
= null

 source
= Array (@3913fa1)

 xmlns
= 

 uid
= 20110C9D-B896-4533-8DA8-5880843AD539

 xmlns
= 

 uid
= E9D47415-4D66-6E9A-7549-5880843A6DBE

 uid
= 8F8CFE64-86CA-E2F2-4AB3-588084304B1B

 xmlns
= http://tempuri.org/



Now the problem is that the tree only draws the nodes on the
first level, and as leafs (so it thinks there are no subnodes), whereas it
should draw it like this:



?xml version=1.0 encoding=utf-8
? 

root

node
label=pixco nbrFiles=0 / 

node label=pixco_id
nbrFiles=0

node label=test
nbrFiles=0

node label=test2
nbrFiles=0

node label=test3
nbrFiles=1 / 

node label=test4
nbrFiles=0 / 

/node

/node

/node

/root



Any tips? Thanks a lot.



Jonas




__._,_.___





--
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] WebORB for Flex 2.0 final

2006-07-07 Thread Jonas Windey










Hi, 



Im trying to play a bit with WebORB 2.1 beta3, to see
if its interesting to replace our .net webservices approach.

The problem is that I cant get the sample project
running (from http://www.themidnightcoders.com/articles/datamanagement.htm
)



First of all, it doesnt build since its
looking for a services-config.xml file, and I dont find that in the
WEB-INF folder (probably something from b2 or b3)

I tried renaming some files but no luck. Anyone who has it
working?



Thanks in advance,

Jonas




__._,_.___





--
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] Different borderstyles for HBox

2006-07-04 Thread Jonas Windey










Hi, is it possible to give a HBox different border colors
for each side? Like border-right: solid 1px #ccc in css?



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.



  






__,_._,___





RE: [flexcoders] Re: Different borderstyles for HBox

2006-07-04 Thread Jonas Windey












Thanks a lot, that did the trick. So
HBoxes shouldnt be used to place a border around components? 











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of n51red
Sent: dinsdag 4 juli 2006 14:59
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Different borderstyles for HBox












 I remember read a few days ago that these 
 invisible components can't be styled.

I seems you've been mislead Carlos. Components like HBox and VBox are 
invisible by default, but styles like backgroundColor do work.

Hank's suggestion about using nesting works well (see example), but 
has implications for performance if it is used on a large number of 
components.

Example code:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=vertical horizontalAlign=center
verticalAlign=middle
mx:Style
Application{
backgroundColor:white;
color:black;
}
..boxStyle1{
borderStyle:solid;
borderThickness:5;
borderColor:blue;
borderSides:bottom, left;
}
..boxStyle2{
borderStyle:solid;
borderThickness:10;
borderColor:green;
borderSides:top, right;
}
/mx:Style
mx:VBox id=box
styleName=boxStyle1
height=50 width=150
mx:VBox height=100% width=100%
styleName=boxStyle2/
/mx:VBox
/mx:Application

--- In [EMAIL PROTECTED]ups.com,
Carlos Rovira 
carlos.rovira@... wrote:

 Hank,
 
 In general visual containers can be styled, but we are talking 
about Layout
 Containers (HBox, VBox,...), and I remember read a few days ago 
that these
 invisible components can't be styled.
 
 On 7/4/06, hank williams [EMAIL PROTECTED] wrote:
 
  Containers can definitely be styled, but I am not sure that you 
can
  assign a different color to different sides. That might require 
skinning.
  You could use scale9 to do it. I know its not as easy as styles, 
but I
  *think* that may be your only option. You can turn off certain 
sides and
  turn on other sides, so perhaps you could do something with 
layering, but
  thats all I can think of.
 
  Hank
 
  On 7/4/06, Carlos Rovira carlos.rovira@... wrote:
 
   AFAIK, containers for laying out other content can't be styled
  
  
  
  
   On 7/4/06, Jonas Windey  [EMAIL PROTECTED] wrote:
   
Hi, is it possible to give a HBox different border colors 
for each
side? Like border-right: solid 1px #ccc in css?
   
   
   
Thanks!
   
   
  
  
   --
   ::| Carlos Rovira
   ::| http://www.carlosrovira.com
  
 
  
 
 
 
 
 -- 
 ::| Carlos Rovira
 ::| http://www.carlosrovira.com





__ NOD32 1.1641 (20060704) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Fwd: FB3 addedEffect, removedEffect and popUps

2006-06-30 Thread Jonas Windey










I dont know if this is still
unanswered, but this is how I did it (creationCompleteEffect etc arent
working when using the PopUpManager, I think..)



  userdetail =
userdetailWindow(PopUpManager.createPopUp( this, userdetailWindow , true));

 var effFade:Fade =
new Fade(userdetail);

  effFade.alphaFrom
= 0.0;

  effFade.alphaTo =
1.0;

  effFade.play();



I know its not the cleanest way,
but its working.



Jonas











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jaime Bermudez
Sent: donderdag 29 juni 2006 16:14
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Fwd: FB3
addedEffect, removedEffect and popUps











Hey guys,

This issue is still out there for me. Basically, I want to know how I can
trigger certain effects on a TitleWindow that is displayed through
PopUpManager.addPopUp.

Thanks,

Jaime

-- Forwarded message -- 
From: Jaime Bermudez
[EMAIL PROTECTED]
Date: Jun 14, 2006 1:49 PM
Subject: FB3 addedEffect, removedEffect and popUps 
To: flexcoders@yahoogroups.com



Hey guys,

I wanted some move effects initiated on popups when created, added or removed
through the PopUpManager. I figured out that the PopUpManager.removePopUp(popUp)
method will trigger a removedEffect on the popUp window, at least
for modal dialogs. This makes sense b/c it's probably removing the popUp
from the invisible canvas behind it. I'm currently using a creationCompleteEffect
to get the popUp to move in onto the screen. This obviously
won't work for the PopUpManager.addPopUp method since the popUp window will
have already been created. There is an addedEffect, but this doesn't seem to work like the
removedEffect. Anyone know why the  addedEffect doesn't trigger on a popUp when
adding it through PopUpManager.addPopUp? Is there any effect that gets
triggered through this method?

Thanks,






Jaime






__ NOD32 1.1632 (20060629) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] mx:Titlewindow addedEffect/showEffect ?

2006-06-29 Thread Jonas Windey










Hi, 



Im calling a titlewindow with userdetail =
userdetailWindow(PopUpManager.createPopUp( this, userdetailWindow , true));



In my titlewindow Id like the window to fade in when
its show, and not just popup in a static way.

I tried to use addedEffect=Fade or showEffect=Fade,
but no luck.



Any tips?



Jonas




__._,_.___





--
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] mx:Titlewindow addedEffect/showEffect ?

2006-06-29 Thread Jonas Windey
Hmm, I thought there was a default Fade effect without having to declare the
Fade as an mx:Effect ?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: donderdag 29 juni 2006 12:53
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] mx:Titlewindow addedEffect/showEffect ?

On Thursday 29 June 2006 10:44, Jonas Windey wrote:
 I tried to use addedEffect=Fade or showEffect=Fade, but no luck.

{Fade}, assuming Fade is the id on an effect.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may
be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of
the Year at the 2005 Growth Company Awards




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



 






__ NOD32 1.1632 (20060629) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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] Flash Player 9 is here!!!

2006-06-28 Thread Jonas Windey












Why o why does it come with an optional yahoo toolbar L







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Renaun Erickson
Sent: woensdag 28 juni 2006 6:40
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flash Player
9 is here!!!











You can download Flash Player 9 now1

http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlashpromoid=BIOW

Go to www.adobe.com and click on the Download Flash Player icon.

Yippeee

--- In [EMAIL PROTECTED]ups.com,
Matt Chotin [EMAIL PROTECTED] wrote:

 What is your timezone, 4pm is probably wrong :-)
 
 
 
 We are on track for releasing very very very soon. 
 
 
 
 
 
 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of bobchyko
 Sent: Tuesday, June 27, 2006 12:40 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] Re: Flex 2 released tomorrow
 
 
 
 --- In [EMAIL PROTECTED]ups.com
mailto:flexcoders%40yahoogroups.com
 , Jeremy Rottman rottmanList@ 
 wrote:
 
  I was carousing the interweb and I found a post on g-unix. Has anyone
  else heard these rumors about flex 2 being released tomorrow?
  
  I for one would be extremely delighted to see the hard work of
  adobe/mm come to fruition.
 
 
 I'm pretty sure it is going to be released today at 4pm (at least that 
 is what my sources tell me). Just tried to post this a few minutes 
 ago but it didn't go through.





__ NOD32 1.1629 (20060628) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Flex 2.0 final: Flash player version check?

2006-06-28 Thread Jonas Windey










Hi,



I have just built a first test project in flex 2.0 final,
hoping that the included check for Flash Player 9.0 presence would work, but no
success.

Since 2.0 is final now, I was hoping that users would get an
automatic plugin upgrade, since that was the only thing that kept us from using
Flex 2.0 in a live application.



Any tips?



Jonas




__._,_.___





--
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] Duplicate variable definition

2006-06-28 Thread Jonas Windey










Hi, 



In flex 2 b3, it was allowed to do this:



rivate function fcnTest():void

{

for (var i:Number=0;i 10;i++){

 //do sthing 

}

for (var i:Number=0;i 10;i++){

 //do something more   

}

}



In 2.0 final, I get Duplicate variable definition.



Should I only declare it once before every loop?



Jonas




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] Flex 2.0 final: Flash player version check?

2006-06-28 Thread Jonas Windey










Ok, I tried it on a machine with 8.0
installed. What I get is a _javascript_ error on history.htm (permission denied),
and a message:



Alternate HTML content should be placed here. This
content requires the Adobe Flash Player. 



Wont there be an automatic activex
updater available? That shows the install window instead of this alternate html
text?













From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: woensdag 28 juni 2006 11:07
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2.0
final: Flash player version check?













If you have the beta player installed it wont detect a
difference by default. 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of Jonas Windey
Sent: Wednesday, June 28, 2006
1:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0
final: Flash player version check?













Hi,



I have just
built a first test project in flex 2.0 final, hoping that the included check
for Flash Player 9.0 presence would work, but no success.

Since 2.0 is
final now, I was hoping that users would get an automatic plugin upgrade, since
that was the only thing that kept us from using Flex 2.0 in a live application.



Any tips?



Jonas
















__ NOD32 1.1629 (20060628) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Expand all items of a tree

2006-06-28 Thread Jonas Windey










Hi, in flex2b3, I could open all nodes of my tree by doing
this:



treeTest.selectedIndex = 0;

treeTest.expandChildrenOf(treeTest.selectedItem, true); 



Unfortunately, this isnt working anymore.



I tried treeTest.expandItem(treeData.node[0],true, false); ,
teeTest.expandChildrenOf(treeTest.firstVisibleItem), but no luck.



Who helps?



Jonas




__._,_.___





--
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] Expand all items of a tree

2006-06-28 Thread Jonas Windey










Sorry to bump this, but Im desperately
looking for a solution..



Jonas











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonas Windey
Sent: woensdag 28 juni 2006 12:01
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Expand all
items of a tree













Hi, in
flex2b3, I could open all nodes of my tree by doing this:



treeTest.selectedIndex
= 0;

treeTest.expandChildrenOf(treeTest.selectedItem,
true); 



Unfortunately,
this isnt working anymore.



I tried
treeTest.expandItem(treeData.node[0],true, false); ,
teeTest.expandChildrenOf(treeTest.firstVisibleItem), but no luck.



Who helps?



Jonas






__ NOD32 1.1629 (20060628) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Expand all items of a tree

2006-06-28 Thread Jonas Windey










Yes, I have gotten so far too. 

The problem is I want to open the items
directly, without a user clicking on something.



Before I could just set myTree.selectedIndex
to 0, and after that myTree.expandChildrenOf(myTree.selectedItem, true);

But after debugging, I found that if you
set the selectedIndex to 0, it doesnt set the selectedItem, it stays
null until a user clicks on a node.



I should be able to trigger it without
doing that, but I cant find it



Help! :-)











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Mac Martine
Sent: woensdag 28 juni 2006 17:38
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Expand
all items of a tree















Its working for me. Heres an example. Im not
sure what you are wanting to do, but in this example you have to select a tree
item, then click the Expand All button. You can modify it as desired.



?xml version=1.0 encoding=utf-8?

!-- Tree control example. --

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



 mx:Script

 ![CDATA[




[Bindable]


public var selectedNode:Object;




// Event handler for the Tree control change event.


public function treeChanged(event:Event):void {


selectedNode=Tree(event.target).selectedItem;

 }

 


private function expand():void

 {


 myTree.expandChildrenOf(myTree.selectedItem,
true); 

 }

 ]]

 /mx:Script



 mx:XMLList id=treeData

 node
label=Mail Box


node label=Inbox


node label=Marketing/


node label=Product Management/


node label=Personal/


/node


node label=Outbox


node label=Professional/


node label=Personal/


/node


node label=Spam/


node label=Sent/


/node 

 /mx:XMLList


mx:Tree id=myTree width=427 height=410
labelField=@label


showRoot=false dataProvider={treeData}
change=treeChanged(event)/



 mx:Button label=Expand all
click=expand()/

/mx:Application











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of Jonas Windey
Sent: Wednesday, June 28, 2006
7:31 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Expand
all items of a tree













Sorry to bump this, but Im desperately looking for a
solution..



Jonas











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of Jonas Windey
Sent: woensdag 28 juni 2006 12:01
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Expand all
items of a tree













Hi, in
flex2b3, I could open all nodes of my tree by doing this:



treeTest.selectedIndex
= 0;

treeTest.expandChildrenOf(treeTest.selectedItem,
true); 



Unfortunately,
this isnt working anymore.



I tried
treeTest.expandItem(treeData.node[0],true, false); ,
teeTest.expandChildrenOf(treeTest.firstVisibleItem), but no luck.



Who helps?



Jonas






__ NOD32 1.1629 (20060628) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




















__ NOD32 1.1630 (20060628) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Styling at runtime

2006-05-24 Thread Jonas Windey



Sorry to bump this, but I'm giving a presentation later this day and I'd
like to get this styled..

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jonas Windey
Sent: dinsdag 23 mei 2006 18:24
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Styling at runtime

Ok, thanks.

Now how do I apply it only to the selected node?

treeTest.setStyle(textDecoration,underline); - works
treeTest.selectedItem.setStyle(textDecoration,underline); - doesn't
treeTest.getChildAt(0).setStyle(textDecoration,underline); - neither

Thanks for the setStyle tip!

Jonas

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff Tapper
Sent: dinsdag 23 mei 2006 17:32
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Styling at runtime

try using myTree.setStyle(styleName,newStyle);

At 11:12 AM 5/23/2006, you wrote:

Hi,

I'm trying to create a treeview that acts a bit like Windows Explorer. 
Meaning no style is applied when an item is unselected, but on rollover 
the text gets underlined, and the selected item gets a blue background
color.

Is this possible? It tied to change the className on itemRollOver, but 
there it said that className is readonly (when called from a function)

Any suggestions? Thanks

Jonas


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




SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+sit
e+design+developmentw2=Computer+software+developmentw3=Software+design+and
+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=
166.sig=L-4QTvxB_quFDtMyhrQaHQWeb 
site design development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+s
ite+design+developmentw2=Computer+software+developmentw3=Software+design+a
nd+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5
s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer 
software development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web
+site+design+developmentw2=Computer+software+developmentw3=Software+design
+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=
5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware 
design and development
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+dev
elopmentw2=Computer+software+developmentw3=Software+design+and+development
w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6
nPIrz7_EpZI36cYzBjwMacromedia 
flex 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=
Web+site+design+developmentw2=Computer+software+developmentw3=Software+des
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+practice
c=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware 
development best practice


--
YAHOO! GROUPS LINKS

 * Visit your group 
 http://groups.yahoo.com/group/flexcodersflexcoders on the web.
 *
 * To unsubscribe from this group, send an email to:
 * 

mailto:[EMAIL PROTECTED]flexcoder
[EMAIL PROTECTED] 

 *
 * Your use of Yahoo! Groups is subject to the 
 http://docs.yahoo.com/info/terms/Yahoo! Terms of Service.


--


No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006





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



 







--
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] Styling at runtime

2006-05-23 Thread Jonas Windey










Hi,



Im trying to create a treeview that acts a bit like
Windows Explorer. Meaning no style is applied when an item is unselected, but
on rollover the text gets underlined, and the selected item gets a blue
background color.



Is this possible? It tied to change the className on
itemRollOver, but there it said that className is readonly (when called from a
function)



Any suggestions? Thanks



Jonas









--
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] Styling at runtime

2006-05-23 Thread Jonas Windey



Ok, thanks.

Now how do I apply it only to the selected node?

treeTest.setStyle(textDecoration,underline); - works
treeTest.selectedItem.setStyle(textDecoration,underline); - doesn't
treeTest.getChildAt(0).setStyle(textDecoration,underline); - neither

Thanks for the setStyle tip!

Jonas

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff Tapper
Sent: dinsdag 23 mei 2006 17:32
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Styling at runtime

try using myTree.setStyle(styleName,newStyle);

At 11:12 AM 5/23/2006, you wrote:

Hi,

I'm trying to create a treeview that acts a bit like Windows Explorer. 
Meaning no style is applied when an item is unselected, but on rollover 
the text gets underlined, and the selected item gets a blue background
color.

Is this possible? It tied to change the className on itemRollOver, but 
there it said that className is readonly (when called from a function)

Any suggestions? Thanks

Jonas


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




SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+sit
e+design+developmentw2=Computer+software+developmentw3=Software+design+and
+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=
166.sig=L-4QTvxB_quFDtMyhrQaHQWeb 
site design development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+s
ite+design+developmentw2=Computer+software+developmentw3=Software+design+a
nd+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5
s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer 
software development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web
+site+design+developmentw2=Computer+software+developmentw3=Software+design
+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=
5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware 
design and development
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+dev
elopmentw2=Computer+software+developmentw3=Software+design+and+development
w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6
nPIrz7_EpZI36cYzBjwMacromedia 
flex 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=
Web+site+design+developmentw2=Computer+software+developmentw3=Software+des
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+practice
c=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware 
development best practice


--
YAHOO! GROUPS LINKS

 * Visit your group 
 http://groups.yahoo.com/group/flexcodersflexcoders on the web.
 *
 * To unsubscribe from this group, send an email to:
 * 

mailto:[EMAIL PROTECTED]flexcoder
[EMAIL PROTECTED] 

 *
 * Your use of Yahoo! Groups is subject to the 
 http://docs.yahoo.com/info/terms/Yahoo! Terms of Service.


--


No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006





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



 










--
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] Sourcesafe for Flex beta 2 / eclipse 3.1x

2006-05-22 Thread Jonas Windey










Im bumping this message because the
VSS plugin still isnt working in beta 3.



Any help?











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonas Windey
Sent: dinsdag 25 april 2006 14:10
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Sourcesafe
for Flex beta 2 / eclipse 3.1x





Hi,



Im trying to use MS Sourcesafe in our flex
application (since CVS isnt installed on our server), but Im
having some difficulties. 

I found a plugin that should enable Eclipse 3.1 to use VSS
here: http://sourceforge.net/projects/vssplugin/



Is anyone using that plugin successfully? When I move it to
the eclipse/plugins folder, I dont see it in the installed plugins
window.



Jonas









--
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: Dispatching an event from inside a resultEvent

2006-05-03 Thread Jonas Windey
);

dataServices.removeEventListener(result,onResult);
 dataServices.removeEventListener(fault,onFault);
 }
}

//

}



//***

 Login.mxml
(import LoginDelegate.as)

//***

import
org.ets.main.code.business.LoginDelegate;



public
function performLogin():void
{
 var loginDelegate :
LoginDelegate = LoginDelegate.getInstance();

 loginDelegate.addEventListener(result,onResult);

loginDelegate.addEventListener(fault,onFault);
 loginDelegate.performLogin(
strUserName, strPassWord );
}

//

public function onResult( event : ResultEvent ) : void
{
 // do something
var loginDelegate. : LoginDelegate =
LoginDelegate.getInstance();

loginDelegate..removeEventListener(result,onResult);
loginDelegate..removeEventListener(fault,onFault);

}

//

public function onFault( event : FaultEvent ) : void
{
 // do something
var loginDelegate: LoginDelegate =
LoginDelegate.getInstance();

loginDelegate.removeEventListener(result,onResult);
loginDelegate.removeEventListener(fault,onFault);}

//




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

 Hi, 
 
 
 
 Though question here, and props for the person who can help me here.
 
 I have an mxml file and an as 3.0 class that handles the data. I also use
 the datamanager classes from Jeff Tapper
 (http://jeff.mxdj.com/as3_datamanager.htm) to handle the webservice
 requests.
 
 
 
 Here's some code I use
 
 
 
 In my Login.mxml:
 
 
 
 private function fcnSubmitLogin():void
 
 {
 
 var oLogin:Login = new Login();
 
 oLogin.addEventListener(testEvent,fcnTest);
 
 oLogin.performLogin(txtUserName.text,
 txtPassWord.text);
 
 }
 
 private function testing(event:Event):void
 
 {
 
 Alert.show(test result);
 
 }
 
 
 
 
 
 In Login.as (which extends EventDispatcher)
 
 
 
 
 
 public function init():void
 
 {
 
 loginManager = DataManager.getDataManager(Wsdl.loginWSDL);
 
 
 

loginManager.addEventListener(get_accessResponse,fcnAccessResponse);
 
 
 }
 
 public function performLogin(strUserName:String,
 strPassWord:String):void
 
 { 
 
 loginManager = DataManager.getDataManager(Wsdl.loginWSDL);
 
 
 

loginManager.makeRemoteCall(get_access,get_accessResponse);
 
 
 
 fcnTest();
 
 
 }
 
 public function
 fcnAccessResponse(event:DataManagerResultEvent):void
 
 {
 
 fcnTest();
 
 }
 
 private function fcnTest():void
 
 {
 
 Alert.show(in fcnTest);
 
 var e:Event = new Event(testEvent );
 
 this.dispatchEvent(e); 
 
 }
 
 
 
 Now, what happens here is the following
 
 
 
 Login.mxml adds the eventlistener so it listens until Login.as broadcasts
 the event testEvent
 
 The first time it's working perfectly, the method performLogin calls
 fcnTest(), fcnTest dispatches the event testEvent, and I get
both alerts
 (in fcnTest from Login.as, and test result, from
Login.mxml);
 
 
 
 Now comes the problem, after the webservice is called, I get to the method
 fcnAccessResponse (which is called if access is granted)
 
 The method fcnAccessResponse calls fcnTest(), and I get the alert in
 fcnTest
 
 
 
 The problem is, fcnTest also dispatches the event testEvent,
but it
 doesn't get noticed by Login.mxml, whereas the first time the method is
 called, it gets triggered.
 
 
 
 Anyone got a clue? Been searching for hours now.
 
 
 
 Thanks!
 Jonas










--
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] Dispatching an event from inside a resultEvent

2006-05-02 Thread Jonas Windey










Hi, 



Though question here, and props for the person who can
help me here.

I have an mxml file and an as 3.0 class that handles the
data. I also use the datamanager classes from Jeff Tapper (http://jeff.mxdj.com/as3_datamanager.htm)
to handle the webservice requests.



Heres some code I use



In my Login.mxml:



 private function fcnSubmitLogin():void

 {

 var oLogin:Login = new Login();

  oLogin.addEventListener(testEvent,fcnTest);

  oLogin.performLogin(txtUserName.text,
txtPassWord.text);

 }

 private function
testing(event:Event):void

 {

 Alert.show(test result);

 }





In Login.as (which extends EventDispatcher)





 public function init():void

 {

 loginManager =
DataManager.getDataManager(Wsdl.loginWSDL);

 

loginManager.addEventListener(get_accessResponse,fcnAccessResponse);   

 }

 public function
performLogin(strUserName:String, strPassWord:String):void

 { 

 loginManager =
DataManager.getDataManager(Wsdl.loginWSDL); 

 loginManager.makeRemoteCall(get_access,get_accessResponse);

 

 fcnTest(); 

 }

 public function
fcnAccessResponse(event:DataManagerResultEvent):void

 {

 fcnTest();

 }

 private function fcnTest():void

 {

 Alert.show(in fcnTest);

 var e:Event = new Event(testEvent );

 this.dispatchEvent(e); 

 }



Now, what happens here is the following



Login.mxml adds the eventlistener so it listens until
Login.as broadcasts the event testEvent

The first time its working perfectly, the method
performLogin calls fcnTest(), fcnTest dispatches the event testEvent,
and I get both alerts (in fcnTest from Login.as, and test
result, from Login.mxml);



Now comes the problem, after the webservice is called, I
get to the method fcnAccessResponse (which is called if access is granted)

The method fcnAccessResponse calls fcnTest(), and I get
the alert in fcnTest



The problem is, fcnTest also dispatches the event testEvent,
but it doesnt get noticed by Login.mxml, whereas the first time the
method is called, it gets triggered.



Anyone got a clue? Been searching for hours now



Thanks!
Jonas













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex 2 beta 2 history: working?

2006-04-28 Thread Jonas Windey










You are right, I have to run it from http://localhost

Forgot the getURL wasnt working if
you dont run it on a webserver, thanks for the tip!



Jonas











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Matt Chotin
Sent: vrijdag 28 april 2006 7:17
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2
beta 2 history: working?





Hmm, it should just work. The HTML
page thats generated should have history management by default. Do
you see any errors being printed to the console? Have you tried serving
the HTML page from a web server instead of from the local folder where it was compiled?
I dont know if it makes a difference but its possible











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey
Sent: Thursday, April 27, 2006
4:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 beta
2 history: working?





Hi, 



I was trying to experiment with the HistoryManager class,
but cant get it working. I created a new project, and just used the
accordion with some content, and even on that project, the history management
isnt working.

Is there anything I need to configure, as the help says the
accordion component has history management by default?



Thanks!

Jonas










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Flex 2 beta 2 history: working?

2006-04-27 Thread Jonas Windey










Hi, 



I was trying to experiment with the HistoryManager class,
but cant get it working. I created a new project, and just used the
accordion with some content, and even on that project, the history management
isnt working.

Is there anything I need to configure, as the help says the
accordion component has history management by default?



Thanks!

Jonas









--
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] Objects and arrays as treeview datasource

2006-04-26 Thread Jonas Windey










Any examples on how to do that? The help
only mentions some addChildAt methods, but I dont think I have to loop
through all the data?



Jonas











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: woensdag 26 april 2006 8:42
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Objects
and arrays as treeview datasource





Since the children are named node
and not children the default data descriptor isnt going to
work. You probably need to write a quick ITreeDataDescriptor
implementation that will return the right children property/collection.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey
Sent: Tuesday, April 25, 2006 1:30
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Objects and
arrays as treeview datasource





Hi,



Im trying to fill my treeview with data retrieved from
a webservice. I have my resultformat set to default (Object), as e4x or xml
doesnt give the correct result.



Filling a datagrid with the data I retrieve works perfectly,
but the problem is when there are nested objects in it, the tree doesnt
draw childNodes.



This is the value of my webservice result object:



event = events.DataManagerResultEvent (@2b67be6)

 bubbles = false :
Boolean

 cancelable = false :
Boolean

 currentTarget =
managers.DataManager (@2b0b0b6)

 eventPhase = 2 [0x2]
: Number

 result =
mx.utils.ObjectProxy (@29d6e46)


getCategoriesResult = Object (@2bab0a6)


node = Object (@2bab8c6)


node = Array (@2b672b6)


[0] = Object (@2baba66)


catID = 15 [0xf] : Number


label = Pixco Labs : String


[1] = Object (@2babc26)


catID = 1 [0x1] : Number


label = Technology : String


node = Array (@2b671c6)


[0] = Object (@2babe06)


catID = 6 [0x6] : Number


label = ASP.NET : String


[1] = Object (@2b9c046)


catID = 7 [0x7] : Number


label = HTML/CSS : String


[2] = Object (@2b9c246)


catID = 8 [0x8] : Number


label = _javascript_ : String


[3] = Object (@2b9c426)


catID = 9 [0x9] : Number


label = SQL : String


[4] = Object (@2b9c606)


catID = 10 [0xa] : Number


label = Tech Experiments : String


[5] = Object (@2b9c7e6)


catID = 16 [0x10] : Number


label = Flash/Flex/Flash Lite : String



length = 6 [0x6] : Number


[2] = Object (@2b6fa06)


catID = 2 [0x2] : Number


label = Utilities : String


node = Array (@2b67376)


[0] = Object (@2babf66)


catID = 11 [0xb] : Number


label = Client tools : String


[1] = Object (@2babd66)


catID = 12 [0xc] : Number


label = Server tools : String


length = 2 [0x2] : Number


[3] = Object (@2babb86)


catID = 3 [0x3] : Number


label = Design : String


node = Array (@2b676d6)


[0] = Object (@2bab966)


catID = 13 [0xd] : Number


label = Cool layouts : String


[1] = Object (@2bab386)


catID = 14 [0xe] : Number


label = Design experiments : String


length = 2 [0x2] : Number


[4] = Object (@2c62e26)


catID = 4 [0x4] : Number


label = Usability : String


[5] = Object (@2c62286)


catID = 5 [0x5] : Number


label = Off-topic : String


length = 6 [0x6] : Number



xmlns = 0 [0x0] : Number


object = Object (@2bab1a6)


uid = F97D8CAC-0C05-4ED5-3B1F090A : String


xmlns = http://tempuri.org/ : String

 target =
managers.DataManager (@2b0b0b6)

 type =
getCategoriesResponse : String





The tree only renders the nodes in the root, it
doesnt create the subNodes.

Do I need to loop through this data in code? It would be a
lot easier if I could just put this result as the dataSource for my tree.



Thanks for any suggestions,
Jonas










--
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] Objects and arrays as treeview datasource

2006-04-25 Thread Jonas Windey










Hi,



Im trying to fill my treeview with data retrieved
from a webservice. I have my resultformat set to default (Object), as e4x or
xml doesnt give the correct result.



Filling a datagrid with the data I retrieve works perfectly,
but the problem is when there are nested objects in it, the tree doesnt
draw childNodes.



This is the value of my webservice result object:



event = events.DataManagerResultEvent (@2b67be6)

 bubbles = false : Boolean

 cancelable = false : Boolean

 currentTarget = managers.DataManager (@2b0b0b6)

 eventPhase = 2 [0x2] : Number

 result = mx.utils.ObjectProxy (@29d6e46)

 getCategoriesResult = Object (@2bab0a6)

 node = Object (@2bab8c6)

 node = Array (@2b672b6)

 [0] = Object (@2baba66)

 catID = 15 [0xf]
: Number

 label =
Pixco Labs : String

 [1] = Object (@2babc26)

 catID = 1 [0x1] :
Number

 label =
Technology : String

 node = Array
(@2b671c6)

 [0] =
Object (@2babe06)

 catID
= 6 [0x6] : Number

 label
= ASP.NET : String

 [1] =
Object (@2b9c046)

 catID
= 7 [0x7] : Number

 label
= HTML/CSS : String

 [2] =
Object (@2b9c246)

 catID
= 8 [0x8] : Number

 label
= _javascript_ : String

 [3] =
Object (@2b9c426)

 catID
= 9 [0x9] : Number

 label
= SQL : String

 [4] =
Object (@2b9c606)

 catID
= 10 [0xa] : Number

 label
= Tech Experiments : String

 [5] =
Object (@2b9c7e6)

 catID
= 16 [0x10] : Number

 label
= Flash/Flex/Flash Lite : String

  length = 6
[0x6] : Number

 [2] = Object (@2b6fa06)

 catID = 2 [0x2] :
Number

 label =
Utilities : String

 node = Array
(@2b67376)

 [0] =
Object (@2babf66)

 catID
= 11 [0xb] : Number

 label
= Client tools : String

 [1] =
Object (@2babd66)

 catID
= 12 [0xc] : Number

 label
= Server tools : String

 length = 2
[0x2] : Number

 [3] = Object (@2babb86)

 catID = 3 [0x3] :
Number

 label =
Design : String

 node = Array (@2b676d6)

 [0] =
Object (@2bab966)

 catID
= 13 [0xd] : Number

 label
= Cool layouts : String

 [1] =
Object (@2bab386)

 catID
= 14 [0xe] : Number

 label
= Design experiments : String

 length = 2
[0x2] : Number

 [4] = Object (@2c62e26)

 catID = 4 [0x4] :
Number

 label =
Usability : String

 [5] = Object (@2c62286)

 catID = 5 [0x5] :
Number

 label =
Off-topic : String

 length = 6 [0x6] :
Number

  xmlns = 0 [0x0] : Number

 object = Object (@2bab1a6)

 uid =
F97D8CAC-0C05-4ED5-3B1F090A : String

 xmlns = http://tempuri.org/ :
String

 target = managers.DataManager (@2b0b0b6)

 type = getCategoriesResponse : String





The tree only renders the nodes in the root, it doesnt
create the subNodes.

Do I need to loop through this data in code? It would be a
lot easier if I could just put this result as the dataSource for my tree.



Thanks for any suggestions,
Jonas









--
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 2 not maintaining order of web service parameters.

2006-04-25 Thread Jonas Windey



Try reading the comments on this page:
http://jeff.mxdj.com/as3_datamanager.htm

I always pass the arguments in an object, and so far no problems..

var args:Object = new Object();
args.yourParam = first param;

etc.

Good luck

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ilia_papas
Sent: dinsdag 25 april 2006 17:06
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 not maintaining order of web service
parameters.

Hello, I've been unable to get Flex to submit parameters to a web
service method in a consistent order. I'm using Flex 2 beta 2 and a
web service running on JBoss 4.0.4CR2 using annotations.

This problem has been described in the following locations:

-Macromedia Forum: Webservice always returns a Error #2032: Stream
Error (http://tinyurl.com/ebyg8)
-flexcoders archive: Flex 2: WebServervice call sometimes swaps
parameters (http://tinyurl.com/ghwmr)
-Macromedia Forum: WebService fields out of order
(http://tinyurl.com/jsdg6)

The order of the parameters appears to be somewhat random, as each
time you refresh the page, the order changes. Though that order will
last until you refesh again.

One suggestion was wrapping the parameters in a single complex object.
However, the problem still persists, as order is not maintained when
flex serializies the object.

Another suggested setting the parameters like so:

 if svc is your webservice id...
 svc.function.arguments = {value1:val1, value2:val2, ...};
 svc.function();

Unfortunately, order is still not mainatained.

Has anyone found a workaround for this?

Thanks,
Ilia






--
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] Resultformat in mx.rpc.soap.WebService

2006-04-24 Thread Jonas Windey










Hi, 



Im using the webservice class and having difficulties
setting the result as the datasource for my treecontrol (it stays 2-dimensional
and it doesnt create the child nodes, since the data is all in object/array
format). So Im trying to use the e4x format to see if this would help.



How can I add this using the mx.rpc.soap.WebService class? resultFormat
is not a valid property



Thanks

Jonas









--
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: RE: [flexcoders] LoadMovie in mx:Loader swf

2006-04-19 Thread Jonas Windey
I'm not loading the .jpg in the Loader or Image control, I'm loading an swf
that's using loadMovie() to load an external jpg (if I can get this working,
I can integrate our old tile-based zoomify component in flex)

Anyone else who has an idea?

-Original Message-
From: Andriy Panas [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 18 april 2006 17:39
To: Jonas Windey
Subject: Fwd: RE: [flexcoders] LoadMovie in mx:Loader swf

Hi Jonas,

Nope, that isn't working, I've tried the mx:Image control too, and I
tried
putting the .jpg in the root, or in the bin folder, no difference...

   If all you see is a broken image icon, I am 90% sure that it the
path to the image is wrong.

   Is your image in JPG format?

   Send me your files to my email or send me a screenshot of your
file structure.


-- 
Best regards,
 Andriymailto:[EMAIL PROTECTED]




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

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

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

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





[flexcoders] Flex webservices framework

2006-04-19 Thread Jonas Windey










Hi,



Im looking for the link I came across some weeks ago,
with a nice framework on using webservice classes in Flex 2.0 (I think it was
still the alpha version)

It provided some example classes that you could use to
simplify the events etc.



Anyone remembers this? Thanks for your help.



Jonas









--
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] LoadMovie in mx:Loader swf

2006-04-18 Thread Jonas Windey










Hi, Im trying to use a tile-based imageviewer made in
flash in a flex application, and it seems the .swf cant use loadMovie
for external jpg files.
Anyone has an idea how to solve this?



You can reproduce it like this:



In an empty .fla, put this:



this.createEmptyMovieClip(test_mc,1);

this.test_mc.loadMovie(test.jpg);



Put this .swf together with test.jpg in the folder where your
flex swf is created (bin directory)



In flex, load the swf with mx:Loader
source=loadMovieTest.swf width=800
height=600/mx:Loader



If I open the swf, it loads the image. In flex, it doesnt.



Thanks for the tips.









--
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] LoadMovie in mx:Loader swf

2006-04-18 Thread Jonas Windey
Nope, that isn't working, I've tried the mx:Image control too, and I tried
putting the .jpg in the root, or in the bin folder, no difference...

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
layout=absolute
mx:Loader source=loadMovieTest.swf width=800 height=600
x=200 y=300 /
mx:Image source=loadMovieTest.swf width=800 height=600
x=200 y=300/
/mx:Application

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andriy Panas
Sent: dinsdag 18 april 2006 16:42
To: Jonas Windey
Subject: Re: [flexcoders] LoadMovie in mx:Loader swf

Hello Jonas,

 In flex, load the swf with mx:Loader source=loadMovieTest.swf
 width=800 height=600/mx:Loader
 If I open the swf, it loads the image. In flex, it doesn't.

  First, use mx:Image tag to load images into Flex 1.5 app, this is
more performance wise.

  Second, check the correctness of your whole path to the image
relatively to your MXML file that holds mx:Application tag.

-- 
Best regards,
 Andriymailto:[EMAIL PROTECTED]



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



 








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

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

2006-02-23 Thread Jonas Windey










Id like to know that too! Lets
hope Glenn Ruehle is reading this and would be so kind to post his example ;)











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: dinsdag 21 februari 2006
17:45
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adobe Videos





http://labs..macromedia.com/flexproductline/videos/#/

Anyone find out if
they posted the Transition code somewhere?





_

Jonathan Miranda

Flexible Master of
the Web

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











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-09 Thread Jonas Windey
Thanks, validateNow() did the trick.

Still weird though that calling the same function from a button did the
event, but from code didn't work. Probably because all client-events trigger
the validateNow() function automatically?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: donderdag 9 februari 2006 8:29
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2.0 beta TextArea question

There should be no need for callLater() or a Timer. These are
workarounds from Flex 1.X that we want to banish in Flex 2.

Mac Martine wrote:
 I believe you will find a detailed answer in the thread
 from Feb 1 with  the Subject:
 [flexcoders] Scrolling a TextArea to the bottom?

This thread explained that setting a property like the 'text' of a
TextArea does not immediately update other properties such as
maxVPosition; by default this happens latter, for performance reasons.

However, you can force all properties to update immediately by calling
validateNow() on a UIComponent. So if you set the text, call
validateNow(), and then set the vPosition to the maxVPosition, it should
scroll to the bottom.

If there are problem with making this work, please file bugs.

- Gordon




-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Wednesday, February 08, 2006 12:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0 beta TextArea question

On 2/8/06, Manish Jethani [EMAIL PROTECTED] wrote:

 Okay, the problem is that the TextArea's maxVPosition is 0 even after
 the text is set.  The new value of maxVPosition is calculated only on
 the next screen update.

. and the solution for now is to use callLater() or a timer or
something.


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



 





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



 







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

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

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

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





RE: [flexcoders] Useful Videos

2006-02-09 Thread Jonas Windey










Nice, would be cool if someone could post
the code if the transition demo.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: donderdag 9 februari 2006
16:39
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Useful
Videos





Thought Id pass this along  my buddy sent me
this link and I never saw the link for this on the labs Flex sitebut
these are definitely some very useful videos.

http://labs.macromedia.com/flexproductline/videos/#



Im now a Control-O, Alt-Left, Alt-Right fanatic.

_

Jonathan Miranda

Flexible Master of
the Web

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











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Jonas Windey
Yea, that example works too for me, I think the problem is somewhere else.

private function setLogVPosition():void
{
txtLog.vPosition = txtLog.maxVPosition; 
}

If I trigger this function on a button click, it works

mx:Button click=setLogVPosition() x=29 y=105 label=Button/

But I want to use it in a function that changes the txtLog's text, like
this:

private function socketDataHandler(event:ProgressEvent):void 
{
txtLog.text += \n + oSocket.readUTFBytes(oSocket.bytesAvailable);
setLogVPosition();
}

And this one doesn't work. It sets the text with the correct data, but it
can't set the VPosition. It seems it has to be wired to some clientside
event, and can't be triggered from code. Is that correct?


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: dinsdag 7 februari 2006 19:29
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0 beta TextArea question

On 2/7/06, Jonas Windey [EMAIL PROTECTED] wrote:


 How would I set the scrollPosition of a textarea to it's maximum position?
I'm trying to create an msn-like socket application, and need to have my
textArea scrolled to the lowest position.


 I tried txtLog.vPosition = txtLog.maxVPosition; and txtLog.vPosition =
txtLog.textField.height, but no luck.

This seems to work for me in Beta 1.

mx:TextArea id=textArea
mx:text
![CDATA[
This is some text.

And I love the way I can write code so quickly
in Flex Builder 2.0!

Woohoo!!!
]]
/mx:text
/mx:TextArea
mx:Button click=textArea.vPosition = textArea.maxVPosition /


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



 








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

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

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

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




[flexcoders] Flex 2.0 beta TextArea question

2006-02-07 Thread Jonas Windey










Hi, 



How would I set the scrollPosition of a textarea to
its maximum position? Im trying to create an msn-like socket
application, and need to have my textArea scrolled to the lowest position.



I tried txtLog.vPosition = txtLog.maxVPosition; and
txtLog.vPosition = txtLog.textField.height, but no luck.



Thanks!











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex 2.0 beta1 text component bug : updated

2006-02-03 Thread Jonas Windey
No it doesn't, since it uses more height than it's supposed to use.
Lemme create an example that you can test.

http://213.193.146.35/temp/flex/srcview/

That's the code

http://213.193.146.35/temp/flex/shot.jpg

and that's a screenshot

As you see, in the first textbox there is no width specified, and it takes a
default width of 200px. The height is correct.

In the second checkbox, the width is set to 100%. There's the bug, it
shouldn't use that much height, since the text is only 4 lines high in this
box (height should also change upon resizing the window)

The third textbox is correct too, but I can't use a fixed width since the
panel needs to be resizable

This was working 100% in the alpha version.

Any clues?

Thanks

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: donderdag 2 februari 2006 18:29
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0 beta1 text component bug

On 2/2/06, Jonas Windey [EMAIL PROTECTED] wrote:
 Nope, even tried it with a lipsum text:

 http://www.narcisten.be/flex/testBug3.jpg

 mx:Repeater id=list dataProvider={messages}
 mx:Text minWidth=0 width=100% id=text1
 mx:htmlTextLorem ipsum dolor sit amet, consectetur
 adipisicing elit, sed do eiusmod tempor incididunt ut labore
et
 dolore magnaaliqua. Ut enim ad minim veniam, quis nostrud
 exercitationullamco laboris nisi ut aliquip ex ea
 commodo consequat. Duis aute irure dolor in reprehenderit
in
 voluptate velit esse cillum dolore eu fugiat nulla pariatur.
 Excepteur sint occaecat cupidatat non proident,
sunt
 in culpa qui officia deserunt   mollit anim id est
laborum.
 /mx:htmlText
 /mx:Text
 mx:HRule width=100%/
 mx:Label width=100% htmlText=Posted by
 lt;bgt;{list.currentItem.FstName}lt;/bgt; /
 mx:HRule width=100%/

 /mx:Repeater

Actually I'm not sure I understand the problem.  In the second image
(Beta 1) [1], you said the Text component does not size correctly. 
That's not true - it does, doesn't it?  It's showing all the text. 
Can you explain a bit?

[1]: http://www.narcisten.be/flex/testBug2.jpg


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



 








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

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

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

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




RE: [flexcoders] Flex 2.0 beta1 text component bug : updated

2006-02-03 Thread Jonas Windey
Well in the alpha version it worked, what build are you running?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: vrijdag 3 februari 2006 11:09
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0 beta1 text component bug : updated

On 2/3/06, Jonas Windey [EMAIL PROTECTED] wrote:

 Lemme create an example that you can test.

 http://213.193.146.35/temp/flex/srcview/

 That's the code

 http://213.193.146.35/temp/flex/shot.jpg

 and that's a screenshot

Thanks - that's very helpful!

 As you see, in the first textbox there is no width specified, and it takes
a
 default width of 200px. The height is correct.

 In the second checkbox, the width is set to 100%. There's the bug, it
 shouldn't use that much height, since the text is only 4 lines high in
this
 box (height should also change upon resizing the window)

In my local build, it works as expected.  i.e. the second one takes up
only as much height as required.  Maybe it's a bug in Beta 1 that got
fixed afterwards.  You'll have to live with it until the next build it
out.


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



 







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

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

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

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





[flexcoders] Flex 2.0 beta1 text component bug

2006-02-02 Thread Jonas Windey










(reposted since previous message contained   and
didnt appear on the list)



Hi,



Im upgrading my tool I created in flex 2.0 alpha, and
Im having a problem with the mx:Text component.

Im using a VBox in a repeater to create a forumthread
like result:



mx:Repeater width=100% id=list
dataProvider={messages}


mx:VBox width=100%


mx:Text width=100%
htmlText={list.currentItem.message} /


mx:HRule width=100%/


mx:Label width=100% htmlText=Posted by
lt;bgt;{list.currentItem.FstName}lt;/bgt; /


 mx:HRule
width=100%/



/mx:VBox

/mx:Repeater



This was working great in the alpha version, but in the beta
theres a little problem. 

In alpha, the mx:Text was using the height it needed, so the
height of the VBox it was in increased as the text got longer, which is the
result I wanted.



In beta1 theres a little problem, since it seems the
mx:text takes the height as if it was like 100px wide, instead if its
actual width. Heres 2 screenshots to show the problem:



http://www.narcisten.be/flex/testBug1.jpg



Here you see the textbox using the total available width,
but if the textbox gets larger, it gives this:



http://www.narcisten.be/flex/testBug2.jpg



See the problem?



Any suggestions are appreciated.



Jonas











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Flex 2.0 beta1 mx:Text bug

2006-02-02 Thread Jonas Windey










Hi,



Im upgrading my tool I created in flex 2.0 alpha, and
Im having a problem with the mx:Text component.

Im using a VBox in a repeater to create a forumthread
like result:



mx:Repeater width=100% id=list
dataProvider={messages}

 mx:VBox width=100%

 mx:Text width=100%
htmlText={list.currentItem.message} /

 mx:HRule
width=100%/

 mx:Label width=100%
htmlText=Posted by
lt;bgt;{list.currentItem.FstName}lt;/bgt; /

  mx:HRule
width=100%/ 

 /mx:VBox

/mx:Repeater



This was working great in the alpha version, but in the beta
theres a little problem. 

In alpha, the mx:Text was using the height it needed, so the
height of the VBox it was in increased as the text got longer, which is the
result I wanted.



In beta1 theres a little problem, since it seems the mx:text
takes the height as if it was like 100px wide, instead if its actual
width. Heres 2 screenshots to show the problem:



http://www.narcisten.be/flex/testBug1.jpg



Here you see the textbox using the total available width,
but if the textbox gets larger, it gives this:



http://www.narcisten.be/flex/testBug2.jpg



See the problem?



Any suggestions are appreciated.



Jonas









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex 2.0 beta1 text component bug

2006-02-02 Thread Jonas Windey
Nope, even tried it with a lipsum text:

http://www.narcisten.be/flex/testBug3.jpg

I also looked in the new examples explorer, where they use mx:htmlText
instead of setting the text as an attribute, but no luck...

Code:

mx:Repeater id=list dataProvider={messages}
mx:Text minWidth=0 width=100% id=text1
mx:htmlTextLorem ipsum dolor sit amet, consectetur
adipisicing elit, sed do eiusmod tempor incididunt ut labore et
dolore magnaaliqua. Ut enim ad minim veniam, quis nostrud
exercitationullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in
voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt
in culpa qui officia deserunt   mollit anim id est laborum.
/mx:htmlText
/mx:Text
mx:HRule width=100%/
mx:Label width=100% htmlText=Posted by
lt;bgt;{list.currentItem.FstName}lt;/bgt; /
mx:HRule width=100%/

/mx:Repeater

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: donderdag 2 februari 2006 14:21
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0 beta1 text component bug

On 2/2/06, Jonas Windey [EMAIL PROTECTED] wrote:

 Here you see the textbox using the total available width, but if the
textbox gets larger, it gives this:

 http://www.narcisten.be/flex/testBug2.jpg

 See the problem?

Try setting the Text's minWidth to 0 (or something small).


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



 







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

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

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

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




RE: [flexcoders] Flex 2.0 Tree control dataprovider problem.

2005-12-26 Thread Jonas Windey
No luck, if I use event.result.node.node, I get a flash player 8.5 warning
stating:

TypeError: Error #1010: undefined has no properties.
at PixcoLabs/__catWS_result()
at flash.events::EventDispatcher/dispatchEvent()

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: maandag 26 december 2005 11:35
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0 Tree control dataprovider problem.

On 12/25/05, Jonas Windey [EMAIL PROTECTED] wrote:

 I'm experimenting a bit with flex 2.0 alpha, and I'm trying to use a
 webservice to provide the datasource of my tree control. I took the xml
 structure that can be found in the examples explorer, and made a
webservice
 that is giving exactly the same result:

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

  /node
  node label=Utilities


 Now comes the problem, when I give my treeview this result as datasource,
 the output isn't what it should be, as can be seen on this url:
 http://www.narcisten.be/pl_treeProblem.jpg

 I've tried setting the dataprovide as event.result.childNodes[0], but no
 luck.

Shouldn't that be event.result.node.node?

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



 






 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/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] Flex 2.0 Tree control dataprovider problem.

2005-12-24 Thread Jonas Windey
Hi all,

I'm experimenting a bit with flex 2.0 alpha, and I'm trying to use a
webservice to provide the datasource of my tree control. I took the xml
structure that can be found in the examples explorer, and made a webservice
that is giving exactly the same result:

?xml version=1.0 encoding=utf-8?
node
  node label=Technology
    node label=ASP.NET /
    node label=HTML/CSS /
    node label=Javascript /
    node label=SQL /
    node label=Tech Experiments /
  /node
  node label=Utilities
    node label=Client tools /
    node label=Server tools /
  /node
  node label=Design
    node label=Cool layouts /
    node label=Design experiments /
  /node
  node label=Usability
  /node
  node label=Off-topic
  /node
/node

Now comes the problem, when I give my treeview this result as datasource,
the output isn't what it should be, as can be seen on this url:
http://www.narcisten.be/pl_treeProblem.jpg

I've tried setting the dataprovide as event.result.childNodes[0], but no
luck.
Here's my code (without the markup)

mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
creationComplete=catWS.getCategories.send(); fontSize=11

...

mx:WebService result=catTree.dataProvider=event.result id=catWS
wsdl=http://localhost:1200/pixcoID/pixcoThoughts.asmx?WSDL;
showBusyCursor=true fault=Alert.show(event.fault.faultstring)
  mx:operation name=getCategories
    mx:request
  intAccountID
    1
  /intAccountID
    /mx:request
  /mx:operation
/mx:WebService


In the code example, the tree control uses a httpservice, and there you can
use event.result.node, which looks inside the xml to loop through the
correct nodes.

Any suggestions? Thanks in advance.

Jonas

        




 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/