Re: [flexcoders] Signed RSL penetration

2009-04-22 Thread Steve Mathews
No offence was intended, I was trying to state that as a selling point. The
number of users who already have the SWZs should be icing, the real
substance should be the benifit to every user visiting your site/app.
Obviously if you only expect users to visit once or twice the benifit
doesn't work out.

The problem with Adobe including the files with the first install is that
there are new files for each update of the Flex Framework. I am currently on
my third set of SWZs in my production environment. I would like to see Adobe
host the files as an added benifit to using them.

I would also be interested in seeing some stats on the number of installed
players that have one or more SWZs cached as it would be additional info to
help sell the idea to clients.

Steve

On Tue, Apr 21, 2009 at 2:55 PM, Guy Morton g...@alchemy.com.au wrote:



 Yes, I know how it works...my point is that it's hard to sell to my current
 clients if for most it's going to translate into a bigger download for first
 time users.
 This is why stats as to how many users are likely to already have the
 different versions of the RSLs would be handy.

 I realise this is probably strategically sensitive for Adobe as they want
 to encourage use of RSLs as it improves the Flex download size story longer
 term.

 Someone made the suggestion somewhere that when users upgrade or install
 the player, Adobe ought to download and install all the current RSLs as
 well. That seems a very sensible idea to me.

 Even if they were a separate download available at the time (or available
 as a Flash player professional version) it would be better than forcing
 developers distributing apps to do it. We have app size as an imperative
 that we have to work with.

 Guy

  On 22/04/2009, at 4:19 AM, Steve Mathews wrote:



 It would only be bigger the first download (assuming the user has 9.0.115.0
 or later). After that it would be smaller each time.

 Steve

 On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton g...@alchemy.com.au wrote:



 Well...yes, it's great if I do it...for the community n'all...but my users
 *are* sensitive to the download size.
 If it were the same size either way, of course I would do it (as would
 everyone) but the fact that it's BIGGER as RSLs means I bet LOTS of
 developers DON'T do it, hence my question...

 Guy


  On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:





 On Tuesday 21 Apr 2009, g...@alchemy.com.au wrote:
  Maybe it's worth doing if 50%+ of users will get the benefit, but if
  only 10% will benefit it seems unlikely to be a way to increase the
  general happiness.

 I think you are looking at it wrong. Assuming 200k is nothing on a modern

 connection - I don't know anything about your users of course :-)
 With RSL you either load quicker (win) or have to download app+RSL (same
 as
 non-RSL), plus you have the benefit of making your (and others !) future
 RSL
 deployments more likely to be win.


 --
 Helping to synergistically streamline proactive cross-platform seamless
 ubiquitous interfaces as part of the IT team of the year, '09 and '08


 Tom Chiverton
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099
 tom.chiver...@halliwells.com tom.chiver...@halliwells.com
 3 Hardman Square, Manchester, M3 3EB
 www.Halliwells.com http://www.halliwells.com/

 

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

 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at 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.comhttp://www.halliwells.com/
 .











 



Re: [flexcoders] Signed RSL penetration

2009-04-22 Thread Matt Chotin
We're hosting the RSLs starting with Flex 4, you'll see them hosted in the 
public beta.

When we feel comfortable with the RSL penetration stats as far as being 
consistent and accurate and explainable we'll begin publishing them.

Matt


On 4/21/09 11:01 PM, Steve Mathews happy...@gmail.com wrote:






No offence was intended, I was trying to state that as a selling point. The 
number of users who already have the SWZs should be icing, the real substance 
should be the benifit to every user visiting your site/app. Obviously if you 
only expect users to visit once or twice the benifit doesn't work out.

The problem with Adobe including the files with the first install is that there 
are new files for each update of the Flex Framework. I am currently on my third 
set of SWZs in my production environment. I would like to see Adobe host the 
files as an added benifit to using them.

I would also be interested in seeing some stats on the number of installed 
players that have one or more SWZs cached as it would be additional info to 
help sell the idea to clients.

Steve

On Tue, Apr 21, 2009 at 2:55 PM, Guy Morton g...@alchemy.com.au wrote:


Yes, I know how it works...my point is that it's hard to sell to my current 
clients if for most it's going to translate into a bigger download for first 
time users.

This is why stats as to how many users are likely to already have the different 
versions of the RSLs would be handy.

I realise this is probably strategically sensitive for Adobe as they want to 
encourage use of RSLs as it improves the Flex download size story longer term.

Someone made the suggestion somewhere that when users upgrade or install the 
player, Adobe ought to download and install all the current RSLs as well. That 
seems a very sensible idea to me.

Even if they were a separate download available at the time (or available as a 
Flash player professional version) it would be better than forcing developers 
distributing apps to do it. We have app size as an imperative that we have to 
work with.

Guy

On 22/04/2009, at 4:19 AM, Steve Mathews wrote:




It would only be bigger the first download (assuming the user has 9.0.115.0 or 
later). After that it would be smaller each time.


Steve

On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton g...@alchemy.com.au wrote:


Well...yes, it's great if I do it...for the community n'all...but my users 
*are* sensitive to the download size.

If it were the same size either way, of course I would do it (as would 
everyone) but the fact that it's BIGGER as RSLs means I bet LOTS of developers 
DON'T do it, hence my question...

Guy


On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:






On Tuesday 21 Apr 2009, g...@alchemy.com.au wrote:
 Maybe it's worth doing if 50%+ of users will get the benefit, but if
 only 10% will benefit it seems unlikely to be a way to increase the
 general happiness.

I think you are looking at it wrong. Assuming 200k is nothing on a modern
connection - I don't know anything about your users of course :-)
With RSL you either load quicker (win) or have to download app+RSL (same as
non-RSL), plus you have the benefit of making your (and others !) future RSL
deployments more likely to be win.


--
Helping to synergistically streamline proactive cross-platform seamless
ubiquitous interfaces as part of the IT team of the year, '09 and '08


Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099
tom.chiver...@halliwells.com

3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com http://www.halliwells.com/


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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
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 
http://www.halliwells.com/ .

















RE: [flexcoders] Re: Accessibility stopped working

2009-04-22 Thread Alex Harui
Ok, I'm out of my area of knowledge.  I didn't even think we had good 
accessibility for mac.  Did we not ship the sources for mx.accessibility.*

I'm off duty for the night.  Hopefully you'll figure it out.

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 Guy Morton
Sent: Tuesday, April 21, 2009 10:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working





I'm developing on a mac. I tired restarting the computer anyway. :-)

How would I set a breakpoint in the accessibility classes?

Guy

On 22/04/2009, at 2:59 PM, Alex Harui wrote:




I guess you could set breakpoints to see if code in ! the accimpl classes is 
getting run.  When this happens, can you run some other Windows EXE that and 
use its accessibility features?  Did you try restarting the computer?

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: 
http://blogs.adobe.com/aharuihttp://blogs.adobe.c!%0d%0a%20om/aharu%0d%0ai

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Guy Morton
Sent: Tuesday, April 21, 2009 5:39 PM
To! : flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working






I have previously done a full clean and rebuild, and it made no difference.

The link report from a month ago shows the accessibility classes were being 
included at that time.


I just did a clean and build and generated a link repor! t...it h as entries 
like this:

script name=/Applications/Adobe Flex Builder 
3/sdks/3.1.0/frameworks/libs/framework.swc(mx/accessibility/AccImpl) 
mod=1214927782165 size=3103 optimizedsize=1768
  def id=mx.accessibility:AccImpl /
  pre id=flash.accessibility:AccessibilityImplementation /
  dep id=mx.core:mx_internal /
  dep id=flash.accessibility:Accessibi! lityProperties /
  dep ! id=mx.accessibility:UIComponentAccImpl /
  dep id=mx.core:UIComponent /
  dep id=flash.events:Event /
  dep id=AS3 /
  dep id=flash.accessibility:Accessibility /
/script

But still, no accessibility appears i! n the actual binary.


If I turn it off in the compiler, the link report doesn't have these entries, 
so it's clearly *trying* to include the accessibility features. They just 
aren't working.

This is very frustrating.

Guy


On 22/04/2009, at 9:38 AM, Alex Harui wrote:





Not sure.  Do a full clean and rebuild.  Generate a link-report and see if the 
accessibility classes are in the SWF


Alex Harui
Flex SDK Dev! eloper
A! dobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From:! nb sp;flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
Behalf Of Guy Morton
Sent: Tuesday, April 21, 2009 4:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working
Impor! tance: High







This is really annoying.

This happened to me back in January and now it has happened again.

I've followed all the advice in the previous posts to no avail.

Can someone from Adobe please throw me a clue here? Why would -accessible in 
the project properties suddenly stop working?

As you may have guessed, it has stopped working for me again. The cause is a 
complete mystery.


Guy


On 16/01/2009, at 12:49 PM, Guy Morton wrote:


!


And as mysteriously as it stopped working, it started working again *shrug*

Guy

On 16/01/2009, at 8:45 AM, Guy Morton wrote:





To answer your other question, I also wondered if it was my client, so have 
checked the binary in Safari, Firefox and Opera and all agree there is no 
accessibility!  on offer.


On 16/01! /2009, a t 4:21 AM, Anthony DeBonis wrote:





Try compiling with accessible turned off and get the ! swf size - when
y! ou turn accessible compile back on the swf size should be a bit
larger. This will tell you if the compile is backing in the needed
classes. If so it may be the client tool you're using to run the
application. Can you give more information?

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Guy 
Morton g...@... wrote:

 I had been successfully compiling my app via flexbuilder 3 using the
-
 accessible compiler flag. Then it stopped working, for no apparentn! bsp;!  
 rea son. I tried reinstalling fb but it made no difference. The
 compiler option is still set but now my app gets compiled with no
 accessibility features.

 Anyone got any ideas as to why this might have happened or how to
fix  it?
 Guy













Re: [flexcoders] Re: custom flex preloader - animation bugs

2009-04-22 Thread endrone endrone
I already set that property equal to the framerate of my swc, so that's not
the problem.

I know a little bit more about my problem.
If I load it for the first time, the animation runs smooth, thee's no
caching.
But the second time, it jumps immediately to 100%, the preloader doesn't
close yet,
but the animation bugs. It's like when the preloader is at 100% stuff, it
prepares to load the appliction and then the animation bugs.

just my thaught

regards

2009/4/20 carloscarvalhar carloscarval...@ig.com.br



 maybe you're having different fps in flex (24 i think) and in your animated
 swc
 you can set fps trough AS:
 yourLoadedSWF.stage.frameRate = 12;

 bye
 Carlos

  



RE: [flexcoders] Expiration date

2009-04-22 Thread Kenneth Sutherland
Depending on what your app does, restricting its use, for example
disable saving/loading/copying of text and similar are quite common
features to make users upgrade.

 

Or what you could do is put in some code on startup that sent a request
to your server to accept a response.  Only if the response was OK would
the app run and not exit.  That way your beta version would expire on a
set date and not from when a user had actually installed it.  You could
also use the auto-update feature of AIR for this, once you wish you app
to go from beta to release force the update on the user and then they
need to enter a license key which they will get from yourself.

 

Kenneth.

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of lehaianh1986
Sent: 22 April 2009 04:03
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Expiration date

 






Hi all, I have small AIR project, now it is beta version. I will send it
to some testers. So, I want to write some code to set expired date for
it. Example as set this soft to stop working 1 month from first use, or
set the number of using soft is 100 times.

Any one can guide me some steps to do it? Thank in advanced

Hai Anh



Disclaimer 
---
This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer. 
Registered in Scotland number: SC 172507. 
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. 

This email message has been scanned for viruses by Mimecast.
---

Re: [flexcoders] problem when execute on server.

2009-04-22 Thread Vikram Singh
Thanks for your quick response.

I have not put any crossdomain.xml on server. I really don't know about this 
file and functionality.
whats the main purpose of this file and what contains this files?

at which place(address) i have to put this file on server?




From: Tracy Spratt tr...@nts3rd.com
To: flexcoders@yahoogroups.com
Sent: Tuesday, 21 April, 2009 7:23:16 PM
Subject: RE: [flexcoders] problem when execute on server.





“works locally but not on the server”
usually means a security issue.  Do you have a crossdomain. xml file on the
server serving the data?
 
Tracy Spratt,
Lariat Services, development services
available


 
From:flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On 
Behalf Of Vikram Singh
Sent: Tuesday, April 21, 2009 7:44
AM
To: Flex Coders
Subject: [flexcoders] problem when
execute on server.
 




flex-amfphp application is working very fine on Localhost
but after putting this application code on server, not
working properly.
 
and it also not showing any error message. 
 
is there any special configuration between Flex and
amfphp.??
 




 
Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo!
Edition * Click
here!
   


  Bollywood news, movie reviews, film trailers and more! Go to 
http://in.movies.yahoo.com/

[flexcoders] Re: Flex Windows Not Loading Bug

2009-04-22 Thread edlueze
Hi Steve - everybody:

The FlexMDI definitely looks interesting! And I might take you up on your offer 
to pay you to take a look at our bug.

For everybody's benefit, I've put together a simple PowerPoint giving an 
example of the problem. You can view the PPT here:

http://www.onegen.com/download/FlexWindowNotLoadingBug001.ppt

Thanks really for all your time and help - this one's got us baffled!

Ted.

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 You may like to look at FlexMDI (Part of FlexLib) for your windowing 
 requirements. I use an older version extensively and have not seen anything 
 like what you are experiencing.
 
 
 Best Regards
 
 
 
 Steve
 
 PS. If you want to pay me to look at it I'll gladly do so ;-}
 
 
 --- In flexcoders@yahoogroups.com, edlueze edlueze@ wrote:
 
  Please help me fix a windowing integration bug in our Adobe Flex 
  application. I'd love some free advice, but we really need the problem 
  solved so we've also posted the question on rent-a-coder.
  
  All of our Flex windows (Application/Canvas/Panel/TitleWindow/etc) work 
  fine individually when running in a browser (Firefox and Internet 
  Explorer). Now we are trying to integrate all of the Windows together (less 
  than 100 in all) and we are observing some pretty bizarre behavior - 
  sometimes a window will load and other times the same window will not load. 
  But the problem is not intermittent - it happens very often and we can 
  usually force a window failure on demand.
  
  When the window does not load we observe the CPU usage in Task Manager 
  hitting the maximum, and we believe that the Flex Application has fallen 
  into an endless race condition in which it is constantly resizing the 
  components within the window (we randomly pause the application and usually 
  find the stack doing something like this). When this happens the window's 
  creationComplete event doesn't trigger and we cannot insert a breakpoint.
  
  We make heavy use of constraintRows and constraintColumns and we are 
  suspicious of them. We use a lot of Accordion's as well as the custom 
  HAccordion from Flexlib, but we've had trouble positively identifying them 
  as the culprit. Each window can get pretty buried in a deep hierarchy of 
  windows, but it is not always the deepest windows that will fail to load.
  
  We've also implemented a suspicious custom component early on to handle 
  system-wide ToolTips. It is old code and does some funky things, but when 
  we commented it out the behavior didn't dramatically improve.
  
  Our testing has been limited to the Debugger Flash Player, but we've tried 
  both debug and release versions of the application.
  
  I've combed Flexcoders and I've not come across anything like it. I'd love 
  to hear your ideas?!
 





Re: [flexcoders] Re: Problem using sdk version 3.3

2009-04-22 Thread Tom Chiverton
On Tuesday 21 Apr 2009, arieljake wrote:
 Thank you Tom, you really helped me a lot. I had to debug something and
 couldn't debug without that. Thanks.

Have you tried running 'dir' on the string you gave for the path, for 
instance ?

-- 
Helping to centrally implement efficient cutting-edge infrastructures as part 
of the IT team of the year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
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] Signed RSL penetration

2009-04-22 Thread Tom Chiverton
On Tuesday 21 Apr 2009, Matt Chotin wrote:
 mature internet market you should feel comfortable using the RSL.  In Flex
 4 we plan on making the RSL on by default as the Players capable of
 handling the RSL have reached over 95% penetration.

That, compared with the ace news that Adobe will be hosting RSLs (as the 
primary download location, or just as a fallback ?) for Flex 4 too, is worthy 
of a blog post|formal announcement on Adobe.com :-)
Maybe you have, and that's why Adode Feeds is off line :-)

-- 
Helping to carefully lead low-risk web-enabled industry-wide clusters as part 
of the IT team of the year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
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] Expiration date

2009-04-22 Thread Tom Chiverton
On Wednesday 22 Apr 2009, Steve Mathews wrote:
 Once time runs out just tell the user and exit. Of course the user could
 uninstall/reinstall to get around this, so it isn't a fool-proof solution.

Uninstalling an AIR application doesn't clear files it has installed, like 
SQLLite databases.

-- 
Helping to administratively conquer cross-platform exceptional clusters as 
part of the IT team of the year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
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] DataGrid Children Prevent Module Unload?

2009-04-22 Thread Battershall, Jeff
I'm using the profiler to get handle on what's causing a given module to
fail to unload and it appears that the datagrid is the culprit.
Specifically when the data grid is unpopulated, I can successfully
unload the module.  When it is populated, it won't.  I have the datagrid
bound to a local model object.  It appears that as soon as the datagrid
has children, the module won't unload completely.  

There must be some reference that the datagrid has that is causing this
- I am using some custom item renderers/editors.  Any advice greatly
appreciated.

Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battersh...@dowjones.com
(609) 520-5637 (p)
(484) 477-9900 (c)


Re: [flexcoders] Re: What's your favorite Tip/Trick ?

2009-04-22 Thread Brad Bueche
If you click the full screen option on the player (in screen) then it will
go full screen and you wont have to scroll around.   I always just click
full screen as a matter of habit so I was not aware of  the issue and didnt
think to point it out. sorry!

brad

On Tue, Apr 21, 2009 at 7:45 PM, Amy amyblankens...@bellsouth.net wrote:



 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 brad.bueche brad.bue...@... wrote:
 
 
  Finally found a link to that max session I was talking about:
 
 
 http://www.truveo.com/Advanced-Tips-and-Tricks-for-Flex-Builder-3-by/id/386457724

 Does anyone have a link to this where it's not in a window that makes you
 scroll around to see the whole thing?

 Thanks;

 Amy

  



Re: [flexcoders] DataGrid Children Prevent Module Unload?

2009-04-22 Thread Pedro Sena
Hi Jeff,

Do your renderers have some reference to module data?

How are your grid and your module related?

I think we need more info to help you.

Regards,

Pedro Sena

On Wed, Apr 22, 2009 at 9:03 AM, Battershall, Jeff 
jeff.battersh...@dowjones.com wrote:



 I'm using the profiler to get handle on what's causing a given module to
 fail to unload and it appears that the datagrid is the culprit.
 Specifically when the data grid is unpopulated, I can successfully
 unload the module. When it is populated, it won't. I have the datagrid
 bound to a local model object. It appears that as soon as the datagrid
 has children, the module won't unload completely.

 There must be some reference that the datagrid has that is causing this
 - I am using some custom item renderers/editors. Any advice greatly
 appreciated.

 Jeff Battershall
 Application Architect
 Dow Jones Indexes
 jeff.battersh...@dowjones.com jeff.battershall%40dowjones.com
 (609) 520-5637 (p)
 (484) 477-9900 (c)
  




-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*/


[flexcoders] RSL Linkage Error 1001 - Digest Mismatch? Umm....WHAT?

2009-04-22 Thread Adrian Williams

Hey Y'all,

   Ok, so I'm stumped...

   I update my FB SDK to 3.3 and now, when I run the compiled swf's, I 
get this error:


Flex Error #1001: Digest mismatch with RSL 
http://localhost/GAP-Pages/framework_3.0.0.477.swf. Redeploy the 
matching RSL or relink your application with the matching library.


   So, I understand (to a point) what the problem is...but I'm not sure 
how to fix it.  I can work around it by changing the Project - 
Properties - Flex Build Path - Library Path - Framework Linkage from 
Runtime shared library (RSL) to Merged into code.  But by doing 
this, then my .swf sizes get fugly and so it's not a viable solution for 
the long term.


   Can anyone explain to me exactly what I need to re-link to fix 
this problem?


Best,
Adrian


RE: [flexcoders] DataGrid Children Prevent Module Unload?

2009-04-22 Thread Battershall, Jeff
I've done a bit more research.  At this point it doesn't appear to be
the renderers - I took them out for testing and it looks like that the
way I'm injecting model objects into Module that might be at fault.
Right now, I've defined a model interface that I'm passing back to the
Commands inside of the Cairngorm events.  I'm kind of hacking my way
through this.  
 
Driving me crazy, though.  Shouldn't be rocket science to unload a
freakin' module.
 
Jeff

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcod...@yahoogroups.com] On Behalf Of Pedro Sena
Sent: Wednesday, April 22, 2009 9:04 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataGrid Children Prevent Module
Unload?




Hi Jeff,

Do your renderers have some reference to module data?

How are your grid and your module related?

I think we need more info to help you.

Regards,

Pedro Sena


On Wed, Apr 22, 2009 at 9:03 AM, Battershall, Jeff
jeff.battersh...@dowjones.com wrote:




I'm using the profiler to get handle on what's causing a
given module to
fail to unload and it appears that the datagrid is the
culprit.
Specifically when the data grid is unpopulated, I can
successfully
unload the module. When it is populated, it won't. I
have the datagrid
bound to a local model object. It appears that as soon
as the datagrid
has children, the module won't unload completely. 

There must be some reference that the datagrid has that
is causing this
- I am using some custom item renderers/editors. Any
advice greatly
appreciated.

Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battersh...@dowjones.com
mailto:jeff.battershall%40dowjones.com 
(609) 520-5637 (p)
(484) 477-9900 (c)





-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer 
* Sun Certified Web Component Developer
*/







Re: [flexcoders] SOLVED (sort of) - RSL Linkage Error 1001 - Digest Mismatch? Umm....WHAT?

2009-04-22 Thread Adrian Williams
Ok, so I tried a couple more things and found what appears to have 
cleaned up the problem.  I ended up doing a project - clean which went 
thru and rebuilt the entire project and...wellcleaned up the 
references (??). This appears to have fixed the digest mismatch and 
compiling with the RSL's works again!  WOOT!


-aw

Adrian Williams wrote:



Hey Y'all,

Ok, so I'm stumped...

I update my FB SDK to 3.3 and now, when I run the compiled swf's, 
I get this error:


Flex Error #1001: Digest mismatch with RSL 
http://localhost/GAP-Pages/framework_3.0.0.477.swf. Redeploy the 
matching RSL or relink your application with the matching library.


So, I understand (to a point) what the problem is...but I'm not 
sure how to fix it.  I can work around it by changing the Project - 
Properties - Flex Build Path - Library Path - Framework Linkage 
from Runtime shared library (RSL) to Merged into code.  But by 
doing this, then my .swf sizes get fugly and so it's not a viable 
solution for the long term.


Can anyone explain to me exactly what I need to re-link to fix 
this problem?


Best,
Adrian




Re: [flexcoders] DataGrid Children Prevent Module Unload?

2009-04-22 Thread Pedro Sena
Hmmm,

If you are using Cairngorm + Modules take a look at Modular

http://lab.arc90.com/2007/10/modular_1.php

This problem is not the only one that you will face when working with
Cairngorm + Modules, trust me

HTH,

Pedro Sena

On Wed, Apr 22, 2009 at 10:32 AM, Battershall, Jeff 
jeff.battersh...@dowjones.com wrote:



  I've done a bit more research.  At this point it doesn't appear to be the
 renderers - I took them out for testing and it looks like that the way I'm
 injecting model objects into Module that might be at fault.  Right now, I've
 defined a model interface that I'm passing back to the Commands inside of
 the Cairngorm events.  I'm kind of hacking my way through this.

 Driving me crazy, though.  Shouldn't be rocket science to unload a freakin'
 module.

 Jeff

  -Original Message-
 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Pedro Sena
 *Sent:* Wednesday, April 22, 2009 9:04 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] DataGrid Children Prevent Module Unload?

 Hi Jeff,

 Do your renderers have some reference to module data?

 How are your grid and your module related?

 I think we need more info to help you.

 Regards,

 Pedro Sena

 On Wed, Apr 22, 2009 at 9:03 AM, Battershall, Jeff 
 jeff.battersh...@dowjones.com wrote:



 I'm using the profiler to get handle on what's causing a given module to
 fail to unload and it appears that the datagrid is the culprit.
 Specifically when the data grid is unpopulated, I can successfully
 unload the module. When it is populated, it won't. I have the datagrid
 bound to a local model object. It appears that as soon as the datagrid
 has children, the module won't unload completely.

 There must be some reference that the datagrid has that is causing this
 - I am using some custom item renderers/editors. Any advice greatly
 appreciated.

 Jeff Battershall
 Application Architect
 Dow Jones Indexes
 jeff.battersh...@dowjones.com jeff.battershall%40dowjones.com
 (609) 520-5637 (p)
 (484) 477-9900 (c)




 --
 /**
 * Pedro Sena
 * Systems Architect
 * Sun Certified Java Programmer
 * Sun Certified Web Component Developer
 */

  




-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*/


RE: [flexcoders] DataGrid Children Prevent Module Unload?

2009-04-22 Thread Battershall, Jeff
Thanks Pedro,
 
In my AIR app, the user can logout and login, with the available modules
being tied to their profile. If I were to shut the app down on logout,
all my problems would be solvied, because we'd be starting from scratch.
But that seems less than terrific user experience so I'm trying to hit
the holy grail of all modules unloaded on logout, with the app still
running.  
 
Problem is, of course, that when something prevents the module unload,
the app springs a memory leak.   I had thought that injecting the model
into the module was the solution, by creating an interface for modules.
This was based upon a presentation by Borre Wessel
(http://blogs.adobe.com/borre/Modularizing_Flex_Cairngorm_and_Modules.pd
f).  However, I must not be following his advice in some fashion,
because what I'm doing isn't working.  My module's model needs to be
strongly typed in order to set up the necessary bindings between the
model and the components, but the interface to inject the model would be
via interface.  The question becomes exactly how do you update the model
when you retrieve data via Delegate?  I have tried passing a weak
reference to the module's model in my Caringorm event classes and then
casting it as the strong typed local version the module requires, but no
dice so far. 
 
Jeff

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcod...@yahoogroups.com] On Behalf Of Pedro Sena
Sent: Wednesday, April 22, 2009 9:57 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataGrid Children Prevent Module
Unload?




Hmmm,

If you are using Cairngorm + Modules take a look at Modular

http://lab.arc90.com/2007/10/modular_1.php

This problem is not the only one that you will face when working
with Cairngorm + Modules, trust me

HTH,

Pedro Sena


On Wed, Apr 22, 2009 at 10:32 AM, Battershall, Jeff
jeff.battersh...@dowjones.com wrote:






I've done a bit more research.  At this point it doesn't
appear to be the renderers - I took them out for testing and it looks
like that the way I'm injecting model objects into Module that might be
at fault.  Right now, I've defined a model interface that I'm passing
back to the Commands inside of the Cairngorm events.  I'm kind of
hacking my way through this.  
 
Driving me crazy, though.  Shouldn't be rocket science
to unload a freakin' module.
 
Jeff

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcod...@yahoogroups.com] On Behalf Of Pedro Sena
Sent: Wednesday, April 22, 2009 9:04 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataGrid Children
Prevent Module Unload?


Hi Jeff,

Do your renderers have some reference to module
data?

How are your grid and your module related?

I think we need more info to help you.

Regards,

Pedro Sena


On Wed, Apr 22, 2009 at 9:03 AM, Battershall,
Jeff jeff.battersh...@dowjones.com wrote:




I'm using the profiler to get handle on
what's causing a given module to
fail to unload and it appears that the
datagrid is the culprit.
Specifically when the data grid is
unpopulated, I can successfully
unload the module. When it is populated,
it won't. I have the datagrid
bound to a local model object. It
appears that as soon as the datagrid
has children, the module won't unload
completely. 

There must be some reference that the
datagrid has that is causing this
- I am using some custom item
renderers/editors. Any advice greatly
appreciated.

Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battersh...@dowjones.com
mailto:jeff.battershall%40dowjones.com 
(609) 520-5637 (p)
(484) 477-9900 (c)





 

Re: [flexcoders] Red border for obligatory fields

2009-04-22 Thread Tom Chiverton
On Tuesday 21 Apr 2009, christophe_jacquelin wrote:
 How to have a red border on a TextInput of an obligatory field in a form
 item. Since required=true is not an attribute of TextInput.

Create a style and use styleName instead.

-- 
Helping to synergistically e-enable customers as part of the IT team of the 
year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
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: CakePHP+CakeAMFPHP vs WebORB dialema

2009-04-22 Thread raja_s_patil
Thanks Steve,


 Actually, WebORB includes a lot of examples including CRUD.
 
 Once you download and install WebORB on your server, just navigate to
 
 http://yourserver/LocationYouInstalledWebORB/
 
 This should bring up the console. Click on the Examples tab and then click on 
 the tree dropdowns - there are a lot of examples.
 

Well, Today I spent almost 1/2 day with Management Console to
get acquainted with webORB. It seems to be promising to me.
The part leftout was database application I could just see through
WDMF. I could see only MySQL and MS-SQL there for code generation.
Do you know whether Firebird, PostgreSQL and Oracle are supported ?
Which database abstraction Layer they adopt. Is it AdoDB ?
Can I Add these three to management console for code generation ?

Thanks and Best Regards

Raja
  



[flexcoders] maxWidth property not working on Advanced DataGrid

2009-04-22 Thread labosox
Hello,

I am trying to create a grid that will update its size on a column resize 
event. I want the grid to keep getting large until they hit a max width then 
turn on a horizontal scroll bar. 

Everything seems to work fine unless I have a vertical scroll bar present in 
the grid. When I try to re-size a column the datagrid adds a horizontal scroll 
bar automatically. 

Heres my code:

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
 creationComplete=initApp() viewSourceURL=srcview/index.html
mx:Script
![CDATA[
import  mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;
import 
mx.controls.advancedDataGridClasses.AdvancedDataGridRendererProvider;
import mx.events.IndexChangedEvent;
import mx.events.ResizeEvent;
import mx.collections.IViewCursor;
import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;
import mx.events.DataGridEvent;
import mx.events.AdvancedDataGridEvent;
import mx.controls.dataGridClasses.DataGridColumn;
import mx.managers.CursorManager;
public var bDummy:Boolean = false;

[Bindable]
private var itemAC:ArrayCollection;

private function initApp():void{

dg.maxWidth = stuff.width; 
dg.addEventListener(AdvancedDataGridEvent.COLUMN_STRETCH, 
resizeCol);
}

private function resizeCol(event:AdvancedDataGridEvent):void
{
var _colIndex:Number = event.columnIndex;
var width:Number;

for(var i:int = 0; i = dg.columns.length - 1; i++)
{
width += dg.columns[i].width;
} 

dg.width = width;

//ive tried to add 18 here to handle the scroll bar   but then 
the maxWidth
//is ignored and the grid keeps resizing outside of its maxWidth

}

]]
/mx:Script
mx:Array id=arr
mx:Object name=Redsox quanity=10 cost=1000/
mx:Object name=Rays quanity=11 cost=500/
mx:Object name=Yankees quanity=20 cost=2000/
/mx:Array
mx:Canvas width=500 height=45%  backgroundColor=red horizontalCenter=0
 verticalCenter=-65 id=stuff verticalScrollPolicy=off 
horizontalScrollPolicy=off
mx:AdvancedDataGrid width=318 height=80 id=dg horizontalCenter=0 
dataProvider={arr}
horizontalScrollPolicy=auto 
mx:columns
mx:AdvancedDataGridColumn width=100 headerText=name 
dataField=name/
mx:AdvancedDataGridColumn width=100 headerText=quanity 
dataField=quanity/
mx:AdvancedDataGridColumn width=100 headerText=cost 
dataField=cost/
/mx:columns
/mx:AdvancedDataGrid
/mx:Canvas
   
/mx:Application



[flexcoders] Adobe Strobe Project

2009-04-22 Thread oneworld95
This project looks promising; wonder how it will affect Flex development: 
http://www.eweek.com/c/a/Application-Development/Adobe-Delivers-New-Content-Creation-Delivery-and-Playback-Technologies-at-NAB-2009-267323/



RE: [flexcoders] Re: Accessibility stopped working

2009-04-22 Thread Maciek Sakrejda
Yep, the sources are there--Gordon, you can set up a Flex library
project for the sdk ($FLEX_HOME/frameworks/projects/framework/src).

You then need to associate it with your project. I'm not sure if there's
a config-based way to do this--I just always stop at a breakpoint in my
code, try to step into framework code, and then FlexBuilder will tell me
it doesn't have source and prompt me to add it.

You'll want to set a breakpoint in the appropriate mx.accessibility.*
class (and if that doesn't work, you'll probably want to confirm that
your framework breakpoints are working by breaking on something like
UIComponent createChildren() or something).

-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: Alex Harui aha...@adobe.com
Reply-to: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Accessibility stopped working
Date: Tue, 21 Apr 2009 23:14:41 -0700



Ok, I’m out of my area of knowledge.  I didn’t even think we had good
accessibility for mac.  Did we not ship the sources for
mx.accessibility.*

 

I’m off duty for the night.  Hopefully you’ll figure it out.

 

Alex Harui

Flex SDK Developer

Adobe Systems Inc.

Blog: http://blogs.adobe.com/aharui


 

From:flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Guy Morton
Sent: Tuesday, April 21, 2009 10:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working


 




I'm developing on a mac. I tired restarting the computer anyway. :-)

 


How would I set a breakpoint in the accessibility classes?


 


Guy


 

On 22/04/2009, at 2:59 PM, Alex Harui wrote:




 

 


I guess you could set breakpoints to see if code in ! the accimpl
classes is getting run.  When this happens, can you run some other
Windows EXE that and use its accessibility features?  Did you try
restarting the computer?

 

Alex Harui

Flex SDK Developer

Adobe Systems Inc.

Blog: http://blogs.adobe.com/aharui


 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Guy Morton
Sent: Tuesday, April 21, 2009 5:39 PM
To! : flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working


 





I have previously done a full clean and rebuild, and it made no
difference.

 

The link report from a month ago shows the accessibility classes were
being included at that time.


 


I just did a clean and build and generated a link repor! t...it h as
entries like this:


 


script name=/Applications/Adobe Flex Builder
3/sdks/3.1.0/frameworks/libs/framework.swc(mx/accessibility/AccImpl)
mod=1214927782165 size=3103 optimizedsize=1768


  def id=mx.accessibility:AccImpl /


  pre id=flash.accessibility:AccessibilityImplementation /


  dep id=mx.core:mx_internal /


  dep id=flash.accessibility:Accessibi! lityProperties /


  dep ! id=mx.accessibility:UIComponentAccImpl /


  dep id=mx.core:UIComponent /


  dep id=flash.events:Event /


  dep id=AS3 /


  dep id=flash.accessibility:Accessibility /


/script


 


But still, no accessibility appears i! n the actual binary.


 


If I turn it off in the compiler, the link report doesn't have these
entries, so it's clearly *trying* to include the accessibility features.
They just aren't working.


 


This is very frustrating.


 


Guy


 


 


On 22/04/2009, at 9:38 AM, Alex Harui wrote:





 

 


Not sure.  Do a full clean and rebuild.  Generate a link-report and see
if the accessibility classes are in the SWF

 

Alex Harui

Flex SDK Dev! eloper

A! dobe Systems Inc.

Blog: http://blogs.adobe.com/aharui


 

From:! nb sp;flexcoders@yahoogroups.com
[mailto:flexcod...@yahoogroups.com] On Behalf Of Guy Morton
Sent: Tuesday, April 21, 2009 4:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working
Impor! tance: High


 






This is really annoying.

 


This happened to me back in January and now it has happened again.


 


I've followed all the advice in the previous posts to no avail.


 


Can someone from Adobe please throw me a clue here? Why would
-accessible in the project properties suddenly stop working?


 


As you may have guessed, it has stopped working for me again. The cause
is a complete mystery.


  


Guy


 


 

On 16/01/2009, at 12:49 PM, Guy Morton wrote:




! 



And as mysteriously as it stopped working, it started working again
*shrug*

 


Guy 


 

On 16/01/2009, at 8:45 AM, Guy Morton wrote:






To answer your other question, I also wondered if it was my client, so
have checked the binary in Safari, Firefox and Opera and all agree there
is no accessibility!  on offer.

 


 

On 16/01! /2009, a t 4:21 AM, Anthony DeBonis wrote:






Try compiling with accessible turned off and get the ! swf size - when 
y! ou turn accessible compile back on the swf size should be a bit 
larger. This will tell you if the compile 

[flexcoders] Creation Policy is not honoured when ViewStack is used in Popup

2009-04-22 Thread ilikeflex
Hi

I am using the viewstack in PopUp. The problem i am facing is that all the 
views inside viewstack gets their CreationComplete called when the popup is 
created. Please see the attached sample code.Is their any way to avoid this? I 
want that only selected view creationcomplete is called and not for other views.


Save File as TestViewStack.mxml
?xml version=1.0 encoding=utf-8?
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=400 height=300
mx:Script
![CDATA[
import mx.controls.Alert;
]]
/mx:Script
!-- Define the ViewStack and the three child containers and have it
resize up to the size of the container for the buttons. --
mx:ViewStack id=myViewStack borderStyle=solid width=100% 
height=80%

mx:Canvas id=search creationComplete={Alert.show('search')} 
backgroundColor=#CC label=Search width=100% height=100%
mx:Label text=Search Screen color=#00/
/mx:Canvas

mx:Canvas id=custInfo 
creationComplete={Alert.show('custInfo')} backgroundColor=#CC 
label=Customer Info width=100% height=100%
mx:Label text=Customer Info color=#00/
/mx:Canvas

mx:Canvas id=accountInfo 
creationComplete={Alert.show('accountInfo')} backgroundColor=#FFCCFF 
label=Account Info width=100% height=100%
mx:Label text=Account Info color=#00/
/mx:Canvas
/mx:ViewStack
/mx:Canvas

Save File as testProject.mxml

?xml version=1.0?
!-- Simple example to demonstrate the ViewStack layout container. --
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 mx:Script
![CDATA[
import mx.managers.PopUpManager;
import mx.controls.Alert;

public function onTestClick():void
{
var view:TestViewStack = 
PopUpManager.createPopUp(this,TestViewStack) as TestViewStack;
PopUpManager.centerPopUp(view);
}
]]
 /mx:Script

 mx:Panel title=ViewStack Container Example height=95% width=95% 
 paddingTop=10 paddingLeft=10 paddingRight=10 paddingBottom=10

mx:Text width=100% color=blue
text=Use the Button controls to change panels of the ViewStack 
container./

mx:Button label=Test click=onTestClick()/



/mx:Panel
/mx:Application




[flexcoders] Re: Flash player 10 Debug not recognized in FB3

2009-04-22 Thread Jason
 Every version has both debugger and release binaries.  Somehow the release 
 binaries are installed.
 
 Alex Harui

OK, thanks, but not really sure what that means or what to do with that 
information. Do you mean I have both the normal Flash player 10 installed as 
well as the debugger version of Flash 10?  I have run the adobe uninstaller and 
then re-installed with no luck.  

Jason





Re: [flexcoders] Signed RSL penetration

2009-04-22 Thread Steve Mathews
Fantastic!

On Tue, Apr 21, 2009 at 11:10 PM, Matt Chotin mcho...@adobe.com wrote:



 We’re hosting the RSLs starting with Flex 4, you’ll see them hosted in the
 public beta.

 When we feel comfortable with the RSL penetration stats as far as being
 consistent and accurate and explainable we’ll begin publishing them.

 Matt


 On 4/21/09 11:01 PM, Steve Mathews happy...@gmail.com wrote:






 No offence was intended, I was trying to state that as a selling point. The
 number of users who already have the SWZs should be icing, the real
 substance should be the benifit to every user visiting your site/app.
 Obviously if you only expect users to visit once or twice the benifit
 doesn't work out.

 The problem with Adobe including the files with the first install is that
 there are new files for each update of the Flex Framework. I am currently on
 my third set of SWZs in my production environment. I would like to see Adobe
 host the files as an added benifit to using them.

 I would also be interested in seeing some stats on the number of installed
 players that have one or more SWZs cached as it would be additional info to
 help sell the idea to clients.

 Steve

 On Tue, Apr 21, 2009 at 2:55 PM, Guy Morton g...@alchemy.com.au wrote:



 Yes, I know how it works...my point is that it's hard to sell to my current
 clients if for most it's going to translate into a bigger download for first
 time users.

 This is why stats as to how many users are likely to already have the
 different versions of the RSLs would be handy.

 I realise this is probably strategically sensitive for Adobe as they want
 to encourage use of RSLs as it improves the Flex download size story longer
 term.

 Someone made the suggestion somewhere that when users upgrade or install
 the player, Adobe ought to download and install all the current RSLs as
 well. That seems a very sensible idea to me.

 Even if they were a separate download available at the time (or available
 as a Flash player professional version) it would be better than forcing
 developers distributing apps to do it. We have app size as an imperative
 that we have to work with.

 Guy

 On 22/04/2009, at 4:19 AM, Steve Mathews wrote:




 It would only be bigger the first download (assuming the user has 9.0.115.0
 or later). After that it would be smaller each time.


 Steve

 On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton g...@alchemy.com.au wrote:



 Well...yes, it's great if I do it...for the community n'all...but my users
 *are* sensitive to the download size.

 If it were the same size either way, of course I would do it (as would
 everyone) but the fact that it's BIGGER as RSLs means I bet LOTS of
 developers DON'T do it, hence my question...

 Guy


 On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:






 On Tuesday 21 Apr 2009, g...@alchemy.com.au wrote:
  Maybe it's worth doing if 50%+ of users will get the benefit, but if
  only 10% will benefit it seems unlikely to be a way to increase the
  general happiness.

 I think you are looking at it wrong. Assuming 200k is nothing on a modern
 connection - I don't know anything about your users of course :-)
 With RSL you either load quicker (win) or have to download app+RSL (same
 as
 non-RSL), plus you have the benefit of making your (and others !) future
 RSL
 deployments more likely to be win.


 --
 Helping to synergistically streamline proactive cross-platform seamless
 ubiquitous interfaces as part of the IT team of the year, '09 and '08


 *Tom Chiverton
 *
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099
 tom.chiver...@halliwells.com

 3 Hardman Square, Manchester, M3 3EB
 *www.Halliwells.com http://www.halliwells.com/
 *

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

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 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 
 http://www.halliwells.com/ *.

















 




[flexcoders] Re: Flex 4, Gumbo - Could not resolve Application to a component implementation.

2009-04-22 Thread Baz
In case anyone has the same issue, I kind'of got things working by providing
these namespaces:

?xml version=1.0 encoding=utf-8?
fx:Application
xmlns=http://ns.adobe.com/mxml/2009;
xmlns:fx=library://ns.adobe.com/flex/spark
xmlns:mx=library://ns.adobe.com/flex/halo

mx:VBox
fx:Button label=Gumbo Button/
mx:Button label=Halo Button /

   fx:ButtonBar id=orangeToggleBar requiresSelection=true
fx:dataProvider
fx:ArrayCollection source=[Flash, Director, Catalyst,
ColdFusion] /
/fx:dataProvider
/fx:ButtonBar
/mx:VBox
/fx:Application

Good luck!


On Mon, Apr 20, 2009 at 1:44 PM, Baz thinkl...@gmail.com wrote:

 Is it possible that it the problem is linux related? What paths are
 supposed to be in xmlns:mx=library:adobe/flex/halo or
 xmlns:gumbo=library:adobe/flex/gumbo?

 Cheers.



 On Mon, Apr 20, 2009 at 8:08 AM, Baz thinkl...@gmail.com wrote:

 I am testing out Flex 4 (Gumbo) but I am receiving the error Could not
 resolve Application to a component implementation.

 I added the SDK to my project and I also pointed the source to the
 flex4.swc. Here, is my sample app that's generating the error, any ideas?

 ?xml version=1.0 encoding=utf-8?
 Application
 xmlns:mx=library:adobe/flex/halo
 xmlns=http://ns.adobe.com/mxml/2009;
 xmlns:gumbo=library:adobe/flex/gumbo


 !-- Flex 4 Hello World with FXG --
 mx:Canvas top=0 bottom=0 left=0 right=0
 Group verticalCenter=0 horizontalCenter=0
 TextGraphic fontFamily=Verdana fontWeight=bold
 contentHello, World/content
 /TextGraphic
 /Group
 /mx:Canvas

 /Application

 Thanks,
 Baz





[flexcoders] Re: FileStream.truncate() doesn’t work after calling FileStream.readUTFBytes()

2009-04-22 Thread skuteboarding
Anyone got any ideas? The only thing I can think of currently is opening the 
file for read, then closing the file, then re-opening for write. It's horrible 
and hacky, but right now I'm out of suggestions.

Mark

--- In flexcoders@yahoogroups.com, skuteboarding m...@... wrote:

 Hi,
 
 I'm trying to read an xml file into memory, add a node, then write over the 
 original file.
 
 The following code works just fine (it clears the file, then writes the new 
 bytes over the top):
 
 var stream:FileStream = new FileStream();
 stream.open(file, FileMode.UPDATE);
 stream.position = 0;
 stream.truncate();
 stream.writeUTFBytes(?xml version=\1.0\ encoding=\UTF-8\?);
 stream.writeUTFBytes(File.lineEnding);
 stream.writeUTFBytes(xml.toXMLString());
 stream.close();
 
 However, if I attempt to perform a read after the file has opened, the 
 position / truncate calls don't work:
 
 var stream:FileStream = new FileStream();
 stream.open(file, FileMode.UPDATE);
 
 var xml:XML = XML(stream.readUTFBytes(stream.bytesAvailable));
 
 // Modify xml here
 
 stream.position = 0;
 stream.truncate();
 stream.writeUTFBytes(?xml version=\1.0\ encoding=\UTF-8\?);
 stream.writeUTFBytes(File.lineEnding);
 stream.writeUTFBytes(xml.toXMLString());
 stream.close();
 
 Does anyone have any ideas why this doesn't work?
 
 If you examine the stream, in the first code, after the call to truncate(), 
 the bytesAvailable property will read 0. But in the second code, the 
 bytesAvailable won't change (it will show the current file size).
 
 Any ideas?
 
 Mark





Re: [flexcoders] Re: Flash player 10 Debug not recognized in FB3

2009-04-22 Thread mark . jonkman
Hi Jason 

Sorry I don't have access to the full thread at the moment so pardon me if most 
of my suggestions have already been tried or are irrelevant. 

You would need to run the adobe uninstaller for the Flash plugin and then run 
the appropriate installer for the debug player installer (not the web 
installer). Though I've been successful in running just the debug installer and 
having it overwrite previous installs but I like cleanliness of doing an 
uninstall first. 

For FB3 you also need to make sure that you have I believe FB 3.0.2 in order to 
use FP 10 Debug player properly. Less then that and I was getting a ton 
warnings about not having the debug player. I still occasionally getting FB 3 
reporting back that I don't have a debug player and then totally crashing the 
browser it launched - up to 2 or 3 times a day (Windows IE7, FP 10,0,22,87 
Debug player - FB 3.0.2). Not sure if it will update to 3.0.2 by using the Help 
- Search for Flex Builder Updates which invokes the adobe updates system that 
updates all adobe software (which I find very annoying) or whether you have to 
download a separate updater from Adobe. 

Flash and I believe Flex Builder also include a folder that contains the both 
the debug and release players so that you have both binaries available. But I 
can't say that they aren't always in synch with the latest debug players that 
you can find on Adobe's site if you search for the latest debug players. 

Sincerely 
Mark R. Jonkman 

- Original Message - 
From: Jason jason.merr...@bankofamerica.com 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, April 22, 2009 9:26:53 AM GMT -05:00 US/Canada Eastern 
Subject: [flexcoders] Re: Flash player 10 Debug not recognized in FB3 

 Every version has both debugger and release binaries. Somehow the release 
 binaries are installed. 
 
 Alex Harui 

OK, thanks, but not really sure what that means or what to do with that 
information. Do you mean I have both the normal Flash player 10 installed as 
well as the debugger version of Flash 10? I have run the adobe uninstaller and 
then re-installed with no luck. 

Jason 





 

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





[flexcoders] Re: Violated by Sandbox

2009-04-22 Thread jdizowat
I was still getting the error even though I changed the HTTPService url back to 
src/pods.xml.  

Error #2148: SWF file cannot access local resource data/pods.xml. Only 
local-with-filesystem and trusted local SWF files may access local resources.

I fixed this by adding my Flex Builder 3 folder to the flash security trusted 
locations.  This was working yesterday so I'm not sure why I had to do that.

Thanks for the help.  



[flexcoders] blazeds and J2EE application

2009-04-22 Thread hworke

 Hello Devs,

 I am working to integrate BlazeDs with an existing J2EE application.
 What I am trying to do is create an administrative flex app where the
 admin can see what changes are happening in the J2EE app. I need
 to call some of the J2EE app APIs to get the data and pass it to the
 Flex application. I believe that I need to write some server side Java
 code and call the API and then connect those Java code with BlazeDs.

 Now my question is how do I integrate Blazeds with an existing J2EE
 app? Please suggest.

 Regards...



[flexcoders] SWFloader source application error handling

2009-04-22 Thread ukarick
There's some problem I face on my Flex/Air Development which cause chaos on me,
1. Suppose that I've SWFLoader which loaded 'test.swf' but there's some error 
inside 'test.swf' when it change it's tab 
2.when this 'test.swf' shows on SWFLoader and clicking on tab change errors 
shows.
3.What I really want is how can we handling this error for application which 
loaded inside SWFloader ( The reason 's I cannot touch test.swf file)

Thanks for all helps



[flexcoders] Reload SWFLoader please help!

2009-04-22 Thread ukarick
1.Suppose that I've to reload test.swf(which develped by flex) inside SWFLoader 
then I change it's tab to second tab.

2.I really want to reload test.swf to change test.swf into initial state.

3.I've tried swfloader.load('test.swf') It's work but seems memory's leaking.

So anyone got any idea about this? just like remember SWFloader state then 
reverse it back or reload swfloader without leaking?  



[flexcoders] Stop sending data on socket aftter flush()

2009-04-22 Thread rangyjohn
Is it possible? I tried with close() method and tested with wireshark but it 
continue sending data.

Thanks!



[flexcoders] Polygon Flex Component

2009-04-22 Thread sbaush09
Hi all!
I'm searching for a Polygon MXML component; I would a component that draw a 
simple polygon and a slider that set from UI the number of facets. 

Does it exist?

Thanks!

Marco.
 



[flexcoders] Plug-in Based application like Eclipse RCP in Flex/AIR

2009-04-22 Thread Parjan Arjan




Hello All,

 I am java developer I
mostly work on Eclipse RCP (Rich Client Platform Application) using SWT.



I am not an experienced Flex/AIR developer. I just wanted to create
Plug-in based application Like eclipse RCP in Flex/AIR so can anyone guide me 
does
Flex/AIR support Plug-in based applications like Eclipse RCP does support 
flex/AIR
“Extensions points” etc? Or is there any alternative solution in Flex/AIR to
create Plug-in based application.


Please do help me related to this issue I will be thankful
to all of you if you send me some useful links or tutorials.

 

Thanks in Advance.

Parkash.

 

 




  

[flexcoders] Re: Problem using sdk version 3.3

2009-04-22 Thread arieljake
LOL. This is already fixed. I got it right away after your previous post. No 
really, thanks Tom. :)



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

 On Tuesday 21 Apr 2009, arieljake wrote:
  Thank you Tom, you really helped me a lot. I had to debug something and
  couldn't debug without that. Thanks.
 
 Have you tried running 'dir' on the string you gave for the path, for 
 instance ?
 
 -- 
 Helping to centrally implement efficient cutting-edge infrastructures as part 
 of the IT team of the year, '09 and '08
 
 Tom Chiverton
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099 
 tom.chiver...@...
 3 Hardman Square, Manchester, M3 3EB
 www.Halliwells.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 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] how to compare dates?

2009-04-22 Thread markflex2007
Hi,

I have two mx:DateField fields that are start date and end date.and I need 
validate to see if the end date  = start date.

I do not know how to compare the two date fields.

Please help me.

Thanks


MK



[flexcoders] Re: how to compare dates?

2009-04-22 Thread ilikeflex

ObjectUtil.compareDates


Please check the method name in ObjectUtil class.

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

 Hi,
 
 I have two mx:DateField fields that are start date and end date.and I need 
 validate to see if the end date  = start date.
 
 I do not know how to compare the two date fields.
 
 Please help me.
 
 Thanks
 
 
 MK





[flexcoders] Re: Flash player 10 Debug not recognized in FB3

2009-04-22 Thread valdhor
No. There are two Types of Flash Player - the standard Flash Player and the 
debug Flash player. Both will have the same version number.

In your case you have version 10.0.22.87 of the standard Flash Player. What you 
want is version 10.0.22.87 of the debug Flash Player.

Go to http://www.adobe.com/support/flashplayer/downloads.html to find the 
correct download.


HTH



Steve



--- In flexcoders@yahoogroups.com, Jason jason.merr...@... wrote:

  Every version has both debugger and release binaries.  Somehow the release 
  binaries are installed.
  
  Alex Harui
 
 OK, thanks, but not really sure what that means or what to do with that 
 information. Do you mean I have both the normal Flash player 10 installed 
 as well as the debugger version of Flash 10?  I have run the adobe 
 uninstaller and then re-installed with no luck.  
 
 Jason





[flexcoders] Re: CakePHP+CakeAMFPHP vs WebORB dialema

2009-04-22 Thread valdhor
AFAIK no - They give you enough to get going but any further is up to your own 
development efforts. There should be no reason you can't add to the console for 
code generation.

In my case, I did not use any of the examples or code generation - I just built 
everything from scratch.


Steve


--- In flexcoders@yahoogroups.com, raja_s_patil kpr.rspa...@... wrote:

 Thanks Steve,
 
 
  Actually, WebORB includes a lot of examples including CRUD.
  
  Once you download and install WebORB on your server, just navigate to
  
  http://yourserver/LocationYouInstalledWebORB/
  
  This should bring up the console. Click on the Examples tab and then click 
  on the tree dropdowns - there are a lot of examples.
  
 
 Well, Today I spent almost 1/2 day with Management Console to
 get acquainted with webORB. It seems to be promising to me.
 The part leftout was database application I could just see through
 WDMF. I could see only MySQL and MS-SQL there for code generation.
 Do you know whether Firebird, PostgreSQL and Oracle are supported ?
 Which database abstraction Layer they adopt. Is it AdoDB ?
 Can I Add these three to management console for code generation ?
 
 Thanks and Best Regards
 
 Raja





[flexcoders] Re: Flex Windows Not Loading Bug

2009-04-22 Thread valdhor
It looks as though it is not a true window.

I don't think I would have done it the way you have (But who am I to tell you 
how to do something ;-).

Does it still happen with only one accordion item?

Maybe it's a deferred instantiation problem in the tab navigator. What happens 
if you set all tabs to instantiate?

I really don't think this is something we are going to be able to figure out in 
a forum and posting code is obviously out of the question. If I can free up 
some time I may respond to your ad.


--- In flexcoders@yahoogroups.com, edlueze edlu...@... wrote:

 Hi Steve - everybody:
 
 The FlexMDI definitely looks interesting! And I might take you up on your 
 offer to pay you to take a look at our bug.
 
 For everybody's benefit, I've put together a simple PowerPoint giving an 
 example of the problem. You can view the PPT here:
 
 http://www.onegen.com/download/FlexWindowNotLoadingBug001.ppt
 
 Thanks really for all your time and help - this one's got us baffled!
 
 Ted.
 
 --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
 
  You may like to look at FlexMDI (Part of FlexLib) for your windowing 
  requirements. I use an older version extensively and have not seen anything 
  like what you are experiencing.
  
  
  Best Regards
  
  
  
  Steve
  
  PS. If you want to pay me to look at it I'll gladly do so ;-}
  
  
  --- In flexcoders@yahoogroups.com, edlueze edlueze@ wrote:
  
   Please help me fix a windowing integration bug in our Adobe Flex 
   application. I'd love some free advice, but we really need the problem 
   solved so we've also posted the question on rent-a-coder.
   
   All of our Flex windows (Application/Canvas/Panel/TitleWindow/etc) work 
   fine individually when running in a browser (Firefox and Internet 
   Explorer). Now we are trying to integrate all of the Windows together 
   (less than 100 in all) and we are observing some pretty bizarre behavior 
   - sometimes a window will load and other times the same window will not 
   load. But the problem is not intermittent - it happens very often and we 
   can usually force a window failure on demand.
   
   When the window does not load we observe the CPU usage in Task Manager 
   hitting the maximum, and we believe that the Flex Application has fallen 
   into an endless race condition in which it is constantly resizing the 
   components within the window (we randomly pause the application and 
   usually find the stack doing something like this). When this happens the 
   window's creationComplete event doesn't trigger and we cannot insert a 
   breakpoint.
   
   We make heavy use of constraintRows and constraintColumns and we are 
   suspicious of them. We use a lot of Accordion's as well as the custom 
   HAccordion from Flexlib, but we've had trouble positively identifying 
   them as the culprit. Each window can get pretty buried in a deep 
   hierarchy of windows, but it is not always the deepest windows that will 
   fail to load.
   
   We've also implemented a suspicious custom component early on to handle 
   system-wide ToolTips. It is old code and does some funky things, but when 
   we commented it out the behavior didn't dramatically improve.
   
   Our testing has been limited to the Debugger Flash Player, but we've 
   tried both debug and release versions of the application.
   
   I've combed Flexcoders and I've not come across anything like it. I'd 
   love to hear your ideas?!
  
 





Re: [flexcoders] Re: how to compare dates?

2009-04-22 Thread Richard Rodseth
There are also some date utilities in as3corelib, I believe.

On Wed, Apr 22, 2009 at 11:14 AM, ilikeflex ilikef...@yahoo.com wrote:




 ObjectUtil.compareDates

 Please check the method name in ObjectUtil class.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 markflex2007 markflex2...@... wrote:
 
  Hi,
 
  I have two mx:DateField fields that are start date and end date.and I
 need validate to see if the end date  = start date.
 
  I do not know how to compare the two date fields.
 
  Please help me.
 
  Thanks
 
 
  MK
 

  



Re: [flexcoders] Plug-in Based application like Eclipse RCP in Flex/AIR

2009-04-22 Thread Richard Rodseth
I'll take a stab at this since I've done both Eclipse and Flex work.

I suggest you read up on ModuleLoader, sub-applications and RSLs.

Basically, one SWF can load another, and you can of course have your
individual applications implement interfaces.

But there's nothing like the Eclipse plug-in config format, extension points
etc. that I know of.

On Wed, Apr 22, 2009 at 10:19 AM, Parjan Arjan pobox...@yahoo.com wrote:



  Hello All,

  I am java developer I mostly work on Eclipse RCP (Rich Client Platform
 Application) using SWT.

 I am not an experienced Flex/AIR developer. I just wanted to create Plug-in
 based application Like eclipse RCP in Flex/AIR so can anyone guide me does
 Flex/AIR support Plug-in based applications like Eclipse RCP does support
 flex/AIR “Extensions points” etc? Or is there any alternative solution in
 Flex/AIR to create Plug-in based application.

 Please do help me related to this issue I will be thankful to all of you if
 you send me some useful links or tutorials.



 Thanks in Advance.

 Parkash.





  



[flexcoders] List sizing - height=100%

2009-04-22 Thread arieljake
I am trying, in MXML, to size a list to 100% of its container, but when I do, 
it only shows 2 rows. It is using a custom item renderer. I tried setting a 
rowHeight as well but still doesn't size right. I also set an explicitHeight in 
the item renderer itself. Nothing.

In a fixed size layout, i can set the rowcount but I want it to be fluid in 
case the user resizes the window.

Anyone know why a list wouldn't size by percent to fill a parent container?



[flexcoders] Re: Text wrap around an image

2009-04-22 Thread valdhor
I have seen a couple but the only one I can find is...

http://dispatchevent.org/roger/dynamic-text-wrapping-in-actionscript-3/

Also, Gumbo's TLF is supposed to have support for this.


HTH



Steve


--- In flexcoders@yahoogroups.com, Wally Kolcz wko...@... wrote:

 Anyone know any examples of how to get text to wrap around and image in the 
 same container? For example a couple paragraphs wrapping around an image that 
 is in the top left. Thanks!





[flexcoders] RegEx string via cell ItemRenderer to colorize specific characters or a better method?

2009-04-22 Thread Adrian Williams

Hi All,

   Here's a fun one!

   I have a column in an ADG, and the cells can contain a variety of 
data including: 


   16223T,16290T,16319A,16362C,16524G
  or
   73G,249-,263G,290-,291-,309.1C,315.1C,489C,493G,522-,523-

   What I need to do is for each of the letters (there's four possible 
- A,T,C,G) I need to be able to change the font color specific to each 
letter...i.e. all the A's need to be green, the C's need to be blue, 
the G's need to be black and the T's need to be red.


   As I've been thinking about it, I figure I'm going to have to use a 
custom itemRenderer for the cell to manipulate the data to begin with.  
But within the renderer, I'm quasi-stuck.  I figure the simplest way to 
ID the letters is to RegExp the data...then possibly using a switch/case 
to set the colors for the letters...but not sure how to affect just the 
individual letters in the overall string and then return that with the 
cell's renderer??


   Anyone have any thoughts on this?

Thanks!
Adrian


re: [flexcoders] Re: Text wrap around an image

2009-04-22 Thread Wally Kolcz
Sorry, already figured it out this morning. Thanks though.


From: valdhor valdhorli...@embarqmail.com
Sent: Wednesday, April 22, 2009 12:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Text wrap around an image 

I have seen a couple but the only one I can find is...

http://dispatchevent.org/roger/dynamic-text-wrapping-in-actionscript-3/

Also, Gumbo's TLF is supposed to have support for this.

HTH

Steve

--- In flexcoders@yahoogroups.com, Wally Kolcz wko...@... wrote:



 Anyone know any examples of how to get text to wrap around and image in the 
 same container? For example a couple paragraphs wrapping around an image that 
 is in the top left. Thanks!







Re: [flexcoders] Re: how to compare dates?

2009-04-22 Thread Nate Beck
A date object has a .time property, The number of milliseconds since
midnight January 1, 1970, universal time, for a Date object.
Just take the end date and see if the time property is greater than the
start date.

quick example:
var startDate:Date = new Date();
var endDate:Date = new Date();

if(startDate.time  endDate.time) {
trace(start is after end);
} else if (startDate.time  endDate.time) {
trace(start is before end);
} else {
trace(the dates are the same);
}


On Wed, Apr 22, 2009 at 11:54 AM, Richard Rodseth rrods...@gmail.comwrote:



 There are also some date utilities in as3corelib, I believe.


 On Wed, Apr 22, 2009 at 11:14 AM, ilikeflex ilikef...@yahoo.com wrote:




 ObjectUtil.compareDates

 Please check the method name in ObjectUtil class.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 markflex2007 markflex2...@... wrote:
 
  Hi,
 
  I have two mx:DateField fields that are start date and end date.and I
 need validate to see if the end date  = start date.
 
  I do not know how to compare the two date fields.
 
  Please help me.
 
  Thanks
 
 
  MK
 


  




-- 

Cheers,
Nate

http://blog.natebeck.net


Re: [flexcoders] Re: Flash player 10 Debug not recognized in FB3

2009-04-22 Thread Nate Beck
This happens to me all the time whenever I upgrade to a new version of the
flash player because a site says I need it.  And I forget that I need the
debug version.
You need to go to the
http://www.adobe.com/support/flashplayer/downloads.html page and pick out
the debug player. Adobe Flash Player 10 — Debugger Versions (aka debug
players or content debuggers)

If you're a flash / flex developer, you never install using the same
installer that installs the standard version

On Wed, Apr 22, 2009 at 11:32 AM, valdhor valdhorli...@embarqmail.comwrote:



 No. There are two Types of Flash Player - the standard Flash Player and
 the debug Flash player. Both will have the same version number.

 In your case you have version 10.0.22.87 of the standard Flash Player. What
 you want is version 10.0.22.87 of the debug Flash Player.

 Go to http://www.adobe.com/support/flashplayer/downloads.html to find the
 correct download.

 HTH

 Steve


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Jason
 jason.merr...@... wrote:
 
   Every version has both debugger and release binaries. Somehow the
 release binaries are installed.
  
   Alex Harui
 
  OK, thanks, but not really sure what that means or what to do with that
 information. Do you mean I have both the normal Flash player 10 installed
 as well as the debugger version of Flash 10? I have run the adobe
 uninstaller and then re-installed with no luck.
 
  Jason
 

  




-- 

Cheers,
Nate

http://blog.natebeck.net


[flexcoders] Flex 4.0.0.6192 Namespaces

2009-04-22 Thread Baz
(I originally posted this on flexcomponents by mistake, sorry for
cross-posting!)

I've been playing around with Flex 4 (build 6192) and it seems that the
namespaces have changed a lot since previous builds. I only say this because
none of the examples online seem to work. After lots of mucking around, I
was able to get the following test application with these namespaces to run:

?xml version=1.0 encoding=utf-8?
fx:Application
xmlns=http://ns.adobe.com/mxml/2009;
xmlns:fx=library://ns.adobe.com/flex/spark
xmlns:mx=library://ns.adobe.com/flex/halo

mx:VBox
fx:Button label=Gumbo Button/
mx:Button label=Halo Button /

   fx:ButtonBar id=orangeToggleBar requiresSelection=true
fx:dataProvider
fx:ArrayCollection source=[Flash, Director, Catalyst,
ColdFusion] /
/fx:dataProvider
/fx:ButtonBar
/mx:VBox
/fx:Application

The FX namespace pointing to spark doesn't seem to be right, shouldn't it be
SP or S with FX as a separate space? Also, what about the
ns.adobe.com/flex/GUMBO library, is that gone? I saw it a lot online but I
think it may have been combined into the main (unnamed) namespace.

Thoughts?

Baz


[flexcoders] FileStream.truncate() doesn’t work after calling FileStream.readUTFBytes()

2009-04-22 Thread skuteboarding
Hi,

I'm trying to read an xml file into memory, add a node, then write over the 
original file.

The following code works just fine (it clears the file, then writes the new 
bytes over the top):

var stream:FileStream = new FileStream();
stream.open(file, FileMode.UPDATE);
stream.position = 0;
stream.truncate();
stream.writeUTFBytes(?xml version=\1.0\ encoding=\UTF-8\?);
stream.writeUTFBytes(File.lineEnding);
stream.writeUTFBytes(xml.toXMLString());
stream.close();

However, if I attempt to perform a read after the file has opened, the position 
/ truncate calls don't work:

var stream:FileStream = new FileStream();
stream.open(file, FileMode.UPDATE);

var xml:XML = XML(stream.readUTFBytes(stream.bytesAvailable));

// Modify xml here

stream.position = 0;
stream.truncate();
stream.writeUTFBytes(?xml version=\1.0\ encoding=\UTF-8\?);
stream.writeUTFBytes(File.lineEnding);
stream.writeUTFBytes(xml.toXMLString());
stream.close();

Does anyone have any ideas why this doesn't work?

If you examine the stream, in the first code, after the call to truncate(), the 
bytesAvailable property will read 0. But in the second code, the bytesAvailable 
won't change (it will show the current file size).

Any ideas?

Mark




RE: [flexcoders] Reload SWFLoader please help!

2009-04-22 Thread Alex Harui
If you had a model/view architecture and the model had a reset method you could 
call that

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 ukarick
Sent: Tuesday, April 21, 2009 6:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Reload SWFLoader please help!





1.Suppose that I've to reload test.swf(which develped by flex) inside SWFLoader 
then I change it's tab to second tab.

2.I really want to reload test.swf to change test.swf into initial state.

3.I've tried swfloader.load('test.swf') It's work but seems memory's leaking.

So anyone got any idea about this? just like remember SWFloader state then 
reverse it back or reload swfloader without leaking?



RE: [flexcoders] DataGrid Children Prevent Module Unload?

2009-04-22 Thread Alex Harui
Any object in the module listening to a shared model in the main app is a 
potential leak, the model now has  a reference to the listening object.  
Hopefully you used weak reference listeners there.

The profiler should be able to tell you what is holding onto your module.

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 Battershall, Jeff
Sent: Wednesday, April 22, 2009 7:28 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] DataGrid Children Prevent Module Unload?




Thanks Pedro,

In my AIR app, the user can logout and login, with the available modules being 
tied to their profile. If I were to shut the app down on logout, all my 
problems would be solvied, because we'd be starting from scratch.  But that 
seems less than terrific user experience so I'm trying to hit the holy grail of 
all modules unloaded on logout, with the app still running.

Problem is, of course, that when something prevents the module unload, the app 
springs a memory leak.   I had thought that injecting the model into the module 
was the solution, by creating an interface for modules. This was based upon a 
presentation by Borre Wessel 
(http://blogs.adobe.com/borre/Modularizing_Flex_Cairngorm_and_Modules.pdf).  
However, I must not be following his advice in some fashion, because what I'm 
doing isn't working.  My module's model needs to be strongly typed in order to 
set up the necessary bindings between the model and the components, but the 
interface to inject the model would be via interface.  The question becomes 
exactly how do you update the model when you retrieve data via Delegate?  I 
have tried passing a weak reference to the module's model in my Caringorm event 
classes and then casting it as the strong typed local version the module 
requires, but no dice so far.

Jeff
-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Pedro Sena
Sent: Wednesday, April 22, 2009 9:57 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataGrid Children Prevent Module Unload?
Hmmm,

If you are using Cairngorm + Modules take a look at Modular

http://lab.arc90.com/2007/10/modular_1.php

This problem is not the only one that you will face when working with Cairngorm 
+ Modules, trust me

HTH,

Pedro Sena
On Wed, Apr 22, 2009 at 10:32 AM, Battershall, Jeff 
jeff.battersh...@dowjones.commailto:jeff.battersh...@dowjones.com wrote:

I've done a bit more research.  At this point it doesn't appear to be the 
renderers - I took them out for testing and it looks like that the way I'm 
injecting model objects into Module that might be at fault.  Right now, I've 
defined a model interface that I'm passing back to the Commands inside of the 
Cairngorm events.  I'm kind of hacking my way through this.

Driving me crazy, though.  Shouldn't be rocket science to unload a freakin' 
module.

Jeff
-Original Message-
From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com] On 
Behalf Of Pedro Sena
Sent: Wednesday, April 22, 2009 9:04 AM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataGrid Children Prevent Module Unload?
Hi Jeff,

Do your renderers have some reference to module data?

How are your grid and your module related?

I think we need more info to help you.

Regards,

Pedro Sena
On Wed, Apr 22, 2009 at 9:03 AM, Battershall, Jeff 
jeff.battersh...@dowjones.commailto:jeff.battersh...@dowjones.com wrote:


I'm using the profiler to get handle on what's causing a given module to
fail to unload and it appears that the datagrid is the culprit.
Specifically when the data grid is unpopulated, I can successfully
unload the module. When it is populated, it won't. I have the datagrid
bound to a local model object. It appears that as soon as the datagrid
has children, the module won't unload completely.

There must be some reference that the datagrid has that is causing this
- I am using some custom item renderers/editors. Any advice greatly
appreciated.

Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battersh...@dowjones.commailto:jeff.battershall%40dowjones.com
(609) 520-5637 (p)
(484) 477-9900 (c)


--
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*/



--
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*/



[flexcoders] Drive Letters and Ant

2009-04-22 Thread cuttenv
So I have my Eclipse and Flex builder installed on my C: drive but all of my 
projects in my workspace on D: 

Everything works fine but when I set the fork=true in my mxmlc to increase the 
memory my Ant build fails with: 
[mxmlc] java.lang.NoClassDefFoundError: flex2/tools/Compiler 
[mxmlc] Exception in thread main 



Anyone have any thoughts??

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



[flexcoders] Re: RegEx string via cell ItemRenderer to colorize specific characters or a better method?

2009-04-22 Thread valdhor
Have a look into TextRange.



--- In flexcoders@yahoogroups.com, Adrian Williams adri...@... wrote:

 Hi All,
 
 Here's a fun one!
 
 I have a column in an ADG, and the cells can contain a variety of 
 data including: 
 
 16223T,16290T,16319A,16362C,16524G
or
 73G,249-,263G,290-,291-,309.1C,315.1C,489C,493G,522-,523-
 
 What I need to do is for each of the letters (there's four possible 
 - A,T,C,G) I need to be able to change the font color specific to each 
 letter...i.e. all the A's need to be green, the C's need to be blue, 
 the G's need to be black and the T's need to be red.
 
 As I've been thinking about it, I figure I'm going to have to use a 
 custom itemRenderer for the cell to manipulate the data to begin with.  
 But within the renderer, I'm quasi-stuck.  I figure the simplest way to 
 ID the letters is to RegExp the data...then possibly using a switch/case 
 to set the colors for the letters...but not sure how to affect just the 
 individual letters in the overall string and then return that with the 
 cell's renderer??
 
 Anyone have any thoughts on this?
 
 Thanks!
 Adrian





RE: [flexcoders] Re: RegEx string via cell ItemRenderer to colorize specific characters or a better method?

2009-04-22 Thread Tracy Spratt
I suggest  that you use a labelFunction feeding a renderer that uses
htmlText.  The label function would simply parse the strings to get the
letters,  and wrap them in a Font tag specifying the color.  This would be
very easy.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of valdhor
Sent: Wednesday, April 22, 2009 4:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: RegEx string via cell ItemRenderer to colorize
specific characters or a better method?

 






Have a look into TextRange.

--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
Adrian Williams adri...@... wrote:

 Hi All,
 
 Here's a fun one!
 
 I have a column in an ADG, and the cells can contain a variety of 
 data including: 
 
 16223T,16290T,16319A,16362C,16524G
 or
 73G,249-,263G,290-,291-,309.1C,315.1C,489C,493G,522-,523-
 
 What I need to do is for each of the letters (there's four possible 
 - A,T,C,G) I need to be able to change the font color specific to each 
 letter...i.e. all the A's need to be green, the C's need to be blue, 
 the G's need to be black and the T's need to be red.
 
 As I've been thinking about it, I figure I'm going to have to use a 
 custom itemRenderer for the cell to manipulate the data to begin with. 
 But within the renderer, I'm quasi-stuck. I figure the simplest way to 
 ID the letters is to RegExp the data...then possibly using a switch/case 
 to set the colors for the letters...but not sure how to affect just the 
 individual letters in the overall string and then return that with the 
 cell's renderer??
 
 Anyone have any thoughts on this?
 
 Thanks!
 Adrian






RE: [flexcoders] Re: Text wrap around an image

2009-04-22 Thread Tracy Spratt
So, Wally, how did you do it?  This would be a nice technique to have in
one's toolbox.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Wally Kolcz
Sent: Wednesday, April 22, 2009 3:06 PM
To: flexcoders@yahoogroups.com
Subject: re: [flexcoders] Re: Text wrap around an image

 






Sorry, already figured it out this morning. Thanks though.

  _  

From: valdhor valdhorli...@embarqmail.com
Sent: Wednesday, April 22, 2009 12:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Text wrap around an image

I have seen a couple but the only one I can find is...

http://dispatcheven
http://dispatchevent.org/roger/dynamic-text-wrapping-in-actionscript-3/
t.org/roger/dynamic-text-wrapping-in-actionscript-3/

Also, Gumbo's TLF is supposed to have support for this.

HTH

Steve

--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
Wally Kolcz wko...@... wrote:

 Anyone know any examples of how to get text to wrap around and image in
the same container? For example a couple paragraphs wrapping around an image
that is in the top left. Thanks!


 





Re: [flexcoders] Re: RegEx string via cell ItemRenderer to colorize specific characters or a better method?

2009-04-22 Thread Adrian Williams

Hi Tracy,

   This is an interesting idea...but you have me at a bit of a 
lossI was already heading down part of the same path you laid out 
here...here is my renderer code thus far:


First, the column from my ADG:
mx:AdvancedDataGridColumn id=groupedHVR1 dataField=Hvr1M 
headerText=HVR1 Mutations headerWordWrap=true textAlign=left 
wordWrap=true editable=false width=100 showDataTips=true 
itemRenderer=renderers.GeneralRenderers.AminoAcidRenderer /



now the AminoAcidRenderer.mxml:

?xml version=1.0 encoding=utf-8?
mx:Label xmlns:mx=http://www.adobe.com/2006/mxml; 
implements=mx.core.IFactory truncateToFit=true

   width=100% height=100% paddingLeft=2 paddingRight=2
   mx:Script
   ![CDATA[
   import mx.utils.ObjectProxy;
  
   override public function set text(value:String):void

   {
   if (value != null  value !=value != )
   {
   value = String(value.replace(G,'font 
color=blackG/font'));
   value = String(value.replace(A,'font 
color=greenA/font'));
   value = String(value.replace(T,'font 
color=redT/font'));
   value = String(value.replace(C,'font 
color=blueC/font'));
  
   super.htmlText = value;

   }
   else
   {
   super.htmlText = value;
   }   
   }
  
   public function newInstance():*

   {
   return new AminoAcidRenderer();
   }
   ]]
   /mx:Script
/mx:Label

   But, alas, there are a couple of problems here. First, the 
string.replace() only affects the first occurrence of the pattern and 
not every occurrence (I wonder if a regex would remedy that?).  Then 
although the substitution gets done for those patterns that are found, 
the htmlText isn't getting rendered...and I wonder if it's due to the 
function set text instead of function set htmlText, which I tried and 
literally got nothing.


   I've also looked at the TextRange that someone else suggested but 
not sure how to possibly use that as it needs a begin/end index and the 
letters are sporadic from one string to the next.


   How would I setup the labelFunction to parse the string to get the 
letters?


Thanks in advance!
Adrian

  


Tracy Spratt wrote:



I suggest  that you use a labelFunction feeding a renderer that uses 
htmlText.  The label function would simply parse the strings to get 
the letters,  and wrap them in a Font tag specifying the color.  This 
would be very easy.


 


Tracy Spratt,

Lariat Services, development services available



*From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
*On Behalf Of *valdhor

*Sent:* Wednesday, April 22, 2009 4:44 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Re: RegEx string via cell ItemRenderer to 
colorize specific characters or a better method?


 





Have a look into TextRange.

--- In flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com, Adrian Williams adri...@... 
wrote:


 Hi All,

 Here's a fun one!

 I have a column in an ADG, and the cells can contain a variety of
 data including:

 16223T,16290T,16319A,16362C,16524G
 or
 73G,249-,263G,290-,291-,309.1C,315.1C,489C,493G,522-,523-

 What I need to do is for each of the letters (there's four possible
 - A,T,C,G) I need to be able to change the font color specific to each
 letter...i.e. all the A's need to be green, the C's need to be blue,
 the G's need to be black and the T's need to be red.

 As I've been thinking about it, I figure I'm going to have to use a
 custom itemRenderer for the cell to manipulate the data to begin with.
 But within the renderer, I'm quasi-stuck. I figure the simplest way to
 ID the letters is to RegExp the data...then possibly using a switch/case
 to set the colors for the letters...but not sure how to affect just the
 individual letters in the overall string and then return that with the
 cell's renderer??

 Anyone have any thoughts on this?

 Thanks!
 Adrian





RE: [flexcoders] Drive Letters and Ant

2009-04-22 Thread Tim Rowe
We execute our mxml compiler using

exec executable=${flex.sdk.home}/bin/mxmlc.exe dir=${flexproj}/build/mxml 
output=${flexproj}/build/log/mxmlc.log failonerror=true arg.../exec

rather than using an mxmlc taskdef.  As a result I've not had problems with 
classpath problems in mxmlc.

Maybe give that a try if all else fails?

--Tim Rowe


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of cuttenv
Sent: Thursday, 23 April 2009 6:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drive Letters and Ant




So I have my Eclipse and Flex builder installed on my C: drive but all of my 
projects in my workspace on D:

Everything works fine but when I set the fork=true in my mxmlc to increase the 
memory my Ant build fails with:
[mxmlc] java.lang.NoClassDefFoundError: flex2/tools/Compiler
[mxmlc] Exception in thread main

Anyone have any thoughts??

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





[flexcoders] HTTPService mistery

2009-04-22 Thread markgoldin_2000
Is it possible that on low end computers HTTPService.send command would take up 
to 10 or more times longer than on a more or less decent computer? Is there a 
way of tracking HTTPService.send command?

Thanks



[flexcoders] e4x challenge

2009-04-22 Thread Michael Slinn
I would like to filter out all elements with type=file from the following 
XML.  That turns out to be rather difficult because node/ elements are 
nested.  Any suggestions?

?xml version=1.0 encoding=UTF-8?
node name=classes type=dir uri=file:/classes/
node name=spring-beans-2.0.dtd type=file 
uri=file:/classes/spring-beans-2.0.dtd /node name=.svn type=dir 
uri=file:/classes/.svn/node name=props type=dir 
uri=file:/classes/.svn/props/ /node name=text-base type=dir 
uri=file:/classes/.svn/text-base/node name=sample.log4j.xml.svn-base 
type=file uri=file:/classes/.svn/text-base/sample.log4j.xml.svn-base 
//nodenode name=format type=file uri=file:/classes/.svn/format 
/node name=prop-base type=dir uri=file:/classes/.svn/prop-base/node 
name=sample.log4j.xml.svn-base type=file 
uri=file:/classes/.svn/prop-base/sample.log4j.xml.svn-base //nodenode 
name=entries type=file uri=file:/classes/.svn/entries /node name=tmp 
type=dir uri=file:/classes/.svn/tmp/node name=props type=dir 
uri=file:/classes/.svn/tmp/props/ /node name=text-base type=dir 
uri=file:/classes/.svn/tmp/text-base/ /node name=prop-base type=dir 
uri=file:/classes/.svn/tmp/prop-base/ //node/nodenode name=com 
type=dir uri=file:/classes/com/node name=.svn type=dir 
uri=file:/classes/com/.svn/node name=props type=dir 
uri=file:/classes/com/.svn/props/ /node name=text-base type=dir 
uri=file:/classes/com/.svn/text-base/ /node name=format type=file 
uri=file:/classes/com/.svn/format /node name=prop-base type=dir 
uri=file:/classes/com/.svn/prop-base/ /node name=entries type=file 
uri=file:/classes/com/.svn/entries /node name=tmp type=dir 
uri=file:/classes/com/.svn/tmp/node name=props type=dir 
uri=file:/classes/com/.svn/tmp/props/ /node name=text-base type=dir 
uri=file:/classes/com/.svn/tmp/text-base/ /node name=prop-base type=dir 
uri=file:/classes/com/.svn/tmp/prop-base/ //node/nodenode 
name=kahootz type=dir uri=file:/classes/com/kahootz/node 
name=activemq.xml type=file uri=file:/classes/com/kahootz/activemq.xml 
/node name=context type=dir 
uri=file:/classes/com/kahootz/context/node name=remote-jms-context.xml 
type=file uri=file:/classes/com/kahootz/context/remote-jms-context.xml 
/node name=.svn type=dir 
uri=file:/classes/com/kahootz/context/.svn/node name=props type=dir 
uri=file:/classes/com/kahootz/context/.svn/props/ /node name=text-base 
type=dir uri=file:/classes/com/kahootz/context/.svn/text-base/node 
name=jms-context.xml.svn-base type=file 
uri=file:/classes/com/kahootz/context/.svn/text-base/jms-context.xml.svn-base 
/node name=remote-jms-context.xml.svn-base type=file 
uri=file:/classes/com/kahootz/context/.svn/text-base/remote-jms-context.xml.svn-base
 //nodenode name=format type=file 
uri=file:/classes/com/kahootz/context/.svn/format /node name=prop-base 
type=dir uri=file:/classes/com/kahootz/context/.svn/prop-base/node 
name=jms-context.xml.svn-base type=file 
uri=file:/classes/com/kahootz/context/.svn/prop-base/jms-context.xml.svn-base 
/node name=remote-jms-context.xml.svn-base type=file 
uri=file:/classes/com/kahootz/context/.svn/prop-base/remote-jms-context.xml.svn-base
 //nodenode name=entries type=file 
uri=file:/classes/com/kahootz/context/.svn/entries /node name=tmp 
type=dir uri=file:/classes/com/kahootz/context/.svn/tmp/node name=props 
type=dir uri=file:/classes/com/kahootz/context/.svn/tmp/props/ /node 
name=text-base type=dir 
uri=file:/classes/com/kahootz/context/.svn/tmp/text-base/ /node 
name=prop-base type=dir 
uri=file:/classes/com/kahootz/context/.svn/tmp/prop-base/ 
//node/nodenode name=server-context.xml type=file 
uri=file:/classes/com/kahootz/context/server-context.xml /node 
name=jms-context.xml type=file 
uri=file:/classes/com/kahootz/context/jms-context.xml //nodenode 
name=space type=dir uri=file:/classes/com/kahootz/space/node 
name=context type=dir uri=file:/classes/com/kahootz/space/context/node 
name=remote-space-context.xml type=file 
uri=file:/classes/com/kahootz/space/context/remote-space-context.xml /node 
name=.svn type=dir 
uri=file:/classes/com/kahootz/space/context/.svn/node name=props 
type=dir uri=file:/classes/com/kahootz/space/context/.svn/props/ /node 
name=text-base type=dir 
uri=file:/classes/com/kahootz/space/context/.svn/text-base/node 
name=space-context.xml.svn-base type=file 
uri=file:/classes/com/kahootz/space/context/.svn/text-base/space-context.xml.svn-base
 /node name=local-space-context.xml.svn-base type=file 
uri=file:/classes/com/kahootz/space/context/.svn/text-base/local-space-context.xml.svn-base
 /node name=remote-space-context.xml.svn-base type=file 
uri=file:/classes/com/kahootz/space/context/.svn/text-base/remote-space-context.xml.svn-base
 //nodenode name=format type=file 
uri=file:/classes/com/kahootz/space/context/.svn/format /node 
name=prop-base type=dir 
uri=file:/classes/com/kahootz/space/context/.svn/prop-base/node 
name=space-context.xml.svn-base type=file 
uri=file:/classes/com/kahootz/space/context/.svn/prop-base/space-context.xml.svn-base
 /node 

[flexcoders] Calling static method in PHP class

2009-04-22 Thread Hyder
How can I can a static method in a PHP class, preferably using a quick and 
dirty method like HTTPService?

I cannot make changes to the class because it's not mine and I have no rights 
over it.



Re: [flexcoders] Signed RSL penetration

2009-04-22 Thread Guy Morton
Is consistent and accurate and explainable code for big enough  
numbers? ;-)



On 22/04/2009, at 4:10 PM, Matt Chotin wrote:




We’re hosting the RSLs starting with Flex 4, you’ll see them hosted  
in the public beta.


When we feel comfortable with the RSL penetration stats as far as  
being consistent and accurate and explainable we’ll begin publishing  
them.


Matt


On 4/21/09 11:01 PM, Steve Mathews happy...@gmail.com wrote:







No offence was intended, I was trying to state that as a selling  
point. The number of users who already have the SWZs should be  
icing, the real substance should be the benifit to every user  
visiting your site/app. Obviously if you only expect users to visit  
once or twice the benifit doesn't work out.


The problem with Adobe including the files with the first install is  
that there are new files for each update of the Flex Framework. I am  
currently on my third set of SWZs in my production environment. I  
would like to see Adobe host the files as an added benifit to using  
them.


I would also be interested in seeing some stats on the number of  
installed players that have one or more SWZs cached as it would be  
additional info to help sell the idea to clients.


Steve

On Tue, Apr 21, 2009 at 2:55 PM, Guy Morton g...@alchemy.com.au  
wrote:



Yes, I know how it works...my point is that it's hard to sell to my  
current clients if for most it's going to translate into a bigger  
download for first time users.


This is why stats as to how many users are likely to already have  
the different versions of the RSLs would be handy.


I realise this is probably strategically sensitive for Adobe as they  
want to encourage use of RSLs as it improves the Flex download size  
story longer term.


Someone made the suggestion somewhere that when users upgrade or  
install the player, Adobe ought to download and install all the  
current RSLs as well. That seems a very sensible idea to me.


Even if they were a separate download available at the time (or  
available as a Flash player professional version) it would be  
better than forcing developers distributing apps to do it. We have  
app size as an imperative that we have to work with.


Guy

On 22/04/2009, at 4:19 AM, Steve Mathews wrote:




It would only be bigger the first download (assuming the user has  
9.0.115.0 or later). After that it would be smaller each time.



Steve

On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton g...@alchemy.com.au  
wrote:



Well...yes, it's great if I do it...for the community n'all...but my  
users *are* sensitive to the download size.


If it were the same size either way, of course I would do it (as  
would everyone) but the fact that it's BIGGER as RSLs means I bet  
LOTS of developers DON'T do it, hence my question...


Guy


On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:






On Tuesday 21 Apr 2009, g...@alchemy.com.au wrote:
 Maybe it's worth doing if 50%+ of users will get the benefit, but if
 only 10% will benefit it seems unlikely to be a way to increase the
 general happiness.

I think you are looking at it wrong. Assuming 200k is nothing on a  
modern

connection - I don't know anything about your users of course :-)
With RSL you either load quicker (win) or have to download app+RSL  
(same as
non-RSL), plus you have the benefit of making your (and others !)  
future RSL

deployments more likely to be win.


--
Helping to synergistically streamline proactive cross-platform  
seamless

ubiquitous interfaces as part of the IT team of the year, '09 and '08


Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099
tom.chiver...@halliwells.com

3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com http://www.halliwells.com/


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

Halliwells LLP is a limited liability partnership registered in  
England and Wales under registered number OC307980 whose registered  
office address is at 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 http://www.halliwells.com/ 
 .












Re: [flexcoders] Signed RSL penetration

2009-04-22 Thread Matt Chotin
The numbers are actually pretty big, which means that folks are more likely to 
question them and I want to make sure that we're really right, and that I can 
understand adoption trends over time, etc.

Matt


On 4/22/09 4:23 PM, Guy Morton g...@alchemy.com.au wrote:






Is consistent and accurate and explainable code for big enough numbers? ;-)


On 22/04/2009, at 4:10 PM, Matt Chotin wrote:




We're hosting the RSLs starting with Flex 4, you'll see them hosted in the 
public beta.

When we feel comfortable with the RSL penetration stats as far as being 
consistent and accurate and explainable we'll begin publishing them.

Matt


On 4/21/09 11:01 PM, Steve Mathews happy...@gmail.com wrote:






No offence was intended, I was trying to state that as a selling point. The 
number of users who already have the SWZs should be icing, the real substance 
should be the benifit to every user visiting your site/app. Obviously if you 
only expect users to visit once or twice the benifit doesn't work out.

The problem with Adobe including the files with the first install is that there 
are new files for each update of the Flex Framework. I am currently on my third 
set of SWZs in my production environment. I would like to see Adobe host the 
files as an added benifit to using them.

I would also be interested in seeing some stats on the number of installed 
players that have one or more SWZs cached as it would be additional info to 
help sell the idea to clients.

Steve

On Tue, Apr 21, 2009 at 2:55 PM, Guy Morton g...@alchemy.com.au wrote:


Yes, I know how it works...my point is that it's hard to sell to my current 
clients if for most it's going to translate into a bigger download for first 
time users.

This is why stats as to how many users are likely to already have the different 
versions of the RSLs would be handy.

I realise this is probably strategically sensitive for Adobe as they want to 
encourage use of RSLs as it improves the Flex download size story longer term.

Someone made the suggestion somewhere that when users upgrade or install the 
player, Adobe ought to download and install all the current RSLs as well. That 
seems a very sensible idea to me.

Even if they were a separate download available at the time (or available as a 
Flash player professional version) it would be better than forcing developers 
distributing apps to do it. We have app size as an imperative that we have to 
work with.

Guy

On 22/04/2009, at 4:19 AM, Steve Mathews wrote:




It would only be bigger the first download (assuming the user has 9.0.115.0 or 
later). After that it would be smaller each time.


Steve

On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton g...@alchemy.com.au wrote:


Well...yes, it's great if I do it...for the community n'all...but my users 
*are* sensitive to the download size.

If it were the same size either way, of course I would do it (as would 
everyone) but the fact that it's BIGGER as RSLs means I bet LOTS of developers 
DON'T do it, hence my question...

Guy


On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:






On Tuesday 21 Apr 2009, g...@alchemy.com.au wrote:
 Maybe it's worth doing if 50%+ of users will get the benefit, but if
 only 10% will benefit it seems unlikely to be a way to increase the
 general happiness.

I think you are looking at it wrong. Assuming 200k is nothing on a modern
connection - I don't know anything about your users of course :-)
With RSL you either load quicker (win) or have to download app+RSL (same as
non-RSL), plus you have the benefit of making your (and others !) future RSL
deployments more likely to be win.



[flexcoders] Re: Expiration date

2009-04-22 Thread lehaianh1986
Thank all, I read carefully all replies. Sent a request, then analyze a 
response to know the state of expiration date... Yeah,I think it is good idea. 
It help me control the date I want to expire and don't care about clock of user 
computer.

Are you have any simple example about it? I know about send one request to 
server, but how to receive response? Thank all of you very much

Hai Anh

--- In flexcoders@yahoogroups.com, Kenneth Sutherland 
kenneth.sutherl...@... wrote:

 Depending on what your app does, restricting its use, for example
 disable saving/loading/copying of text and similar are quite common
 features to make users upgrade.
 
  
 
 Or what you could do is put in some code on startup that sent a request
 to your server to accept a response.  Only if the response was OK would
 the app run and not exit.  That way your beta version would expire on a
 set date and not from when a user had actually installed it.  You could
 also use the auto-update feature of AIR for this, once you wish you app
 to go from beta to release force the update on the user and then they
 need to enter a license key which they will get from yourself.
 
  
 
 Kenneth.
 
  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of lehaianh1986
 Sent: 22 April 2009 04:03
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Expiration date
 
  
 
 
 
 
 
 
 Hi all, I have small AIR project, now it is beta version. I will send it
 to some testers. So, I want to write some code to set expired date for
 it. Example as set this soft to stop working 1 month from first use, or
 set the number of using soft is 100 times.
 
 Any one can guide me some steps to do it? Thank in advanced
 
 Hai Anh
 
 
 
 Disclaimer 
 ---
 This electronic message contains information which may be privileged and 
 confidential. The information is intended to be for the use of the 
 individual(s) or entity named above. If you are not the intended recipient, 
 be aware that any disclosure, copying, distribution or use of the contents of 
 this information is prohibited. If you have received this electronic message 
 in error, please notify us by telephone on 0131 476 6000 and delete the 
 material from your computer. 
 Registered in Scotland number: SC 172507. 
 Registered office address: Quay House 142 Commercial Street Edinburgh EH6 
 6LB. 
 
 This email message has been scanned for viruses by Mimecast.
 ---





[flexcoders] Web-based application to access local files

2009-04-22 Thread jose2250
I recently developed a Desktop Application using Visual Basic 2008 Express .Net 
3.5. It works ok. Application will look for .pdf files on a specific folder on 
C: drive, rename the files according to some user's input and database query 
result, then upload the renamed files to an FTP server. No problem. However, 
the company don't want a desktop application. So, my goal is to re-create the 
application using a new Rich Internet Application technology. I then, created a 
Windows User Control in VB.net 3.5 and embedded the .dll in an html page. This 
works great on my local development pc, however, it will have some security 
issues when I try to run it on our intranet. It seems like the control 
(Activex), will not allow access to the local files. I just need access to be 
able to rename files on C:, that's it. Then I came across Silverligt and Flex 
development software. But, after playing with flex for a little, noticed that 
Flex will not be my best choice to access and rename local files, is that 
right? Any suggestions about the technology that we should use? Thanks!



[flexcoders] Initialization Order - External Data

2009-04-22 Thread ericmaslowski
Hello,
  I'm building a Flex app and it's been going fairly well. However, I've run 
into a problem when trying to load data from an external source (simple TXT 
file for now). I can't seem to control when a particular function is called. 

What I have is a series of components that are filled with images when the 
application starts. I want the list of images to come from a txt file (no 
problem with URLLoader). What I'm finding out is that the other functions in my 
init routine are called before I finish reading in the file.

For example, I have a routine called from creationComplete.

function onStart():void
{
  initDatabase();
  initComponents();
}

in the case above, initComponents() is called before initDatabase finishes 
and I get a bunch of broken image links. Any advice on how I can guarantee the 
above executes in order? Is there any way I can force Flex to operate in a very 
linear manner (at least for initialization)? 

Thanks!

E.



[flexcoders] difference between stage and application?

2009-04-22 Thread michaeljonknight
Hello,

I am somewhat new to flex.  We are working on a project that uses an exported 
swc from Flash and running into some problems getting everything we want to 
show up layered correctly.

I want to add a menu bar (mx.controls.MenuBar) on top of some content from the 
flash swc (flash.display.Sprite).  I can only get the menu bar to show up if I 
call application.addChild and the sprite to show up if I call 
application.stage.addChild.  But the menu bar popups are behind the sprite.   

I don't really understand the difference between the application and the stage 
either.  Can anyone help?  And is there an established way to work with 
mx.controls and flash.display.sprite data?

thanks in advance,
madmik3



Re: [flexcoders] Re: Expiration date

2009-04-22 Thread Sam Lai
An additional consideration there is what happens if the user is
offline? It might be that your app can't be used offline anyway, so
then it's not an issue.

2009/4/22 lehaianh1986 lehaianh1...@yahoo.com:
 Thank all, I read carefully all replies. Sent a request, then analyze a 
 response to know the state of expiration date... Yeah,I think it is good 
 idea. It help me control the date I want to expire and don't care about clock 
 of user computer.

 Are you have any simple example about it? I know about send one request to 
 server, but how to receive response? Thank all of you very much

 Hai Anh

 --- In flexcoders@yahoogroups.com, Kenneth Sutherland 
 kenneth.sutherl...@... wrote:

 Depending on what your app does, restricting its use, for example
 disable saving/loading/copying of text and similar are quite common
 features to make users upgrade.



 Or what you could do is put in some code on startup that sent a request
 to your server to accept a response.  Only if the response was OK would
 the app run and not exit.  That way your beta version would expire on a
 set date and not from when a user had actually installed it.  You could
 also use the auto-update feature of AIR for this, once you wish you app
 to go from beta to release force the update on the user and then they
 need to enter a license key which they will get from yourself.



 Kenneth.



 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of lehaianh1986
 Sent: 22 April 2009 04:03
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Expiration date








 Hi all, I have small AIR project, now it is beta version. I will send it
 to some testers. So, I want to write some code to set expired date for
 it. Example as set this soft to stop working 1 month from first use, or
 set the number of using soft is 100 times.

 Any one can guide me some steps to do it? Thank in advanced

 Hai Anh



 Disclaimer
 ---
 This electronic message contains information which may be privileged and 
 confidential. The information is intended to be for the use of the 
 individual(s) or entity named above. If you are not the intended recipient, 
 be aware that any disclosure, copying, distribution or use of the contents 
 of this information is prohibited. If you have received this electronic 
 message in error, please notify us by telephone on 0131 476 6000 and delete 
 the material from your computer.
 Registered in Scotland number: SC 172507.
 Registered office address: Quay House 142 Commercial Street Edinburgh EH6 
 6LB.

 This email message has been scanned for viruses by Mimecast.
 ---





 

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






Re: [flexcoders] Web-based application to access local files

2009-04-22 Thread Sam Lai
The only web-deployed, no-install tools you can use that has access to
the local file system is Java and ActiveX as you have discovered. Both
will throw security warnings, because no web app has unfettered access
to your computer by default, and none should (who knows what kind of
havoc they could wreck if they did).

(You should be able to allow your ActiveX to access the local file
system though because that's how online anti-virus scans work. It will
require user interaction, or maybe the deployment of a Group Policy
change. Not a path I'd go down though given the stigma associated with
ActiveX in the browser.)

Can I ask what their opposition is to a desktop application? Is it
deployment? Because if it is, you could just use ClickOnce deployment
to deploy your .NET app. It will still throw a security warning, but
you can tame it by signing your app (you get a nicer-looking dialog).

(You could rewrite the app using Adobe AIR and deploy using that, but
there's no real advantage in your situation, unless cross-platform is
a requirement.)

2009/4/22 jose2250 j...@queryaccess.com:
 I recently developed a Desktop Application using Visual Basic 2008 Express 
 .Net 3.5. It works ok. Application will look for .pdf files on a specific 
 folder on C: drive, rename the files according to some user's input and 
 database query result, then upload the renamed files to an FTP server. No 
 problem. However, the company don't want a desktop application. So, my goal 
 is to re-create the application using a new Rich Internet Application 
 technology. I then, created a Windows User Control in VB.net 3.5 and embedded 
 the .dll in an html page. This works great on my local development pc, 
 however, it will have some security issues when I try to run it on our 
 intranet. It seems like the control (Activex), will not allow access to the 
 local files. I just need access to be able to rename files on C:, that's it. 
 Then I came across Silverligt and Flex development software. But, after 
 playing with flex for a little, noticed that Flex will not be my best choice 
 to access and rename local files, is that right? Any suggestions about the 
 technology that we should use? Thanks!



 

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






[flexcoders] Re: Signed RSL penetration

2009-04-22 Thread bsyyu
Apart from the size matter, we encounter the problem for Google engine working 
with signed RSL matter , the result of Google Serach for the website that use 
signed RSL with Error #2032. RSL Error 1 of 1. Any comments for this

--- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote:

 We're hosting the RSLs starting with Flex 4, you'll see them hosted in the 
 public beta.
 
 When we feel comfortable with the RSL penetration stats as far as being 
 consistent and accurate and explainable we'll begin publishing them.
 
 Matt
 
 
 On 4/21/09 11:01 PM, Steve Mathews happy...@... wrote:
 
 
 
 
 
 
 No offence was intended, I was trying to state that as a selling point. The 
 number of users who already have the SWZs should be icing, the real substance 
 should be the benifit to every user visiting your site/app. Obviously if you 
 only expect users to visit once or twice the benifit doesn't work out.
 
 The problem with Adobe including the files with the first install is that 
 there are new files for each update of the Flex Framework. I am currently on 
 my third set of SWZs in my production environment. I would like to see Adobe 
 host the files as an added benifit to using them.
 
 I would also be interested in seeing some stats on the number of installed 
 players that have one or more SWZs cached as it would be additional info to 
 help sell the idea to clients.
 
 Steve
 
 On Tue, Apr 21, 2009 at 2:55 PM, Guy Morton g...@... wrote:
 
 
 Yes, I know how it works...my point is that it's hard to sell to my current 
 clients if for most it's going to translate into a bigger download for first 
 time users.
 
 This is why stats as to how many users are likely to already have the 
 different versions of the RSLs would be handy.
 
 I realise this is probably strategically sensitive for Adobe as they want to 
 encourage use of RSLs as it improves the Flex download size story longer term.
 
 Someone made the suggestion somewhere that when users upgrade or install the 
 player, Adobe ought to download and install all the current RSLs as well. 
 That seems a very sensible idea to me.
 
 Even if they were a separate download available at the time (or available as 
 a Flash player professional version) it would be better than forcing 
 developers distributing apps to do it. We have app size as an imperative that 
 we have to work with.
 
 Guy
 
 On 22/04/2009, at 4:19 AM, Steve Mathews wrote:
 
 
 
 
 It would only be bigger the first download (assuming the user has 9.0.115.0 
 or later). After that it would be smaller each time.
 
 
 Steve
 
 On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton g...@... wrote:
 
 
 Well...yes, it's great if I do it...for the community n'all...but my users 
 *are* sensitive to the download size.
 
 If it were the same size either way, of course I would do it (as would 
 everyone) but the fact that it's BIGGER as RSLs means I bet LOTS of 
 developers DON'T do it, hence my question...
 
 Guy
 
 
 On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:
 
 
 
 
 
 
 On Tuesday 21 Apr 2009, g...@... wrote:
  Maybe it's worth doing if 50%+ of users will get the benefit, but if
  only 10% will benefit it seems unlikely to be a way to increase the
  general happiness.
 
 I think you are looking at it wrong. Assuming 200k is nothing on a modern
 connection - I don't know anything about your users of course :-)
 With RSL you either load quicker (win) or have to download app+RSL (same as
 non-RSL), plus you have the benefit of making your (and others !) future RSL
 deployments more likely to be win.
 
 
 --
 Helping to synergistically streamline proactive cross-platform seamless
 ubiquitous interfaces as part of the IT team of the year, '09 and '08
 
 
 Tom Chiverton
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099
 tom.chiver...@...
 
 3 Hardman Square, Manchester, M3 3EB
 www.Halliwells.com http://www.halliwells.com/
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 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 

Re: [flexcoders] Re: Signed RSL penetration

2009-04-22 Thread Matt Chotin
This is due to Google not yet executing network requests from the SWF.  
Something that they're working on.

Matt


On 4/21/09 11:19 PM, bsyyu ben.s...@gmail.com wrote:






Apart from the size matter, we encounter the problem for Google engine working 
with signed RSL matter , the result of Google Serach for the website that use 
signed RSL with Error #2032. RSL Error 1 of 1. Any comments for this

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Matt 
Chotin mcho...@... wrote:

 We're hosting the RSLs starting with Flex 4, you'll see them hosted in the 
 public beta.

 When we feel comfortable with the RSL penetration stats as far as being 
 consistent and accurate and explainable we'll begin publishing them.

 Matt


 On 4/21/09 11:01 PM, Steve Mathews happy...@... wrote:






 No offence was intended, I was trying to state that as a selling point. The 
 number of users who already have the SWZs should be icing, the real substance 
 should be the benifit to every user visiting your site/app. Obviously if you 
 only expect users to visit once or twice the benifit doesn't work out.

 The problem with Adobe including the files with the first install is that 
 there are new files for each update of the Flex Framework. I am currently on 
 my third set of SWZs in my production environment. I would like to see Adobe 
 host the files as an added benifit to using them.

 I would also be interested in seeing some stats on the number of installed 
 players that have one or more SWZs cached as it would be additional info to 
 help sell the idea to clients.

 Steve

 On Tue, Apr 21, 2009 at 2:55 PM, Guy Morton g...@... wrote:


 Yes, I know how it works...my point is that it's hard to sell to my current 
 clients if for most it's going to translate into a bigger download for first 
 time users.

 This is why stats as to how many users are likely to already have the 
 different versions of the RSLs would be handy.

 I realise this is probably strategically sensitive for Adobe as they want to 
 encourage use of RSLs as it improves the Flex download size story longer term.

 Someone made the suggestion somewhere that when users upgrade or install the 
 player, Adobe ought to download and install all the current RSLs as well. 
 That seems a very sensible idea to me.

 Even if they were a separate download available at the time (or available as 
 a Flash player professional version) it would be better than forcing 
 developers distributing apps to do it. We have app size as an imperative that 
 we have to work with.

 Guy

 On 22/04/2009, at 4:19 AM, Steve Mathews wrote:




 It would only be bigger the first download (assuming the user has 9.0.115.0 
 or later). After that it would be smaller each time.


 Steve

 On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton g...@... wrote:


 Well...yes, it's great if I do it...for the community n'all...but my users 
 *are* sensitive to the download size.

 If it were the same size either way, of course I would do it (as would 
 everyone) but the fact that it's BIGGER as RSLs means I bet LOTS of 
 developers DON'T do it, hence my question...

 Guy


 On 21/04/2009, at 6:19 PM, Tom Chiverton wrote:






 On Tuesday 21 Apr 2009, g...@... wrote:
  Maybe it's worth doing if 50%+ of users will get the benefit, but if
  only 10% will benefit it seems unlikely to be a way to increase the
  general happiness.

 I think you are looking at it wrong. Assuming 200k is nothing on a modern
 connection - I don't know anything about your users of course :-)
 With RSL you either load quicker (win) or have to download app+RSL (same as
 non-RSL), plus you have the benefit of making your (and others !) future RSL
 deployments more likely to be win.


 --
 Helping to synergistically streamline proactive cross-platform seamless
 ubiquitous interfaces as part of the IT team of the year, '09 and '08


 Tom Chiverton
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099
 tom.chiver...@...

 3 Hardman Square, Manchester, M3 3EB
 www.Halliwells.com http://www.halliwells.com/
 

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

 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 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 

[flexcoders] Re: CakePHP+CakeAMFPHP vs WebORB dialema

2009-04-22 Thread raja_s_patil
Thanks Steve,


 AFAIK no - They give you enough to get going but any further is up to your 
 own development efforts. There should be no reason you can't add to the 
 console for code generation.
 
 In my case, I did not use any of the examples or code generation - I just 
 built everything from scratch.
 
 

I too will follow the same, to begin with I will generate code with
mySQL then base Firebird PHP vos with ADOdb data abstraction.

What do u think about it ?

Thanks and Best Regards.



Raja




[flexcoders] Re: RegEx string via cell ItemRenderer to colorize specific characters or a better method?

2009-04-22 Thread Tim Hoff

Hi Adrian,

I came across this function recently, that may suit you needs:

public static function StringReplaceAll( source:String, find:String,
replacement:String ) : String
{
  return source.split( find ).join( replacement );
}

-TH

--- In flexcoders@yahoogroups.com, Adrian Williams adri...@... wrote:

 Hi Tracy,

 This is an interesting idea...but you have me at a bit of a
 lossI was already heading down part of the same path you laid out
 here...here is my renderer code thus far:

 First, the column from my ADG:
 mx:AdvancedDataGridColumn id=groupedHVR1 dataField=Hvr1M
 headerText=HVR1 Mutations headerWordWrap=true textAlign=left
 wordWrap=true editable=false width=100 showDataTips=true
 itemRenderer=renderers.GeneralRenderers.AminoAcidRenderer /


 now the AminoAcidRenderer.mxml:

 ?xml version=1.0 encoding=utf-8?
 mx:Label xmlns:mx=http://www.adobe.com/2006/mxml;
 implements=mx.core.IFactory truncateToFit=true
 width=100% height=100% paddingLeft=2 paddingRight=2
 mx:Script
 ![CDATA[
 import mx.utils.ObjectProxy;

 override public function set text(value:String):void
 {
 if (value != null  value !=value != )
 {
 value = String(value.replace(G,'font
 color=blackG/font'));
 value = String(value.replace(A,'font
 color=greenA/font'));
 value = String(value.replace(T,'font
 color=redT/font'));
 value = String(value.replace(C,'font
 color=blueC/font'));

 super.htmlText = value;
 }
 else
 {
 super.htmlText = value;
 }
 }

 public function newInstance():*
 {
 return new AminoAcidRenderer();
 }
 ]]
 /mx:Script
 /mx:Label

 But, alas, there are a couple of problems here. First, the
 string.replace() only affects the first occurrence of the pattern and
 not every occurrence (I wonder if a regex would remedy that?). Then
 although the substitution gets done for those patterns that are found,
 the htmlText isn't getting rendered...and I wonder if it's due to the
 function set text instead of function set htmlText, which I tried and
 literally got nothing.

 I've also looked at the TextRange that someone else suggested but
 not sure how to possibly use that as it needs a begin/end index and
the
 letters are sporadic from one string to the next.

 How would I setup the labelFunction to parse the string to get the
 letters?

 Thanks in advance!
 Adrian



 Tracy Spratt wrote:
 
 
  I suggest that you use a labelFunction feeding a renderer that uses
  htmlText. The label function would simply parse the strings to get
  the letters, and wrap them in a Font tag specifying the color. This
  would be very easy.
 
 
 
  Tracy Spratt,
 
  Lariat Services, development services available
 
 

 
  *From:* flexcoders@yahoogroups.com
[mailto:flexcod...@yahoogroups.com]
  *On Behalf Of *valdhor
  *Sent:* Wednesday, April 22, 2009 4:44 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Re: RegEx string via cell ItemRenderer to
  colorize specific characters or a better method?
 
 
 
 
 
 
  Have a look into TextRange.
 
  --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com, Adrian Williams adrianw@
  wrote:
  
   Hi All,
  
   Here's a fun one!
  
   I have a column in an ADG, and the cells can contain a variety of
   data including:
  
   16223T,16290T,16319A,16362C,16524G
   or
   73G,249-,263G,290-,291-,309.1C,315.1C,489C,493G,522-,523-
  
   What I need to do is for each of the letters (there's four
possible
   - A,T,C,G) I need to be able to change the font color specific to
each
   letter...i.e. all the A's need to be green, the C's need to be
blue,
   the G's need to be black and the T's need to be red.
  
   As I've been thinking about it, I figure I'm going to have to use
a
   custom itemRenderer for the cell to manipulate the data to begin
with.
   But within the renderer, I'm quasi-stuck. I figure the simplest
way to
   ID the letters is to RegExp the data...then possibly using a
switch/case
   to set the colors for the letters...but not sure how to affect
just the
   individual letters in the overall string and then return that with
the
   cell's renderer??
  
   Anyone have any thoughts on this?
  
   Thanks!
   Adrian
  
 
 





[flexcoders] Test various Flash Player version

2009-04-22 Thread itdanny2002
Is there a way to test various flash player 
version in Flex Builder ? Some of our computers
is locked and won't change flash player version
in short period of time. Anyhow, some can use
latest version. How can I set my computer so that
I can test both ? Or, I just set a lower version
e.g. 7. Then, it works.

Thank you



Re: [flexcoders] Re: Flash player 10 Debug not recognized in FB3

2009-04-22 Thread Ju Aedis
I have the same problem as Merrill Jason's in the Flex Builder 3.0.2.
I uninstall flashplayer(version 10), then install flashplayer version 9(I
want to  test project bug in this version),
then uninstall flashplayer(version 9), last I install flashplayer(version
10).
All the flashplayer is debug version.
When I go to debug app in Flexbuilder, it says the same error too.


2009/4/23 Nate Beck n...@tldstudio.com



 This happens to me all the time whenever I upgrade to a new version of
 the flash player because a site says I need it.  And I forget that I need
 the debug version.

 You need to go to the
 http://www.adobe.com/support/flashplayer/downloads.html page and pick out
 the debug player. Adobe Flash Player 10 — Debugger Versions (aka debug
 players or content debuggers)

 If you're a flash / flex developer, you never install using the same
 installer that installs the standard version

 On Wed, Apr 22, 2009 at 11:32 AM, valdhor valdhorli...@embarqmail.comwrote:



 No. There are two Types of Flash Player - the standard Flash Player and
 the debug Flash player. Both will have the same version number.

 In your case you have version 10.0.22.87 of the standard Flash Player.
 What you want is version 10.0.22.87 of the debug Flash Player.

 Go to http://www.adobe.com/support/flashplayer/downloads.html to find the
 correct download.

 HTH

 Steve


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Jason
 jason.merr...@... wrote:
 
   Every version has both debugger and release binaries. Somehow the
 release binaries are installed.
  
   Alex Harui
 
  OK, thanks, but not really sure what that means or what to do with that
 information. Do you mean I have both the normal Flash player 10 installed
 as well as the debugger version of Flash 10? I have run the adobe
 uninstaller and then re-installed with no luck.
 
  Jason
 




 --

 Cheers,
 Nate
 
 http://blog.natebeck.net


  




-- 
Live Technology in A.J.
─━╋╋━─
.air?air Jordan?air = atmosphere?no,no,no!air = ria = RIA = Rich Internet
Applications!


[flexcoders] How to get ellipsis on truncateToFit for htmlText

2009-04-22 Thread gmoniey22
If you have a label such as:

mx:Label truncateToFit=true text={_myText}/

It will append an ellipsis when/if it truncates the text.

However, if you have the following label:

mx:Label truncateToFit=true htmlText={_myText}/

The ellipsis is gone.

Anyone know how to get it to show up in both instances?

Thanks!



[flexcoders] Flash/FLex gravity

2009-04-22 Thread flexaustin
Does anyone know of a tutorial on actionscript and gravity. Not like dropping a 
ball, but like google maps where you drag an item and it keeps going in that 
direction but slowing down. So gravity in all directions something like a 
hockey puck.

TIA



[flexcoders] Re: How to get ellipsis on truncateToFit for htmlText

2009-04-22 Thread Tim Hoff

From Label.as:

// Plain text gets truncated with a 
// HTML text simply gets clipped, because it is difficult
// to skip over the markup and truncate only the non-markup.

-TH

--- In flexcoders@yahoogroups.com, gmoniey22 gmonie...@... wrote:

 If you have a label such as:

 mx:Label truncateToFit=true text={_myText}/

 It will append an ellipsis when/if it truncates the text.

 However, if you have the following label:

 mx:Label truncateToFit=true htmlText={_myText}/

 The ellipsis is gone.

 Anyone know how to get it to show up in both instances?

 Thanks!





[flexcoders] Re: Drive Letters and Ant

2009-04-22 Thread cuttenv
Sweet I will have to give this a try can you give me a bit more information on 
the example.. ant isn't my strong point.

I keep getting errors with the arg/ attributes.
Thanks!
-Vito


--- In flexcoders@yahoogroups.com, Tim Rowe tim.r...@... wrote:

 We execute our mxml compiler using
 
 exec executable=${flex.sdk.home}/bin/mxmlc.exe 
 dir=${flexproj}/build/mxml output=${flexproj}/build/log/mxmlc.log 
 failonerror=true arg.../exec
 
 rather than using an mxmlc taskdef.  As a result I've not had problems with 
 classpath problems in mxmlc.
 
 Maybe give that a try if all else fails?
 
 --Tim Rowe
 
 
 From: flexcoders@yahoogroups.com 

[mailto:flexcod...@yahoogroups.com] On Behalf Of cuttenv
 Sent: Thursday, 23 April 2009 6:16 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Drive Letters and Ant
 
 
 
 
 So I have my Eclipse and Flex builder installed on my C: drive but all of my 
 projects in my workspace on D:
 
 Everything works fine but when I set the fork=true in my mxmlc to increase 
 the memory my Ant build fails with:
 [mxmlc] java.lang.NoClassDefFoundError: flex2/tools/Compiler
 [mxmlc] Exception in thread main
 
 Anyone have any thoughts??
 
 http://bugs.adobe.com/jira/browse/SDK-20666





RE: [flexcoders] Re: RegEx string via cell ItemRenderer to colorize specific characters or a better method?

2009-04-22 Thread Tracy Spratt
Yes, though I am a bit embarrassed to say so, regex syntax is just too
arcane for my needs.  I need this kind of stuff a few times a year, and just
haven't needed to learn regex.  I use the split/join solution myself.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Tim Hoff
Sent: Wednesday, April 22, 2009 9:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: RegEx string via cell ItemRenderer to colorize
specific characters or a better method?

 






Hi Adrian,

I came across this function recently, that may suit you needs:

public static function StringReplaceAll( source:String, find:String,
replacement:String ) : String
{
 return source.split( find ).join( replacement );
}

-TH

--- In flexcoders@yahoogroups.com, Adrian Williams adri...@... wrote:

 Hi Tracy,
 
 This is an interesting idea...but you have me at a bit of a 
 lossI was already heading down part of the same path you laid out 
 here...here is my renderer code thus far:
 
 First, the column from my ADG:
 mx:AdvancedDataGridColumn id=groupedHVR1 dataField=Hvr1M 
 headerText=HVR1 Mutations headerWordWrap=true textAlign=left 
 wordWrap=true editable=false width=100 showDataTips=true 
 itemRenderer=renderers.GeneralRenderers.AminoAcidRenderer /
 
 
 now the AminoAcidRenderer.mxml:
 
 ?xml version=1.0 encoding=utf-8?
 mx:Label xmlns:mx=http://www.adobe.com/2006/mxml; 
 implements=mx.core.IFactory truncateToFit=true
 width=100% height=100% paddingLeft=2 paddingRight=2
 mx:Script
 ![CDATA[
 import mx.utils.ObjectProxy;
 
 override public function set text(value:String):void
 {
 if (value != null  value !=value != )
 {
 value = String(value.replace(G,'font 
 color=blackG/font'));
 value = String(value.replace(A,'font 
 color=greenA/font'));
 value = String(value.replace(T,'font 
 color=redT/font'));
 value = String(value.replace(C,'font 
 color=blueC/font'));
 
 super.htmlText = value;
 }
 else
 {
 super.htmlText = value;
 } 
 }
 
 public function newInstance():*
 {
 return new AminoAcidRenderer();
 }
 ]]
 /mx:Script
 /mx:Label
 
 But, alas, there are a couple of problems here. First, the 
 string.replace() only affects the first occurrence of the pattern and 
 not every occurrence (I wonder if a regex would remedy that?). Then 
 although the substitution gets done for those patterns that are found, 
 the htmlText isn't getting rendered...and I wonder if it's due to the 
 function set text instead of function set htmlText, which I tried and 
 literally got nothing.
 
 I've also looked at the TextRange that someone else suggested but 
 not sure how to possibly use that as it needs a begin/end index and the 
 letters are sporadic from one string to the next.
 
 How would I setup the labelFunction to parse the string to get the 
 letters?
 
 Thanks in advance!
 Adrian
 
 
 
 Tracy Spratt wrote:
 
 
  I suggest that you use a labelFunction feeding a renderer that uses 
  htmlText. The label function would simply parse the strings to get 
  the letters, and wrap them in a Font tag specifying the color. This 
  would be very easy.
 
  
 
  Tracy Spratt,
 
  Lariat Services, development services available
 
  
 
  *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
  *On Behalf Of *valdhor
  *Sent:* Wednesday, April 22, 2009 4:44 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Re: RegEx string via cell ItemRenderer to 
  colorize specific characters or a better method?
 
  
 
 
 
 
  Have a look into TextRange.
 
  --- In flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com, Adrian Williams adrianw@ 
  wrote:
  
   Hi All,
  
   Here's a fun one!
  
   I have a column in an ADG, and the cells can contain a variety of
   data including:
  
   16223T,16290T,16319A,16362C,16524G
   or
   73G,249-,263G,290-,291-,309.1C,315.1C,489C,493G,522-,523-
  
   What I need to do is for each of the letters (there's four possible
   - A,T,C,G) I need to be able to change the font color specific to each
   letter...i.e. all the A's need to be green, the C's need to be
blue,
   the G's need to be black and the T's need to be red.
  
   As I've been thinking about it, I figure I'm going to have to use a
   custom itemRenderer for the cell to manipulate the data to begin with.
   But within the renderer, I'm quasi-stuck. I figure the simplest way to
   ID the letters is to RegExp the data...then possibly using a
switch/case
   to set the colors for the letters...but not sure how to affect just
the
   individual letters in the overall string and then return that with the
   cell's renderer??
  
   Anyone have any thoughts on this?
  
   Thanks!
   Adrian
  
 
 






RE: [flexcoders] Re: Flash player 10 Debug not recognized in FB3

2009-04-22 Thread Tracy Spratt
There are lots of things that can interfere with installing a particular
FlashPlayer version.  Always check the installed version using a checker
site.  Here is one:

http://www.flashplayerversion.com/

 

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ju Aedis
Sent: Wednesday, April 22, 2009 9:30 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flash player 10 Debug not recognized in FB3

 






I have the same problem as Merrill Jason's in the Flex Builder 3.0.2.
I uninstall flashplayer(version 10), then install flashplayer version 9(I
want to  test project bug in this version),
then uninstall flashplayer(version 9), last I install flashplayer(version
10).
All the flashplayer is debug version.
When I go to debug app in Flexbuilder, it says the same error too.



2009/4/23 Nate Beck n...@tldstudio. mailto:n...@tldstudio.com com

 

This happens to me all the time whenever I upgrade to a new version of the
flash player because a site says I need it.  And I forget that I need the
debug version.

 

You need to go to the http://www.adobe.
http://www.adobe.com/support/flashplayer/downloads.html
com/support/flashplayer/downloads.html page and pick out the debug player.
Adobe Flash Player 10 - Debugger Versions (aka debug players or content
debuggers)

 

If you're a flash / flex developer, you never install using the same
installer that installs the standard version

 

On Wed, Apr 22, 2009 at 11:32 AM, valdhor valdhorlists@
mailto:valdhorli...@embarqmail.com embarqmail.com wrote:

 

No. There are two Types of Flash Player - the standard Flash Player and
the debug Flash player. Both will have the same version number.

In your case you have version 10.0.22.87 of the standard Flash Player. What
you want is version 10.0.22.87 of the debug Flash Player.

Go to http://www.adobe. http://www.adobe.com/support/flashplayer/downloads.
html com/support/flashplayer/downloads.html to find the correct download.

HTH

Steve



--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
Jason jason.merr...@... wrote:

  Every version has both debugger and release binaries. Somehow the
release binaries are installed.
  
  Alex Harui
 
 OK, thanks, but not really sure what that means or what to do with that
information. Do you mean I have both the normal Flash player 10 installed
as well as the debugger version of Flash 10? I have run the adobe
uninstaller and then re-installed with no luck. 
 
 Jason






-- 

Cheers,
Nate

http://blog. http://blog.natebeck.net natebeck.net






-- 
Live Technology in A.J.
─━╋╋━─
.air?air Jordan?air = atmosphere?no,no,no!air = ria = RIA = Rich Internet
Applications!





[flexcoders] Re: What's your favorite Tip/Trick ?

2009-04-22 Thread Amy
--- In flexcoders@yahoogroups.com, Brad Bueche brad.bue...@... wrote:

 If you click the full screen option on the player (in screen) then it will
 go full screen and you wont have to scroll around.   I always just click
 full screen as a matter of habit so I was not aware of  the issue and didnt
 think to point it out. sorry!

Cool, thanks :-)




RE: [flexcoders] Initialization Order - External Data

2009-04-22 Thread Tracy Spratt
*All* external data calls in Flex are asynchronous.  There is no way to
force synchronous behavior.  There in no code blocking. Resistance is
futile.  You must use the result event to organize the calls and any
dependent responses.

 

This is a conceptual hurdle if you are not used to the idea, but is easily
handled when you submit.

 

One hint, all the rpc calls return an AsyncToken.  This dynamic object can
be populated with anything you need to identify a particular result.  I use
simple string properties, and a switch statement in the result handler, but
you can also specify callback functions.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of ericmaslowski
Sent: Wednesday, April 22, 2009 5:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Initialization Order - External Data

 






Hello,
I'm building a Flex app and it's been going fairly well. However, I've run
into a problem when trying to load data from an external source (simple TXT
file for now). I can't seem to control when a particular function is called.


What I have is a series of components that are filled with images when the
application starts. I want the list of images to come from a txt file (no
problem with URLLoader). What I'm finding out is that the other functions in
my init routine are called before I finish reading in the file.

For example, I have a routine called from creationComplete.

function onStart():void
{
initDatabase();
initComponents();
}

in the case above, initComponents() is called before initDatabase
finishes and I get a bunch of broken image links. Any advice on how I can
guarantee the above executes in order? Is there any way I can force Flex to
operate in a very linear manner (at least for initialization)? 

Thanks!

E.





RE: [flexcoders] HTTPService mistery

2009-04-22 Thread Tracy Spratt
I would not expect the quality of the client to significantly affect the
speed of the data service call.

 

However, a slow computer *will* have issues with rendering the content.
Have you determined definitively that the speed issue is with the data
service call and not the rendering?

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: Wednesday, April 22, 2009 7:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTTPService mistery

 






Is it possible that on low end computers HTTPService.send command would take
up to 10 or more times longer than on a more or less decent computer? Is
there a way of tracking HTTPService.send command?

Thanks





RE: [flexcoders] Re: Flash player 10 Debug not recognized in FB3

2009-04-22 Thread Tracy Spratt
Here is another version check site:

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Tracy Spratt
Sent: Wednesday, April 22, 2009 10:28 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flash player 10 Debug not recognized in FB3

 






There are lots of things that can interfere with installing a particular
FlashPlayer version.  Always check the installed version using a checker
site.  Here is one:

http://www.flashplayerversion.com/

 

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ju Aedis
Sent: Wednesday, April 22, 2009 9:30 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flash player 10 Debug not recognized in FB3

 







I have the same problem as Merrill Jason's in the Flex Builder 3.0.2.
I uninstall flashplayer(version 10), then install flashplayer version 9(I
want to  test project bug in this version),
then uninstall flashplayer(version 9), last I install flashplayer(version
10).
All the flashplayer is debug version.
When I go to debug app in Flexbuilder, it says the same error too.




2009/4/23 Nate Beck n...@tldstudio. mailto:n...@tldstudio.com com

 

This happens to me all the time whenever I upgrade to a new version of the
flash player because a site says I need it.  And I forget that I need the
debug version.

 

You need to go to the http://www.adobe.
http://www.adobe.com/support/flashplayer/downloads.html
com/support/flashplayer/downloads.html page and pick out the debug player.
Adobe Flash Player 10 - Debugger Versions (aka debug players or content
debuggers)

 

If you're a flash / flex developer, you never install using the same
installer that installs the standard version

 

On Wed, Apr 22, 2009 at 11:32 AM, valdhor valdhorlists@
mailto:valdhorli...@embarqmail.com embarqmail.com wrote:

 

No. There are two Types of Flash Player - the standard Flash Player and
the debug Flash player. Both will have the same version number.

In your case you have version 10.0.22.87 of the standard Flash Player. What
you want is version 10.0.22.87 of the debug Flash Player.

Go to http://www.adobe. http://www.adobe.com/support/flashplayer/downloads.
html com/support/flashplayer/downloads.html to find the correct download.

HTH

Steve



--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
Jason jason.merr...@... wrote:

  Every version has both debugger and release binaries. Somehow the
release binaries are installed.
  
  Alex Harui
 
 OK, thanks, but not really sure what that means or what to do with that
information. Do you mean I have both the normal Flash player 10 installed
as well as the debugger version of Flash 10? I have run the adobe
uninstaller and then re-installed with no luck. 
 
 Jason






-- 

Cheers,
Nate

http://blog. http://blog.natebeck.net natebeck.net







-- 
Live Technology in A.J.
─━╋╋━─
.air?air Jordan?air = atmosphere?no,no,no!air = ria = RIA = Rich Internet
Applications!





RE: [flexcoders] e4x challenge

2009-04-22 Thread Tracy Spratt
E4x is great for returning XMLLists but you are really asking form a
transformation, right?  You want the same structure, but without the nodes
where type=file, correct?

 

Maybe someone else will have a better idea, but if I needed this I would
just write a recursive function to walk the original and build the
transformed structure.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Michael Slinn
Sent: Wednesday, April 22, 2009 7:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] e4x challenge

 






I would like to filter out all elements with type=file from the following
XML. That turns out to be rather difficult because node/ elements are
nested. Any suggestions?

?xml version=1.0 encoding=UTF-8?
node name=classes type=dir uri=file:/classes/
node name=spring-beans-2.0.dtd type=file
uri=file:/classes/spring-beans-2.0.dtd /node name=.svn type=dir
uri=file:/classes/.svn/node name=props type=dir
uri=file:/classes/.svn/props/ /node name=text-base type=dir
uri=file:/classes/.svn/text-base/node name=sample.log4j.xml.svn-base
type=file uri=file:/classes/.svn/text-base/sample.log4j.xml.svn-base
//nodenode name=format type=file uri=file:/classes/.svn/format
/node name=prop-base type=dir
uri=file:/classes/.svn/prop-base/node name=sample.log4j.xml.svn-base
type=file uri=file:/classes/.svn/prop-base/sample.log4j.xml.svn-base
//nodenode name=entries type=file uri=file:/classes/.svn/entries
/node name=tmp type=dir uri=file:/classes/.svn/tmp/node
name=props type=dir uri=file:/classes/.svn/tmp/props/ /node
name=text-base type=dir uri=file:/classes/.svn/tmp/text-base/ /node
name=prop-base type=dir uri=file:/classes/.svn/tmp/prop-base/
//node/nodenode name=com type=dir uri=file:/classes/com/node
name=.svn type=dir uri=file:/classes/com/.svn/node name=props
type=dir uri=file:/classes/com/.svn/props/ /node name=text-base
type=dir uri=file:/classes/com/.svn/text-base/ /node name=format
type=file uri=file:/classes/com/.svn/format /node name=prop-base
type=dir uri=file:/classes/com/.svn/prop-base/ /node name=entries
type=file uri=file:/classes/com/.svn/entries /node name=tmp
type=dir uri=file:/classes/com/.svn/tmp/node name=props type=dir
uri=file:/classes/com/.svn/tmp/props/ /node name=text-base type=dir
uri=file:/classes/com/.svn/tmp/text-base/ /node name=prop-base
type=dir uri=file:/classes/com/.svn/tmp/prop-base/ //node/nodenode
name=kahootz type=dir uri=file:/classes/com/kahootz/node
name=activemq.xml type=file uri=file:/classes/com/kahootz/activemq.xml
/node name=context type=dir
uri=file:/classes/com/kahootz/context/node name=remote-jms-context.xml
type=file uri=file:/classes/com/kahootz/context/remote-jms-context.xml
/node name=.svn type=dir
uri=file:/classes/com/kahootz/context/.svn/node name=props type=dir
uri=file:/classes/com/kahootz/context/.svn/props/ /node name=text-base
type=dir uri=file:/classes/com/kahootz/context/.svn/text-base/node
name=jms-context.xml.svn-base type=file
uri=file:/classes/com/kahootz/context/.svn/text-base/jms-context.xml.svn-ba
se /node name=remote-jms-context.xml.svn-base type=file
uri=file:/classes/com/kahootz/context/.svn/text-base/remote-jms-context.xml
.svn-base //nodenode name=format type=file
uri=file:/classes/com/kahootz/context/.svn/format /node name=prop-base
type=dir uri=file:/classes/com/kahootz/context/.svn/prop-base/node
name=jms-context.xml.svn-base type=file
uri=file:/classes/com/kahootz/context/.svn/prop-base/jms-context.xml.svn-ba
se /node name=remote-jms-context.xml.svn-base type=file
uri=file:/classes/com/kahootz/context/.svn/prop-base/remote-jms-context.xml
.svn-base //nodenode name=entries type=file
uri=file:/classes/com/kahootz/context/.svn/entries /node name=tmp
type=dir uri=file:/classes/com/kahootz/context/.svn/tmp/node
name=props type=dir
uri=file:/classes/com/kahootz/context/.svn/tmp/props/ /node
name=text-base type=dir
uri=file:/classes/com/kahootz/context/.svn/tmp/text-base/ /node
name=prop-base type=dir
uri=file:/classes/com/kahootz/context/.svn/tmp/prop-base/
//node/nodenode name=server-context.xml type=file
uri=file:/classes/com/kahootz/context/server-context.xml /node
name=jms-context.xml type=file
uri=file:/classes/com/kahootz/context/jms-context.xml //nodenode
name=space type=dir uri=file:/classes/com/kahootz/space/node
name=context type=dir
uri=file:/classes/com/kahootz/space/context/node
name=remote-space-context.xml type=file
uri=file:/classes/com/kahootz/space/context/remote-space-context.xml
/node name=.svn type=dir
uri=file:/classes/com/kahootz/space/context/.svn/node name=props
type=dir uri=file:/classes/com/kahootz/space/context/.svn/props/ /node
name=text-base type=dir
uri=file:/classes/com/kahootz/space/context/.svn/text-base/node
name=space-context.xml.svn-base type=file
uri=file:/classes/com/kahootz/space/context/.svn/text-base/space-context.xm
l.svn-base /node name=local-space-context.xml.svn-base type=file

[flexcoders] Re: HTTPService mistery

2009-04-22 Thread markgoldin_2000
While it seems to me I am missing something obvious I am pretty sertant it is 
somewhere in the send command. I have traced an execution to the point that for 
a low end box it takes about 5 sec. between a send command and an HTTPService 
callback function call. I have timed my server and it does not take time at 
all. I timed the server for both my development computer and a low level box. 
Server time is exactly the same. (what else whould one expect?) But time it 
tales for an execution to get into a callback function is very different. So, I 
am assuming that it takes some time for a low end box to send a data request to 
the server.


--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 I would not expect the quality of the client to significantly affect the
 speed of the data service call.
 
  
 
 However, a slow computer *will* have issues with rendering the content.
 Have you determined definitively that the speed issue is with the data
 service call and not the rendering?
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: Wednesday, April 22, 2009 7:06 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] HTTPService mistery
 
  
 
 
 
 
 
 
 Is it possible that on low end computers HTTPService.send command would take
 up to 10 or more times longer than on a more or less decent computer? Is
 there a way of tracking HTTPService.send command?
 
 Thanks





RE: [flexcoders] Re: Accessibility stopped working

2009-04-22 Thread Gordon Smith
If the accessibility classes ever get initialized on Mac, I'd be very 
surprised. Doesn't Capabilities.hasAccessibility return false in all Mac 
Players?

Gordon Smith
Adobe Flex SDK Team

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Alex Harui
Sent: Tuesday, April 21, 2009 11:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Accessibility stopped working




Ok, I'm out of my area of knowledge.  I didn't even think we had good 
accessibility for mac.  Did we not ship the sources for mx.accessibility.*

I'm off duty for the night.  Hopefully you'll figure it out.

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 Guy Morton
Sent: Tuesday, April 21, 2009 10:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working






I'm developing on a mac. I tired restarting the computer anyway. :-)

How would I set a breakpoint in the accessibility classes?

Guy

On 22/04/2009, at 2:59 PM, Alex Harui wrote:





I guess you could set breakpoints to see if code in ! the accimpl classes is 
getting run.  When this happens, can you run some other Windows EXE that and 
use its accessibility features?  Did you try restarting the computer?

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: 
http://blogs.adobe.com/aharuihttp://blogs.adobe.c!%0d%0a%20om/aharu%0d%0ai

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Guy Morton
Sent: Tuesday, April 21, 2009 5:39 PM
To! : flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working







I have previously done a full clean and rebuild, and it made no difference.

The link report from a month ago shows the accessibility classes were being 
included at that time.


I just did a clean and build and generated a link repor! t...it h as entries 
like this:

script name=/Applications/Adobe Flex Builder 
3/sdks/3.1.0/frameworks/libs/framework.swc(mx/accessibility/AccImpl) 
mod=1214927782165 size=3103 optimizedsize=1768
  def id=mx.accessibility:AccImpl /
  pre id=flash.accessibility:AccessibilityImplementation /
  dep id=mx.core:mx_internal /
  dep id=flash.accessibility:Accessibi! lityProperties /
  dep ! id=mx.accessibility:UIComponentAccImpl /
  dep id=mx.core:UIComponent /
  dep id=flash.events:Event /
  dep id=AS3 /
  dep id=flash.accessibility:Accessibility /
/script

But still, no accessibility appears i! n the actual binary.


If I turn it off in the compiler, the link report doesn't have these entries, 
so it's clearly *trying* to include the accessibility features. They just 
aren't working.

This is very frustrating.

Guy


On 22/04/2009, at 9:38 AM, Alex Harui wrote:






Not sure.  Do a full clean and rebuild.  Generate a link-report and see if the 
accessibility classes are in the SWF


Alex Harui
Flex SDK Dev! eloper
A! dobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From:! nb sp;flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
Behalf Of Guy Morton
Sent: Tuesday, April 21, 2009 4:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working
Impor! tance: High








This is really annoying.

This happened to me back in January and now it has happened again.

I've followed all the advice in the previous posts to no avail.

Can someone from Adobe please throw me a clue here? Why would -accessible in 
the project properties suddenly stop working?

As you may have guessed, it has stopped working for me again. The cause is a 
complete mystery.


Guy


On 16/01/2009, at 12:49 PM, Guy Morton wrote:


!



And as mysteriously as it stopped working, it started working again *shrug*

Guy

On 16/01/2009, at 8:45 AM, Guy Morton wrote:






To answer your other question, I also wondered if it was my client, so have 
checked the binary in Safari, Firefox and Opera and all agree there is no 
accessibility!  on offer.


On 16/01! /2009, a t 4:21 AM, Anthony DeBonis wrote:






Try compiling with accessible turned off and get the ! swf size - when
y! ou turn accessible compile back on the swf size should be a bit
larger. This will tell you if the compile is backing in the needed
classes. If so it may be the client tool you're using to run the
application. Can you give more information?

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Guy 
Morton g...@... wrote:

 I had been successfully compiling my app via flexbuilder 3 using the
-
 accessible compiler flag. Then it stopped working, for no apparentn! bsp;!  
 rea son. I tried reinstalling fb but it made no difference. The
 compiler option is still set but now my app gets compiled with no
 accessibility features.

 Anyone got any ideas as to why this might have happened 

[flexcoders] Re: How to get ellipsis on truncateToFit for htmlText

2009-04-22 Thread gmoniey22
yea, I figured that was the case... I was just wondering if someone had a nice 
work around...

--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote:

 
 From Label.as:
 
 // Plain text gets truncated with a 
 // HTML text simply gets clipped, because it is difficult
 // to skip over the markup and truncate only the non-markup.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, gmoniey22 gmoniey22@ wrote:
 
  If you have a label such as:
 
  mx:Label truncateToFit=true text={_myText}/
 
  It will append an ellipsis when/if it truncates the text.
 
  However, if you have the following label:
 
  mx:Label truncateToFit=true htmlText={_myText}/
 
  The ellipsis is gone.
 
  Anyone know how to get it to show up in both instances?
 
  Thanks!
 





Re: [flexcoders] Re: Accessibility stopped working

2009-04-22 Thread Guy Morton
Well...it's certainly been the case that I could tab through my app  
before. I know I couldn't get the Mac OS to ever read the text out of  
my app on Mac (works with JAWS ok, sort of, though)



On 23/04/2009, at 1:38 PM, Gordon Smith wrote:





If the accessibility classes ever get initialized on Mac, I'd be  
very surprised. Doesn't Capabilities.hasAccessibility return false  
in all Mac Players?




Gordon Smith

Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]  
On Behalf Of Alex Harui

Sent: Tuesday, April 21, 2009 11:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Accessibility stopped working







Ok, I’m out of my area of knowledge.  I didn’t even think we had  
good accessibility for mac.  Did we not ship the sources for  
mx.accessibility.*




I’m off duty for the night.  Hopefully you’ll figure it out.



Alex Harui

Flex SDK Developer

Adobe Systems Inc.

Blog: http://blogs.adobe.com/aharui



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]  
On Behalf Of Guy Morton

Sent: Tuesday, April 21, 2009 10:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working








I'm developing on a mac. I tired restarting the computer anyway. :-)



How would I set a breakpoint in the accessibility classes?



Guy



On 22/04/2009, at 2:59 PM, Alex Harui wrote:









I guess you could set breakpoints to see if code in ! the accimpl  
classes is getting run.  When this happens, can you run some other  
Windows EXE that and use its accessibility features?  Did you try  
restarting the computer?




Alex Harui

Flex SDK Developer

Adobe Systems Inc.

Blog: http://blogs.adobe.com/aharui



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]  
On Behalf Of Guy Morton

Sent: Tuesday, April 21, 2009 5:39 PM
To! : flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working









I have previously done a full clean and rebuild, and it made no  
difference.




The link report from a month ago shows the accessibility classes  
were being included at that time.




I just did a clean and build and generated a link repor! t...it h as  
entries like this:




script name=/Applications/Adobe Flex Builder 3/sdks/3.1.0/ 
frameworks/libs/framework.swc(mx/accessibility/AccImpl)  
mod=1214927782165 size=3103 optimizedsize=1768


  def id=mx.accessibility:AccImpl /

  pre id=flash.accessibility:AccessibilityImplementation /

  dep id=mx.core:mx_internal /

  dep id=flash.accessibility:Accessibi! lityProperties /

  dep ! id=mx.accessibility:UIComponentAccImpl /

  dep id=mx.core:UIComponent /

  dep id=flash.events:Event /

  dep id=AS3 /

  dep id=flash.accessibility:Accessibility /

/script



But still, no accessibility appears i! n the actual binary.



If I turn it off in the compiler, the link report doesn't have these  
entries, so it's clearly *trying* to include the accessibility  
features. They just aren't working.




This is very frustrating.



Guy





On 22/04/2009, at 9:38 AM, Alex Harui wrote:










Not sure.  Do a full clean and rebuild.  Generate a link-report and  
see if the accessibility classes are in the SWF




Alex Harui

Flex SDK Dev! eloper

A! dobe Systems Inc.

Blog: http://blogs.adobe.com/aharui



From:! nb sp;flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com 
] On Behalf Of Guy Morton

Sent: Tuesday, April 21, 2009 4:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working
Impor! tance: High










This is really annoying.



This happened to me back in January and now it has happened again.



I've followed all the advice in the previous posts to no avail.



Can someone from Adobe please throw me a clue here? Why would - 
accessible in the project properties suddenly stop working?




As you may have guessed, it has stopped working for me again. The  
cause is a complete mystery.




Guy





On 16/01/2009, at 12:49 PM, Guy Morton wrote:



!



And as mysteriously as it stopped working, it started working  
again *shrug*




Guy



On 16/01/2009, at 8:45 AM, Guy Morton wrote:







To answer your other question, I also wondered if it was my client,  
so have checked the binary in Safari, Firefox and Opera and all  
agree there is no accessibility!  on offer.






On 16/01! /2009, a t 4:21 AM, Anthony DeBonis wrote:







Try compiling with accessible turned off and get the ! swf size - when
y! ou turn accessible compile back on the swf size should be a bit
larger. This will tell you if the compile is backing in the needed
classes. If so it may be the client tool you're using to run the
application. Can you give more information?

--- In flexcoders@yahoogroups.com, Guy Morton g...@... wrote:

 I had been successfully compiling my app via flexbuilder 3 using the
-
 accessible compiler flag. Then it stopped 

RE: [flexcoders] Re: Accessibility stopped working

2009-04-22 Thread Alex Harui
So is the problem that you can't tab on the Mac?

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 Guy Morton
Sent: Wednesday, April 22, 2009 9:03 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working





Well...it's certainly been the case that I could tab through my app before. I 
know I couldn't get the Mac OS to ever read the text out of my app on Mac 
(works with JAWS ok, sort of, though)


On 23/04/2009, at 1:38 PM, Gordon Smith wrote:




If the accessibility classes ever get initialized on Mac, I'd be very 
surprised. Doesn't Capabilities.hasAccessibility return false in all Mac 
Players?

Gordon Smith
Adobe Flex SDK Team

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Alex Harui
Sent: Tuesday, April 21, 2009 11:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Accessibility stopped working





Ok, I'm out of my area of knowledge.  I didn't even think we had good 
accessibility for mac.  Did we not ship the sources for mx.accessibility.*

I'm off duty for the night.  Hopefully you'll figure it out.

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 Guy Morton
Sent: Tuesday, April 21, 2009 10:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working







I'm developing on a mac. I tired restarting the computer anyway. :-)

How would I set a breakpoint in the accessibility classes?

Guy

On 22/04/2009, at 2:59 PM, Alex Harui wrote:






I guess you could set breakpoints to see if code in ! the accimpl classes is 
getting run.  When this happens, can you run some other Windows EXE that and 
use its accessibility features?  Did you try restarting the computer?

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: 
http://blogs.adobe.com/aharuihttp://blogs.adobe.c!%0d%0a%20om/aharu%0d%0ai

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Guy Morton
Sent: Tuesday, April 21, 2009 5:39 PM
To! : flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working








I have previously done a full clean and rebuild, and it made no difference.

The link report from a month ago shows the accessibility classes were being 
included at that time.


I just did a clean and build and generated a link repor! t...it h as entries 
like this:

script name=/Applications/Adobe Flex Builder 
3/sdks/3.1.0/frameworks/libs/framework.swc(mx/accessibility/AccImpl) 
mod=1214927782165 size=3103 optimizedsize=1768
  def id=mx.accessibility:AccImpl /
  pre id=flash.accessibility:AccessibilityImplementation /
  dep id=mx.core:mx_internal /
  dep id=flash.accessibility:Accessibi! lityProperties /
  dep ! id=mx.accessibility:UIComponentAccImpl /
  dep id=mx.core:UIComponent /
  dep id=flash.events:Event /
  dep id=AS3 /
  dep id=flash.accessibility:Accessibility /
/script

But still, no accessibility appears i! n the actual binary.


If I turn it off in the compiler, the link report doesn't have these entries, 
so it's clearly *trying* to include the accessibility features. They just 
aren't working.

This is very frustrating.

Guy


On 22/04/2009, at 9:38 AM, Alex Harui wrote:







Not sure.  Do a full clean and rebuild.  Generate a link-report and see if the 
accessibility classes are in the SWF


Alex Harui
Flex SDK Dev! eloper
A! dobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From:! nb sp;flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
Behalf Of Guy Morton
Sent: Tuesday, April 21, 2009 4:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Accessibility stopped working
Impor! tance: High









This is really annoying.

This happened to me back in January and now it has happened again.

I've followed all the advice in the previous posts to no avail.

Can someone from Adobe please throw me a clue here? Why would -accessible in 
the project properties suddenly stop working?

As you may have guessed, it has stopped working for me again. The cause is a 
complete mystery.


Guy


On 16/01/2009, at 12:49 PM, Guy Morton wrote:


!




And as mysteriously as it stopped working, it started working again *shrug*

Guy

On 16/01/2009, at 8:45 AM, Guy Morton wrote:







To answer your other question, I also wondered if it was my client, so have 
checked the binary in Safari, Firefox and Opera and all agree there is no 
accessibility!  on offer.


On 16/01! /2009, a t 4:21 AM, Anthony DeBonis wrote:







Try compiling with accessible turned off and get the ! swf size - when
y! ou turn accessible compile back on the swf size should be a bit

RE: [flexcoders] difference between stage and application?

2009-04-22 Thread Alex Harui
You should use the Flash/Flex Component Kit to wrap your Flash content.  Flash 
content won't work well in Flex without being wrapped in some fashion.  The 
minimum thing you could do is stick in an mx:UIComponent of the appropriate 
size in the application and addChild the sprite to it.

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 michaeljonknight
Sent: Wednesday, April 22, 2009 2:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] difference between stage and application?





Hello,

I am somewhat new to flex. We are working on a project that uses an exported 
swc from Flash and running into some problems getting everything we want to 
show up layered correctly.

I want to add a menu bar (mx.controls.MenuBar) on top of some content from the 
flash swc (flash.display.Sprite). I can only get the menu bar to show up if I 
call application.addChild and the sprite to show up if I call 
application.stage.addChild. But the menu bar popups are behind the sprite.

I don't really understand the difference between the application and the stage 
either. Can anyone help? And is there an established way to work with 
mx.controls and flash.display.sprite data?

thanks in advance,
madmik3



Re: [flexcoders] Flash/FLex gravity

2009-04-22 Thread Josh McDonald
That sort of thing (a vector) is easy, once you've determined the direction
in radians, and a speed. Let's call it pixels-per-frame, to make things
simple. Note that this is typed in gmail, and will need tweaks!

accuratePositionX = x;
accuratePositionY = y;

velocityX = Math.cos(direction) * initialVelocity;
velocityY = Math.sin(direction) * initialVelocity;

//Do every frame:
function updatePosition():void
{
accuratePositionX += velocityX;
accuratePositionY += velocityY;

x = Math.round(accuratePositionX);
y = Math.round(accuratePositionY);

velocityX *= 0.9;
velocityY *= 0.9;

if (velocityX  0.05  velocityX  0.05)
stopTheAnimation();
}

Cheers,
-Josh

2009/4/23 flexaustin flexaus...@yahoo.com



 Does anyone know of a tutorial on actionscript and gravity. Not like
 dropping a ball, but like google maps where you drag an item and it keeps
 going in that direction but slowing down. So gravity in all directions
 something like a hockey puck.

 TIA

  




-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

Josh 'G-Funk' McDonald
  -  j...@joshmcdonald.info
  -  http://twitter.com/sophistifunk
  -  http://flex.joshmcdonald.info/


Re: [flexcoders] blazeds and J2EE application

2009-04-22 Thread Josh McDonald
The best answer at the moment is probably Spring-Flex (not Prana, but
server-side components to link BlazeDS with Spring):

http://www.springsource.org/spring-flex

-Josh

2009/4/23 hworke kanps...@gmail.com




 Hello Devs,

 I am working to integrate BlazeDs with an existing J2EE application.
 What I am trying to do is create an administrative flex app where the
 admin can see what changes are happening in the J2EE app. I need
 to call some of the J2EE app APIs to get the data and pass it to the
 Flex application. I believe that I need to write some server side Java
 code and call the API and then connect those Java code with BlazeDs.

 Now my question is how do I integrate Blazeds with an existing J2EE
 app? Please suggest.

 Regards...

  




-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

Josh 'G-Funk' McDonald
  -  j...@joshmcdonald.info
  -  http://twitter.com/sophistifunk
  -  http://flex.joshmcdonald.info/


[flexcoders] Re: Flex Windows Not Loading Bug

2009-04-22 Thread edlueze
Hi Steve / Everybody:

The FlexMDI library has invigorated my enthusiasm to re-think the layout of the 
application - it was getting obvious that the application was getting far too 
cluttered anyway. It sounds like you've developed some best practices and I'm 
eager to hear about them.

The initial architecture called for the following types of windows (with a 
small w). Note that these names defined in the architecture do not match the 
Flex names as they pre-date the decision to even use Flex:

- Canvas (large spanning windows - it would be great if the user could toggle 
these take up the entire screen)
- Windows (wide-but-short windows designed to take the entire width of the 
screen - they do not always need to be showing)
- Property Window (type of Window containing the properties of whatever is 
selected in the Canvas)
- Tabs within the Property Window
- Panels (small floating windows with many purposes - it would be nice to 
also be able to group and anchor these)
- Dialog Boxes (modal pop-ups)
- Wizards (fancy modal pop-ups)

Do you have any ideas on how I can take this framework and adapt it to FlexMDI 
or whatever else you like using?

All the best,

Ted.

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 It looks as though it is not a true window.
 
 I don't think I would have done it the way you have (But who am I to tell you 
 how to do something ;-).
 
 Does it still happen with only one accordion item?
 
 Maybe it's a deferred instantiation problem in the tab navigator. What 
 happens if you set all tabs to instantiate?
 
 I really don't think this is something we are going to be able to figure out 
 in a forum and posting code is obviously out of the question. If I can free 
 up some time I may respond to your ad.
 
 
 --- In flexcoders@yahoogroups.com, edlueze edlueze@ wrote:
 
  Hi Steve - everybody:
  
  The FlexMDI definitely looks interesting! And I might take you up on your 
  offer to pay you to take a look at our bug.
  
  For everybody's benefit, I've put together a simple PowerPoint giving an 
  example of the problem. You can view the PPT here:
  
  http://www.onegen.com/download/FlexWindowNotLoadingBug001.ppt
  
  Thanks really for all your time and help - this one's got us baffled!
  
  Ted.
  
  --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
  
   You may like to look at FlexMDI (Part of FlexLib) for your windowing 
   requirements. I use an older version extensively and have not seen 
   anything like what you are experiencing.
   
   
   Best Regards
   
   
   
   Steve
   
   PS. If you want to pay me to look at it I'll gladly do so ;-}
   
   
   --- In flexcoders@yahoogroups.com, edlueze edlueze@ wrote:
   
Please help me fix a windowing integration bug in our Adobe Flex 
application. I'd love some free advice, but we really need the problem 
solved so we've also posted the question on rent-a-coder.

All of our Flex windows (Application/Canvas/Panel/TitleWindow/etc) work 
fine individually when running in a browser (Firefox and Internet 
Explorer). Now we are trying to integrate all of the Windows together 
(less than 100 in all) and we are observing some pretty bizarre 
behavior - sometimes a window will load and other times the same window 
will not load. But the problem is not intermittent - it happens very 
often and we can usually force a window failure on demand.

When the window does not load we observe the CPU usage in Task Manager 
hitting the maximum, and we believe that the Flex Application has 
fallen into an endless race condition in which it is constantly 
resizing the components within the window (we randomly pause the 
application and usually find the stack doing something like this). When 
this happens the window's creationComplete event doesn't trigger and we 
cannot insert a breakpoint.

We make heavy use of constraintRows and constraintColumns and we are 
suspicious of them. We use a lot of Accordion's as well as the custom 
HAccordion from Flexlib, but we've had trouble positively identifying 
them as the culprit. Each window can get pretty buried in a deep 
hierarchy of windows, but it is not always the deepest windows that 
will fail to load.

We've also implemented a suspicious custom component early on to handle 
system-wide ToolTips. It is old code and does some funky things, but 
when we commented it out the behavior didn't dramatically improve.

Our testing has been limited to the Debugger Flash Player, but we've 
tried both debug and release versions of the application.

I've combed Flexcoders and I've not come across anything like it. I'd 
love to hear your ideas?!
   
  
 





Re: [flexcoders] Flash/FLex gravity

2009-04-22 Thread Nate Beck
Yup Josh is correct, creating a vector is the way to go...
The slowing down force you're talking about is friction (at least in
physics). If you're interested in this kind of stuff, I highly recommend
picking up a copy of Keith Peters book:

http://www.amazon.com/Foundation-Actionscript-3-0-Animation-Making/dp/1590597915/ref=sr_1_1?ie=UTF8s=booksqid=1240464956sr=8-1

Cheers,

On Wed, Apr 22, 2009 at 9:19 PM, Josh McDonald j...@joshmcdonald.infowrote:



 That sort of thing (a vector) is easy, once you've determined the direction
 in radians, and a speed. Let's call it pixels-per-frame, to make things
 simple. Note that this is typed in gmail, and will need tweaks!

 accuratePositionX = x;
 accuratePositionY = y;

 velocityX = Math.cos(direction) * initialVelocity;
 velocityY = Math.sin(direction) * initialVelocity;

 //Do every frame:
 function updatePosition():void
 {
 accuratePositionX += velocityX;
 accuratePositionY += velocityY;

 x = Math.round(accuratePositionX);
 y = Math.round(accuratePositionY);

 velocityX *= 0.9;
 velocityY *= 0.9;

 if (velocityX  0.05  velocityX  0.05)
 stopTheAnimation();
 }

 Cheers,
 -Josh

 2009/4/23 flexaustin flexaus...@yahoo.com



 Does anyone know of a tutorial on actionscript and gravity. Not like
 dropping a ball, but like google maps where you drag an item and it keeps
 going in that direction but slowing down. So gravity in all directions
 something like a hockey puck.

 TIA




 --
 Therefore, send not to know For whom the bell tolls. It tolls for thee.

 Josh 'G-Funk' McDonald
   -  j...@joshmcdonald.info
   -  http://twitter.com/sophistifunk
   -  http://flex.joshmcdonald.info/

  




-- 

Cheers,
Nate

http://blog.natebeck.net