Re: [flexcoders] OT: Workflow Management Suite?

2005-04-15 Thread Scott Barnes

aye.. you have me on that one...

still say flex is pricey... i mean i want my MetallicaRox0rz.com site
running in FLEX for 1k...  ;)




On 4/15/05, Matt Chotin [EMAIL PROTECTED] wrote:
  
  
 
 Ø   price is no concern, we need it yesterday.
  
  
 
   
 
 And people wonder why we sell to the enterprise ;-) 
  
  Yahoo! Groups Links
  
  
 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
   
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
Yahoo! Groups Links

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

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

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





[flexcoders] Re: how to get the windows domain user id of the loc al machine?

2005-04-15 Thread youngceflex


Thank you very much for your reply.

My Flex application will run in a server box, and be used within a 
domain.
What I want is to retrieve the user's login-ID to its own box(domain-
id), and make it the only one authorized login-ID to my flex 
application.

I tried to use System.getProperty(user.name) in remote object to do 
that, but unforturnately, I can only get the login-id of the Server 
box. I am wondering whether Flex can help me to retrieve the Client's 
login-ID.

Sincerely appreciate your help!





--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 The flash player doesn't have access to this information for 
security
 reasons.  What are you looking to do?
 
  
 
 Matt
 
  
 
   _  
 
 From: youngceflex [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, April 13, 2005 7:25 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] how to get the windows domain user id of the 
local
 machine?
 
  
 
 
 Use flex. Thank you.:)
 
 
 
 
 
 
   _  
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
 http://groups.yahoo.com/group/flexcoders/ 
   
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
   
 * Your use of Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/  Terms of Service.





 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Re: how to get the windows domain user id of the loc al machine?

2005-04-15 Thread Abdul Qabiz

Hi,

There are methods in server-side scripts for such details, I guess in java
servlets, you can look for getRemoteHost(), getRemoteUser(),
getUserPrincipal() etc...

Check out JSP/Java-servlet documentation...

-abdul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 12:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: how to get the windows domain user id of the loc
al machine?



Thank you very much for your reply.

My Flex application will run in a server box, and be used within a 
domain.
What I want is to retrieve the user's login-ID to its own box(domain-
id), and make it the only one authorized login-ID to my flex 
application.

I tried to use System.getProperty(user.name) in remote object to do 
that, but unforturnately, I can only get the login-id of the Server 
box. I am wondering whether Flex can help me to retrieve the Client's 
login-ID.

Sincerely appreciate your help!





--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 The flash player doesn't have access to this information for 
security
 reasons.  What are you looking to do?
 
  
 
 Matt
 
  
 
   _  
 
 From: youngceflex [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, April 13, 2005 7:25 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] how to get the windows domain user id of the 
local
 machine?
 
  
 
 
 Use flex. Thank you.:)
 
 
 
 
 
 
   _  
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
 http://groups.yahoo.com/group/flexcoders/ 
   
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
   
 * Your use of Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/  Terms of Service.





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





[flexcoders] file sent?

2005-04-15 Thread Shell Bryson










Did someone send a file to this group last night? Got a
weird security message and a quarantined attachment that looks like it MAY have
come from here *shrug*



Shell











Yahoo! Groups Links

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












[flexcoders] Re: any ideas about flex client side caching?

2005-04-15 Thread zhfbanks


HI, 
I tried SharedObject. It is perfect. But I ocurs another problem. Only
the same swf can read the cache context.
For example:
I write a simple mxml file: test1.mxml:
mx:Script
![CDATA[
function save(){
var so= SharedObject.getLocal('myCookie');
var str:String = text.text;
so.data.string = str;
var sucess:String = so.flush(10);
alert(sucess);
}
function ini(){
var so= SharedObject.getLocal(myCookie);
var str:String = so.data.string;
alert(str);
}
]]

and in text2.mxml:
function ini(){
var so= SharedObject.getLocal(myCookie);
var str:String = so.data.string;
alert(str);

The results in the two are different.
when browsing http:\\\\text2.mxml, I find that the alert shows
blank while rebrowsing http:\\text1.mxml, I find the alert shows some
letters I saved.

Am I do something wrong?

--- In flexcoders@yahoogroups.com, Matthew Shirey [EMAIL PROTECTED] wrote:
 Just be careful about how much you store in the SharedObject. By
default the 
 client is set to accept up to 100k A 'Huge' dataset might exceed
that. If 
 you exceed that about I think the client then asks the user if more
space 
 can be allocated. I've just started using a SharedObject; I'm a little 
 paranoid about asking users wierd questions, so I'm trying to keep
it fairly 
 limited.
 
 -- Matthew
 
 On 4/14/05, Abdul Qabiz [EMAIL PROTECTED] wrote:
  
  
  Hi,
  
  You can cache object on client in SharedObject. So you can
serialize a 
  class
  to SharedObject on client and later deserialize to use in application.
  
  For example, you fetch a huge dataset from server(via xml, http or
  remoteobject), you can serialize it to SharedObject and show a
part of it 
  in
  front-end when required. This way you can avoid network calls and
memory
  problems...
  
  -abdul
  
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Thursday, April 14, 2005 10:33 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] any ideas about flex client side caching?
  
  Hi,all,
  In Christophe's blog, we can code our own class to
  cache data. Does flex provider some other solutions
  for the client_side caching?
  
  Best Regards
  Feng
  
  _
  Do You Yahoo!?
  150ÍòÇúMP3·è¿ñËÑ£¬´øÄú´³ÈëÒôÀÖµîÌÃ
  http://music.yisou.com/
  ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ
  http://image.yisou.com
  1G¾ÍÊÇ1000Õ×£¬ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡
  
 
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1
  g/
  
  Yahoo! Groups Links
  
  Yahoo! Groups Links
  
  
  
  
 





 
Yahoo! Groups Links

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

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

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





[flexcoders] Re: any ideas about flex client side caching?

2005-04-15 Thread zhfbanks


The size is not a problem.
You can call System.showSettings(1) to modify the size.
--- In flexcoders@yahoogroups.com, Matthew Shirey [EMAIL PROTECTED] wrote:
 Just be careful about how much you store in the SharedObject. By
default the 
 client is set to accept up to 100k A 'Huge' dataset might exceed
that. If 
 you exceed that about I think the client then asks the user if more
space 
 can be allocated. I've just started using a SharedObject; I'm a little 
 paranoid about asking users wierd questions, so I'm trying to keep
it fairly 
 limited.
 
 -- Matthew
 
 On 4/14/05, Abdul Qabiz [EMAIL PROTECTED] wrote:
  
  
  Hi,
  
  You can cache object on client in SharedObject. So you can
serialize a 
  class
  to SharedObject on client and later deserialize to use in application.
  
  For example, you fetch a huge dataset from server(via xml, http or
  remoteobject), you can serialize it to SharedObject and show a
part of it 
  in
  front-end when required. This way you can avoid network calls and
memory
  problems...
  
  -abdul
  
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Thursday, April 14, 2005 10:33 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] any ideas about flex client side caching?
  
  Hi,all,
  In Christophe's blog, we can code our own class to
  cache data. Does flex provider some other solutions
  for the client_side caching?
  
  Best Regards
  Feng
  
  _
  Do You Yahoo!?
  150ÍòÇúMP3·è¿ñËÑ£¬´øÄú´³ÈëÒôÀÖµîÌÃ
  http://music.yisou.com/
  ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ
  http://image.yisou.com
  1G¾ÍÊÇ1000Õ×£¬ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡
  
 
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1
  g/
  
  Yahoo! Groups Links
  
  Yahoo! Groups Links
  
  
  
  
 





 
Yahoo! Groups Links

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

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

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





[flexcoders] SAP jobs in the USA

2005-04-15 Thread k v




Please send your resume to [EMAIL PROTECTED]

MARS Groups is a Singapore based holding company. Our group company in California, USA, is looking for suitably qualified SAP 
functional consultants to fill up contract positions of duration 6 months to 3 years. These position will be based around the 
USA. 
Candidates who are currently in the USA (or outside) (on L1, H1B or any other valid USA work visa) will be given priority. 
Apart from this, candidates who are in the Asia-Pac region will be given preference.
Above all application from suitable candidates who can start work immediately, will be processed on priority basis.

Please send Resume with complete contact details, Availability and Salary / Rate expectation to [EMAIL PROTECTED]

The Role  Job scope:-
1. SAP FI – CO Functional Consultant Candidate must have atleast 8 to 10 years of functional experience in Finance followed by about 3 to 4 years in SAP 
implementation experience.  Should have extensive configuration experience.  Candidates must have done hands on configuration on FI/AR/AP, CO-Profitability Analysis, CO-Profit Centre Accounting  CO 
– Cost Center Accounting.  Knowledge of ABAP will be useful too.
2. SAP SD Functional Consultant Candidate should be sound with standard SAP processing in SD Functonal area  Candidate must be able to suggest solution, using standard SAP processes, when given real-life business requirements.  Candidate should be independent and be able work with other functional and technical consultants.  Candidate should have knowledge in ABAP; to spot logical error in ABAP. (Candidate is not expected to Code)
3. SAP MM Functional Consultant Must have at least 3-5 years work experience as SAP MM Functional Consultant  Must have at least 2 full cycle implementations  Must possess excellent communication skills
4. SAP PP Functional consultants Minimum five (5) years of SAP implementation experience in PP module with at least two (2) full life cycle implementations  Techno-functional skills required, with hands on experience in ABAP and SAP Scripts  Strong organisation, co-ordination, communication, presentation, synthesis and reporting skills  Excellent problem solving and analytical skills  Sound understanding of implementation methodologies such as ASAP or equivalent  Sound understanding of overall SAP R/3 features and functionality is advantageous
5. SAP PM Functional consultant 2 - 4 years of experience in SAP Plant Maintenance  Gone through at least 2 full cycles of SAP PM implementations and roll-outs  Prior experience in a support  maintenance function is an added advantageAcademic Requirements for all roles / positions.A good degree in an IT discipline
Work Requirements for all roles / positions. Perform a variety of complex or straightforward tasks within the scope of the function  Assist in the identification, assessment and resolution of complex issues/problems  Assess and resolve non-standard/standard issues/problems largely on own initiative  Decide within an available range of solutions/practices, which solutions/practices are the most applicable  Seek advice on and escalate issues when faced with tasks/problems outside normal scope of job  Exhibit working knowledge of functional areas by calling on previous job experience and training  Be a self-motivated, enthusiastic team player with excellent written and verbal communication skills
*
		Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site! 







Yahoo! Groups Links

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










Re: [flexcoders] SAP jobs in the USA

2005-04-15 Thread Scott Barnes
wtf!!...



On 4/15/05, k v [EMAIL PROTECTED] wrote:
  
 Please send your resume to [EMAIL PROTECTED]
  
 MARS Groups is a Singapore based holding company. Our group company in
 California, USA, is looking for suitably qualified SAP 
 functional consultants to fill up contract positions of duration 6 months to
 3 years. These position will be based around the 
 USA. 
 Candidates who are currently in the USA (or outside) (on L1, H1B or any
 other valid USA work visa) will be given priority. 
 Apart from this, candidates who are in the Asia-Pac region will be given
 preference.
 Above all application from suitable candidates who can start work
 immediately, will be processed on priority basis.
  
 Please send Resume with complete contact details, Availability and Salary /
 Rate expectation to [EMAIL PROTECTED]
  
 The Role   Job scope:-
 1. SAP FI  CO Functional Consultant
Candidate must have atleast 8 to 10 years of functional experience in
 Finance followed by about 3 to 4 years in SAP 
 implementation experience. 
Should have extensive configuration experience. 
Candidates must have done hands on configuration on FI/AR/AP,
 CO-Profitability Analysis, CO-Profit Centre Accounting  CO 
  Cost Center Accounting. 
Knowledge of ABAP will be useful too.
 2. SAP SD Functional Consultant
Candidate should be sound with standard SAP processing in SD Functonal
 area 
Candidate must be able to suggest solution, using standard SAP processes,
 when given real-life business requirements. 
Candidate should be independent and be able work with other functional
 and technical consultants. 
Candidate should have knowledge in ABAP; to spot logical error in ABAP.
 (Candidate is not expected to Code)
 3. SAP MM Functional Consultant
Must have at least 3-5 years work experience as SAP MM Functional
 Consultant 
Must have at least 2 full cycle implementations 
Must possess excellent communication skills
 4. SAP PP Functional consultants
Minimum five (5) years of SAP implementation experience in PP module with
 at least two (2) full life cycle implementations 
Techno-functional skills required, with hands on experience in ABAP and
 SAP Scripts 
Strong organisation, co-ordination, communication, presentation,
 synthesis and reporting skills 
Excellent problem solving and analytical skills 
Sound understanding of implementation methodologies such as ASAP or
 equivalent 
Sound understanding of overall SAP R/3 features and functionality is
 advantageous
 5. SAP PM Functional consultant
2 - 4 years of experience in SAP Plant Maintenance 
Gone through at least 2 full cycles of SAP PM implementations and
 roll-outs 
Prior experience in a support  maintenance function is an added
 advantage
 Academic Requirements for all roles / positions.
 A good degree in an IT discipline
 Work Requirements for all roles / positions.
Perform a variety of complex or straightforward tasks within the scope of
 the function 
Assist in the identification, assessment and resolution of complex
 issues/problems 
Assess and resolve non-standard/standard issues/problems largely on own
 initiative 
Decide within an available range of solutions/practices, which
 solutions/practices are the most applicable 
Seek advice on and escalate issues when faced with tasks/problems outside
 normal scope of job 
Exhibit working knowledge of functional areas by calling on previous job
 experience and training 
Be a self-motivated, enthusiastic team player with excellent written and
 verbal communication skills
 *
 
 
 
 Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
 
 Yahoo! Groups Links
 
 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
   
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
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] SAP jobs in the USA

2005-04-15 Thread Steven Webster

Guys,
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes
 Sent: 15 April 2005 10:17
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] SAP jobs in the USA
 
 wtf!!...
 
   
  Please send your resume to [EMAIL PROTECTED]


Please just ignore any such emails that come in to the list; I ban these
job posters the second the posts come in, and we're lucky if we get
a job ad every 6 or 8 weeks.

If you do want to vent frustration like I have before, then John Dowdell
blogged on my previous effort

http://www.markme.com/jd/archives/006439.cfm

Steven


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 14/04/2005
 



 
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] SAP jobs in the USA

2005-04-15 Thread Scott Barnes

hehe.

I still say the world would not shed one single tear if the person who
invented spam were to be whipped at the post

Good luck in the fight against spam, and FLEX speed.

On 4/15/05, Steven Webster [EMAIL PROTECTED] wrote:
 
 Guys,
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes
  Sent: 15 April 2005 10:17
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] SAP jobs in the USA
 
  wtf!!...
 
  
   Please send your resume to [EMAIL PROTECTED]
 
 Please just ignore any such emails that come in to the list; I ban these
 job posters the second the posts come in, and we're lucky if we get
 a job ad every 6 or 8 weeks.
 
 If you do want to vent frustration like I have before, then John Dowdell
 blogged on my previous effort
 
 http://www.markme.com/jd/archives/006439.cfm
 
 Steven
 
 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 14/04/2005
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
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] File upload from Jimmy Gianninas Prob

2005-04-15 Thread tangomann123


Hi, im new to flex and read the article about fileupload from Jimmy
Gianninas. Everything works fine but the refresh of the main app wont
work with my code. 

i copied the part of the upload.jsp just like in the example:
mm:mxml
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
width=1 height=1 initialize=initialize()
mx:Script
var myConnection;
function initialize() {
myConnection = new LocalConnection();
myConnection.send(mainApp, messagePosted, uploadSuccess);
myConnection.onStatus = mx.utils.Delegate.create( this, onStatus );

}

function onStatus( result ) {
getURL( javascript:doClose() );
}

/mx:Script
/mx:Application
/mm:mxml

script language=Javascript
function doClose() {
window.close();
}
/script

Here is the code of my main as file:
function initApp():Void {
myConnection = new LocalConnection();
myConnection.messagePosted = mx.utils.Delegate.create( this,
messagePosted );
myConnection.connect(mainApp);
}

public function messagePosted( mess:Object ):Void {
alert(1);
if( mess == uploadSuccess ) {
alert(hi);
}
}


The Problem is: nothing happens after the file upload. (ok the js
works fine and closes the popup).





 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Re: Popup only works once

2005-04-15 Thread Steven Webster

 Cairngorm .99 should have the ability to unregister view 
 helpers from the ViewLocator so when this is released you 
 will need to unregister the View in the destruction sequence 
 of the popup. In the mean time there are these options (may 
 be more out there):

Alistair released a patch for Cairngorm some months ago to address this; the
patch will be part of the forthcoming 0.99 release:

The URL on Yahoogroups is:
 
http://groups.yahoo.com/group/flexcoders/message/6148
 
Here's the gist of the email:
 
  public function initialized( view : Object, id : String ) : Void
   {
  this.view = view;
  this.id = id;
  ViewLocator.getInstance().register( id, this );
  
  view.addEventListener( unload, Delegate.create( this, unregisterView
) );
   } 
 
   private function unregisterView() : Void
   {
  ViewLocator.getInstance().unregister( id );
   }
   private var id : String;
   private var view : Object;
 

Add that to the ViewHelper base-class, and it gives you a method that allows
you to
unregister the view; the motivation for this was people that were using
ViewHelper inside
Popup windows; when the popup window was destroyed with deletePopUp() it was
deleting the view, but keeping the ViewHelper reference - so we now ask
people to
explicitly unregister views in popups when they are destroyed.

Hope that helps in the interim.

Best,

Steven

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

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 14/04/2005
 



 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Re: any ideas about flex client side caching?

2005-04-15 Thread Abdul Qabiz

Hi,

You can allow all swfs from a domain to read/write to same SharedObject,

There is second parameter to SharedObject.getLocal(..,..) method. Read about
in docs.


var so = SharedObject.getLocal('myCookie', /);


This way all swfs in same domain have access to myCookie SO...But remember
there name collision issues, so read the docs properly...

http://livedocs.macromedia.com/flex/15/flex_docs_en/1668.htm



-abdul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 1:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: any ideas about flex client side caching?



HI, 
I tried SharedObject. It is perfect. But I ocurs another problem. Only
the same swf can read the cache context.
For example:
I write a simple mxml file: test1.mxml:
mx:Script
![CDATA[
function save(){
var so= SharedObject.getLocal('myCookie');
var str:String = text.text;
so.data.string = str;
var sucess:String = so.flush(10);
alert(sucess);
}
function ini(){
var so= SharedObject.getLocal(myCookie);
var str:String = so.data.string;
alert(str);
}
]]

and in text2.mxml:
function ini(){
var so= SharedObject.getLocal(myCookie);
var str:String = so.data.string;
alert(str);

The results in the two are different.
when browsing http:\\\\text2.mxml, I find that the alert shows
blank while rebrowsing http:\\text1.mxml, I find the alert shows some
letters I saved.

Am I do something wrong?

--- In flexcoders@yahoogroups.com, Matthew Shirey [EMAIL PROTECTED] wrote:
 Just be careful about how much you store in the SharedObject. By
default the 
 client is set to accept up to 100k A 'Huge' dataset might exceed
that. If 
 you exceed that about I think the client then asks the user if more
space 
 can be allocated. I've just started using a SharedObject; I'm a little 
 paranoid about asking users wierd questions, so I'm trying to keep
it fairly 
 limited.
 
 -- Matthew
 
 On 4/14/05, Abdul Qabiz [EMAIL PROTECTED] wrote:
  
  
  Hi,
  
  You can cache object on client in SharedObject. So you can
serialize a 
  class
  to SharedObject on client and later deserialize to use in application.
  
  For example, you fetch a huge dataset from server(via xml, http or
  remoteobject), you can serialize it to SharedObject and show a
part of it 
  in
  front-end when required. This way you can avoid network calls and
memory
  problems...
  
  -abdul
  
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Thursday, April 14, 2005 10:33 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] any ideas about flex client side caching?
  
  Hi,all,
  In Christophe's blog, we can code our own class to
  cache data. Does flex provider some other solutions
  for the client_side caching?
  
  Best Regards
  Feng
  
  _
  Do You Yahoo!?
  150ÍòÇúMP3·è¿ñËÑ£¬´øÄú´³ÈëÒôÀÖµîÌÃ
  http://music.yisou.com/
  ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ
  http://image.yisou.com
  1G¾ÍÊÇ1000Õ×£¬ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡
  
 
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1
  g/
  
  Yahoo! Groups Links
  
  Yahoo! Groups Links
  
  
  
  
 





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] file sent?

2005-04-15 Thread Abdul Qabiz





I did sent a file, that contained C# program...Let me know, 
if your anit-virus program detected something bad in 
it...

BTW! My 
anti-virus is updated daily or whenever there is update 
available

-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 1:28 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] file 
sent?


Did someone send a file to this 
group last night? Got a weird security message and a quarantined attachment that 
looks like it MAY have come from here *shrug*

Shell







Yahoo! Groups Links

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










RE: [flexcoders] File upload from Jimmy Gianninas Prob

2005-04-15 Thread Dimitrios Gianninas





Hi,

Would you happen to have more 
than Flex UI running when running the example? If yes, the it might be the temp 
UI generated in the upload.jsp is communicating with the wrong main Flex UI... I 
have seen this happen myself. 

I don't think there is any way 
around this, the Flex UI in the upload.jsp will attempt to register with the 
first Flex UI is finds, so if it doesn't happen to be the one you want, then the 
messages won't be received by the proper UI. That's how I understand it 
anyways.

Jimmy 
Gianninas
Software Developer - 
Optimal Payments 
Inc.



From: tangomann123 [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 7:29 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] File upload from 
Jimmy Gianninas Prob
Hi, im new to flex and read the article about fileupload from 
JimmyGianninas. Everything works fine but the refresh of the main app 
wontwork with my code. i copied the part of the upload.jsp just like 
in the example:mm:mxmlmx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"width="1" 
height="1" 
initialize="initialize()"mx:Script 
var myConnection; function initialize() 
{ myConnection = new 
LocalConnection(); 
myConnection.send("mainApp", "messagePosted", 
uploadSuccess"); myConnection. this, onStatus ); 
  
  
} function onStatus( result ) 
{  getURL( 
"_javascript_:doClose()" ); 
}/mx:Script/mx:Application/mm:mxmlscript 
language="_javascript_" function doClose() 
{  
window.close(); 
}/scriptHere is the code of my main as file:function 
initApp():Void { myConnection = new 
LocalConnection(); myConnection.messagePosted 
= mx.utils.Delegate.create( this,messagePosted 
); 
myConnection.connect("mainApp");}public function messagePosted( 
mess:Object ):Void { 
alert("1"); if( mess == "uploadSuccess" ) 
{  
alert("hi"); }}The Problem is: 
nothing happens after the file upload. (ok the jsworks fine and closes the 
popup).







Yahoo! Groups Links

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










RE: [flexcoders] Namespace Inheritance??

2005-04-15 Thread Dimitrios Gianninas





In the DueDiligence.mxml, you 
must have:


?xml 
version="1.0" encoding="utf-8"?
mx:Canvas 

 
xmlns:mx=http://www.macromedia.com/2003/mxml
 
xmlsns:com="assents.comp.*"
 
width="100%" 
 
height="100%"
 

 
comp:StatePicker 
id="comp_c_state""/

Jimmy 
Gianninas
Software Developer - 
Optimal Payments 
Inc.



From: Minster, Jack 
[mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 2:25 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Namespace Inheritance??


Can someone point me in the right 
direction here

I have a file, index.mxml, that uses 
an mxml component DueDiligence.mxml in a subdirectory structure. 
DueDiligence.mxml uses an mxml component StatePicker.mxml in a different sub 
directory structure. Ive discovered that I cannot uses the StatePicker 
component in the DueDiligence component without defining the proper namespace, 
however the StatePicker component sits in a parallel directory to the directory 
in which DueDiligence sits. Should I scrap the sub-directory structure, or 
is there a better approach??? Do I just not know the proper syntax for 
relative namespace references???

/index.mxml
?xml 
version="1.0" encoding="utf-8"?
mx:Application 
xmlns:mx="http://www.macromedia.com/2003/mxml"
 
xmlns:mod="assets.mods.*"
 
xmlns:comp="assets.comps.*"
 
xmlns="*" 
 
themeColor="#9DC4FD" 
 
initialize="initApp()" 
 
pageTitle="Corporate Security"
 
.
 
mod:DueDiligence id="mod_dd" label="Due 
Diligence"/
 
.


/assets/mods/DueDiligence.mxml
?xml 
version="1.0" encoding="utf-8"?
mx:Canvas 

 
xmlns:mx="http://www.macromedia.com/2003/mxml"
 
width="100%" 
 
height="100%"
 

 
comp:StatePicker id="comp_c_state""/
 



/assets/comps/StatePicker.mxml
?xml 
version="1.0" encoding="utf-8"?
mx:HBox 
xmlns:mx="http://www.macromedia.com/2003/mxml" width="100%" 
height="100%"


Getting this 
compilation error:
Error 
/corpsec/assets/mods/DueDiligence.mxml:25 

The prefix "comp" 
for element "comp:StatePicker" is not bound.


thanks!


Jack D. 
Minster
Web Applications 
Developer
Corporate Web 
Applications
[EMAIL PROTECTED]

Playboy Enterprises, 
Inc.
680 N. Lake Shore 
Drive
Chicago, 
IL 60611








Yahoo! Groups Links

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










[flexcoders] problem with TileList

2005-04-15 Thread Duccio





Hi, 
iamstudying the Foto viewer 
example.I have a problem loading images in a TileList, seems like no 
image loads. If i use cellRenderer and dataProvider of TileList 
everything's ok.Here is the source code:

Application intialize
function initApp() 
{albumSrv.send();

}

function albumSrvResult(event) 
{album=albumSrv.result.album;photoCount=album.photo.length;list.selectedIndex=0;currentPhoto=album.photo[list.selectedIndex];var 
thumb:Thumbnail;

for (var i=0; iphotoCount; i++) 
{thumb=new Thumbnail();thumb.setValue(i, 
album.photo[i]); list.addItem(thumb); //the 
TileList }}
?xml version="1.0" 
encoding="utf-8"?

Thumbnail.mxml
mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml" 
vScrollPolicy="off" 
hScrollPolicy="off" 
borderStyle="none" 
horizontalAlign="center" 
mx:Script var data: 
Object;

 function 
setValue(str: String, item: Object) 
{ if (data 
== item) 
return; if 
(item==undefined) 
{ 
visible = 
false; 
return; } 
else 
{ 
img.visible = 
false; 
data="">img.load=data.thumb;img.visible=true; 
visible=true;mx.core.Application.alert("data 
thumb :" 
+data.thumb); 
} }function 
setWidth(width: Number) 
{//mx.core.Application.alert("testProperty :" 
+width);img.width=width; 
}

 /mx:Script  
mx:Image id="img" /

/mx:VBox







Yahoo! Groups Links

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








No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 14/04/2005


RE: [flexcoders] Re: Popup only works once

2005-04-15 Thread Ben Elmore

Missed that email, thanks for the repost.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Steven Webster
Sent: Friday, April 15, 2005 7:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Popup only works once



 Cairngorm .99 should have the ability to unregister view
 helpers from the ViewLocator so when this is released you 
 will need to unregister the View in the destruction sequence 
 of the popup. In the mean time there are these options (may 
 be more out there):

Alistair released a patch for Cairngorm some months ago to address this; the
patch will be part of the forthcoming 0.99 release:

The URL on Yahoogroups is:
 
http://groups.yahoo.com/group/flexcoders/message/6148
 
Here's the gist of the email:
 
  public function initialized( view : Object, id : String ) : Void
   {
  this.view = view;
  this.id = id;
  ViewLocator.getInstance().register( id, this );
  
  view.addEventListener( unload, Delegate.create( this, unregisterView
) );
   } 
 
   private function unregisterView() : Void
   {
  ViewLocator.getInstance().unregister( id );
   }
   private var id : String;
   private var view : Object;
 

Add that to the ViewHelper base-class, and it gives you a method that allows
you to unregister the view; the motivation for this was people that were
using ViewHelper inside Popup windows; when the popup window was destroyed
with deletePopUp() it was deleting the view, but keeping the ViewHelper
reference - so we now ask people to explicitly unregister views in popups
when they are destroyed.

Hope that helps in the interim.

Best,

Steven

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

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 14/04/2005
 



 
Yahoo! Groups Links



 







 
Yahoo! Groups Links

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

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

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





[flexcoders] HTTPService xmlEncoder

2005-04-15 Thread viraf_bankwalla


Hi,

I have a HTTPService for which I have written a xmlDecoder to build my 
VOs from data received from my service.  I am not about to send data 
to the service, and was wondering if using the xmlEncoder was an 
overkill - my decoder could just as easily build the XML document as a 
string.

What are the pro's and cons of each ?

Thanks.





 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] MXMXL Editor

2005-04-15 Thread Abdul Qabiz

Yeah, that's a good way :) 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 5:29 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] MXMXL Editor


Well what I now did is creating a project in the folder where I have my
central classes.

And when I start a new project I add that project to the current
projects workspace. Works like a charm :)

Greetz Erik
 

-Original Message-
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: donderdag 14 april 2005 15:32
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] MXMXL Editor


You can probably check at Primalscript support forums, they might be
knowing something... 

-abdul



 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] HTTPService xmlEncoder

2005-04-15 Thread Abdul Qabiz

 my decoder could just as easily build the XML document as a 
 string.
You mean a XML string or XML to name-value pairs...

If you want to convert a XML object to string, you can do _xml.toString(),
it would give you entire xml structure as string...

Does your encoder do same?

-abdul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 6:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTTPService xmlEncoder



Hi,

I have a HTTPService for which I have written a xmlDecoder to build my 
VOs from data received from my service.  I am not about to send data 
to the service, and was wondering if using the xmlEncoder was an 
overkill - my decoder could just as easily build the XML document as a 
string.

What are the pro's and cons of each ?

Thanks.





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





[flexcoders] Scroll Wheel

2005-04-15 Thread Rich Tretola

Anyone know how to activate the mouse scroll wheel to scroll panels
that have scroll bars ?

Rich


 
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 NCL

2005-04-15 Thread Rich Tretola

Thanks Matt,  I am very interested in getting my blog up but don't
want to launch it without Flex running on the server..

Rich Tretola

On 4/14/05, Matt Chotin [EMAIL PROTECTED] wrote:
 
 Just letting you know that Lucian said he'd look into what's up with the
 licenses.  The process is very manual right now.  We did a push a while ago
 to get through all the backed up applications but it appears we've fallen
 behind again.  Please stay patient.
 
 Matt
 
 
 Yahoo! Groups Links
 
 
 
 



 
Yahoo! Groups Links

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

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

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





Re: [flexcoders] how to make an object active?

2005-04-15 Thread Craig Newroth



thanks jester, that helped and thanks to Steven Webster's book, chapter 7 :-)
here is what worked and what I did...

mx:Scriptfunction changeOther( event ){if ( event.target == summaryCHB )detailCHB.enabled = !detailCHB.enabled;if ( event.target == detailCHB )summaryCHB.enabled = !summaryCHB.enabled;}/mx:Script
mx:FormItem  mx:CheckBox label="Summary" labelPlacement="bottom" id="summaryCHB" click="changeOther( event );"/ /mx:FormItem mx:FormItem mx:CheckBox label="Detail" labelPlacement="bottom" id="detailCHB" click="changeOther( event );"/ /mx:FormItem
Craig Newroth
JesterXL [EMAIL PROTECTED] wrote:
Check out the enabled property, almost all controls support this gem.radioButton.enabled = false;- Original Message - From: "cnewroth55" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, April 14, 2005 10:10 AMSubject: [flexcoders] how to make an object active?Here's a quickie that I am sure someone can answer pretty quickly; I have a radio group that has x number of items, and what I want to do is make a coulple of checkboxes either be greyed out (active) or in-active depending on which radiobutton a user clicks on; my code:if a user click on the first radiobutton I want the summary check box to be active and the detail check box to gey out...can reply to [EMAIL PROTECTED] or
 here... mx:RadioButtonGroup id="thrustReportsGroup" / mx:RadioButton label="All" groupName="thrustReportsGroup" x="24" y="14" / mx:RadioButton label="ASMT - Affordable Structures amp; Mfg. Tech." groupName="thrustReportsGroup" x="24" y="34" / mx:RadioButton label="ALE - Advanced Lean amp; Efficient" groupName="thrustReportsGroup" x="24" y="54" / mx:RadioButton label="ASC - Advanced Support Concepts" groupName="thrustReportsGroup" x="24" y="74" / mx:RadioButton label="APS -
 Advanced Platform Systems" groupName="thrustReportsGroup" x="24" y="94" / mx:RadioButton label="NCO - Netcentric Operations" groupName="thrustReportsGroup" x="24" y="114" / /mx:VBox mx:VBox mx:FormItem label="Summary" mx:CheckBox label="Checkbox" / /mx:FormItem mx:FormItem label="Detail" mx:CheckBox label="Checkbox" /
 /mx:FormItem /mx:VBoxYahoo! Groups Links
		Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site! 







Yahoo! Groups Links

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










[flexcoders] how to remove the background color on a link tag

2005-04-15 Thread cnewroth55


How do I make either a mx:link tag's solid background go away? I 
just want the text to show up and when I mouseover it it change color, 
like what pillardata.com did on their menu at top?






 
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] problem with TileList

2005-04-15 Thread Kristopher Schultz





Duccio,

I think the problem is this line:

 img.load=data.thumb;

You are using "load" as if it were a settable property, but 
it is actually a method of the the Image class and would therefore be used with 
the following syntax:

 img.load(data.thumb)

Alternately, you could set the "source" property of the img 
object to achieve the same result:

 
img.source = data.thumb


Kris

-- 

Kristopher Schultz
Developer

Resource Interactive
p: 614.410.2123
www.resource.com


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of DuccioSent: 
  Friday, April 15, 2005 8:01 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] problem with 
  TileList
  
  Hi, 
  iamstudying the Foto viewer 
  example.I have a problem loading images in a TileList, seems like 
  no image loads. If i use cellRenderer and dataProvider of TileList 
  everything's ok.Here is the source code:
  
  Application intialize
  function initApp() 
  {albumSrv.send();
  
  }
  
  function albumSrvResult(event) 
  {album=albumSrv.result.album;photoCount=album.photo.length;list.selectedIndex=0;currentPhoto=album.photo[list.selectedIndex];var 
  thumb:Thumbnail;
  
  for (var i=0; iphotoCount; i++) 
  {thumb=new Thumbnail();thumb.setValue(i, 
  album.photo[i]); list.addItem(thumb); //the 
  TileList }}
  ?xml version="1.0" 
  encoding="utf-8"?
  
  Thumbnail.mxml
  mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml" 
  vScrollPolicy="off" 
  hScrollPolicy="off" 
  borderStyle="none" 
  horizontalAlign="center" 
  mx:Script var data: 
  Object;
  
   
  function setValue(str: String, item: Object) 
  { if 
  (data == item) 
  return; 
  if (item==undefined) 
  { 
  visible = 
  false; 
  return; 
  } else 
  { 
  img.visible = 
  false; 
  data="">img.load=data.thumb;img.visible=true; 
  visible=true;mx.core.Application.alert("data 
  thumb :" 
  +data.thumb); 
  } }function 
  setWidth(width: Number) 
  {//mx.core.Application.alert("testProperty :" 
  +width);img.width=width; 
  }
  
   /mx:Script 
   mx:Image id="img" /
  
  /mx:VBox







Yahoo! Groups Links

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










RE: [flexcoders] MXMXL Editor

2005-04-15 Thread Chafic Kazoun

You can set a global classpath in primalscript by going to tools  options 
Environment  Directories.  There you will see AS classpath.  

Thanks

Chafic
http://www.blinex.com
blog: http://www.rewindlife.com
Team Macromedia Member

-Original Message-
From: Erik Westra [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 8:47 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] MXMXL Editor

A question about primascript. 

I have all my classes in a central location. In Flash MX 2004 I set a
classpath. How can I set a classPath with primalscript?


Greetz Erik


-Original Message-
From: Rich Tretola [mailto:[EMAIL PROTECTED] 
Sent: donderdag 14 april 2005 14:24
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] MXMXL Editor


Primalscript, love it.

Rich





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]
mailto:[EMAIL PROTECTED] 
  
*   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
http://docs.yahoo.com/info/terms/ . 




 
Yahoo! Groups Links

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

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

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





[flexcoders] Newton, MA Flex rep?

2005-04-15 Thread mpgwolf


Hi,

Just wondering if anyone has the direct contact info for whoever is 
the Flex rep in the Newton, MA (USA) office?  My company has decided 
to start evaluating Flex for an upcoming release of our banking 
software, but the architecture and UI teams need to be brought up to 
speed and they have a series of questions they'd like to ask a MM rep 
directly.  

Anyway if Matt, Lucian, etc have any contact info they could post that 
would be great.  I've already left messages in the voice mail limbo I 
got sent to when I've called the office directly, but haven't heard 
anything back and we're trying to line up something within the next 
week or so.  Many thanks in advance.

Mike





 
Yahoo! Groups Links

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

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

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





Re: [flexcoders] problem with TileList

2005-04-15 Thread Duccio





Thanks Kristopher,
iwas tryingwith img.source so i did 
that mistake. I have already done the correction but the problem is that i 
don't see images yet. I see the items added to TileList and they're selectable 
but with no image in it. If i use cellRenderer and dataProvider of 
TileList everything's ok.
Duccio


  - Original Message - 
  From: 
  Kristopher 
  Schultz 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, April 15, 2005 5:09 
PM
  Subject: RE: [flexcoders] problem with 
  TileList
  
  Duccio,
  
  I think the problem is this line:
  
   img.load=data.thumb;
  
  You are using "load" as if it were a settable property, 
  but it is actually a method of the the Image class and would therefore be used 
  with the following syntax:
  
   img.load(data.thumb)
  
  Alternately, you could set the "source" property of the 
  img object to achieve the same result:
  
   
  img.source = data.thumb
  
  
  Kris
  
  -- 
  
  Kristopher Schultz
  Developer
  
  Resource Interactive
  p: 614.410.2123
  www.resource.com
  
  


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
DuccioSent: Friday, April 15, 2005 8:01 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] problem with 
TileList

Hi, 
iamstudying the Foto viewer 
example.I have a problem loading images in a TileList, seems 
like no image loads. If i use cellRenderer and dataProvider of 
TileList everything's ok.Here is the source code:

Application intialize
function initApp() 
{albumSrv.send();

}

function albumSrvResult(event) 
{album=albumSrv.result.album;photoCount=album.photo.length;list.selectedIndex=0;currentPhoto=album.photo[list.selectedIndex];var 
thumb:Thumbnail;

for (var i=0; iphotoCount; i++) 
{thumb=new Thumbnail();thumb.setValue(i, 
album.photo[i]); list.addItem(thumb); //the 
TileList }}
?xml version="1.0" 
encoding="utf-8"?

Thumbnail.mxml
mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml" 
vScrollPolicy="off" 
hScrollPolicy="off" 
borderStyle="none" 
horizontalAlign="center" 
mx:Script var data: 
Object;

 
function setValue(str: String, item: Object) 
{ if 
(data == item) 
return; 
if (item==undefined) 
{ 
visible = 
false; 
return; 
} else 
{ 
img.visible = 
false; 
data="">img.load=data.thumb;img.visible=true; 
visible=true;mx.core.Application.alert("data 
thumb :" 
+data.thumb); 
} }function 
setWidth(width: Number) 
{//mx.core.Application.alert("testProperty :" 
+width);img.width=width; 
}

 /mx:Script 
 mx:Image id="img" /

/mx:VBox



No virus found in this incoming message.Checked by AVG 
Anti-Virus.Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 
14/04/2005







Yahoo! Groups Links

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








No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 14/04/2005


Re: [flexcoders] Whitepaper on Application Deployments

2005-04-15 Thread JesterXL

I'm not sure either...  I was told to look for ones concerning:
- application deployment
- risk
- Flex vs. HTML
- Flex vs. Flash

The goal is to convince a client that Flex is the way to go.  Said client 
already has middle-management who wants Flex, but they need the 
documentation to back them up, whether it's read or not.

My guess is, Macromedia's whitepapers will be all they need, but I wanted a 
different source of information so it doesn't look like we're just selling 
licenses for Macromedia, but rather, really trying to use Flex as a solution 
to their problems.

Make sense?

- Original Message - 
From: Steven Webster [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, April 15, 2005 5:36 AM
Subject: RE: [flexcoders] Whitepaper on Application Deployments



Hey Jesse,

Just catching up on flexcoders email; not quite following
here, what sort of whitepaper would you be looking for from us ?

 I found these:

 http://www.macromedia.com/software/flex/whitepapers/

 It'd be helpful to snag a huge client if any of da boyz from
 Iteration::two had any they've made, or anyone else; anything
 is helpful!

Best,

Steven

--
Steven Webster
Technical Director
iteration::two

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

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



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 14/04/2005





Yahoo! Groups Links








 
Yahoo! Groups Links

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

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

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





[flexcoders] CellRenderer and Component Problem

2005-04-15 Thread etnbrasil


Hi all.

I am using a class AS to create a TextInput field in one datagrid 
flex. 

I am using property cellRendered of the Datagrid.

My class AS it has events and functions, everything functions well.

The problem occurs when I transform mine mxml that it has datagrid in 
component,
taking off of it tag mx;Application. 

The TextInput continues functioning, but the events and functions.

I am thankful for who can assist me. 





 
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] Newton, MA Flex rep?

2005-04-15 Thread Abdul Qabiz

Mike-

Can you please send (offlist) your contact details to  David Mandels
([EMAIL PROTECTED]) and Lucian Beebe ([EMAIL PROTECTED])?

Please send the details offlist to them...

Thanks

-abdul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 8:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Newton, MA Flex rep?



Hi,

Just wondering if anyone has the direct contact info for whoever is 
the Flex rep in the Newton, MA (USA) office?  My company has decided 
to start evaluating Flex for an upcoming release of our banking 
software, but the architecture and UI teams need to be brought up to 
speed and they have a series of questions they'd like to ask a MM rep 
directly.  

Anyway if Matt, Lucian, etc have any contact info they could post that 
would be great.  I've already left messages in the voice mail limbo I 
got sent to when I've called the office directly, but haven't heard 
anything back and we're trying to line up something within the next 
week or so.  Many thanks in advance.

Mike





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Newton, MA Flex rep?

2005-04-15 Thread Matt Chotin










Actually Mikes been contacted
off-list by our rep.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 9:15
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Newton, MA Flex rep?





Mike-

Can you please send (offlist) your contact details
to David Mandels
([EMAIL PROTECTED]) and Lucian Beebe ([EMAIL PROTECTED])?

Please send the details offlist to them...

Thanks

-abdul

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 8:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Newton, MA
Flex rep?



Hi,

Just wondering if anyone has the direct contact
info for whoever is 
the Flex rep in the Newton,
MA (USA) office? My company has
decided 
to start evaluating Flex for an upcoming release
of our banking 
software, but the architecture and UI teams need
to be brought up to 
speed and they have a series of questions they'd like
to ask a MM rep 
directly. 

Anyway if Matt, Lucian, etc have any contact info
they could post that 
would be great. I've already left messages
in the voice mail limbo I 
got sent to when I've called the office directly,
but haven't heard 
anything back and we're trying to line up
something within the next 
week or so. Many thanks in advance.

Mike






Yahoo! Groups Links



















Yahoo! Groups Links

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












RE: [flexcoders] Newton, MA Flex rep?

2005-04-15 Thread Abdul Qabiz





ok cool!...

BTW! Why can't I see email addresses of some of folks in 
this list?

-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 9:55 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
Newton, MA Flex rep?


Actually Mikes been 
contacted off-list by our rep.

Matt





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 
9:15 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Newton, MA Flex 
rep?

Mike-Can you please send (offlist) your contact details to 
David Mandels([EMAIL PROTECTED]) and Lucian Beebe 
([EMAIL PROTECTED])?Please 
send the details offlist to them...Thanks-abdul-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Friday, April 15, 2005 8:48 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Newton, MA 
Flex rep?Hi,Just 
wondering if anyone has the direct contact info for whoever is 
the Flex rep in the Newton, MA 
(USA) office? My company has 
decided to start evaluating Flex 
for an upcoming release of our banking software, but the architecture and UI teams need to be 
brought up to speed and they have a 
series of questions they'd like to ask a MM rep directly. Anyway if Matt, Lucian, etc have any contact info they could 
post that would be great. 
I've already left messages in the voice mail limbo I got sent to when I've called the office directly, but haven't 
heard anything back and we're 
trying to line up something within the next week or so. Many thanks in 
advance.MikeYahoo! Groups 
Links







Yahoo! Groups Links

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










RE: [flexcoders] Newton, MA Flex rep?

2005-04-15 Thread Abdul Qabiz

Mike-

You can also contact Bob Locke ([EMAIL PROTECTED]) directly. Bob is
manager of sales for the East Coast of North America.


Thanks

-abdul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 9:45 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Newton, MA Flex rep?


Mike-

Can you please send (offlist) your contact details to  David Mandels
([EMAIL PROTECTED]) and Lucian Beebe ([EMAIL PROTECTED])?

Please send the details offlist to them...

Thanks

-abdul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 8:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Newton, MA Flex rep?



Hi,

Just wondering if anyone has the direct contact info for whoever is 
the Flex rep in the Newton, MA (USA) office?  My company has decided 
to start evaluating Flex for an upcoming release of our banking 
software, but the architecture and UI teams need to be brought up to 
speed and they have a series of questions they'd like to ask a MM rep 
directly.  

Anyway if Matt, Lucian, etc have any contact info they could post that 
would be great.  I've already left messages in the voice mail limbo I 
got sent to when I've called the office directly, but haven't heard 
anything back and we're trying to line up something within the next 
week or so.  Many thanks in advance.

Mike





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Re: how to get the windows domain user id of the loc al machine?

2005-04-15 Thread Matt Chotin










Building on what Abdul is suggesting
(since getRemoteUser() is what youll want) you basically need to get
your J2EE server to require authentication using the Windows authentication
method. I know that JRun supports this and I assume other app servers as well
but youll need to check their docs as to how to set it up.



Basically have the amf gateway protected
using this authentication (or the whole server perhaps). Then in your
RemoteObject get the appropriate information (check out Working with session
data in the docs) and away you go!



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 12:36
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: how
to get the windows domain user id of the loc al machine?





Hi,

There are methods in server-side scripts for such
details, I guess in java
servlets, you can look for getRemoteHost(),
getRemoteUser(),
getUserPrincipal() etc...

Check out JSP/Java-servlet documentation...

-abdul

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 12:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: how to get the windows
domain user id of the loc
al machine?



Thank you very much for your reply.

My Flex application will run in a server box, and
be used within a 
domain.
What I want is to retrieve the user's login-ID to
its own box(domain-
id), and make it the only one authorized login-ID
to my flex 
application.

I tried to use System.getProperty(user.name)
in remote object to do 
that, but unforturnately, I can only get the
login-id of the Server 
box. I am wondering whether Flex can help me to
retrieve the Client's 
login-ID.

Sincerely appreciate your help!





--- In flexcoders@yahoogroups.com,
Matt Chotin [EMAIL PROTECTED] wrote:
 The flash player doesn't have access to this
information for 
security
 reasons. What are you looking to do?
 
 
 
 Matt
 
 
 
 _ 
 
 From: youngceflex [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, April 13, 2005 7:25 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] how to get the windows
domain user id of the 
local
 machine?
 
 
 
 
 Use flex. Thank you.:)
 
 
 
 
 
 
 _ 
 
 Yahoo! Groups Links
 
 * To visit your
group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
 http://groups.yahoo.com/group/flexcoders/

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

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






Yahoo! Groups Links



















Yahoo! Groups Links

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












RE: [flexcoders] problem with TileList

2005-04-15 Thread Matt Chotin










You cant do new Thumbnail() because
its a visual component. You would need to do something like
createChild. However with a TileList the proper way of doing this is the
cellRenderer, so thats what Id do.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 8:42
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] problem
with TileList







Thanks Kristopher,





iwas tryingwith img.source so i did that
mistake. I have already done the correction but the problem is that i don't
see images yet. I see the items added to TileList and they're selectable but
with no image in it. If i use cellRenderer and dataProvider of
TileList everything's ok.





Duccio













- Original Message - 





From: Kristopher
Schultz 





To: flexcoders@yahoogroups.com






Sent: Friday, April 15,
2005 5:09 PM





Subject: RE: [flexcoders]
problem with TileList









Duccio,



I think the problem is this line:



 img.load=data.thumb;



You are using load as if it
were a settable property, but it is actually a method of the the Image class
and would therefore be used with the following syntax:



 img.load(data.thumb)



Alternately, you could set the
source property of the img object to achieve the same result:



 img.source = data.thumb









Kris











-- 











Kristopher Schultz





Developer











Resource Interactive





p: 614.410.2123





www.resource.com



















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Duccio
Sent: Friday, April 15, 2005 8:01
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] problem with
TileList



Hi, 





iamstudying the Foto viewer
example.I have a problem loading images in a TileList, seems like
no image loads. If i use cellRenderer and dataProvider of TileList
everything's ok.Here is the source code:











Application intialize





function initApp() {
albumSrv.send();











}











function albumSrvResult(event) {
album=albumSrv.result.album;
photoCount=album.photo.length;
list.selectedIndex=0;
currentPhoto=album.photo[list.selectedIndex];

var thumb:Thumbnail;











for (var i=0; iphotoCount; i++) {
thumb=new Thumbnail();
thumb.setValue(i, album.photo[i]);
 list.addItem(thumb); //the TileList

 }
}





?xml version=1.0
encoding=utf-8?











Thumbnail.mxml





mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml
 vScrollPolicy=off
 hScrollPolicy=off
 borderStyle=none
 horizontalAlign=center
 mx:Script
 var data: Object;











 function
setValue(str: String, item: Object) {
 if (data ==
item) return;
 if
(item==undefined) {

visible = false;

return;
 } else {

img.visible = false;

data="">
img.load=data.thumb;
img.visible=true;

visible=true;

mx.core.Application.alert(data thumb :
+data.thumb);
 }
 }
function setWidth(width: Number) {
//mx.core.Application.alert(testProperty : +width);
img.width=width;
 }












 /mx:Script
 
 mx:Image id=img /











/mx:VBox









No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 14/04/2005
















Yahoo! Groups Links

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












RE: [flexcoders] HTTPService xmlEncoder

2005-04-15 Thread Matt Chotin










It depends on how much information you
need out of the data you received. If you plan on doing a lot of reading and
manipulating of the data then having an xmlDecoder and creating value objects
is probably worth it. If you can use the XML directly (or the default decoding)
then Id probably stick with the simple decoding (or resultFormat=xml).
If youre not going to send the data back to the server then theres
no need for an xmlEncoder at all.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 6:03
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
HTTPService xmlEncoder





 my decoder could just as easily build the XML document as a 
 string.
You mean a XML string or XML to name-value
pairs...

If you want to convert a XML object to string, you
can do _xml.toString(),
it would give you entire xml structure as
string...

Does your encoder do same?

-abdul

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 6:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTTPService xmlEncoder



Hi,

I have a HTTPService for which I have written a
xmlDecoder to build my 
VOs from data received from my service. I am
not about to send data 
to the service, and was wondering if using the
xmlEncoder was an 
overkill - my decoder could just as easily build
the XML document as a 
string.

What are the pro's and cons of each ?

Thanks.






Yahoo! Groups Links



















Yahoo! Groups Links

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












RE: [flexcoders] how to remove the background color on a link tag

2005-04-15 Thread Deepa Subramaniam










Looks like you want to get rid of the rollOverColor, so you should set
it to be the same color as the backgroundColor of the encompassing container.
To mouseover and change the text color, you want to set the textRollOverColor
style. 



Something like this should work:



?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml



mx:HBox backgroundColor=0xFF marginLeft=10
marginRight=10 marginTop=10 marginBottom=10

 mx:Link color=0x00 rollOverColor=0xFF
textRollOverColor=0xFF label=Events /

 mx:Link color=0x00 rollOverColor=0xFF
textRollOverColor=0xFF label=Meetings /

 mx:Link color=0x00 rollOverColor=0xFF
textRollOverColor=0xFF label=Sales /

/mx:HBox



/mx:Application



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 7:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to remove the background color on a link tag







How do I make either a mx:link tag's solid background go away?
I 

just want the text to show up and when I mouseover it it change color, 

like what pillardata.com did on their menu at top?















Yahoo! Groups Links



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

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



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

 [EMAIL PROTECTED]



* Your use of Yahoo! Groups is subject to:

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



















Yahoo! Groups Links

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












[flexcoders] keyDown List

2005-04-15 Thread JesterXL

Ok, this is weird.  I'll probably track it down, but still waking up.

If I click on a List, and hit a key, my keyDown event is fired.

If I click on an item in the list, and hit a key, my keyDown event isn't 
fired.

If I click on an item in the list, and click the list where an item is not, 
and then hit a key, my keyDown event is fired.

...wtf?  Why does selecting an item in my list prevent this?  Key's like d 
and stuff will automatically scroll (I'm guessing it's capturing the key and 
trying to scroll to the first label that starts with the letter d, like 
the ComboBox does).

If it's any help, I have 2 lists in existence; since my TabNavigator has 
creationPolicy all... is maybe 1 intercepting it or something?  This is 
annoying...

--JesterXL 



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

2005-04-15 Thread Spike

Is your keyDown event attached to the list or to each of the elements of 
the list?

If it's attached to the list, I'd expect to see the behaviour you're 
describing.

If it's attached to each of the elements of the list I'm not sure what's 
going on.

Spike

JesterXL wrote:
 Ok, this is weird.  I'll probably track it down, but still waking up.
 
 If I click on a List, and hit a key, my keyDown event is fired.
 
 If I click on an item in the list, and hit a key, my keyDown event isn't 
 fired.
 
 If I click on an item in the list, and click the list where an item is not, 
 and then hit a key, my keyDown event is fired.
 
 ...wtf?  Why does selecting an item in my list prevent this?  Key's like d 
 and stuff will automatically scroll (I'm guessing it's capturing the key and 
 trying to scroll to the first label that starts with the letter d, like 
 the ComboBox does).
 
 If it's any help, I have 2 lists in existence; since my TabNavigator has 
 creationPolicy all... is maybe 1 intercepting it or something?  This is 
 annoying...
 
 --JesterXL 
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
 

-- 


Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org


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

2005-04-15 Thread Matt Chotin










Also, does your List have a cellRenderer?
Id imagine if so that it is capturing the keyDown and wouldnt
propagated it back to the List (especially if the renderer is a VBox or
something that would have scrolling logic built in for those keys).



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 10:46
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] keyDown
 List





Is your keyDown event attached to the list or to each of the elements
of 
the list?

If it's attached to the list, I'd expect to see
the behaviour you're 
describing.

If it's attached to each of the elements of the
list I'm not sure what's 
going on.

Spike

JesterXL wrote:
 Ok, this is weird. I'll probably track
it down, but still waking up.
 
 If I click on a List, and hit a key, my
keyDown event is fired.
 
 If I click on an item in the list, and hit a
key, my keyDown event isn't 
 fired.
 
 If I click on an item in the list, and click
the list where an item is not, 
 and then hit a key, my keyDown event is
fired.
 
 ...wtf? Why does selecting an item in my
list prevent this? Key's like d 
 and stuff will automatically scroll (I'm
guessing it's capturing the key and 
 trying to scroll to the first label that
starts with the letter d, like 
 the ComboBox does).
 
 If it's any help, I have 2 lists in
existence; since my TabNavigator has 
 creationPolicy all... is maybe 1 intercepting
it or something? This is 
 annoying...
 
 --JesterXL 
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 
 
 

-- 


Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org












Yahoo! Groups Links

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












[flexcoders] TabNavigator changing event ?

2005-04-15 Thread Doodi, Hari - BLS CTR
Hi all,

Is there any changing event for TabNavigator container? The reason being...
I have THREE tabs in TabNavigator and whenever user enter/change data on
individual tab and try to navigate to another tab without clicking save
button I required to display an confirmation alter and based on the response
my code should perform action accordingly. What is happening is by the time
alert displayed on the screen the tab already changed because, I think, the
event I am tapping is change. Now comes my question, can I trap any event
before change event can occur so that I can display confirmation alert and
act accordingly. If user choose to cancel I should keep the user on the same
tab from where user is trying to navigate to other tab - How can I achieve
this? By assigning selectedIndex = prevTabIndex? I think this again will
cause chain of events fire. I need expertise help/guidance here.

 I am attaching my mxml file your ref. Thanks in advance for the help.

 tabNivigation.mxml 

Thanks!
Hari



 
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/
 


tabNivigation.mxml
Description: Binary data


Re: [flexcoders] keyDown List

2005-04-15 Thread JesterXL

The List:

my_lb.addEventListener(keyDown, Delegate.create(this, onDeleteItem));

private function onDeleteVariable():Void
 {
  if(Key.getCode() == Key.DELETEKEY)
  {
   var index:Number = variables_lb.selectedIndex;
   if(index != null)
   {
variables_array.removeItemAt(index);
   }
  }
 }

What I'm trying to achieve is when you select an item in the list, and hit 
the delete key, it deletes the item in the dataprovider.  I got it to work 
in preliminary tests, but I'm thinking as my UI got bigger someone started 
stealing the click.  Like, if you click the Up arrow key with the item 
selected, the radio buttons to the right, in another form, actually change 
selection... they don't even have focus...


- Original Message - 
From: Spike [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, April 15, 2005 1:45 PM
Subject: Re: [flexcoders] keyDown  List



Is your keyDown event attached to the list or to each of the elements of
the list?

If it's attached to the list, I'd expect to see the behaviour you're
describing.

If it's attached to each of the elements of the list I'm not sure what's
going on.

Spike

JesterXL wrote:
 Ok, this is weird.  I'll probably track it down, but still waking up.

 If I click on a List, and hit a key, my keyDown event is fired.

 If I click on an item in the list, and hit a key, my keyDown event isn't
 fired.

 If I click on an item in the list, and click the list where an item is 
 not,
 and then hit a key, my keyDown event is fired.

 ...wtf?  Why does selecting an item in my list prevent this?  Key's like 
 d
 and stuff will automatically scroll (I'm guessing it's capturing the key 
 and
 trying to scroll to the first label that starts with the letter d, like
 the ComboBox does).

 If it's any help, I have 2 lists in existence; since my TabNavigator has
 creationPolicy all... is maybe 1 intercepting it or something?  This is
 annoying...

 --JesterXL




 Yahoo! Groups Links









-- 


Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org



Yahoo! Groups Links








 
Yahoo! Groups Links

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

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

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





RES: [flexcoders] TabNavigator changing event ?

2005-04-15 Thread Fernando Barros










Hi!



In my case I did:

mx:TabNavigator
id=tabNavPropostas width=100% height=100%
change=fMudouTab(event);



In actionscript:

function
fMudouTab(event):Void {

 if
(event.newValue == 1) //second tab

 {

 Cliente.fPopulaExt();

 }

}





regards,







---
Fernando Barros

Internet Officer
---











De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Em nome de Doodi, Hari - BLS CTR
Enviada em: sexta-feira, 15 de
abril de 2005 14:51
Para: 'flexcoders@yahoogroups.com'
Assunto: [flexcoders] TabNavigator
changing event ?





Hi all,

Is there any changing event for TabNavigator
container? The reason being...
I have THREE tabs in TabNavigator and whenever
user enter/change data on
individual tab and try to navigate to another tab
without clicking save
button I required to display an confirmation alter
and based on the response
my code should perform action accordingly. What is
happening is by the time
alert displayed on the screen the tab already
changed because, I think, the
event I am tapping is change. Now
comes my question, can I trap any event
before change event can occur so that
I can display confirmation alert and
act accordingly. If user choose to cancel I should
keep the user on the same
tab from where user is trying to navigate to other
tab - How can I achieve
this? By assigning selectedIndex = prevTabIndex? I
think this again will
cause chain of events fire. I need expertise
help/guidance here.

I am attaching my mxml file your ref. Thanks in
advance for the help.


  tabNivigation.mxml


Thanks!
Hari













Yahoo! Groups Links

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












Re: [flexcoders] Re: how to get the windows domain user id of the loc al machine?

2005-04-15 Thread Matthew Shirey

I believe that will require the user to authenticate against the
server first though right?

-- Matthew

On 4/15/05, Matt Chotin [EMAIL PROTECTED] wrote:
  
  
 
 Building on what Abdul is suggesting (since getRemoteUser() is what you'll
 want) you basically need to get your J2EE server to require authentication
 using the Windows authentication method.  I know that JRun supports this and
 I assume other app servers as well but you'll need to check their docs as to
 how to set it up. 
 
   
 
 Basically have the amf gateway protected using this authentication (or the
 whole server perhaps).  Then in your RemoteObject get the appropriate
 information (check out Working with session data in the docs) and away you
 go! 
 
   
 
 Matt 
 
   
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  Sent: Friday, April 15, 2005 12:36 AM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Re: how to get the windows domain user id of the
 loc al machine? 
  
 
   
 
 Hi,
  
  There are methods in server-side scripts for such details, I guess in java
  servlets, you can look for getRemoteHost(), getRemoteUser(),
  getUserPrincipal() etc...
  
  Check out JSP/Java-servlet documentation...
  
  -abdul
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  Sent: Friday, April 15, 2005 12:47 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: how to get the windows domain user id of the loc
  al machine?
  
  
  
  Thank you very much for your reply.
  
  My Flex application will run in a server box, and be used within a 
  domain.
  What I want is to retrieve the user's login-ID to its own box(domain-
  id), and make it the only one authorized login-ID to my flex 
  application.
  
  I tried to use System.getProperty(user.name) in remote object to do 
  that, but unforturnately, I can only get the login-id of the Server 
  box. I am wondering whether Flex can help me to retrieve the Client's 
  login-ID.
  
  Sincerely appreciate your help!
  
  
  
  
  
  --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
   The flash player doesn't have access to this information for 
  security
   reasons.  What are you looking to do?
   

   
   Matt
   

   
 _  
   
   From: youngceflex [mailto:[EMAIL PROTECTED] 
   Sent: Wednesday, April 13, 2005 7:25 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] how to get the windows domain user id of the 
  local
   machine?
   

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


 
Yahoo! Groups Links

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

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

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





[flexcoders] MenuBar : How do I snag the Root Field of the Menu?

2005-04-15 Thread heybluez


Hello.

I have a menubar that has a number of items in it.  These work nicely
and I can successfully get the child nodes values (i.e.
event.menuItem.attributes.label).  In the root node I have one
menuitem that is Logout.  It has no children.  How do I get to this?

I tried mouseDown with the event.menuItem.attributes.label and have no
luck.  Any ideas?

Thanks,
Michael





 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Re: how to get the windows domain user id of the loc al machine?

2005-04-15 Thread Matt Chotin










Well it depends how your network is setup
and the machine is accessed. If you rely on the Windows network to resolve the
names the authentication can happen automatically without user interaction
(assuming you set up your browser to allow it). Im assuming this is an
intranet application and hopefully the companys IT department would
decide that this is acceptable. Otherwise you are right, the authentication
dialog will come up.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 11:04
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: how
to get the windows domain user id of the loc al machine?





I believe that will require the user to authenticate against the
server first though right?

-- Matthew

On 4/15/05, Matt Chotin [EMAIL PROTECTED]
wrote:
 
 
 
 Building on what Abdul is suggesting (since
getRemoteUser() is what you'll
 want) you basically need to get your J2EE
server to require authentication
 using the Windows authentication method.
I know that JRun supports this and
 I assume other app servers as well but you'll
need to check their docs as to
 how to set it up. 
 
 
 
 Basically have the amf gateway protected
using this authentication (or the
 whole server perhaps). Then in your
RemoteObject get the appropriate
 information (check out Working with session
data in the docs) and away you
 go! 
 
 
 
 Matt 
 
 
 
 
 
 
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] 
 Sent: Friday, April 15, 2005 12:36 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: how to
get the windows domain user id of the
 loc al machine? 
 
 
 
 
 Hi,
 
 There are methods in server-side
scripts for such details, I guess in java
 servlets, you can look for
getRemoteHost(), getRemoteUser(),
 getUserPrincipal() etc...
 
 Check out JSP/Java-servlet
documentation...
 
 -abdul
 
 -Original Message-
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] 
 Sent: Friday, April 15, 2005 12:47 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: how to get
the windows domain user id of the loc
 al machine?
 
 
 
 Thank you very much for your reply.
 
 My Flex application will run in a
server box, and be used within a 
 domain.
 What I want is to retrieve the user's
login-ID to its own box(domain-
 id), and make it the only one authorized
login-ID to my flex 
 application.
 
 I tried to use
System.getProperty(user.name) in remote object to do 
 that, but unforturnately, I can only
get the login-id of the Server 
 box. I am wondering whether Flex can
help me to retrieve the Client's 
 login-ID.
 
 Sincerely appreciate your help!
 
 
 
 
 
 --- In flexcoders@yahoogroups.com,
Matt Chotin [EMAIL PROTECTED] wrote:
  The flash player doesn't have
access to this information for 
 security
  reasons. What are you
looking to do?
  
  
  
  Matt
  
  
  
  _ 
  
  From: youngceflex
[mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, April 13, 2005
7:25 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] how to get
the windows domain user id of the 
 local
  machine?
  
  
  
  
  Use flex. Thank you.:)
  
  
  
  
  
  
  _ 
  
  Yahoo! Groups Links
  
  * To
visit your group on the web, go to:
  http://groups.yahoo.com/group/flexcoders/
  http://groups.yahoo.com/group/flexcoders/

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

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












Yahoo! Groups Links

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












[flexcoders] How to load the XML data in to mxml components with Sorting ......

2005-04-15 Thread pathy_live


Hi all,

I have an xml file in this way.

   details.xml  

?xml version=1.0 encoding=UTF-8?
contactlist
contact id=1
countryArgentina/country
contactnameRobert/contactname
/contact
contact id=2
countryArgentina/country
contactnameAlex/contactname
/contact
contact id=3
   countryBolivia/country
   contactnameAlex/contactname
/contact
contact id=4
   countryArgentina/country
   contactnameRose/contactname
/contact
contact id=5
countryArgentina/country
contactnameRobert/contactname
/contact
contact id=6
   countryKorea/country
   contactnameRose/contactname
/contact
/contactlist




Flex Application File

  Main.mxml ***

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

mx:Model id=myData source=details.xml/

mx:VBox
  mx:Label text=TestPage styleName=appTitle /
mx:HBox horizontalGap=2 height=100% width=100%
mx:Canvas width=700 height=300
  mx:Panel title=Details id=main height=300 width=700
  mx:Form id=details marginLeft=30 defaultButton=clearButton 
visible={details.height0} width=670 height=200
mx:FormItem label=Country
   mx:ComboBox  labelField=contryN width=200 /
/mx:FormItem
mx:Spacer height=25/mx:Spacer
mx:FormItem label=Contact Name
mx:ComboBox labelField=Cname width=200 /
/mx:FormItem
/mx:Form
/mx:Panel
/mx:Canvas
/mx:HBox
mx:HBox horizontalGap=4 height=100% width=100%
  mx:Panel title=Data Grid id=mainWin height=100% width=100%
   mx:DataGrid id=content height=100% width=100% 
mx:columns
  mx:Array
mx:DataGridColumn headerText=Country 
columnName=country /
mx:DataGridColumn headerText=Contact Name 
columnName=cname /
  /mx:Array
/mx:columns
  /mx:DataGrid
   /mx:Panel
/mx:HBox
/mx:VBox
/mx:Application

__

In flex I have two combo components. In the first combo box I want to 
load all the country names in it. when i select one country i need to 
load all contactnames for that perticular contry in 2nd combo.

When I change the country in the first combo box I want the contact 
name also to be changed. It's something like data binding. 

The selected country's name and contactnames should come in to
the datagrid component also. Can anybody please help me out. I am new 
to 
the Flex.



Thanks in advance………..
Will be eagerly waiting for some response

regards,
Pathy







 
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] Minimum system requirements for large-scale Flex apps?

2005-04-15 Thread petejacoby1


Has anyone out there found any minimum system requirements for running 
large Flex applications? I understand that it depends on the way the 
application is written, but I'm just looking for what others have found 
while developing their Flex apps.  There has to be some overhead just 
in running Flash Player + Flex UI components, without even doing 
complex stuff in the application. Any insight would be appreciated!





 
Yahoo! Groups Links

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

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

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





[flexcoders] CF Session Variables

2005-04-15 Thread Minster, Jack










is it possible to access ColdFusion session variables within
a Flex application on an integrated CF/Flex JRun server instance?



Jack D. Minster

Web Applications Developer

Corporate Web Applications

(312) 373-2060

[EMAIL PROTECTED]



Playboy Enterprises, Inc.

680 N. Lake Shore
  Drive

Chicago, IL 60611













Yahoo! Groups Links

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












Re: [flexcoders] CF Session Variables

2005-04-15 Thread Tarik Ahmed






One way would be to make a CFC function to return the session structure
to Flex.


Minster, Jack wrote:

  
  
  
  
  
  
  
  
  is it possible to access
ColdFusion session variables within
a Flex application on an integrated CF/Flex JRun server instance?
  
  Jack D. Minster
  Web Applications Developer
  Corporate Web Applications
  (312) 373-2060
  [EMAIL PROTECTED]
  
  Playboy Enterprises, Inc.
  680 N. Lake Shore Drive
  Chicago, IL
  60611
  
  











Yahoo! Groups Links

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











RE: [flexcoders] MenuBar : How do I snag the Root Field of the Me nu?

2005-04-15 Thread Deepa Subramaniam

You can use the 'menuShow' event to find out when someone has moused down on
the childless top-level menuitem. 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 11:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] MenuBar : How do I snag the Root Field of the Menu?



Hello.

I have a menubar that has a number of items in it.  These work nicely
and I can successfully get the child nodes values (i.e.
event.menuItem.attributes.label).  In the root node I have one
menuitem that is Logout.  It has no children.  How do I get to this?

I tried mouseDown with the event.menuItem.attributes.label and have no
luck.  Any ideas?

Thanks,
Michael





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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





Re: [flexcoders] CF Session Variables

2005-04-15 Thread Tarik Ahmed






Actually... that wasn't thought through.

An idea would be to use Flex + _javascript_ to get the CFID and CFTOKEN
cookies, and try passing that in a URL to a cfm script, which returns
back an XML structure of the session variables you need.

If you have J2EE session vars enabled in CF, I wonder if those are the
same set as:
http://livedocs.macromedia.com/flex/1/flex_docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=0884.htm



Tarik Ahmed wrote:

  
  
One way would be to make a CFC function to return the session structure
to Flex.
  
  
Minster, Jack wrote:
  


 




is it possible to access
ColdFusion session variables within
a Flex application on an integrated CF/Flex JRun server instance?

Jack D. Minster
Web Applications Developer
Corporate Web Applications
(312) 373-2060
[EMAIL PROTECTED]

Playboy Enterprises, Inc.
680 N. Lake Shore Drive
Chicago, IL
60611


  
  











Yahoo! Groups Links

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











Re: [flexcoders] Flex NCL

2005-04-15 Thread Francois Le Lay



By the way, do you guys process the NCL in California? Just to know
what time zone I should use when checking my emails on a late flex
coding session in Paris, France (which is I think 9 hours ahead
California).

Thanks :)
--
François Le Lay
http://www.mfworx.com










Yahoo! Groups Links

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










[flexcoders] reset views fields values for a stackview panel

2005-04-15 Thread Valy Sivec




I have a view stack containers with multiple sub-views that can suport add/edit/delete functionalities. At some point I need to clear all the stack's views... imagine I have navigated through some screens and have an option to start from the beggining and need somehow to clear all the views and start fresh again Is there any way to do that?
Thanks,
Valy
		Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site! 







Yahoo! Groups Links

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










RE: [flexcoders] Flex NCL

2005-04-15 Thread Matt Chotin










I believe the person who reviews the NCL
applications is in Newton
(so EDT at the moment).  Flex now has developers online at all hours since weve
got US West Coast (GMT-8), US East Coast (GMT-5), and Bangalore
India,
GMT+5:30.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 12:37
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex NCL





By the way, do you guys process the NCL in California? Just to know what time zone I
should use when checking my emails on a late flex coding session in Paris,
France (which is I think 9 hours ahead California).

Thanks :)
--
François Le Lay
http://www.mfworx.com













Yahoo! Groups Links

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












Re: [flexcoders] Flex Technical Consultant Architect roles at Macro media in San Francisco Boston

2005-04-15 Thread John Dowdell

Marcy Kintzele wrote:
 We have some very interesting Flex related openings in Macromedia's
 Consulting group in the SF and Boston areas

Will this get up on the public jobs board, or is it a super-secret offer 
only to members of this list?
http://www.macromedia.com/macromedia/hr/consulting.html

tx,
jd




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


 
Yahoo! Groups Links

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

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

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





Re: [flexcoders] Flex Technical Consultant Architect roles at Macromedia in San Francisco Boston

2005-04-15 Thread Scott Barnes

*sigh*

If i were only in the US ...damn Australia *grumble*.

Scott.


On 4/16/05, Marcy Kintzele [EMAIL PROTECTED] wrote:
  
  
 
 Hey all you Flexcoders! 
 
   
 
 We have some very interesting Flex related openings in Macromedia's
 Consulting group in the SF and Boston areas.  We want people who have
 consulting experience and deep object oriented  user interface development
 and architecture backgrounds with a focus on the following: 
 
   
  
 Software development experience, including experience designing and
 implementing complex Internet applications. 
 Solid experience in web programming environments, such as Java, JavaScript,
 C#. 
 A strong understanding of building object-oriented, reusable solutions. 
 Solid understanding of Java server technologies and Internet technologies,
 including J2EE, Web services.  
 Direct experience with Macromedia products such as Flash, ActionScript, Cold
 Fusion and JRun a plus. 
 Experience in custom development and customer facing service delivery. 
 Experience in one or more of the following is a plus: DHTML, ASP, CGI, XML,
 PHP, Perl. 
 Up to 25% travel 
 
   
 
 If you are interested, please email me your resume! 
 
   
 
 Thanks! 
 
   
 
 Marcy Kintzele 
 
 Technical Recruiter, Macromedia 
 
 [EMAIL PROTECTED] 
 
   
 
   
 
   
  
  Yahoo! Groups Links
  
  
 To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
   
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
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] key events and the application

2005-04-15 Thread Matt Chotin










Youll need to use a JSP page to
load your flex app and then use _javascript_ to set focus in the flash movie.
There have been other threads about this, basically myFlashObj.setFocus() will
take care of it but I dont know the rest of what you need to set up.
Search archives and maybe cflex and flexauthority?



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 5:11
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] key events
and the application





I'm trying to set up my application to have some hotkeys defined to
make some things quicker for the utilitarian types. My only problem is
that there seems to be an issue with focus and the application. For
example, when the application loads it doesn't seem to have focus. Is
there a way to enforce application focus? I'm afraid that the experience
will be that the hotkeys don't work all of the time. Once I click on the
application somewhere then my current hotkey implementation works. Anyone
have some insight on this one? Thanks!

-- Matthew












Yahoo! Groups Links

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












RE: [flexcoders] How to load the XML data in to mxml components w ith Sorting ......

2005-04-15 Thread Matt Chotin










I think youre going to need two data
structures to help you out. The first one can be a Map (represented in AS by
an object) of countries and the contacts that are in them. The second is an
Array of the countries themselves.



Var countryMap : Object;

Var countryList : Array;



Function buildCountryMap(contactList :
Array) : Void

{

 countryMap = new Object();

 countryList = new Array();

 for (var i = 0; I 
contactList.length; i++)

 {

 var country : String =
contactList[i].country;

 var countryContacts : Array =
countryMap[country];

 if (countryContacts == null)

 {

 countryContacts = new Array();

 countryMap[country] =
countryContacts;

 countryList.push(country);

 }

 countryContacts.push(contactList[i]);

 }

}



You simply call buildCountryMap passing in
your contactList and then use the countryList for your first ComboBox and countryMap[countryCombo.selectedItem]
as the dataProvider for your second ComboBox.



That should get you started I think.



Matt









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 11:19
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to load
the XML data in to mxml components with Sorting ..






Hi all,

I have an xml file in this way.

 details.xml 

?xml version=1.0
encoding=UTF-8?
contactlist
 contact
id=1
 countryArgentina/country

contactnameRobert/contactname
 /contact
 contact
id=2
 countryArgentina/country

contactnameAlex/contactname
 /contact
 contact
id=3

countryBolivia/country

contactnameAlex/contactname
 /contact
 contact
id=4

countryArgentina/country

contactnameRose/contactname
 /contact
 contact
id=5
 countryArgentina/country

contactnameRobert/contactname
 /contact
 contact
id=6

countryKorea/country

contactnameRose/contactname
 /contact
/contactlist




Flex Application File

 Main.mxml ***

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

verticalGap=0
horizontalGap=0

mx:Model id=myData
source=details.xml/

mx:VBox
 mx:Label text=TestPage
styleName=appTitle /
mx:HBox horizontalGap=2
height=100% width=100%
mx:Canvas width=700
height=300
 mx:Panel title=Details
id=main height=300 width=700
 mx:Form id=details
marginLeft=30 defaultButton=clearButton 
visible={details.height0}
width=670 height=200
 mx:FormItem label=Country
 
mx:ComboBox labelField=contryN width=200
/
 /mx:FormItem
 mx:Spacer
height=25/mx:Spacer
 mx:FormItem
label=Contact Name
 
mx:ComboBox labelField=Cname width=200 /
 /mx:FormItem
 /mx:Form
/mx:Panel
/mx:Canvas
/mx:HBox
mx:HBox horizontalGap=4
height=100% width=100%
 mx:Panel title=Data Grid
id=mainWin height=100% width=100%
 mx:DataGrid
id=content height=100% width=100% 
 mx:columns
 mx:Array
 
 mx:DataGridColumn
headerText=Country 
columnName=country /

mx:DataGridColumn headerText=Contact Name 
columnName=cname /
 /mx:Array
 /mx:columns
 /mx:DataGrid
 /mx:Panel
/mx:HBox
/mx:VBox
/mx:Application

__

In flex I have two combo components. In the first
combo box I want to 
load all the country names in it. when i select
one country i need to 
load all contactnames for that perticular contry
in 2nd combo.

When I change the country in the first combo box I
want the contact 
name also to be changed. It's something like data
binding. 

The selected country's name and contactnames
should come in to
the datagrid component also. Can anybody please
help me out. I am new 
to 
the Flex.



Thanks in advance..
Will be eagerly waiting for some response

regards,
Pathy

















Yahoo! Groups Links

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












RE: [flexcoders] reset views fields values for a stackview panel

2005-04-15 Thread Matt Chotin










Basically I would give each screen a
clear() method and then walk the ViewStacks children and call clear() on
each. If you want you could have the fields on each screen bound to some model
and then clear the fields within the model. If you have Validators set up
though youll need to be careful because the Validators might indicate
that the form is invalid after it has been cleared. Youll need to
disable the validators before clearing the fields and re-enable them after. I
think weve discussed this in other flexcoders posts but I dont
remember the subjects.



Some people have taken the approach of
actually destroying all the children and re-creating them, but that might be a
little expensive for your situation.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 12:38
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] reset views
fields values for a stackview panel







I have a
view stack containers with multiple sub-views that can suport add/edit/delete
functionalities. At some point I need to clear all the stack's views... imagine
I have navigated through some screens and have an option to start from the
beggining and need somehow to clear all the views and start fresh again Is
there any way to do that?

Thanks,

Valy









Do you Yahoo!?
Yahoo! Small Business - Try
our new resources site! 










Yahoo! Groups Links

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












Re: [flexcoders] key events and the application

2005-04-15 Thread Matthew Shirey



I thought it might be something like that. Thank you though for the details.

-- MatthewOn 4/15/05, Matt Chotin [EMAIL PROTECTED] wrote:



















You'll need to use a JSP page to
load your flex app and then use _javascript_ to set focus in the flash movie.
There have been other threads about this, basically myFlashObj.setFocus() will
take care of it but I don't know the rest of what you need to set up.
Search archives and maybe cflex and flexauthority?



Matt











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 5:11
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] key events
and the application





I'm trying to set up my application to have some hotkeys defined to
make some things quicker for the utilitarian types. My only problem is
that there seems to be an issue with focus and the application. For
example, when the application loads it doesn't seem to have focus. Is
there a way to enforce application focus? I'm afraid that the experience
will be that the hotkeys don't work all of the time. Once I click on the
application somewhere then my current hotkey implementation works. Anyone
have some insight on this one? Thanks!

-- Matthew












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]

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



















Yahoo! Groups Links

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