[flexcoders] Upload Image

2009-03-06 Thread christophe_jacquelin
Hello, 

What is the instruction to use for uploading an image ?

And how to use this image in the flex application when uploaded ? 

Thank you,
Christophe



Re: [flexcoders] Upload Image

2009-03-06 Thread Brendan Meutzner
In order to upload the image, you will need to handle the binary data sent
from your Flex app on the server via some server side language (ie.
ColdFusion, PHP, Java, etc...).  All Flex does, is facilitates the transfer
of the data from the client's computer via rpc/web service/http service
etc...
Have a look in the Flex docs for the File classes used to select the image
within your app.


Brendan



On Fri, Mar 6, 2009 at 2:06 AM, christophe_jacquelin 
christophe_jacque...@yahoo.fr wrote:

   Hello,

 What is the instruction to use for uploading an image ?

 And how to use this image in the flex application when uploaded ?

 Thank you,
 Christophe

  




-- 
Brendan Meutzner
http://www.meutzner.com/blog/
http://www.riajobs.com


[flexcoders] Bitmap Data of a non Rectangular Shape Component

2009-03-06 Thread shardul bartwal
Hi all,
I am here with a issue related to the BitmapData.I want to get the bitmapdata 
of a component which is not the rectangular shape.When creates the object of 
the BitmapData Class then I have to pass the width and height of the component 
which's bitmapdata I want to get.But it is giving me the error 'Invalid Bitmap 
Data'.As per as my thinking it is due to the uncertaintity in the width and 
height of that component.So can anybody suggest me how to get the bitmap data 
of a component which is not the Rectangular shape.

with Thanks..
Shardul Singh Bartwal


  Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/

[flexcoders] Flex News Scroller

2009-03-06 Thread Fidel Viegas
Hi all!

I was wondering if someone has an example of a news scroller in Flex.

I have searched google and found nothing related to it, so I was
wondering if anyone knows of any link somewhere.

Thanks!

Fidel.


Re: [flexcoders] Flex News Scroller

2009-03-06 Thread Tom Chiverton
On Friday 06 Mar 2009, Fidel Viegas wrote:
 I was wondering if someone has an example of a news scroller in Flex.

Snackr

-- 
Tom Chiverton
Helping to augmentatively coordinate compelling deliverables
as part of the IT team of the year, '09 and '08



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 together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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.

Re: [flexcoders] Re: Compressing messages/data: What binary/compression formats are workable in Flex?

2009-03-06 Thread Tom Chiverton
On Friday 06 Mar 2009, David Adams wrote:
 that claims String.split is about 10x faster than the XML parser -

That's the same in almost all languages - it's much faster to use string 
methods to snip out the bit you want than incur the parsing overhead and 
XPath look up.
However, if you pulling out lots of stuff from the XML, using it as a 
dataProvider etc., you probably do want it as 'real' XML.

-- 
Tom Chiverton
Helping to appropriately promote global second-generation cutting-edge 
value-added models
as part of the IT team of the year, '09 and '08



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 together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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] save snap and open again in air

2009-03-06 Thread abhishekchess1
hello frnds,
could we do application which allow user to draw anything and save it on his 
pc, and latter on he can re-open this in our application.
I did drag drop control application and i'm able to save all work as a snap on 
desktop, but
 don't know is it possible to reopen it again on window and user can edit it?
thx in advanced,
abhishekche...@gmail.com
:)




[flexcoders] Fwd: Graph Question

2009-03-06 Thread Vik
Hie
any updates on this plz...

Thankx and Regards

Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com


-- Forwarded message --
From: Vik vik@gmail.com
Date: Thu, Mar 5, 2009 at 9:04 AM
Subject: Graph Question
To: flexcoders@yahoogroups.com


Hie
I have a column chart graph with vertical axis property baseAtZero = false;
This is cool but there is a problem. That is, it sets the lowest value
column as the base line and thereby making it almost impossible to see. Is
there any way so that it can shows consider the base a value a bit less than
the lowest value in my data so that even the lowest column is visible a bit.

Thankx and Regards

Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com


[flexcoders] rss feed from various sources in flex

2009-03-06 Thread stinasius
hi how can i create an rss feed reader that gets feed from more than one 
source. for example if i need to get entertainment news from mtv and other 
music sources how can i do that in flex and coldfusion?



Re: [flexcoders] problem with HTTPS

2009-03-06 Thread Tom Chiverton
On Thursday 05 Mar 2009, John Deutsch wrote:
 A business requirement for our company is to upload sensitive files over

Is the SWF hosted on the same web address you are uploading to, and also on 
HTTPS ?

-- 
Tom Chiverton
Helping to preemptively extend 24/7 interactive holistic robust supply-chains
as part of the IT team of the year, '09 and '08



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 together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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.

Re: [flexcoders] Flex News Scroller

2009-03-06 Thread Fidel Viegas
On Fri, Mar 6, 2009 at 9:53 AM, Tom Chiverton
tom.chiver...@halliwells.com wrote:
 On Friday 06 Mar 2009, Fidel Viegas wrote:
 I was wondering if someone has an example of a news scroller in Flex.

 Snackr

Hi Tom,

Thanks for the reply, but I am looking more for a news ticker to
insert on a webpage. I have found it under news scroller and news
ticker.

Fidel.


Re: [flexcoders] Module unload GC

2009-03-06 Thread claudiu ursica


10x Alex, it turns out it was an embedded CSS issue after all, I commented that 
out and now it cleans beautifully... And the GC actually comes in very quickly.
I;ll probably load the CSS at run time ...

Cheers,
Claudiu




From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Thursday, March 5, 2009 9:01:37 PM
Subject: RE: [flexcoders] Module unload GC


Modules will unload when there are no longer any references to
the classes or objects in a module.  There is a cache, but it uses weak
references and will release the module when using the gc button in the
profiler.  The browser caches module SWFs but that won’t affect this issue. 
Nate’s solution sounded like the solution to the problem where you update a
module on the server and want to load the new one.
 
If a module brings in a component that hasn’t been loaded
before, usually it brings in a CSSStyleDeclaration for it as well which gets
registered with the central StyleManager and pins the module.  You can check
the id in the id column to see if the module that is pinned is the first one
loaded.
 
Alex Harui
Flex SDK Developer
Adobe
Systems Inc.
Blog: http://blogs. adobe.com/ aharui
 
From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of claudiu
ursica
Sent: Thursday, March 05, 2009 10:26 AM
To: flexcod...@yahoogro ups.com
Subject: Re: [flexcoders] Module unload GC
 
I'll try that first thing in the morning...
For now I'm loading the same module, but in the future there will be more
modules, however since we only have one now and still working on it we have to
test with one module... The thing I fear the most if that the same thing will
happen for different modules, and then I'll have a serious memory leak. The
modules will be quite complex with lots of functionality and animations
(diffren games loaded on the same shell), that's why cleaning is so
important...

I was going to duplicate the module into another project to see if that still
happens... Right now I'm nullifying manually the url of the module when
unloading but whi knows what happens behind the scenes...




 


 
From:Nate Beck n...@tldstudio. com
To: flexcod...@yahoogro ups.com
Sent: Thursday, March 5, 2009 8:16:52 PM
Subject: Re: [flexcoders] Module unload GC
Well if we're talking about modules...

If you're loading the same module over and over again that might be the
problem... A while back I had to modify ModuleLoader and while I was in the
code I seem to remember it has some caching built into it.  So it may be
possible that ModuleLoader is holding on to a reference of a module.

I got around the caching issue when loading the same module over and over again
by appending a random number to the loaded module.  (ex: myModule.swf?
uid=123456789) .

The ModuleLoader stuff I was working on was back in 2.0.1... so it might be
very different now.

Hope this helps.
On Thu, Mar 5, 2009 at 10:08 AM, claudiu ursica the_braniak@ yahoo.com
wrote:
I read this too,
however when watching in profiler the gc runs a removes a set of the instances,
the thing that bothers me is that after first load/unload the memory looks like
the module is there. After the second load looks like 2 modules are load I get
duplicate instances ... After the second unload and forcing running gc a few
times from profilet a set of instances is collected, but i still have the
memory looking like I have one module in there. I don't get it how come that on
set of instances are removed and one is there for good... It seems there is no 
way
to see if my cleaning is actually hapenning ... One could say is happening
since the second, third, forth load/unload are actually cleaned but there's
still a set of instances in the memory ... 


 


 
From:Nate Beck n...@tldstudio. com
To: flexcod...@yahoogro
ups.com
Sent: Thursday, March 5, 2009 7:55:01 PM
Subject: Re: [flexcoders] Module unload GC
Garbage Collection happens
when it needs to happen.  You have no control over it.  This is from
Grant Skinner's blog:
Deferred GC and Indeterminacy
A *very* important thing to understand about the Garbage Collector in FP9 is
that it's operations are deferred. Your objects will not be removed immediately
when all active references are deleted, instead they will be removed at some
indeterminate time in the future (from a developer standpoint). The GC uses a
set of heuristics that look at RAM allocation and the size of the memory stack
(among other things) to determine when to run. As a developer, you must accept
that fact that you will have no way of knowing when (or even if) your inactive
objects will get deallocated. You must also be aware that inactive objects will
continue to execute indefinitely (until the GC deallocates it), so code will
keep running (ex. enterFrames) , sounds will keep playing, loads will keep
happening, events will keep firing, etc. 
It's very 

[flexcoders] Re: Timers and local CPU

2009-03-06 Thread markgoldin_2000
Anybody, any idea?

--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... 
wrote:

 I am desingning a DataGrid with a column that would have a timer to show how 
 long a specific task (row in the grids) has been running. While everything is 
 working fine the local CPU is getting allocated to almost 100% sometimes. Is 
 there any chance to optimize such a solution?
 
 Thanks





[flexcoders] Merapi and execute file from AIR

2009-03-06 Thread Romuald Quantin
Hi,

I'm building an AIR app which need to execute files, I found my answer 
with the Merapi project, my tests were successful, I guess people knows 
about Merapi.

I've been a bit concern as some people are saying that it is a dead 
project, questions on the forums are not really answered.

Do you know something about Merapi? What are your thought about it?

I didn't really find other approaches to execute file from AIR, do you 
know other tools/libraries?

thanks

Romu


[flexcoders] closing ADL

2009-03-06 Thread Romuald Quantin
Hi,

Sorry, some basic questions about AIR development.

A little thing that is itching my mind, I'm not that used to Flex 
Builder and I'm pretty sure I found a way before but I can't it find 
anymore.

Is there any way to automatically close the previous ADL instance when I 
launch again the project?

Romu


RE: [flexcoders] Merapi and execute file from AIR

2009-03-06 Thread Gregor Kiddie
The solution we used was to write our client side component for DotNet
and then communicate to that using the LocalConnection.

Other suggestions are Socket Servers, and using files.

The issue isn't really in writing some piece of software which executes
the files for you, it's the communication with that object.

 

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: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Romuald Quantin
Sent: 06 March 2009 10:17
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Merapi and execute file from AIR

 

Hi,

I'm building an AIR app which need to execute files, I found my answer 
with the Merapi project, my tests were successful, I guess people knows 
about Merapi.

I've been a bit concern as some people are saying that it is a dead 
project, questions on the forums are not really answered.

Do you know something about Merapi? What are your thought about it?

I didn't really find other approaches to execute file from AIR, do you 
know other tools/libraries?

thanks

Romu





Re: [flexcoders] Merapi and execute file from AIR

2009-03-06 Thread Romuald Quantin
I see what you mean.

Could give me a bit more information about using a LocalConnection?
How did you make DotNet using a LocalConnection to talk (send and load) 
to the main flash app?

Romu

Gregor Kiddie wrote:

 The solution we used was to write our client side component for DotNet 
 and then communicate to that using the LocalConnection.

 Other suggestions are Socket Servers, and using files.

 The issue isn’t really in writing some piece of software which 
 executes the files for you, it’s the communication with that object.

 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:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
 *On Behalf Of *Romuald Quantin
 *Sent:* 06 March 2009 10:17
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Merapi and execute file from AIR

 Hi,

 I'm building an AIR app which need to execute files, I found my answer
 with the Merapi project, my tests were successful, I guess people knows
 about Merapi.

 I've been a bit concern as some people are saying that it is a dead
 project, questions on the forums are not really answered.

 Do you know something about Merapi? What are your thought about it?

 I didn't really find other approaches to execute file from AIR, do you
 know other tools/libraries?

 thanks

 Romu

 





--
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:flexcoders-dig...@yahoogroups.com 
mailto:flexcoders-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

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



[flexcoders] Dialog box

2009-03-06 Thread christophe_jacquelin
Hello,

How to launch a dialog box with radio buttons inside from an action Script 
function ? 

Thank you
Christophe, 



RE: [flexcoders] Merapi and execute file from AIR

2009-03-06 Thread Gregor Kiddie
I'm not actually yet allowed to give that away (corporate advantage
anyone? *facepalms*)
Start with http://osflash.org/localconnection. It will start you in the
right direction.

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

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

-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Romuald Quantin
Sent: 06 March 2009 13:47
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Merapi and execute file from AIR

I see what you mean.

Could give me a bit more information about using a LocalConnection?
How did you make DotNet using a LocalConnection to talk (send and load) 
to the main flash app?

Romu




Re: [flexcoders] Merapi and execute file from AIR

2009-03-06 Thread Weyert de Boer
You can find a .NET example of communicating with LocalConnection in one 
of the Flex books. Pro Flex 2. I think it was.


Re: [flexcoders] Timers and local CPU

2009-03-06 Thread Tom Chiverton
On Wednesday 04 Mar 2009, markgoldin_2000 wrote:
 everything is working fine the local CPU is getting allocated to almost
 100% sometimes. Is there any chance to optimize such a solution?

How often does your timer fire ? Is your item renderer expensive ?

-- 
Tom Chiverton
Helping to autoschediastically conquer leading-edge essential 
attention-grabbing interfaces
as part of the IT team of the year, '09 and '08



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 together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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.

Re: [flexcoders] Dialog box

2009-03-06 Thread Tom Chiverton
On Friday 06 Mar 2009, christophe_jacquelin wrote:
 How to launch a dialog box with radio buttons inside from an action Script
 function ?

PopUpManager can popup any Flex object, so just create something based on 
TitleWindow to use with it.

-- 
Tom Chiverton
Helping to appropriately incentivize real-time developments
as part of the IT team of the year, '09 and '08



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 together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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] Setting background color of Label control

2009-03-06 Thread oneworld95
How do you set the background or border color of a Label control? I've tried 
using a custom style:

mx:Style
.serverResponse {
  backgroundColor: blue;
  borderColor: white;   
}
/mx:Style

And then set the styleName=serverResponse on the label control to no avail. 



Re: [flexcoders] Merapi and execute file from AIR

2009-03-06 Thread Romuald Quantin
Very interesting!, the C sample works great.

Has anyone seen a java example?

Romu

Weyert de Boer wrote:

 You can find a .NET example of communicating with LocalConnection in one
 of the Flex books. Pro Flex 2. I think it was.

 



Re: [flexcoders] Setting background color of Label control

2009-03-06 Thread Alain Thibodeau
Try this:
 
mx:Label text=My Label opaqueBackground=0x009dff color=#ff/
 
Not sure that opaqueBackground can be set from css





From: oneworld95 oneworl...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Friday, March 6, 2009 9:26:20 AM
Subject: [flexcoders] Setting background color of Label control


How do you set the background or border color of a Label control? I've tried 
using a custom style:

mx:Style
.serverResponse {
backgroundColor: blue;
borderColor: white; 
}
/mx:Style

And then set the styleName=serverRe sponse on the label control to no avail. 





  __
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now at
http://ca.toolbar.yahoo.com.

[flexcoders] Re: help with httpService Error

2009-03-06 Thread valdhor
I had (have) the same problem. Old projects work fine (Even after 
modification); New projects give a security error. Works OK on server but not 
locally. Even tried Uninstall/reinstall of Flex Builder and Flash debug player 
- no dice.

What I did (I don't remember how I found this out) was to go to the Global 
Security Settings Panel at 
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 then in the dropdown Edit locations select Add location and Browse For 
Folder and browse to my bin-debug directory. Voila!

HTH



Steve


--- In flexcoders@yahoogroups.com, Ramsey, Robert L robert-ram...@... wrote:

 Hi,
 
 I am using FlexBuilder 3.0.2 and am getting a new error on new projects when 
 using the httpService feature.  Here is my httpService control, as copied 
 from an older project which still works:
 
 mx:HTTPService id=getmeta method=POST
   result=gotmeta()  contentType=application/x-www-form-urlencoded
   url=https://www.someserver.edu/myfiles/flexfile.php; useProxy=false
   fault=show_fault(event.fault)
   mx:request xmlns=
   commandgetmetainformation/command
   idme/id
   /mx:request
 /mx:HTTPService
 
 When I run the app locally, ctrl+f11 or clicking the run button in eclipse, I 
 get the following error:
 
 [RPC Fault faultString=Security error accessing url 
 faultCode=Channel.Security.Error faultDetail=Destination: DefaultHTTP]
 
 If I copy the swf file up to the server, it does run correctly there.
 
 That exact same httpService control works fine in a project I finished last 
 fall when run locally.
 
 The weird thing is that older projects, ones I did as little as a month ago, 
 run just fine when run locally.  It's only the new one I started this week.
 
 I tried adding site-control permitted-cross-domain-policies=all/ to my 
 crossdomain.xml file, but no go.  I am using Flash version 10,0,22,87 within 
 Firefox 3.05 on windows Vista, fully patched.
 
 The only thing that I can think that would have changed from a few months ago 
 is that I have a newer version of Flash.
 
 Any ideas what might be causing this and how to fix it?
 
 Thanks,
 
 Bob





Re: [flexcoders] Merapi and execute file from AIR

2009-03-06 Thread Weyert de Boer
No, I wouldn't use Java for this. This will increase the deployment size 
of your product. Because you would need to have the Java runtime installed.


[flexcoders] hiding an applicationcontrolbar button

2009-03-06 Thread Greg Morphis
I'm trying to hide or destroy a button that's showing in an
ApplicationControlBar.
Basically when the user logs into the tool their information is
checked and one button or another will show.

The code currently looks like

mx:VBox... 
mx:ApplicationControlBar ... 
  mx:ToggleButtonBar id=adminMenu  dataProvider={adminVS}
/mx:ApplicationControlBar


mx:ViewStack ... id=adminVS ... 
AdminVW:AdminUser id=aUser ... /
AdminVW:AdminSecurity id=securityBox ... /
AdminVW:AdminMenu id=aMenu ... /
AdminVW:AdminNews id=aNews ... /
AdminVW:AdminTopAgentsid=aUser ... /
AdminVW:AdminHeadlines id=aHeadlines ... /
...

What if I only wanted to show the AdminHeadlines button if when they
log in thier access is 99.
The access is stored in MyModel.getInstance().currentUser.useraccess

I've tried using a function and setting the visiable and
includeInLayout to the return value, I.E.:
private function showHeadlines ():Boolean {
  return (MyModel.getInstance().currentUser.useraccess == 99)
}

But that's not working.. Ideas?

Thanks!


[flexcoders] Re: Compressing messages/data: What binary/compression formats are workable in Flex?

2009-03-06 Thread valdhor
You still avoid telling us your back-end setup.

I give up.


--- In flexcoders@yahoogroups.com, David Adams dpad...@... wrote:

 On Fri, Mar 6, 2009 at 5:31 PM, Guy Morton g...@... wrote:
  You've still managed to avoid telling us about your back-end setup.
 
  Tell us more about that and we could probably be of more assistance. No good
  me suggesting stuff that works for apache on linux to find that you're
  running openVMS...
 
 Sorry, I'm not meaning to be difficult. The server definitely does not
 support AMF and will not any sooner than...not this year. That's why
 I've been exploring alternative. Plus, I've spent some insane amount
 of time over the last ten years studying messages on the wire and can
 get a bit obsessive (read 'stupid') about sorting out message sizes
 and round-trip times. I'm hoping to build up a pretty good list of
 techniques/technologies to compare and put into a test harness. I
 figure I'll end up using Charles to emulate different relevant
 bandwidth constraints and it's easy enough to try various payload
 sizes + encoding time + decoding times.





[flexcoders] Re: Upload Image

2009-03-06 Thread app.developer
You may wish to manipulate the image before you upload to the server.  With 
Flash 10 drawing API, you may upload to the client application, manipulate 
the image, then save the image by uploading the image to the server.  A good 
article is Senocular's tutorial, Flash Player 10 Drawing API 
http://www.senocular.com/flash/tutorials/flash10drawingapi/ .

Also suggested is to change a few settings in your Flex Builder or Eclipse with 
Flex plug-in.  Work with Flex SDK 3.2 or higher and for that particular 
project, in the project properties to compile in the lower selection, Require 
Flash Player version: 10.x.xx.  I have mine set at 10.0.22 at the moment.  

You will also need the Flash Player so go to 
http://www.adobe.com/support/flashplayer/downloads.html .  If you need to code 
and debug, get the Debugger Version that is below the regular player download.

P

--- In flexcoders@yahoogroups.com, christophe_jacquelin 
christophe_jacque...@... wrote:

 Hello, 
 
 What is the instruction to use for uploading an image ?
 
 And how to use this image in the flex application when uploaded ? 
 
 Thank you,
 Christophe





Re: [flexcoders] hiding an applicationcontrolbar button

2009-03-06 Thread Adrian Williams

Hi Greg,

   does this not work for you?
  
if (MyModel.getInstance().currentUser.useraccess == 99)

{
   aHeadlines.visible = true;
}
else
{
   aHeadlines.visible = false;
}
  



Greg Morphis wrote:


I'm trying to hide or destroy a button that's showing in an
ApplicationControlBar.
Basically when the user logs into the tool their information is
checked and one button or another will show.

The code currently looks like

mx:VBox... 
mx:ApplicationControlBar ... 
mx:ToggleButtonBar id=adminMenu  dataProvider={adminVS}
/mx:ApplicationControlBar

mx:ViewStack ... id=adminVS ... 
AdminVW:AdminUser id=aUser ... /
AdminVW:AdminSecurity id=securityBox ... /
AdminVW:AdminMenu id=aMenu ... /
AdminVW:AdminNews id=aNews ... /
AdminVW:AdminTopAgentsid=aUser ... /
AdminVW:AdminHeadlines id=aHeadlines ... /
...

What if I only wanted to show the AdminHeadlines button if when they
log in thier access is 99.
The access is stored in MyModel.getInstance().currentUser.useraccess

I've tried using a function and setting the visiable and
includeInLayout to the return value, I.E.:
private function showHeadlines ():Boolean {
return (MyModel.getInstance().currentUser.useraccess == 99)
}

But that's not working.. Ideas?

Thanks!




[flexcoders] Re: Timers and local CPU

2009-03-06 Thread markgoldin_2000
Every second.
Is your item renderer expensive ?
Not sure, how do I know that?
Here is my code:
package modulecode
{
import flash.events.TimerEvent;
import flash.utils.Timer;

import mx.controls.Label;
import mx.controls.listClasses.IListItemRenderer;
import mx.core.UIComponent;
import mx.events.FlexEvent;
public class timer1 extends UIComponent implements IListItemRenderer
{
private var clock:Label;

public function timer1()
{
super();
var timer:Timer = new Timer(1000);
timer.addEventListener(TimerEvent.TIMER, resetNow);
timer.start();
}

// Internal variable for the property value.
private var _data:Object;

// Make the data property bindable.
[Bindable(dataChange)]

// Define the getter method.
public function get data():Object {
return _data;
}

// Define the setter method, and dispatch an event when the property
// changes to support data binding.
public function set data(value:Object):void {
_data = value;
invalidateProperties();
//dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
}
override protected function createChildren() : void
{
super.createChildren();

clock = new Label();
clock.visible = false;
clock.setStyle(color, green);
clock.setStyle(fontSize, 11);
addChild(clock);
}
override protected function commitProperties():void
{
super.commitProperties();
clock.text = secondsToMinutesSeconds(data.elapsedtime);
clock.visible = true; 
}
override protected function updateDisplayList( 
unscaledWidth:Number, unscaledHeight:Number ) : void
{
super.updateDisplayList(unscaledWidth, unscaledHeight);

clock.move(0,0);
clock.setActualSize(unscaledWidth,unscaledHeight);
}
private function resetNow(event:TimerEvent):void
{   
data.elapsedtime = Number(data.elapsedtime) + 1;
}
private function secondsToMinutesSeconds(secs:Number):String 
{
var s:Number = secs % 60;
var m:Number = Math.floor((secs % 3600 ) /60);
var h:Number = Math.floor(secs / (60*60));

var hourstring:String = h10 ? 0+h+: : 
h+:;
var minutestring:String =   m10 ? 0+m+: : 
m+:;
var secstring:String =  s10 ? 0+s+ : s+;
return hourstring + minutestring + secstring;
}

}
}


--- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote:

 On Wednesday 04 Mar 2009, markgoldin_2000 wrote:
  everything is working fine the local CPU is getting allocated to almost
  100% sometimes. Is there any chance to optimize such a solution?
 
 How often does your timer fire ? Is your item renderer expensive ?
 
 -- 
 Tom Chiverton
 Helping to autoschediastically conquer leading-edge essential 
 attention-grabbing interfaces
 as part of the IT team of the year, '09 and '08
 
 
 
 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 together with 
 a list of those non members who are referred to as partners.  We use the word 
 ?partner? to refer to a member of the LLP, or an employee or consultant with 
 equivalent standing and qualifications. 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 

Re: [flexcoders] Merapi and execute file from AIR

2009-03-06 Thread Romuald Quantin
I need to start the AIR app and execute files and programs from another 
language that is able to do that. I'm actually using java, which is 
working very well (with Merapi).

This app will be deploy on Windows, Mac and Linux. So java is, in my 
opinion, the best candidate to have a cross-platform deployment (well at 
least I know how to do it with java and it is working well). Consider 
the app not like an AIR app but like a real software that could have 
been built with SWT, like eclipse (portable).

Romu

Weyert de Boer wrote:

 No, I wouldn't use Java for this. This will increase the deployment size
 of your product. Because you would need to have the Java runtime 
 installed.

 



Re: [flexcoders] hiding an applicationcontrolbar button

2009-03-06 Thread Greg Morphis
I tried that in the creationComplete function and the show function.
Neither hid the tab/button

On Fri, Mar 6, 2009 at 9:16 AM, Adrian Williams
adri...@familytreedna.com wrote:
 Hi Greg,

     does this not work for you?

 if (MyModel.getInstance().currentUser.useraccess == 99)
 {
     aHeadlines.visible = true;
 }
 else
 {
     aHeadlines.visible = false;
 }



 Greg Morphis wrote:

 I'm trying to hide or destroy a button that's showing in an
 ApplicationControlBar.
 Basically when the user logs into the tool their information is
 checked and one button or another will show.

 The code currently looks like

 mx:VBox... 
 mx:ApplicationControlBar ... 
 mx:ToggleButtonBar id=adminMenu  dataProvider={adminVS}
 /mx:ApplicationControlBar

 mx:ViewStack ... id=adminVS ... 
 AdminVW:AdminUser id=aUser ... /
 AdminVW:AdminSecurity id=securityBox ... /
 AdminVW:AdminMenu id=aMenu ... /
 AdminVW:AdminNews id=aNews ... /
 AdminVW:AdminTopAgentsid=aUser ... /
 AdminVW:AdminHeadlines id=aHeadlines ... /
 ...

 What if I only wanted to show the AdminHeadlines button if when they
 log in thier access is 99.
 The access is stored in MyModel.getInstance().currentUser.useraccess

 I've tried using a function and setting the visiable and
 includeInLayout to the return value, I.E.:
 private function showHeadlines ():Boolean {
 return (MyModel.getInstance().currentUser.useraccess == 99)
 }

 But that's not working.. Ideas?

 Thanks!


 


Re: [flexcoders] Re: Timers and local CPU

2009-03-06 Thread Tom Chiverton
On Friday 06 Mar 2009, markgoldin_2000 wrote:
 Every second.

Doesn't seem so bad - are there many rows ?

 Not sure, how do I know that?

Is it fast if you use mx:Text :-)

-- 
Tom Chiverton
Helping to efficiently initiate internet open-source architectures
as part of the IT team of the year, '09 and '08



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 together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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] Re: Timers and local CPU

2009-03-06 Thread markgoldin_2000
About 30-40.
What about an idea to have one single timer and update all underlying data 
every second without having a timer for each row?

--- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote:

 On Friday 06 Mar 2009, markgoldin_2000 wrote:
  Every second.
 
 Doesn't seem so bad - are there many rows ?
 
  Not sure, how do I know that?
 
 Is it fast if you use mx:Text :-)
 
 -- 
 Tom Chiverton
 Helping to efficiently initiate internet open-source architectures
 as part of the IT team of the year, '09 and '08
 
 
 
 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 together with 
 a list of those non members who are referred to as partners.  We use the word 
 ?partner? to refer to a member of the LLP, or an employee or consultant with 
 equivalent standing and qualifications. 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.





Re: [flexcoders] Merapi and execute file from AIR

2009-03-06 Thread Weyert de Boer
I would've have just written to simple C++ applications which start 
those applications. If you only want to execute files.
 I won't have a huge memory hog for such things then.


[flexcoders] AIR SQLite:Does anyone have this issue with DB connected asynchronously?

2009-03-06 Thread handitan
Hi all,

Before I present the issue, I am listing my FB and SDK versions:
- FlexBuilder 3.0.2
- AIR SDK 1.5
- Flex SDK 3.3 milestone build.
All the latest good stuffs.

Now, I have an issue with DB that's connected asynchronously doesn't ALWAYS 
firing SQLEvent.RESULT or SQLErrorEVENT.ERROR whenever a SQL statement is 
executed.

For example:
I got a login screen with login textInput, password textInput, and login 
button. When the login button is clicked, it does a query to check whether the 
login and password exist in the DB.
And events will be fired accordingly if it's a success or not.

HOWEVER, the events don't always fired! Sometimes it fires but sometimes it's 
not. It's happening intermittently.

Does anyone else have this issue??

Btw, I don't have this issue at all when I have my DB opened synchronously. 
Unfortunately, working with it has some big challenges as well. So if I can get 
the DB-async to work properly, it will save a lot of time.

Thx! 







[flexcoders] colorPicker panel height

2009-03-06 Thread tom s
Hi all,
Anyone know how to set the height of the panel of a colorPicker?
i.e. the hight of the rectangle that pops-up when the colorPicker is clicked
on, and in which the swatches sit.

I have a panel that only has 9 swatches in it in one row. Each swatch is 22
x 22 pixels, but the panel is 100 pixels tall, i.e. ~4x taller than it need
to be. The other ~75 pixels are blank space.

The documented list of attributres for swatchPanelStyleName doesn't seem to
cover panel height (see below, from docs).
Is that list exhaustive?

thanks

tom


.mySwatchPanelStyle {
  backgroundColor:#E5E6E7;
  columnCount:20;
  horizontalGap:0;
  previewHeight:22;
  previewWidth:45;
  swatchGridBackgroundColor:#00;
  swatchGridBorderSize:0;
  swatchHeight:12;
  swatchHighlightColor:#FF;
  swatchHighlightSize:1;
  swatchWidth:12;
  textFieldWidth:72;
  verticalGap:0;
  }


Re: [flexcoders] Merapi and execute file from AIR

2009-03-06 Thread Romuald Quantin
Well it might make sense.

But the problem is, I'm able not able to write C++ ;)

That's the v2 of an open source project, you're free to join me and give 
me an hand if you wish! :)

Romu

Weyert de Boer wrote:

 I would've have just written to simple C++ applications which start
 those applications. If you only want to execute files.
 I won't have a huge memory hog for such things then.

 



[flexcoders] Refresh DateField

2009-03-06 Thread markgoldin_2000
If I have a DateField defined like this:
mx:DateField selectedDate={new Date()} id=closedate/

How would I refresh it to show the current date if a program is running 
constantly for more than 24 hours? I can probably use a timer but trying to 
stay away from local CPU overload.

Thanks for help.



[flexcoders] Re: Word Wrap on the FormItem label

2009-03-06 Thread valdhor
Check out http://www.nbilyk.com/multiline-formitem-label



--- In flexcoders@yahoogroups.com, menapole michael.napol...@... wrote:

 I was wondering if it is possible to word wrap the label that is part of the 
 FormItem. 
 
 So if I have FormItem label=Some really long label text goes here. 
 
 Is there a way to make that wrap?





Re: [flexcoders] Merapi and execute file from AIR

2009-03-06 Thread Weyert de Boer
Yeah, working on a C or Freepascal version of Merapi ;)


Re: [flexcoders] rss feed from various sources in flex

2009-03-06 Thread Paul Kukiel
Use cffeed in coldfusion then send it to Flex via remote obejct for example.
This avoids the crossdomain issue with reading rss feeds directly
within the flex client.

Paul.

On Fri, Mar 6, 2009 at 6:08 AM, stinasius stinas...@yahoo.com wrote:
 hi how can i create an rss feed reader that gets feed from more than one
 source. for example if i need to get entertainment news from mtv and other
 music sources how can i do that in flex and coldfusion?

 


Re: [flexcoders] Fwd: Graph Question

2009-03-06 Thread Maciek Sakrejda
You can create your own axis that extends, e.g., LinearAxis, and
override guardMinMax to return better bounds. It's not pretty, but it
works.
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: Vik vik@gmail.com
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Fwd: Graph Question
Date: Fri, 6 Mar 2009 16:37:24 +0530

Hie



any updates on this plz...

Thankx and Regards

Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com


-- Forwarded message --
From: Vik vik@gmail.com
Date: Thu, Mar 5, 2009 at 9:04 AM
Subject: Graph Question
To: flexcoders@yahoogroups.com


Hie


I have a column chart graph with vertical axis property baseAtZero =
false; 
This is cool but there is a problem. That is, it sets the lowest value
column as the base line and thereby making it almost impossible to see.
Is there any way so that it can shows consider the base a value a bit
less than the lowest value in my data so that even the lowest column is
visible a bit.

Thankx and Regards

Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com








RE: [flexcoders] Re: how to close a titlewindow that was not created as a popup

2009-03-06 Thread Ryan Graham

Sure:

 

?xml version=1.0 encoding=utf-8?

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

  mx:Script

![CDATA[

  import mx.containers.TitleWindow;

  private function onClose(event:Event):void

  {

removeChild(event.target as TitleWindow);

  }

]]

  /mx:Script

  mx:TitleWindow showCloseButton=true close=onClose(event)/

/mx:Application

 

HTH,

Ryan

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of stinasius
Sent: Thursday, March 05, 2009 10:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: how to close a titlewindow that was not
created as a popup

 

care to share how?





This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

[flexcoders] Re: Lazy loading in AdvancedDataGrid using RemoteObject

2009-03-06 Thread yossi.baram
wow Amy,
Some of your articles helped me a lot, realy thanks you:)
Now I looked at your example and using AdvacedDataModel with RmoteObject, 
getting the data from my Java code, couldnt rally see how can I use it 
(although I would love to), if you can guide me with the adaptations, please 
do...

I actaualy used your advice regards the AsyncToken, and I have some results, I 
get the data from the server, but I have lots of problem controlling the expand 
of the desired branch, when I click the branch, the data is fetched using the 
RemoteObject but childrens expand and collapse immidiatly :( 

My code:

in my mxml: 
1. I load first the data for the dataprovider to show only parents
2. When we click on the closed parentId we activate:

private function onItemOpen(event:AdvancedDataGridEvent ) : void
{
   var remoteService:RemoteObject=getDataFromHandler();
   // getLazyData is the func from my server to get the data
   var news:AsyncToken = remoteService.getLazyData   
(event.item.GroupLabel);
  news.addResponder(new mx.rpc.Responder(setAttributes, onFault));
}

public function getDataFromHandler(): RemoteObject { 
dataService = new RemoteObject(MyHandler1); 
dataService.showBusyCursor = true;  
dataService.destination=DataGridRemote;
return dataService; 
} 

The RemoteObject goes to the server and when its back it activates:
protected function setAttributes(event: ResultEvent): void {
var dm:DataModel;
// my object from the server
dm = DataModel(event.result);   model = 
MatrixDataModel(dm.model.getItemAt(0));
 // my function that converts my Object to DataProvider
remoteDP = createProvider(model);   // 
Create Headers
createHeaders();
// create upper group columns   
setGroupedColumns();

}

It sims that the correct data is on the grid but after a split sec it collapse.
WHY???
Can i use your code to make all better?

Thanks a lot for all your help, really

Jo

--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:

 --- In flexcoders@yahoogroups.com, yossi.baram yossi.baram@ wrote:
 
  Hi guys,
  I am strugeling to figure out lazy loading in my AdvancedDataGrid.
  I didnt find any relevant document on that.
  If I'm using ItemRenderer for my columns to do manipulation on the data, it 
  is executed when I click on the grouped (branch )column.
  This is good if I ahve a dataprovider with all data.
  But if I want lazy loading,
  When or where should I create my RemoteObject to fetch the relevant data 
  from the server? 
 
 I typically create a static class to use for the RemoteObject.  Each custom 
 typed object in the collection has a reference to it and a method that can be 
 called to tell it to load children.
 
  Can I do it in my ItemRenderer?
  Other option, If I catch a click from my AdvancedDataGrid and figure out 
  the parentId, and fetch the relevant data from the server, how can I 
  activate the Itemrenderer that I need to manipulate with this new data?
 
 The dataProvider for your ADG will always be a HierachichalCollectionView, 
 which means you can easily get from parent to child and vice versa.
 
 If you start out with an empty ArrayCollection as the children property on 
 each of your objects, then when that AC is updated (NOT REPLACED) by the 
 result of a Remote Object call, then the AC should generate whatever events 
 the ADG needs to fill itself in.
 
  Many questions regard this Lazy loading, can you guide me here please?
 
 You might find this example helpful:
 
 http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-posted.html
 
 HTH;
 
 Amy





[flexcoders] [slightly OT] RSS pull?

2009-03-06 Thread gwangdesign
Excuse me in advance since it may be OT.

I am putting together a small RSS reader using Flex. I'd like my application to 
look like automatically updating if there is any new post coming in for the 
RSS feed that the user is currently viewing, etc..

What I can think of on the top of my head is using HTTPService in my Flex piece 
to constantly pull the RSS feed and check against the lastBuildDate value to 
decide if the data have changed. 

I wonder if there are any open-source (or free, which means the same to me 
anyhows;)) server side solutions that can push the data? Or is there any 
smarter way of doing this purely on the client side? Thanks and have a great 
Friday!



[flexcoders] non-editable datagrid cells

2009-03-06 Thread Dennis Falling
Is there a way to prevent a specific cell from triggering its renderer?  I
need other cells in that column to be editable, but not it.


[flexcoders] 3.3 SDK AIR debugging issues

2009-03-06 Thread Beau Scott
I just updated our code base to use Flex SDK 3.3  AIR 1.5.1 (thanks to some
weird dependency issue that occured when updating the system's AIR runtime
to 1.5.1 and not the debugger... real nice), and am now having horrible
issues debugging on all platforms.
We primarily develop on Linux, and are used to the frequent/random debugger
disconnects that have always plagued it, but are now experiencing random
lockups of the application being debugged.
Thinking this was a Linux oversight, we booted up to Windows -- and
disappointingly found that there are as many issues in debugging in windows
now. For no apparent reason, when launch an application for debugging, about
20% of the time the application never starts. You can see the decompression
message in the debug output, but that's it. ADL is still running, not really
consuming more memory, and the debugger stays connected, but nothing
happens. Debugging on Windows also has the same random/frequent lockups that
Linux did after the SDK update.

I've updated all the runtimes, etc., following the instructions here:
http://labs.adobe.com/technologies/flex/flexbuilder_linux/releasenotes.html#airand
adapting them to fit all platforms (with regard to executables).

Anyone else see this?

-- 
Beau D. Scott
Software Engineer


RE: [flexcoders] Re: Timers and local CPU

2009-03-06 Thread Tracy Spratt
That was going to be my suggestion.

 

The main thing that makes an itemRendrer heavy or expensive is basing it on
a container, like VBox, instead of on UIComponent..  Yours looks good.

 

And I think maybe I would store the start time and calculate the elapsed
time, rather than incrementing the elapsed time on each timer tick.  It
might be a little more accurate, and would let you adjust the timer
interval.  You might find that 2 or 3 seconds is a short enough interval,
and would lower the cpu load quite a bit.

 

Tracy

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: Friday, March 06, 2009 10:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Timers and local CPU

 

About 30-40.
What about an idea to have one single timer and update all underlying data
every second without having a timer for each row?

--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
Tom Chiverton tom.chiver...@... wrote:

 On Friday 06 Mar 2009, markgoldin_2000 wrote:
  Every second.
 
 Doesn't seem so bad - are there many rows ?
 
  Not sure, how do I know that?
 
 Is it fast if you use mx:Text :-)
 
 -- 
 Tom Chiverton
 Helping to efficiently initiate internet open-source architectures
 as part of the IT team of the year, '09 and '08
 
 
 
 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
together with a list of those non members who are referred to as partners.
We use the word ?partner? to refer to a member of the LLP, or an employee or
consultant with equivalent standing and qualifications. 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.






RE: [flexcoders] Refresh DateField

2009-03-06 Thread Tracy Spratt
For a date, the timer interval could be long,, like a minute or more.  That
wouldn't be much overhead.

 

If you have any other timers running, you could piggyback that functionality
on one of those, instead of starting another.

 

Tracy

 

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: Friday, March 06, 2009 11:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Refresh DateField

 

If I have a DateField defined like this:
mx:DateField selectedDate={new Date()} id=closedate/

How would I refresh it to show the current date if a program is running
constantly for more than 24 hours? I can probably use a timer but trying to
stay away from local CPU overload.

Thanks for help.





RE: [flexcoders] non-editable datagrid cells

2009-03-06 Thread Tracy Spratt
Use the itemEditBeginning event.

http://www.cflex.net/showFileDetails.cfm?ObjectID=723

Tracy

 

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Dennis Falling
Sent: Friday, March 06, 2009 12:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] non-editable datagrid cells

 

Is there a way to prevent a specific cell from triggering its renderer?  I
need other cells in that column to be editable, but not it. 





[flexcoders] Global error handling in Flex

2009-03-06 Thread oneworld95
Is there a way to trap and handle any exceptions that a Flex app throws at a 
global level? Thanks.



Re: [flexcoders] 3.3 SDK AIR debugging issues

2009-03-06 Thread Matt Chotin
We're working with the AIR team on this, FB-16153

Matt

On 3/6/09 9:17 AM, Beau Scott beau.sc...@gmail.com wrote:




I just updated our code base to use Flex SDK 3.3  AIR 1.5.1 (thanks to some 
weird dependency issue that occured when updating the system's AIR runtime to 
1.5.1 and not the debugger... real nice), and am now having horrible issues 
debugging on all platforms.
We primarily develop on Linux, and are used to the frequent/random debugger 
disconnects that have always plagued it, but are now experiencing random 
lockups of the application being debugged.
Thinking this was a Linux oversight, we booted up to Windows -- and 
disappointingly found that there are as many issues in debugging in windows 
now. For no apparent reason, when launch an application for debugging, about 
20% of the time the application never starts. You can see the decompression 
message in the debug output, but that's it. ADL is still running, not really 
consuming more memory, and the debugger stays connected, but nothing happens. 
Debugging on Windows also has the same random/frequent lockups that Linux did 
after the SDK update.

I've updated all the runtimes, etc., following the instructions here: 
http://labs.adobe.com/technologies/flex/flexbuilder_linux/releasenotes.html#air 
and adapting them to fit all platforms (with regard to executables).

Anyone else see this?


Re: [flexcoders] Developing Rich Clients with Macromedia Flex - source code?

2009-03-06 Thread Matt Chotin
Hey Libby,

I checked and the machine that had this code went offline.  It's all Flex 1.0 
code, you sure you really need it?

Matt


On 3/5/09 10:28 AM, Libby libbychan...@yahoo.com wrote:




Hi, I have this book but lost my copy of the source code I originally 
downloaded. The authors website (http://flexbook.iterationtwo.com/, 
http://www.flexbook.iterationtwo.com/) is down. Does anyone know how to contact 
the authors Stephen Webster and Alistair McCleod or maybe has a copy?

Thanks,
Libby







Re: [flexcoders] 3.3 SDK AIR debugging issues

2009-03-06 Thread Beau Scott
Excellent, thanks.



On Fri, Mar 6, 2009 at 10:54 AM, Matt Chotin mcho...@adobe.com wrote:

We’re working with the AIR team on this, *FB-16153
 *
 Matt


 On 3/6/09 9:17 AM, Beau Scott beau.sc...@gmail.com wrote:




 I just updated our code base to use Flex SDK 3.3  AIR 1.5.1 (thanks to
 some weird dependency issue that occured when updating the system's AIR
 runtime to 1.5.1 and not the debugger... real nice), and am now having
 horrible issues debugging on all platforms.
 We primarily develop on Linux, and are used to the frequent/random debugger
 disconnects that have always plagued it, but are now experiencing random
 lockups of the application being debugged.
 Thinking this was a Linux oversight, we booted up to Windows -- and
 disappointingly found that there are as many issues in debugging in windows
 now. For no apparent reason, when launch an application for debugging, about
 20% of the time the application never starts. You can see the decompression
 message in the debug output, but that's it. ADL is still running, not really
 consuming more memory, and the debugger stays connected, but nothing
 happens. Debugging on Windows also has the same random/frequent lockups that
 Linux did after the SDK update.

 I've updated all the runtimes, etc., following the instructions here:
 http://labs.adobe.com/technologies/flex/flexbuilder_linux/releasenotes.html#airand
  adapting them to fit all platforms (with regard to executables).

 Anyone else see this?

  




-- 
Beau D. Scott
Software Engineer


[flexcoders] Re: Flash 10 File Chooser

2009-03-06 Thread jim.abbott45
No, according to the documentation (probably because it would be a privacy 
violation):

The FileReference and FileReferenceList classes . . . do not allow the SWF 
file that initiated the upload or download to access the uploaded or downloaded 
file or the file's location on the user's disk.

See: http://livedocs.adobe.com/flex/3/langref/flash/net/FileReference.html

--JIm

--- In flexcoders@yahoogroups.com, twcrone70 twcron...@... wrote:

 Is there anyway to get the fully qualified path to a selected file rather 
 than just the filename?
 
 - Todd





[flexcoders] Re: Question for LCDS Development?

2009-03-06 Thread aglosband
Hi Mark, 
The LCDS server is a J2EE web application so either putting your .class files 
in WEB-INF\classes or putting packaged jar files that contain your classes in 
WEB-INF\lib will work. 

Hope that helps.

-Alex

--- In flexcoders@yahoogroups.com, markflex2007 markflex2...@... wrote:

 Hi,
 
 I want to know how to deploy my java code to LCDS server.
 
 Do I have to copy *.class files to WEB-INF\classes fold or I have to
 copy jar files to WEB-INF\bin folder.
 
 Please give me a idea.Thanks
 
 
 Mark





Re: [flexcoders] Re: Problem in sorting XMLList collection as a dataProvider for the list

2009-03-06 Thread geeky developer
Hi foobone9I am trying to implement your sent/recommended code but it is not
recognizing internalPropList in line
 var propList:Array = fields ? fields : internalPropList;.

What exactly in internalPropList  here?
Anyone has any idea,
Thanks all for your reply and help

.


On Thu, Mar 5, 2009 at 4:57 PM, foobone9 foobo...@yahoo.com wrote:


 There is a nice example in the Sort class documentation:


 http://livedocs.adobe.com/flex/3/langref/mx/collections/Sort.html#compareFunction


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, crazy
 developer geekydevelo...@... wrote:
 
  Hi Thanks for replying
  What does we mean by custom sort compare function, Can we provide any
  examples of both sort and sort compare functions or little more details
  about what and how does we do that?
  Thanks much fro your help
 
 
 
  On Thu, Mar 5, 2009 at 11:24 AM, Alex Harui aha...@... wrote:
 
   If you have a labelfunction, you'll probably need a custom sortcompare
   function
  
  
  
   Alex Harui
  
   Flex SDK Developer
  
   Adobe Systems Inc. http://www.adobe.com/

  
   Blog: http://blogs.adobe.com/aharui
  
  
  
   *From:* flexcoders@yahoogroups.com flexcoders%40yahoogroups.com[mailto:
 flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] *On
   Behalf Of *anuj181
   *Sent:* Wednesday, March 04, 2009 3:51 PM
   *To:* flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
   *Subject:* [flexcoders] Problem in sorting XMLList collection as a
   dataProvider for the list
  
  
  
   Hi Guys
  
   I am trying to sort the xmllist collection which is the dataprovider
 for
   the list. As the implementation of name-value pairs, i am displaying
 the
   entries in form of string in List and would like to sort all the data
   displayed in the List alphabetically, I am making a call through amfphp
 call
   to grab data from backend and populate XMLListCollection but now I need
 to
   sort the data in the list. Below is the code,Can anyone please help me
 where
   I am messing things up. Also please let me know if there is any
 question
   regarding the code and if there is better way of doing it.
  
   Thanks
  
   /**CODE/
  
   mx:RemoteObject id=amfSetup source=Setup destination=amfphp
   mx:method name=getList result=getListHandler(event);
   fault=getListFault(event);/
   /mx:RemoteObject
  
   [Bindable] private var entriesXmlListFull:XMLList;
   [Bindable] private var entriesXmlCollection:XMLListCollection;
  
  
   public function getListHandler(event:ResultEvent):void
   {
  
   entriesXmlListFull = XML(event.result).device;
   populateEntries();
   }
   private function getListFault(event:FaultEvent):void
   {
   Alert.Show(Error retreiving Data);
   }
  
   //Displaying names need to be displayed in the List box
   private function entriesLabelFunc(item:Object):String
   {
   var xmlItem:XML = item as XML;
  
   return xmlItem..attribute.(@name==friendlyname);
   }
  
   //Populating List with XML Objects
   private function populateEntries():void
   {
   entriesXmlCollection = new XMLListCollection();
  
   for each(var item:XML in entriesXmlListFull)
   {
  
   var friendlyName:String = item..attribute.(@name==friendlyname);
   //Only add camera type
   if ( !recordValue  hasFriendlyName  (itemType.toUpperCase() ==
   CAMERA) )
   {
   entriesXmlCollection.addItem(item);
   }
   }
  
   //Calling Sort on XMLList collection
   entriesXmlCollection.sort = sortList;
   entriesXmlCollection.refresh();
  
  
   }
  
  
   mx:Sort id=sortList
   mx:fields
   mx:SortField name=* caseInsensitive=true /
   /mx:fields
   /mx:Sort
  
   mx:List id=listData dataProvider={entriesXmlCollection}
   labelFunction=entriesLabelFunc/
  
  
  
 

  



[flexcoders] error: Access of undefined property when referring to custom itemRenderer

2009-03-06 Thread oneworld95
I've got a custom itemRenderer in a package called flexapp.upload.ImageUpload. 
When setting it in the datagrid column, it doesn't seem to recognize it and 
throws the error: Access of undefined property ImageUpload. Here's the column:

mx:DataGridColumn headerText=Photo id=imageCol width=319 
itemRenderer=ImageUpload /

What am I doing wrong? How do I reference the package that contains this 
component? I've got the import flexapp.upload.ImageUpload in a script block but 
it doesn't seem to make any difference. Thanks.



[flexcoders] Re: error: Access of undefined property when referring to custom itemRenderer

2009-03-06 Thread oneworld95
Duh. Needed to say itemRenderer=flexapp.upload.ImageUpload. Sorry for the 
stupid question.

- Alex C

--- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote:

 I've got a custom itemRenderer in a package called 
 flexapp.upload.ImageUpload. When setting it in the datagrid column, it 
 doesn't seem to recognize it and throws the error: Access of undefined 
 property ImageUpload. Here's the column:
 
 mx:DataGridColumn headerText=Photo id=imageCol width=319 
 itemRenderer=ImageUpload /
 
 What am I doing wrong? How do I reference the package that contains this 
 component? I've got the import flexapp.upload.ImageUpload in a script block 
 but it doesn't seem to make any difference. Thanks.





[flexcoders] curly braces and functions in mxml

2009-03-06 Thread Rick Schmitty
Is there a difference between

mx:Button click=onClick()/

and

mx:Button click={onClick()}/

The only thing I've notice is in the latter I can CTRL+Click on
onClick and it takes me to the onClick function, while the first one
does nothing


[flexcoders] Re: curly braces and functions in mxml

2009-03-06 Thread oneworld95
Both in this case do the same thing. Curly braces tell Flex that it should 
treat the contents as ActionScript (thus you can Ctrl-click it). It's basically 
a function call. Take a look here for an explanation: 
http://www.onflex.org/ted/2005/06/property-binding-in-flex.php

In the case of your code, the click property of the Button component converts 
the string it receives to a function call automatically; it's redundant to use 
the curly braces but it shouldn't hurt anything. 

- Alex C

--- In flexcoders@yahoogroups.com, Rick Schmitty flexc...@... wrote:

 Is there a difference between
 
 mx:Button click=onClick()/
 
 and
 
 mx:Button click={onClick()}/
 
 The only thing I've notice is in the latter I can CTRL+Click on
 onClick and it takes me to the onClick function, while the first one
 does nothing





[flexcoders] Re: curly braces and functions in mxml

2009-03-06 Thread Tim Hoff

Hi Rick,

Both will work, but you don't need the binding (curly) braces for events
(click).  This is a common mistake; one that I've made myself.  In
essence, when you use the curly braces to bind, you are creating an
event listener; usually to a variable.  When the variable changes
(except for arrays), the binding mechanism will automatically update any
properties that are bound to the variable.  This works great for
properties and styles, but is un-necessary for events. Simply by using
an event in an mxml tag, you are already doing the same thing; creating
an event listener.  When the event is dispatched, do something; done. 
Sometimes binding is confused with just referencing properties and
methods.

-TH

--- In flexcoders@yahoogroups.com, Rick Schmitty flexc...@... wrote:

 Is there a difference between

 mx:Button click=onClick()/

 and

 mx:Button click={onClick()}/

 The only thing I've notice is in the latter I can CTRL+Click on
 onClick and it takes me to the onClick function, while the first one
 does nothing





[flexcoders] Re: hiding an applicationcontrolbar button

2009-03-06 Thread Tim Hoff

Hi Greg,

Have you tried removeChild()?

-TH

--- In flexcoders@yahoogroups.com, Greg Morphis gmorp...@... wrote:

 I tried that in the creationComplete function and the show function.
 Neither hid the tab/button

 On Fri, Mar 6, 2009 at 9:16 AM, Adrian Williams
 adri...@... wrote:
  Hi Greg,
 
  does this not work for you?
 
  if (MyModel.getInstance().currentUser.useraccess == 99)
  {
  aHeadlines.visible = true;
  }
  else
  {
  aHeadlines.visible = false;
  }
 
 
 
  Greg Morphis wrote:
 
  I'm trying to hide or destroy a button that's showing in an
  ApplicationControlBar.
  Basically when the user logs into the tool their information is
  checked and one button or another will show.
 
  The code currently looks like
 
  mx:VBox... 
  mx:ApplicationControlBar ... 
  mx:ToggleButtonBar id=adminMenu  dataProvider={adminVS}
  /mx:ApplicationControlBar
 
  mx:ViewStack ... id=adminVS ... 
  AdminVW:AdminUser id=aUser ... /
  AdminVW:AdminSecurity id=securityBox ... /
  AdminVW:AdminMenu id=aMenu ... /
  AdminVW:AdminNews id=aNews ... /
  AdminVW:AdminTopAgentsid=aUser ... /
  AdminVW:AdminHeadlines id=aHeadlines ... /
  ...
 
  What if I only wanted to show the AdminHeadlines button if when they
  log in thier access is 99.
  The access is stored in MyModel.getInstance().currentUser.useraccess
 
  I've tried using a function and setting the visiable and
  includeInLayout to the return value, I.E.:
  private function showHeadlines ():Boolean {
  return (MyModel.getInstance().currentUser.useraccess == 99)
  }
 
  But that's not working.. Ideas?
 
  Thanks!
 
 
 






[flexcoders] save word file to database.

2009-03-06 Thread markflex2007
Hi,

I am doing a Air application and I need save a microsoft word file to database 
and I also need download the file back with AIR.

I maybe need some encoder/decoder technology to do this.but I do not have idea 
about this.

Would you please give me a idea about this.

Thanks for your help

Mark



RE: [flexcoders] Re: hiding an applicationcontrolbar button

2009-03-06 Thread Tracy Spratt
Yes, the content of the toggleButtonBar will be determined entirely by its
dataProvider.  If you want to change the content of the button
Bar, you must change its dataprovider.

 

One way to do this is to add/remove the viewstack children.

 

But this process has always seemed unnecessarily difficult, just to change
the visibility/availability or a button, so I never use a viewStack as a
dataProvider for anything that needs to be dynamically controlled.

 

Instead, I use a separate dataProvider, for the control bar, which contains
the index into the viewStack, and manipulate that dataProvider to control
the available buttons.  A click on a button uses the index in the
dataProvider to set the selectedIndex of the ViewStack.

 

Tracy

 

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Tim Hoff
Sent: Friday, March 06, 2009 2:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: hiding an applicationcontrolbar button

 


Hi Greg,

Have you tried removeChild()?

-TH

--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
Greg Morphis gmorp...@... wrote:

 I tried that in the creationComplete function and the show function.
 Neither hid the tab/button

 On Fri, Mar 6, 2009 at 9:16 AM, Adrian Williams
 adri...@... wrote:
  Hi Greg,
 
  does this not work for you?
 
  if (MyModel.getInstance().currentUser.useraccess == 99)
  {
  aHeadlines.visible = true;
  }
  else
  {
  aHeadlines.visible = false;
  }
 
 
 
  Greg Morphis wrote:
 
  I'm trying to hide or destroy a button that's showing in an
  ApplicationControlBar.
  Basically when the user logs into the tool their information is
  checked and one button or another will show.
 
  The code currently looks like
 
  mx:VBox... 
  mx:ApplicationControlBar ... 
  mx:ToggleButtonBar id=adminMenu  dataProvider={adminVS}
  /mx:ApplicationControlBar
 
  mx:ViewStack ... id=adminVS ... 
  AdminVW:AdminUser id=aUser ... /
  AdminVW:AdminSecurity id=securityBox ... /
  AdminVW:AdminMenu id=aMenu ... /
  AdminVW:AdminNews id=aNews ... /
  AdminVW:AdminTopAgentsid=aUser ... /
  AdminVW:AdminHeadlines id=aHeadlines ... /
  ...
 
  What if I only wanted to show the AdminHeadlines button if when they
  log in thier access is 99.
  The access is stored in MyModel.getInstance().currentUser.useraccess
 
  I've tried using a function and setting the visiable and
  includeInLayout to the return value, I.E.:
  private function showHeadlines ():Boolean {
  return (MyModel.getInstance().currentUser.useraccess == 99)
  }
 
  But that's not working.. Ideas?
 
  Thanks!
 
 
 






[flexcoders] Re: HorizontalList ItemRnderers Mysterious Horizontal Gap

2009-03-06 Thread adamduro
Alex,

I tried this. I also tried putting the Image control inside of an HBox, and 
still no dice. I got closer, but still could not entirely get rid of the gap. 
There was always at least 1px on a side that was still coming through.

I have actually resorted to creating my own component, which is a sub-class of 
the Box container. It takes a dataProvider, a max count, and an itemRenderer 
and builds out the UI.

For some reason this approach is giving me the control I want over the details 
of the UI.

Best,

Adam

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 Try: paddingLeft/Right/Top/Bottom = 0
 
 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of adamduro
 Sent: Thursday, March 05, 2009 3:16 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] HorizontalList ItemRnderers Mysterious Horizontal Gap
 
 
 I'm trying to develop a UI piece that consists of a HorizontalList using an 
 Image control as an ItemRenderer.
 
 Here is the code:
 
 http://pastie.org/408846
 
 For the life of me I cannot figure out how to get rid of a single pixel gap 
 that gets put around each Image control. I've debugged a bit, and found out 
 that even though the source image is 126px, and I've set the columnWidth to 
 126px, Flex is shrinking the Image control to 124px.
 
 I understand that if there was no gap, you would not be able to see the roll 
 over tile, but that's my point. I want a continuous strip of images.
 
 Anyone got any idea what is going on here?





[flexcoders] Flex Builder 3 on Windows XP

2009-03-06 Thread hsam949
I have a weird problem. My PC crashed yesterday and after re-booting Flex 
builder would not start. When clicking on the icon, you get the initial Flex 
screen but then it disappeared and nothing happens. After struggling for a 
couple of hours, I decided to uninstall and reinstall Flex. Now when I run the 
installer, InstallAnyWhere gets to about 43% and stalls, then jumps to 99% and 
then asks for another location to extract the installer. When you specify a 
different location, the same thing happens all over again. This is the same 
installation file I used before, so I know it is not corrupt. Also, when I 
checked my registry, there is not entry for Flex under Adobe in 
HKEY_LOCAL_MACHINE -- Software. Any help is appreciated.

Thanks! 



[flexcoders] Re: Flex Builder 3 on Windows XP

2009-03-06 Thread oneworld95
Try using the Microsoft Windows Installer CleanUp Utility 
(http://support.microsoft.com/kb/290301). I've had great luck with that tool. 
You might also need a registry cleanup tool. I don't know of any good free 
ones. Maybe someone else can post a reply on that.

- Alex C

--- In flexcoders@yahoogroups.com, hsam949 hsalam...@... wrote:

 I have a weird problem. My PC crashed yesterday and after re-booting Flex 
 builder would not start. When clicking on the icon, you get the initial Flex 
 screen but then it disappeared and nothing happens. After struggling for a 
 couple of hours, I decided to uninstall and reinstall Flex. Now when I run 
 the installer, InstallAnyWhere gets to about 43% and stalls, then jumps to 
 99% and then asks for another location to extract the installer. When you 
 specify a different location, the same thing happens all over again. This is 
 the same installation file I used before, so I know it is not corrupt. Also, 
 when I checked my registry, there is not entry for Flex under Adobe in 
 HKEY_LOCAL_MACHINE -- Software. Any help is appreciated.
 
 Thanks!





Re: [flexcoders] save word file to database.

2009-03-06 Thread Jeffry Houser

 Although possible to save binary docs in a database, I recommend 
against it.  Save them on disk and put a pointer in the database. 

 If you're adamant about storing the files in the database looking into 
the BLOB data type (Binary Large OBjects ).  I imagine if you send it to 
the database

 That said, were you having any specific problems transferring a word 
doc back and forth?  It's just bytes, so I doubt you'd need any encoder 
/ decoder.  Displaying a word doc in an AIR file would be an impressive 
treat if you can pull it off, though. 

markflex2007 wrote:
 Hi,

 I am doing a Air application and I need save a microsoft word file to 
 database and I also need download the file back with AIR.

 I maybe need some encoder/decoder technology to do this.but I do not have 
 idea about this.

 Would you please give me a idea about this.

 Thanks for your help

 Mark


   


-- 
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust




[flexcoders] Re: save word file to database.

2009-03-06 Thread oneworld95
It can be a pain reading/writing binary data regardless if what server side 
code you use. I'd advise against it unless you need to hide the Word docs from 
someone coming along and accessing them directly. If you use a good 
authentication/authorization mechanism to protect the web app, you shouldn't 
have to store them on the database. 

You could use some simple code in your server-side app to give the files a new 
name while writing them to a folder. And you'd store the filename/location to 
the database as a string (varchar). Then other apps could also access the files 
if necessary.

- Alex C

--- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote:

 
  Although possible to save binary docs in a database, I recommend 
 against it.  Save them on disk and put a pointer in the database. 
 
  If you're adamant about storing the files in the database looking into 
 the BLOB data type (Binary Large OBjects ).  I imagine if you send it to 
 the database
 
  That said, were you having any specific problems transferring a word 
 doc back and forth?  It's just bytes, so I doubt you'd need any encoder 
 / decoder.  Displaying a word doc in an AIR file would be an impressive 
 treat if you can pull it off, though. 
 
 markflex2007 wrote:
  Hi,
 
  I am doing a Air application and I need save a microsoft word file to 
  database and I also need download the file back with AIR.
 
  I maybe need some encoder/decoder technology to do this.but I do not have 
  idea about this.
 
  Would you please give me a idea about this.
 
  Thanks for your help
 
  Mark
 
 

 
 
 -- 
 Jeffry Houser, Technical Entrepreneur
 Adobe Community Expert: http://tinyurl.com/684b5h
 http://www.twitter.com/reboog711  | Phone: 203-379-0773
 --
 Easy to use Interface Components for Flex Developers
 http://www.flextras.com?c=104
 --
 http://www.theflexshow.com
 http://www.jeffryhouser.com
 --
 Part of the DotComIt Brain Trust





Re: [flexcoders] Re: Compressing messages/data: What binary/compression formats are workable in Flex?

2009-03-06 Thread David Adams
On Sat, Mar 7, 2009 at 2:06 AM, valdhor valdhorli...@embarqmail.com wrote:
 You still avoid telling us your back-end setup.

 I give up.

I'm not meaning to frustrate you - particularly since you're being
kind enough to spend your time sending me suggestions. The back-end is
called 4D and it definitely does not have server-side AMF support. I
know the right people to ask and have already triple-checked that AMF
support is not available. I've even checked with people that might
have had reason to roll their own AMF support and none of them have.
The main product itself isn't going to have new features added until
the next version which doesn't have any announced date.

I just didn't think it was worth wasting people's time trying to find
an answer on the server-side as I've already got that covered.

Thanks for your help.


Re: [flexcoders] Re: Compressing messages/data: What binary/compression formats are workable in Flex?

2009-03-06 Thread David Adams
On Sat, Mar 7, 2009 at 8:38 AM, David Adams dpad...@gmail.com wrote:
 On Sat, Mar 7, 2009 at 2:06 AM, valdhor valdhorli...@embarqmail.com wrote:
 You still avoid telling us your back-end setup.

 I give up.

I figure I should address the next obvious suggestion in advance. Is
something like the following possible?

 [Flash Player]  --- AMF---  [Apache + Zend] --- XML or
something--- [4D]

Yes, it's entirely possible to put Apache (or what have you) into what
amounts to a smart proxying roll. It's even possible this setup would
deliver performance gains and other useful features as a bonus. There
are definitely times this would be well worth considering, but right
now I'm focusing on what can be done without the extra layer of
software. I'm well-enough versed in the specifics of this back-end
that what I've been trying to sort out is what is native and
reasonable in the Flash player. It's on the client side that I'm
ignorant. As in so many other areas of my life;-) But, pertinent to
this list, I'm ignorant about many aspects of the Flash player and the
Flex framework - the framework is huge and many features are easy to
overlook.

So far it looks like (ignoring back-end):

* AMF - Native

* XML - Native

* JSON - Often used library

* Plain-text format - May be able to leverage native features such as
String.split() or a custom parser that reads lengths precisely.

* Any of the textual formats (XML, JSON, plain-text of whatever sort)
may benefit from compression, depending on payload size,
compression/decompression time, and network conditions (latency and
bandwidth).

That's what I've got so far.


Re: [flexcoders] Re: Compressing messages/data: What binary/compression formats are workable in Flex?

2009-03-06 Thread Maciek Sakrejda
I think (some) people were asking about the back-end to try to help you
configure http compression, which is done differently with different
servers. Given your requirements, that and XML is probably the way to go
for the short term, although simple hand-rolled textual formats may
offer much better performance with negligible complexity for some stuff.

-Maciek


-Original Message-
From: David Adams dpad...@gmail.com
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Compressing messages/data: What
binary/compression formats are workable in Flex?
Date: Sat, 7 Mar 2009 08:38:33 +1100

On Sat, Mar 7, 2009 at 2:06 AM, valdhor valdhorli...@embarqmail.com
wrote:
 You still avoid telling us your back-end setup.

 I give up.

I'm not meaning to frustrate you - particularly since you're being
kind enough to spend your time sending me suggestions. The back-end is
called 4D and it definitely does not have server-side AMF support. I
know the right people to ask and have already triple-checked that AMF
support is not available. I've even checked with people that might
have had reason to roll their own AMF support and none of them have.
The main product itself isn't going to have new features added until
the next version which doesn't have any announced date.

I just didn't think it was worth wasting people's time trying to find
an answer on the server-side as I've already got that covered.

Thanks for your help.








Re: [flexcoders] Re: Compressing messages/data: What binary/compression formats are workable in Flex?

2009-03-06 Thread David Adams
On Sat, Mar 7, 2009 at 9:24 AM, Maciek Sakrejda msakre...@truviso.com wrote:
 I think (some) people were asking about the back-end to try to help you
 configure http compression, which is done differently with different
 servers.

Oh. Well, how nice for everyone that I went on at length about
completely unrelated details ;-)

On the server side, I've had to bolt on a compressor so all I'd really
like to know I suppose is what MIME type such files arrive with from
another server when everything is working. I've looked up the MIME
codes and am not trying to be lazy - I ended up with my files
automatically downloading, so I figured I'd ask other people what is
actually working for them.

Thanks!


[flexcoders] AMF and sending/receiving pictures

2009-03-06 Thread Weyert de Boer
Does anyone know if there are any solutions to allow sending pictures 
from the AMF server-side to the Flash/Flex client? Or do I need to go 
the Base64 or supply as image url way instead?


Re: [flexcoders] Re: Compressing messages/data: What binary/compression formats are workable in Flex?

2009-03-06 Thread Guy Morton
You don't change the content-type to reflect gzip compression being on  
on the server. Gzip is a content-encoding and the browser should  
seamlessly decode it. You do need to set the HTTP headers to tell the  
browser is gzipped though, eg here's a gzip-encoded response example:


Request
Accept  */*
Referer http://www.theage.com.au/
User-Agent	Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us)  
AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

Response
Accept-Ranges   bytes
Cache-Control   max-age=3600, public, proxy-revalidate
Connection  Keep-Alive
Content-Encodinggzip
Content-Length  1737
Content-Typeapplication/x-javascript
DateFri, 06 Mar 2009 22:37:15 GMT
Etag17befe1-111d-775906c0
Expires Fri, 06 Mar 2009 23:37:15 GMT
Keep-Alive  timeout=2, max=100
Last-Modified   Thu, 05 Mar 2009 07:53:39 GMT
P3p	policyref=http://f2.com.au/w3c/p3p.xml;, CP=CAO DSP LAW CURa  
ADMa DEVa TAIa PSAa PSDa IVAi IVDi OUR IND PHY ONL UNI PUR FIN COM NAV  
INT DEM CNT PRE GOV

Server  Apache
VaryAccept-Encoding,User-Agent


On 07/03/2009, at 9:30 AM, David Adams wrote:

On Sat, Mar 7, 2009 at 9:24 AM, Maciek Sakrejda  
msakre...@truviso.com wrote:
 I think (some) people were asking about the back-end to try to  
help you

 configure http compression, which is done differently with different
 servers.

Oh. Well, how nice for everyone that I went on at length about
completely unrelated details ;-)

On the server side, I've had to bolt on a compressor so all I'd really
like to know I suppose is what MIME type such files arrive with from
another server when everything is working. I've looked up the MIME
codes and am not trying to be lazy - I ended up with my files
automatically downloading, so I figured I'd ask other people what is
actually working for them.

Thanks!






Re: [flexcoders] Re: Compressing messages/data: What binary/compression formats are workable in Flex?

2009-03-06 Thread David Adams
On Sat, Mar 7, 2009 at 9:39 AM, Guy Morton g...@alchemy.com.au wrote:
 You don't change the content-type to reflect gzip compression being on on
 the server. Gzip is a content-encoding and the browser should seamlessly
 decode it. You do need to set the HTTP headers to tell the browser is
 gzipped though, eg here's a gzip-encoded response example:

Beautiful. Thanks very much for the headers.


[flexcoders] blazeds mapping issue with SetLong

2009-03-06 Thread max.bruchmann
Hi,
I am having some problems with blazeds and how it maps a collection contains 
long elements.

Let's assume I have a class

public class MyClass {

..

private SetLong myLongs;

public void setMyLongs(SetLong myLongs){
 this.myLongs = myLongs;
}
public SetLong getMyLongs(){
 return myLongs;
}
}
and I have a mapped class in flex and a instance of this class containing an 
arraycollection with for example [1, 4] 

Now I'm sending this instance to my remoteobject

..
public void receiveStuff(MyClass m){


}
The problem I'm having now, is that blazeds actually mapped the 1 and 4 not as 
a Long into myLongs but as a Integer.
Sofar this is not a big issue, but I'm passing it forward to hibernate and 
there it leads to some errors:


org.hibernate.type.LongType - could not bind value ... to parameter: ...
java.lang.Integer cannot be cast to java.lang.Long

I found already some bug reports on that in 
https://bugs.adobe.com/jira/browse/BLZ-79 but it's marked as resolve with the 
solution don't use java syntax 1.5 which is not very helpful. So if someone 
has a solution/workarround/idea please let me know. 

Thanks in advance
Max




[flexcoders] Re: AMF and sending/receiving pictures

2009-03-06 Thread Bjorn Schultheiss
Yes, AMF3 supports the ByteArray class. Images can be written into a ByteArray 
and then sent over Amf.

Bjorn

--- In flexcoders@yahoogroups.com, Weyert de Boer w...@... wrote:

 Does anyone know if there are any solutions to allow sending pictures 
 from the AMF server-side to the Flash/Flex client? Or do I need to go 
 the Base64 or supply as image url way instead?





[flexcoders] Re: Lazy loading in AdvancedDataGrid using RemoteObject

2009-03-06 Thread yossi.baram
one more thing,
AdvancedDataGrid doesnt support DataDescriptor...

--- In flexcoders@yahoogroups.com, yossi.baram yossi.ba...@... wrote:

 wow Amy,
 Some of your articles helped me a lot, realy thanks you:)
 Now I looked at your example and using AdvacedDataModel with RmoteObject, 
 getting the data from my Java code, couldnt rally see how can I use it 
 (although I would love to), if you can guide me with the adaptations, please 
 do...
 
 I actaualy used your advice regards the AsyncToken, and I have some results, 
 I get the data from the server, but I have lots of problem controlling the 
 expand of the desired branch, when I click the branch, the data is fetched 
 using the RemoteObject but childrens expand and collapse immidiatly :( 
 
 My code:
 
 in my mxml: 
 1. I load first the data for the dataprovider to show only parents
 2. When we click on the closed parentId we activate:
 
 private function onItemOpen(event:AdvancedDataGridEvent ) : void
   {
var remoteService:RemoteObject=getDataFromHandler();
// getLazyData is the func from my server to get the data
var news:AsyncToken = remoteService.getLazyData   
 (event.item.GroupLabel);
   news.addResponder(new mx.rpc.Responder(setAttributes, onFault));
 }
 
 public function getDataFromHandler(): RemoteObject { 
   dataService = new RemoteObject(MyHandler1); 
   dataService.showBusyCursor = true;  
 dataService.destination=DataGridRemote;
   return dataService; 
 } 
 
 The RemoteObject goes to the server and when its back it activates:
 protected function setAttributes(event: ResultEvent): void {
   var dm:DataModel;
 // my object from the server  
   dm = DataModel(event.result);   model = 
 MatrixDataModel(dm.model.getItemAt(0));
  // my function that converts my Object to DataProvider
   remoteDP = createProvider(model);   // 
 Create Headers
   createHeaders();
   // create upper group columns   
   setGroupedColumns();
   
   }
 
 It sims that the correct data is on the grid but after a split sec it 
 collapse.
 WHY???
 Can i use your code to make all better?
 
 Thanks a lot for all your help, really
 
 Jo
 
 --- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote:
 
  --- In flexcoders@yahoogroups.com, yossi.baram yossi.baram@ wrote:
  
   Hi guys,
   I am strugeling to figure out lazy loading in my AdvancedDataGrid.
   I didnt find any relevant document on that.
   If I'm using ItemRenderer for my columns to do manipulation on the data, 
   it is executed when I click on the grouped (branch )column.
   This is good if I ahve a dataprovider with all data.
   But if I want lazy loading,
   When or where should I create my RemoteObject to fetch the relevant data 
   from the server? 
  
  I typically create a static class to use for the RemoteObject.  Each custom 
  typed object in the collection has a reference to it and a method that can 
  be called to tell it to load children.
  
   Can I do it in my ItemRenderer?
   Other option, If I catch a click from my AdvancedDataGrid and figure out 
   the parentId, and fetch the relevant data from the server, how can I 
   activate the Itemrenderer that I need to manipulate with this new data?
  
  The dataProvider for your ADG will always be a HierachichalCollectionView, 
  which means you can easily get from parent to child and vice versa.
  
  If you start out with an empty ArrayCollection as the children property on 
  each of your objects, then when that AC is updated (NOT REPLACED) by the 
  result of a Remote Object call, then the AC should generate whatever events 
  the ADG needs to fill itself in.
  
   Many questions regard this Lazy loading, can you guide me here please?
  
  You might find this example helpful:
  
  http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-posted.html
  
  HTH;
  
  Amy
 





[flexcoders] Basic question: Creating, tracking, and deleting objects.

2009-03-06 Thread David Adams
I've been experimenting with a couple of classes that extend Canvas
and realize I need to get some basic information sorted out. I've done
quite a bit of googling, looking through examples, and checking
Adobe's documentation. Somehow I've lost the plot. Briefly, my
questions are:

* How do people normally track references to dynamically created objects?
* If you add an object to an array, are you copying a reference or
something bigger in RAM?
* How do you well and truly clear an object?

References to a good, basic demo would be most welcome, too.

Those are the questions, below is the background that leads to the
questionswhich may be skipped if the questions alone make sense.

What I've got is a class I've called SearchGroup that extends Canvas.
This is just a bounding container that is meant to coordinate a number
of child containers of calls SearchRow, which also extends Canvas. So,
there is one SearchGroup with 1 or more SearchRow instances. I'm going
everything in ActionScript rather than MXML as I'm trying to get
comfortable with AS.

  When a SearchRow is created, it should go at the bottom of the
SearchGroup canvas (visually).
  When a SearchRow is deleted, any rows below it should be moved up.

That's about all I'm trying to do at the moment and there are probably
better built-in widgets to use. My main problem is sorting out how you
properly create, track, and delete objects. My main application has an
initApp() like so:

public function initApp() : void {
this.addChild(searchArea.addRow());
this.addChild(searchArea.addRow());
this.addChild(searchArea.addRow());
}

Whenever addRow() is called, a row is created, added to the display
list, and some private variables are updated within searchArea (a
SearchGroup):

public function addRow() : SearchRow {
_rowCount ++;
var row:SearchRow = new SearchRow(_rowCount);
_rowReferences.push(row);
return row;
}

[I figure that SearchRow shold be an inner class of SearchGroup - but
I don't know how to do that in AS. Otherwise, I assume I should put
addRow into SearchRow and then have SearchRow dispatch an
event...which I'm skipping for the moment for simplicity.)

So, when a row is added, the searchArea increments a count and appends
the reference into a private array named _rowReferences. A couple of
questions:

* How do people normally track dynamically created object references?
* When I copy an object into my array, _rowReferences.push(row), am I
copying a _reference_ or something more substantial in RAM?

When I come to delete a row, I'd like four things to happen:
* Decrement the row count - that's easy.
* Remove the reference from the tracking array - that's easy.
* Remove the item from the display list - that's easy, assuming I get
the right parent reference.
* Remove (delete/clear) the row object instance. How do you do that?
I've not found a remove/delete/clear option or operator that appears
to do anything. I'm fuzzy on the AS/Flex garbage collection system, I
expect.

Thanks again for any help! Eventually I'll be able to contribute
answers instead of questions to the list.


[flexcoders] Re: save word file to database.

2009-03-06 Thread markflex2007
I am working with AIR application.all the user share the data in database so I 
like save doc to database.

Please give me how to do this in flex side and I can handle server side code.

Thanks

Mark



[flexcoders] Need help gettig weborb and my flex project working after compuer reimage...

2009-03-06 Thread timgerr
Hello all, I need some help. I am pulling my hair out.  I have been working 
on a flex project for about a year now and I had some problems with my 
computer.  I put in a new hard drive (Got all the data off the old one) and set 
xampp, weborb up all the same.  When I debug my project my Flex app runs, and 
on start A weborb request is done and fails with this error in Flex coming from 
the FaultEvent.  The error is Server reported an error - Send failed.  My 
debug path is C:\xampp\htdocs\weborb\pjhome-debug.  Here is the return error 
from Charles:

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en
head
title
Object not found!
/title
link rev=made href=mailto:ad...@localhost; /
style type=text/css
!--/*--
![CDATA[/*!--*/ body { color: #00; background-color: #FF; } a:link { 
color: #CC; } p, address {margin-left: 3em;} span {font-size: smaller;} 
/*]]*/--gt;
/style
/head
body
h1
Object not found!
/h1
p
The requested URL was not found on this server. The link on the
a href=http://localhost/weborb/pjhome/pjhome.swf;
referring page
/a
seems to be wrong or outdated. Please inform the author of
a href=http://localhost/weborb/pjhome/pjhome.swf;
that page
/a
about the error. 
/p
p
If you think this is a server error, please contact the
a href=mailto:ad...@localhost;
webmaster
/a
.
/p
h2
Error 404
/h2
address
a href=/
localhost
/a
br /
span
03/07/09 00:21:40
br /
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color 
PHP/5.2.8
/span
/address
/body
/html

Since my build path is C:\xampp\htdocs\weborb\pjhome-debug, and the page comes 
up.  Why is weborb sending a response request to 
http://localhost/weborb/pjhome/pjhome.swf ??

I am pulling my hair out on this one,  Please help.

Thanks for the read,
timgerr




[flexcoders] Re: how to close a titlewindow that was not created as a popup

2009-03-06 Thread stinasius
i am getting this error when i apply your code.

ArgumentError: Error #2025: The supplied DisplayObject must be a child of the 
caller.
at flash.display::DisplayObjectContainer/removeChild()
at mx.core::Container/removeChild()
at custom_comps::login_register/closeWindow()
at custom_comps::login_register/___TitleWindow1_close()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.containers::Panel/closeButton_clickHandler()




[flexcoders] Re: how to close a titlewindow that was not created as a popup

2009-03-06 Thread stinasius
am calling it from with the titlewindow i would like to close. i also tried 
calling it from the parent page that calls the custom titlewindow.



[flexcoders] Re: rss feed from various sources in flex

2009-03-06 Thread stinasius
any tutorial on that?



[flexcoders] Re: ColdFusion Application variables with LCDS

2009-03-06 Thread Brendan Meutzner
Nobody has attempted this?


On Fri, Feb 20, 2009 at 3:56 PM, Brendan Meutzner bmeutz...@gmail.comwrote:

 Hi,
 I'd like to set an application variable on my CF server which is recognized
 in the various cfc's I'm using through LiveCycle Data Services.  However, if
 I set a variable inside an Application.cfm file, it doesn't get recognized
 inside the cfc functions when called through LCDS Destinations.

 I've confirmed that the application.cfm file is getting called, and my
 application scope variables are getting set.  I've also confirmed that the
 application.cfm file is getting initialized before the lcds data call to
 the cfc.  However, once the CFC gets run, it errors out saying that XXX is
 undefined in Application.

 I've changed the scope parameter inside my Destination definitions in
 data-management-config.xml to be application instead of request but this
 didn't help either.

 Anyone else offer some insight on this?


 Thanks in advance,

 Brendan



 --
 Brendan Meutzner
 http://www.meutzner.com/blog/




-- 
Brendan Meutzner
http://www.meutzner.com/blog/
http://www.riajobs.com


[flexcoders] Re: Global error handling in Flex

2009-03-06 Thread Kevin Fauth
Unfortunately no.  Take a look at http://bugs.adobe.com/jira/browse/FP-1499

--- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote:

 Is there a way to trap and handle any exceptions that a Flex app throws at a 
 global level? Thanks.