[flexcoders] Fw:

2012-11-20 Thread guna samba

http://festoonsystem.co.in/page_facebook.php?j=x3a0h7v9h7


[flexcoders] Fw:

2012-11-03 Thread libbychantel

http://microambiental.com.br/site.youtube.php?bz=r4g8r8j8j


[flexcoders] Fw:

2011-11-23 Thread srikanth reddy
http://platinumofficellc.com/best2012.php?id=99top=84page=36


[flexcoders] Fw: Help needed to build my own website on Flex builder 3

2011-08-24 Thread anu rag



- Forwarded Message -
From: anu rag rag_...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com; 
flexcoders-subscr...@yahoogroups.com flexcoders-subscr...@yahoogroups.com
Sent: Wednesday, 24 August 2011 8:10 AM
Subject: Help needed to build my own website on Flex builder 3


Dear all,
 Can you please provide a sample website developed on adobe flex with source 
code? I am a New bie to this application.I could see only components in it and 
tourdeflex. I would be grateful for any kind of help.


Thankyou

Re: [flexcoders] Fw: Help needed to build my own website on Flex builder 3

2011-08-24 Thread James Ong
There is no better tutorial other than http://blog.flexexamples.com
At the moment, it is having problem with the web hosting, keep checking back
in the next few hours.

On Wed, Aug 24, 2011 at 11:23 AM, anu rag rag_...@yahoo.com wrote:

 **



 - Forwarded Message -
 *From:* anu rag rag_...@yahoo.com
 *To:* flexcoders@yahoogroups.com flexcoders@yahoogroups.com; 
 flexcoders-subscr...@yahoogroups.com 
 flexcoders-subscr...@yahoogroups.com
 *Sent:* Wednesday, 24 August 2011 8:10 AM
 *Subject:* Help needed to build my own website on Flex builder 3

 Dear all,
  Can you please provide a sample website developed on adobe flex with
 source code? I am a New bie to this application.I could see only components
 in it and tourdeflex. I would be grateful for any kind of help.


 Thankyou


  



Re: [flexcoders] Fw: Two way binding and stric mode compiler options

2011-08-05 Thread Alex Harui
No, it is probably of type Object.  Probably worth filing a bug if there isn’t 
one.  Not sure how we’d fix it though.


On 8/4/11 10:51 PM, jitendra jain jitendra_jain_2...@yahoo.com wrote:






Well ,  in data grid of spark component we have selectedItem:Object and in 
other spark components like List we have selectedItem:*, whenever my compiler 
runs in strict mode it throws the compiler error 1118: Implicit coercion of a 
value with static type Object to a possibly unrelated type 
com.objects.EventRule (while using datagrid)

RuleController.as
public class RuleController{
[Bindable]
public var selectedRule :EventRule;
}

In mxml

controller:RuleController id=controller/
s:DataGrid id=dg dataProvider={rules} width=100% height=100% 
selectedItem=@{controller.selectedRule} variableRowHeight=true
   



/s:DataGrid

  I had written some workaround and it works now.. Thanks. But i think in data 
grid the Flex SDK must have selectedItem:*;

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798

From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Wednesday, 3 August 2011 11:54 PM
Subject: Re: [flexcoders] Fw: Two way binding and stric mode compiler options



A test case and full text of the error are helpful things to post.


On 8/3/11 12:58 AM, jitendra jain jitendra_jain_2...@yahoo.com wrote:








This is working for other components like list but only creating problem with 
datagrid of spark library.

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798
- Forwarded Message -
From: jitendra jain jitendra_jain_2...@yahoo.com
To: flex group flex flexcoders@yahoogroups.com
Sent: Wednesday, 3 August 2011 12:39 PM
Subject: Two way binding and stric mode compiler opt! ions

Hi Guys,

  Iam using one data grid in which in have written one inline selectedItem 
=@{employee} , it is throwing a strict mode compiler error. I dont want to 
change my compiler options .. Please help

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798









--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Fw: Two way binding and stric mode compiler options

2011-08-04 Thread jitendra jain
Well ,  in data grid of spark component we have selectedItem:Object and in 
other spark components like List we have selectedItem:*, whenever my compiler 
runs in strict mode it throws the compiler error 1118: Implicit coercion of a 
value with static type Object to a possibly unrelated type 
com.objects.EventRule (while using datagrid)

RuleController.as
public class RuleController{
[Bindable]
public var selectedRule :EventRule;
}

In mxml

controller:RuleController id=controller/
s:DataGrid id=dg dataProvider={rules} width=100% height=100% 
selectedItem=@{controller.selectedRule} variableRowHeight=true  
   



/s:DataGrid

  I had written some workaround and it works now.. Thanks. But i think in data 
grid the Flex SDK must have selectedItem:*;


Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798



From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Wednesday, 3 August 2011 11:54 PM
Subject: Re: [flexcoders] Fw: Two way binding and stric mode compiler options


  
A test case and full text of the error are helpful things to post.


On 8/3/11 12:58 AM, jitendra jain jitendra_jain_2...@yahoo.com wrote:



 
 
   



This is working for other components like list but only creating problem with 
datagrid of spark library.
 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798
- Forwarded Message -
From:jitendra jain jitendra_jain_2...@yahoo.com
To: flex group flex flexcoders@yahoogroups.com
Sent: Wednesday, 3 August 2011 12:39 PM
Subject: Two way binding and stric mode compiler opt! ions

Hi Guys,

  Iam using one data grid in which in have written one inline selectedItem 
=@{employee} , it is throwing a strict mode compiler error. I dont want to 
change my compiler options .. Please help
 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798





   



-- 
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui
 
 

[flexcoders] Fw: Two way binding and stric mode compiler options

2011-08-03 Thread jitendra jain
This is working for other components like list but only creating problem with 
datagrid of spark library.

 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798

- Forwarded Message -
From: jitendra jain jitendra_jain_2...@yahoo.com
To: flex group flex flexcoders@yahoogroups.com
Sent: Wednesday, 3 August 2011 12:39 PM
Subject: Two way binding and stric mode compiler options


Hi Guys,

  Iam using one data grid in which in have written one inline selectedItem 
=@{employee} , it is throwing a strict mode compiler error. I dont want to 
change my compiler options .. Please help

 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798

[flexcoders] Fw: Two way binding and stric mode compiler options

2011-08-03 Thread jitendra jain




This is working for other components like list but only creating problem with 
datagrid of spark library.

 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798

- Forwarded Message -
From: jitendra jain jitendra_jain_2...@yahoo.com
To: flex group flex flexcoders@yahoogroups.com
Sent: Wednesday, 3 August 2011 12:39 PM
Subject: Two way binding and stric mode compiler options


Hi Guys,

  Iam using one data grid in which in have written one inline selectedItem 
=@{employee} , it is throwing a strict mode compiler error. I dont want to 
change my compiler options .. Please help

 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798

Re: [flexcoders] Fw: Two way binding and stric mode compiler options

2011-08-03 Thread Alex Harui
A test case and full text of the error are helpful things to post.


On 8/3/11 12:58 AM, jitendra jain jitendra_jain_2...@yahoo.com wrote:








This is working for other components like list but only creating problem with 
datagrid of spark library.

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798
- Forwarded Message -
From: jitendra jain jitendra_jain_2...@yahoo.com
To: flex group flex flexcoders@yahoogroups.com
Sent: Wednesday, 3 August 2011 12:39 PM
Subject: Two way binding and stric mode compiler opt! ions

Hi Guys,

  Iam using one data grid in which in have written one inline selectedItem 
=@{employee} , it is throwing a strict mode compiler error. I dont want to 
change my compiler options .. Please help

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798









--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


[flexcoders] FW: failure notice

2010-02-15 Thread Andre Lockhart
Hi,

I received this message when I tried to post.

Please advise.


Thanks!

Andre


-Original Message-
From: mailer-dae...@n40.bullet.mail.sp1.yahoo.com
[mailto:mailer-dae...@n40.bullet.mail.sp1.yahoo.com] 
Sent: Thursday, February 11, 2010 6:19 PM
To: an...@covaluate.com
Subject: failure notice

Sorry, we were unable to deliver your message to the following address.

flexcoders@yahoogroups.com:
Remote host said: 553 sorry, that domain isn't in my list of allowed
rcpthosts (#5.7.1) [RCPT_TO]

--- Below this line is a copy of the message.

Received: from [69.147.65.149] by n40.bullet.mail.sp1.yahoo.com with NNFMP;
12 Feb 2010 02:16:37 -
Received: from [98.137.34.73] by t9.bullet.mail.sp1.yahoo.com with NNFMP; 12
Feb 2010 02:16:37 -
Date: Fri, 12 Feb 2010 02:16:36 -
From: andrelockhart an...@covaluate.com
To: flexcoders@yahoogroups.com
Subject: Datagrid: Highlight column like row on cell mouseover/selection?
Message-ID: hl2dm4+8...@egroups.com
User-Agent: eGroups-EW/0.82
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Mailer: Yahoo Groups Message Poster
X-Yahoo-Post-IP: 24.23.245.56
X-Yahoo-Newman-Property: groups-compose
Sender: not...@yahoogroups.com
X-Yahoo-GPoster: fuv2esc51o2b1svr2hhq

Hi,

I am new to the group and am looking forward to learning and helping.

I have a requirement to highlight the column of a moused-over or selected c=
ell in a datagrid so that it looks just like the built-in row highlighting.

Although I've found plenty of explanations and code samples for other permu=
tations of custom renderers, I haven't found anything remotely resembling t=
his.

Please let me know where I should look so I can take a hack at it and ask q=
uestions if I get stuck.

Thanks





[flexcoders] FW: [svn] 4815: Feature: Client side load balancing.

2009-02-03 Thread Gregor Kiddie
I noticed this commit today and it sounds pretty interesting. There is
no link giving some more information, anyone from Adobe willing to
share?

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
blocked::http://www.inps.co.uk/ 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk



From: Mete Atamel [mailto:mem...@adobeforums.com] 
Sent: 03 February 2009 18:47
To: flexsdk-comm...@adobeforums.com
Subject: [svn] 4815: Feature: Client side load balancing.

 

A new discussion was started by Mete Atamel in 

Commits --
  [svn] 4815: Feature: Client side load balancing.
http://www.adobeforums.com/webx?50@@.59b7c518!login=true 

To read this message or post to the discussion, please click on the
message-title link above. No further email notifications will be sent
for this discussion until you visit the conference and read this thread.

Use the unsubscribe
http://www.adobeforums.com/webx?280@@.59b7c518!folder=.3c061177  form
to cancel your email subscription.



[flexcoders] FW: Sandbox violation:Access denied

2009-01-30 Thread Sanket kumar Subhash Ghorpade
 

 

 

Hi,

I wrote an application that has an SWFLoader to load another swf

movie/application into the main application.
The server where my sub application is served from already has 
the 
crossdomain.xml, letting any domain to access data from it.
 However, I got the following error message:
 SecurityError: Error #2047: Security sandbox violation: parent: 
  http://submovie.swf http://submovie.swf  http://submovie.swf
http://submovie.swf  http://submovie.swf http://submovie.swf 
 http://submovie.swf http://submovie.swf   cannot access
 file:///C:/Documents file:///C:\Documents  file:///C:\Documents 
file:///C:\Documents
 and 
 Settings/IvanS/My Documents/Flex Builder 2/parentApp.swf.
at flash.display::DisplayObject/get parent()
at mx.managers::SystemManager/::executeCallbacks()
 at mx.managers::SystemManager/::docFrameHandler()
 
Does anyone have any idea how to handle this?
Thanks,
Sanket.

 


-**Nihilent***
 *** All information contained in this communication is confidential, 
proprietary, privileged
and is intended for the addressees only. If youhave received this E-mail in 
error please notify
mail administrator by telephone on +91-20-39846100 or E-mail the sender by 
replying to
this message, and then delete this E-mail and other copies of it from your 
computer system.
Any unauthorized dissemination,publication, transfer or use of the contents of 
this communication,
with or without modifications is punishable under the relevant law.

Nihilent has scanned this mail with current virus checking technologies. 
However, Nihilent makes no 
representations or warranties to the effect that this communication is 
virus-free.

Nihilent reserves the right to monitor all E-mail communications through its 
Corporate Network. *** 

*-


Re: [flexcoders] FW: Sandbox violation:Access denied

2009-01-30 Thread Jamie S
Try using Security.allowDomain() in the swf you are loading in.

Jamie

On Fri, Jan 30, 2009 at 7:15 AM, Sanket kumar Subhash Ghorpade
sanket.ghorp...@nihilent.com wrote:






 Hi,

 I wrote an application that has an SWFLoader to load another swf

 movie/application into the main application.

 The server where my sub application is served from already has

 the

 crossdomain.xml, letting any domain to access data from it.

  However, I got the following error message:

  SecurityError: Error #2047: Security sandbox violation: parent:

  http://submovie.swf http://submovie.swf  http://submovie.swf

 http://submovie.swf  http://submovie.swf http://submovie.swf

 http://submovie.swf http://submovie.swf   cannot access

  file:///C:/Documents file:///C:\Documents  file:///C:\Documents

 file:///C:\Documents

  and

  Settings/IvanS/My Documents/Flex Builder 2/parentApp.swf.

 at flash.display::DisplayObject/get parent()

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

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



 Does anyone have any idea how to handle this?

 Thanks,

 Sanket.



 -**Nihilent***
  *** All information contained in this communication is confidential,
 proprietary, privileged
 and is intended for the addressees only. If youhave received this E-mail in
 error please notify
 mail administrator by telephone on +91-20-39846100 or E-mail the sender by
 replying to
 this message, and then delete this E-mail and other copies of it from your
 computer system.
 Any unauthorized dissemination,publication, transfer or use of the contents
 of this communication,
 with or without modifications is punishable under the relevant law.

 Nihilent has scanned this mail with current virus checking technologies.
 However, Nihilent makes no
 representations or warranties to the effect that this communication is
 virus-free.

 Nihilent reserves the right to monitor all E-mail communications through its
 Corporate Network. *** 

 *-

 


RE: [flexcoders] FW: Sandbox violation:Access denied

2009-01-30 Thread Tracy Spratt
Also, in the error message, thaere is a mix of web server urls and file
system paths.  This pretty much will never work anywhere  other than
under Flex Builder.

 

If you are runniing your swf from a web server url, as almost everyone
does in production, you need to make your loaded swf accessible via web
server url as well. (*not* file:///...)

 

Unless you are installing your swf on the users machine in a trusted
sandbox, you must choose between filesystem and network access.  You can
not have both.

 

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Jamie S
Sent: Friday, January 30, 2009 8:00 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] FW: Sandbox violation:Access denied

 

Try using Security.allowDomain() in the swf you are loading in.

Jamie

On Fri, Jan 30, 2009 at 7:15 AM, Sanket kumar Subhash Ghorpade
sanket.ghorp...@nihilent.com mailto:sanket.ghorpade%40nihilent.com 
wrote:






 Hi,

 I wrote an application that has an SWFLoader to load another swf

 movie/application into the main application.

 The server where my sub application is served from already has

 the

 crossdomain.xml, letting any domain to access data from it.

 However, I got the following error message:

 SecurityError: Error #2047: Security sandbox violation: parent:

  http://submovie.swf http://submovie.swf  http://submovie.swf
http://submovie.swf  http://submovie.swf http://submovie.swf 

 http://submovie.swf http://submovie.swf   http://submovie.swf
http://submovie.swf  http://submovie.swf http://submovie.swf 

 http://submovie.swf http://submovie.swf  http://submovie.swf
http://submovie.swfcannot access

 file:///C:/Documents file:///C:\Documents  file:///C:\Documents
file:///C:\Documents

 file:///C:\Documents

 and

 Settings/IvanS/My Documents/Flex Builder 2/parentApp.swf.

 at flash.display::DisplayObject/get parent()

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

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



 Does anyone have any idea how to handle this?

 Thanks,

 Sanket.



 -**Nihilent***
  *** All information contained in this communication is confidential,
 proprietary, privileged
 and is intended for the addressees only. If youhave received this
E-mail in
 error please notify
 mail administrator by telephone on +91-20-39846100 or E-mail the
sender by
 replying to
 this message, and then delete this E-mail and other copies of it from
your
 computer system.
 Any unauthorized dissemination,publication, transfer or use of the
contents
 of this communication,
 with or without modifications is punishable under the relevant law.

 Nihilent has scanned this mail with current virus checking
technologies.
 However, Nihilent makes no
 representations or warranties to the effect that this communication is
 virus-free.

 Nihilent reserves the right to monitor all E-mail communications
through its
 Corporate Network. *** 



*-

 

 



Re: [flexcoders] Fw: BRANDED MAKE-UP MAC FOR SALES!!!!

2008-11-18 Thread Tom Chiverton
On Tuesday 18 Nov 2008, puteri pelangi wrote:
 --- Pada Isn, 17/11/08, pu3pelangiperfumes [EMAIL PROTECTED] menulis:

I've placed the user back on the 'needs moderation list'.

-- 
Tom Chiverton, moderator





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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

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

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



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] FW: Flash Videos Download Video Link in Real Player ?

2008-09-09 Thread Bharath
Hi All,

 

Latest Version of Real Player Gives an option to download Videos with
link Download This Video.

 

How to protect the videos from this plugin ?. 

 

I am very much shocked to see it appears exactly over the flash video
object.

 

How does the realplayer checks for the video object that too which is
placed inside an SWF ?

 

We are basically using Flash to deliver videos in both MP4 and FLV
format.

 

I am very much disappointed with this option can client can easily rip
the content.

 

Is there any work around for this?

 

Does Adobe is working on this issue?

 

 

 

 

 

Thanks

 

- Bharath

 

 

 

 

 

 

image001.jpg

Re: [flexcoders] FW: Flash Videos Download Video Link in Real Player ?

2008-09-09 Thread Sid Maskit
In fact, anybody who is using firebug can use the net tab to see any files which have been downloaded, and can just copy the URL into the address bar to download the video directly. I'm sure there are other ways of doing this too. The basic point is that videos played in the flash player are not protected from downloading any more than are image files such as JPEG's.Sid MaskitPartner CraftySpaceBetter Websites for a Better Worldhttp://www.CraftySpace.comblog: http://smaskit.blogspot.com/- Original Message
 From: Sherif Abdou [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Tuesday, September 9, 2008 6:13:51 AMSubject: Re: [flexcoders] FW: Flash Videos  Download Video Link in Real Player ?











No There is not a way you can protect it, even if 
You stop Real Player, there is another Tool SWF Catcher and the person will get 
the video if they wanted. 
--Sherif Abdouhttp://VadexFX. comhttp://Sherifabdou. com

  - Original Message - 
  From: 
  Bharath 
  
  To: [EMAIL PROTECTED] ups.com 
  Sent: Tuesday, September 09, 2008 1:16 
  AM
  Subject: [flexcoders] FW: Flash Videos 
   Download Video Link in Real Player ?
  
  
  
  
  Hi All, 
   
  Latest Version of Real Player 
  Gives an option to download Videos with link “Download This 
  Video”. 
   
  How to protect the videos from 
  this plugin ?.  
   
  I am very much shocked to see it 
  appears exactly over the flash video object. 
   
  How does the realplayer checks for 
  the video object that too which is placed inside an SWF 
  ? 
   
  We are basically using Flash to 
  deliver videos in both MP4 and FLV format. 
   
  I am very much disappointed with 
  this option can client can easily rip the content. 
   
  Is there any work around for 
  this? 
   
  Does Adobe is working on this 
  issue? 
   
   
   
   
   
  Thanks 
   
  - 
  Bharath 
   
   
   
   
   
   
  

  


	
	

  

[flexcoders] Fw: Radio Button Binding Binding Question

2008-07-01 Thread parjan
Hi i have two radio button in group g1 like this 

 mx:RadioButtonGroup id=g1/
 mx:RadioButton groupName=g1 selected=true name=X  label=XYZ  
x=135 y=3/
 mx:RadioButton groupName=g1  name=A label=ABC x=135 y=25/


and my objmodel's  property 'ptype' is bound with current radio button like this
BindingUtils.bindProperty( objModel , ptype , g1.selection , name 
);

but its seems binding is not working properly when i change the radio selection 
can anyone tell me what cud be the problem




[flexcoders] Fw: Re: Datagrid - Save Funtionality

2008-05-15 Thread Hemkarna
You can send the Array Collection that populates a DataGrid back to
the server. You may opt to convert the object to an XML object or do
what I have done is send Array objects back using AMF to the server
for consumption within your application.

You may want to use Flash Remoting (ColdFusion), BlazeDS (Java, ASP,
etc.) or LCDS to send the object back.

NOTE: If you want you can send dg.dataProvider and dg.columns to the
server these will be available as array of structures.

Enjoy!!!





[flexcoders] FW: AIr and NativeDragEvents

2008-04-02 Thread Dimitrios Gianninas
 
forwarding

Dimitrios Gianninas
Moderator

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jtgrassie
Sent: Wednesday, April 02, 2008 3:28 PM
To: [EMAIL PROTECTED]
Subject: Re: AIr and NativeDragEvents

addEventListener(NativeDragEvent.NATIVE_DRAG_ENTER, onDragEnter); 
addEventListener(NativeDragEvent.NATIVE_DRAG_DROP, onDragDrop);


private function onDragEnter(event:NativeDragEvent):void
{
if(event.clipboard.hasFormat(ClipboardFormats.FILE_LIST_FORMAT))
NativeDragManager.acceptDragDrop(this);
}

private function onDragDrop(event:NativeDragEvent):void
{
NativeDragManager.dropAction = NativeDragActions.COPY;
var files:Array =
event.clipboard.getData(ClipboardFormats.FILE_LIST_FORMAT) as Array;
for each (var f:File in files)
{
trace(f.nativePath);
}
}


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

 HI,
 
 I am working with Air and dragging from the desktop to my application.
  I've got notice that my NativeDragEvent is working.  When I get my 
 File list array from my clipboard event, what's next?
 
 How can I access the data for conversion to byteArray to send to the 
 server (if that's even necessary)?  How can I determine the filetype 
 with the clipboardFormats... etc.
 
 For instance, how do I find the filename and extension of the file 
 that I am dragging.  The few examples I've found out there are 
 examples written for Air Beta 1.  I am one those people who needs 
 examples to understand the process.  If you have any links of updates 
 posts it would be greatly appreciated.
 
 I'm ready to use the api, but it's a little daunting, any help 
 appreciated.  I went looking for an air book in the bookstore after i 
 saw the plethora of titles on amazon, and then I was bummed to learn 
 that they are still unavailable :(
 
 Thanks,
 Patrick



-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



[flexcoders] FW: LineChart: HorizontalAxisRenderer: (canDropLabels = true) Question

2008-02-05 Thread Dimitrios Gianninas

Forwarding...

Dimitrios Gianninas
Flexcoders moderator

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of fbruegma
Sent: Tuesday, February 05, 2008 9:10 AM
To: [EMAIL PROTECTED]
Subject: Re: LineChart: HorizontalAxisRenderer: (canDropLabels = true) Question

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

 Consider the following simple chart binding code below.
 
[snip]
 
 I understand that having identical labels on the CategoryAxis is 
 absolutely counter-productive and serves no real-world purpose,

Not true. I ran into the same bug with production data today. Some labels being 
the same is enough for the bug to occur. With our app, you would then use a 
mouseover to find out more details.

 Has anyone seen anything like this, or can you speak to why the 
 framework might choke when the x-axis labels are identical?

All I found out that in AxisRenderer.as, the condition in the loop ending in 
... while (bSkipRequired  bLabelsReduced) never becomes false, so the while 
loop is an infinite loop and a breakpoint on the next meaningful line (if 
(scalingRequired)...) is never hit.

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



[flexcoders] FW: How can I tell length or size of object ( not array ) but object ..

2008-01-04 Thread Dimitrios Gianninas
 
forwarding

Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jethro Grassie
Sent: Friday, January 04, 2008 4:08 PM
To: [EMAIL PROTECTED]
Subject: Re: How can I tell length or size of object ( not array ) but object ..

ObjectUtil.getClassInfo(myobj).properties.length;

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

 Is there a way to know a size of an object ( hash table ) without 
 doing a for loop ?
 
 as in:
 
 var o:Object = new Object();
 o.a = aa;
 o.b = bb;
 
 o.length or o.size does not work ? So how can I know size without 
 doing a loop every time ?
 
 Regards,
 
 Sean.



-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



RE: [flexcoders] FW: How can I tell length or size of object ( not array ) but object ..

2008-01-04 Thread Gordon Smith
It is probably MUCH faster to use a for-in loop to count the fields.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Dimitrios Gianninas
Sent: Friday, January 04, 2008 1:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: How can I tell length or size of object ( not array ) 
but object ..




forwarding

Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.

-Original Message-
From: [EMAIL PROTECTED] mailto:flexcoders-owner%40yahoogroups.com  
[mailto:[EMAIL PROTECTED] mailto:flexcoders-owner%40yahoogroups.com ] On 
Behalf Of Jethro Grassie
Sent: Friday, January 04, 2008 4:08 PM
To: [EMAIL PROTECTED] mailto:flexcoders-owner%40yahoogroups.com 
Subject: Re: How can I tell length or size of object ( not array ) but object ..

ObjectUtil.getClassInfo(myobj).properties.length;

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , 
helihobby [EMAIL PROTECTED] wrote:

 Is there a way to know a size of an object ( hash table ) without 
 doing a for loop ?
 
 as in:
 
 var o:Object = new Object();
 o.a = aa;
 o.b = bb;
 
 o.length or o.size does not work ? So how can I know size without 
 doing a loop every time ?
 
 Regards,
 
 Sean.


-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient. No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message. If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system. The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful. If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé. L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système. La lecture, la distribution, la copie ou tout 
autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



 


[flexcoders] FW: Reset flex application

2007-12-17 Thread Sebastian Zarzycki
I have an application written using Cairngorm. One of my decisions was to
use ViewHelpers, as a way to organize code into classes that support the
mxml view (without using ViewLocator in other parts of my code, i.e.
Commands). I'm facing the following problem :

My application is secured by login to external server. After successful
login it changes its state and display the actual interface. Now there is
also logout option. What I'm trying to achieve is basically reset
everything in my application, to allow use to log in once again, pull the
data once again, clear all the views. This however turned out to be a
problem. I can clear my model, I can send my main application state to the
default one, but this does not help, really. It seems that my other views,
still have the old references to the model, and thus displaying old values.
Now when new user logs in, he sees what the previous user has been doing. I
suspect that those ViewHelpers are part of the problem. Here is a snippet of
one of my views (application has few of those) :

public class VEmployeeDashboardHelper extends ViewHelper
{   
[Bindable]
public var model:ProjectDashboardModelLocator =
ProjectDashboardModelLocator.getInstance();

(...various methods...)

}   

So the model instance is taken here, once. Now when I clear the instance in
ModelLocator (instance, not just the reference), this reference here does
not reflect this. It still holds the data (copied?). Now at this point I'm
not even sure which behavior is correct. If the model changes, will such
code construction work, so that the model change is reflected in my view?
(the mxml components are binding to the model variable). 

Note that simple HTTP reload of application is not an option, since this app
will be released as desktop AIR app as well.

Using latest Flex Builder/Flash Player/nightly Flex 3 SDK (from yesterday,
actually, so even newer than this one with Flex Builder.

Sebastian Zarzycki
[EMAIL PROTECTED]




[flexcoders] FW: DataService Serialization of ArrayCollection subclass

2007-11-06 Thread Nathalie Roman

Hi All,
 
I'm trying to integrate a remote web service with an hierarchical structure 
with a flex User Interface, but I'm facing problems regarding working with 
TypedCollection objects.
 
The master-detail data I'm trying to invoke, populate in my flex-screens:
The client-side ActionScript-class with master- and detail data, as you will 
notice, the complexity I'm facing lies in the DosPersonsCollection, the child 
collection-objects : 
package be.fdms.dto
{
import be.kg.util.collections.TypedCollection;
[Managed]
[RemoteClass(alias=be.ws.proxy.Dossier)] 
public class Dossier 
{
public var id:int;
public var dotCd:String = A;
public var dosPersonsCollection:DosPersonsCollection;
 
package be.kg.fdms.dto
{
import be.util.collections.TypedCollection;
import mx.collections.ArrayCollection;

[Managed]
[RemoteClass(alias=be.ws.proxy.DosPersonsCollection)] 
public class DosPersonsCollection
{
public var dosPersons:TypedCollection = new TypedCollection(DosPersons);
}
} My server-side objects, which are java classes used in a web service proxy 
client: package be.ws.proxy;public class Dossier implements 
java.io.Serializable {protected java.lang.String dotCd;protected int 
id;protected be.ws.proxy.DosPersonsCollection dosPersonsCollection;package 
be.ws.proxy;public class DosPersonsCollection implements java.io.Serializable { 
   protected be.ws.proxy.DosPersons[] dosPersons; When I try to invoke the 
dossier-element with typed collections filled in: the following error is 
thrown, without succesfull invocation of the external webservice:ArgumentError: 
Error #2004: One of the parameters is invalid. at 
flash.net::NetConnection/flash.net:NetConnection::invokeWithArgsArray() at 
flash.net::NetConnection/call() at 
mx.messaging.channels::NetConnectionChannel/mx.messaging.channels:NetConnectionChannel::internalSend()
 at mx.messaging::Channel/send() at mx.messaging::ChannelSet/send() at 
mx.messaging::ChannelSet/channelConnectHandler() at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent() at 
mx.messaging::Channel/mx.messaging:Channel::connectSuccess() at 
mx.messaging.channels::RTMPChannel/mx.messaging.channels:RTMPChannel::setUpMainNC()
 at 
mx.messaging.channels::RTMPChannel/mx.messaging.channels:RTMPChannel::tempStatusHandler()Kind
 regards,Nathalie
_
Neem je vrienden overal mee dankzij Messenger op je gsm.
http://messenger.live.com

Re: [flexcoders] FW: FileReference.upload()

2007-10-26 Thread Richard Rodseth
I've received confirmation from Dave Wolf at Cynergy that this is a
long-standing problem.

I notice that Adobe Share uploads work in Firefox. It would appear
that they might be using AMF. Any idea how that might work? I don't
believe there's a way to get to file bytes from a FileReference
(presumably a security concern).

At this point I'm looking for workarounds that don't involve too much
in the way of UI compromise.

On 10/25/07, Richard Rodseth [EMAIL PROTECTED] wrote:
 What, no votes yet? :)

 Here's the link:

 http://bugs.adobe.com/jira/browse/SDK-13196

 On 10/25/07, Richard Rodseth [EMAIL PROTECTED] wrote:
  Not sure what the fixed bug is that Matt refers to, but I just logged
 
  SDK-13196
 
  Please cast your votes and/or add your experience reports.
 
  - Richard
 
  On 7/23/07, Matt Chotin [EMAIL PROTECTED] wrote:
  
   How is your crossdomain file set up?  I see one bug for HTTPS upload that
   was not reproducible and another that we fixed recently when a default
   crossdomain file didn't seem to work (fix should be available in a nightly
   build of the SDK).
  
  
  
   Matt
  
 



RE: [flexcoders] FW: FileReference.upload()

2007-10-26 Thread Seth Caldwell
At my blogspot, I posted my javascript workaround for uploads in firefox
over SSL.

Please see http://sethonflex.blogspot.com/

 

I don't have Adobe Share access, but I would love to see how they accomplish
fileupload in firefox over SSL - I don't think they can do it without using
filereference.upload unless you click something granting the application
special access. (because filereference is the only way into the user files
when you're within the sandbox,  I believe).

 

In any case, I hope my workaround might help some of you until Adobe fixes
their flash player!

 

Seth

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Rodseth
Sent: Friday, October 26, 2007 10:45 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] FW: FileReference.upload()

 

I've received confirmation from Dave Wolf at Cynergy that this is a
long-standing problem.

I notice that Adobe Share uploads work in Firefox. It would appear
that they might be using AMF. Any idea how that might work? I don't
believe there's a way to get to file bytes from a FileReference
(presumably a security concern).

At this point I'm looking for workarounds that don't involve too much
in the way of UI compromise.

On 10/25/07, Richard Rodseth [EMAIL PROTECTED]
mailto:rrodseth%40gmail.com  wrote:
 What, no votes yet? :)

 Here's the link:

 http://bugs.adobe.com/jira/browse/SDK-13196

 On 10/25/07, Richard Rodseth [EMAIL PROTECTED]
mailto:rrodseth%40gmail.com  wrote:
  Not sure what the fixed bug is that Matt refers to, but I just logged
 
  SDK-13196
 
  Please cast your votes and/or add your experience reports.
 
  - Richard
 
  On 7/23/07, Matt Chotin [EMAIL PROTECTED] mailto:mchotin%40adobe.com
 wrote:
  
   How is your crossdomain file set up? I see one bug for HTTPS upload
that
   was not reproducible and another that we fixed recently when a default
   crossdomain file didn't seem to work (fix should be available in a
nightly
   build of the SDK).
  
  
  
   Matt
  
 


 



Re: [flexcoders] FW: FileReference.upload()

2007-10-26 Thread Richard Rodseth
Thanks Seth.

I discovered another issue. If you have a load balancer that needs a
cookie for session stickiness, you can't pass it on the URL as you can
with the Tomcat session id. And it seems that URLRequestHeader is not
supported by FileReference.upload()

We're up to five votes.

On 10/26/07, Seth Caldwell [EMAIL PROTECTED] wrote:

 At my blogspot, I posted my javascript workaround for uploads in firefox
 over SSL.

 Please see http://sethonflex.blogspot.com/



 I don't have Adobe Share access, but I would love to see how they accomplish
 fileupload in firefox over SSL – I don't think they can do it without using
 filereference.upload unless you click something granting the application
 special access. (because filereference is the only way into the user files
 when you're within the sandbox,  I believe).



 In any case, I hope my workaround might help some of you until Adobe fixes
 their flash player!


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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] FW: FileReference.upload()

2007-10-25 Thread Richard Rodseth
Not sure what the fixed bug is that Matt refers to, but I just logged

SDK-13196

Please cast your votes and/or add your experience reports.

- Richard

On 7/23/07, Matt Chotin [EMAIL PROTECTED] wrote:

 How is your crossdomain file set up?  I see one bug for HTTPS upload that
 was not reproducible and another that we fixed recently when a default
 crossdomain file didn't seem to work (fix should be available in a nightly
 build of the SDK).



 Matt



Re: [flexcoders] FW: FileReference.upload()

2007-10-25 Thread Richard Rodseth
What, no votes yet? :)

Here's the link:

http://bugs.adobe.com/jira/browse/SDK-13196

On 10/25/07, Richard Rodseth [EMAIL PROTECTED] wrote:
 Not sure what the fixed bug is that Matt refers to, but I just logged

 SDK-13196

 Please cast your votes and/or add your experience reports.

 - Richard

 On 7/23/07, Matt Chotin [EMAIL PROTECTED] wrote:
 
  How is your crossdomain file set up?  I see one bug for HTTPS upload that
  was not reproducible and another that we fixed recently when a default
  crossdomain file didn't seem to work (fix should be available in a nightly
  build of the SDK).
 
 
 
  Matt
 



RE: [flexcoders] FW: FileReference.upload()

2007-10-24 Thread Seth Caldwell
Correct. Got an egg in my face as well, as I was touting flex as the end all
solution for cross browser woes =0

I have tried every possible solution – crossdomain files, and so forth.

However, I coded a workaround that was accepted using a javascript popup
window. The difference is pretty negligible, and only appears for firefox
users.

If anyone would like this code, please email me off list.

 

Cheers,

 

Seth

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Rodseth
Sent: Tuesday, October 23, 2007 10:42 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] FW: FileReference.upload()

 

Hi Matt

If the problem can be solved with a crossdomain.xml file (specific
ports etc.), please tell us what it should look like or publish a
working example. After advocating Flex as the solution to
cross-browser woes, I have egg on my face until this is resolved, and
it seems I am not alone.

Here's an excerpt of a message I sent to Ryan Stewart, describing my
setup. I'm using Flex 2.0.1 Hot Fix 3.

Thanks!

- Richard



Specifically, we are are using FileReference.upload() to an HTTPS URL
on a Tomcat/Struts server. The upload fails (Error #2038: File I/O
Error) in Firefox when the upload URL is HTTPS. It succeeds over
regular HTTP. It succeeds in other browsers.

We have a crossdomain.xml that looks like this currently:

?xml version=1.0?
!DOCTYPE cross-domain-policy SYSTEM 
http://www.macromed
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd
ia.com/xml/dtds/cross-domain-policy.dtd
cross-domain-policy
allow-access-from domain=*/
/cross-domain-policy

We are loading it explicitly as described here:

http://www.onflex.
http://www.onflex.org/ted/2005/11/using-flash-player-under-https-with.php
org/ted/2005/11/using-flash-player-under-https-with.php

That is an old post from Ted, and you'll notice in the comments that
others are struggling with this. Also the link to the Cynergy
crossdomain.xml is broken.

We are also passing the jsessionid to Tomcat, as described here:

http://thanksmister http://thanksmister.com/?p=59 .com/?p=59

The Struts actions on the backend do this to keep IE happy:
response.setHeader(Cache-Control, max-age=0, must-revalidate);

But so far, no joy. Any pointers would be much appreciated.

On 7/23/07, Matt Chotin [EMAIL PROTECTED] mailto:mchotin%40adobe.com com
wrote:









 How is your crossdomain file set up? I see one bug for HTTPS upload that
 was not reproducible and another that we fixed recently when a default
 crossdomain file didn't seem to work (fix should be available in a nightly
 build of the SDK).



 Matt





 From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
[mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com]
On
 Behalf Of Dimitrios Gianninas
 Sent: Monday, July 23, 2007 10:10 AM
 To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com
 Subject: [flexcoders] FW: FileReference.upload()








 Forwarding...

 -Original Message-
 From: flexcoders-owner@ mailto:flexcoders-owner%40yahoogroups.com
yahoogroups.com
 [mailto:flexcoders-owner@ mailto:flexcoders-owner%40yahoogroups.com
yahoogroups.com] On Behalf Of Jus
 Sent: Monday, July 23, 2007 12:07 PM
 To: flexcoders-owner@ mailto:flexcoders-owner%40yahoogroups.com
yahoogroups.com
 Subject: Re: FileReference.upload()

 We really need action on this issue. There are posts on various forums
 about this issue from 2005 / Flash Player 8.

 Not sure if it's an Adobe Flash or Mozilla Firefox issue, but from what I
 can tell it hasn't been acknowledged as an official bug by either
 organisation.

 That is alarming for someone like me that is looking at using Flex for
 developing a CMS app that needs to be accessible via HTTPS (and a core
 function of the app is uploading content).

 If anyone has an update on this issue, or if someone from Adobe reads
this,
 can you please post an update on the status of this bug.

 Thanks

 --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com,
Sastry [EMAIL PROTECTED] wrote:
 
  Hi Coders,
 
  1.Did anone got the FileReference.upload() work on Mozilla and HTTPS?
 
  I need to upload an Image to the server(Tomcat). On the server side I
  am using Apache Commons FileUpload to save it ti the DB. We open only
  HTTPS port on the server.
 
  I coded using FileReference and also removed the servlet on the server
  side from Authentication. It works fine on IE. But somehow breaks on
  Mozilla. Somehow the request itself doesn't go to the server. Please
  help me.
 
  2.Is there any alternative to FileReference?
 
  Thanks in Advance,
  Sastry
 

 --
 WARNING
 ---
 This electronic message and its attachments may contain confidential,
 proprietary or legally privileged information, which is solely for the use
 of the intended recipient. No privilege or other rights are waived by any
 unintended transmission or unauthorized retransmission of this message. If
 you

Re: [flexcoders] FW: FileReference.upload()

2007-10-24 Thread Tom Chiverton
On Wednesday 24 Oct 2007, [EMAIL PROTECTED] wrote:
 It is because Flash Player uses the same infrastructure to upload files to
 a server as IE even if you are in FF.

This explains why we don't see it, as we test on FireFox/Linux and IE/Windows.

 So when you do an upload via FF, on 
 the server-side you get a brand new session that is created, and thats the
 problem.

Well, it's not intractable. It's not the end of Flex as a cross platform 
language.
The obvious work arounds seem to work OK, don't they ?

-- 
Tom Chiverton
Helping to challengingly enhance fourth-generation portals
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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


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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] FW: FileReference.upload()

2007-10-24 Thread Jon Bradley

Yargh.

I'm running into the exact same thing right now. I'm testing Django  
as the backend for file upload and can't seem to figure out how to  
get it to work. IE is not an option for development or testing of any  
type.


Has anyone gotten this to work with any server scripting? The  
FileReference classes allow you to pass in custom variables. Is there  
a way to capture the session and pass that session back to the  
server? Regardless of whether or not a new session is created, the  
current session is still valid and runs. It just changes for the  
instance of the upload.


I'm guessing we could store the session var and pass it back with the  
file upload and check that on the server to ensure that it's still  
valid - ignoring anything else that gets sent back in the header for  
session details. Possible?


Has anyone gotten file uploading to work through django with firefox?  
Are there any other solutions that do not include popups (absolutely  
not an option for me)?


- j


On Oct 24, 2007, at 9:26 AM, Dimitrios Gianninas wrote:

yes this bug is known for a long while to some people, guess you  
guys are discovering it now :(


It is because Flash Player uses the same infrastructure to upload  
files to a server as IE even if you are in FF. So when you do an  
upload via FF, on the server-side you get a brand new session that  
is created, and thats the problem.


From what I know this is not an easy change, since it required  
changes in the Flash Player itself, so we just have to be patient.  
No idea when this will be fixed, I am personally hoping for Flash  
Player 10, but who knows.


Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.


From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of Seth Caldwell

Sent: Wednesday, October 24, 2007 2:51 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: FileReference.upload()

Correct. Got an egg in my face as well, as I was touting flex as  
the end all solution for cross browser woes =0


I have tried every possible solution - crossdomain files, and so  
forth.


However, I coded a workaround that was accepted using a javascript  
popup window. The difference is pretty negligible, and only appears  
for firefox users.


If anyone would like this code, please email me off list.


Cheers,


Seth




Re: [flexcoders] FW: FileReference.upload()

2007-10-24 Thread Tom Chiverton
On Wednesday 24 Oct 2007, [EMAIL PROTECTED] wrote:
 I'm guessing we could store the session var and pass it back with the
 file upload and check that on the server to ensure that it's still
 valid

That would be my solution.

-- 
Tom Chiverton
Helping to centrally reintermediate impactful products
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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


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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] FW: FileReference.upload()

2007-10-23 Thread Richard Rodseth
Hi Matt

If the problem can be solved with a crossdomain.xml file (specific
ports etc.), please tell us what it should look like or publish a
working example. After advocating Flex as the solution to
cross-browser woes, I have egg on my face until this is resolved, and
it seems I am not alone.

Here's an excerpt of a message I sent to Ryan Stewart, describing my
setup. I'm using Flex 2.0.1 Hot Fix 3.

Thanks!

- Richard



Specifically, we are are using FileReference.upload() to an HTTPS URL
on a Tomcat/Struts server. The upload fails (Error #2038: File I/O
Error) in Firefox when the upload URL is HTTPS. It succeeds over
regular HTTP. It succeeds in other browsers.

We have a crossdomain.xml that looks like this currently:

?xml version=1.0?
!DOCTYPE cross-domain-policy SYSTEM 
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd;
cross-domain-policy
allow-access-from domain=*/
/cross-domain-policy

We are loading it explicitly as described here:

http://www.onflex.org/ted/2005/11/using-flash-player-under-https-with.php

That is an old post from Ted, and you'll notice in the comments that
others are struggling with this. Also the link to the Cynergy
crossdomain.xml is broken.

We are also passing the jsessionid to Tomcat, as described here:

http://thanksmister.com/?p=59

The Struts actions on the backend do this to keep IE happy:
response.setHeader(Cache-Control, max-age=0, must-revalidate);

But so far, no joy. Any pointers would be much appreciated.


On 7/23/07, Matt Chotin [EMAIL PROTECTED] wrote:









 How is your crossdomain file set up?  I see one bug for HTTPS upload that
 was not reproducible and another that we fixed recently when a default
 crossdomain file didn't seem to work (fix should be available in a nightly
 build of the SDK).



 Matt





 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Dimitrios Gianninas
  Sent: Monday, July 23, 2007 10:10 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] FW: FileReference.upload()








  Forwarding...

  -Original Message-
  From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Jus
  Sent: Monday, July 23, 2007 12:07 PM
  To: [EMAIL PROTECTED]
  Subject: Re: FileReference.upload()

  We really need action on this issue. There are posts on various forums
 about this issue from 2005 / Flash Player 8.

  Not sure if it's an Adobe Flash or Mozilla Firefox issue, but from what I
 can tell it hasn't been acknowledged as an official bug by either
 organisation.

  That is alarming for someone like me that is looking at using Flex for
 developing a CMS app that needs to be accessible via HTTPS (and a core
 function of the app is uploading content).

  If anyone has an update on this issue, or if someone from Adobe reads this,
 can you please post an update on the status of this bug.

  Thanks

  --- In flexcoders@yahoogroups.com, Sastry [EMAIL PROTECTED] wrote:
  
   Hi Coders,
  
   1.Did anone got the FileReference.upload() work on Mozilla and HTTPS?
  
   I need to upload an Image to the server(Tomcat). On the server side I
   am using Apache Commons FileUpload to save it ti the DB. We open only
   HTTPS port on the server.
  
   I coded using FileReference and also removed the servlet on the server
   side from Authentication. It works fine on IE. But somehow breaks on
   Mozilla. Somehow the request itself doesn't go to the server. Please
   help me.
  
   2.Is there any alternative to FileReference?
  
   Thanks in Advance,
   Sastry
  

  --
  WARNING
  ---
  This electronic message and its attachments may contain confidential,
 proprietary or legally privileged information, which is solely for the use
 of the intended recipient. No privilege or other rights are waived by any
 unintended transmission or unauthorized retransmission of this message. If
 you are not the intended recipient of this message, or if you have received
 it in error, you should immediately stop reading this message and delete it
 and all attachments from your system. The reading, distribution, copying or
 other use of this message or its attachments by unintended recipients is
 unauthorized and may be unlawful. If you have received this e-mail in error,
 please notify the sender.

  AVIS IMPORTANT
  --
  Ce message électronique et ses pièces jointes peuvent contenir des
 renseignements confidentiels, exclusifs ou légalement privilégiés destinés
 au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
 privilège ou à aucun autre droit si le présent message a été transmis
 involontairement ou s'il est retransmis sans son autorisation. Si vous
 n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
 par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
 que toutes ses pièces jointes, de votre système. La lecture, la
 distribution, la copie ou tout autre usage du présent message ou de ses
 pièces jointes par des personnes

[flexcoders] FW: yahoo maps CustomSWFMarker

2007-09-26 Thread Dimitrios Gianninas
forwarding 


Dimitrios Gianninas
Moderator

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of oivind_gronli
Sent: Wednesday, September 26, 2007 8:08 AM
To: [EMAIL PROTECTED]
Subject: Re: yahoo maps CustomSWFMarker

Try this:

Alert.show(Type:  + ev.lastResult.type + \nRef:  + ev.lastResult.ref);

I was able to figure out the name of the reference parameter, but I can't 
figure out how to use it. I want to call functions on the custom marker, and 
eventually having the custom marker dispatching events which I can listen for.

I think I might need the YahooMap.swc, but I get an error when I try to add 
this to my project.

Any tips on how to do this?

Thanks
Oivind

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

 Thanks, it did help, in order to load custom markers with click
events this is now my attempt
  
 What I am now trying to do is load custom markers, once the user
clicks on it, it's a method inside the loaded swf marker that loads the 
image...but I need to pass the image location to the loaded swf.. 
once it's loaded... This is what I have so far:
 
 I added an event listener :
 mapEventDispatcher.addEventListener('addSWFMarkerByAddress_Result',
onSWFMarkerAdded);
 
 Then similar to what you have:
 latLonController.addMarkerByLatLon('CustomSWFMarker',44, -80,
{url:'customMarker.swf', ref:'myMark'});
 
 Then the event function:
  private function onSWFMarkerAdded(ev:Object):void {
 Alert.show(ev.lastResult, 'Title');
   //shows nothing...
 }
 
 All works great, the event fires when the markers are added BUT
from what I gather the event object ev has 2 params: event type and a 
reference id. I do not know however what the actual param names areAnd for 
some reason my Flexbuilder hangs while the map is loading ( I am uing the yahoo 
as3 connection kit) in debug mode.. I cannot go see the names..
 
 So now, I am trying to figure out how I am going to pass the data
to the loaded swf  :(
 
 Perhaps this is the wrong approach, but I am learning! :)
 
 thanks in advance for any help!
 
 
 
 - Original Message 
 From: Abyss Knight [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, September 12, 2007 3:21:19 PM
 Subject: [flexcoders] Re: yahoo maps CustomSWFMarker
 
 I actually am having the same documentation issues, but this might 
 help you:
 
 latLonController. addMarkerByLatLo n('CustomPOIMark er',dp[i] .lat,
 dp[i].lon,{index: index,title: dp[i].shortName, description:
 description, markerColor: Number('0x3366CC' ), strokeColor:
 Number('0xCEE9FF' )});
 
 Basically, it uses the latLonController to add CustomPOIMarker.
 Problem is, the response will not give you a reference. I hacked 
 around it using the title of the marker as an index to the data
array.
 
 Hope that helps,
 - William
 
 --- In [EMAIL PROTECTED] ups.com, thibs73 thibs73@  wrote:
 
  
  Hi there,
  
  Anyone know if there is a click event for a CustomSWFMarker in
yahoo 
  Maps? Just like the onPOIClicked for POIMarker... why am I not
using 
  POIMarker? Because it seems that I can only add POI Markers by
address 
  only. I need to be able to add it by Lat  Lon.
  
  To sum up, I want to add custom makers by Lat  Lon, open a
unique 
  image when the user clicks on any of them. \
  
  I am having a hard time finding documentation on this.
  
  Any help would be great,
  Thank-you
 
 
 
 
 
 
   Be smarter than spam. See how smart SpamGuard is at giving
junk email the boot with the All-new Yahoo! Mail at 
http://mrd.mail.yahoo.com/try_beta?.intl=ca



-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent 

[flexcoders] FW: Dynamic LineSeries based upon Array Collection?

2007-05-31 Thread Dimitrios Gianninas
forwarding...

Dimitrios Gianninas
Optimal Payments Inc.



-Original Message-
From: [EMAIL PROTECTED] on behalf of majid.tahir
Sent: Thu 5/31/2007 7:20 PM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic LineSeries based upon Array Collection?
 
I am struggling with same issue.  I can dynamically create the series
in AS but it seems if I am changing the dataprovider then things dont
work.  

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

 Has anyone had any success in creating a chart with a series that 
 you can add to at runtime?  (Like Yahoo finance charts 2.0).  I 
 haven't yet seen an example where the LinSeries is based upon a 
 changing (growing) set of external xml data files.  Below i paste a 
 snippet where i try to for loop through an Array Collection and 
 create a separate httpservice call for each dataset (each baseball 
 player).  The httpservice URL is created dynamically based upon the 
 arraycollection.  I don't get any errors, but my chart will not 
 paint my data.  I think my problem is in:
 
 newSeries.dataProvider = myService.lastResult.item;
 
 thanks,
 Ted
 
   mx:Script![CDATA[
   import mx.rpc.http.mxml.HTTPService;
   import mx.charts.chartClasses.StackedSeries;
   import mx.charts.chartClasses.Series;
   import mx.events.IndexChangedEvent;
   import mx.events.ListEvent;
   import mx.utils.StringUtil;
 import mx.controls.Alert;
 import mx.charts.events.ChartItemEvent;
 import mx.collections.ArrayCollection;
 import mx.utils.ArrayUtil;
 import mx.charts.series.LineSeries;
 import mx.charts.DateTimeAxis;
 import mx.charts.CategoryAxis;
 
 [Bindable]
 public var ItemsInChart:ArrayCollection = new ArrayCollection
 ([
   {playerName: Babe_Ruth, playerID: 123456},
   {playerName: Hank_Aaron, playerID: 123457}]);
   
 public function initApp():void { 
//Loop through the ArrayCollection ItemsinChart and create 
 a new httpservice and line for each.
 var i:int;
 for (i = 0; i  ItemsInChart.length; i++) {
   var myService:HTTPService = new 
 HTTPService();
   var playerStr:String = 
 ItemsInChart.getItemAt(i).playerName;  
   myService.url = assets/ + playerStr 
 + .xml;
   myService.send();

  // Create the new series and set its properties.
var series:Array = myChart.series;
var newSeries:LineSeries = new LineSeries;
newSeries.dataProvider = myService.lastResult.item;
newSeries.xField = Year;
newSeries.yField = Home_Runs;
newSeries.displayName = Home Runs for Baseball 
 Greats;
newSeries.name = Home Runs;   
  // Add the new series to the current Array of series.
series.push(newSeries);
myChart.series = series;
 }
 }
   ]]
/mx:Script




-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



Re: [flexcoders] Fw: output formats (excel/word)

2007-05-15 Thread Jim Cheng
Tom Chiverton wrote:

 if i want to allow users to export data into excel and send it directly to
 their desktop (like cfcontent does),  would it be worth getting into?  are
 
 You might want to look at Apollo, though of course XLS can be just a HTML 
 file 
 with a table tag in, in which case you could go that route - but Flash can't 
 talk to the network and the local filesystem from the same file.

Apollo is an excellent tool for outputting data in Excel-friendly 
formats.  The only caveat for now is that there's a dearth of libraries 
that'll do this, so you'll probably need to write your own emitter.

I actually did just this by rolling a minimal SpreadsheetML emitter over 
the course of a few hours just in time for the eBay Desktop demo that 
Mike Downey was showing at the DEMO '07 conference a few months ago. 
That's part of the magic underneath the hood that allowed him to show 
dragging the data grid straight to the desktop where it saved as a file, 
and then immediately re-opening the formatted data straight into Excel.

While Excel can handle data in HTML tables just fine, I'd suggest from 
experience that Derrick take a look at using SpreadsheetML if he needs 
anything more than a simple tabular data of the sort that HTML tables 
and CSV formatted data are well suited for.  Among other things, it 
supports styling and accurate handling of localized decimal notation, 
both of which we wanted in the eBay demo.

Jim Cheng
effectiveUI


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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] Fw: output formats (excel/word)

2007-05-15 Thread Derrick Anderson
Hey Jim,

Thanks for the tip on spreadsheetML, I'll have a look at it for my apollo 
projects, although this is for a project going live with a quick turn-around- 
apollo is not right for the application, it should be web based (besides apollo 
being alpha), so for now i'm still on the path to getting CF to do my exporting 
(although i'd love it if there were a better way).

d.



- Original Message 
From: Jim Cheng [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, May 15, 2007 1:10:11 PM
Subject: Re: [flexcoders] Fw: output formats (excel/word)

Tom Chiverton wrote:

 if i want to allow users to export data into excel and send it directly to
 their desktop (like cfcontent does),  would it be worth getting into?  are
 
 You might want to look at Apollo, though of course XLS can be just a HTML 
 file 
 with a table tag in, in which case you could go that route - but Flash can't 
 talk to the network and the local filesystem from the same file.

Apollo is an excellent tool for outputting data in Excel-friendly 
formats.  The only caveat for now is that there's a dearth of libraries 
that'll do this, so you'll probably need to write your own emitter.

I actually did just this by rolling a minimal SpreadsheetML emitter over 
the course of a few hours just in time for the eBay Desktop demo that 
Mike Downey was showing at the DEMO '07 conference a few months ago. 
That's part of the magic underneath the hood that allowed him to show 
dragging the data grid straight to the desktop where it saved as a file, 
and then immediately re-opening the formatted data straight into Excel.

While Excel can handle data in HTML tables just fine, I'd suggest from 
experience that Derrick take a look at using SpreadsheetML if he needs 
anything more than a simple tabular data of the sort that HTML tables 
and CSV formatted data are well suited for.  Among other things, it 
supports styling and accurate handling of localized decimal notation, 
both of which we wanted in the eBay demo.

Jim Cheng
effectiveUI


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










 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

Re: [flexcoders] Fw: output formats (excel/word)

2007-05-11 Thread Tom Chiverton
On Friday 11 May 2007, Derrick Anderson wrote:
 xls/doc/pdf documents in flex.  i'm sure the pdf integration is there,

Or not.

 if i want to allow users to export data into excel and send it directly to
 their desktop (like cfcontent does),  would it be worth getting into?  are

You might want to look at Apollo, though of course XLS can be just a HTML file 
with a table tag in, in which case you could go that route - but Flash can't 
talk to the network and the local filesystem from the same file.

-- 
Tom Chiverton
Helping to confidentially foster real-time services
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] Fw: output formats (excel/word)

2007-05-11 Thread Derrick Anderson
really? no pdf? i thought that was a shoo-in with the acquisition and all- oh 
well, but no xls and no .doc either?

apollo is not right for this job, this is a web app and there is no 
justification bringing it to the desktop (plus apollo will not be released in 
time)

i did some googling and found this article with what looks like a solution for 
exporting to excel, has anybody done this?

http://www.meutzner.com/blog/index.cfm/2006/12/8/Export-to-Excel-with-Flex-20-and-ColdFusion

am i alone in thinking that the inability to export out all of the fine 
reporting that flex is capable of is a huge drawback for flex??



- Original Message 
From: Tom Chiverton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, May 11, 2007 6:46:05 AM
Subject: Re: [flexcoders] Fw: output formats (excel/word)

On Friday 11 May 2007, Derrick Anderson wrote:
 xls/doc/pdf documents in flex.  i'm sure the pdf integration is there,

Or not.

 if i want to allow users to export data into excel and send it directly to
 their desktop (like cfcontent does),  would it be worth getting into?  are

You might want to look at Apollo, though of course XLS can be just a HTML file 
with a table tag in, in which case you could go that route - but Flash can't 
talk to the network and the local filesystem from the same file.

-- 
Tom Chiverton
Helping to confidentially foster real-time services
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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



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










   
You
 snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html

Re: [flexcoders] Fw: output formats (excel/word)

2007-05-11 Thread Tom Chiverton
On Friday 11 May 2007, Derrick Anderson wrote:
 am i alone in thinking that the inability to export out all of the fine
 reporting that flex is capable of is a huge drawback for flex??

shrug
Flex runs client-side, and with in the browser sandbox. This gives it limits.

-- 
Tom Chiverton
Helping to paradigmatically create revolutionary meta-services
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


[flexcoders] Fw: output formats (excel/word)

2007-05-10 Thread Derrick Anderson
i sent this earlier and i never saw it come through (this is the second one the 
group dropped) so sorry if it comes thru twice..


hi,

i am digging my heels into flex and as I am about to start a project for a 
client of mine to build a 'reporting dashboard' i am really considering using 
flex to do it (i am SO not impressed with coldfusion anymore :) )  I am up for 
the challenge but I am wondering how easy it is to create xls/doc/pdf documents 
in flex.  i'm sure the pdf integration is there, but if i want to allow users 
to export data into excel and send it directly to their desktop (like cfcontent 
does),  would it be worth getting into?  are there any resources explaining how 
to do it?

thanks








 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

[flexcoders] FW: Data Binding to Item in ArrayCollection

2007-04-12 Thread Dimitrios Gianninas
 
Forwarding...

Dimitrios Gianninas
Developer
Optimal Payments Inc.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of davepelz
Sent: Wednesday, April 11, 2007 11:43 AM
To: [EMAIL PROTECTED]
Subject: Re: Data Binding to Item in ArrayCollection

Hey,

Just jumped on the flexcoders list.  I saw this post which answered exactly one 
problem I was facing in theory but im still confused on how to actually 
implement it.  

In a cairngorm app, you want to detect the change to the row and then 
send it to the server. If the server accepts the change then in the response to 
the command object you change the item in the arrayCollection which is then 
reflected in your data grid, which is bound to the arrayCollection. ...by the 
way you want to use the functions of the arrayCollection to change the data 
because otherwise events that cause the datagrid to update will not be 
triggered.


If I understand correctly than you will be using the function 
setItemAt(item:Object, index:int) to update your arrayCollection. 

So does that mean you should send the entire selected row object (with
changes) to the server and have it send back that object if the database update 
was a success so that you can use the object in the setItemAt function.  Or is 
there a better way to do this? 

I thought maybe holding the temporary object in the modelLocator would work. 
But it seems like if someone was really fast and your server really slow that 
there could be a problem if someone edited another row and tried to save the 
changes before there was a response from the server on the previous edit.

Also how do you get the arrayCollection index of the selected datagrid row to 
use in the setItemAt() function.  It seems that when you sort the grid the 
rowIndex does not stay constant for a given item.


Im sure this isn't nearly as complicated as I'm making it sound, but that seems 
to be the case pretty often when im coding.


Dan 











--- In [EMAIL PROTECTED], Troy Gilbert [EMAIL PROTECTED]
wrote:

 Kevin,
 
 When I first encountered data binding I thought the same thing you
did, that
 it was a two-way binding. Of course, in reality you usually don't
won't a
 direct two-way binding because either you need to validate the data
before
 it is stored, or there is a side-effect to the data change before it 
 is stored, or it needs to be transmitted to the server first.
 
 Binding really is a great MVC tool because it encourages you to truly 
 separate your app into Model, View and Controller. With binding, the
view
 only gets read-only access to the model and also automatically 
 receives notifications of updates.
 
 Of course, in some cases where your view is only editing plain data
stored
 locally, you do sometimes want two-way binding. Fortunately, Flex's
binding
 mechanisms detects loops and prevents them, so you don't have to
worry about
 cycles in your binding!
 
 Troy.
 
 
 On 12 Mar 2007 15:57:45 -0700, Sean Sell [EMAIL PROTECTED] wrote:
 
Hank is correct, but if you are working on a prototype or
something and
  are editing data in place
  you might want to try a call to currentUsersList.refresh() and see
if your
  changes show up.
 
  I have the following:
 
  private function sampleMessageHandler( e : MessageEvent) :
  void
  {
  conversation += e.message.headers.sender +  /  +
  e.message.headers.type +  /  +
  e.message.headers.oper +
  :  + e.message.body + \n;
 
  if (e.message.headers.type == data) {
  if (e.message.headers.oper == add) {
  var obj : Object = new Object();
  obj.col1 = e.message.body;
  myData.addItem(obj);
  } else if (e.message.headers.oper == lock) {
  var myCursor : IViewCursor =
myData.createCursor
  ();
  while (!myCursor.afterLast) {
  if (myCursor.current.col1 ==
e.message.body) {
  myCursor.current.col2 = 
  e.message.headers.sender;
  myData.refresh();
  break;
  }
  myCursor.moveNext();
  }
 
  }
  }
  }
 
  The changes don't show up in the grid until the myData.refresh();
 
 
  --Sean
 
  - Original Message 
  From: hank williams [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, March 12, 2007 6:16:37 PM
  Subject: Re: [flexcoders] Data Binding to Item in ArrayCollection
 
   Kevin,
 
  In a cairngorm app, you want to detect the change to the row and
then send
  it to the server. If the server accepts the change then in the
response to
  the command object you change the item in the arrayCollection

[flexcoders] FW: Cold Fusion/Cairngorm VO advice

2007-02-20 Thread Dimitrios Gianninas
Forwarding... 


Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Gasienica
Sent: Tuesday, February 20, 2007 5:07 AM
To: [EMAIL PROTECTED]
Subject: Re: Cold Fusion/Cairngorm VO advice

Actually, I have exactly the same questions.

1. For the master views I simply fetch a query from ColdFusion since I have up 
to 10'000 records. The result is then bound to a datagrid.
This solution is blazing fast and works great.

2. For the detail views I fetch a strongly-typed VO from the server using 
ColdFusion and the Reactor ORM framework, although I am experiencing severe 
performance problems. I wanted to look into lazy-loading of data, but it seems 
to make the application logic unnecessarly complex.

According to literature I've read the server is responsible for constructing 
the typed value objects. This makes sense to me, as the front-end should not 
worry about data serialization. However, what speaks against leveraging the 
currently common 1-2GHz computing power on the client?

Another question I have is:
How are value objects related to business objects?

My client-side VO have additional business logic implemented. For me it is a 
bad 'smell', although I am not sure how to handle it differently without adding 
another (unnecessary) layer of abstraction... Would it be wise to pass value 
objects (in literature mostly referred to as data transfer objects (DTO)) 
between server and client and then attach them to 'smarter' business objects 
with additional logic?

Regards,
Daniel

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

 I am new to Cairngorm and Flex. Looking over the store example and 
 several others and they all seem to use Value Objects to pass and 
 define the data on the client. I have a lot of data and structures to 
 return to flex in my application.
 
 1.Should i avoid returning data to Cairngorm via cfc queries and 
 return all my data on the server via defined VO's? Does this make 
 sense for simple data exchanges?
 
 2.In Cairngorm what is the best way to pass a complex structure into 
 the app? For example I have products which belong to product owners 
 which are mapped to entitlements. Should i define these all as VO's 
 embedded inside each other?
 
 Thanks in advance for any advice,
 
 AJ



-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



[flexcoders] FW: Linking to external images or css files?

2006-12-18 Thread jason.proulx
Hey All,

 

First post to flexcoders.

 

I'm trying to link to a css file in a Flex Library project and I can't
seem to figure out how to get it to work.  MXML files and AS Classes
work without a hitch, but I can't seem to either @Embed() images or
reference stylesheets.

 

I've tried a bunch of ways: using resource folders, linking to the
library project via the Library Path tab, linking to the project via
Project References.  I'm sure I've tried other things.  I've tried
linking to the file in all sorts of ways (relative paths, absolute
paths, based on the Library Path source attachment attribute, based on
the Project Reference name, based on paths to the linked resource
folder, etc, etc.) 

 

Pretend I have:

A Flex Library project at z:\shared
A Flex Project at z:\my_project

 

The Library project has a CSS file located at
z:\shared\assets\css\mycss.css

 

In my z:\my_project\src\main.mxml file:

mx:Application ... 

mx:Style source=  /

/mx:Application

 

2 questions then:
What method should I use to link my Library Project to my Flex Project?

What is the path that goes into the Style tag?

 

I can link to it directly on the file system without a problem, but that
doesn't make the code very portable.

 

Can someone point me in the right direction?  There's tons of
documentation on everything but my particular issue :P

 

Jay Proulx

Application Developer

Internet Delivery Services - eVision Team

[EMAIL PROTECTED]

(613) 783-6711

 

 



[flexcoders] FW: Problem With the Data Grid Header

2006-10-19 Thread Akash












HI,



I got
struck in one more problem wtth the data grid header for flex 1.5.
Actually I want the headertext as multiline as I have to display the no. of
columns in the small area. I tried adding the \n character and played with the
htmlText also for this but nothing worked. Is there any way out. As well as the
lines between the column names and under this was not removable. I tried to
play with the css which did not work for the datagrids.

Could you plz. suggest me something abt this prob? 




?xml version=1.0 encoding=utf-8?

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

mx:Canvas
xmlns:mx=http://www.macromedia.com/2003/mxml height=445
width=447 backgroundColor=#FF
creationComplete=populate();
backgroundDisabledColor=#FF



 mx:Script

![CDATA[


public var myComboBoxArray:Array = [Business Unit,
Administrator, Lender Channel];


public var contents:Array =
[Link,ProgramGuides,BusinessGuidelines];


public var myLinkArray:Array = [the Bank Website,Google,National
Mortgage news,the Bank
Website,Google,Yahoo];


public var myPgArray:Array = [Conventional Loan Program,Jumbo
Loan Program,Government Loans];


public var myBgArray:Array = [Quick Refrence Guide,Loan
Submission Requirement,Channel Master User Guide];


public var newContents:Array = new Array();


public var dummy:Array = new Array();


public var dummy1:Array = new Array();


public var dummy2:Array = new Array();


var tempselect:String;


var sel:Number;


[Bindable]


var temp:String;


var a:String;


public var columnName:String=;


function populate(){


for (var index in contents){ 


var tempitem:String;


tempitem=contents[index];



myDataGrid.dataProvider.addItem({yr:tempitem,totalPayment:tempitem,intRate:tempitem,endBalance:tempitem,ptsTotalPayment:tempitem,ptsIntRate:tempitem,ptsEndBalance:tempitem});//addItem


}


/*function genData() 



{


var rowCount = 30;//Number(rows.text);


var dp = [];


for (var i=0;irowCount;i++) {


dp.push({data1:$ + i + .00});


}


myDataGrid.dataProvider = dp;


}*/


}





]]

/mx:Script

 

mx:DataGrid id=myDataGrid
width=98% height=85% x=5
y=75 dataProvider={dummy} rowHeight=15
fontSize=9 editable=false
backgroundColor=#FF borderColor=#FF
borderThickness=0 hGridLineColor=#FF
vGridLineColor=#FF verticalAlign=middle
color=#00 dragEnabled=false
enabled=true showHeaders=true
backgroundDisabledColor=#FF headerHeight=40
borderCapColor=#FF fillColors=[#00]
fontFamily=Verdana fontStyle=normal
fontWeight=normal headerColor=#FF
hGridLines=false highlightColor=#FF
scrollTrackColor=#FF selectionColor=#FF selectionDisabledColor=#00
symbolBackgroundColor=#00 textDecoration=none
textAlign=left textDisabledColor=#00
themeColor=#FF alternatingRowColors=[#FF] vScrollPolicy=off
hScrollPolicy=off backgroundAlpha=0.0 

 mx:columns


mx:Array


mx:DataGridColumn columnName=name
headerText=Name/


mx:DataGridColumn columnName=yr
headerText=Year/


mx:DataGridColumn columnName=totalPayment
headerText= headerRenderer={GridHeaderRender}/


mx:DataGridColumn columnName=intRate headerText=Interest
Rate/


mx:DataGridColumn columnName=endBalance headerText=Ending
Balance/


mx:DataGridColumn columnName=ptsTotalPayment
headerText=Total Payment/


mx:DataGridColumn columnName=ptsIntRate
headerText=Interest Rate/


mx:DataGridColumn columnName=ptsEndBalance
headerText=Ending Balance/





/mx:Array

 /mx:columns

/mx:DataGrid




/mx:Canvas

/mx:Application



GridHeaderRender.as



import mx.controls.Label;

class GridHeaderRender extends mx.controls.Label{

 var lbl : MovieClip;

 var listOwner : MovieClip; //Reference to the
parent DataGrid.



 function GridHeaderRender(){

 }

 public function createChildren():Void {

 lbl = createClassObject(Label,
'label', 1, {toolTip: 'User names here.'});

 lbl.text =
Total#13;nPayment;

 }



 public function getPreferredHeight():Number {

 return listOwner.rowHeight;

 }



 public function layoutChildren():Void {

 lbl.setSize(80,
listOwner.rowHeight);

 }



 function setValue(str:String, item:Object,
sel:Boolean) : Void {

 }

}







Akash,






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | 

[flexcoders] Fw: WatcherSetupUtil issue

2006-09-06 Thread maxym.hryniv
Any ideas???
--- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote:

 Hi, coders.
 I'm trying to create multimodule (multi swf) application. I'm using 
 next approach: I create flex library for every component. In 
runtime 
 main application loads needed library then gets needed component 
 definition using ApplicationDomain.getDefinition(). 
 I have next issue: some of components are not properly initialized 
 and null pointer exception is thrown. For each of these components 
 flex generates _{packageName}_{className}WatcherSetupUtil.as class. 
 Other components work fine.
 I found some logic in SystemManager that can correct this:
// trace(initializing mixin  + mixinList[i]);
var c:Class = Class(getDefinitionByName(mixinList[i]));
c[init](this);
 If I add such logic for every class that has *WatcherSetupUtil.as 
 generated, everything works fine.
 
 Of course I can try to initialize *WatcherSetupUtil for every class 
 that I get from external ApplicationDomain, but if component has 
 child component with *WatcherSetupUtil it will not work. Because I 
 cannot proxy child creation in mxml component.
 
 So the question is: How i can determine classes with 
 *WatcherSetupUtil.as generated in runtime?, and What the *** is 
 WatcherSetupUtil? I cannot find any reference in help, livedocs, 
 flexcoders, google..
 Thanx in advance for any help, ideas.








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

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

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

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




[flexcoders] FW: Set a LinkButton icon class at run time

2006-09-05 Thread Pete Capra





Hi there, 

Does anyone know if 
it is possible to set a LinkButtons icon class at runtime? I want to set an icon 
depending on the data that is sent to it (I have it set up as a custom 
component).

Kind 
Rgds,

Pete

Pete CapraInformation Systems CoordinatorCapra Ryan 
Online Learningp. (617) 3208 9455m. 0411 043 305f. (617) 3208 
9855a. PO Box 1744 Springwood Q 
4127www.capraryan.com[EMAIL PROTECTED] 


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] FW: Set a LinkButton icon class at run time

2006-09-05 Thread Pete Capra





Hi 
Hilary,

Thanks for your help, it worked a 
treat!

Kind Rgds,

Pete

Hi Pete,
Not sure about the LinkButton, but I have set the icon of a PopUpButton at 
runtime.

I embeded the icon:
[Embed(source='AeonGraphical.swf', 
symbol='BusyCursor')]private var loadingIcon:Class;

and then used setStyle to show and remove it:
componentInstance.setStyle("icon",loadingIcon);
componentInstance.setStyle("icon",null);

Hilary
www.bridel.org

On 9/5/06, Pete Capra 
[EMAIL PROTECTED] 
wrote: 

  
  
  Hi there, 
  
  
  Does anyone know if it is possible to set a 
  LinkButtons icon class at runtime? I want to set an icon depending on the data 
  that is sent to it (I have it set up as a custom component). 
  
  
  Kind Rgds,
  
  Pete
  
  Pete CapraInformation Systems CoordinatorCapra 
  Ryan Online Learningp. (617) 3208 9455m. 0411 043 305 f. (617) 
  3208 9855a. PO Box 1744 Springwood Q 4127www.capraryan.com[EMAIL PROTECTED] 
  -- 
Hilary--  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] FW: Problem in Texbox while populating from Grid

2006-09-04 Thread Renee
In the attached screen , update the name , give some very big name  now
try to navigate through records by clicking on the row.
Notice valuse populating in name textbox is invisible. The problem is
when we updated name with longer one, cursor(pointer ) moves to  right
most position. Now the cursor is at right most position  looking like
rest of the names are missing but actully they all are gone towards left
side. We can see the value if we move the pointer into the text field.

can anybody put light into the issue..

The same issue is exisiting in Flex 2.0 also.

Thanks
-Renee


-- 
Sent using Laszlo Mail. Try it yourself.
http://www.laszlomail.com


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

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

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

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 
?xml version=1.0 encoding=utf-8?

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

mx:Script

function addRow() {
if (name.text != ) dg.addItem( {name: name.text, email: 
email.text, phone: phone.text} );
}

function updateRow() {
if (dg.selectedIndex!=undefined)
dg.replaceItemAt(dg.selectedIndex, {name: name.text, email: 
email.text, phone: phone.text} );
}

function deleteRow() {
if (dg.selectedIndex!=undefined) {
dg.removeItemAt(dg.selectedIndex);
name.text=; email.text=; phone.text=;
}
}

/mx:Script

mx:Model id=employeeModel source=../assets/employees.xml/

mx:DataGrid id=dg width=100% height=100%
dataProvider={employeeModel.employee}
mx:columns
mx:Array
mx:DataGridColumn columnName=name headerText=Name/
mx:DataGridColumn columnName=phone headerText=Phone/
mx:DataGridColumn columnName=email headerText=Email/
/mx:Array
/mx:columns
/mx:DataGrid

mx:Form
mx:FormItem label=Name
mx:TextInput id=name width=200 text={dg.selectedItem.name}/
/mx:FormItem
mx:FormItem label=Email
mx:TextInput id=email width=200 
text={dg.selectedItem.email}/
/mx:FormItem
mx:FormItem label=Phone
mx:TextInput id=phone width=200 
text={dg.selectedItem.phone}/
/mx:FormItem
mx:FormItem
mx:HBox
mx:Button label=Update click=updateRow()/
mx:Button label=Add click=addRow()/
mx:Button label=Delete click=deleteRow()/
/mx:HBox
/mx:FormItem
/mx:Form

/mx:Application
?xml version=1.0 encoding=utf-8?

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

mx:Script

function addRow() {
if (name.text != ) dg.addItem( {name: name.text, email: email.text, phone: phone.text} );
}

function updateRow() {
if (dg.selectedIndex!=undefined)
dg.replaceItemAt(dg.selectedIndex, {name: name.text, email: email.text, phone: phone.text} );
}

function deleteRow() {
if (dg.selectedIndex!=undefined) {
dg.removeItemAt(dg.selectedIndex);
name.text=; email.text=; phone.text=;
}
}

/mx:Script

mx:Model id=employeeModel source=../assets/employees.xml/

mx:DataGrid id=dg width=100% height=100%
dataProvider={employeeModel.employee}
mx:columns
mx:Array
mx:DataGridColumn columnName=name headerText=Name/
mx:DataGridColumn columnName=phone headerText=Phone/
mx:DataGridColumn columnName=email headerText=Email/
/mx:Array
/mx:columns
/mx:DataGrid

mx:Form
mx:FormItem label=Name
mx:TextInput id=name width=200 text={dg.selectedItem.name}/
/mx:FormItem
mx:FormItem label=Email
mx:TextInput id=email width=200 text={dg.selectedItem.email}/
/mx:FormItem
mx:FormItem label=Phone
mx:TextInput id=phone width=200 text={dg.selectedItem.phone}/
/mx:FormItem
mx:FormItem
mx:HBox
mx:Button label=Update click=updateRow()/
mx:Button label=Add click=addRow()/
mx:Button label=Delete click=deleteRow()/
/mx:HBox
/mx:FormItem
/mx:Form

/mx:Application


Re: [flexcoders] FW: Problem in Texbox while populating from Grid

2006-09-04 Thread Stefan Horochovec



Hehehe, Cool, a mail sender created by Laszlo in Flex Mail list...
Theworld is sooo small :PRegardsStefan

- Mensagem Original De:
flexcoders@yahoogroups.comPara: "flexcoders@yahoogroups.com"
flexcoders@yahoogroups.comAssunto: [flexcoders] FW: Problem in
Texbox while populating from GridData: 04/09/06 13:50

In the attached screen , update the name , give some very big name 
nowtry to navigate through records by clicking on the row.Notice
valuse populating in name textbox is invisible. The problem iswhen we
updated name with longer one, cursor(pointer ) moves to rightmost
position. Now the cursor is at right most position  looking
likerest of the names are missing but actully they all are gone towards
leftside. We can see the value if we move the pointer into the text
field.can anybody put light into the issue..The same issue
is exisiting in Flex 2.0 also.Thanks-Renee-- Sent
using Laszlo Mail. Try it yourself.http://www.laszlomail.com


Mensagem enviada
utilizando NetConta WebMail 0.3


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] FW: Problem in Texbox while populating from Grid

2006-08-22 Thread Renee
just now i have checked the same problem in flex 2.0 also. There is no 
improvement...

Same problem exist in flex 2.0 also.

Can anybody help in this area?




 Begin forwarded message 
Subject: Problem in Texbox while populating from Grid
Date: 8/21/2006  7:58:05 PM
 From: Renee [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com


In the attached screen , update the name , give some very big name  now
try to navigate through records by clicking on the row.
Notice valuse populating in name textbox is invisible. The problem is
when we updated name with longer one cursor(pointer ) moves to  right
most position. Now the cursor is at right most position  looking like
rest of the names are missing but actully they all are gone towards left
side. We can see the value if we move the pointer into the text field.

can anybody put light in


-- 
Sent using Laszlo Mail. Try it yourself.
http://www.laszlomail.com


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

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

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

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 
?xml version=1.0 encoding=utf-8?

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

mx:Script

function addRow() {
if (name.text != ) dg.addItem( {name: name.text, email: 
email.text, phone: phone.text} );
}

function updateRow() {
if (dg.selectedIndex!=undefined)
dg.replaceItemAt(dg.selectedIndex, {name: name.text, email: 
email.text, phone: phone.text} );
}

function deleteRow() {
if (dg.selectedIndex!=undefined) {
dg.removeItemAt(dg.selectedIndex);
name.text=; email.text=; phone.text=;
}
}

/mx:Script

mx:Model id=employeeModel source=../assets/employees.xml/

mx:DataGrid id=dg width=100% height=100%
dataProvider={employeeModel.employee}
mx:columns
mx:Array
mx:DataGridColumn columnName=name headerText=Name/
mx:DataGridColumn columnName=phone headerText=Phone/
mx:DataGridColumn columnName=email headerText=Email/
/mx:Array
/mx:columns
/mx:DataGrid

mx:Form
mx:FormItem label=Name
mx:TextInput id=name width=200 text={dg.selectedItem.name}/
/mx:FormItem
mx:FormItem label=Email
mx:TextInput id=email width=200 
text={dg.selectedItem.email}/
/mx:FormItem
mx:FormItem label=Phone
mx:TextInput id=phone width=200 
text={dg.selectedItem.phone}/
/mx:FormItem
mx:FormItem
mx:HBox
mx:Button label=Update click=updateRow()/
mx:Button label=Add click=addRow()/
mx:Button label=Delete click=deleteRow()/
/mx:HBox
/mx:FormItem
/mx:Form

/mx:Application
?xml version=1.0 encoding=utf-8?

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

mx:Script

function addRow() {
if (name.text != ) dg.addItem( {name: name.text, email: email.text, phone: phone.text} );
}

function updateRow() {
if (dg.selectedIndex!=undefined)
dg.replaceItemAt(dg.selectedIndex, {name: name.text, email: email.text, phone: phone.text} );
}

function deleteRow() {
if (dg.selectedIndex!=undefined) {
dg.removeItemAt(dg.selectedIndex);
name.text=; email.text=; phone.text=;
}
}

/mx:Script

mx:Model id=employeeModel source=../assets/employees.xml/

mx:DataGrid id=dg width=100% height=100%
dataProvider={employeeModel.employee}
mx:columns
mx:Array
mx:DataGridColumn columnName=name headerText=Name/
mx:DataGridColumn columnName=phone headerText=Phone/
mx:DataGridColumn columnName=email headerText=Email/
/mx:Array
/mx:columns
/mx:DataGrid

mx:Form
mx:FormItem label=Name
mx:TextInput id=name width=200 text={dg.selectedItem.name}/
/mx:FormItem
mx:FormItem label=Email
mx:TextInput id=email width=200 text={dg.selectedItem.email}/
/mx:FormItem
mx:FormItem label=Phone
mx:TextInput id=phone width=200 text={dg.selectedItem.phone}/
/mx:FormItem
mx:FormItem
mx:HBox
mx:Button label=Update click=updateRow()/
mx:Button label=Add click=addRow()/
mx:Button label=Delete click=deleteRow()/
/mx:HBox
/mx:FormItem
/mx:Form

/mx:Application


[flexcoders] FW: Flex Developers

2006-08-09 Thread Torben Nielsen










Hi,



I got this request. If anybody are interested on working on this
UK based project, please contact Shazia Hussain. You can find all her contact
details below.



Torben







From: Hussain, Shazia
[mailto:[EMAIL PROTECTED] 
Sent: 9. august 2006 13:26
To: [EMAIL PROTECTED]
Subject: Flex Developers







Hi Torben, 



I am putting together a team for a tier 1 consulting firm,
who have a large-scale development project kicking-off in the next few weeks. 



We are putting together a team consisting of 3-5 developers
and 1 project manager. I am looking for strong flex developers, who have know
how to design and develop OO methodologies. 



If you can please forward this e-mail on to anyone, who
might be interested or suitable, I would be very grateful and keen to speak
with them. 



If you have any questions please give me a call. 



Regards, 

Shazia Hussain 

Harte Resource Solutions
1 Warwick Row,Victoria, London, SW1E 5ER
tel: +44 (0) 20 78087770
mob: +44 (0) 7903274035
e-mail: mailto:
[EMAIL PROTECTED]
web: www.harteresource.com

This e-mail transmission is strictly
confidential and intended only for the use of the person or organisation to
whom it is addressed. The views expressed in this communication are not
necessarily those held byHarte Ltd. It may contain
privileged and confidential information and, if you are not the intended
recipient, you must not copy, distribute or take any action that relies on the
accuracy of the information contained. If you have received this e-mail in
error please telephone +44 (0)2078087770












__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





Re: [flexcoders] Fw: [BETA3] I found how can remove the selected item of mx.controls.Tree.

2006-05-25 Thread Michael Schmalle



 My understanding was that the XMLListCollection methods would
handle the needed events, but apparently not.

Well, it should, and maybe this just isn't completly worked out yet in
the Tree class. When you do anything to a collection be it XML or
Objects, it will produce a COLLECTION_CHANGE event that has the
CollectionEventKind type that you then use to figure out what happened.


I know the Tree is pipped into this when the dataProvider is set. Must be a bug or something that is not completly wired.

Peace, Mike
On 5/24/06, Bryan Choi [EMAIL PROTECTED] wrote:









Thanks Tracy,

it looks 
well.

I'll applyyour 
wayto my application.

Thankyou for 
yourhelp.

Regards,
Bryan 
Choi.

  - Original Message - 
  From: 
Tracy 
  Spratt 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, May 25, 2006 12:00 PM
  Subject: RE: [flexcoders] Fw: [BETA3] I 
  found how can remove the selected item of mx.controls.Tree.
  
  
  Bryan
, I found another way 
  to do this, using XMLListCollection. Strangely, I still have to call 
  invalidateList to get the tree to refresh. My understanding was that the 
  XMLListCollection methods would handle the needed events, but apparently 
  not.
  
  Tracy

  
   
  //deletes the currently selected node
   
  private function deleteSelectedNode():void
   
  {
  
var nodeToDelete:XML = XML(treeData.selectedItem);
//reference to the node to delete
  
var xlcParent:XMLListCollection = new
XMLListCollection(nodeToDelete.parent().children()); //collection of
nodes containing the node to delete
  
var iIndex:int =
xlcParent.getItemIndex(nodeToDelete); //index of node
to delete in collection
  
xlcParent.removeItemAt(iIndex); //remove the node
  
treeData.invalidateList(); //refresh the tree
   
  }//deleteSelectedNode
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Bryan 
  ChoiSent: Wednesday, May 24, 
  2006 4:22 AMTo: 
  flexcodersSubject: 
  [flexcoders] Fw: [BETA3] I found how can remove the selected item of 
  mx.controls.Tree.
  
  
  
  
  - 
  Original Message - 
  
  
From: Bryan Choi
 
  
  
  To: 
flexcoders 
  
  
  Sent: Tuesday, May 23, 2006 9:33 
  PM
  
  Subject: [BETA3] I found how can remove the 
  selected item of mx.controls.Tree.
  
  
  
  Hi, 
  all.
  
  
  
  var 
  treeItem :Object = mxTree.selectedItem;var parentItem :Object = 
  mxTree.getParentItem ( treeItem );var items :ICollectionView = 
  treeDD.getChildren (parentItem);var len :int = 
  items.length;for ( var i:int=0; ilen; i++ 
  ){
if ( items [EMAIL PROTECTED] == [EMAIL PROTECTED] )
{
treeDD.removeChildAt ( parentItem, 
  mxTree.selectedItem, i );break;
}
}
  
  
  
  ===
  
  
  
  It is 
  lengthy. so..
  
  
  
  Iwant
Anyone who has idea other to know simple 
  code rather than above.
  
  
  
  Thank 
  you,
  
  Brayn.
  





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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  








-- What goes up, does come down.






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Fw: [BETA3] I found how can remove the selected item of mx.controls.Tree.

2006-05-24 Thread Bryan Choi






- Original Message - 
From: Bryan Choi 

To: flexcoders 
Sent: Tuesday, May 23, 2006 9:33 PM
Subject: [BETA3] I found how can remove the selected item of 
mx.controls.Tree.

Hi, all.

var treeItem :Object = mxTree.selectedItem;var 
parentItem :Object = mxTree.getParentItem ( treeItem );var items 
:ICollectionView = treeDD.getChildren (parentItem);var len :int 
= items.length;for ( var i:int=0; ilen; i++ 
){if ( items [EMAIL PROTECTED] == [EMAIL PROTECTED] 
){treeDD.removeChildAt ( 
parentItem, mxTree.selectedItem, i 
);break;}}

===

It is lengthy. so..

IwantAnyone who has idea other to know simple code 
rather than above.

Thank you,
Brayn.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Fw: [BETA3] I found how can remove the selected item of mx.controls.Tree.

2006-05-24 Thread Tracy Spratt










Bryan, I found another way to do this, using XMLListCollection.
Strangely, I still have to call invalidateList to get the tree to
refresh. My understanding was that the XMLListCollection methods would
handle the needed events, but apparently not.



Tracy



 //deletes
the currently selected node

 private
function deleteSelectedNode():void

 {

 var
nodeToDelete:XML = XML(treeData.selectedItem); //reference to
the node to delete

 var
xlcParent:XMLListCollection = new XMLListCollection(nodeToDelete.parent().children());
//collection of nodes containing the node to delete

 var
iIndex:int = xlcParent.getItemIndex(nodeToDelete); //index of
node to delete in collection

 xlcParent.removeItemAt(iIndex);
//remove the node

 treeData.invalidateList();
//refresh the tree

 }//deleteSelectedNode











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bryan Choi
Sent: Wednesday, May 24, 2006 4:22
AM
To: flexcoders
Subject: [flexcoders] Fw: [BETA3]
I found how can remove the selected item of mx.controls.Tree.













-
Original Message - 



From: Bryan Choi 





To: flexcoders 





Sent: Tuesday, May 23, 2006 9:33 PM





Subject: [BETA3] I found how can remove the selected item of
mx.controls.Tree.













Hi,
all.











var
treeItem :Object = mxTree.selectedItem;
var parentItem :Object = mxTree.getParentItem (
treeItem );
var items :ICollectionView = treeDD.getChildren
(parentItem);
var len :int = items.length;
for ( var i:int=0; ilen; i++ )
{
if ( items [EMAIL PROTECTED] == [EMAIL PROTECTED] )
{
treeDD.removeChildAt ( parentItem,
mxTree.selectedItem, i );
break;
}
}











===











It is
lengthy. so..











IwantAnyone who has idea other to know simple
code rather than above.











Thank
you,





Brayn.











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Fw: [BETA3] I found how can remove the selected item of mx.controls.Tree.

2006-05-24 Thread Bryan Choi





Thanks Tracy,

it looks 
well.

I'll applyyour 
wayto my application.

Thankyou for 
yourhelp.

Regards,
Bryan 
Choi.

  - Original Message - 
  From: Tracy 
  Spratt 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, May 25, 2006 12:00 PM
  Subject: RE: [flexcoders] Fw: [BETA3] I 
  found how can remove the selected item of mx.controls.Tree.
  
  
  Bryan, I found another way 
  to do this, using XMLListCollection. Strangely, I still have to call 
  invalidateList to get the tree to refresh. My understanding was that the 
  XMLListCollection methods would handle the needed events, but apparently 
  not.
  
  Tracy
  
   
  //deletes the currently selected node
   
  private function deleteSelectedNode():void
   
  {
   
  var nodeToDelete:XML = XML(treeData.selectedItem); 
  //reference to the node to delete
   
  var xlcParent:XMLListCollection = new 
  XMLListCollection(nodeToDelete.parent().children()); //collection of nodes 
  containing the node to delete
   
  var iIndex:int = xlcParent.getItemIndex(nodeToDelete); 
  //index of node to delete in collection
   
  xlcParent.removeItemAt(iIndex); //remove the 
  node
   
  treeData.invalidateList(); //refresh the 
  tree
   
  }//deleteSelectedNode
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Bryan 
  ChoiSent: Wednesday, May 24, 
  2006 4:22 AMTo: 
  flexcodersSubject: 
  [flexcoders] Fw: [BETA3] I found how can remove the selected item of 
  mx.controls.Tree.
  
  
  
  
  - 
  Original Message - 
  
  From: Bryan Choi 
  
  
  To: flexcoders 
  
  
  Sent: Tuesday, May 23, 2006 9:33 
  PM
  
  Subject: [BETA3] I found how can remove the 
  selected item of mx.controls.Tree.
  
  
  
  Hi, 
  all.
  
  
  
  var 
  treeItem :Object = mxTree.selectedItem;var parentItem :Object = 
  mxTree.getParentItem ( treeItem );var items :ICollectionView = 
  treeDD.getChildren (parentItem);var len :int = 
  items.length;for ( var i:int=0; ilen; i++ 
  ){if ( items [EMAIL PROTECTED] == [EMAIL PROTECTED] ){treeDD.removeChildAt ( parentItem, 
  mxTree.selectedItem, i );break;}}
  
  
  
  ===
  
  
  
  It is 
  lengthy. so..
  
  
  
  IwantAnyone who has idea other to know simple 
  code rather than above.
  
  
  
  Thank 
  you,
  
  Brayn.
  





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] FW: Flex, Hibernate and Coldfusion

2006-05-12 Thread Dimitrios Gianninas






-Original Message-
From: cichlidguru79 [mailto:[EMAIL PROTECTED]
Sent: Fri 5/12/2006 6:44 PM
To: [EMAIL PROTECTED]
Subject: Re: Flex, Hibernate and Coldfusion
 
I am hoping to implement a ColdFusion / Java hybrid application that 
uses POJOs and Hibernate in 

the model, and coldfusion for the view and controller.

I've been thinking about the issues with running hibernate on CF for 
a while and have come up with 

the following idea.


Part 1
--
1. Download the source for the Commons Logging package
2. Create an Eclipse project for it
3. Refactor the base package for commons logging to be:
 cf.org.apache.commons.logging instead of
 org.apache.commons.logging
4. Build a jar. cf-commons-logging.jar



Part 2
--
1. Download the souce for Hibernate
2. Create an Eclipse project for it
3. Refactor the base package for Hibernate to be:
 cf.org.hibernate instead of
 org.hibernate
4. Buidl a jar. cf-hibernate.jar



Part 3
--
Place the 2 jars you created above, along with all other supporting 
jars where CF can pick them up 

and start/restart ColdFusion!! Hopefully it will work!!!
(Obviously you won't use the old commons-logging.jar and 
hibernate.jar that you would normally have 

used)



I won't get around to testing this for a while, but thought I'd post 
my idea up here for someone 

else to try in the mean time. Good thing these are both open source 
projects, or this option 

wouldn't even be available!!

- Kurt


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

 Matt,
 
 Glad to see that someone else would like to see this work. Our 
goals
 may have been slightly different than yours. We were trying to use 
the
 persistence layer and pojo's created with Hibernate in both an
 internal Flex application and re-use it in a public Mach-II
 application. Both our CF and Flex servers run as instances on top 
of
 JRun. Hibernate works wonderfully with Flex and we are extremely 
happy
 with it. CF was another story. We thought we had a workable 
solution.
 However, while our solution worked with J2ee CF and JRun on a Mac 
OS
 X machine, it did not work with the same version of CF and JRun on
 Wiindows. We have found one of the major issues is that JRun 
doesn't
 follow the standard servlet spec. There is definitely a classloader
 issue with the JRun/CF combination. We have confirmed a basic bug 
with
 the JRun/CF combination that prevents any java app using the log4j
 logging classes from running within the CF instance. A basic class
 that simply imports the logging classes and trys to do a log can
 confirm it. We filed a bug report with Macromedia with code to
 duplicate the problem but have not received a response.
 
 We have a huge project and deadline looming and therefore had to
 abandon our effort to use Hiernate with CF at the moment. I am
 confident the same problems will not necessarily exist when using a
 different J2ee app server such as JBoss or even just Tomcat. 
However,
 our company is heavily invested in Macromedia technologies and we
 would have a hard time getting management to approve a switch from
 JRun to something else.
 
 My co-worker and I will probably join your open-source effort to 
get
 CF and Hibernate working. We may not be extremely active for a 
month
 or so while we finish the project we are in the middle of. I have
 included the steps that got it to work on the Mac OS X JRun/CF 
setup
 below. Good luck!
 
 ---
 1. Put the following Hibernate files into
 {application.home}/servers/cfusion/cfusion/WEB-INF/lib directory:
 
 cglib-full-2.0.2.jar
 commons-collections-2.1.1.jar
 commons-logging-1.0.4.jar
 dom4j-1.4.jar
 ehcache-0.9.jar
 hibernate2.jar
 jta.jar
 odmg-3.0.jar
 
 DO NOT include the log4j.jar as it will conflict with what CF 
loaded.
 
 2. Expand the {application.home}/lib/webservices.jar file. Remove 
the
 logging folder from within the org/apache/commons directory.
 Recreate the webservices.jar
  ie: From within the webservices folder run the following 
command:
  jar cvf ../webservices.jar *
 
 3. Expand the {application.home}/servers/cfusion/cfusion/WEB-
INF/cfusion/lib/webservices.jar
 file. Remove the logging folder from within the 
org/apache/commons
 directory. Recreate this webservices.jar
  ie: From within the webservices folder run the following 
command:
  jar cvf ../webservices.jar *
 
 
 
 
 On Thu, 03 Feb 2005 23:05:34 -, mpwoodward2 [EMAIL PROTECTED] 
wrote:
  
  
  --- In flexcoders@yahoogroups.com, Michael McKellip
  [EMAIL PROTECTED] wrote:
   Cathy,
  
   Success! Thanks very much to you and Peter we have a 
workaround. There
   is definitely a classloader issue between CFMX / JRun 4 and the
   commons-logging classes. The end result is a user will be 
unable to
   access any classes that use the commons-logging.jar classes 
from
   within ColdFusion. In our 

[flexcoders] FW: Validator and Binding problem

2006-04-13 Thread Simon Fifield






Hi,

I have a form with 
fields whose values are bound to a ValueObject. The VO is set to a List's 
selectedItem when this changes.

This all works fine 
until I add Validators for the form fields. And to make matters worse the 
problem seems to occasionally go away for no apparent 
reason.

I have tried 
deleting all the cached .swo's in the generated folder but this does not seem to 
have any permanent effect. I have tried disabling generation of the .swo's but 
all this does not have a permanent effect.

When I had Flex (I'm 
using 1.5 by the way) configured to keep the generated .swo's the problem was 
unpredictable but I was generally able to make the Binding work by commenting 
out the validators. But If I configure it to not keep the generated swo's 
commenting out the binding stops working with or without the 
Validators.

This problem is a 
real hassle - has anyone any idea of what is going on?

I've read about some 
weird compiling problem where unpredictable problems can arise over a period of 
time, but I'm not sure if this is relevant in my case?

Thanks for anyone's 
input.

Simon





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] FW: Datagrid Row Heights

2006-02-21 Thread Jonathan Miranda










Alright, lets say I have a datagrid with
variableRowHeight=true. Now I want, using actionscript, to switch the height of
row #2 to 200. Ive got a semi-way of doing it right now using a label
cellrenderer but I was wondering if there was a basic method I was missing.
Ive been attempting using getItemByIndex with little luck.

And anyway to add a move effect so its not instant?

_

Jonathan Miranda

Flexible Master of
the Web

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









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] FW: Datagrid Row Heights

2006-02-21 Thread Sauro, Nick










What do you mean, move effect so its not
so instant?? If its moving too fast, there is a duration field that you can
increase to make the effect last longer.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: Datagrid Row Heights





Alright, lets say I have a datagrid with
variableRowHeight=true. Now I want, using actionscript, to switch the height of
row #2 to 200. Ive got a semi-way of doing it right now using a label
cellrenderer but I was wondering if there was a basic method I was missing.
Ive been attempting using getItemByIndex with little luck.

And anyway to add a move effect so its not instant?

_

Jonathan Miranda

Flexible Master of
the Web

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









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] FW: Datagrid Row Heights

2006-02-21 Thread Jonathan Miranda












Im still trying to figure out how
to set a row height in actionscript J I havent even gotten to the effect of resizing the rows
yet.

_

Jonathan Miranda

Flexible Master of the Web

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







From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, Nick
Sent: Tuesday, February 21, 2006
1:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights





What do you mean, move effect so its not
so instant?? If its moving too fast, there is a duration field that you
can increase to make the effect last longer.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: Datagrid Row Heights





Alright, lets say I have a datagrid with variableRowHeight=true.
Now I want, using actionscript, to switch the height of row #2 to 200.
Ive got a semi-way of doing it right now using a label cellrenderer but
I was wondering if there was a basic method I was missing. Ive been
attempting using getItemByIndex with little luck.

And anyway to add a move effect so its not instant?

_

Jonathan Miranda

Flexible Master of
the Web

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










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] FW: Datagrid Row Heights

2006-02-21 Thread Sauro, Nick










Is this 1.5, 2.0? Which method are you
using to access that row? I dont see any method called getItemByIndex in
the flex docs.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
3:31 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights







Im still trying to figure out how
to set a row height in actionscript J I havent even gotten to the effect of resizing the rows
yet.

_

Jonathan Miranda

Flexible Master of the Web

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







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro,
 Nick
Sent: Tuesday, February 21, 2006 1:10
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights





What do you mean, move effect so its not
so instant?? If its moving too fast, there is a duration field that you
can increase to make the effect last longer.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: Datagrid Row Heights





Alright, lets say I have a datagrid with
variableRowHeight=true. Now I want, using actionscript, to switch the height of
row #2 to 200. Ive got a semi-way of doing it right now using a label
cellrenderer but I was wondering if there was a basic method I was missing.
Ive been attempting using getItemByIndex with little luck.

And anyway to add a move effect so its not instant?

_

Jonathan Miranda

Flexible Master of
the Web

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











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] FW: Datagrid Row Heights

2006-02-21 Thread Jonathan Miranda












2.0  I was using getItemByIndex
from the ListBase class.

I still cant figure this out. Even if I resize the HBox cell-renderer,
the actual row height doesnt change. I need a way to change a specific
rows height with actionscript.

_

Jonathan Miranda

Flexible Master of the Web

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

HealthGrades: Guiding America to Better Healthcare

NASDAQ:
HGRD

w (720)
963-3832

c (707)
761-0868

[EMAIL PROTECTED] 

_

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











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, Nick
Sent: Tuesday, February 21, 2006
1:44 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights





Is this 1.5, 2.0? Which method are
you using to access that row? I dont see any method called
getItemByIndex in the flex docs.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
3:31 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights







Im still trying to figure out how
to set a row height in actionscript J I havent even gotten to the effect of resizing the rows
yet.

_

Jonathan Miranda

Flexible Master of the Web

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







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro,
 Nick
Sent: Tuesday, February 21, 2006
1:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: Datagrid Row Heights





What do you mean, move effect so its not
so instant?? If its moving too fast, there is a duration field that you
can increase to make the effect last longer.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: Datagrid Row Heights





Alright, lets say I have a datagrid with
variableRowHeight=true. Now I want, using actionscript, to switch the height of
row #2 to 200. Ive got a semi-way of doing it right now using a label cellrenderer
but I was wondering if there was a basic method I was missing. Ive been
attempting using getItemByIndex with little luck.

And anyway to add a move effect so its not instant?

_

Jonathan Miranda

Flexible Master of
the Web

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












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] FW: link specific mouse pointer

2006-02-09 Thread Stephane B.





Hello everyone,

Any idea how to 
change mouse pointer icon when rolling over clickable component, in a similar 
fashion as regular browser with arrow fornon clickable and the hand when 
clickable.

Thanks





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] FW: What should I do

2006-01-25 Thread Dimitrios Gianninas








Hi All,
I am using Named Web service. I have 
deployed on Tomcat 5.0 . When I am calling the web service through http://localhost/... Or 
through local IP (Internal IP),
it is working fine But when I am 
calling the web service through an External IP errors occurs 

That is 500 Error connections 
refused: due to could load WSDL


Thanks  
regards
Abhishek
Software 
Engineer
Vanguard Info Solutions 
Ltd.
Gurgaon


-- 
"The information in this e-mail is the property of VanGuard Info-Solution 
Ltd.and may be confidential and privileged. It is intended solely for the 
addressee. Access to this email by anyone else is unauthorised. If you are not 
the intended recipient, any disclosure, copying, distribution or any action 
taken in reliance on it is prohibited and may be unlawful. If you receive this 
message in error, please notify the sender immediately  forward a copy of 
this e-mail to [EMAIL PROTECTED].An 
E-mail reply to this address may be subject to interception or monitoring for 
operational reasons or for lawful business 
practices.This e-mail and any attachments has been scanned for the 
presence of computer viruses.Vanguard accept no responsibility for computer 
viruses once e-mail has been transmitted" 
-- 






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] FW: What should I do

2006-01-25 Thread Matt Chotin










Can you reach the proxy via the external
IP? Is the server where the proxy lives allowed to access the internet? Does
it need its external proxy set up (entries in flex-config.xml)? Turn on
debugging (web-service-proxy-debug) and see what the logs say.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios Gianninas
Sent: Wednesday, January 25, 2006
5:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: What
should I do







Hi All,

I am using Named Web service. I have deployed on Tomcat 5.0
. When I am calling the web service through http://localhost/... Or through local IP
(Internal IP),

it is working fine But when I am calling the web service
through an External IP errors occurs 

That is 500 Error connections refused: due to could
load WSDL





Thanks  regards

Abhishek

Software Engineer

Vanguard Info Solutions Ltd.

Gurgaon





--
The information in this e-mail is the property of VanGuard Info-Solution
Ltd.and may be confidential and privileged. It is intended solely for the
addressee. Access to this email by anyone else is unauthorised. If you are not
the intended recipient, any disclosure, copying, distribution or any action
taken in reliance on it is prohibited and may be unlawful. If you receive this
message in error, please notify the sender immediately  forward a copy of
this e-mail to [EMAIL PROTECTED].An
E-mail reply to this address may be subject to interception or monitoring for
operational reasons or for lawful business practices.This e-mail and any
attachments has been scanned for the presence of computer viruses.Vanguard
accept no responsibility for computer viruses once e-mail has been
transmitted --










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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] FW: What should I do

2006-01-25 Thread Rob Rusher










I actually had this problem with a students
machine today. It turned out to be the configuration of the Flex Site in Flex
Builder 1.5 was the problem. I know weird. The service worked when
hitting it directly, but when running the Flex app in a browser or in FB we
would get this same error. Even restarting the machine didnt work. We
then adjusted the Flex Site in FB. All of the sudden, working!





Rob Rusher



RIA Consultant

Macromedia Certified Flex Instructor

e:[EMAIL PROTECTED]
c:303.885.7044 im:robrusher











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Wednesday, January 25, 2006
9:25 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FW: What
should I do





Can you reach the proxy via the external
IP? Is the server where the proxy lives allowed to access the
internet? Does it need its external proxy set up (entries in
flex-config.xml)? Turn on debugging (web-service-proxy-debug) and see
what the logs say.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios Gianninas
Sent: Wednesday, January 25, 2006
5:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: What
should I do







Hi All,

I am using Named Web service. I have deployed on Tomcat 5.0
. When I am calling the web service through http://localhost/... Or through local IP
(Internal IP),

it is working fine But when I am calling the web service
through an External IP errors occurs 

That is 500 Error connections refused: due to could
load WSDL





Thanks  regards

Abhishek

Software Engineer

Vanguard Info Solutions Ltd.

Gurgaon





--
The information in this e-mail is the property of VanGuard Info-Solution
Ltd.and may be confidential and privileged. It is intended solely for the
addressee. Access to this email by anyone else is unauthorised. If you are not
the intended recipient, any disclosure, copying, distribution or any action
taken in reliance on it is prohibited and may be unlawful. If you receive this
message in error, please notify the sender immediately  forward a copy of
this e-mail to [EMAIL PROTECTED].An
E-mail reply to this address may be subject to interception or monitoring for operational
reasons or for lawful business practices.This e-mail and any attachments
has been scanned for the presence of computer viruses.Vanguard accept no
responsibility for computer viruses once e-mail has been transmitted
--











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





  




  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Fw: .NET to Flash: good or bad for Flex

2005-03-31 Thread Dennis Jackson


-Original Message-
From: [EMAIL PROTECTED]
Date: Thu, 31 Mar 2005 09:31:16 
To:[EMAIL PROTECTED]
Subject: FW: .NET to Flash: good or bad for Flex

From: Jackson, Dennis (PPC) 
 Sent: Thursday, March 31, 2005 9:23 AM
 To: 'flexcoders@yahoogroups.com'
 Subject: .NET to Flash: good or bad for Flex
 
 
 
http://news.zdnet.com/Software+turns+.Net+to+Flash/2100-3513_22-5647420.html?part=rsstag=feedsubj=zdnn
 
I saw this, I cant decide if 
 
This is good because it makes flash the default player for just about 
everything that is currently on the market. 
 
Or if
 
This is bad because it seems to be another thing that does the same thing but 
is cheaper and has more developers that know how to program in it
 
Sent via BlackBerry - a service from ATT Wireless.


 
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/
 
image001.gif

RE: [flexcoders] FW: Adding elements to TabBar dynamically

2005-02-09 Thread Tracy Spratt
Using the array methods does not cause the dataProvider events to fire,
which are need to update the control. This is true for all
dataProviders.

Because of this it is best to always use the dataProvider API to work
with the dataProvider. (duh!)

If you really want to use the underlying methods, you can re-assign the
array to the dataProvider. That will cause the control to update.

Tracy

-Original Message-
From: Alex [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 6:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: Adding elements to TabBar dynamically


Figured it out. 
Haven't initialized dataProvider initially

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
theme=themes/mywsc.swc
mx:Script
![CDATA[

function addIt()
{
mytab.dataProvider.addItem({label:test,data:test});
}
var arr:Array=[];
]]

/mx:Script

mx:TabBar id=mytab dataProvider={arr}/
mx:Button label=click me click=addIt()/
/mx:Application 

But doesn't work if I use 

arr.push({label:test,data:test}) 

instead of 

mytab.dataProvider.addItem({label:test,data:test});

Any ideas?

Alex.



-Original Message-
From: Alex [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 12:48 PM
To: 'flexcoders@yahoogroups.com'
Subject: Adding elements to TabBar dynamically

Hi, 

Not sure why the code below doesn't work, i.e. it doesn't create a new
Tab.

Many thanks,
Alex

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

function addIt()
{
mytab.dataProvider.addItem({label:test,data:test});
mytab.draw();
}

]]

/mx:Script

mx:TabBar id=mytab /
mx:Button label=click me click=addIt()/ /mx:Application



 
Yahoo! Groups Links



 









RE: [flexcoders] FW: Interesting Opportunity

2004-05-02 Thread Steven Webster
Hey all,

Just a quick email - Alistair and I have both had the long
weekend off; we are literally finishing the final chapter or
two, and I believe that we're looking at end of next month
for availability in the shops.

We're not including a CD with the book, but the source 
code for everything in the book will be made available for
readers to download.

We do discuss performance of UI development in some detail
throughout the book; I'll see if we can't get the introductory
chapters and table of contents available as a PDF download.

We'd probably better focus on getting the final chapters
to the publisher first though ;-)

Thanks for the interest !

Steven

--
Steven Webster
Technical Director
iteration::two






RE: [flexcoders] FW: Interesting Opportunity

2004-04-30 Thread Alistair McLeod



Hi,

I got 
the same (spam) email. It does look quite interesting, though I'd like to see a 
demo on their site. It's interesting that they compare their offering with both 
MX 2004 and Flex, though from their Technology Comparison page, I'm not sure 
that they have actually used Flex much.

Its is 
noteworthy that an "Investment Interests" page exists on their site - it suggest 
to me that the product isn't yet complete.

Definitely worth keeping an eye on though.

Ali
--Alistair McLeodDevelopment Directoriteration::two 


-Original Message-From: Stacy Young 
[mailto:[EMAIL PROTECTED]Sent: 29 April 2004 
22:51To: flexcoders@yahoogroups.comSubject: [flexcoders] 
FW: Interesting Opportunity

No idea 
how my email was picked up for this but I figure others might find 
interesting. I say the more the merrierwill push the whole concept 
forward.

Stace





From: KC 
Chavda [mailto:[EMAIL PROTECTED] Sent: Thursday, April 29, 2004 5:47 
PMTo: Stacy 
YoungSubject: Interesting 
Opportunity

Hello Stacy,

Are you looking for 
an intuitive prototyping or development tool (more than an editor) that allows 
you to develop web services anywhere, anytime that is based upon rapid 
application methodology and leverages all the benefits of Macromedias Flash 
technology? Check out Netcentrics Corporations new SNAPP MX product at 
www.snappmx.com

SNAPP MX 
is:

 
Intuitive
 
Standards 
based
 
Benefits of an 
interpreter (as compared to a compiler): smaller foot print, network efficient 
and easier to manage.
 
Platform agnostic 
(Windows, Linux, UNIX  Mac)
 
Language agnostic 
(C#, Java, CFML)
 
Develop and deploy 
anywhere anytime.
 
Desktop support for 
all popular operating systems
 
Targeted at 
Enterprise, SME and ASP, ISV and SI market

SNAPP MX is 
currently in beta with a target release date of May 2004. If you have any 
questions/comments or are interested in participating in our beta program, 
please call KC Chavda at (250)-212-2619 or email at [EMAIL PROTECTED] 
for further details. This program has limited openings and includes 
comprehensive services including on-line, live customer support and optional 
on-site assistance.


Chief Marketing 
Officer
Netcentrics 
Corp.
250-212-2619
[EMAIL PROTECTED]




AVIS 
IMPORTANT
WARNING


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

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


RE: [flexcoders] FW: Interesting Opportunity

2004-04-30 Thread Dimitrios Gianninas



Yes so am I... I'd like to know when it will be 
available.

Jimmy Gianninas - Software 
Developer
Optimal Payments 
Inc.
(514) 380 - 2700 extension 
3249



From: Navita Bhoir [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 29, 2004 8:01 PMTo: 
flexcoders@yahoogroups.comCc: 
[EMAIL PROTECTED]Subject: RE: [flexcoders] FW: Interesting 
Opportunity

Hi 
Alistair,

When 
is the book "Developing Rich clients with Marcormedia Flex" to be 
available. I happened to read the chapter "Flex Integration with J2EE" on 
serverside site,and it was pretty illustrative. Is this book going tobe 
shipped with a CD for examples? Also does itincludedetails of the Designing UI 
in Flex with performance as a factor.

Looking forward for the book.

rgds,
navita

-Original Message-From: Alistair McLeod 
[mailto:[EMAIL PROTECTED]Sent: Thursday, April 29, 2004 
4:57 PMTo: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] FW: Interesting Opportunity
Hi,

I 
got the same (spam) email. It does look quite interesting, though I'd like to 
see a demo on their site. It's interesting that they compare their offering 
with both MX 2004 and Flex, though from their Technology Comparison page,I'm 
not sure that they have actually used Flex much.

Its 
is noteworthy that an "Investment Interests" page exists on their site - it 
suggest to me that the product isn't yet complete.

Definitely worth keeping an eye on though.

Ali
--Alistair McLeodDevelopment 
Directoriteration::two 

-Original Message-From: Stacy Young 
[mailto:[EMAIL PROTECTED]Sent: 29 April 2004 
22:51To: flexcoders@yahoogroups.comSubject: 
[flexcoders] FW: Interesting Opportunity

No 
idea how my email was picked up for this but I figure others might find 
interesting. I say the more the merrierwill push the whole concept 
forward.

Stace





From: KC 
Chavda [mailto:[EMAIL PROTECTED] Sent: Thursday, April 29, 2004 5:47 
PMTo: Stacy 
YoungSubject: Interesting 
Opportunity

Hello Stacy,

Are you looking 
for an intuitive prototyping or development tool (more than an editor) that 
allows you to develop web services anywhere, anytime that is based upon 
rapid application methodology and leverages all the benefits of Macromedias 
Flash technology? Check out Netcentrics Corporations new SNAPP MX 
product at www.snappmx.com

SNAPP MX 
is:

 
Intuitive
 
Standards 
based
 
Benefits of an 
interpreter (as compared to a compiler): smaller foot print, network 
efficient and easier to manage.
 
Platform agnostic 
(Windows, Linux, UNIX  Mac)
 
Language agnostic 
(C#, Java, CFML)
 
Develop and 
deploy anywhere anytime.
 
Desktop support 
for all popular operating systems
 
Targeted at 
Enterprise, SME and ASP, ISV and SI market

SNAPP MX is 
currently in beta with a target release date of May 2004. If you have any 
questions/comments or are interested in participating in our beta program, 
please call KC Chavda at (250)-212-2619 or email at [EMAIL PROTECTED] 
for further details. This program has limited openings and includes 
comprehensive services including on-line, live customer support and optional 
on-site assistance.


Chief Marketing 
Officer
Netcentrics 
Corp.
250-212-2619
[EMAIL PROTECTED]




AVIS IMPORTANT
WARNING


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

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