Re: [flexcoders] application.enabled = false when application is communicating with server

2013-02-25 Thread Alex Harui
You could popup a modal dialog.


On 2/25/13 8:33 AM, jmfamp m...@availdata.com wrote:






I would like to have the application.enabled set to false anytime the cursur 
changes to stop watch (communication with backend server) and have the 
application.enabled set to true when the cursor reverts to default.

How would I do this?  Is there an easy way to set this up?  I know I could set 
it in code for every remote object call and result/fault handler, but currently 
there are alot of these in the application and I actually do not have fault 
handlers per say...just pop up an alert box with the fault string.

Is there an attribute to set or maybe a simple override?

Thanks






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


Re: [flexcoders] pdf in flash/flex alternative to flexpaper?

2013-02-15 Thread hamann . w

Hi,

many years ago I successfully converted specific PDFs (they were all created by 
the same
generator and used a fixed set of fonts and drawing primitives)
The pipeline consisted of ghostscript to translate the pdf into uncompressed,
a perl script to convert the graphic instructions into ming source, and finally 
the perl
version of ming to create swf.
The resulting file is made of lines, areas, and static text..
Of course text could be reconstructed with the help of a decompiler, but it is 
possible to
generate the file so that no character / glyph index relation is present

The procedure was a bit tedious, and so the next time the same files were 
requested,
I built a solution that hooked into the publication process even before pdf 
generation

Regards
Wolfgang 




Re: [flexcoders] What happened to the Flex Style Explorer?

2013-02-14 Thread Dave Glasser
Thanks Rishi. I also found a link to download the AIR version:

http://www.softpedia.com/progDownload/FxStyleExplorer-Download-189583.html






 From: Tandon, Rishi rishitandon...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Thursday, February 14, 2013 12:32 AM
Subject: Re: [flexcoders] What happened to the Flex Style Explorer? [1 
Attachment]
 

 
[Attachment(s) from Tandon, Rishi included below] 


PFA is the Flex 3 style explorer build for desktop.

Cheers!
Rishi



 From: Dave Glasser dglas...@pobox.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Thursday, February 14, 2013 1:09 AM
Subject: [flexcoders] What happened to the Flex Style Explorer?
 

  
The old Flex Style Explorer seems to be gone from the web. Does anyone know 
where any copies (or the source) might exist?




Attachment(s) from Tandon, Rishi   
1 of 1 File(s)  
FxStyleExplorer.zip



Re: [flexcoders] Equivalent of editorUsesEnterKey in spark

2013-02-14 Thread Alex Harui
Hmm, that looks like a bug.  Feel free to file it.

You should be able to call stopPropagation.  The code looks like it is 
listening to the renderer and the TextArea should be a child so if you cancel 
it before it bubbles up to the renderer it should work.

Another option is to track if keydown and keyup and respond to the 
endItemEditorSession
If it is asked during an ENTER key.

On 2/14/13 5:57 AM, Nigel Magnay nigel.mag...@gmail.com wrote:






In mx:Datagrid, you can easily declare that a column uses the enter
key, so you can enter multiline text into it.

Basically, exactly this:
http://blog.flexexamples.com/2007/09/30/using-a-flex-textarea-control-as-a-drop-in-item-editor/

(see how you can hit enter in the grid cell, and enter multiline text).

How does one do this in Spark?

I've diagnosed the editor ending when it receives the keyboard ENTER
event into DatagridEditor::editor_keydownHandler.

I can't just cancel / stop propagation of the event / modify the
event, otherwise the textarea doesn't add the CR.

I can't override in some custom version DataGridEditor because
editor_keyDownHandler is declared private. The DataGridEditor anyway
is instantiated in an mx_internal function in DataGrid.

It seems like this behaviour is burnt in and can't easily be reversed... ?





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


Re: [flexcoders] Re: What happened to the Flex Style Explorer?

2013-02-14 Thread Rishi Tandon
Please Find Attached :)

Sent from my iPhone

On Feb 14, 2013, at 10:25 PM, Gohlke, Greg greg.goh...@edictsystems.com 
wrote:

 Sorry for my ignorance but what is PFA?
  
 Thanks,
  
 Greg   
 
 This message may contain confidential information only for the use of the 
 intendedrecipient. No waiver of confidentiality, privileged or 
 otherwise, is intended or made by this communication. Any use, dissemination 
 or copying not authorized by Edict Systems, Inc. is strictly prohibited. If 
 you have received this email in error or are not the intended recipient, 
 please immediately notify Edict Systems, Inc. and destroy all copies. Any 
 dissemination or use of this information by a person other than the intended 
 recipient is unauthorized and may be illegal.
  
 


Re: [flexcoders] Re: Mobile App Entitlements

2013-02-13 Thread doug g
Isnt it some UID that apple uses for its submission process? Im talking a
little out of my depth here, but the one time I did this (for a class), it
involved compiling the app as native XCode, then opening it in XCode and
going through the entitlement process. Maybe look up how they do ad hoc
distribution these days? Heres a link to get you started:

http://stackoverflow.com/questions/12698506/how-can-i-add-an-entitlements-file-to-an-xcode-4-5-project


On Wed, Feb 13, 2013 at 10:18 AM, Jake Churchill reyna...@gmail.com wrote:

 **


 Anyone???  Anything???


 On Mon, Feb 11, 2013 at 12:54 PM, Jake Churchill reyna...@gmail.comwrote:

 Guys,

 I have a mobile application that was created last year using FlashBuilder
 4.6 (AIR 3.4).  It's a pretty basic app, in that it just interacts with
 data from a server.  There is one view that interacts with CameraRoll and
 the CameraUI, but that's it.

 The initial build of the app went through Apple's approval process
 successfully.  I have since upgraded to FlashBuilder 4.7 and set it up to
 use the sdk with the AIR 3.4 (default is 3.1 I think).

 A bug was found in the app which required a simple test to see if an
 ArrayCollection existed, if not I created a blank one.  I re-compiled and
 re-submitted the new .ipa and now Apple is coming back saying an
 Entitlement is missing:

 *Missing Push Notification Entitlement - Your app appears to register
 with the Apple Push Notification service, but the app signature's
 entitlements do not include the aps-environment entitlement. If your app
 uses the Apple Push Notification service, make sure your App ID is enabled
 for Push Notification in the Provisioning Portal, and resubmit after
 signing your app with a Distribution provisioning profile that includes the
 aps-environment entitlement.
 *

 I've been searching for solutions to this or other people with the same
 problem but have not found anything.  I'm wondering if Flashbuilder 4.7 has
 a default entitlement somewhere that's being compiled into the application.
  I'm not sure that's the case because in the binary area in itunes connect,
 the entitlements section is as follows:

 *MY APP NAME*
 get-task-allow: false
 application-identifier: MY APP PACKAGE

 In the mean time, I've still got FlashBuilder 4.6 so I'm going to try to
 compile the app there and submit.  However, if Apple is saying it appears
 the app registers with the Apple Push Notification service, I'm at a loss
 because we don't use that for anything.

 Any help is appreciated.

 Thanks!

 -Jake


  



Re: [flexcoders] Re: Mobile App Entitlements

2013-02-13 Thread Jake Churchill
No, Flashbuilder takes care of all this for you.  It takes forever but it
cross-compiles over to a native app.  All you have to provide are the
provisioning profile and cert files which I had and didn't change for what
I'm talking about.

This is an App Store distribution which is different than ad hoc (different
provisioning profile).

-Jake


On Wed, Feb 13, 2013 at 9:30 AM, doug g doug31...@gmail.com wrote:

 **


 Isnt it some UID that apple uses for its submission process? Im talking a
 little out of my depth here, but the one time I did this (for a class), it
 involved compiling the app as native XCode, then opening it in XCode and
 going through the entitlement process. Maybe look up how they do ad hoc
 distribution these days? Heres a link to get you started:


 http://stackoverflow.com/questions/12698506/how-can-i-add-an-entitlements-file-to-an-xcode-4-5-project


 On Wed, Feb 13, 2013 at 10:18 AM, Jake Churchill reyna...@gmail.comwrote:

 **


 Anyone???  Anything???


 On Mon, Feb 11, 2013 at 12:54 PM, Jake Churchill reyna...@gmail.comwrote:

 Guys,

 I have a mobile application that was created last year using
 FlashBuilder 4.6 (AIR 3.4).  It's a pretty basic app, in that it just
 interacts with data from a server.  There is one view that interacts with
 CameraRoll and the CameraUI, but that's it.

 The initial build of the app went through Apple's approval process
 successfully.  I have since upgraded to FlashBuilder 4.7 and set it up to
 use the sdk with the AIR 3.4 (default is 3.1 I think).

 A bug was found in the app which required a simple test to see if an
 ArrayCollection existed, if not I created a blank one.  I re-compiled and
 re-submitted the new .ipa and now Apple is coming back saying an
 Entitlement is missing:

 *Missing Push Notification Entitlement - Your app appears to register
 with the Apple Push Notification service, but the app signature's
 entitlements do not include the aps-environment entitlement. If your app
 uses the Apple Push Notification service, make sure your App ID is enabled
 for Push Notification in the Provisioning Portal, and resubmit after
 signing your app with a Distribution provisioning profile that includes the
 aps-environment entitlement.
 *

 I've been searching for solutions to this or other people with the same
 problem but have not found anything.  I'm wondering if Flashbuilder 4.7 has
 a default entitlement somewhere that's being compiled into the application.
  I'm not sure that's the case because in the binary area in itunes connect,
 the entitlements section is as follows:

 *MY APP NAME*
 get-task-allow: false
 application-identifier: MY APP PACKAGE

 In the mean time, I've still got FlashBuilder 4.6 so I'm going to try to
 compile the app there and submit.  However, if Apple is saying it appears
 the app registers with the Apple Push Notification service, I'm at a loss
 because we don't use that for anything.

 Any help is appreciated.

 Thanks!

 -Jake



  



Re: [flexcoders] What happened to the Flex Style Explorer?

2013-02-13 Thread Brendan Meutzner
Not just the Style Explorer, but the component explorer as well.

I'm hoping that this was simply a mistake, and that it wasn't intentionally
removed.  If Adobe claims to still be committed to furthering the open
source development on Flex, then dropping support for tools such as this is
a bit of a contradiction.

Alex, any way to ask internally and see what happened here?




On Wed, Feb 13, 2013 at 2:39 PM, Dave Glasser dglas...@pobox.com wrote:

 **


 The old Flex Style Explorer seems to be gone from the web. Does anyone
 know where any copies (or the source) might exist?

  



Re: [flexcoders] What happened to the Flex Style Explorer? [1 Attachment]

2013-02-13 Thread Tandon, Rishi
PFA is the Flex 3 style explorer build for desktop.

Cheers!
Rishi



 From: Dave Glasser dglas...@pobox.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Thursday, February 14, 2013 1:09 AM
Subject: [flexcoders] What happened to the Flex Style Explorer?
 

  
The old Flex Style Explorer seems to be gone from the web. Does anyone know 
where any copies (or the source) might exist?


 

Re: [flexcoders] Help needed regarding image vectorization in flex reference in details

2013-02-11 Thread anas naeem
Thanks Alex(Flex)  I would definitely try what you suggested and would come up 
with some results 
Regards 
Anas. 

--- On Mon, 2/11/13, Alex Harui aha...@adobe.com wrote:

From: Alex Harui aha...@adobe.com
Subject: Re: [flexcoders] Help needed  regarding image vectorization in flex 
reference in details
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date: Monday, February 11, 2013, 9:44 AM
















 



  



  
  
  

I think you want to read up on image edge detection.





On 2/9/13 10:37 PM, anas naeem maverick_0...@yahoo.com wrote:



 

 

 

   



Hi everyone, 



I need help/guidance regarding image vectorization in flex .



As a  reference its shown here http://www.streetshirts.com/creation.aspx and by 
clicking on the add Image there an selecting Yes i want to Vectorise to see 
what i am talking about ...



Any help would be really appreciated as uptill now i have wasted a lot of time 
Googling out this but of no luck



Thanks in advance and best Regards



Anas

 

   







-- 

Alex Harui

Flex SDK Team

Adobe Systems, Inc.

http://blogs.adobe.com/aharui








 









  










Re: [flexcoders] Help needed regarding image vectorization in flex reference in details

2013-02-10 Thread Alex Harui
I think you want to read up on image edge detection.


On 2/9/13 10:37 PM, anas naeem maverick_0...@yahoo.com wrote:






Hi everyone,

I need help/guidance regarding image vectorization in flex .

As a  reference its shown here http://www.streetshirts.com/creation.aspx and by 
clicking on the add Image there an selecting Yes i want to Vectorise to see 
what i am talking about ...

Any help would be really appreciated as uptill now i have wasted a lot of time 
Googling out this but of no luck

Thanks in advance and best Regards

Anas





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


RE: [flexcoders] Re: Code not lining up - brackets

2013-02-08 Thread Davidson, Jerry
I'm using RAD with the Flash addition.  Yes, it is confused about the braces 
and incorrectly put the last two to the first one.  So the one that ends the 
function and the one that ends the switch statement both point to the function 
and no brace points to the starting brace for the switch.

I'm using Flash Builder 4.0.1.

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Alex Harui
Sent: Thursday, February 07, 2013 10:20 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Code not lining up - brackets



Did you say you are using a custom editor?  Do you have FlashBuilder or another 
Flex IDE?  Is it confused about brace matching?  If not, it could be the editor 
you are using.


On 2/7/13 10:33 AM, Davidson, Jerry jerry.david...@illinois.gov wrote:





Jay,

Thanks for the response.  And thanks for the heads up.

And thanks for not commenting on how silly a single case is.

I removed the braces from the case statement and I continue to have the cursor 
before either the last or the next t last closing brace pointing to the first 
open one.

Jerry


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of jaywood58
Sent: Thursday, February 07, 2013 10:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Code not lining up - brackets



Jerry,

I think your issue is the opening brace at line 6 (right after case 
Const.ALERT_LIST_RETRIEVED:) and the closing brace at line 32 (right after the 
break statement)... the code block for a case statement in ActionScript is 
typically not enclosed in braces (perhaps it is even illegal, I'm not sure). 
Instead, the code is delimited by the case statement itself and the break. 
Either way, your closing brace at line 32 overlaps your break statement at line 
31. I suggest removing those two braces or at least moving the closing brace 
above the break.

Jay Wood
Sr. Flex Developer
Tech4Learning, Inc.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , 
Davidson, Jerry wrote:

 This is a very small problem. I'm using RAD to develop in flex. When I get a 
 module someone else has written, I try to pretty print it to make it easier 
 to work with. While doing this on the below, I found the braces didn't add up 
 right. That is, the last one should apply to the first one (proc statement), 
 and it does. The second to last should apply to the second one (switch 
 statement), but it doesn't. Put the cursor after it and it also points to the 
 first one.

 Am I missing something? I ran clean and refresh on it.

 public function set _checkStatus(status:String):void
 {
 switch (status)
 {
 case Const.ALERT_LIST_RETRIEVED:
 {
 if (model.userAlertsVOvar != null  model.showAlert == true)
 {
 if (model.userAlertsVOvar.length  0)
 {
 var ctr:int = 0;
 for each (var alertRow:Object in model.userAlertsVOvar)
 {
 if( StringUtil.trim(alertRow.individualName) == 
  StringUtil.trim(alertRow.description ) ==  )
 {
 ctr = ctr + 1; //increment ctr
 }
 }

 if (ctr  model.userAlertsVOvar.length)
 { // SHOW ALERT - all rows do not have blank data
 alertPopup = new AlertComp();
 PopUpManager.addPopUp(alertPopup, this, false);
 PopUpManager.centerPopUp(alertPopup);
 model.showAlert=false;
 }
 }
 }
 model.applicationStatus = null;
 break;
 }
 default:
 }
 }







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



RE: [flexcoders] Re: Code not lining up - brackets

2013-02-07 Thread Davidson, Jerry
Jay,

Thanks for the response.  And thanks for the heads up.

And thanks for not commenting on how silly a single case is.

I removed the braces from the case statement and I continue to have the cursor 
before either the last or the next t last closing brace pointing to the first 
open one.

Jerry

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of jaywood58
Sent: Thursday, February 07, 2013 10:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Code not lining up - brackets



Jerry,

I think your issue is the opening brace at line 6 (right after case 
Const.ALERT_LIST_RETRIEVED:) and the closing brace at line 32 (right after the 
break statement)... the code block for a case statement in ActionScript is 
typically not enclosed in braces (perhaps it is even illegal, I'm not sure). 
Instead, the code is delimited by the case statement itself and the break. 
Either way, your closing brace at line 32 overlaps your break statement at line 
31. I suggest removing those two braces or at least moving the closing brace 
above the break.

Jay Wood
Sr. Flex Developer
Tech4Learning, Inc.

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
Davidson, Jerry wrote:

 This is a very small problem. I'm using RAD to develop in flex. When I get a 
 module someone else has written, I try to pretty print it to make it easier 
 to work with. While doing this on the below, I found the braces didn't add up 
 right. That is, the last one should apply to the first one (proc statement), 
 and it does. The second to last should apply to the second one (switch 
 statement), but it doesn't. Put the cursor after it and it also points to the 
 first one.

 Am I missing something? I ran clean and refresh on it.

 public function set _checkStatus(status:String):void
 {
 switch (status)
 {
 case Const.ALERT_LIST_RETRIEVED:
 {
 if (model.userAlertsVOvar != null  model.showAlert == true)
 {
 if (model.userAlertsVOvar.length  0)
 {
 var ctr:int = 0;
 for each (var alertRow:Object in model.userAlertsVOvar)
 {
 if( StringUtil.trim(alertRow.individualName) == 
  StringUtil.trim(alertRow.description ) ==  )
 {
 ctr = ctr + 1; //increment ctr
 }
 }

 if (ctr  model.userAlertsVOvar.length)
 { // SHOW ALERT - all rows do not have blank data
 alertPopup = new AlertComp();
 PopUpManager.addPopUp(alertPopup, this, false);
 PopUpManager.centerPopUp(alertPopup);
 model.showAlert=false;
 }
 }
 }
 model.applicationStatus = null;
 break;
 }
 default:
 }
 }





Re: [flexcoders] Re: Code not lining up - brackets

2013-02-07 Thread Alex Harui
Did you say you are using a custom editor?  Do you have FlashBuilder or another 
Flex IDE?  Is it confused about brace matching?  If not, it could be the editor 
you are using.


On 2/7/13 10:33 AM, Davidson, Jerry jerry.david...@illinois.gov wrote:






Jay,

Thanks for the response.  And thanks for the heads up.

And thanks for not commenting on how silly a single case is.

I removed the braces from the case statement and I continue to have the cursor 
before either the last or the next t last closing brace pointing to the first 
open one.

Jerry


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of jaywood58
Sent: Thursday, February 07, 2013 10:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Code not lining up - brackets



Jerry,

I think your issue is the opening brace at line 6 (right after case 
Const.ALERT_LIST_RETRIEVED:) and the closing brace at line 32 (right after the 
break statement)... the code block for a case statement in ActionScript is 
typically not enclosed in braces (perhaps it is even illegal, I'm not sure). 
Instead, the code is delimited by the case statement itself and the break. 
Either way, your closing brace at line 32 overlaps your break statement at line 
31. I suggest removing those two braces or at least moving the closing brace 
above the break.

Jay Wood
Sr. Flex Developer
Tech4Learning, Inc.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , 
Davidson, Jerry wrote:

 This is a very small problem. I'm using RAD to develop in flex. When I get a 
 module someone else has written, I try to pretty print it to make it easier 
 to work with. While doing this on the below, I found the braces didn't add up 
 right. That is, the last one should apply to the first one (proc statement), 
 and it does. The second to last should apply to the second one (switch 
 statement), but it doesn't. Put the cursor after it and it also points to the 
 first one.

 Am I missing something? I ran clean and refresh on it.

 public function set _checkStatus(status:String):void
 {
 switch (status)
 {
 case Const.ALERT_LIST_RETRIEVED:
 {
 if (model.userAlertsVOvar != null  model.showAlert == true)
 {
 if (model.userAlertsVOvar.length  0)
 {
 var ctr:int = 0;
 for each (var alertRow:Object in model.userAlertsVOvar)
 {
 if( StringUtil.trim(alertRow.individualName) == 
  StringUtil.trim(alertRow.description ) ==  )
 {
 ctr = ctr + 1; //increment ctr
 }
 }

 if (ctr  model.userAlertsVOvar.length)
 { // SHOW ALERT - all rows do not have blank data
 alertPopup = new AlertComp();
 PopUpManager.addPopUp(alertPopup, this, false);
 PopUpManager.centerPopUp(alertPopup);
 model.showAlert=false;
 }
 }
 }
 model.applicationStatus = null;
 break;
 }
 default:
 }
 }








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


Re: [flexcoders] Frustrations with the profiler - analyzing memory usage.

2013-02-06 Thread Nigel Magnay
Thanks for that - that's very helpful information.

I'm getting dragged into diagnosis because on very low-spec machines our
app is tending to eat memory causing it to heavily slow down. I've managed
to diagnose some of these (use of setTimeout, Bindings that never go away)
which is liable to help hugely.

What I'm having difficulty in is determining what things in the profiler
are *genuine leaks*, and what things are things the GC will eventually get
to as they're weak references (I do the System.gc() and
newLocalConnection().connect(
'foo'); tricks beforehand, but they don't feel like they're reliable. It's
a shame there isn't a System.reallyreallyfullGCandIDontCareHowLongItTakes()
)

A good example is mx.core:EmbeddedFont. When the app is in use, this number
doubles. So I analyse an instance, and find only 1 path - which it states
as simply mx.core:EmbeddedFont (1 Path), GC Root=YES and allocated in
mx.core:EmbeddedFontRegistry:GetAssociatedModuleFactory().

What I believe that's telling me is that the reference is there because of
the static EmbeddedFontRegistry in EmbeddedFont, and it's being stored in
that registry in a cache (cachedFontsForObjects) - which is a weak
dictionary.

My gut instinct at this point is this is irrelevant, it'll get GCed
eventually. Two things strike me though
  - I'm guessing that it's in that dictionary as the object reference view
stops at the EmbeddedFont, which seems a shame. That makes it difficult in
any code that's pretty complex
  - I'm guessing it'll be GCed. But I wonder now if *all* those things will
be GCed *eventually*. Why didn't the 'invoke GC' parts actually cause it to
be collected..



t
On Tue, Feb 5, 2013 at 7:32 PM, Alex Harui aha...@adobe.com wrote:

 **


 The true test of a leak is whether your OS’s process manager says that
 memory consumption keeps going up.

 Before we had a profiler, we would add code to the app to exercise some
 sequence (by faking button events, etc), force garbage collection, and
 report System.totalMemory over and over again and run it overnight.  Due to
 the way Flash manages memory, just manually exercising the sequence a few
 dozen times may show increasing memory even though there isn’t a leak,
 although really bad leaks will show up in System.totalMemory or in the OS
 process manager pretty quickly.  Leaky apps will eventualy crash the
 browser, or just report an endless increase in memory, way past what you
 would expect for an app of that size and complexity.

 Historically, the profiler has shown a dependency on the version of the
 Flash Player.  Whatever version of Flash Player is recommended for the
 default SDK in your version of Flash Builder should be the one to use when
 profiling.  Newer and older versions may report memory slightly differently
 and fool the profiler.

 HTH,
 -Alex


 On 2/5/13 5:57 AM, Nigel Magnay nigel.mag...@gmail.com wrote:






 We have an application that is leaking memory. Sadly, trying to diagnose
 this with the flex profiler (4.6, 4.7) is proving to be a frustrating
 experience.

 I've picked on one object class to try and understand what is going on. We
 have a wizard-style dialog box with a sidebar control 'wizardlinks' which
 adds 'wizardlink' objects to it. Both are Spark group controls. The links
 are being added to the group with an 'addElement' call.

 The WizardLink instances are growing in memory and do not seem to be being
 released. I've pared them right down to try and eliminate possible
 listeners.

 If I immediately remove the link, Something still seems to hold on to it.
 If I view it in the profiler object view, it expands saying (1 Path) but
 won't describe what it is. Even more mysteriously - if I run with Watch
 live memory data, I can see the instances going up -- but if I then do a
 memory dump, those instances are now missing. If I don't run with 'watch
 live memory data', they are there.

 Part of this feels like chasing shadows - are these real leaks, or just
 things the collector will eventually get round to?







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

  



Re: [flexcoders] Frustrations with the profiler - analyzing memory usage.

2013-02-06 Thread Alex Harui
I have never seen the localconnection hack fail to GC everything, but it has 
been over a year since I was last in the profiler, so maybe more recent players 
don’t GC everything, but I would be surprised if that was the case.  That’s 
because the LC hack wasn’t supposed to GC everything, but once we discovered it 
did, the FP team felt like they couldn’t change that behavior.

I have seen different player versions cause the profiler to report things as 
being around when they aren’t or have it seem like the GC button in the 
profiler doesn’t work, but we tend to get that resolved for each new FB 
version.  Then newer players come along and it seems to go funky again.  That’s 
why you should make sure you are using the right player for your FB version.

I have never seen weak references not work correctly, so you probably don’t 
need to chase paths beyond weak references.

EmbeddedFonts are not leaking per-se.  They are sticking around because a 
display object that uses embedded fonts is stuck.  I usually look for big 
things (views/containers/navigators for example).  A common workflow for me is 
to exercise the app, take a memory snapshot, exercise the app some more, take 
another snapshot, sort both snapshots alphabetically, and manually compare the 
number of live instances.  LoiteringObjects can show you false positives in 
some scenarios so I often do manual compares.  If the number of big things is 
increasing, I look there first.  Of course, it could be a child that is stuck 
because children reference their parents.  And maybe you’ll get lucky and see 
that timers or intervals are increasing.


On 2/6/13 12:48 AM, Nigel Magnay nigel.mag...@gmail.com wrote:






Thanks for that - that's very helpful information.

I'm getting dragged into diagnosis because on very low-spec machines our app is 
tending to eat memory causing it to heavily slow down. I've managed to diagnose 
some of these (use of setTimeout, Bindings that never go away) which is liable 
to help hugely.

What I'm having difficulty in is determining what things in the profiler are 
genuine leaks, and what things are things the GC will eventually get to as 
they're weak references (I do the System.gc() and new 
LocalConnection().connect('foo'); tricks beforehand, but they don't feel like 
they're reliable. It's a shame there isn't a 
System.reallyreallyfullGCandIDontCareHowLongItTakes() )

A good example is mx.core:EmbeddedFont. When the app is in use, this number 
doubles. So I analyse an instance, and find only 1 path - which it states as 
simply mx.core:EmbeddedFont (1 Path), GC Root=YES and allocated in 
mx.core:EmbeddedFontRegistry:GetAssociatedModuleFactory().

What I believe that's telling me is that the reference is there because of the 
static EmbeddedFontRegistry in EmbeddedFont, and it's being stored in that 
registry in a cache (cachedFontsForObjects) - which is a weak dictionary.
My gut instinct at this point is this is irrelevant, it'll get GCed 
eventually. Two things strike me though
  - I'm guessing that it's in that dictionary as the object reference view 
stops at the EmbeddedFont, which seems a shame. That makes it difficult in any 
code that's pretty complex
  - I'm guessing it'll be GCed. But I wonder now if all those things will be 
GCed eventually. Why didn't the 'invoke GC' parts actually cause it to be 
collected..



t
On Tue, Feb 5, 2013 at 7:32 PM, Alex Harui aha...@adobe.com wrote:





The true test of a leak is whether your OS’s process manager says that memory 
consumption keeps going up.

Before we had a profiler, we would add code to the app to exercise some 
sequence (by faking button events, etc), force garbage collection, and report 
System.totalMemory over and over again and run it overnight.  Due to the way 
Flash manages memory, just manually exercising the sequence a few dozen times 
may show increasing memory even though there isn’t a leak, although really bad 
leaks will show up in System.totalMemory or in the OS process manager pretty 
quickly.  Leaky apps will eventualy crash the browser, or just report an 
endless increase in memory, way past what you would expect for an app of that 
size and complexity.

Historically, the profiler has shown a dependency on the version of the Flash 
Player.  Whatever version of Flash Player is recommended for the default SDK in 
your version of Flash Builder should be the one to use when profiling.  Newer 
and older versions may report memory slightly differently and fool the profiler.

HTH,
-Alex



On 2/5/13 5:57 AM, Nigel Magnay nigel.mag...@gmail.com 
http://nigel.mag...@gmail.com  wrote:






We have an application that is leaking memory. Sadly, trying to diagnose this 
with the flex profiler (4.6, 4.7) is proving to be a frustrating experience.

I've picked on one object class to try and understand what is going on. We have 
a wizard-style dialog box with a sidebar control 'wizardlinks' which adds 
'wizardlink' objects to it. Both are Spark group 

Re: [flexcoders] FLEX with Maven

2013-02-05 Thread Tandon, Rishi
You want to TRY the FLEX MOJOS.
I have used in some Flex project.
Do check with the flex sdk versioning.

http://code.google.com/p/flex-mojos/


Regards,
Rishi



 From: faizal_ac faizal...@yahoo.com
To: flexcoders@yahoogroups.com 
Sent: Tuesday, February 5, 2013 8:06 PM
Subject: [flexcoders] FLEX with Maven
 

  
Hi Everyone,

I currently have a fairly complex flex project, that I build(generate swf's) 
using Flash Builder. I have been asked to now generate these swf files using 
maven. Has anyone done this before? I would really appreciate some guidance.

Thanks
Faizal


 

Re: [flexcoders] Frustrations with the profiler - analyzing memory usage.

2013-02-05 Thread Alex Harui
The true test of a leak is whether your OS’s process manager says that memory 
consumption keeps going up.

Before we had a profiler, we would add code to the app to exercise some 
sequence (by faking button events, etc), force garbage collection, and report 
System.totalMemory over and over again and run it overnight.  Due to the way 
Flash manages memory, just manually exercising the sequence a few dozen times 
may show increasing memory even though there isn’t a leak, although really bad 
leaks will show up in System.totalMemory or in the OS process manager pretty 
quickly.  Leaky apps will eventualy crash the browser, or just report an 
endless increase in memory, way past what you would expect for an app of that 
size and complexity.

Historically, the profiler has shown a dependency on the version of the Flash 
Player.  Whatever version of Flash Player is recommended for the default SDK in 
your version of Flash Builder should be the one to use when profiling.  Newer 
and older versions may report memory slightly differently and fool the profiler.

HTH,
-Alex

On 2/5/13 5:57 AM, Nigel Magnay nigel.mag...@gmail.com wrote:






We have an application that is leaking memory. Sadly, trying to diagnose this 
with the flex profiler (4.6, 4.7) is proving to be a frustrating experience.

I've picked on one object class to try and understand what is going on. We have 
a wizard-style dialog box with a sidebar control 'wizardlinks' which adds 
'wizardlink' objects to it. Both are Spark group controls. The links are being 
added to the group with an 'addElement' call.

The WizardLink instances are growing in memory and do not seem to be being 
released. I've pared them right down to try and eliminate possible listeners.

If I immediately remove the link, Something still seems to hold on to it. If I 
view it in the profiler object view, it expands saying (1 Path) but won't 
describe what it is. Even more mysteriously - if I run with Watch live memory 
data, I can see the instances going up -- but if I then do a memory dump, 
those instances are now missing. If I don't run with 'watch live memory data', 
they are there.

Part of this feels like chasing shadows - are these real leaks, or just things 
the collector will eventually get round to?







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


Re: [flexcoders] Re: Binding using as3

2013-01-31 Thread Paul A.
On 31/01/2013 15:13, aceoohay wrote:
 Paul,

 BTW I did try BindingUtils.bindProperty(vtiA,x,this,_y); and it did not 
 seem to work for me. It recognized _y as it required that I change it to a 
 public variable.

I was suprised that you were binding a private variable - that only 
makes sense if your code is sitting inside that class.

I don't know the context of this, but if you had a setter, you might be 
able to do the same as when binding.

I have to say that _y is a bit confusing since y is the natural public 
accessor for a private variable _y and y is the actual position of an 
element and _y seems to be something else!


 --- In flexcoders@yahoogroups.com, Paul A.  wrote:
 On 30/01/2013 23:17, aceoohay wrote:
 I have customized textinput control with a property of x. In my program I 
 instntiate the control as vtiA. My program has a bindable variable called 
 _y.

 I would like everytime that _y is changed by my program that the property x 
 of the control vtiA reflects the new values.

 What I have done that does not work is

 [Bindable] private var _y;

 private function whocares():void
 {
   var vtiA:MyTextInput = new MyTextInput;
   vtiA.x = _y
 }

 If this were mxml I would just say



 What is the equivalent in as3?
 This might point you in the right direction:

 http://stackoverflow.com/questions/966047/flex-3-dynamic-creation-and-binding-of-textinput


 Paul



 

 --
 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 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] Re: Binding using as3

2013-01-31 Thread Alex Harui
It will be faster if you just hand-code the equivalent of:
[Bindable] private var _y:int
as:
private var __y;
private function get _y():int
{
return __y;
}
private function set _y(value:int):void
{
if (value != __y)
{
__y = value;
dispatchEvent(new Event(“_yChanged”));
}
}

Then whocares() can be coded like this:

  private function whocares():void
{
var vtiA:MyTextInput = new MyTextInput;
   addEventListener(“_yChanged”, function(e:Event) {vtiA.x = 
event.target[“_y”]);
vtiA.x = _y
}

On 1/31/13 7:29 AM, Paul A. p...@ipauland.com wrote:






On 31/01/2013 15:13, aceoohay wrote:
 Paul,

 BTW I did try BindingUtils.bindProperty(vtiA,x,this,_y); and it did not 
 seem to work for me. It recognized _y as it required that I change it to a 
 public variable.

I was suprised that you were binding a private variable - that only
makes sense if your code is sitting inside that class.

I don't know the context of this, but if you had a setter, you might be
able to do the same as when binding.

I have to say that _y is a bit confusing since y is the natural public
accessor for a private variable _y and y is the actual position of an
element and _y seems to be something else!


 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , 
 Paul A.  wrote:
 On 30/01/2013 23:17, aceoohay wrote:
 I have customized textinput control with a property of x. In my program I 
 instntiate the control as vtiA. My program has a bindable variable called 
 _y.

 I would like everytime that _y is changed by my program that the property x 
 of the control vtiA reflects the new values.

 What I have done that does not work is

 [Bindable] private var _y;

 private function whocares():void
 {
   var vtiA:MyTextInput = new MyTextInput;
   vtiA.x = _y
 }

 If this were mxml I would just say



 What is the equivalent in as3?
 This might point you in the right direction:

 http://stackoverflow.com/questions/966047/flex-3-dynamic-creation-and-binding-of-textinput


 Paul



 

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










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


Re: [flexcoders] Binding using as3

2013-01-31 Thread claudiu ursica
look at BindingUtils.bindProperty()

C





 From: aceoohay pa...@compuace.com
To: flexcoders@yahoogroups.com 
Sent: Wednesday, January 30, 2013 11:17 PM
Subject: [flexcoders] Binding using as3
 

  
I have customized textinput control with a property of x. In my program I 
instntiate the control as vtiA. My program has a bindable variable called _y.

I would like everytime that _y is changed by my program that the property x of 
the control vtiA reflects the new values.

What I have done that does not work is

[Bindable] private var _y;

private function whocares():void
{
var vtiA:MyTextInput = new MyTextInput;
vtiA.x = _y
}

If this were mxml I would just say 



What is the equivalent in as3?

Paul


 

Re: [flexcoders] Binding using as3

2013-01-30 Thread Paul A.
On 30/01/2013 23:17, aceoohay wrote:
 I have customized textinput control with a property of x. In my program I 
 instntiate the control as vtiA. My program has a bindable variable called _y.

 I would like everytime that _y is changed by my program that the property x 
 of the control vtiA reflects the new values.

 What I have done that does not work is

 [Bindable] private var _y;

 private function whocares():void
 {
  var vtiA:MyTextInput = new MyTextInput;
  vtiA.x = _y
 }

 If this were mxml I would just say

 xx:MyTextInput id=vtiA x={_y}/

 What is the equivalent in as3?

This might point you in the right direction:

http://stackoverflow.com/questions/966047/flex-3-dynamic-creation-and-binding-of-textinput



 Paul



 

 --
 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] Compiling and debugging against a remote Coldfusion server

2013-01-28 Thread Nick Collins
Again, to kind of echo what Brendan said, if this guy can't figure out
simple remoting to a Coldfusion server, I would question my choice.
Coldfusion is by far the simplest, most plug and play remoting to Flex
there is, and there is plenty of documentation available showing you
exactly how to do it. The one caveat with working with a remote server is
that you need to make sure you configure your channelset if you are setting
up your remoting in Actionscript as opposed to using the MXML tag.


On Mon, Jan 7, 2013 at 4:58 PM, Brendan Meutzner bmeutz...@gmail.comwrote:

 **


 Do you have a code repository for the ColdFusion content setup? (ie.
 Subversion, CVS, TeamSite, etc...)

 I have never debugged against a remote ColdFusion server, but it looks
 possible:


 http://help.adobe.com/en_US/ColdFusionBuilder/Using/WS0ef8c004658c1089-31c11ef1121cdfd6aa0-7fef.html

 You'll need to have RDS enabled on your remote server... instructions here
 if you already have CF installed... I am not sure if you need to have
 included it during the ColdFusion install, or if you can simply enable
 after the fact.


 http://helpx.adobe.com/coldfusion/kb/disabling-enabling-coldfusion-rds-production.html

 If you have a code repository, then you could check out your central CF
 code to any development or production machine allowing you to keep that
 common set of files you desire.  Then you can have your development
 versions of ColdFusion using this code, and allowing you to setup the debug
 environment locally.  To my knowledge, you're not going to be able to run
 MS Access on the Mac environment, however, that's not a big deal... just
 host the MS Access content on a remote server, and setup your local CF
 development version to have a datasource pointing to the remote database.

 I use Mac for my development environment, and target Windows and Linux
 production servers.  Having the code repository allows me to develop
 locally with my Mac environment, with local CF, database and Flex
 content... when I'm ready, I simply synchronize with repository and then do
 the same on my production versions to get the most up to date code.
  Setting up the local Mac dev environment with CF and Flex is very straight
 forward.  You use the same services-config.xml, remoting-config.mxml files
 as you have on the production server to define end points for RemoteObject
 calls, so everything in seamless when the code hits the server.  In your
 Flex project properties, you target your local version of the
 services-config.xml file (which sits in the
 .../Coldfusion8/wwwroot/WEB-INF/flex-config directory locally) and when the
 application compiles, it uses the defined configuration here.  Once it is
 on the server, you have the same version of the file running on your
 ColdFusion instance and everything is fine.

 In short, take the time and make the effort to get a proper development
 version running, and don't try to develop against remote servers.
  Regardless of Windows or Mac, you want all of your developers to use
 remote development environments.  I've worked on teams with mixed OS
 environments like this, and it's possible to do.

 If you're interested, and have the budget, I can spend a couple hours with
 you to get the right environment setup.  All of the Flex development I've
 done since 2004 is against ColdFusion backends and I'm more than familiar
 with it.  If you think we can solve this with general questions via this
 forum, then I'm happy to help here as well... but there's only so much you
 can solve with generalizations vs. actually seeing your setup and being
 able to help hands on.

 I hope this helps a bit, and feel free to continue to ask questions...


 Brendan


 On Mon, Jan 7, 2013 at 3:49 PM, Mark Fuqua m...@availdata.com wrote:

 be


  



Re: [flexcoders] Re: SWFloader base path

2013-01-26 Thread Alex Harui
I’m not sure I understood that.  SWFLoader overrides default Flash behavior and 
makes all of your relative paths relative to the SWF using that SWFLoader.


On 1/25/13 11:22 PM, max.sammie max.sam...@yahoo.com wrote:








Thanks for the response Alex.  I see the you created a base variable in AS3 and 
then called it in SWFLoader appending nested.swf.

I was actually hoping to find a solution that would eliminate the need to write 
the path into the 'source' attribute.  So that all swf's loaded by mx:SWFLoader 
would default to some base path that is different from the root directory of 
the parent swf (default behavior of flash), allowing me to  write the source as 
source=nested.swf.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex 
Harui  wrote:

 {code}




 {code}

 On 1/25/13 3:59 PM, max.sammie  wrote:






 I am using SWFLoader to nest an swf inside of my main flex application.

 I need the nested swf to access a different location than that of the parent 
 swf.

 For example:

 /parent.swf - location of parent swf
 /access/nested.swf  - path of nested swf

 I load the nested swf in the mxml like so:

 mx:SWFLoader id=swfLoader x=0 y=-10 width=800 height=400 
 source=nested.swf

 Without explicitly listing the directory location is it possible to set 
 something like a base path for SWFLoader with something like 
 base=/access/?  I know you can do this in js with swfobject.js, where you 
 set params with the base attribute, but can something similar be done in 
 flash?

 Please help, any assistance is greatly appreciated.






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







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


Re: [flexcoders] Dynamic DataGrid

2013-01-25 Thread doug g
Something like this?

?xml version=1.0 encoding=utf-8?

s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;

xmlns:s=library://ns.adobe.com/flex/spark

xmlns:mx=library://ns.adobe.com/flex/mx

xmlns:view=com.nexage.common.view.nexWizard.view.*

xmlns:pages=com.nexage.common.view.nexWizard.sampleWizard.pages.*

xmlns:components=com.nexage.common.view.nexWizard.view.components.*

xmlns:sampleWizard=com.nexage.common.view.nexWizard.sampleWizard.*

width=100%

height=100%

creationComplete=onCC()





  fx:Declarations

 !-- Place non-visual elements (e.g., services, value objects) here --

/fx:Declarations

 fx:Style source=wizardStyles.css /

 fx:Script

 ![CDATA[

 import com.nexage.common.models.Employee;

   import mx.collections.ArrayCollection;

   private function onCC():void

 {

  setEmployees()

 }


  [Bindable]

 private var employees:ArrayCollection = new ArrayCollection();

 private var firstNamesArr:Array = ['Mohamed', 'Youssef', 'Ahmed', 'Mahmoud',
'Mustafa'];

 private var lastNamesArr:Array = ['George', 'John', 'Mina', 'Beshoi',
'Kirollos', 'Mark', 'Fadi', 'Habib'];

   private function setEmployees():void

 {

  for( var i:int = 0; ifirstNamesArr.length; i++ )

  {

  var empl:Employee = new Employee( firstNamesArr[i], lastNamesArr[i] );

  employees.addItem( empl );

  }

 }

   ]]

/fx:Script

 s:layout

 s:VerticalLayout /

/s:layout

 s:Spacer height=50 /

 s:Button label=hide/show first names

   click={firstNameCol.visible = !firstNameCol.visible} /

  s:DataGrid width=50%

  horizontalCenter=0

  verticalCenter=0

  dataProvider={employees}

 s:columns

 s:ArrayList

  s:GridColumn id=firstNameCol

 headerText=First Name

 dataField=firstName /

s:GridColumn id=lastNameCol

 headerText=Last Name

 dataField=lastName /

 /s:ArrayList

 /s:columns

/s:DataGrid

   /s:Application

Doug
On Jan 14, 2013 6:15 PM, Oleg Konovalov oleg...@yahoo.com wrote:

 **


 Hi,

 I am trying to create dynamic DataGrid,
 which shows columns only if it contains data
 returned by query (it has 10+ columns, so not easy to calculate sizes)..
 I read a lot of posts on the net, tried minWidth, ResizeMode, etc.

 Nothing really useful which works.
 In most cases it created very narrow columns except the last one - super
 wide.

 Please help!

 (using Flex4 AdvancedDataGrid)

 --
 Thank you in advance,
 Oleg.

  



Re: [flexcoders] SWFloader base path

2013-01-25 Thread Alex Harui
{code}
fx:Script
![CDATA[
[Bindable]
private var base=”/access/”;
]]
/fx:Script
mx:SWFLoader id=”swfloader” ... source=”{base + ‘nested.swf’}” /
{code}

On 1/25/13 3:59 PM, max.sammie max.sam...@yahoo.com wrote:






I am using SWFLoader to nest an swf inside of my main flex application.

I need the nested swf to access a different location than that of the parent 
swf.

For example:

/parent.swf - location of parent swf
/access/nested.swf  - path of nested swf

I load the nested swf in the mxml like so:

mx:SWFLoader id=swfLoader x=0 y=-10 width=800 height=400 
source=nested.swf

Without explicitly listing the directory location is it possible to set 
something like a base path for SWFLoader with something like base=/access/? 
 I know you can do this in js with swfobject.js, where you set params with the 
base attribute, but can something similar be done in flash?

Please help, any assistance is greatly appreciated.






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


RE: [flexcoders] Re: From DataGrid to Clipboard and Excel

2013-01-19 Thread Mark Fuqua
Very sweet.I don't have a particular use for this right now.but I'll sure be
looking for one!

 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Tony Obermeit
Sent: Saturday, January 19, 2013 12:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: From DataGrid to Clipboard and Excel

 

  

This isn't exactly what you asked about but it's close.

I use the method below to copy selected rows to clipboard.  In this use I
have a tab character to separate the columns, elsewhere I provide the user
the choice between tab and comma with a separate dialog.

private function syncCopyToClipboard():void 
{
// Separator used between Strings sent to clipboard
// to separate selected cells.
var separator:String = \t;
if (syncComma.selected) separator = ,;

// The String sent to the clipboard
System.setClipboard( );
var dataString:String = ;
var n:int = dgSyncGroupMembers.selectedCells.length;
if (n == 0)
{
Alert.show(You have not selected any rows, to select
all rows: click on the first row, scroll to the bottom and shift click on
the last row. Otherwise, select specific rows before you press the copy to
clipboard button.);
}
for (var i:int = 0; i  n; i++)
{
var cell:Object = dgSyncGroupMembers.selectedCells[i];
var data:Object =
dgSyncGroupMembers.dataProvider[cell.rowIndex];
var nameField:String =
dgSyncGroupMembers.columns[0].dataField;
var valuField:String =
dgSyncGroupMembers.columns[1].dataField;  
dataString = data[nameField] + separator +
data[valuField] + \n + dataString;
}

// Write dataString to the clipboard.
System.setClipboard(dataString);
}





Re: [flexcoders] New Spark DG vs. MX ADG

2013-01-17 Thread Alex Harui
The original goal of Spark was to have only one DG that had all of the features 
of ADG in it.  Spark DG still can’t match ADG so you have to decide what 
features you need and which component is the best way to achieve your goal.  
There are trade-off as well: you may choose ADG for grouping collections and 
heirarchy, but then you have to skin it differently than you would other Spark 
controls.


On 1/17/13 7:54 AM, michael_reg...@dell.com michael_reg...@dell.com wrote:






Now that Adobe released the new Spark DataGrid in 4.5+, what are the main 
differences with the MX AdvancedDataGrid, and why is there not an equivalent 
Spark AdvancedDataGrid component? When should I use one vs the other?   Thanks 
for your time on this!

Michael





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


RE: [flexcoders] Dynamic DataGrid

2013-01-14 Thread Sells, Fred
Try visible=false on a column without data,  or don't specify columns and it 
will only show the data but the headings can be ugly.

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Oleg Konovalov
Sent: Monday, January 14, 2013 11:04 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dynamic DataGrid



Hi,

I am trying to create dynamic DataGrid,
which shows columns only if it contains data
returned by query (it has 10+ columns, so not easy to calculate sizes)..
I read a lot of posts on the net, tried minWidth, ResizeMode, etc.

Nothing really useful which works.
In most cases it created very narrow columns except the last one - super wide.

Please help!

(using Flex4 AdvancedDataGrid)

--
Thank you in advance,
Oleg.



Re: [flexcoders] How to call page down function in Flex DataGrid

2013-01-07 Thread Alex Harui
Set verticalScrollPosition


On 1/6/13 10:39 PM, umd.wang wangjip...@gmail.com wrote:






I have a DataGrid control in Flash Builder, it shows a long list of data. I 
want to set a timer, so every time the timer ticks, it will call a function 
which makes the DataGrid control do a pagedown action, just like you click the 
scroll bar every 3 seconds. What is the easiest way?

Thanks.






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


Re: [flexcoders] Compiling and debugging against a remote Coldfusion server

2013-01-07 Thread Brendan Meutzner
- ColdFusion root would be the base installation folder for ColdFusion
(Windows: C:\Coldfusion9 Mac: /Applications/Coldfusion9)

- Web Root will be the wwwroot directory within the Coldfusion folder

- Root URL is http://localhost:8500


I would seriously question the decision of the individual you hired for
Flex if they are unable to get this setup... sorry... i know that sounds
very arrogant but I wouldn't want you throwing money away on this...

The thing to remember with ColdFusion is that when defining channels and
destinations within the various xxx-config.xml files is that they refer to
the ColdFusion installation location for web roots, etc... not the IIS
locations even if you're serving the web content from your inetpub
directory.

To get the CF debugging setup, you need to define a server instance inside
ColdFusion builder and then define your CF project to use that server...
you then Run your CF project in Debug mode to kick off the debugging
breakpoints you put into the CF code will get caught as the CF content is
called and run from your Flex app.


Brendan




On Mon, Jan 7, 2013 at 10:43 AM, jmfamp m...@availdata.com wrote:

 **


 I have hired someone to work on a Flex application. It uses remoteObject
 to connect to ColdFusion. The gentleman I hired does not know how to set up
 a local environment and it seems it ought to be easy to set up the remote
 server to work.

 I've tried everything I can think of (granted it is a short list). Can
 anyone help me figure out what to put in the following fields:

 ColdFusion root folder:

 Web root:

 Root URL:

 Some background information on remote server: It is a vps running
 ColdFusion 9. The server is located in the default location. When I compile
 my app locally and ftp it to the server, it works without change. However,
 when the person I hired goes to set up the project, it says the folder does
 not exist (which is doesn't...as Flex is looking locally).

 I would like to be able to set it up so he can compile and debug against
 the remote application. Any help would be greatly appreciated.

 Mark

  



RE: [flexcoders] Compiling and debugging against a remote Coldfusion server

2013-01-07 Thread Mark Fuqua
Thanks for the reply Brendan.  However, I think I did a bad job communicating 
what I was looking for.  I can set up the environment locally, but the guy I 
hired has never used coldfusion or remote objects.  I hired him to help with an 
existing Flex application I did myself (very green).  It is running locally, on 
my dev machine and remotely on two different websites (slightly different 
code…logos/images/colors etc.). 

 

I wanted some help doing some stuff with filtering and sorting 
listCollectionViews and ArrayCollections…he has never worked with Coldfusion 
before and setting up Coldfusion is pretty easy, but he has a mac, which I know 
nothing about…the database is MS ACCESS (I know…) and  I was just hoping to 
avoid getting him to do that and get all the Coldfusion code over to him and 
get the database working….

 

Is it possible to just set up the compiler/debugger in Flex builder to use the 
remote Coldfusion setup I have already?  It would seem like that would be a 
better alternative, especially with more than one person…always compiling and 
debugging against the same cfc’s and data.

 

I have no real basis for this thought, however, having said that, it would seem 
I should be able to set this all up for my remote server… do the ColdFusion 
root (which is the same as my local set up) and WebRoot (which is the same as 
my local set up) and just somehow change the rootUrl to point to my remote 
server…and maybe also have to put a cross domain file (can’t remember the right 
name) on my remote server. 

 

However, it seems whatever combination I try, fails…

 

This might not be possible…but it seems it should be.

 

Thanks for your time,

 

Mark

 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Brendan Meutzner
Sent: Monday, January 07, 2013 4:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Compiling and debugging against a remote Coldfusion 
server

 

  

- ColdFusion root would be the base installation folder for ColdFusion 
(Windows: C:\Coldfusion9 Mac: /Applications/Coldfusion9)

 

- Web Root will be the wwwroot directory within the Coldfusion folder

 

- Root URL is http://localhost:8500

 

 

I would seriously question the decision of the individual you hired for Flex if 
they are unable to get this setup... sorry... i know that sounds very arrogant 
but I wouldn't want you throwing money away on this...

 

The thing to remember with ColdFusion is that when defining channels and 
destinations within the various xxx-config.xml files is that they refer to the 
ColdFusion installation location for web roots, etc... not the IIS locations 
even if you're serving the web content from your inetpub directory.

 

To get the CF debugging setup, you need to define a server instance inside 
ColdFusion builder and then define your CF project to use that server... you 
then Run your CF project in Debug mode to kick off the debugging breakpoints 
you put into the CF code will get caught as the CF content is called and run 
from your Flex app.

 

 

Brendan

 

 

 

On Mon, Jan 7, 2013 at 10:43 AM, jmfamp m...@availdata.com wrote:

  

I have hired someone to work on a Flex application. It uses remoteObject to 
connect to ColdFusion. The gentleman I hired does not know how to set up a 
local environment and it seems it ought to be easy to set up the remote server 
to work.

I've tried everything I can think of (granted it is a short list). Can anyone 
help me figure out what to put in the following fields:

ColdFusion root folder:

Web root:

Root URL:

Some background information on remote server: It is a vps running ColdFusion 9. 
The server is located in the default location. When I compile my app locally 
and ftp it to the server, it works without change. However, when the person I 
hired goes to set up the project, it says the folder does not exist (which is 
doesn't...as Flex is looking locally).

I would like to be able to set it up so he can compile and debug against the 
remote application. Any help would be greatly appreciated.

Mark

 





Re: [flexcoders] Compiling and debugging against a remote Coldfusion server

2013-01-07 Thread Brendan Meutzner
Do you have a code repository for the ColdFusion content setup? (ie.
Subversion, CVS, TeamSite, etc...)

I have never debugged against a remote ColdFusion server, but it looks
possible:

http://help.adobe.com/en_US/ColdFusionBuilder/Using/WS0ef8c004658c1089-31c11ef1121cdfd6aa0-7fef.html

You'll need to have RDS enabled on your remote server... instructions here
if you already have CF installed... I am not sure if you need to have
included it during the ColdFusion install, or if you can simply enable
after the fact.

http://helpx.adobe.com/coldfusion/kb/disabling-enabling-coldfusion-rds-production.html

If you have a code repository, then you could check out your central CF
code to any development or production machine allowing you to keep that
common set of files you desire.  Then you can have your development
versions of ColdFusion using this code, and allowing you to setup the debug
environment locally.  To my knowledge, you're not going to be able to run
MS Access on the Mac environment, however, that's not a big deal... just
host the MS Access content on a remote server, and setup your local CF
development version to have a datasource pointing to the remote database.

I use Mac for my development environment, and target Windows and Linux
production servers.  Having the code repository allows me to develop
locally with my Mac environment, with local CF, database and Flex
content... when I'm ready, I simply synchronize with repository and then do
the same on my production versions to get the most up to date code.
 Setting up the local Mac dev environment with CF and Flex is very straight
forward.  You use the same services-config.xml, remoting-config.mxml files
as you have on the production server to define end points for RemoteObject
calls, so everything in seamless when the code hits the server.  In your
Flex project properties, you target your local version of the
services-config.xml file (which sits in the
.../Coldfusion8/wwwroot/WEB-INF/flex-config directory locally) and when the
application compiles, it uses the defined configuration here.  Once it is
on the server, you have the same version of the file running on your
ColdFusion instance and everything is fine.

In short, take the time and make the effort to get a proper development
version running, and don't try to develop against remote servers.
 Regardless of Windows or Mac, you want all of your developers to use
remote development environments.  I've worked on teams with mixed OS
environments like this, and it's possible to do.

If you're interested, and have the budget, I can spend a couple hours with
you to get the right environment setup.  All of the Flex development I've
done since 2004 is against ColdFusion backends and I'm more than familiar
with it.  If you think we can solve this with general questions via this
forum, then I'm happy to help here as well... but there's only so much you
can solve with generalizations vs. actually seeing your setup and being
able to help hands on.

I hope this helps a bit, and feel free to continue to ask questions...


Brendan


On Mon, Jan 7, 2013 at 3:49 PM, Mark Fuqua m...@availdata.com wrote:

 be


Re: [flexcoders] Re: Flex alternatives

2012-12-23 Thread John McCormack

That is a very interesting diagram showing a way forward for Flex users.

I have only used ActionScript Projects, rather than Flex, and have 
mainly been concerned not to lose a way to deliver my SWFs.


I can see myself developing in JavaScript but not wishing to go back 
near the beginning with programming, and liking the way SWCs are used in 
my projects, I rather want things to stay as they are.


On that subject, will later FlashPlayers have separate Virtual Machines 
for: (1) interpreting AIR (legacy) and (2) Browser (legacy) as well as 
(3) new code which is CPU dependent machine code?


I understand that PDFs have their own built-in player and, according to 
Dave Merchant on Acrobat.com, we don't know what tje future of that 
might be. It would be a great shame to lose the PDF SWFs since if they 
worked properly with the PDF container it would be the best way to 
deliver high quality Text/Photo/Video/SWF combinations. At the moment 
the SWFs and PDF container don't thoroughly know about each other. Have 
I got that right about the PDF SWF player?


Forgive my delayed posts but I have been teaching three days a week and 
busy winding up the apprentices assessments for the end of term.


It's a great thing that Adobe have continued to keep you involved with 
the project.


John


On 21/12/2012 21:43, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives

Actually, I’m not just hanging in there, I’m still paid by Adobe to 
spend all of my time on Flex.  My teammates are now folks like you who 
have spare cycles to contribute to the future of Flex.  Apache Flex 
just “graduated” to being an official “top-level” project at Apache 
which means it will be around for as long as folks want it to.  Adobe 
has no say in its future.


Working in Apache has been interesting because these new contributors 
have lots of diverse knowledge and experience.  The Apache Flex 
community is now investigating was to leverage a cross-compiler that 
can take in ActionScript and spit out JavaScript and allow you to use 
a Flex-like workflow to create RIAs that run without Flash.


My thoughts on that topic and prototype is written up here: 
https://cwiki.apache.org/confluence/display/FLEX/Alex%27s+FlexJS+Prototype


On 12/21/12 12:50 PM, John McCormack j...@easypeasy.co.uk wrote:





Re: [flexcoders] Re: Flex alternatives

2012-12-23 Thread Alex Harui
On desktops/laptops, I will be surprised if you lose the ability to view SWFs.  
I can’t imagine you are the only person to leverage SWFs in PDF and I would 
expect major backlash if that was to stop working.

But the question for you is, in the future will your customers be using 
desktop/laptops?  In the home, tablets are becoming all the rage.  This is also 
true in some upper executive ranks.  Tablets may not support SWF in PDF.

There aren’t separate VMs for AIR vs Web.  AIR is a delivery package of the 
same AS VM that you get with the FlashPlayer but with some extensions and the 
ability to hook into the OS, so I don’t quite know how to answer your 
questions.  Both the current AS VM and AS Next VM use JIT to convert AS byte 
code to machine code at runtime.  For mobile apps you have to pre-process the 
entire SWF and the AIR runtime into a single machine-dependent package.

PDF is using a special player but I think that, even if that player does not 
stay in sync with Flash Player Next, it doesn’t matter to you.  It should still 
run your content.  So, I think the big question is what kind of devices your 
customers will be using.  I think Adobe will support legacy content on 
desktop/laptops for a long time.

-Alex

On 12/23/12 10:43 AM, John McCormack j...@easypeasy.co.uk wrote:







That is a very interesting diagram showing a way forward for Flex users.

 I have only used ActionScript Projects, rather than Flex, and have mainly been 
concerned not to lose a way to deliver my SWFs.

 I can see myself developing in JavaScript but not wishing to go back near the 
beginning with programming, and liking the way SWCs are used in my projects, I 
rather want things to stay as they are.

 On that subject, will later FlashPlayers have separate Virtual Machines for: 
(1) interpreting AIR (legacy) and (2) Browser (legacy) as well as (3) new code 
which is CPU dependent machine code?

 I understand that PDFs have their own built-in player and, according to Dave 
Merchant on Acrobat.com, we don't know what tje future of that might be. It 
would be a great shame to lose the PDF SWFs since if they worked properly with 
the PDF container it would be the best way to deliver high quality 
Text/Photo/Video/SWF combinations. At the moment the SWFs and PDF container 
don't thoroughly know about each other. Have I got that right about the PDF SWF 
player?

 Forgive my delayed posts but I have been teaching three days a week and busy 
winding up the apprentices assessments for the end of term.

 It's a great thing that Adobe have continued to keep you involved with the 
project.

 John


 On 21/12/2012 21:43, Alex Harui wrote:


  Re: [flexcoders] Re: Flex alternatives  Actually, I’m not just hanging in 
there, I’m still paid by Adobe to spend all of my time on Flex.  My teammates 
are now folks like you who have spare cycles to contribute to the future of 
Flex.  Apache Flex just “graduated” to being an official “top-level” project at 
Apache which means it will be around for as long as folks want it to.  Adobe 
has no say in its future.

 Working in Apache has been interesting because these new contributors have 
lots of diverse knowledge and experience.  The Apache Flex community is now 
investigating was to leverage a cross-compiler that can take in ActionScript 
and spit out JavaScript and allow you to use a Flex-like workflow to create 
RIAs that run without Flash.

 My thoughts on that topic and prototype is written up here: 
https://cwiki.apache.org/confluence/display/FLEX/Alex%27s+FlexJS+Prototype

 On 12/21/12 12:50 PM, John McCormack j...@easypeasy.co.uk wrote:









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


Re: [flexcoders] Re: Flex alternatives

2012-12-21 Thread John McCormack

Brilliant.
Thank you.

I am pleased that existing SWF's will run in an embedded VM in the new 
player.


Do you think the next-generation of ActionScript will be similar enough 
to make migration easy?

and
Is FlashBuilder likely to be the IDE that creates code for the new VM?

John

On 20/12/2012 05:50, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives

Well, there are several pieces.  ActionScript is a language.  It is 
really only the dozen classes or so in the “top-level” in the ASDoc. 
 String, int, RegEx, Array, Vector, a few functions like unescape, 
etc, plus a bunch of keywords and stuff like “var”, “class”, plus a 
grammar of how you put it all together.  It hasn’t changed much in 
years, other than the addition of Vector.  There are no plans to 
improve on its specification by adding things it is missing compared 
to other languages like Java such as method overloading, or mutiple 
inheritance.  Instead, Adobe is tossing out the whole specification 
and developing a next-generation of ActionScript.  It will have some 
of the same things you see in the current ActionScript, but there will 
be new keywords and grammar.  The goal is to give up on backward 
compatibility in order to get significant speed improvements by making 
the language easier to execute at runtime.


ActionScript currently only runs in a Virtual Machine embedded in the 
FlashPlayer or AIR.  Both runtimes provide additional APIs that allow 
you to draw stuff and get network i/o, etc.  The current APIs use 
ActionScript 3 syntax and are focused primarily on Sprites, Shapes and 
MovieClips on a display list.  New features were added in every major 
release.


Now, Adobe is working on embedding a new Virtual Machine that runs the 
next-generation ActionScript in the FlashPlayer and AIR.  The focus is 
on gaming, and a new set of APIs that talk to a 3d rendering engine is 
being devloped in the next-generation ActionScript syntax.  There will 
be no support for the old Sprites/Shapes/MovieClips and display list.


However, the old virtual machine that runs ActionScript 3 will 
continue to be embedded in the FlashPlayer and AIR that run on 
tradtional desktops/laptops.  I would not expect it to be co-existent 
on mobile versions of AIR because the new focus is on the captive 
runtime workflow where you pre-process your ActionScript code and the 
runtime libraries into a device-dependent executable.


So, given all of that, you can continue to deliver ActionScript 3 
content in AIR or FlashPlayer on desktops/laptops “forever”.  And 
unless you have heard otherwise from the PDF team, they probably won’t 
eliminate support for Flash in PDF on desktop/laptops soon.


I think Apache Flex exists because folks have found the Flex workflow 
easy and productive and also safe because it uses structured 
programming, and former Flex customers are now pitching in to continue 
to evolve Flex as much as we can given the constraints of the current 
environment.  The problem for many is that, because Adobe is not 
evolving the ActionScript 3 language, VM and runtime APIs related to 
it, folks see it as a dead end and no longer want to develop apps on 
it.  I can see their point, but there is a reason why DOS is still 
around on some custom handheld devices: it works, it is well known, 
and has a small footprint for a constrained environment.  Flash/AIR 
and Flex on ActionScript3 continue to be excellent ways to create apps 
quickly, but it has been difficult to convince customers to stick with it.


Anyway, so far, the most interest in Apache Flex seems to be around 
trying to leverage the Flex workflow to create apps that run on the 
HTML/CSS/JS stack (without Flash).  It will have growing pains for 
sure, but to me, a question about CPU load is premature.  There is 
1000’s of people from all over the world working on improving the 
runtime environment for HTML/CSS/JS.  They have made significant 
advances in the past several years and I don’t see a cap on it.  So 
any pain points you experience now are likely to be solved in the near 
future.  If you can continue to use Flash/AIR and let others suffer 
through the growing pains, consider yourself lucky.  Otherwise, put on 
some pads and join the battle.


On 12/19/12 9:29 AM, John McCormack j...@easypeasy.co.uk wrote:







Thank you again.

 Although ActionScript is not being developed for the FlashPlayer,
is it possible that it may still be developed separately for use
in AIR? I could deliver content through AIR instead of PDFs.

 My problem is that the FlashBuilder / Flash Professional workflow
is such a seductive one, with that easy marriage of graphics and
code, that I don't want to lose it. I have used C++ to produce
graphical programs and the AS3 route is a godsend in comparison.

 One wonders Is HMTL5 going to use any less CPU cycles than AS3,
once it is doing similar work?

 John

 On 18/12/2012 05:38, Alex Harui wrote

Re: [flexcoders] Re: Flex alternatives

2012-12-21 Thread Alex Harui
To not allow existing SWFs to play where they currently play would “break the 
web” and Adobe has no interest in doing that.

The next generation of AS is supposed to be easy to migrate to if you just want 
to get your code to run, but there is a chance that to fully leverage the 
performance benefits of the new language you will have to learn some new 
constructs and refactor existing code.

FlashBuilder will definitely be the IDE for developing applications for the new 
VM and new AS.


On 12/21/12 10:41 AM, John McCormack j...@easypeasy.co.uk wrote:







Brilliant.
 Thank you.

 I am pleased that existing SWF's will run in an embedded VM in the new player.

 Do you think the next-generation of ActionScript will be similar enough to 
make migration easy?
 and
 Is FlashBuilder likely to be the IDE that creates code for the new VM?

 John

 On 20/12/2012 05:50, Alex Harui wrote:


  Re: [flexcoders] Re: Flex alternatives  Well, there are several pieces.  
ActionScript is a language.  It is really only the dozen classes or so in the 
“top-level” in the ASDoc.  String, int, RegEx, Array, Vector, a few functions 
like unescape, etc, plus a bunch of keywords and stuff like “var”, “class”, 
plus a grammar of how you put it all together.  It hasn’t changed much in 
years, other than the addition of Vector.  There are no plans to improve on its 
specification by adding things it is missing compared to other languages like 
Java such as method overloading, or mutiple inheritance.  Instead, Adobe is 
tossing out the whole specification and developing a next-generation of 
ActionScript.  It will have some of the same things you see in the current 
ActionScript, but there will be new keywords and grammar.  The goal is to give 
up on backward compatibility in order to get significant speed improvements by 
making the language easier to execute at runtime.

 ActionScript currently only runs in a Virtual Machine embedded in the 
FlashPlayer or AIR.  Both runtimes provide additional APIs that allow you to 
draw stuff and get network i/o, etc.  The current APIs use ActionScript 3 
syntax and are focused primarily on Sprites, Shapes and MovieClips on a display 
list.  New features were added in every major release.

 Now, Adobe is working on embedding a new Virtual Machine that runs the 
next-generation ActionScript in the FlashPlayer and AIR.  The focus is on 
gaming, and a new set of APIs that talk to a 3d rendering engine is being 
devloped in the next-generation ActionScript syntax.  There will be no support 
for the old Sprites/Shapes/MovieClips and display list.

 However, the old virtual machine that runs ActionScript 3 will continue to be 
embedded in the FlashPlayer and AIR that run on tradtional desktops/laptops.  I 
would not expect it to be co-existent on mobile versions of AIR because the new 
focus is on the captive runtime workflow where you pre-process your 
ActionScript code and the runtime libraries into a device-dependent executable.

 So, given all of that, you can continue to deliver ActionScript 3 content in 
AIR or FlashPlayer on desktops/laptops “forever”.  And unless you have heard 
otherwise from the PDF team, they probably won’t eliminate support for Flash in 
PDF on desktop/laptops soon.

 I think Apache Flex exists because folks have found the Flex workflow easy and 
productive and also safe because it uses structured programming, and former 
Flex customers are now pitching in to continue to evolve Flex as much as we can 
given the constraints of the current environment.  The problem for many is 
that, because Adobe is not evolving the ActionScript 3 language, VM and runtime 
APIs related to it, folks see it as a dead end and no longer want to develop 
apps on it.  I can see their point, but there is a reason why DOS is still 
around on some custom handheld devices: it works, it is well known, and has a 
small footprint for a constrained environment.  Flash/AIR and Flex on 
ActionScript3 continue to be excellent ways to create apps quickly, but it has 
been difficult to convince customers to stick with it.

 Anyway, so far, the most interest in Apache Flex seems to be around trying to 
leverage the Flex workflow to create apps that run on the HTML/CSS/JS stack 
(without Flash).  It will have growing pains for sure, but to me, a question 
about CPU load is premature.  There is 1000’s of people from all over the world 
working on improving the runtime environment for HTML/CSS/JS.  They have made 
significant advances in the past several years and I don’t see a cap on it.  So 
any pain points you experience now are likely to be solved in the near future.  
If you can continue to use Flash/AIR and let others suffer through the growing 
pains, consider yourself lucky.  Otherwise, put on some pads and join the 
battle.

 On 12/19/12 9:29 AM, John McCormack j...@easypeasy.co.uk wrote:








 Thank you again.

  Although ActionScript is not being developed for the FlashPlayer, is it 
possible

Re: [flexcoders] Re: Flex alternatives

2012-12-21 Thread John McCormack

On 21/12/2012 18:52, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives
To not allow existing SWFs to play where they currently play would 
“break the web” and Adobe has no interest in doing that.


The next generation of AS is supposed to be easy to migrate to if you 
just want to get your code to run, but there is a chance that to fully 
leverage the performance benefits of the new language you will have to 
learn some new constructs and refactor existing code.


FlashBuilder will definitely be the IDE for developing applications 
for the new VM and new AS.




That's all good to know. Looks like I am all set for a while, at least.

I noticed you still hanging in there...
http://incubator.apache.org/flex/team.html

Thanks again.
John


Re: [flexcoders] Re: Flex alternatives

2012-12-21 Thread Alex Harui
Actually, I’m not just hanging in there, I’m still paid by Adobe to spend all 
of my time on Flex.  My teammates are now folks like you who have spare cycles 
to contribute to the future of Flex.  Apache Flex just “graduated” to being an 
official “top-level” project at Apache which means it will be around for as 
long as folks want it to.  Adobe has no say in its future.

Working in Apache has been interesting because these new contributors have lots 
of diverse knowledge and experience.  The Apache Flex community is now 
investigating was to leverage a cross-compiler that can take in ActionScript 
and spit out JavaScript and allow you to use a Flex-like workflow to create 
RIAs that run without Flash.

My thoughts on that topic and prototype is written up here: 
https://cwiki.apache.org/confluence/display/FLEX/Alex%27s+FlexJS+Prototype

On 12/21/12 12:50 PM, John McCormack j...@easypeasy.co.uk wrote:







On 21/12/2012 18:52, Alex Harui wrote:


  Re: [flexcoders] Re: Flex alternatives
  To not allow existing SWFs to play where they currently play would “break the 
web” and Adobe has no interest in doing that.

 The next generation of AS is supposed to be easy to migrate to if you just 
want to get your code to run, but there is a chance that to fully leverage the 
performance benefits of the new language you will have to learn some new 
constructs and refactor existing code.

 FlashBuilder will definitely be the IDE for developing applications for the 
new VM and new AS.



 That's all good to know. Looks like I am all set for a while, at least.

 I noticed you still hanging in there...
 http://incubator.apache.org/flex/team.html

 Thanks again.
 John






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


Re: [flexcoders] Re: Flex alternatives

2012-12-19 Thread John McCormack

Thank you again.

Although ActionScript is not being developed for the FlashPlayer, is it 
possible that it may still be developed separately for use in AIR? I 
could deliver content through AIR instead of PDFs.


My problem is that the FlashBuilder / Flash Professional workflow is 
such a seductive one, with that easy marriage of graphics and code, that 
I don't want to lose it. I have used C++ to produce graphical programs 
and the AS3 route is a godsend in comparison.


One wonders Is HMTL5 going to use any less CPU cycles than AS3, once it 
is doing similar work?


John

On 18/12/2012 05:38, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives

Things get lost in translation, but one goal of the parallel 
frameworks is to not leverage things that get lost in translation. 
 Otherwise, since JS and AS are ECMA-based, the translation works 
pretty well.


Keep in mind that, while Adobe is no longer investing in ActionScript 
3 on the Flash Player, and not developing Flash Player for mobile 
devices, and AIR may not run on all mobile devices, where the 
FlashPlayer is today, it will likely be there “forever”.  So, if alll 
of your users are using desktops/laptops that have browsers that have 
Flash, you can continue to use Flex and/or ActionScript 3 to build 
applications and they will likely run there not just in five years, 
but even after that.  There is no time-bomb in the players that will 
go off and stop running.  Even though ActionScript Next and 
FlashPlayer Next are not compatibile with ActionScript 3, the AS3 VM 
will ship in the FlashPlayers that Adobe ships in the future.  There 
is the possibility that the browser vendors will stop supporting 
plugins, but I would imagine they will keep a compatibility-mode 
somehow.  I think there is too much Flash content out there and to 
block it from existing desktops/laptops would “break the web” and I 
don’t expect the browser vendors or Adobe take such a risk.  There 
would be too much negative press.  That doesn’t mean that new 
computers with new OS’s may not support Flash (that’s what Apple did 
with IOS), and many home users may forgo traditional computers for 
tablets in the future, so keep that in mind as well.


I don’t know the PDF market that well, but again, I would expect PDFs 
to continue to support Flash “forever” as well.  At least for the 
readers on traditional desktops/laptops.



On 12/17/12 10:48 AM, John McCormack j...@easypeasy.co.uk wrote:




Thank you.
 That's interesting and very helpful.

 One does wonder if a separate translation tool would do the job
faithfully, and so creates doubt.

 For someone that wants to use SWFs in PDFs to deliver educational
content that is fully interactive, what workflow would you suggest
using for the next three to five years?

 John

 On 17/12/2012 16:31, Alex Harui wrote:


  Re: [flexcoders] Re: Flex alternatives  Adobe has no plans
that I know of to get ActionScript to work with HTML5 in the
same way that Google is proposing Dart as an alternative to
JavaScript.

 The Apache Flex project is working on a compiler that will
translate ActionScript to JavaScript.  In addition, the link I
posted proposes a component framework that would enable you to
build or prototype your app in Flash using FlashBuilder and
ActionScript and then run a separate tool outside of
FlashBuilder to translate it to JavaScript where it will run
and leverage HTML or HTML5 components.

 Alternatively, the same ActionScript to JavaScript compiler
would let you write the script portions of your website as
ActionScript using FlashBuilder and have separate HTML files,
then use the same separate tool outside of FlashBuilder to
translate the ActionScript to JavaScript.  And maybe
variations will be created that can output to various JS
frameworks.

 At this time, there are no plans to change FlashBuilder to
integrate the translation workflow.  Adobe’s focus for
FlashBuilder is on building ActionScript gaming and premium
video projects that run on the Flash player.  I suppose if the
JS workflow became wildly popular and Adobe could see a
revenue stream by supporting such a workflow things might
change, but I wouldn’t count on it.  There is a better chance
that someone in Apache Flex will start creating plugins for
Eclipse to support the workflow or one of the other tool
vendors will provide an integrated workflow.

 The future of ActionScript 3 in Rich Internet Applications
(as opposed to ActionScript “Next” as mentioned in the Flash
roadmap) is actually being given more attention by Apache Flex
than Adobe.  If you want to continue to use ActionScript 3 to
develop RIAs, I would encourage you to get involved

Re: [flexcoders] Re: Flex alternatives

2012-12-19 Thread Alex Harui
Well, there are several pieces.  ActionScript is a language.  It is really only 
the dozen classes or so in the “top-level” in the ASDoc.  String, int, RegEx, 
Array, Vector, a few functions like unescape, etc, plus a bunch of keywords and 
stuff like “var”, “class”, plus a grammar of how you put it all together.  It 
hasn’t changed much in years, other than the addition of Vector.  There are no 
plans to improve on its specification by adding things it is missing compared 
to other languages like Java such as method overloading, or mutiple 
inheritance.  Instead, Adobe is tossing out the whole specification and 
developing a next-generation of ActionScript.  It will have some of the same 
things you see in the current ActionScript, but there will be new keywords and 
grammar.  The goal is to give up on backward compatibility in order to get 
significant speed improvements by making the language easier to execute at 
runtime.

ActionScript currently only runs in a Virtual Machine embedded in the 
FlashPlayer or AIR.  Both runtimes provide additional APIs that allow you to 
draw stuff and get network i/o, etc.  The current APIs use ActionScript 3 
syntax and are focused primarily on Sprites, Shapes and MovieClips on a display 
list.  New features were added in every major release.

Now, Adobe is working on embedding a new Virtual Machine that runs the 
next-generation ActionScript in the FlashPlayer and AIR.  The focus is on 
gaming, and a new set of APIs that talk to a 3d rendering engine is being 
devloped in the next-generation ActionScript syntax.  There will be no support 
for the old Sprites/Shapes/MovieClips and display list.

However, the old virtual machine that runs ActionScript 3 will continue to be 
embedded in the FlashPlayer and AIR that run on tradtional desktops/laptops.  I 
would not expect it to be co-existent on mobile versions of AIR because the new 
focus is on the captive runtime workflow where you pre-process your 
ActionScript code and the runtime libraries into a device-dependent executable.

So, given all of that, you can continue to deliver ActionScript 3 content in 
AIR or FlashPlayer on desktops/laptops “forever”.  And unless you have heard 
otherwise from the PDF team, they probably won’t eliminate support for Flash in 
PDF on desktop/laptops soon.

I think Apache Flex exists because folks have found the Flex workflow easy and 
productive and also safe because it uses structured programming, and former 
Flex customers are now pitching in to continue to evolve Flex as much as we can 
given the constraints of the current environment.  The problem for many is 
that, because Adobe is not evolving the ActionScript 3 language, VM and runtime 
APIs related to it, folks see it as a dead end and no longer want to develop 
apps on it.  I can see their point, but there is a reason why DOS is still 
around on some custom handheld devices: it works, it is well known, and has a 
small footprint for a constrained environment.  Flash/AIR and Flex on 
ActionScript3 continue to be excellent ways to create apps quickly, but it has 
been difficult to convince customers to stick with it.

Anyway, so far, the most interest in Apache Flex seems to be around trying to 
leverage the Flex workflow to create apps that run on the HTML/CSS/JS stack 
(without Flash).  It will have growing pains for sure, but to me, a question 
about CPU load is premature.  There is 1000’s of people from all over the world 
working on improving the runtime environment for HTML/CSS/JS.  They have made 
significant advances in the past several years and I don’t see a cap on it.  So 
any pain points you experience now are likely to be solved in the near future.  
If you can continue to use Flash/AIR and let others suffer through the growing 
pains, consider yourself lucky.  Otherwise, put on some pads and join the 
battle.

On 12/19/12 9:29 AM, John McCormack j...@easypeasy.co.uk wrote:







Thank you again.

 Although ActionScript is not being developed for the FlashPlayer, is it 
possible that it may still be developed separately for use in AIR? I could 
deliver content through AIR instead of PDFs.

 My problem is that the FlashBuilder / Flash Professional workflow is such a 
seductive one, with that easy marriage of graphics and code, that I don't want 
to lose it. I have used C++ to produce graphical programs and the AS3 route is 
a godsend in comparison.

 One wonders Is HMTL5 going to use any less CPU cycles than AS3, once it is 
doing similar work?

 John

 On 18/12/2012 05:38, Alex Harui wrote:


  Re: [flexcoders] Re: Flex alternatives  Things get lost in translation, but 
one goal of the parallel frameworks is to not leverage things that get lost in 
translation.  Otherwise, since JS and AS are ECMA-based, the translation works 
pretty well.

 Keep in mind that, while Adobe is no longer investing in ActionScript 3 on the 
Flash Player, and not developing Flash Player for mobile devices, and AIR may 
not run on all

Re: [flexcoders] Re: Flex alternatives

2012-12-17 Thread John McCormack

On 17/12/2012 05:12, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives

Adobe has spent the year donating the Flex SDK and Falcon compilers to 
the Apache Software Foundation.  While Adobe has a small set of people 
contributing to Flex in Apache and a team that shipped Flash Builder 
4.7 and is working on subsequent Flash Builder release, Adobe is not 
leading the development of Flex and has not been for a full year.  The 
future of Flex is in the hands of the Apache Flex community.  This 
document should have made Adobe’s plans clear: 
http://www.adobe.com/devnet/flex/whitepapers/roadmap.html

I followed this link through to
http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html

Under Flash Player Next this says...
 and provide a foundation on which Flash can move forward over the next 
decade.


Does this imply ActionScript working collaboratively with HTML5 or is it 
an alternative to HTML5?


I am asking because I am hoping Flash Builder will continue to offer me 
a way forward (AS3+HTML5).


John


Re: [flexcoders] Re: Flex alternatives

2012-12-17 Thread Alex Harui
Adobe has no plans that I know of to get ActionScript to work with HTML5 in the 
same way that Google is proposing Dart as an alternative to JavaScript.

The Apache Flex project is working on a compiler that will translate 
ActionScript to JavaScript.  In addition, the link I posted proposes a 
component framework that would enable you to build or prototype your app in 
Flash using FlashBuilder and ActionScript and then run a separate tool outside 
of FlashBuilder to translate it to JavaScript where it will run and leverage 
HTML or HTML5 components.

Alternatively, the same ActionScript to JavaScript compiler would let you write 
the script portions of your website as ActionScript using FlashBuilder and have 
separate HTML files, then use the same separate tool outside of FlashBuilder to 
translate the ActionScript to JavaScript.  And maybe variations will be created 
that can output to various JS frameworks.

At this time, there are no plans to change FlashBuilder to integrate the 
translation workflow.  Adobe’s focus for FlashBuilder is on building 
ActionScript gaming and premium video projects that run on the Flash player.  I 
suppose if the JS workflow became wildly popular and Adobe could see a revenue 
stream by supporting such a workflow things might change, but I wouldn’t count 
on it.  There is a better chance that someone in Apache Flex will start 
creating plugins for Eclipse to support the workflow or one of the other tool 
vendors will provide an integrated workflow.

The future of ActionScript 3 in Rich Internet Applications (as opposed to 
ActionScript “Next” as mentioned in the Flash roadmap) is actually being given 
more attention by Apache Flex than Adobe.  If you want to continue to use 
ActionScript 3 to develop RIAs, I would encourage you to get involved with the 
Apache Flex project.

On 12/17/12 2:16 AM, John McCormack j...@easypeasy.co.uk wrote:







On 17/12/2012 05:12, Alex Harui wrote:


  Re: [flexcoders] Re: Flex alternatives  Adobe has spent the year donating the 
Flex SDK and Falcon compilers to the Apache Software Foundation.  While Adobe 
has a small set of people contributing to Flex in Apache and a team that 
shipped Flash Builder 4.7 and is working on subsequent Flash Builder release, 
Adobe is not leading the development of Flex and has not been for a full year.  
The future of Flex is in the hands of the Apache Flex community.  This document 
should have made Adobe’s plans clear: 
http://www.adobe.com/devnet/flex/whitepapers/roadmap.html

I followed this link through to
 http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html

 Under Flash Player Next this says...
  and provide a foundation on which Flash can move forward over the next 
decade.

 Does this imply ActionScript working collaboratively with HTML5 or is it an 
alternative to HTML5?

 I am asking because I am hoping Flash Builder will continue to offer me a way 
forward (AS3+HTML5).

 John






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


Re: [flexcoders] Re: Flex alternatives

2012-12-17 Thread Nigel Magnay

 Adobe’s focus for FlashBuilder is on building ActionScript gaming and
 premium video projects that run on the Flash player.

I think many people assumed that the driver was legacy in-browser flex
apps, plus AIR apps for mobile devices. That the older, legacy support had
been farmed out to Apache, leaving the Flash Builder products as 'premium
value-added design tools' fit consistently with what Adobe does elsewhere.

The (baffling) removal of design view in 4.7 puts that impression to the
sword, however.

I'm not saying it's the wrong way to go - it's after all up to Adobe to
choose where to invest their product development. It's in a sense good to
know that Adobe has ceded all hope of competing with Google or Microsoft
for HTML5 application building - that makes the choices a bit easier.


Re: [flexcoders] Re: Flex alternatives

2012-12-17 Thread John McCormack

Thank you.
That's interesting and very helpful.

One does wonder if a separate translation tool would do the job 
faithfully, and so creates doubt.


For someone that wants to use SWFs in PDFs to deliver educational 
content that is fully interactive, what workflow would you suggest using 
for the next three to five years?


John

On 17/12/2012 16:31, Alex Harui wrote:

Re: [flexcoders] Re: Flex alternatives

Adobe has no plans that I know of to get ActionScript to work with 
HTML5 in the same way that Google is proposing Dart as an alternative 
to JavaScript.


The Apache Flex project is working on a compiler that will translate 
ActionScript to JavaScript.  In addition, the link I posted proposes a 
component framework that would enable you to build or prototype your 
app in Flash using FlashBuilder and ActionScript and then run a 
separate tool outside of FlashBuilder to translate it to JavaScript 
where it will run and leverage HTML or HTML5 components.


Alternatively, the same ActionScript to JavaScript compiler would let 
you write the script portions of your website as ActionScript using 
FlashBuilder and have separate HTML files, then use the same separate 
tool outside of FlashBuilder to translate the ActionScript to 
JavaScript.  And maybe variations will be created that can output to 
various JS frameworks.


At this time, there are no plans to change FlashBuilder to integrate 
the translation workflow.  Adobe’s focus for FlashBuilder is on 
building ActionScript gaming and premium video projects that run on 
the Flash player.  I suppose if the JS workflow became wildly popular 
and Adobe could see a revenue stream by supporting such a workflow 
things might change, but I wouldn’t count on it.  There is a better 
chance that someone in Apache Flex will start creating plugins for 
Eclipse to support the workflow or one of the other tool vendors will 
provide an integrated workflow.


The future of ActionScript 3 in Rich Internet Applications (as opposed 
to ActionScript “Next” as mentioned in the Flash roadmap) is actually 
being given more attention by Apache Flex than Adobe.  If you want to 
continue to use ActionScript 3 to develop RIAs, I would encourage you 
to get involved with the Apache Flex project.


On 12/17/12 2:16 AM, John McCormack j...@easypeasy.co.uk wrote:







On 17/12/2012 05:12, Alex Harui wrote:


  Re: [flexcoders] Re: Flex alternatives  Adobe has spent the
year donating the Flex SDK and Falcon compilers to the Apache
Software Foundation.  While Adobe has a small set of people
contributing to Flex in Apache and a team that shipped Flash
Builder 4.7 and is working on subsequent Flash Builder
release, Adobe is not leading the development of Flex and has
not been for a full year.  The future of Flex is in the hands
of the Apache Flex community.  This document should have made
Adobe’s plans clear:
http://www.adobe.com/devnet/flex/whitepapers/roadmap.html

I followed this link through to
http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html

 Under Flash Player Next this says...
  and provide a foundation on which Flash can move forward over
the next decade.

 Does this imply ActionScript working collaboratively with HTML5
or is it an alternative to HTML5?

 I am asking because I am hoping Flash Builder will continue to
offer me a way forward (AS3+HTML5).

 John






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







Re: [flexcoders] Re: Flex alternatives

2012-12-17 Thread Alex Harui
I’m not sure I understood.  These roadmaps are nearly a year old.  Folks still 
thought that Flash Builder was being developed for Rich Internet Apps?  I guess 
we failed again to get the message out.

DesignView, as was discussed several times on the Apache Flex mailing list, is 
tied to specific SDK versions and as such, it was not possible for Adobe to 
certify DV against Apache Flex versions.

Adobe is investing in a whole new set of tools to address new workflows for 
HTML5 development.  If you are near a large city, try to find out when the 
“Create The Web” tour comes to your city.


On 12/17/12 8:54 AM, Nigel Magnay nigel.mag...@gmail.com wrote:






Adobe’s focus for FlashBuilder is on building ActionScript gaming and premium 
video projects that run on the Flash player.

I think many people assumed that the driver was legacy in-browser flex apps, 
plus AIR apps for mobile devices. That the older, legacy support had been 
farmed out to Apache, leaving the Flash Builder products as 'premium 
value-added design tools' fit consistently with what Adobe does elsewhere.

The (baffling) removal of design view in 4.7 puts that impression to the sword, 
however.

I'm not saying it's the wrong way to go - it's after all up to Adobe to choose 
where to invest their product development. It's in a sense good to know that 
Adobe has ceded all hope of competing with Google or Microsoft for HTML5 
application building - that makes the choices a bit easier.





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


Re: [flexcoders] Re: Flex alternatives

2012-12-17 Thread Alex Harui
Things get lost in translation, but one goal of the parallel frameworks is to 
not leverage things that get lost in translation.  Otherwise, since JS and AS 
are ECMA-based, the translation works pretty well.

Keep in mind that, while Adobe is no longer investing in ActionScript 3 on the 
Flash Player, and not developing Flash Player for mobile devices, and AIR may 
not run on all mobile devices, where the FlashPlayer is today, it will likely 
be there “forever”.  So, if alll of your users are using desktops/laptops that 
have browsers that have Flash, you can continue to use Flex and/or ActionScript 
3 to build applications and they will likely run there not just in five years, 
but even after that.  There is no time-bomb in the players that will go off and 
stop running.  Even though ActionScript Next and FlashPlayer Next are not 
compatibile with ActionScript 3, the AS3 VM will ship in the FlashPlayers that 
Adobe ships in the future.  There is the possibility that the browser vendors 
will stop supporting plugins, but I would imagine they will keep a 
compatibility-mode somehow.  I think there is too much Flash content out there 
and to block it from existing desktops/laptops would “break the web” and I 
don’t expect the browser vendors or Adobe take such a risk.  There would be too 
much negative press.  That doesn’t mean that new computers with new OS’s may 
not support Flash (that’s what Apple did with IOS), and many home users may 
forgo traditional computers for tablets in the future, so keep that in mind as 
well.

I don’t know the PDF market that well, but again, I would expect PDFs to 
continue to support Flash “forever” as well.  At least for the readers on 
traditional desktops/laptops.


On 12/17/12 10:48 AM, John McCormack j...@easypeasy.co.uk wrote:







Thank you.
 That's interesting and very helpful.

 One does wonder if a separate translation tool would do the job faithfully, 
and so creates doubt.

 For someone that wants to use SWFs in PDFs to deliver educational content that 
is fully interactive, what workflow would you suggest using for the next three 
to five years?

 John

 On 17/12/2012 16:31, Alex Harui wrote:


  Re: [flexcoders] Re: Flex alternatives  Adobe has no plans that I know of to 
get ActionScript to work with HTML5 in the same way that Google is proposing 
Dart as an alternative to JavaScript.

 The Apache Flex project is working on a compiler that will translate 
ActionScript to JavaScript.  In addition, the link I posted proposes a 
component framework that would enable you to build or prototype your app in 
Flash using FlashBuilder and ActionScript and then run a separate tool outside 
of FlashBuilder to translate it to JavaScript where it will run and leverage 
HTML or HTML5 components.

 Alternatively, the same ActionScript to JavaScript compiler would let you 
write the script portions of your website as ActionScript using FlashBuilder 
and have separate HTML files, then use the same separate tool outside of 
FlashBuilder to translate the ActionScript to JavaScript.  And maybe variations 
will be created that can output to various JS frameworks.

 At this time, there are no plans to change FlashBuilder to integrate the 
translation workflow.  Adobe’s focus for FlashBuilder is on building 
ActionScript gaming and premium video projects that run on the Flash player.  I 
suppose if the JS workflow became wildly popular and Adobe could see a revenue 
stream by supporting such a workflow things might change, but I wouldn’t count 
on it.  There is a better chance that someone in Apache Flex will start 
creating plugins for Eclipse to support the workflow or one of the other tool 
vendors will provide an integrated workflow.

 The future of ActionScript 3 in Rich Internet Applications (as opposed to 
ActionScript “Next” as mentioned in the Flash roadmap) is actually being given 
more attention by Apache Flex than Adobe.  If you want to continue to use 
ActionScript 3 to develop RIAs, I would encourage you to get involved with the 
Apache Flex project.

 On 12/17/12 2:16 AM, John McCormack j...@easypeasy.co.uk wrote:








 On 17/12/2012 05:12, Alex Harui wrote:



  Re: [flexcoders] Re: Flex alternatives  Adobe has spent the year donating the 
Flex SDK and Falcon compilers to the Apache Software Foundation.  While Adobe 
has a small set of people contributing to Flex in Apache and a team that 
shipped Flash Builder 4.7 and is working on subsequent Flash Builder release, 
Adobe is not leading the development of Flex and has not been for a full year.  
The future of Flex is in the hands of the Apache Flex community.  This document 
should have made Adobe’s plans clear: 
http://www.adobe.com/devnet/flex/whitepapers/roadmap.html


 I followed this link through to
  http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html

  Under Flash Player Next this says...
   and provide a foundation on which Flash can move forward over the next 
decade.

  Does

Re: [flexcoders] Re: Flex alternatives

2012-12-16 Thread Riccardo Cohen
Hello
I recently found an interesting product : http://cappuccino.org which 
seems to be technically a good alternative for flex (if needed). I have 
not investigated at all, just had a look.

Of course, if even Adobe's flex is not reliable from the perennity point 
of view, there is no reason why capuccino can be more reliable. And you 
may invest in it and loose all, just like for flex as tablet browser plugin.

I can only hope that one beautiful day, all browser will be 100% html5 
compatible (will it be html6 at this time ?) and our developer's anxiety 
will be solved. (I don't beleive to that too, anyway.)


On 16/12/12 01:01, Carlos Rovira wrote:
 Real alternative?... Nothing. There's only Flex  ;)

 El sábado, 15 de diciembre de 2012, Sal escribió:

 __



 --- In flexcoders@yahoogroups.com, Sal sal.celli@... wrote:
  
   hi,
   as i can sadly see from the message history bottom grid, many
 programmers are leaving flex.
   So this thread is to ask you all, if you have already found a
 valid alternative to flex for RIA development.
  

 After almost 1 year, it seems that Adobe itself gave us the answer
 releasing Adobe Flash Builder 4.7 without the design view. This is a
 straight message to all flex programmers telling us that Adobe has
 no more intention, and maybe neither a project group, to continue
 flex developing. So now, after this year of reflections and testing
 new products, what is the real alternative to flex?



 --
 Sent from Gmail Mobile

 

-- 
Riccardo Cohen
+33 (0)6 09 83 64 49
Société Realty-Property.com
1 rue de la Monnaie
37000 Tours
France

http://www.appartement-maison.fr




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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
flexcoders-dig...@yahoogroups.com 
flexcoders-fullfeatu...@yahoogroups.com

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

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



Re: [flexcoders] Re: Flex alternatives

2012-12-16 Thread Carlos Rovira
Real alternative?... Nothing. There's only Flex  ;)

El sábado, 15 de diciembre de 2012, Sal escribió:

 **




 --- In flexcoders@yahoogroups.com javascript:_e({}, 'cvml',
 'flexcoders%40yahoogroups.com');, Sal sal.celli@... wrote:
 
  hi,
  as i can sadly see from the message history bottom grid, many
 programmers are leaving flex.
  So this thread is to ask you all, if you have already found a valid
 alternative to flex for RIA development.
 

 After almost 1 year, it seems that Adobe itself gave us the answer
 releasing Adobe Flash Builder 4.7 without the design view. This is a
 straight message to all flex programmers telling us that Adobe has no more
 intention, and maybe neither a project group, to continue flex developing.
 So now, after this year of reflections and testing new products, what is
 the real alternative to flex?

  



-- 
Sent from Gmail Mobile


Re: [flexcoders] Re: Flex alternatives

2012-12-16 Thread Alex Harui
Adobe has spent the year donating the Flex SDK and Falcon compilers to the 
Apache Software Foundation.  While Adobe has a small set of people contributing 
to Flex in Apache and a team that shipped Flash Builder 4.7 and is working on 
subsequent Flash Builder release, Adobe is not leading the development of Flex 
and has not been for a full year.  The future of Flex is in the hands of the 
Apache Flex community.  This document should have made Adobe’s plans clear: 
http://www.adobe.com/devnet/flex/whitepapers/roadmap.html

Meanwhile, there is plenty of activity in the Apache Flex community, including 
an effort to leverage ActionScript and MXML to write applications that can run 
without Flash, by translating ActionScript to JavaScript.  If you like to use 
Flex, you may want to find a way to contribute to the Apache Flex project.  The 
main page for the Apache Flex project is currently: 
http://incubator.apache.org/flex/ but will change if/when we become an official 
Apache top-level project.

This document describes one approach to Flex without Flash.  There are other 
approaches being investigated at this time.

-Alex


On 12/15/12 1:59 AM, Sal sal.ce...@yahoo.com wrote:








--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Sal 
sal.celli@... wrote:

 hi,
  as i can sadly see from the message history bottom grid, many programmers 
 are leaving flex.
 So this thread is to ask you all, if you have already found a valid 
 alternative to flex for RIA development.


After almost 1 year, it seems that Adobe itself gave us the answer releasing 
Adobe Flash Builder 4.7 without the design view. This is a straight message to 
all flex programmers telling us that Adobe has no more intention, and maybe 
neither a project group, to continue flex developing. So now, after this year 
of reflections and testing new products, what is the real alternative to flex?






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


Re: [flexcoders] Re: Flex alternatives

2012-12-15 Thread Carlos Rovira
Real alternative?... Nothing. There's only Flex  ;)

El sábado, 15 de diciembre de 2012, Sal escribió:

 **




 --- In flexcoders@yahoogroups.com javascript:_e({}, 'cvml',
 'flexcoders%40yahoogroups.com');, Sal sal.celli@... wrote:
 
  hi,
  as i can sadly see from the message history bottom grid, many
 programmers are leaving flex.
  So this thread is to ask you all, if you have already found a valid
 alternative to flex for RIA development.
 

 After almost 1 year, it seems that Adobe itself gave us the answer
 releasing Adobe Flash Builder 4.7 without the design view. This is a
 straight message to all flex programmers telling us that Adobe has no more
 intention, and maybe neither a project group, to continue flex developing.
 So now, after this year of reflections and testing new products, what is
 the real alternative to flex?

  



-- 
Sent from Gmail Mobile


RE: [flexcoders] Checkbox in grid

2012-12-07 Thread Davidson, Jerry
I guess I'm just not getting it.  The datagrid (id=dg2) has a dataProvider.  
Each column in the grid is associated with one element in the dataProvider 
except for the renderer where the checkbox is.  That is in a renderer because 
based on other fields it will be either enabled or not.

After a button is pressed, a routine is invoked that will loop through the 
dataProvider source to see if the checkbox were clicked.  What I don't see is 
how to connect the renderer to the dataProvider checkbox field.  Any reference 
to it causes a can't do that to a null object message.

I added another field to the VO and in the renderer I can  change the value of 
a Boolean such that it is true if the box were checked.  This was done by 
adding a change event to the renderer.  Since I could change the value of the 
field I don't see why I couldn't change the value of the checkbox field.

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Alex Harui
Sent: Friday, December 07, 2012 1:29 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Checkbox in grid



Usually the checkbox changes something, either in the selection model or the 
data model, and you loop over that model.


On 12/6/12 7:58 AM, Davidson, Jerry jerry.david...@illinois.gov wrote:





I have a check box in an advancedatagrid along with other fields.  They all 
show up as does the checkbox.  I can check the box(es).  There is a button that 
will then process the selected records.

I start a loop on the grid, but I don't know where to go from there.  The two 
things I want to do is 1) if the row is checked, add it to an array for further 
processing and 2) when coming into the array clear any checks still in there 
from the last time.

The user will click on array1 and the data is used to populate array2 with 
details.  Array2 also has the checkbox in an itemrenderer and below it a 
process button.  You click the records you want processed then the button to 
build an array of selected records that are passed on for further processing.

The array code looks like this:
cust:MyAdvancedDataGrid
id=dg2
resizableColumns=true
height=100% width=100%
editable=false
styleName=mainGrid
dataProvider={model.userAARetrieveList}
headerStyleName=datagridHeaderStyles
selectionMode=singleCell
accessibilityName=A and A Report History List, DataGrid, use arrow 
keys to navigate between cells
   cust:columns
 mx:AdvancedDataGridColumn
id=select
headerText=Select

itemRenderer=gov.il.dhs.wvs.view.renderers.UserAA_Chck_Renderer
width=45/

 mx:AdvancedDataGridColumn
headerText=Week Ending

itemRenderer=gov.il.dhs.wvs.view.renderers.UserAA_WE_Renderer
width=85/
more columns...

The processing button code looks like this:
// bottom grid clicked
var dg2AC:ArrayCollection = new ArrayCollection();

 for each (var obj:Object in dg2.dataProvider)
  {
   if (obj.select.selected)
{
  dg2AC.addItem(obj);
}
  }

 if (dg2AC.length == 0)
   return;

  (new UserAAInsertEvent(dg2AC as UserAAInsertVO)).dispatch();

I've spent the last hour reviewing blogs and such, but can't seem to find the 
right stuff.





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



Re: [flexcoders] Checkbox in grid

2012-12-07 Thread Alex Harui
Renderers are recycled.  There are only enough of them as there are visible 
rows.   Renderers get re-assigned to different dataprovider items as you 
scroll.  Therefore, every visible aspect of the renderer should be tied to the 
dataprovider item.  And that’s why reading back the value from the renderer 
won’t work.  There isn’t a renderer for off-screen rows.


On 12/7/12 12:14 PM, Davidson, Jerry jerry.david...@illinois.gov wrote:






I guess I’m just not getting it.  The datagrid (id=dg2) has a dataProvider.  
Each column in the grid is associated with one element in the dataProvider 
except for the renderer where the checkbox is.  That is in a renderer because 
based on other fields it will be either enabled or not.

After a button is pressed, a routine is invoked that will loop through the 
dataProvider source to see if the checkbox were clicked.  What I don’t see is 
how to connect the renderer to the dataProvider checkbox field.  Any reference 
to it causes a “can’t do that to a null object” message.

I added another field to the VO and in the renderer I can  change the value of 
a Boolean such that it is true if the box were checked.  This was done by 
adding a “change” event to the renderer.  Since I could change the value of the 
field I don’t see why I couldn’t change the value of the checkbox field.


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Alex Harui
Sent: Friday, December 07, 2012 1:29 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Checkbox in grid



Usually the checkbox changes something, either in the selection model or the 
data model, and you loop over that model.


On 12/6/12 7:58 AM, Davidson, Jerry jerry.david...@illinois.gov wrote:






I have a check box in an advancedatagrid along with other fields.  They all 
show up as does the checkbox.  I can check the box(es).  There is a button that 
will then process the selected records.

I start a loop on the grid, but I don’t know where to go from there.  The two 
things I want to do is 1) if the row is checked, add it to an array for further 
processing and 2) when coming into the array clear any checks still in there 
from the last time.

The user will click on array1 and the data is used to populate array2 with 
details.  Array2 also has the checkbox in an itemrenderer and below it a 
process button.  You click the records you want processed then the button to 
build an array of selected records that are passed on for further processing.

The array code looks like this:
   cust:MyAdvancedDataGrid
id=dg2
resizableColumns=true
height=100% width=100%
editable=false
styleName=mainGrid
dataProvider={model.userAARetrieveList}
headerStyleName=datagridHeaderStyles
selectionMode=singleCell
accessibilityName=A and A Report History List, DataGrid, use arrow 
keys to navigate between cells
   cust:columns
 mx:AdvancedDataGridColumn
id=select
headerText=Select

itemRenderer=gov.il.dhs.wvs.view.renderers.UserAA_Chck_Renderer
width=45/

 mx:AdvancedDataGridColumn
headerText=Week Ending

itemRenderer=gov.il.dhs.wvs.view.renderers.UserAA_WE_Renderer
width=85/
more columns…

The processing button code looks like this:
   // bottom grid clicked
   var dg2AC:ArrayCollection = new ArrayCollection();

 for each (var obj:Object in dg2.dataProvider)
  {
   if (obj.select.selected)
{
  dg2AC.addItem(obj);
}
  }

 if (dg2AC.length == 0)
   return;

  (new UserAAInsertEvent(dg2AC as UserAAInsertVO)).dispatch();

I’ve spent the last hour reviewing blogs and such, but can’t seem to find the 
right stuff.






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


Re: [flexcoders] Checkbox in grid

2012-12-06 Thread Alex Harui
Usually the checkbox changes something, either in the selection model or the 
data model, and you loop over that model.


On 12/6/12 7:58 AM, Davidson, Jerry jerry.david...@illinois.gov wrote:






I have a check box in an advancedatagrid along with other fields.  They all 
show up as does the checkbox.  I can check the box(es).  There is a button that 
will then process the selected records.

I start a loop on the grid, but I don’t know where to go from there.  The two 
things I want to do is 1) if the row is checked, add it to an array for further 
processing and 2) when coming into the array clear any checks still in there 
from the last time.

The user will click on array1 and the data is used to populate array2 with 
details.  Array2 also has the checkbox in an itemrenderer and below it a 
process button.  You click the records you want processed then the button to 
build an array of selected records that are passed on for further processing.

The array code looks like this:
cust:MyAdvancedDataGrid
id=dg2
resizableColumns=true
height=100% width=100%
editable=false
styleName=mainGrid
dataProvider={model.userAARetrieveList}
headerStyleName=datagridHeaderStyles
selectionMode=singleCell
accessibilityName=A and A Report History List, DataGrid, use arrow 
keys to navigate between cells
   cust:columns
 mx:AdvancedDataGridColumn
id=select
headerText=Select

itemRenderer=gov.il.dhs.wvs.view.renderers.UserAA_Chck_Renderer
width=45/

 mx:AdvancedDataGridColumn
headerText=Week Ending

itemRenderer=gov.il.dhs.wvs.view.renderers.UserAA_WE_Renderer
width=85/
more columns…

The processing button code looks like this:
// bottom grid clicked
var dg2AC:ArrayCollection = new ArrayCollection();

 for each (var obj:Object in dg2.dataProvider)
  {
   if (obj.select.selected)
{
  dg2AC.addItem(obj);
}
  }

 if (dg2AC.length == 0)
   return;

  (new UserAAInsertEvent(dg2AC as UserAAInsertVO)).dispatch();

I’ve spent the last hour reviewing blogs and such, but can’t seem to find the 
right stuff.






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


Re: [flexcoders] Re: Inserting Flex Container to TLF?

2012-12-04 Thread Alex Harui
What is the content of this container?  If it is non-interactive, take a bitmap 
of it and insert that instead.

If you are trying to get text to flow around it, Flex text widgets do not 
support that ,but TLF supposedly does.by setting up a set of TLF containers for 
the ContainerController to work with.

Also, you can insert a dummy bitmap in the TextFlow and float a Flex container 
over that area.


On 12/4/12 9:10 AM, handitan handi@gmail.com wrote:






Hi Alex!

Thanks for the reply!
Hmmm...I guess that's the only way to do it, huh?
Any other suggestion?

Again thank you!

Handi
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex 
Harui aharui@... wrote:

 UIComponents must be parented by other UIComponents.

 Now there is a call that sets a virtual parent that you might be able to use 
 to jump over all of the TLF parents to rewire the container into the Flex 
 DOM.  We use it in MX containers for scrolling since we put a non-UIComponent 
 between the container and its children so we can clip it.  No guarantees that 
 will work though.


 On 11/29/12 6:05 PM, handitan handi.tan@... wrote:






 Hi all,

 I am in the process of trying to customize TLF to be able to read my custom 
 html tag that will be able to render Flex container.

 I am using TLF code that's related to InlineGraphicElement as my reference 
 for this customization.
 I think I got into a good point where the Flex container is added but the 
 style doesn't get rendered (blue border and red background).

 I don't know why that is but my best guess is the validation doesn't get 
 called since TLF is not based on Flex.
 To verify this I tried another experiment by creating a subclass of  
 RectangularBorder where the updateDisplayList overridden with code that has 
 drawRect,and bla bla.

 I found out that updateDisplayList never gets called at all.
 Here's the framework that I am using:
 - Flex 3.6
 - TLF 3.0

 Could anyone please point me into the right direction on how to solve this 
 issue?

 Thank you,

 Handi






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







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


Re: [flexcoders] implement stage3d while maintaining fp 10.1 support

2012-11-30 Thread Alex Harui
I would use player version detection to load different SWFs.


On 11/29/12 2:21 AM, Csomák Gábor csom...@gmail.com wrote:






Hi!
At my company, there is a policy to support 10.1 flash player. I was wondering, 
if there is a way to implement stage3D if the client is capable, (else display 
on stage), with Flex 4.1A SDK to compile the AS3 project?
Thanks,
Gabor





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


Re: [flexcoders] Inserting Flex Container to TLF?

2012-11-30 Thread Alex Harui
UIComponents must be parented by other UIComponents.

Now there is a call that sets a virtual parent that you might be able to use to 
jump over all of the TLF parents to rewire the container into the Flex DOM.  We 
use it in MX containers for scrolling since we put a non-UIComponent between 
the container and its children so we can clip it.  No guarantees that will work 
though.


On 11/29/12 6:05 PM, handitan handi@gmail.com wrote:






Hi all,

I am in the process of trying to customize TLF to be able to read my custom 
html tag that will be able to render Flex container.

I am using TLF code that's related to InlineGraphicElement as my reference for 
this customization.
I think I got into a good point where the Flex container is added but the style 
doesn't get rendered (blue border and red background).

I don't know why that is but my best guess is the validation doesn't get called 
since TLF is not based on Flex.
To verify this I tried another experiment by creating a subclass of  
RectangularBorder where the updateDisplayList overridden with code that has 
drawRect,and bla bla.

I found out that updateDisplayList never gets called at all.
Here's the framework that I am using:
- Flex 3.6
- TLF 3.0

Could anyone please point me into the right direction on how to solve this 
issue?

Thank you,

Handi






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


Re: [flexcoders] flash.system::Worker could not be found

2012-11-20 Thread Csomák Gábor
its in air. can I use swf version for air also?

On Tue, Nov 20, 2012 at 12:10 AM, Alex Harui aha...@adobe.com wrote:



 Make sure the swf-version is set correctly.



 On 11/19/12 12:21 PM, Csomák Gábor csom...@gmail.com wrote:






 HI!
 I'm trying to implement workers to an existing Flex/AIR project, but I get
 the following runtime error:

 VerifyError: Error #1014: Class flash.system::Worker could not be found.

 at line:

 var worker:Worker =
 WorkerDomain.current.createWorker(Workers.TUtils_DataToXMLToFileWorker);


 anybody got idea why it is?
 thanks!





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



Re: [flexcoders] Re: profiling flex applications

2012-11-20 Thread Alex Harui
You should refactor to use modules.


On 11/20/12 2:08 AM, Nitin Gopi nitin.g...@yahoo.co.in wrote:






Hi
First I tell you what is the present scenario.
I have an application which was not created using modules. It was developed 
years back. Now the application size has grown larger. When we compile it we 
get a singe swf file which is 5 MB in size. It takes so much time to load on 
the browser. Its the only swf in the debug folder. The compile time is also 
much more.
Now my task is to do both, reduce the compile time as much as possible and also 
make it faster on the browser.
So far I have done these things
1. I tried to look for loitering objects using flashbuilder profiler tool and 
found some of them. Then I assigned the objects to null as soon as its job was 
finished. I couldn't find the weak references. This has reduce memory leaks at 
many places.
2. Use of setStyle() is not the best way, so for that I used the styles in css. 
But do not know how much the performance will be improved.
3. We have been using embedded images for each button to show the skins for 
mouse hover, mouse click operations. This creates unnecessary images in the 
assets folder. As part of solution I tried to use a skinClass for the buttons. 
It has styles for mouse over, mouse click operations. One advantage is that we 
can get rid of all the button images inside the assets folder. But for each 
button one object of skinClass will be created. Is it a nice idea or I am doing 
something wrong here?
4. I also tried to put all the css files and images inside separate swc and 
link it as RSL in the project. It reduces the overall swf size and compile time 
is also reduced but not sure about the performance, will check it.
5. Is there anything else which I can do to reduce the compile time and 
increase the performance or if there is anything which I am doing wrong?






 From: Nitin Gopi nitin.g...@yahoo.co.in
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Sent: Tuesday, 20 November 2012 9:01 AM
 Subject: profiling flex applications


Hi
I am doing the profiling of our flex application. For this I am taking the help 
of flashbuilder profiler tool.
Right now I am focusing on reducing the build time of the application. The 
application is compiled into a single swf file, since modules are not used in 
the application. Keeping that in view, my task is to reduce the build time of 
the application. So far I have found that one way to reduce the build time is 
to separate the assets into a separate swc. Link that swc as RSL and build the 
project. Does this affect the performance of the application?
What are the other ways to reduce the build time of the application?

I have one more question. In our project we are using embedded images for the 
buttons. One is the default image and one image for mouse down. So 2 images for 
each button. This increases the no. of images in the assets folder. I tried to 
use a custom skin for all the buttons. This reduces the no. of assets but when 
I run the flashbuilder profiler it shows no. of objects for the skinclass used. 
So if we have say 50 buttons in the application, 50 objects of skinclass will 
be created. Is this the correct way or I am missing something ?

Thanks
Nitin










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


Re: [flexcoders] flash.system::Worker could not be found

2012-11-20 Thread Alex Harui
Yes


On 11/20/12 4:45 AM, Csomák Gábor csom...@gmail.com wrote:






its in air. can I use swf version for air also?

On Tue, Nov 20, 2012 at 12:10 AM, Alex Harui aha...@adobe.com wrote:





Make sure the swf-version is set correctly.




On 11/19/12 12:21 PM, Csomák Gábor csom...@gmail.com 
http://csom...@gmail.com  wrote:






HI!
I'm trying to implement workers to an existing Flex/AIR project, but I get the 
following runtime error:

VerifyError: Error #1014: Class flash.system::Worker could not be found.

at line:

var worker:Worker = 
WorkerDomain.current.createWorker(Workers.TUtils_DataToXMLToFileWorker);


anybody got idea why it is?
thanks!





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


Re: [flexcoders] sharing RSL (loaded by module) between sibling modules

2012-11-19 Thread venkateswarlu naidu
Thanks Alex!
Checked the presentation, so I have to load my custom RSL from my main top 
level application!

I thought,  I can tweek something to get it done :)

The problem is we have to compile/release the main application for any change 
in the RSL, which is difficult for us , as different groups/teams owns 
different sub applications/modules!!

Thanks
Venkat
Sent from Yahoo! Mail on Android



Re: [flexcoders] flash.system::Worker could not be found

2012-11-19 Thread Alex Harui
Make sure the swf-version is set correctly.


On 11/19/12 12:21 PM, Csomák Gábor csom...@gmail.com wrote:






HI!
I'm trying to implement workers to an existing Flex/AIR project, but I get the 
following runtime error:

VerifyError: Error #1014: Class flash.system::Worker could not be found.

at line:

var worker:Worker = 
WorkerDomain.current.createWorker(Workers.TUtils_DataToXMLToFileWorker);


anybody got idea why it is?
thanks!





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


Re: [flexcoders] Joe G James is out of the office.

2012-11-19 Thread Paul A.

So that's what

VerifyError: Error #1014: Class flash.system::Worker could not be found

is all about...


;-)



On 20/11/2012 00:01, joe.g.ja...@kp.org wrote:



I will be out of the office starting  11/19/2012 and will not return 
until 11/26/2012.


I will respond to your message when I return.






Re: [flexcoders] sharing RSL (loaded by module) between sibling modules

2012-11-18 Thread venkateswarlu naidu

Forgot to mention that i am using SDK 4.1 and my RSL has some non UI 
actionscript classes only!!

Thanks,
Venkat.
 


 From: venkateswarlu naidu contactve...@yahoo.co.in
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Cc: Alex Harui aha...@adobe.com 
Sent: Saturday, 17 November 2012 11:47 PM
Subject: [flexcoders] sharing RSL (loaded by module) between sibling modules
  
 
   
 
Hi Guys,
 
I am stuck with  this RSL issue and need your help here!
I have one main mx:Application and two modules!
 
Main Application (abc.com/MainApp/main.swf) loads module1 
(abc.com/ModuleApp1/module1.swf) which inturn loads one custom RSL and 
module1 is using getDefinitionByName to instantiate the classes (present in 
RSL) at runtime and it works.
Main Application loads module2 (abc.com/ModuleApp2/module2.swf), from this 
module i want to use getDefinitionByName  to instantiate the class (present in 
above RSL) at runtime but its not working..
 Application ---loads module1 -loads custom RSL (contains 
test.TestImpl)  getDefinitonByName(test.TestImpl) works
Application  loads module2- 
getDefinitonByName(test.TestImpl)  doesnt work :(
 
It works if custom RSL is loaded by Main application but not by module1! Tried 
different ways but couldnt make it work.
 
Appreciate your help !!
 
 

Thanks,
Venkat.   
 

Re: [flexcoders] sharing RSL (loaded by module) between sibling modules

2012-11-18 Thread Alex Harui
See the modules presentation on my blog.

If you want to share classes, the RSL must be loaded into a shared 
ApplicationDomain.

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


On 11/18/12 7:43 AM, venkateswarlu naidu contactve...@yahoo.co.in wrote:

Forgot to mention that i am using SDK 4.1 and my RSL has some non UI 
actionscript classes only!!

Thanks,
Venkat.




 From: venkateswarlu naidu contactve...@yahoo.co.in
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Cc: Alex Harui aha...@adobe.com
 Sent: Saturday, 17 November 2012 11:47 PM
 Subject: [flexcoders] sharing RSL (loaded by module) between sibling modules






Hi Guys,

I am stuck with  this RSL issue and need your help here!
I have one main mx:Application and two modules!

Main Application (abc.com/MainApp/main.swf) loads module1 
(abc.com/ModuleApp1/module1.swf) which inturn loads one custom RSL and module1 
is using getDefinitionByName to instantiate the classes (present in RSL) at 
runtime and it works.
Main Application loads module2 (abc.com/ModuleApp2/module2.swf), from this 
module i want to use getDefinitionByName  to instantiate the class (present in 
above RSL) at runtime but its not working..

Application ---loads module1 -loads custom RSL (contains 
test.TestImpl)  getDefinitonByName(test.TestImpl) works
Application  loads module2- 
getDefinitonByName(test.TestImpl)  doesnt work :(

It works if custom RSL is loaded by Main application but not by module1! Tried 
different ways but couldnt make it work.

Appreciate your help !!



Thanks,
Venkat.











Re: [flexcoders] Profiling flex applications

2012-11-14 Thread Alex Harui
Jun Heider gave a presentation at 360 Flex several years back.


On 11/13/12 7:08 AM, Nitin Gopi nitin.g...@yahoo.co.in wrote:






Hi All,
Has anybody worked in the area of profiling flex applications. This includes 
finding memory leaks, improving compilation time and solving performance issues.

Regards
Nitin Gopi





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


Re: [flexcoders] mx component restrict question

2012-11-14 Thread Alex Harui
That’s in the doc.  See use of backslashes.


On 11/13/12 8:54 PM, markflex2007 markflex2...@yahoo.com wrote:






Hi,

for mx component. if textinput allow number. I can do this

mx:TextInput id=textInput
 restrict=0-9
 widthInChars=20
 maxChars=20 /

 but I also want to allow negative sign

 if I did this

 mx:TextInput id=textInput
 restrict=-0-9
 widthInChars=20
 maxChars=20 /

 I also can type ,.etc

 How to do that if I only allow negative sign and number for mx component.

 Thanks


 Mark






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


RE: [flexcoders] Localization in Actionscript file

2012-11-06 Thread Merrill, Jason
Why would you store information in actionscript files? It would seem better to 
use a data source like XML for localization data rather than keep information 
in an Actionscript file.  In my opinion, in an ideal setup, the only 
information that would be contained in an Actionscript file would be in the 
form of constants.

Jason Merrill
Instructional Technology Architect II
Bank of America  Global Learning
 703.302.9265 (w/h)


___

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of sony antony
Sent: Tuesday, November 06, 2012 5:26 AM
To: flex coders
Subject: [flexcoders] Localization in Actionscript file


Hello friends,

I have a scenario like I need to implement localization in actionscript files.

Accessing strings from respective .properties files(resource files) for 
different locales. We are using resourcebundle class for that.

And we have ComboBox in that page. We need to change the display list of that 
combox according to the languages being changed.

Not able to achieve this.

Please reply if anyone can help in this scenario.

Regards,
Sony


--
This message w/attachments (message) is intended solely for the use of the 
intended recipient(s) and may contain information that is privileged, 
confidential or proprietary. If you are not an intended recipient, please 
notify the sender, and then please delete and destroy all copies and 
attachments, and be advised that any review or dissemination of, or the taking 
of any action in reliance on, the information contained in or attached to this 
message is prohibited. 
Unless specifically indicated, this message is not an offer to sell or a 
solicitation of any investment products or other financial product or service, 
an official confirmation of any transaction, or an official statement of 
Sender. Subject to applicable law, Sender may intercept, monitor, review and 
retain e-communications (EC) traveling through its networks/systems and may 
produce any such EC to regulators, law enforcement, in litigation and as 
required by law. 
The laws of the country of each sender/recipient may impact the handling of EC, 
and EC may be archived, supervised and produced in countries other than the 
country in which you are located. This message cannot be guaranteed to be 
secure or free of errors or viruses. 

References to Sender are references to any subsidiary of Bank of America 
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are 
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a 
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal 
Government Agency. Attachments that are part of this EC may have additional 
important disclosures and disclaimers, which you should read. This message is 
subject to terms available at the following link: 
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you 
consent to the foregoing.
inline: image001.jpginline: image002.jpg

RE: [flexcoders] Localization in Actionscript file

2012-11-06 Thread Gordon Smith
 Not able to achieve this.

Why not? One simple solution is just to have a resource in your .properties 
file that looks like this:

ComboList=Item 1,Item 2,Item 3

Use getString() and split() to turn it into the array [ “Item 1”, “Item 2”, 
“Item 3” ] that you can use as the dataProvider of the ComboBox.

- Gordon

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of sony antony
Sent: Tuesday, November 06, 2012 2:26 AM
To: flex coders
Subject: [flexcoders] Localization in Actionscript file


Hello friends,

I have a scenario like I need to implement localization in actionscript files.

Accessing strings from respective .properties files(resource files) for 
different locales. We are using resourcebundle class for that.

And we have ComboBox in that page. We need to change the display list of that 
combox according to the languages being changed.

Not able to achieve this.

Please reply if anyone can help in this scenario.

Regards,
Sony



Re: [flexcoders] Re: Flex Contract in Financial Services company

2012-10-28 Thread manjith155
Can you please unsubscribe my account from Flexcode yahoo group.
 



From: markflex2007 markflex2...@yahoo.com
To: flexcoders@yahoogroups.com 
Sent: Wednesday, 17 October 2012 4:16 AM
Subject: [flexcoders] Re: Flex Contract in Financial Services company


  
May I work remotely?Thanks

--- In mailto:flexcoders%40yahoogroups.com, k.sigiscar k.sigiscar@... wrote:

 Hi,
 
 We have an opening for a Flex contractor on a large Market Surveillance 
 application.
 
 You must know Swiz / Parsley, Flex 3 to 4.5, BlazeDS / LCDS / GraniteDS, Unit 
 testing.
 
 Start: ASAP
 Duration: 3 months
 Daily rate: GBP 350-550
 
 Best regards,
 Karl Sigiscar.





Re: [flexcoders] Re: Flex Contract in Financial Services company

2012-10-26 Thread sachin sharma
Where is the work location?

 
a href=http://messenger.yahoo.com/edit/send/?.target=hey_sachin;
img border=0 
src=http://opi.yahoo.com/yahooonline/u=hey_sachin/m=g/t=9/l=us/opi.jpg;
/a



 From: k.sigiscar k.sigis...@yahoo.com
To: flexcoders@yahoogroups.com 
Sent: Wednesday, 17 October 2012 1:39 PM
Subject: [flexcoders] Re: Flex Contract in Financial Services company
 

  

Hi Mark,

Sorry, on location only.

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

 May I work remotely?Thanks
 
 --- In flexcoders@yahoogroups.com, k.sigiscar k.sigiscar@ wrote:
 
  Hi,
  
  We have an opening for a Flex contractor on a large Market Surveillance 
  application.
  
  You must know Swiz / Parsley, Flex 3 to 4.5, BlazeDS / LCDS / GraniteDS, 
  Unit testing.
  
  Start: ASAP
  Duration: 3 months
  Daily rate: GBP 350-550
  
  Best regards,
  Karl Sigiscar.
 



 

Re: [flexcoders] updateDisplayList() called before commitProperties()

2012-09-26 Thread Alex Harui
If you are adding the component in the updateDisplayList of a parent, I think 
that can happen.  The List classes call validateClient on components added in 
updateDisplayList in order to get them through their other phases.


On 9/26/12 12:35 PM, Dave Glasser dglas...@pobox.com wrote:






I have a custom component and the first time updateDisplayList() is called, it 
is called before commitProperties() has been called for the first time. It 
still happens even after I put:

invalidateProperties();

in the constructor.

The stacktrace looks like this:

at mx.core::UIComponent/validateDisplayList()
at com.package.MyClass/validateDisplayList()
at mx.managers::LayoutManager/validateDisplayList()
at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()

I'm using Flex 4.6. Is this proper behavior?





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


Re: [flexcoders] updateDisplayList() called before commitProperties()

2012-09-26 Thread Dave Glasser
That's what it was.

Many thanks!





 From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Wednesday, September 26, 2012 3:53 PM
Subject: Re: [flexcoders] updateDisplayList() called before commitProperties()
 

 Re: [flexcoders] updateDisplayList() called before commitProperties() 


If you are adding the component in the updateDisplayList of a parent, I think 
that can happen.  The List classes call validateClient on components added in 
updateDisplayList in order to get them through their other phases.


On 9/26/12 12:35 PM, Dave Glasser dglas...@pobox.com wrote:



 
 
   

I have a custom component and the first time updateDisplayList() is called, it 
is called before commitProperties() has been called for the first time. It 
still happens even after I put:

invalidateProperties();

in the constructor.

The stacktrace looks like this:

at mx.core::UIComponent/validateDisplayList()
at com.package.MyClass/validateDisplayList()
at mx.managers::LayoutManager/validateDisplayList()
at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()

I'm using Flex 4.6. Is this proper behavior?

   



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




Re: [flexcoders] windows 8 store app onscreen keyboard invoking

2012-09-21 Thread Wouter Schreuders
ah ok. I set up a test where I added accessibility properties to the
sprite. Doesn't invoke the keyboard in metro :(

I've also traced out  Accessibility.active onto a textfield in metro and it
returns false.

Here's the added code:

private function init():void
{
drawSprite(); // Does not invoke Metro soft Keyboard
 drawSpriteWithEventHandler(); // Does not invoke Metro soft Keyboard
drawTextField(); // Does not invoke Metro soft Keyboard
 drawInputTextField(); // successfully invokes Metro soft Keyboard
 setTimeout(updateAccessibility, 2000);
 }
 private function updateAccessibility():void {
 console.text += Accessibility.active:  + Accessibility.active+'\n';
if(Accessibility.active) {
 Accessibility.updateProperties();
}
}

private function drawSpriteWithEventHandler():void
{
textInputEH = new Sprite();
 textInputEH.x  = 100;
textInputEH.y = 200;
var g:Graphics = textInputEH.graphics;
 g.beginFill(0x22ff00, 1);
g.drawRect(0,0,200,80);
g.endFill();
 addChild(textInputEH);
textInputEH.buttonMode = true;
textInputEH.addEventListener(MouseEvent.CLICK, function
(event:MouseEvent):void
 {
console.text += event.currentTarget+'\n';
} );
 addEventListener(Event.ADDED, addedHandler);
var accessProps:AccessibilityProperties = new AccessibilityProperties();
 accessibilityProperties = accessProps;
}
 private function addedHandler(event:Event):void {
console.text += addedHandler:  + name+'\n';
 var accessProps:AccessibilityProperties = new AccessibilityProperties();
accessProps.name = 'spriteWithAccessability';
 accessProps.description = 'textbox';
textInputEH.accessibilityProperties = accessProps;
 removeEventListener(Event.ADDED, addedHandler);
}



On 20 September 2012 23:26, Alex Harui aha...@adobe.com wrote:

 **


 I was more interested if you could get the Sprite to display the keyboard
 by adding accessibility properties to it.



 On 9/20/12 2:45 AM, Wouter Schreuders wschreud...@gmail.com wrote:






 Hi Alex

 Yep, focus definitely does go to the sprite and the stage's focus is set.
 I also outputted all the events that the textinput received (I've excluded
 some overly chatty ones like enterframe) Accessibly is enabled for the
 project and I've added the following to the MXML textInput which seem to no
 difference:

 accessibilityEnabled=true accessibilityName=textbox
 accessibilityDescription=textbox

 when I have a universal event listerner I get these events in both
 displayAsPassword enabled and disabled textInputs:

 preinitialize
 initialize
 resize
 creationComplete
 activate
 touchBegin
 touchRollOver
 touchOver
 removed
 focusIn
 touchMove
 removed
 touchMove
 touchEnd
 touchTap
 touchOut
 touchRollOut
 click




 On 19 September 2012 19:44, Alex Harui aha...@adobe.com wrote:

 stage.focus







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

  



Re: [flexcoders] windows 8 store app onscreen keyboard invoking

2012-09-21 Thread Alex Harui
If you turn off accessibility in the MXML app does displayAsPassword still make 
a difference?  I’m not really sure how to help here, just throwing out ideas.


On 9/21/12 3:11 AM, Wouter Schreuders wschreud...@gmail.com wrote:






ah ok. I set up a test where I added accessibility properties to the sprite. 
Doesn't invoke the keyboard in metro :(

I've also traced out  Accessibility.active onto a textfield in metro and it 
returns false.

Here's the added code:

private function init():void
{
drawSprite(); // Does not invoke Metro soft Keyboard
drawSpriteWithEventHandler(); // Does not invoke Metro soft Keyboard
drawTextField(); // Does not invoke Metro soft Keyboard
drawInputTextField(); // successfully invokes Metro soft Keyboard
setTimeout(updateAccessibility, 2000);
}
private function updateAccessibility():void {
console.text += Accessibility.active:  + Accessibility.active+'\n';
if(Accessibility.active) {
Accessibility.updateProperties();
}
}

private function drawSpriteWithEventHandler():void
{
textInputEH = new Sprite();
textInputEH.x  = 100;
textInputEH.y = 200;
var g:Graphics = textInputEH.graphics;
g.beginFill(0x22ff00, 1);
g.drawRect(0,0,200,80);
g.endFill();
addChild(textInputEH);
textInputEH.buttonMode = true;
textInputEH.addEventListener(MouseEvent.CLICK, function (event:MouseEvent):void
{
console.text += event.currentTarget+'\n';
} );
addEventListener(Event.ADDED, addedHandler);
var accessProps:AccessibilityProperties = new AccessibilityProperties();
accessibilityProperties = accessProps;
}
private function addedHandler(event:Event):void {
console.text += addedHandler:  + name+'\n';
var accessProps:AccessibilityProperties = new AccessibilityProperties();
accessProps.name = 'spriteWithAccessability';
accessProps.description = 'textbox';
textInputEH.accessibilityProperties = accessProps;
removeEventListener(Event.ADDED, addedHandler);
}



On 20 September 2012 23:26, Alex Harui aha...@adobe.com wrote:





I was more interested if you could get the Sprite to display the keyboard by 
adding accessibility properties to it.




On 9/20/12 2:45 AM, Wouter Schreuders wschreud...@gmail.com 
http://wschreud...@gmail.com  wrote:






Hi Alex

Yep, focus definitely does go to the sprite and the stage's focus is set. I 
also outputted all the events that the textinput received (I've excluded some 
overly chatty ones like enterframe) Accessibly is enabled for the project and 
I've added the following to the MXML textInput which seem to no difference:

accessibilityEnabled=true accessibilityName=textbox 
accessibilityDescription=textbox

when I have a universal event listerner I get these events in both 
displayAsPassword enabled and disabled textInputs:

preinitialize
initialize
resize
creationComplete
activate
touchBegin
touchRollOver
touchOver
removed
focusIn
touchMove
removed
touchMove
touchEnd
touchTap
touchOut
touchRollOut
click




On 19 September 2012 19:44, Alex Harui aha...@adobe.com 
http://aha...@adobe.com  wrote:
stage.focus






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


Re: [flexcoders] windows 8 store app onscreen keyboard invoking

2012-09-20 Thread Wouter Schreuders
Hi Alex

Yep, focus definitely does go to the sprite and the stage's focus is set. I
also outputted all the events that the textinput received (I've excluded
some overly chatty ones like enterframe) Accessibly is enabled for the
project and I've added the following to the MXML textInput which seem to no
difference:

accessibilityEnabled=true accessibilityName=textbox
accessibilityDescription=textbox

when I have a universal event listerner I get these events in both
displayAsPassword enabled and disabled textInputs:

preinitialize
initialize
resize
creationComplete
activate
touchBegin
touchRollOver
touchOver
removed
focusIn
touchMove
removed
touchMove
touchEnd
touchTap
touchOut
touchRollOut
click




On 19 September 2012 19:44, Alex Harui aha...@adobe.com wrote:

 stage.focus


Re: [flexcoders] windows 8 store app onscreen keyboard invoking

2012-09-20 Thread Alex Harui
I was more interested if you could get the Sprite to display the keyboard by 
adding accessibility properties to it.


On 9/20/12 2:45 AM, Wouter Schreuders wschreud...@gmail.com wrote:






Hi Alex

Yep, focus definitely does go to the sprite and the stage's focus is set. I 
also outputted all the events that the textinput received (I've excluded some 
overly chatty ones like enterframe) Accessibly is enabled for the project and 
I've added the following to the MXML textInput which seem to no difference:

accessibilityEnabled=true accessibilityName=textbox 
accessibilityDescription=textbox

when I have a universal event listerner I get these events in both 
displayAsPassword enabled and disabled textInputs:

preinitialize
initialize
resize
creationComplete
activate
touchBegin
touchRollOver
touchOver
removed
focusIn
touchMove
removed
touchMove
touchEnd
touchTap
touchOut
touchRollOut
click




On 19 September 2012 19:44, Alex Harui aha...@adobe.com wrote:
stage.focus






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


Re: [flexcoders] windows 8 store app onscreen keyboard invoking

2012-09-19 Thread Wouter Schreuders
Hi Alex

I'm using Flex SDK 4.5A (problem also occurs on 4.6)
The flash player is version 11.3.372.94 on windows 8 64 bit and as far as I
know IE have gone the same route as flash and rolled their own version of
the flash player inside the browser.

Metro officially supports flash sites that comply with their conditions as
set out here (
http://msdn.microsoft.com/en-us/library/ie/jj193557%28v=vs.85%29.aspx )

Microsoft's official policy on invoking the keyboard is that it must be
under the control of the user and can not be problematically invoked. The
way to invoke the keyboard is one of the following from this page (
http://msdn.microsoft.com/en-us/library/windows/apps/hh465404.aspx ) :

Accessibility properties from UI Automation (UIA)
User tap
Focus changes

from their docs : *UI Automation is the mechanism through which developers
communicate whether or not a particular UI element can receive text input.
You must ensure that the appropriate accessibility properties are set in
your apps so that the touch keyboard will know to appear when focus lands
on a specific UI element.*
*
*
Their own windows provided controls do this automatically otherwise inside
of your html you need to add the following:
div contentEditable=true role=textbox

So  that's how it works in html. I haven't found any documentation of help
on forums explaining how they decide when to bring up the keyboard in a
flash situation.

As you suggested I made an AS only site to see what works and what doesn't.
a normal sprite doesn't invoke the keyboard, neither does a sprite with a
mouse click listener. A normal textField doesn't invoke the keyboard but a
textfield with type set to TextFieldType.INPUT does invoke the keyboard
(which makes sense)

So somehow microsoft (I'm guessing) are inside of flash detecting what kind
of component recieved focus and if it's a editable textfield then it does
bring up the keyboard.

The intriguing thing is that for some reason when a spark textInput /
RichEditableText is set to displayAsPassword = true it DOES bring up the
keyboard so perhaps somewhere in the framework setting that flag causes the
component to somehow be perceived as a input component which quite strange
to me since I can't see why setting that condition would make any
difference.

Here's my test code:


package
{
import flash.display.Graphics;
import flash.display.Sprite;
 import flash.display.StageAlign;
import flash.display.StageQuality;
import flash.display.StageScaleMode;
 import flash.events.Event;
import flash.events.MouseEvent;
import flash.text.TextField;
 import flash.text.TextFieldType;
 public class CleanAsProject extends Sprite
 {
public function CleanAsProject()
{
 stage.scaleMode = StageScaleMode.NO_SCALE; //this stuff is required since
I'm working in flash builder and if you you don't put it in your graphics
scale is whack
 stage.align = StageAlign.TOP_LEFT;
stage.quality = StageQuality.HIGH;
 init();
}
 private function init():void
{
drawSprite(); // Does not invoke Metro soft Keyboard
 drawSpriteWithEventHandler(); // Does not invoke Metro soft Keyboard
drawTextField(); // Does not invoke Metro soft Keyboard
 drawInputTextField(); // successfully invokes Metro soft Keyboard
}
 private function drawTextField():void
{
var textField:TextField = new TextField;
 addChild(textField);
textField.x  = 100;
textField.y = 300;
 textField.height = 50;
textField.text = 'click me';
}
 private function drawInputTextField():void
{
 var textField:TextField = new TextField;
addChild(textField);
textField.x  = 100;
 textField.y = 350;
textField.height = 50;
textField.text = 'input text into me';
 textField.type = TextFieldType.INPUT;
textField.background = true;
}
 private function drawSpriteWithEventHandler():void
{
 var textInputEH:Sprite = new Sprite();
textInputEH.x  = 100;
 textInputEH.y = 200;
var g:Graphics = textInputEH.graphics;
g.beginFill(0x44ff00, 1);
 g.drawRect(0,0,200,80);
g.endFill();
addChild(textInputEH);
 textInputEH.buttonMode = true;
textInputEH.addEventListener(MouseEvent.CLICK, function
(event:MouseEvent):void
 {
trace(event.currentTarget);
} );
 }
  private function drawSprite():void
{
var textInput:Sprite = new Sprite();
 textInput.x  = 100;
textInput.y = 100;
var g:Graphics = textInput.graphics;
 g.beginFill(0xff9900, 1);
g.drawRect(0,0,200,80);
g.endFill();
 addChild(textInput);
}
 }
}


On 19 September 2012 07:59, Alex Harui aha...@adobe.com wrote:

 **


 I would break it down to an AS-only test where you set focus to a Sprite
 and see if you get the keyboard.

 Which version of player are you using?  Is metro officially supported?



 On 9/18/12 1:11 PM, Wouter Schreuders wschreud...@gmail.com wrote:






 Hi Alex

 The problem occurs with the spark RichEditableText therefore
 also textInput (not for MX:textInput). I set up a little test inside of
 windows 8 metro where traced out all the events for both a normal textInput
 and a textInput with displayAsPassword=true and they are firing identical
 events. The 

Re: [flexcoders] windows 8 store app onscreen keyboard invoking

2012-09-19 Thread Alex Harui
Are you sure focus went to the sprite?  Make sure stage.focus is set and you 
got FOCUS_IN and not FOCUS_OUT (and can get keyboard events).

It might be that there is a difference in the UIA in the player.  Did you link 
in the Flex accessibility code for the Spark components?


On 9/19/12 1:37 AM, Wouter Schreuders wschreud...@gmail.com wrote:






Hi Alex

I'm using Flex SDK 4.5A (problem also occurs on 4.6)
The flash player is version 11.3.372.94 on windows 8 64 bit and as far as I 
know IE have gone the same route as flash and rolled their own version of the 
flash player inside the browser.

Metro officially supports flash sites that comply with their conditions as set 
out here ( 
http://msdn.microsoft.com/en-us/library/ie/jj193557%28v=vs.85%29.aspx )

Microsoft's official policy on invoking the keyboard is that it must be under 
the control of the user and can not be problematically invoked. The way to 
invoke the keyboard is one of the following from this page ( 
http://msdn.microsoft.com/en-us/library/windows/apps/hh465404.aspx ) :

Accessibility properties from UI Automation (UIA)
User tap
Focus changes

from their docs : UI Automation is the mechanism through which developers 
communicate whether or not a particular UI element can receive text input. You 
must ensure that the appropriate accessibility properties are set in your apps 
so that the touch keyboard will know to appear when focus lands on a specific 
UI element.

Their own windows provided controls do this automatically otherwise inside of 
your html you need to add the following:
div contentEditable=true role=textbox

So  that's how it works in html. I haven't found any documentation of help on 
forums explaining how they decide when to bring up the keyboard in a flash 
situation.

As you suggested I made an AS only site to see what works and what doesn't. a 
normal sprite doesn't invoke the keyboard, neither does a sprite with a mouse 
click listener. A normal textField doesn't invoke the keyboard but a textfield 
with type set to TextFieldType.INPUT does invoke the keyboard (which makes 
sense)

So somehow microsoft (I'm guessing) are inside of flash detecting what kind of 
component recieved focus and if it's a editable textfield then it does bring up 
the keyboard.

The intriguing thing is that for some reason when a spark textInput / 
RichEditableText is set to displayAsPassword = true it DOES bring up the 
keyboard so perhaps somewhere in the framework setting that flag causes the 
component to somehow be perceived as a input component which quite strange to 
me since I can't see why setting that condition would make any difference.

Here's my test code:


package
{
import flash.display.Graphics;
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageQuality;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.text.TextField;
import flash.text.TextFieldType;
public class CleanAsProject extends Sprite
{
public function CleanAsProject()
{
stage.scaleMode = StageScaleMode.NO_SCALE; //this stuff is required since I'm 
working in flash builder and if you you don't put it in your graphics scale is 
whack
stage.align = StageAlign.TOP_LEFT;
stage.quality = StageQuality.HIGH;
init();
}
private function init():void
{
drawSprite(); // Does not invoke Metro soft Keyboard
drawSpriteWithEventHandler(); // Does not invoke Metro soft Keyboard
drawTextField(); // Does not invoke Metro soft Keyboard
drawInputTextField(); // successfully invokes Metro soft Keyboard
}
private function drawTextField():void
{
var textField:TextField = new TextField;
addChild(textField);
textField.x  = 100;
textField.y = 300;
textField.height = 50;
textField.text = 'click me';
}
private function drawInputTextField():void
{
var textField:TextField = new TextField;
addChild(textField);
textField.x  = 100;
textField.y = 350;
textField.height = 50;
textField.text = 'input text into me';
textField.type = TextFieldType.INPUT;
textField.background = true;
}
private function drawSpriteWithEventHandler():void
{
var textInputEH:Sprite = new Sprite();
textInputEH.x  = 100;
textInputEH.y = 200;
var g:Graphics = textInputEH.graphics;
g.beginFill(0x44ff00, 1);
g.drawRect(0,0,200,80);
g.endFill();
addChild(textInputEH);
textInputEH.buttonMode = true;
textInputEH.addEventListener(MouseEvent.CLICK, function (event:MouseEvent):void
{
trace(event.currentTarget);
} );
}
private function drawSprite():void
{
var textInput:Sprite = new Sprite();
textInput.x  = 100;
textInput.y = 100;
var g:Graphics = textInput.graphics;
g.beginFill(0xff9900, 1);
g.drawRect(0,0,200,80);
g.endFill();
addChild(textInput);
}
}
}


On 19 September 2012 07:59, Alex Harui aha...@adobe.com wrote:





I would break it down to an AS-only test where you set focus to a Sprite and 
see if you get the keyboard.

Which version of player are you using?  Is metro officially supported?




On 9/18/12 1:11 PM, Wouter Schreuders 

Re: [flexcoders] urgent Help needed regarding loading time please

2012-09-19 Thread Alex Harui
What error did you get?


On 9/18/12 10:04 PM, anas naeem maverick_0...@yahoo.com wrote:






Hi Guys hope everyone is doing great firstly i am not a native English speaker 
so apologies for any language mistakes any ways,  this is my third post for 
help needed regarding an error in my Flex application and no one had replied 
ever to my first 2 posts either i hope i get some help this time
I am working on a real time flex application related to stock exchange domain 
and i am using LightStreamer's flex api . Its a browser based application.
So the issue i am facing is whenever i launch my application as soon it is 
launched in the browser it gets stuck on sometimes 1% , sometimes 7% and 
sometimes between 20 and 25% for about 27 seconds approximately. I have tried 
to fix it using the Flash Builder profiler but I don't got something 
informative about the cause of the error. I have also switched between RSLs and 
by merging into code from the Flex Build Path but it either not helped me One 
thing more I localized my application recently  and afterwards i am getting 
this error but I removed all my localization code from the project and tested 
it but the problem persisted there as it is... Please I have to deliver a build 
by this Friday evening so I request that please figure me out what am I doing 
wrong and where should be corrected ?

i also Googled the error but the solutions aren't matching for my specific 
problems

Thanks alot in advance.





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


Re: [flexcoders] windows 8 store app onscreen keyboard invoking

2012-09-18 Thread Alex Harui
Spark or MX?  If Spark, then maybe they can’t handle non-TextFields getting 
focus?


On 9/17/12 8:33 AM, Wouter Schreuders wschreud...@gmail.com wrote:






Hi All

I'm busy testing our application in the windows 8 store app browser and I've 
noticed that the keyboard automatically appears when you click on a flash text 
input but not when you click on a flex text input. I'm guessing that MS are 
doing some kind of event detection which invokes the onscreen keyboard but that 
they didn't do the same thing for flex text inputs. I've also checked it seems 
that one cannot invoke the keyboard manually with javascript.

Has anyone run into this problem before and found a solution? I've also noticed 
that it DOES bring up the keyboard if you have set displayAsPassword=true for 
some reason.

Has anyone got any idea why this is happening and how I can work around/solve 
it?

Thanks

Wouter






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


Re: [flexcoders] windows 8 store app onscreen keyboard invoking

2012-09-18 Thread Wouter Schreuders
Hi Alex

The problem occurs with the spark RichEditableText therefore also textInput
(not for MX:textInput). I set up a little test inside of windows 8 metro
where traced out all the events for both a normal textInput and a textInput
with displayAsPassword=true and they are firing identical events. The one
with displayAsPassword=true invokes the keyboard perfectly everytime.
I've also extended the RichEditableText class and overwritten some of the
methods that are dependant on the displayAsPassword flag to see if that
makes any difference but no luck.


On 18 September 2012 21:50, Alex Harui aha...@adobe.com wrote:

 **


 Spark or MX?  If Spark, then maybe they can’t handle non-TextFields
 getting focus?



 On 9/17/12 8:33 AM, Wouter Schreuders wschreud...@gmail.com wrote:






 Hi All

 I'm busy testing our application in the windows 8 store app browser and
 I've noticed that the keyboard automatically appears when you click on a
 flash text input but not when you click on a flex text input. I'm guessing
 that MS are doing some kind of event detection which invokes the onscreen
 keyboard but that they didn't do the same thing for flex text inputs. I've
 also checked it seems that one cannot invoke the keyboard manually with
 javascript.

 Has anyone run into this problem before and found a solution? I've also
 noticed that it DOES bring up the keyboard if you have set
 displayAsPassword=true for some reason.

 Has anyone got any idea why this is happening and how I can work
 around/solve it?

 Thanks

 Wouter






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

  



Re: [flexcoders] windows 8 store app onscreen keyboard invoking

2012-09-18 Thread Alex Harui
I would break it down to an AS-only test where you set focus to a Sprite and 
see if you get the keyboard.

Which version of player are you using?  Is metro officially supported?


On 9/18/12 1:11 PM, Wouter Schreuders wschreud...@gmail.com wrote:






Hi Alex

The problem occurs with the spark RichEditableText therefore also textInput 
(not for MX:textInput). I set up a little test inside of windows 8 metro where 
traced out all the events for both a normal textInput and a textInput with 
displayAsPassword=true and they are firing identical events. The one with 
displayAsPassword=true invokes the keyboard perfectly everytime. I've also 
extended the RichEditableText class and overwritten some of the methods that 
are dependant on the displayAsPassword flag to see if that makes any difference 
but no luck.


On 18 September 2012 21:50, Alex Harui aha...@adobe.com wrote:





Spark or MX?  If Spark, then maybe they can’t handle non-TextFields getting 
focus?




On 9/17/12 8:33 AM, Wouter Schreuders wschreud...@gmail.com 
http://wschreud...@gmail.com  wrote:






Hi All

I'm busy testing our application in the windows 8 store app browser and I've 
noticed that the keyboard automatically appears when you click on a flash text 
input but not when you click on a flex text input. I'm guessing that MS are 
doing some kind of event detection which invokes the onscreen keyboard but that 
they didn't do the same thing for flex text inputs. I've also checked it seems 
that one cannot invoke the keyboard manually with javascript.

Has anyone run into this problem before and found a solution? I've also noticed 
that it DOES bring up the keyboard if you have set displayAsPassword=true for 
some reason.

Has anyone got any idea why this is happening and how I can work around/solve 
it?

Thanks

Wouter






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


RE: [flexcoders] need some printing advice

2012-09-11 Thread Sells, Fred
This code produces blank 2nd and 4th page with 
remainder on third page=
if(printJob.start()){//start the print job
  printJob.addObject(printcontainer);
  var validNextPage = printDataGrid.validNextPage; 
//use local var to help debug
  if (validNextPage) { //worst case scenario two 
pages max
printDataGrid.nextPage();
printcontainer.validateNow();
printJob.addObject(printcontainer); //get 
blank 2nd page, remaining data on 3rd page
  }
  printJob.send();

replacing printcontainer.validateNow()
with   printDataGrid.validateNow()   produces the same result
removing all calls to .validateNow() produces the same result.
Removing the call to .nextPage()  results in printing the contents of the 1st 
page on the third page with 2nd and 4th pages blank

I'm doing a print to Adobe PDF and if I change the paper size to legal, I get 
the same results just with more white space at the bottom of 1st and 3rd pages.

I switched to Foxit Phantom Printer with same result.

It's as if there is an invisible footer on the container or datagrid that force 
a blank page?  It's almost as if there is something in the MXML that is forcing 
a blank 2nd page




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Alex Harui
Sent: Friday, September 07, 2012 11:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] need some printing advice



Try calling vlidateNow on printContainer instead of printDataGrid


On 9/7/12 11:19 AM, Sells, Fred fred.se...@adventistcare.org wrote:





With the following code, I get a blank 2nd page and the data continues on the 
3rd page.   This code is slightly different from prior example...grasping at 
straws without clear understanding of what I'm doing.

private function print():void {
   var printJob:FlexPrintJob = new FlexPrintJob();

   if(printJob.start()){//start the print job
printJob.addObject(printcontainer);
 var validNextPage = printDataGrid.validNextPage; 
//use local var to help debug
if (validNextPage) { //worst case scenario two 
pages max
   printDataGrid.nextPage();
printDataGrid.validateNow();
   printJob.addObject(printcontainer); //get 
blank 2nd page, remaining data on 3rd page
  //printJob.addObject(printDataGrid); //2nd 
page blank; 3rd page purple header but no data.
 }
 printJob.send();
  printDataGrid.dataProvider = Appointments;
}
  }
!-I tried reducing height of VBox and that just caused the page break to 
happen sooner, still had blank 2nd page --


mx:VBox id=printcontainer  width=100% height=1450  
backgroundAlpha=1.0 backgroundColor=white
  paddingLeft=20 paddingRight=20 paddingTop=50
  borderThickness=20 verticalAlign=top 
horizontalAlign=center
  visible=false  includeInLayout=false
   mx:Label fontSize=24  textAlign=center   fontWeight=bold
  text={picker.selectedItem.nickname} on 
{String(Globals.SelectedDate).substr(0,10)}.  This contains PHI; destroy 
after use!!!
 /

   mx:PrintDataGrid  id=printDataGrid dataProvider={Appointments} 
fontSize=12  
 mx:columns
   mx:DataGridColumn  headerText=Start   
dataField=starttime width=80 textAlign=right/
   mx:DataGridColumn  headerText=Until   
dataField=endtime width=80 textAlign=right/
   . . .
   mx:DataGridColumn headerText=Location   
dataField=location   textAlign=center/
   mx:DataGridColumn headerText=Notes   
dataField=notes  width=400   textAlign=left/
 /mx:columns
   /mx:PrintDataGrid
 /mx:VBox


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Alex Harui
Sent: Thursday, September 06, 2012 11:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] need some printing advice



What result do you get?  No second page or second page is same as first?  If 
the latter, try calling validateNow() after nextPage()






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



Re: [flexcoders] need some printing advice

2012-09-11 Thread Alex Harui
Have you sized the printContainer to the printJob’s page size?  Otherwise the 
blank is overrun from each page.


On 9/11/12 11:00 AM, Sells, Fred fred.se...@adventistcare.org wrote:






This code produces blank 2nd and 4th page with 
remainder on third page=
  if(printJob.start()){//start the print job
 printJob.addObject(printcontainer);
 var validNextPage = printDataGrid.validNextPage; 
//use local var to help debug
if (validNextPage) { //worst case scenario two 
pages max
   printDataGrid.nextPage();
printcontainer.validateNow();
printJob.addObject(printcontainer); //get 
blank 2nd page, remaining data on 3rd page
 }
  printJob.send();


replacing printcontainer.validateNow()

with   printDataGrid.validateNow()   produces the same result
removing all calls to .validateNow() produces the same result.
Removing the call to .nextPage()  results in printing the contents of the 1st 
page on the third page with 2nd and 4th pages blank

I’m doing a print to Adobe PDF and if I change the paper size to legal, I get 
the same results just with more white space at the bottom of 1st and 3rd pages.

I switched to Foxit Phantom Printer with same result.

It’s as if there is an invisible footer on the container or datagrid that force 
a blank page?  It’s almost as if there is something in the MXML that is forcing 
a blank 2nd page





From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Alex Harui
Sent: Friday, September 07, 2012 11:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] need some printing advice



Try calling vlidateNow on printContainer instead of printDataGrid


On 9/7/12 11:19 AM, Sells, Fred fred.se...@adventistcare.org wrote:






With the following code, I get a blank 2nd page and the data continues on the 
3rd page.   This code is slightly different from prior example…grasping at 
straws without clear understanding of what I’m doing.

   private function print():void {
   var printJob:FlexPrintJob = new FlexPrintJob();

   if(printJob.start()){//start the print job
   printJob.addObject(printcontainer);
 var validNextPage = printDataGrid.validNextPage; 
//use local var to help debug
   if (validNextPage) { //worst case scenario two pages 
max
  printDataGrid.nextPage();
printDataGrid.validateNow();
   printJob.addObject(printcontainer); //get 
blank 2nd page, remaining data on 3rd page
 //printJob.addObject(printDataGrid); //2nd 
page blank; 3rd page purple header but no data.
}
 printJob.send();
  printDataGrid.dataProvider = Appointments;
}
  }
!—I tried reducing height of VBox and that just caused the page break to 
happen sooner, still had blank 2nd page --


   mx:VBox id=printcontainer  width=100% height=1450  
backgroundAlpha=1.0 backgroundColor=white
  paddingLeft=20 paddingRight=20 paddingTop=50
  borderThickness=20 verticalAlign=top 
horizontalAlign=center
  visible=false  includeInLayout=false
   mx:Label fontSize=24  textAlign=center   fontWeight=bold
  text={picker.selectedItem.nickname} on 
{String(Globals.SelectedDate).substr(0,10)}.  This contains PHI; destroy 
after use!!!
 /

   mx:PrintDataGrid  id=printDataGrid dataProvider={Appointments} 
fontSize=12  
 mx:columns
   mx:DataGridColumn  headerText=Start   
dataField=starttime width=80 textAlign=right/
   mx:DataGridColumn  headerText=Until   
dataField=endtime width=80 textAlign=right/
   . . .
   mx:DataGridColumn headerText=Location   
dataField=location   textAlign=center/
   mx:DataGridColumn headerText=Notes   
dataField=notes  width=400   textAlign=left/
 /mx:columns
   /mx:PrintDataGrid
 /mx:VBox


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Alex Harui
Sent: Thursday, September 06, 2012 11:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] need some printing advice



What result do you get?  No second page or second page is same as first?  If 
the latter, try calling validateNow() after nextPage()







--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http

RE: [flexcoders] need some printing advice

2012-09-07 Thread Sells, Fred
With the following code, I get a blank 2nd page and the data continues on the 
3rd page.   This code is slightly different from prior example...grasping at 
straws without clear understanding of what I'm doing.

  private function print():void {
var printJob:FlexPrintJob = new FlexPrintJob();

if(printJob.start()){//start the print job
  printJob.addObject(printcontainer);
  var validNextPage = printDataGrid.validNextPage; 
//use local var to help debug
  if (validNextPage) { //worst case scenario two 
pages max
printDataGrid.nextPage();
printDataGrid.validateNow();
printJob.addObject(printcontainer); //get 
blank 2nd page, remaining data on 3rd page
//printJob.addObject(printDataGrid); //2nd 
page blank; 3rd page purple header but no data.
  }
  printJob.send();
  printDataGrid.dataProvider = Appointments;
}
  }
!-I tried reducing height of VBox and that just caused the page break to 
happen sooner, still had blank 2nd page --


  mx:VBox id=printcontainer  width=100% height=1450  
backgroundAlpha=1.0 backgroundColor=white
  paddingLeft=20 paddingRight=20 paddingTop=50
  borderThickness=20 verticalAlign=top 
horizontalAlign=center
  visible=false  includeInLayout=false
mx:Label fontSize=24  textAlign=center   fontWeight=bold
  text={picker.selectedItem.nickname} on 
{String(Globals.SelectedDate).substr(0,10)}.  This contains PHI; destroy 
after use!!!
  /

mx:PrintDataGrid  id=printDataGrid dataProvider={Appointments} 
fontSize=12   
  mx:columns
mx:DataGridColumn  headerText=Start   
dataField=starttime width=80 textAlign=right/
mx:DataGridColumn  headerText=Until   
dataField=endtime width=80 textAlign=right/
. . .
mx:DataGridColumn headerText=Location   
dataField=location   textAlign=center/
mx:DataGridColumn headerText=Notes   
dataField=notes  width=400   textAlign=left/
  /mx:columns
/mx:PrintDataGrid
  /mx:VBox

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Alex Harui
Sent: Thursday, September 06, 2012 11:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] need some printing advice



What result do you get?  No second page or second page is same as first?  If 
the latter, try calling validateNow() after nextPage()




Re: [flexcoders] need some printing advice

2012-09-07 Thread Alex Harui
Try calling vlidateNow on printContainer instead of printDataGrid


On 9/7/12 11:19 AM, Sells, Fred fred.se...@adventistcare.org wrote:






With the following code, I get a blank 2nd page and the data continues on the 
3rd page.   This code is slightly different from prior example…grasping at 
straws without clear understanding of what I’m doing.

private function print():void {
   var printJob:FlexPrintJob = new FlexPrintJob();

   if(printJob.start()){//start the print job
printJob.addObject(printcontainer);
 var validNextPage = printDataGrid.validNextPage; 
//use local var to help debug
if (validNextPage) { //worst case scenario two 
pages max
   printDataGrid.nextPage();
printDataGrid.validateNow();
   printJob.addObject(printcontainer); //get 
blank 2nd page, remaining data on 3rd page
  //printJob.addObject(printDataGrid); //2nd 
page blank; 3rd page purple header but no data.
 }
 printJob.send();
  printDataGrid.dataProvider = Appointments;
}
  }
!—I tried reducing height of VBox and that just caused the page break to 
happen sooner, still had blank 2nd page --


mx:VBox id=printcontainer  width=100% height=1450  
backgroundAlpha=1.0 backgroundColor=white
  paddingLeft=20 paddingRight=20 paddingTop=50
  borderThickness=20 verticalAlign=top 
horizontalAlign=center
  visible=false  includeInLayout=false
   mx:Label fontSize=24  textAlign=center   fontWeight=bold
  text={picker.selectedItem.nickname} on 
{String(Globals.SelectedDate).substr(0,10)}.  This contains PHI; destroy 
after use!!!
 /

   mx:PrintDataGrid  id=printDataGrid dataProvider={Appointments} 
fontSize=12  
 mx:columns
   mx:DataGridColumn  headerText=Start   
dataField=starttime width=80 textAlign=right/
   mx:DataGridColumn  headerText=Until   
dataField=endtime width=80 textAlign=right/
   . . .
   mx:DataGridColumn headerText=Location   
dataField=location   textAlign=center/
   mx:DataGridColumn headerText=Notes   
dataField=notes  width=400   textAlign=left/
 /mx:columns
   /mx:PrintDataGrid
 /mx:VBox


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Alex Harui
Sent: Thursday, September 06, 2012 11:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] need some printing advice



What result do you get?  No second page or second page is same as first?  If 
the latter, try calling validateNow() after nextPage()







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


Re: [flexcoders] need some printing advice

2012-09-06 Thread Alex Harui
What result do you get?  No second page or second page is same as first?  If 
the latter, try calling validateNow() after nextPage()


On 9/5/12 12:21 PM, Sells, Fred fred.se...@adventistcare.org wrote:






I’m using the printdatagrid control and can print one page just fine, but 
cannot get the second page to print.  The code below is a bit hacked from 
trying to apply Adobe’s examples, which I cannot translate to my problem.  Any 
help would be appreciated…

private function print():void {
   var printJob:FlexPrintJob = new FlexPrintJob();

   //start the print job
  if(printJob.start())  {
 printJob.addObject(printcontainer);
 //printJob.addObject(printDataGrid);
 printDataGrid.nextPage();
  printJob.addObject(printDataGrid);
 while(printDataGrid.validNextPage) 
 {

printDataGrid.nextPage();
   printJob.addObject(printDataGrid);
  }
 printJob.send();
  printDataGrid.dataProvider = Appointments; 
//needed to reset for next time.
}
  }


 mx:VBox id=printcontainer  width=100% height=1450  
backgroundAlpha=1.0 backgroundColor=white
  paddingLeft=20 paddingRight=20 paddingTop=50
  borderThickness=20 verticalAlign=top 
horizontalAlign=center
  visible=false  includeInLayout=false
   mx:Label id=PageHeader fontSize=24  textAlign=center   
fontWeight=bold
  text={picker.selectedItem.nickname} on 
{String(Globals.SelectedDate).substr(0,10)}.
  /

   mx:PrintDataGrid  id=printDataGrid dataProvider={Appointments} 
fontSize=12  
 mx:columns
   mx:DataGridColumn  headerText=Start   
dataField=starttime width=80 textAlign=right/
…






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


Re: [flexcoders] mobile pushView Transition

2012-09-04 Thread dorkie dork from dorktown
Hi Mark,

Check if there is an option to playTransition. If so you can set this to
false.

navigator.pushView(nextScreen, false);

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/ViewNavigator.html#pushView()


On Wed, Aug 29, 2012 at 9:12 AM, markflex2007 markflex2...@yahoo.comwrote:

 **


 Hi,

 I use navigator.pushView(NextScreen) to changes to the new view.

 but transition seems always exist.

 May I use pushView change to a new view immediately without any time delay
 like state change?

 Please give me a idea

 Thanks for help

 Mark

  



RE: [flexcoders] How To Run An Application With 2 Flex Versions?

2012-08-31 Thread Bill Franklin
You've just encountered Flex's version of DLLHell  :)

Freundliche Grüße / Best regards,
Bill Franklin
Computer Integrated Mfg.

[cid:image001.gif@01CD8771.E12C3F40]
Bayer CropScience LP
8400 Hawthorne Road, Room 2447
Kansas City, MO 64120
Tel: +1 816 242 2148
Fax: +1 816 242 2047
E-mail: bill.frank...@bayer.com
Web: http://www.bayercropscience.com

Vorstand: Sandra E. Peterson, Vorsitzende   |  Lykele van der Broek, Achim 
Noack, Rüdiger Scheitza, Michael A. Schulz
Vorsitzender des Aufsichtsrats: Werner Baumann
Sitz der Gesellschaft: Monheim am Rhein   |   Eintragung: Amtsgericht 
Düsseldorf, HRB 46985

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Nhi Le
Sent: Friday, August 31, 2012 10:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How To Run An Application With 2 Flex Versions?


Hi,

We have an component developed in Flex 3 that we would like to reuse in an 
application that is using Flex 4.  Is it possible to incorporate the two 
together?  If so, please shed some insight.

Thanks,
nhi



The information contained in this e-mail is for the exclusive use of the 
intended recipient(s) and may be confidential, proprietary, and/or 
legally privileged.  Inadvertent disclosure of this message does not 
constitute a waiver of any privilege.  If you receive this message in 
error, please do not directly or indirectly use, print, copy, forward,
or disclose any part of this message.  Please also delete this e-mail 
and all copies and notify the sender.  Thank you. 

For alternate languages please go to http://bayerdisclaimer.bayerweb.com

inline: image001.gif

Re: [flexcoders] How To Run An Application With 2 Flex Versions?

2012-08-31 Thread Alex Harui
See my blog post on Marshall Plan and documentation about MarshallingSupport.

It is possible to host an older-versioned component in its own SWF and load it 
into a newer-versioned app, but there are tradeoffs.


On 8/31/12 8:51 AM, Nhi Le nhi...@gmail.com wrote:






Hi,

We have an component developed in Flex 3 that we would like to reuse in an 
application that is using Flex 4.  Is it possible to incorporate the two 
together?  If so, please shed some insight.

Thanks,
nhi





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


Re: [flexcoders] wrong mac debug fp version???

2012-08-29 Thread John McCormack
Make sure you use the correct Adobe uninstaller - some were for specific 
versions.
I had a problem previously because my IDE didn't have the path set to 
run Firefox and the standalone player ran instead, so check your IDE.


Flashlight lets you know which player versions you have available...
https://addons.mozilla.org/en-US/firefox/addon/flashlight-1/?src=api

John

On 29/08/2012 14:26, Csomák Gábor wrote:



Hi!
I've downloaded the mac debug flash player. the installer said 11.4, 
but the installed version (capabilities.version) is 10.3. 183.23. can 
this happen?? is it occur at anybody else?
I even uninstalled Flash Player with Adobe's uninstaller, then 
reinstalled it, and it is still that way..

Thanks,
Gabor







Re: [flexcoders] Need Help - Loader changes the pixel value after loading as bitmap

2012-08-28 Thread Alex Harui
I’m missing what the other way of loading is and how you are getting its pixels.


On 8/27/12 3:15 AM, RAJ raaj_...@yahoo.com wrote:






Hi all ,

My aim is to load two images and compare its color information pixel by pixel. 
For this purpose i used flash.display.Loader class to load the images, and 
once load completes i'll typecast the loaded content to bitmap object 
(loaderObj.content as Bitmap). Finally i'll get the bitmapdata from the bitmap 
of both the images and compare the pixels.

Now the problem is the color information of the original image and the loaded 
bitmap is slightly different. For example the color value of pixels of the 
attached image image1.jpg is 0xDD for complete 1366x768. And for the same 
image when it is loaded as bitmap the color value of pixels are different from 
the original value (For some pixels only, not all pixels are different).

I've given the source code below.

Please can anyone help me out how to resolve this issue?

?xml version=1.0 encoding=utf-8?
s:WindowedApplication xmlns:fx=http://ns.adobe.com/mxml/2009 
http://ns.adobe.com/mxml/2009 
 
xmlns:s=library://ns.adobe.com/flex/spark
 
xmlns:mx=library://ns.adobe.com/flex/mx
   ! ;  width=1376 
height=800
 showStatusBar=false

 fx:Declarations
!-- Place non-visual elements (e.g., services, value 
objects) here --
  /fx:Declarations

 fx:Script
![CDATA[
  private function loadBtn_ClickHandler():void{
var file:File = new 
File(File.desktopDirectory.nativePath);
  nbs! p; 
file.addEventListener(Event.SELECT, onFileSelectionHandler);
file.browseForOpen(Open an image,[new 
FileFilter(Images, *.jpg;*.gif;*.png;*.jpeg)]);
  }

 private function 
onFileSelectionHandler(ev:Event):void{
var loadedFilePath:String = (ev.target 
as File).nativePath;
loadImageAsBitmap(loadedFilePath);
  ! }

 /* Load image as bitmap using Loader */
  private function 
loadImageAsBitmap(url:String):void 
http://tech.groups.yahoo.com/group/flexcoders/String):void {
var loader:Loader = new Loader();
 ! nbsp;  // load content as bitmap

loader.contentLoaderInfo.addEventListener(Event.COMPLETE, 
onContentLoadComplete);

loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, 
onContentLoadFail);
  nbs! p; loader.load! (new URL 
Request(url));
  }

 private function 
onContentLoadComplete(ev:Event):void{
var loaderInfo:LoaderInfo = ev.target 
as LoaderInfo;
var bitmap:Bitmap = loaderInfo.content 
as Bitmap;
 ! ;   printPixelValue(bitmap.bitmapData);
container_ID.addChild(bitmap);
  }

 private function 
onContentLoadFail(ioe:IOErrorEvent):void{
trace(Image Load Failed);
  }

 private function 
printPixelValue(bmData:BitmapData):void{
var initPixelValue:Number = -1;
//for (var countI:int = 0; countI  
bmData.height; countI++) {
nb! sp;   var countI:int = 1;
for (var countJ:int = 0; countJ  
bmData.width; countJ++) {
  var pixelValue:Number = 
bmData.getPixel32(countJ, countI);
! ;  ! nbsp;nb sp;  if(pixelValue 
!= initPixelValue){
initPixelValue = 
pixelValue;
// Print the pixel 
value only for one row
  ! ;  trace(Pixel 
Value at  + countI + x + countJ +  is:  + pixelValue);
  }
}
nbs! p;  ! trace( Pixel Value at  + 
countI + x + countJ +  is:  + pixelValue);
//}
  

Re: [flexcoders] s:DropDownList selectedItem

2012-08-23 Thread kannan Mugundan
Hi,
Can you provide the complete code for the dropDownlist.

In Flex 3.5,  I was using a custom Combobox, where I can set the selected
value and also get the value like

mx:combobox id=mycombo selectedItem={myobject.myvalue}/
and mycombo.value will return the selected value.


I need the same functionality in  flex  4, dropdownlist,
I have not found any custom dropdownlist   in internet, I am not an expert
 in flex and looking for a well optimized custom drop down list supporting
the above functionality


So can you please provide me some links, where I  can find a one  or if you
can share your code..

Thanks
Kannan


Re: [flexcoders] Odd text rendering issue

2012-08-23 Thread Michael Chealander
Something like the issues described here: 
http://code.google.com/p/chromium/issues/detail?id=140415 ?

On 23 Aug, 2012, at 8:00 AM, Tom McNeer wrote:

 I'm looking into a very weird problem on a pre-existing application, which 
 occurs only when using Chrome on Windows.
 
 
 The only specific instance I have access to is Flash Player 11.3.31.227, 
 Chrome 21.0.1180.79, Windows Vista SP 2; but the same problem has been 
 reported on other OS versions.
 
 When the SWF loads, all text is rendered correctly. But immediately 
 thereafter, much of the text re-renders illegibly.
 
 I'll try to provide more details later. But I'd just be interested to know if 
 anyone has ever seen a text rendering issue like this, which was 
 platform/browser-specific.
 
 -- 
 Thanks,
 
 Tom
 
 Tom McNeer
 MediumCool
 http://www.mediumcool.com
 1735 Johnson Road NE
 Atlanta, GA 30306
 404.589.0560
 
 



RE: [flexcoders] RE: Flash Builder Problem

2012-08-23 Thread Sells, Fred
Given the critical nature of your issue, I would probably get the free 30 day 
copy of vmware and try a clean install and see what happens.

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Davidson, Jerry
Sent: Wednesday, August 22, 2012 10:28 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] RE: Flash Builder Problem


My complaint was it taking 3-4 hours to even see a post.  Of course, I'm VERY 
appreciative of any help I get.  I moderate other forums and am aware of the 
reviewing process for new posters.

I'm currently dead in the water with Flash Builder and my boss just asked me 
about when the project will be done.  I filed a support request with Adobe, but 
they are not the fastest to respond.

From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios Gianninas
Sent: Wednesday, August 22, 2012 9:22 AM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: Re: [flexcoders] RE: Flash Builder Problem



Hi Jerry,

Your messages will now auto-post with no moderation. But also remember that ppl 
on this group responded when they can, not when you expect them too :)

Hope that helps!

Jimmy
Flexcoders Moderator
On Wed, Aug 22, 2012 at 10:11 AM, Merrill, Jason 
jason.merr...@bankofamerica.commailto:jason.merr...@bankofamerica.com wrote:

We're at the mercy of Yahoo and how their server choose to batch send e-mails.

Jason Merrill
Instructional Technology Architect II
Bank of America  Global Learning





___

From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com] On 
Behalf Of Davidson, Jerry
Sent: Wednesday, August 22, 2012 8:48 AM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: [flexcoders] RE: Flash Builder Problem


Any way to speed up the posts?  Sending it at 1:55 to have it show up at 4:37 
guarantees prompt answers are impossible.  It's like sending a letter to get 
tech support or answers.

Posted 7:48AM 8/22

From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com] On 
Behalf Of Davidson, Jerry
Sent: Tuesday, August 21, 2012 1:56 PM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: [flexcoders] Flash Builder Problem


Flash Builder is no longer working correctly.  If you chose a different 
perspective, you have to leave the program and change it on reentry.

I don't know if the newest version of java is related to it, but the problems 
seemed to happen after those were installed.

We have both Flash Builder and the RAD component, but I'm using FB the most.

4.0.1 build 277662.

Help.

Posted 1:55 CDT 8/21.

This message w/attachments (message) is intended solely for the use of the 
intended recipient(s) and may contain information that is privileged, 
confidential or proprietary. If you are not an intended recipient, please 
notify the sender, and then please delete and destroy all copies and 
attachments, and be advised that any review or dissemination of, or the taking 
of any action in reliance on, the information contained in or attached to this 
message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a 
solicitation of any investment products or other financial product or service, 
an official confirmation of any transaction, or an official statement of 
Sender. Subject to applicable law, Sender may intercept, monitor, review and 
retain e-communications (EC) traveling through its networks/systems and may 
produce any such EC to regulators, law enforcement, in litigation and as 
required by law.
The laws of the country of each sender/recipient may impact the handling of EC, 
and EC may be archived, supervised and produced in countries other than the 
country in which you are located. This message cannot be guaranteed to be 
secure or free of errors or viruses.

References to Sender are references to any subsidiary of Bank of America 
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are 
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a 
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal 
Government Agency. Attachments that are part of this EC may have additional 
important disclosures and disclaimers, which you should read. This message is 
subject to terms available at the following link:
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you 
consent to the foregoing.



--
Jimmy G
Team Lead, Product Development



Re: [flexcoders] RE: Flash Builder Problem

2012-08-22 Thread Dimitrios Gianninas
Hi Jerry,

Your messages will now auto-post with no moderation. But also remember that
ppl on this group responded when they can, not when you expect them too :)

Hope that helps!

Jimmy
Flexcoders Moderator

On Wed, Aug 22, 2012 at 10:11 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 **


  We’re at the mercy of Yahoo and how their server choose to batch send
 e-mails. 

 ** **

 Jason Merrill
 Instructional Technology Architect II**

 *Bank of America*  Global Learning 

 ** **

 ** **

 ** **

 ** **

 ** **

 ___

 ** **

 *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On
 Behalf Of *Davidson, Jerry
 *Sent:* Wednesday, August 22, 2012 8:48 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] RE: Flash Builder Problem

 ** **

   

 Any way to speed up the posts?  Sending it at 1:55 to have it show up at
 4:37 guarantees prompt answers are impossible.  It’s like sending a letter
 to get tech support or answers.

  

 Posted 7:48AM 8/22

  

 *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On
 Behalf Of *Davidson, Jerry
 *Sent:* Tuesday, August 21, 2012 1:56 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Flash Builder Problem

  

   

 Flash Builder is no longer working correctly.  If you chose a different
 perspective, you have to leave the program and change it on reentry.

  

 I don’t know if the newest version of java is related to it, but the
 problems seemed to happen after those were installed.

  

 We have both Flash Builder and the RAD component, but I’m using FB the
 most.

  

 4.0.1 build 277662.

  

 Help.

  

 Posted 1:55 CDT 8/21.

 
  --
 This message w/attachments (message) is intended solely for the use of the
 intended recipient(s) and may contain information that is privileged,
 confidential or proprietary. If you are not an intended recipient, please
 notify the sender, and then please delete and destroy all copies and
 attachments, and be advised that any review or dissemination of, or the
 taking of any action in reliance on, the information contained in or
 attached to this message is prohibited.
 Unless specifically indicated, this message is not an offer to sell or a
 solicitation of any investment products or other financial product or
 service, an official confirmation of any transaction, or an official
 statement of Sender. Subject to applicable law, Sender may intercept,
 monitor, review and retain e-communications (EC) traveling through its
 networks/systems and may produce any such EC to regulators, law
 enforcement, in litigation and as required by law.
 The laws of the country of each sender/recipient may impact the handling
 of EC, and EC may be archived, supervised and produced in countries other
 than the country in which you are located. This message cannot be
 guaranteed to be secure or free of errors or viruses.

 References to Sender are references to any subsidiary of Bank of America
 Corporation. Securities and Insurance Products: * Are Not FDIC Insured *
 Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not
 a Condition to Any Banking Service or Activity * Are Not Insured by Any
 Federal Government Agency. Attachments that are part of this EC may have
 additional important disclosures and disclaimers, which you should read.
 This message is subject to terms available at the following link:
 http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender
 you consent to the foregoing.

  




-- 
Jimmy G
Team Lead, Product Development


RE: [flexcoders] RE: Flash Builder Problem

2012-08-22 Thread Davidson, Jerry
My complaint was it taking 3-4 hours to even see a post.  Of course, I'm VERY 
appreciative of any help I get.  I moderate other forums and am aware of the 
reviewing process for new posters.

I'm currently dead in the water with Flash Builder and my boss just asked me 
about when the project will be done.  I filed a support request with Adobe, but 
they are not the fastest to respond.

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Dimitrios Gianninas
Sent: Wednesday, August 22, 2012 9:22 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] RE: Flash Builder Problem



Hi Jerry,

Your messages will now auto-post with no moderation. But also remember that ppl 
on this group responded when they can, not when you expect them too :)

Hope that helps!

Jimmy
Flexcoders Moderator
On Wed, Aug 22, 2012 at 10:11 AM, Merrill, Jason 
jason.merr...@bankofamerica.commailto:jason.merr...@bankofamerica.com wrote:

We're at the mercy of Yahoo and how their server choose to batch send e-mails.

Jason Merrill
Instructional Technology Architect II
Bank of America  Global Learning





___

From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com] On 
Behalf Of Davidson, Jerry
Sent: Wednesday, August 22, 2012 8:48 AM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: [flexcoders] RE: Flash Builder Problem


Any way to speed up the posts?  Sending it at 1:55 to have it show up at 4:37 
guarantees prompt answers are impossible.  It's like sending a letter to get 
tech support or answers.

Posted 7:48AM 8/22

From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com] On 
Behalf Of Davidson, Jerry
Sent: Tuesday, August 21, 2012 1:56 PM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: [flexcoders] Flash Builder Problem


Flash Builder is no longer working correctly.  If you chose a different 
perspective, you have to leave the program and change it on reentry.

I don't know if the newest version of java is related to it, but the problems 
seemed to happen after those were installed.

We have both Flash Builder and the RAD component, but I'm using FB the most.

4.0.1 build 277662.

Help.

Posted 1:55 CDT 8/21.

This message w/attachments (message) is intended solely for the use of the 
intended recipient(s) and may contain information that is privileged, 
confidential or proprietary. If you are not an intended recipient, please 
notify the sender, and then please delete and destroy all copies and 
attachments, and be advised that any review or dissemination of, or the taking 
of any action in reliance on, the information contained in or attached to this 
message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a 
solicitation of any investment products or other financial product or service, 
an official confirmation of any transaction, or an official statement of 
Sender. Subject to applicable law, Sender may intercept, monitor, review and 
retain e-communications (EC) traveling through its networks/systems and may 
produce any such EC to regulators, law enforcement, in litigation and as 
required by law.
The laws of the country of each sender/recipient may impact the handling of EC, 
and EC may be archived, supervised and produced in countries other than the 
country in which you are located. This message cannot be guaranteed to be 
secure or free of errors or viruses.

References to Sender are references to any subsidiary of Bank of America 
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are 
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a 
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal 
Government Agency. Attachments that are part of this EC may have additional 
important disclosures and disclaimers, which you should read. This message is 
subject to terms available at the following link:
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you 
consent to the foregoing.



--
Jimmy G
Team Lead, Product Development



Re: [flexcoders] RE: Flash Builder Problem

2012-08-22 Thread Alex Harui
Adobe has a Flash Builder forum.  Try asking there.


On 8/22/12 7:27 AM, Davidson, Jerry jerry.david...@illinois.gov wrote:






My complaint was it taking 3-4 hours to even see a post.  Of course, I’m VERY 
appreciative of any help I get.  I moderate other forums and am aware of the 
“reviewing” process for new posters.

I’m currently dead in the water with Flash Builder and my boss just asked me 
about when the project will be done.  I filed a support request with Adobe, but 
they are not the fastest to respond.


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Dimitrios Gianninas
Sent: Wednesday, August 22, 2012 9:22 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] RE: Flash Builder Problem



Hi Jerry,

Your messages will now auto-post with no moderation. But also remember that ppl 
on this group responded when they can, not when you expect them too :)

Hope that helps!

Jimmy
Flexcoders Moderator

On Wed, Aug 22, 2012 at 10:11 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:



We’re at the mercy of Yahoo and how their server choose to batch send e-mails.


Jason Merrill
Instructional Technology Architect II
Bank of America  Global Learning





___


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Davidson, Jerry
Sent: Wednesday, August 22, 2012 8:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RE: Flash Builder Problem



Any way to speed up the posts?  Sending it at 1:55 to have it show up at 4:37 
guarantees prompt answers are impossible.  It’s like sending a letter to get 
tech support or answers.

Posted 7:48AM 8/22


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Davidson, Jerry
Sent: Tuesday, August 21, 2012 1:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flash Builder Problem



Flash Builder is no longer working correctly.  If you chose a different 
perspective, you have to leave the program and change it on reentry.

I don’t know if the newest version of java is related to it, but the problems 
seemed to happen after those were installed.

We have both Flash Builder and the RAD component, but I’m using FB the most.

4.0.1 build 277662.

Help.

Posted 1:55 CDT 8/21.



This message w/attachments (message) is intended solely for the use of the 
intended recipient(s) and may contain information that is privileged, 
confidential or proprietary. If you are not an intended recipient, please 
notify the sender, and then please delete and destroy all copies and 
attachments, and be advised that any review or dissemination of, or the taking 
of any action in reliance on, the information contained in or attached to this 
message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a 
solicitation of any investment products or other financial product or service, 
an official confirmation of any transaction, or an official statement of 
Sender. Subject to applicable law, Sender may intercept, monitor, review and 
retain e-communications (EC) traveling through its networks/systems and may 
produce any such EC to regulators, law enforcement, in litigation and as 
required by law.
The laws of the country of each sender/recipient may impact the handling of EC, 
and EC may be archived, supervised and produced in countries other than the 
country in which you are located. This message cannot be guaranteed to be 
secure or free of errors or viruses.

References to Sender are references to any subsidiary of Bank of America 
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are 
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a 
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal 
Government Agency. Attachments that are part of this EC may have additional 
important disclosures and disclaimers, which you should read. This message is 
subject to terms available at the following link:
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you 
consent to the foregoing.



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


Re: [flexcoders] change button color dynamically?

2012-08-18 Thread Sudesh Das
hello Mark,
   you can use the urcomponentID.setStyle(stylename, value); to change the 
style of component.

Regards,
Sudesh



 From: markflex2007 markflex2...@yahoo.com
To: flexcoders@yahoogroups.com 
Sent: Friday, August 17, 2012 8:18 PM
Subject: [flexcoders] change button color dynamically?
 
The following code can change Button Color

mx:Button  label=test   fillColors=[#00ff00, #00ff00, #00ff00, #00ff00] 
fillAlphas=[1, 1, 1, 1]/

May I use setStyle in AS TO change fillColors, please show me how to do that?

May I use AS code change fillColors dynamically with dynamic data.

Thanks

Mark







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



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

<    1   2   3   4   5   6   7   8   9   10   >