[flexcoders] Showing icons in ComboBox dropdowns

2007-11-26 Thread Dave Glasser
I need to show icons next to the items in a ComboBox dropdown. Unlike the List 
class, the ComboBox has no iconFunction property, and its default item renderer 
class, ListItemRender, has a *protected* icon property. 
   
  I tried accessing the ComboBox's dropdown property directly, but that didn't 
work out well. Since it seems to use a different ListBase instance each time 
its displayed, the dropdown's labelFunction property has to be set in a 
DropdownEvent.OPEN handler, and this event is fired *after* the dropdown is 
visible, so you intially see the dropdown without icons and then the icons 
appear.
   
  It seems that to accomplish this, I'll have to, at minimum, subclass 
ListItemRenderer. But this seems a rather cumbersome solution for what I 
suppose is a common need. Is there an easier way to do this?


RE: [flexcoders] Showing icons in ComboBox dropdowns

2007-11-26 Thread Dave Glasser
Worked like a charm. Thanks!

Alex Harui [EMAIL PROTECTED] wrote:You should just replace the 
dropdownFactory with a modified ClassFactory for a list with properties { 
iconFunction: myFunction }


-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Glasser
Sent: Monday, November 26, 2007 11:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Showing icons in ComboBox dropdowns


  
  I need to show icons next to the items in a ComboBox dropdown. Unlike the 
List class, the ComboBox has no iconFunction property, and its default item 
renderer class, ListItemRender, has a *protected* icon property. 
   
  I tried accessing the ComboBox's dropdown property directly, but that didn't 
work out well. Since it seems to use a different ListBase instance each time 
its displayed, the dropdown's labelFunction property has to be set in a 
DropdownEvent.OPEN handler, and this event is fired *after* the dropdown is 
visible, so you intially see the dropdown without icons and then the icons 
appear.
   
  It seems that to accomplish this, I'll have to, at minimum, subclass 
ListItemRenderer. But this seems a rather cumbersome solution for what I 
suppose is a common need. Is there an easier way to do this?
  

  

 


[flexcoders] Application without MXML: Is it possible?

2007-11-30 Thread Dave Glasser
I'm trying to create an Application in pure Actionscript, by subclassing 
mx.core.Application, and when I run it I get:
   
  TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
 at 
mx.core::UIComponent/getStyle()[C:\dev\flex_201_ja\sdk\frameworks\mx\core\UIComponent.as:7095]
  ...etc.
   
  The source file is basically an empty shell, with nothing but a constructor 
that calls super(). I'm not adding any children or setting any properties. It's 
not in the top-level package, if that makes any difference.
   
  Is what I'm trying to do impossible, at least without adding some amount of 
setup code that is normally generated by the MXML preprocessor and isn't 
documented anywhere?


Re: [flexcoders] Application without MXML: Is it possible?

2007-12-01 Thread Dave Glasser
I looked at the generated actionscript and it does look like there's a lot 
going on, and it's not worth trying to make it work without MXML. Maybe I'll 
log a bug report requesting that they say in the API doc that the Application 
class can only (as a practical matter) be used via the mx:Application MXML 
tag.

hank williams [EMAIL PROTECTED] wrote:   Is what I'm trying to do 
impossible, at least without adding some amount of setup code that is normally 
generated by the MXML preprocessor and isn't documented anywhere? __

As I understand it, this is exactly correct. If you compile an MXML
with the option on that generates actionscript (I forget how you do
this) you will see a lot of generated code even in an MXML hello
world.

Regards,
Han


 


Re: [flexcoders] Application without MXML: Is it possible?

2007-12-02 Thread Dave Glasser
I had no idea that SimpleApplication existed; it's not in my Flex 2.01 api 
docs. But then I looked in the source tree and indeed, there is an 
mx.core.SimpleApplication class. But the source reveals that it's just an empty 
subclass of MovieClip, so it can't be used in place of the Application class. I 
wouldn't be able to add any UIComponents to the display list without errors, 
since it seems that a UIComponent's entire ancestor chain must be made up 
entirely of other UIComponents.

Anatole Tartakovsky [EMAIL PROTECTED] wrote:Try inheriting from 
SimpleApplication - you still will get all mixins for css and static linkage 
for generated code, but less of the framework initialization - you should be 
able to create screen and have controls there. Of course, fewer things 
depending on the global managers will work later on ... 
   
  Regards,
  Anatole Tartakovsky
  FarataSystems
  

 
  On 11/30/07, Dave Glasser [EMAIL PROTECTED] wrote:   I'm trying 
to create an Application in pure Actionscript, by subclassing 
mx.core.Application, and when I run it I get:
   
  TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
 at 
mx.core::UIComponent/getStyle()[C:\dev\flex_201_ja\sdk\frameworks\mx\core\UIComponent.as:7095]
  ...etc.
   
  The source file is basically an empty shell, with nothing but a constructor 
that calls super(). I'm not adding any children or setting any properties. It's 
not in the top-level package, if that makes any difference. 
   
  Is what I'm trying to do impossible, at least without adding some amount of 
setup code that is normally generated by the MXML preprocessor and isn't 
documented anywhere?
  
  






  

 


RE: [flexcoders] Application without MXML: Is it possible?

2007-12-02 Thread Dave Glasser
I was already aware of that, but forgoing the use of UIComponents is not really 
an option for me.
   
  I don't see why the Flex team couldn't build a minimal set of defaults into 
the Application class that would allow it to be used outside of MXML. But 
absent that, I think the API docs should clearly indicate that the only 
practical way to instantiate and use the class is through MXML.
  
Alex Harui [EMAIL PROTECTED] wrote:
  Not all applications have to have mx:Application at the top 
level.  You can start with Sprite if you want.  That’s what happens when you 
create an ActionScript project in Flex Builder.  But then you can’t use most of 
the mx: components.
  
  
-
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Glasser
Sent: Saturday, December 01, 2007 2:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Application without MXML: Is it possible?

  
I looked at the generated actionscript and it does look like there's a 
lot going on, and it's not worth trying to make it work without MXML. Maybe 
I'll log a bug report requesting that they say in the API doc that the 
Application class can only (as a practical matter) be used via the 
mx:Application MXML tag.

hank williams [EMAIL PROTECTED] wrote: 
 Is what I'm trying to do impossible, at least without adding some 
amount of setup code that is normally generated by the MXML preprocessor and 
isn't documented anywhere? __

As I understand it, this is exactly correct. If you compile an MXML
with the option on that generates actionscript (I forget how you do
this) you will see a lot of generated code even in an MXML hello
world.

Regards,
Han


  

  



  

 



RE: [flexcoders] Application without MXML: Is it possible?

2007-12-03 Thread Dave Glasser
I'd be happy to share that information with you. My main reasons for preferring 
straight Actionscript over MXML are:
   
  1. My editor of choice, Visual SlickEdit, which I've used since my C days in 
the last millenium, does not have an MXML mode. It provides nice code 
completion, syntax highlighting, autoindent, etc. for XML or Actionscript 
separately, but not together. So when I have to work with MXML, I usually pull 
the Actionscript out into a separate include file.
   
  2. I don't like to fuss with namespaces and manifest files to use my own 
components in MXML, especially for one-offs.
   
  3. As a matter of personal preference, I prefer working with code, with all 
of its curly braces, parentheses, function calls, etc., over XML. As far as the 
extra verbosity of code goes, I have some utility functions which make it 
comparable to MXML. For example, I have a utility function that will add a 
UIComponent to its parent container, and set any number of properties or styles 
on it, all in a single function call.
   
  4. As a corollary to #3, I prefer that the code that ultimately is compiled 
is written (and hence known) by me, rather than generated, so if it doesn't 
work right, I can more easily diagnose the problem.
   
  I rarely use databinding. Instead, I use old-fashioned assignment statements, 
that execute exactly where and when I want them to. I previously worked with a 
guy who was committed to doing things in The Flex Way, who bound all of the 
controls on a GUI form to the fields of the object it was meant to modify. But 
since the form had a Cancel button, he also had to write a lot of code that 
would save a snapshot of the properties of the object so he could restore the 
object's original state if the Cancel button was clicked. When I had to go back 
and fix the numerous bugs in that form after he left, I ripped out all of the 
binding and restore code, and simply updated the object's properties when the 
OK button was clicked. The end result was much less code that was far more 
understandable.
  

Gordon Smith [EMAIL PROTECTED] wrote:
 I don't see why the Flex team couldn't build a minimal set of 
defaults
   into the Application class that would allow it to be used outside of MXML.
   
  We could make this work (although we won't have time before Flex 3 ships). 
Please file an enhancement request at http://bugs.adobe.com/flex if you feel it 
is important for a future release.
   
  But I'm always interested in why some people avoid MXML. What's your reason?
   
  - Gordon


-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Glasser
Sent: Sunday, December 02, 2007 12:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Application without MXML: Is it possible?


  
  I was already aware of that, but forgoing the use of UIComponents is not 
really an option for me.
   
  I don't see why the Flex team couldn't build a minimal set of defaults into 
the Application class that would allow it to be used outside of MXML. But 
absent that, I think the API docs should clearly indicate that the only 
practical way to instantiate and use the class is through MXML.
  
Alex Harui [EMAIL PROTECTED] wrote:
  Not all applications have to have mx:Application at the top level.  
You can start with Sprite if you want.  That’s what happens when you create an 
ActionScript project in Flex Builder.  But then you can’t u! se most of the mx: 
components.
  
  
-
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Glasser
Sent: Saturday, December 01, 2007 2:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Application without MXML: Is it possible?

  
I looked at the generated actionscript and it does look like there's a 
lot going on, and it's not worth trying to make it work without MXML. Maybe 
I'll log a bug report requesting that they say in the API doc that the 
Application class can only (as a practical ! matter) be used via the 
mx:Application MXML tag.

hank williams [EMAIL PROTECTED] wrote: 
 Is what I'm trying to do impossible, at least without adding some 
amount of setup code that is normally generated by the MXML preprocessor and 
isn't documented anywhere? __

As I understand it, this is exactly correct. If you compile an MXML
with the option on that generates actionscript (I forget how you do
this) you will see a lot of generated code even in an MXML hello
world.

Regards,
Han


  

  



  



  

  

 


Re: [flexcoders] Mutliple alert copies

2007-12-05 Thread Dave Glasser
Did you put some tracing code in to prove that that code isn't actually 
executed twice the second time around? Event-driven software can be a tricky 
business.
   
  Maybe you neglected to remove an old event listener from some object that is 
dispatching the event that ultimately executes that code, and it's still 
lurking in memory, receiving that event and showing your Alert.

Richard Rodseth [EMAIL PROTECTED] wrote:
   I have a wizard which ends with the following alert: 

 alert = Alert.show(The message has been sent. Would you like to send 
another?, , Alert.YES | Alert.NO, null, handleClose); 

If the user chooses YES the alert disappears from view, but next time there are 
two of them. Any obvious mistakes?



 


RE: [flexcoders] Icon for Button

2008-01-01 Thread Dave Glasser
Thanks for the clarification on that. I sort of figured it out after I realized 
that styleName can be either a String or a CSSStyleDeclaration. I've only ever 
assigned Strings to that property.
   
  Anyway, that's definitely something good to know. If it's not documented 
anywhere, it probably should be.

Alex Harui [EMAIL PROTECTED] wrote:
  DGColumn extends CSSStyleDecl and is assigned as the styleName 
property of each renderer.  When you call setStyle, you are adding new styles 
that each renderer will pick up, just as if it were a normal CSS selector.
  
  I would expect “icon”, MyIconClass to work.
  
  
-
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Glasser
Sent: Monday, December 31, 2007 9:39 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Icon for Button

  
  Alex,



This looks like a very useful piece of information, of which I was not 
previously aware. It's not quite clear to me what you mean, however. Could you 
expand on it a little, or else point me to some documentation that does?



When you say the column is the styleName, what exactly do you mean? Is 
that the column header text, or perhaps the dataField property of the 
DataGridColumn?



Also, since the DataGridColumn class extends CSSStyleDeclaration, what 
would be the effect of calling setStyle(icon, MyIconClass) on the 
DataGridColumn object itself?



Alex Harui [EMAIL PROTECTED] wrote:

The styleName for all renderers is the column it belongs to.

  
-
  
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
markgoldin_2000
Sent: Thursday, December 27, 2007 8:35 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Icon for Button


  I want to have a button in one of columns in the DataGrid. This 
button 
will delete rows on its click. I am adding the button to dataGrid as a 
itemRenderer. I am extending class Button:
public class deleteRowGrid extends Button
{
public function deleteRowGrid()
{
super();
styleName = DeleteRow;
}

}
I am using styleName to set an icon for the button. DeleteRow style 
is declared in the main application. When I run my code I have a button 
in the column but with no icon. Any idea why?

Thanks







  

  



  

 


Re: [flexcoders] HitTest Problems with Button that includes white

2008-01-03 Thread Dave Glasser
The white is probably not the color of the button skin, but the color of the 
parent container showing through. The skin has probably not painted those 
pixels any color at all, so they're not generating mouseover events for the 
skin/button.
   
  I've solved this problem before by making sure all of the pixels on the skin 
were painted with some value, even if I wanted them fully transparent. The ones 
that I wanted to be transparent, I just painted with an alpha value of 0. This 
all occurs in the updateDisplayList() method of the skin.
  

m.frigge [EMAIL PROTECTED] wrote:
  Hey there,
I hope you all had a great new years. 

I have got a problem with a button skin. 
The skin contains a white area and it seems
that it doesn't recognize that area when I
roll over with my mouse. The Skin always 
jumps back to the normal state (instead of 
keeping the over skin).

Can I tell Flex that it should just use the skins
shape for the hitTest and ignore colors?!

Cheers, Max



 


[flexcoders] Preserving whitespace in XML nodes

2008-01-22 Thread Dave Glasser
I've tried using the static XML.ignoreWhitespace property to solve this
problem. Not only does it not work, but I don't want the setting applied
globally. When I run this code:

   var x:XML = myXML/;
   x.a =a;
   x.b =b;
   x.c =c;
   trace(x= + x.toXMLString());

The output is:

x=myXML
  aa/a
  bb/b
  cc/c
/myXML


Can anyone tell me how to preserve the leading and trailing whitespace in
the elements a, b and c?








Re: [flexcoders] Preserving whitespace in XML nodes

2008-01-22 Thread Dave Glasser
That doesn't seem to work either. Perhaps I'm not doing it right, but the
output is identical with this code:

   var x:XML = myXML/;
   x.a = new XML( ![CDATA[a]]);
   x.b =b;
   x.c =c;
   trace(x= + x.toXMLString());

It doesn't show the CDATA section in the output, nor does it preserve the
whitespace.

--- Nils Millahn [EMAIL PROTECTED] wrote:

 Have you tried using a CDATA around them?
 
 - Nils.
 
 
 Dave Glasser wrote:
  I've tried using the static XML.ignoreWhitespace property to solve this
  problem. Not only does it not work, but I don't want the setting applied
  globally. When I run this code:
 
 var x:XML = myXML/;
 x.a =a;
 x.b =b;
 x.c =c;
 trace(x= + x.toXMLString());
 
  The output is:
 
  x=myXML
aa/a
bb/b
cc/c
  /myXML
 
 
  Can anyone tell me how to preserve the leading and trailing whitespace
 in
  the elements a, b and c?
 
 
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
 
 
 
 
 

 
 





Re: [flexcoders] Preserving whitespace in XML nodes

2008-01-22 Thread Dave Glasser
P.S., in the CDATA section below, the a character has four spaces on
either side, but it might not appear that way in HTML-based mail readers.


--- Dave Glasser [EMAIL PROTECTED] wrote:

 That doesn't seem to work either. Perhaps I'm not doing it right, but the
 output is identical with this code:
 
var x:XML = myXML/;
x.a = new XML( ![CDATA[a]]);
x.b =b;
x.c =c;
trace(x= + x.toXMLString());
 
 It doesn't show the CDATA section in the output, nor does it preserve the
 whitespace.
 
 --- Nils Millahn [EMAIL PROTECTED] wrote:
 
  Have you tried using a CDATA around them?
  
  - Nils.
  
  
  Dave Glasser wrote:
   I've tried using the static XML.ignoreWhitespace property to solve
 this
   problem. Not only does it not work, but I don't want the setting
 applied
   globally. When I run this code:
  
  var x:XML = myXML/;
  x.a =a;
  x.b =b;
  x.c =c;
  trace(x= + x.toXMLString());
  
   The output is:
  
   x=myXML
 aa/a
 bb/b
 cc/c
   /myXML
  
  
   Can anyone tell me how to preserve the leading and trailing whitespace
  in
   the elements a, b and c?
  
  
  
  
  
  
  
  
   --
   Flexcoders Mailing List
   FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
   Yahoo! Groups Links
  
  
  
  
  
 
  
  
 
 
 
 





Re: [flexcoders] Preserving whitespace in XML nodes

2008-01-22 Thread Dave Glasser
FTR, I found that setting XML.prettyPrinting = false fixes this, but this is
not a workaround I can use. I'm pretty sure this behavior does not comply
with ECMA-357, so I logged a bug:

http://bugs.adobe.com/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10201


--- Dave Glasser [EMAIL PROTECTED] wrote:

 P.S., in the CDATA section below, the a character has four spaces on
 either side, but it might not appear that way in HTML-based mail readers.
 
 
 --- Dave Glasser [EMAIL PROTECTED] wrote:
 
  That doesn't seem to work either. Perhaps I'm not doing it right, but
 the
  output is identical with this code:
  
 var x:XML = myXML/;
 x.a = new XML( ![CDATA[a]]);
 x.b =b;
 x.c =c;
 trace(x= + x.toXMLString());
  
  It doesn't show the CDATA section in the output, nor does it preserve
 the
  whitespace.
  
  --- Nils Millahn [EMAIL PROTECTED] wrote:
  
   Have you tried using a CDATA around them?
   
   - Nils.
   
   
   Dave Glasser wrote:
I've tried using the static XML.ignoreWhitespace property to solve
  this
problem. Not only does it not work, but I don't want the setting
  applied
globally. When I run this code:
   
   var x:XML = myXML/;
   x.a =a;
   x.b =b;
   x.c =c;
   trace(x= + x.toXMLString());
   
The output is:
   
x=myXML
  aa/a
  bb/b
  cc/c
/myXML
   
   
Can anyone tell me how to preserve the leading and trailing
 whitespace
   in
the elements a, b and c?
   
   
   
   
   
   
   
   
--
Flexcoders Mailing List
FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links
   
   
   
   
   
  
   
   
  
  
  
  
 
 
 
 





[flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-30 Thread Dave Glasser
I'm running a Flex app in my local Flash player (not in a browser) from my
local disk, and I'm trying to load a module from a Tomcat server running on
localhost. My Flex app is trusted and is already communicating with that
server for other things, but when I try to load the module, I get the error
described by Alex Harui in this blog post:

http://blogs.adobe.com/aharui/2007/03/swf_is_not_a_loadable_module.html

I've put the following crossdomain.xml file in the root document directory
of the Tomcat server:

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


and I still get the error. I can load the crossdomain.xml file in a browser
with the URL http://localhost/crossdomain.xml. The weird thing is that the
Tomcat access logs do not indicate that the Flash player running my Flex app
is requesting that crossdomain.xml file at all. Does anyone have any idea
what I'm doing wrong?





RE: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
Thanks Alex, that's extremely helpful. I don't doubt that you're correct,
but could you tell me where that's documented? I don't see it in any of the
API docs for the mx.modules classes, and the word module doesn't appear
anywhere in the Flash Player 9 Security Whitepaper PDF. The same app is
easily able to load and interact with Flash movies using SWFLoader from the
same server, and without a crossdomain.xml file (which isn't accessed even
when it exists) so none of this makes sense to me.


--- Alex Harui [EMAIL PROTECTED] wrote:

 Local swfs cannot load remote modules.
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Dave Glasser
 Sent: Wednesday, January 30, 2008 8:27 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] SWF is not a loadable module / crossdomain.xml
 woes
 
  
 
 I'm running a Flex app in my local Flash player (not in a browser) from
 my
 local disk, and I'm trying to load a module from a Tomcat server running
 on
 localhost. My Flex app is trusted and is already communicating with that
 server for other things, but when I try to load the module, I get the
 error
 described by Alex Harui in this blog post:
 
 http://blogs.adobe.com/aharui/2007/03/swf_is_not_a_loadable_module.html
 http://blogs.adobe.com/aharui/2007/03/swf_is_not_a_loadable_module.html
  
 
 I've put the following crossdomain.xml file in the root document
 directory
 of the Tomcat server:
 
 ?xml version=1.0?
 !DOCTYPE cross-domain-policy SYSTEM
 http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd
 http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd 
 cross-domain-policy
 allow-access-from domain=* /
 /cross-domain-policy
 
 and I still get the error. I can load the crossdomain.xml file in a
 browser
 with the URL http://localhost/crossdomain.xml.
 http://localhost/crossdomain.xml.  The weird thing is that the
 Tomcat access logs do not indicate that the Flash player running my Flex
 app
 is requesting that crossdomain.xml file at all. Does anyone have any
 idea
 what I'm doing wrong?
 
  
 
 





Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
That didn't work either. As I mentioned, the crossdomain.xml file isn't even
being requested by the Flash player.


--- shrikant.patil [EMAIL PROTECTED] wrote:

 
 hi try to put the below crossdomain.xml u r missing something there;
 
 ?xml version=1.0?
 !DOCTYPE cross-domain-policy SYSTEM
 http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd;
 cross-domain-policy
 allow-access-from domain=* secure=false/
 /cross-domain-policy
 
 
 
 As per mine knowladge.. u need to put secure tag as false, so that i
 will allow it to access any of secure issues.
 
 hope this may solve; cheers
 -- 
 View this message in context:

http://www.nabble.com/SWF-is-not-a-loadable-module---crossdomain.xml-woes-tp15198022p15199689.html
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 





Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
The code looks like:

var moduleInfo:IModuleInfo = ModuleManager.getModule(_url);
moduleInfo.addEventListener(ModuleEvent.READY, onModuleLoaded);
moduleInfo.addEventListener(ModuleEvent.ERROR, onModuleError);
moduleInfo.load();

And the onModuleError event handler gets called. The ModuleEvent's errorText
property is SWF is not a loadable module. 


--- shrikant.patil [EMAIL PROTECTED] wrote:

 
 hi,
 ok... may be the problem is not with crossdomain.xml,... can u please post
 the error u r getting ?. and try to post the code so that it may helpful
 to
 find out the bug.
 
 thank u
 shrikant
 
 
 Dave Glasser-2 wrote:
  
  That didn't work either. As I mentioned, the crossdomain.xml file isn't
  even
  being requested by the Flash player.
  
  
  --- shrikant.patil [EMAIL PROTECTED] wrote:
  
  
  hi try to put the below crossdomain.xml u r missing something
 there;
  
  ?xml version=1.0?
  !DOCTYPE cross-domain-policy SYSTEM
  http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd;
  cross-domain-policy
  allow-access-from domain=* secure=false/
  /cross-domain-policy
  
  
  
  As per mine knowladge.. u need to put secure tag as false, so that
 i
  will allow it to access any of secure issues.
  
  hope this may solve; cheers
  -- 
  View this message in context:
 
 

http://www.nabble.com/SWF-is-not-a-loadable-module---crossdomain.xml-woes-tp15198022p15199689.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
  
  
  
  
  
  
  
 
 -- 
 View this message in context:

http://www.nabble.com/SWF-is-not-a-loadable-module---crossdomain.xml-woes-tp15198022p15204432.html
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 





Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
Believe me, I tried every possible thing I could think of before I posted to
this list. The logs on the server indicate that the module is in fact being
served, and it all works when the original SWF file is loaded from the
server, in the browser, instead of the local disk with the standalone Flash
player.


--- shrikant.patil [EMAIL PROTECTED] wrote:

 
 hi,
 
 check for the value (should b string) of variable _url (try to put
 breakpoint in degugger, and check with variables panel, u wil get what
 actually the variable hold the value)...
 
 i think here the problem is with the variable _url... so please test
 it
 and let me know the value of _url variable at runtime...
 
 or
 
 test with the static name like 
 
 
 Dave Glasser-2 wrote:
  
  The code looks like:
  var moduleInfo:IModuleInfo = ModuleManager.getModule(your module
  name.swf);
  moduleInfo.addEventListener(ModuleEvent.READY, onModuleLoaded);
  moduleInfo.addEventListener(ModuleEvent.ERROR, onModuleError);
  moduleInfo.load();
  
  check with the above , let me know
  regards
  shrikant
  
  var moduleInfo:IModuleInfo = ModuleManager.getModule(_url);
  moduleInfo.addEventListener(ModuleEvent.READY, onModuleLoaded);
  moduleInfo.addEventListener(ModuleEvent.ERROR, onModuleError);
  moduleInfo.load();
  
  And the onModuleError event handler gets called. The ModuleEvent's
  errorText
  property is SWF is not a loadable module. 
  
  
  --- shrikant.patil [EMAIL PROTECTED] wrote:
  
  
  hi,
  ok... may be the problem is not with crossdomain.xml,... can u please
  post
  the error u r getting ?. and try to post the code so that it may
 helpful
  to
  find out the bug.
  
  thank u
  shrikant
  
  
  Dave Glasser-2 wrote:
   
   That didn't work either. As I mentioned, the crossdomain.xml file
 isn't
   even
   being requested by the Flash player.
   
   
   --- shrikant.patil [EMAIL PROTECTED] wrote:
   
   
   hi try to put the below crossdomain.xml u r missing something
  there;
   
   ?xml version=1.0?
   !DOCTYPE cross-domain-policy SYSTEM
   http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd;
   cross-domain-policy
   allow-access-from domain=* secure=false/
   /cross-domain-policy
   
   
   
   As per mine knowladge.. u need to put secure tag as false, so
 that
  i
   will allow it to access any of secure issues.
   
   hope this may solve; cheers
   -- 
   View this message in context:
  
  
 
 

http://www.nabble.com/SWF-is-not-a-loadable-module---crossdomain.xml-woes-tp15198022p15199689.html
   Sent from the FlexCoders mailing list archive at Nabble.com.
   
   
   
   
   
   
   
  
  -- 
  View this message in context:
 
 

http://www.nabble.com/SWF-is-not-a-loadable-module---crossdomain.xml-woes-tp15198022p15204432.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
  
  
  
  
  
  
  
 
 -- 
 View this message in context:

http://www.nabble.com/SWF-is-not-a-loadable-module---crossdomain.xml-woes-tp15198022p15205254.html
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 





Re: [flexcoders] SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
Thanks, shrikant. I already tried all of the various Security.allowDomain
calls, in both the accessing and the accessed module, and it still doesn't
work. I believe Alex Harui's answer is correct, that it's just not possible
for a local SWF in the standalone Flash player to load a remote SWF module
(not a simple movie, but which extends mx.modules.ModuleBase). I would like
to be able to confirm that through documentation. That's why I asked him for
a reference. 


--- shrikant.patil [EMAIL PROTECTED] wrote:

 
 hi,
 cool
 here i m sendung u a link of flex documentation : 
 http://livedocs.adobe.com/labs/flex3/html/help.html?content=modular_5.html
 
 on this page there is a topic titled with : 
 Loading modules from different servers 
 
 check the security, and methods which need to take at initial stage
 loading
 a module.
 hope it may help
 regards
 shrikant
 -- 
 View this message in context:

http://www.nabble.com/SWF-is-not-a-loadable-module---crossdomain.xml-woes-tp15198022p15205661.html
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 





Re: [flexcoders] Re: SWF is not a loadable module / crossdomain.xml woes

2008-01-31 Thread Dave Glasser
Mine works when both SWFs are local, or both are from the server. For local,
however, your main application will have to be in a trusted directory, or
the file itself will need to be trusted, via the Global Security Settings
app:

http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

Have you done that?

Also, I'm using ModuleBase as the base class for my module (it's a
non-DisplayObject class) instead of Module, and everything is done through
ActionScript rather than MXML, and I don't know what the implications of
that are.

--- innovativecode [EMAIL PROTECTED] wrote:

 Dave, have you solved this yet?  I'm having the exact same problem 
 and error message.  My thread is: 
 http://tech.groups.yahoo.com/group/flexcoders/message/100770
 
 One thing to ensure is that the module you are loading is compiled 
 with a root tag of mx:Module and not mx:Application or something 
 else.  I found that you get the SWF is not loadable 
 module theoretically when the loaded SWF does not expose one of 
 the IFlexModule interfaces, I think it's IFlexFactoryBlah... or 
 something like that.  However, I know my module is a true mx:Module 
 rooted SWF and it still won't load when BOTH of the SWFs are local.
 
 And like me, you're probably doing it correctly and are in fact 
 trying to load a true module swf.  And, like you, I can verify that 
 the module.swf is in fact being downloaded by the Flash player.  
 However, when Flex tries to load the module, it fails.
 
 I've seen some posts spread around the net about the ModuleLoader 
 being GC'd *before* the call to access the IFlexFactoryModule(?) 
 interface on your module and thus even though the module was 
 downloaded, the moduleLoader is gone by the time you try to actually 
 communicate with the module.  Why this is, I'm not clear 
 yet.  And, I'm not entirely sure this is the cause of our problem.
 
 But, I've been banging my head on the wall for a few days trying 
 every possible solution too to get it to load my module (WITH BOTH 
 SWFS BEING LOCAL Alex): tweaking the 
 applicationDomain property before it's loaded, etc etc.
 
 The thing is, we're both initially attempting (and fully expect) to 
 be able to load BOTH the host and the module SWF from the LOCAL 
 machine.  This would be logical since that's where we fcking develop 
 our code.  So, it's very odd to me that you can't build your project 
 and load both the host and the module from the local filesystem.  If 
 there's an extra deployment step in there that we need to be 
 following in order to build and debug our apps, I certainly have not 
 found it in the Flex docs yet  
 
 Anyway, please let me know if you come up with the solution.  I'll 
 definitely do the same...
 
 Thanks,
 Chris
 
 
 --- In flexcoders@yahoogroups.com, Dave Glasser [EMAIL PROTECTED] wrote:
 
  I'm running a Flex app in my local Flash player (not in a browser) 
 from my
  local disk, and I'm trying to load a module from a Tomcat server 
 running on
  localhost. My Flex app is trusted and is already communicating with 
 that
  server for other things, but when I try to load the module, I get 
 the error
  described by Alex Harui in this blog post:
  
  
 http://blogs.adobe.com/aharui/2007/03/swf_is_not_a_loadable_module.htm
 l
  
  I've put the following crossdomain.xml file in the root document 
 directory
  of the Tomcat server:
  
  ?xml version=1.0?
  !DOCTYPE cross-domain-policy SYSTEM
  http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd;
  cross-domain-policy
 allow-access-from domain=* /
  /cross-domain-policy
  
  
  and I still get the error. I can load the crossdomain.xml file in a 
 browser
  with the URL http://localhost/crossdomain.xml. The weird thing is 
 that the
  Tomcat access logs do not indicate that the Flash player running my 
 Flex app
  is requesting that crossdomain.xml file at all. Does anyone have 
 any idea
  what I'm doing wrong?
 
 
 
 





[flexcoders] Positioning error tips when using Validators

2008-04-06 Thread Dave Glasser
I have some TextInputs along the right side of the stage, and the error tips 
popped up by the Validators are clipped off the right side. Is there any way to 
make them appear to the left of the TextInputs?




[flexcoders] Is String to Number conversion locale-specific?

2008-05-30 Thread Dave Glasser
I'd like to know what effect a computer's locale might have on String to Number 
conversion in AS3. Specifically, in locales that use a comma as a decimal 
separator rather than a period, do the various conversion methods (Number() 
function, parseNumber(), Number() class constructor) treat the comma as a 
decimal separator? None of the documentation I've read addresses this issue, 
and all of the examples use periods as the decimal separator. I suspect that 
periods in strings will always be treated as decimal separators (and that's the 
behavior I want) but I'd like to know for sure.

PS, sorry that this is not a Flex-specific question, but I posted it to the AS3 
forum on Adobe.com yesterday, and it doesn't look like it's going to get a 
response.




RE: [flexcoders] Is String to Number conversion locale-specific?

2008-05-30 Thread Dave Glasser
Thanks, I was hoping that was the case!

Gordon Smith [EMAIL PROTECTED] wrote:   
  I asked the Flash Player team, and one of the engineers told me that a period 
is always interpreted as a decimal point, regardless of the OS locale.
   
  Gordon Smith
  Adobe Flex SDK Team
   
  
-
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Glasser
 Sent: Friday, May 30, 2008 7:19 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Is String to Number conversion locale-specific?
  
   
I'd like to know what effect a computer's locale might have on String 
to Number conversion in AS3. Specifically, in locales that use a comma as a 
decimal separator rather than a period, do the various conversion methods 
(Number() function, parseNumber(), Number() class constructor) treat the comma 
as a decimal separator? None of the documentation I've read addresses this 
issue, and all of the examples use periods as the decimal separator. I suspect 
that periods in strings will always be treated as decimal separators (and 
that's the behavior I want) but I'd like to know for sure.
 
 PS, sorry that this is not a Flex-specific question, but I posted it to the 
AS3 forum on Adobe.com yesterday, and it doesn't look like it's going to get a 
response.
 
 
  
  

 


 
   




[flexcoders] Ruminations on the LayoutManager

2008-06-13 Thread Dave Glasser
I have some custom components that at the end of their lifecycle are removed 
from the display list and destruct themselves. By destruct themselves, I 
mean that they set various internal references to null.

Anyway, this has caused problems when a component has been queued for layout by 
the LayoutManager when it's removed from the display list and destructed, and 
by the time its updateDisplayList() method is called, a lot of stuff it expects 
to be there is not. I've found various workarounds for this, so it's not really 
a problem, but it got me to thinking about the implications.

There currently seems to be no way to cancel validation of a component by the 
LayoutManager once it's been queued through one of its invalidateXXX methods. 
And the LayoutManager doesn't seem to care whether or not a component is on the 
display list when it's ready to call the appropriate validateXXX method. This 
is somewhat understandable, because there might be instances when you'd want to 
layout a component that's not currently on the display list, but I think the 
common case would be that you wouldn't. In applications where lots of 
components have their updateDisplayList method called after they're taken off 
the display list and discarded, the best case is that a lot of cycles will be 
wasted while the methods execute correctly, and in the worst case they'll throw 
errors that always seem to hose up the entire application.

I think the UIComponent class needs to include a way to prevent all future 
validations by the LayoutManager, either by setting a flag that the 
LayoutManager would check, or removing it from the LayoutManager altogether. I 
don't really have a specific question, but I'd be interested in a response from 
any Flex engineers who might have an opinion on this. Is there something I'm 
missing, or misunderstanding?



[flexcoders] RadioButtons appear as normal buttons -- WTF?

2008-07-01 Thread Dave Glasser
This is driving me nuts. I'm using two RadioButtons in a RadioButtonGroup, and 
they appear as two normal buttons. There is no CSS styling in effect. I'm not 
setting any properties other than label, group and labelPlacement and selected. 
Does anyone know what is going on here?


[flexcoders] HTML Formatting lost in TextArea

2009-05-15 Thread Dave Glasser

I'm encountering a strange problem which I can't reliably replicate. I have a 
TextArea. During its lifetime, I set the htmlText property one time with a 
string of HTML that includes an IMG tag. The text property never gets set.

Sometimes, when the TextArea is first displayed, I'll see that all of its HTML 
is formatted properly for a few seconds, with various fonts, font styles, 
sizes, colors, etc., and then suddenly it will re-render itself and all of the 
text will be in a single font, size, color and style. Things like paragraph 
breaks and bulleted lists are preserved, however.

The only styles that are getting set on this TextArea are paddingLeft and 
paddingRight. Although I have an embedded font in the application, it's not 
being set in any stylesheets, only through explicit setStyle calls, and only 
where text needs to be rotated. So I don't think that has anything to do with 
the issue.

I'm using Flex 3.1, whatever version that was current on 8/25/2008. As I 
mentioned, this can't be reliably replicated. Sometimes it works correctly when 
following the same path through the application, and sometimes it doesn't.

Does anyone have any ideas on what might be causing this? 




Re: [flexcoders] HTML Formatting lost in TextArea

2009-05-19 Thread Dave Glasser

**bump**

I'm encountering a strange problem which I can't reliably replicate. I have a 
TextArea. During its lifetime, I set the htmlText property one time with a 
string of HTML that includes an IMG tag. The text property never gets set.

Sometimes, when the TextArea is first displayed, I'll see that all of its HTML 
is formatted properly for a few seconds, with various fonts, font styles, 
sizes, colors, etc., and then suddenly it will re-render itself and all of the 
text will be in a single font, size, color and style. Things like paragraph 
breaks and bulleted lists are preserved, however.

The only styles that are getting set on this TextArea are paddingLeft and 
paddingRight. Although I have an embedded font in the application, it's not 
being set in any stylesheets, only through explicit setStyle calls, and only 
where text needs to be rotated. So I don't think that has anything to do with 
the issue.

I'm using Flex 3.1, whatever version that was current on 8/25/2008. As I 
mentioned, this can't be reliably replicated. Sometimes it works correctly when 
following the same path through the application, and sometimes it doesn't.

Does anyone have any ideas on what might be causing this? 



Re: [flexcoders] HTML Formatting lost in TextArea

2009-06-01 Thread Dave Glasser
I'm encountering a strange problem which I can't reliably replicate. I have a 
TextArea. During its lifetime, I set the htmlText property one time with a 
string of HTML that includes an IMG tag. The text property never gets set.



Sometimes, when the TextArea is first displayed, I'll see that all of its HTML 
is formatted properly for a few seconds, with various fonts, font styles, 
sizes, colors, etc., and then suddenly it will re-render itself and all of the 
text will be in a single font, size, color and style. Things like paragraph 
breaks and bulleted lists are preserved, however.



The only styles that are getting set on this TextArea are paddingLeft and 
paddingRight. Although I have an embedded font in the application, it's not 
being set in any stylesheets, only through explicit setStyle calls, and only 
where text needs to be rotated. So I don't think that has anything to do with 
the issue.



I'm using Flex 3.1, whatever version that was current on 8/25/2008. As I 
mentioned, this can't be reliably replicated. Sometimes it works correctly when 
following the same path through the application, and sometimes it doesn't.



Does anyone have any ideas on what might be causing this? 




 

  


__._,_.
 
















[flexcoders] fontFamily style: inconsistency between ASDocs and developers guide.

2009-07-22 Thread Dave Glasser

In every ASDoc description of the fontFamily style that I've read, it says, 
Unlike in a full CSS implementation, comma-separated lists are not supported. 
But in the Adobe Flex 3 Developer Guide, on the first page of chapter 19 (Using 
Fonts), it says, This property can take a list of fonts, as the following 
example shows:

... 

fontFamily: Arial, Helvetica;

...

Am I misunderstanding something, or are these to statements entirely 
contradictory, and if so, which one is correct? Are comma-delimited lists only 
supported in external stylesheets, and not by the setStyle() method?

Also, on page 667 (Using device fonts), it shows this example:

mx:Style
.myClass {
fontFamily: Arial, Helvetica, _sans;

and goes on to say You must surround device font names with quotation marks 
when defining them with style declarations. How would you do it with the 
setStyle() method.?


[flexcoders] *** So you think you know ActionScript? (Read original post first) ***

2009-08-12 Thread Dave Glasser
Consider this code snippet:

var xml:XML = outerinnernull/inner/outer;
var xmlList:XMLList = xml.inner;
trace(xmlList == null);

What does the trace statement output, true or false, and why?

Please provide an answer without running the code (of course) and, better yet, 
without consulting any documentation, or any of the other answers that may have 
been posted already (if you read the list in chronological order.) Pretend it's 
a job interview question and you have to give it your best shot off the top of 
your head.

And also, if you don't mind, don't top-post your answer, so that if someone 
does read your answer before the original post, they might get a chance to 
answer without having seen yours first.




[flexcoders] *** UPDATED: So you think you know ActionScript? (Read original post first) ***

2009-08-12 Thread Dave Glasser
Just so there's no confusion, the XML literal in the code snippet below should 
contain no whitespace at all. It seems that when I posted originally in HTML, 
there was a space added on either side of the string null by the mail client, 
but they shouldn't be there.

--- On Wed, 8/12/09, Dave Glasser dglas...@pobox.com wrote:

From: Dave Glasser dglas...@pobox.com
Subject: [flexcoders] *** So you think you know ActionScript? (Read original 
post first) ***
To: flexcoders@yahoogroups.com
Date: Wednesday, August 12, 2009, 8:44 PM






 





  Consider this code snippet:



var xml:XML = outerinner null/inner /outer;

var xmlList:XMLList = xml.inner;

trace(xmlList == null);



What does the trace statement output, true or false, and why?



Please provide an answer without running the code (of course) and, better yet, 
without consulting any documentation, or any of the other answers that may have 
been posted already (if you read the list in chronological order.) Pretend it's 
a job interview question and you have to give it your best shot off the top of 
your head.



And also, if you don't mind, don't top-post your answer, so that if someone 
does read your answer before the original post, they might get a chance to 
answer without having seen yours first.




 

  




 
















Re: [flexcoders] *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Dave Glasser
Neither. It's for amusement only, for anyone who wants to take a crack at it. 
And the cloak and dagger response stuff, is, as I explained, so those who 
would like to take a crack at it can do so without being influenced by others' 
answers.

--- On Thu, 8/13/09, Jeffry Houser j...@dot-com-it.com wrote:

From: Jeffry Houser j...@dot-com-it.com
Subject: Re: [flexcoders] *** So you think you know ActionScript? (Read 
original post first) ***
To: flexcoders@yahoogroups.com
Date: Thursday, August 13, 2009, 7:50 AM






 





  





Why all the cloak and dagger response stuff?  Did you get asked this on
an interview?  Or are you testing responses to a question you want to
ask while interviewing?   



Dave Glasser wrote:
 

  
  Consider this code snippet:

  

var xml:XML = outerinner null/inner /outer;

var xmlList:XMLList = xml.inner;

trace(xmlList == null);

  

What does the trace statement output, true or false, and why?

  

Please provide an answer without running the code (of course) and,
better yet, without consulting any documentation, or any of the other
answers that may have been posted already (if you read the list in
chronological order.) Pretend it's a job interview question and you
have to give it your best shot off the top of your head.

  

And also, if you don't mind, don't top-post your answer, so that if
someone does read your answer before the original post, they might get
a chance to answer without having seen yours first.

  

  
  
 


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



 

  




 
















RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Dave Glasser
Actually, no. It would interpret it as null if it were enclosed in curly braces 
like this:



var xml:XML = outerinner{null}/inner/outer;



And even then, null might be converted to its String value, null, as
the content of the element. I'd have to try it to know for sure.



In the example I gave, the content of the element is a String consisting of the 
letters n, u, l and l, in that order.

In any case, the xmlList variable would reference a non-null XMLList object. 
That's easily proven by dereferencing it:

trace(The length is  + xmlList.length());

That would output The length is 1.

--- On Thu, 8/13/09, Tracy Spratt tr...@nts3rd.com wrote:

From: Tracy Spratt tr...@nts3rd.com
Subject: RE: [flexcoders] Re: *** So you think you know ActionScript? (Read 
original post first) ***
To: flexcoders@yahoogroups.com
Date: Thursday, August 13, 2009, 3:49 PM






 





  







Ah, I see something I missed at
first.  This example is using “literal” xml, so the null IS
getting interpreted by AS as null and not as a string.  I bet it would be
different if you did: 

var xml:XML = XML(“outerinner null/inner /outer”); 

   

Even so I am still surprised because the
null should be the text node and the expression should return an XMLList with
zero length.  Very interesting. 

   



Tracy Spratt, 

Lariat Services, development services
available 











From:
flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of 
jaywood58

Sent: Thursday, August 13, 2009
12:48 PM

To: flexcod...@yahoogro ups.com

Subject: [flexcoders] Re: *** So
you think you know ActionScript? (Read original post first) *** 



   

   









--- In flexcod...@yahoogro ups.com,
Tracy Spratt  tracy @...
wrote:



 _ 

 

 From: flexcod...@yahoogro ups.com
[mailto:flexcod...@yahoogro ups.com]
On

 Behalf Of Paul Andrews

 Sent: Wednesday, August 12, 2009 9:33 PM

 To: flexcod...@yahoogro ups.com

 Subject: Re: [flexcoders] *** So you think you know ActionScript? (Read

 original post first) ***

 

 

 

 

 

 Dave Glasser wrote:

  Consider this code snippet:

 

  var xml:XML = outerinner null/inner /outer;

  var xmlList:XMLList = xml.inner;

  trace(xmlList == null);

 

  What does the trace statement output, true or false, and why?

 

  Please provide an answer without running the code (of course) and,
better

 yet, without consulting any documentation, or any of the other answers
that

 may have been posted already (if you read the list in chronological
order.)

 Pretend it's a job interview question and you have to give it your best
shot

 off the top of your head.

 

  And also, if you don't mind, don't top-post your answer, so that if

 someone does read your answer before the original post, they might get a

 chance to answer without having seen yours first.

  

 

 xmlList is set to point at somthing which isn't a list, so I think the 

 trace statement will not be reached. That's my 02:31AM thought..

 

 

 

 All e4x expressions return an XMLList. It can be empty but is never a
null.

 Besides, the characters. null in a text node are just a
string. null in

 an AS comparison is a special value. The trace will display false.

 Trace(xmllist. text() ==null ); //would return true.

 

 

 

 Tracy Spratt,

 

 Lariat Services, development services available





Like Tracy , I
thought it would return false, for the same reason -- that innernull /inner
would be interpreted as a string. Was surprised when I ran the code and saw
true. What's going on? It seems like the AS decoder recognizes null
as a special case.  










 

  




 
















RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Dave Glasser

--- On Thu, 8/13/09, Tracy Spratt tr...@nts3rd.com wrote:


Ok, if you say so.  What is the
result of your investigation? 


I just checked, and it does indeed convert null to null. So it's effectively 
the same with or without the curly braces. The element contains a String 4 
characters long.


It gets kind of complicated because AS does
implicit toString() sometimes which can hide what is really happening. 

Do: 

trace(xmlList == null); 

and 

trace(xmlList == “null”); 

return the same result? 

Surprisingly, the second one doesn't compile. It failed with the error:

Error: Comparison between a value with static type XMLList and a possibly 
unrelated type String.

But if it did compile, I would expect it to produce the same result. And just 
to make sure, I was able to compile and run this:

...
var s:* = null
trace(xmlList == s);

and the output was the same as when comparing xmlList to null.



  



RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Dave Glasser
By my reading, everything seems to be working how it's supposed to work. But 
how it's supposed to work is very surprising to me. And it's not really E4X 
that's producing the odd behavior, it's the == operator. I'll go ahead and post 
the answer and explanation in my next message.

--- On Thu, 8/13/09, Gordon Smith gosm...@adobe.com wrote:

From: Gordon Smith gosm...@adobe.com
Subject: RE: [flexcoders] Re: *** So you think you know ActionScript? (Read 
original post first) ***
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date: Thursday, August 13, 2009, 6:54 PM













 
 
















Does anybody want to try to figure out what the E4X spec says it
should do? It's certainly possible that the Player implementation of E4X is
doing it wrong. 

   

Gordon Smith 

Adobe Flex SDK Team 

   





From:
flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of 
Tracy
Spratt

Sent: Thursday, August 13, 2009 3:10 PM

To: flexcoders@yahoogroups.com

Subject: RE: [flexcoders] Re: *** So you think you know ActionScript?
(Read original post first) *** 





   

   









Ok, if you
say so.  What is the result of your investigation? 

  

It gets
kind of complicated because AS does implicit toString() sometimes which can
hide what is really happening. 

Do: 

trace(xmlList
== null); 

and 

trace(xmlList
== “null”); 

return
the same result? 

  



Tracy
Spratt, 

Lariat
Services, development services available 











From: flexcoders@yahoogroups.com
[mailto:flexcod...@yahoogroups.com] On Behalf Of Dave Glasser

Sent: Thursday, August 13, 2009 5:22 PM

To: flexcoders@yahoogroups.com

Subject: RE: [flexcoders] Re: *** So you think you know ActionScript?
(Read original post first) *** 



  

 
 








 
  
  Actually,
  no. It would interpret it as null if it were enclosed in curly braces like
  this:

  

  var xml:XML = outerinner{null}/inner/outer;

  

  And even then, null might be converted to its String value, null,
  as the content of the element. I'd have to try it to know for sure.

  

  In the example I gave, the content of the element is a String consisting of
  the letters n, u, l and l, in
  that order.

  

  In any case, the xmlList variable would reference a non-null XMLList object.
  That's easily proven by dereferencing it:

  

  trace(The length is  + xmlList.length());

  

  That would output The length is 1.

  

  --- On Thu, 8/13/09, Tracy Spratt tr...@nts3rd.com
  wrote: 
  

  From: Tracy Spratt tr...@nts3rd.com

  Subject: RE: [flexcoders] Re: *** So you think you know ActionScript? (Read
  original post first) ***

  To: flexcoders@yahoogroups.com

  Date: Thursday, August 13, 2009, 3:49 PM 
  
   
   
  
  
  Ah, I
  see something I missed at first.  This example is using “literal” xml,
  so the null IS getting interpreted by AS as null and not as a string.  I
  bet it would be different if you did: 
  var
  xml:XML = XML(“outerinner null/inner /outer”); 
    
  Even so
  I am still surprised because the null should be the text node and the
  expression should return an XMLList with zero length.  Very interesting. 
    
  
  Tracy
  Spratt, 
  Lariat
  Services, development services available 
  
  
  
  
  
  From:
  flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On
  Behalf Of jaywood58

  Sent: Thursday, August 13, 2009 12:48 PM

  To: flexcod...@yahoogro ups.com

  Subject: [flexcoders] Re: *** So you think you know ActionScript?
  (Read original post first) *** 
  
    
   
   
  
  
  
  --- In flexcod...@yahoogro ups.com, Tracy Spratt
   tracy @... wrote:

  

   _ 

   

   From: flexcod...@yahoogro ups.com [mailto:flexcod...@yahoogro
  ups.com] On

   Behalf Of Paul Andrews

   Sent: Wednesday, August 12, 2009 9:33 PM

   To: flexcod...@yahoogro
  ups.com

   Subject: Re: [flexcoders] *** So you think you know ActionScript? (Read

   original post first) ***

   

   

   

   

   

   Dave Glasser wrote:

Consider this code snippet:

   

var xml:XML = outerinner null/inner
  /outer;

var xmlList:XMLList = xml.inner;

trace(xmlList == null);

   

What does the trace statement output, true or false, and why?

   

Please provide an answer without running the code (of course) and,
  better

   yet, without consulting any documentation, or any of the other answers
  that

   may have been posted already (if you read the list in chronological
  order.)

   Pretend it's a job interview question and you have to give it your best
  shot

   off the top of your head.

   

And also, if you don't mind, don't top-post your answer, so that if

   someone does read your answer before the original post, they might get a

   chance to answer without having seen yours first.



   

   xmlList is set to point at somthing which isn't a list, so I think the 

   trace statement will not be reached. That's my 02:31AM thought..

   

   

   

   All e4x expressions return

[flexcoders] *** So you think you know ActionScript? (THE ANSWER) ***

2009-08-13 Thread Dave Glasser
Consider this code snippet:

var xml:XML = outerinnernull/inner/outer;
var xmlList:XMLList = xml.inner;
trace(xmlList == null);

What does the trace statement output, true or false, and why?

Well, first, let's stipulate that the innner element in the XML object 
contains the String null. It's not an empty element, for those who might 
think that null is interpreted as a literal null.

Second, the expression xml.inner returns a non-null XMLList object, which is 
assigned to the variable xmlList. If you were to dereference the xmlList 
variable, say by calling its length() method, it would assuredly not throw a 
#1009 null reference error, but rather it would return 1, which is the number 
of child elements of outer that have the name inner. So the inner element 
is the only member of xmlList.

So now you have reference to a non-null XMLList of length 1. It seems obvious 
that comparing that reference to null with the equality operator (==) should 
evaluate to false, right?

Well, it doesn't. The expression:

xmlList == null

evaluates to true, and that is what the trace statement outputs in the original 
example.

After spending about 4 hours looking in all the wrong places for a bug that was 
actually caused by this odd little quirk, once I found out what was really 
causing the problem, I thought for sure that it had to be a bug in the 
ActionScript or E4X implementation. After all, it can't be right that a 
non-null object reference is considered equivalent to null, right?

Wrong again. If you read the ASDoc for the equality operator, that's what it's 
supposed to do. In the Flex 3.2 Language Reference, the section on the equality 
operator says:

If the data types of the operands do not match, the result is false except in 
the following circumstances: 
  ...
One operand is of type XMLList, and either of the following conditions is true: 
 * The length property of the XMLList object is 0, and the other object is 
undefined.
 * The length property of the XMLList object is 1, and one element of the 
XMLList object matches the other operand.

In our case, the length property (poor choice of words, since .length would 
return another XMLList) is 1, so the result will be based on a comparison 
between the one element of the XMLList, which is an XML object, and the other 
operand, which is null.

So what does the equality operator doc say about XML objects to non-XML 
operands? It says the result is false unless one operand is of type XML with 
simple content (hasSimpleContent() == true), and after both operands are 
converted to strings with the toString() method, the resulting strings match.

So here, we do in fact have an XML object, the inner node, with simple 
content, i.e. the String null. And when you convert that XML object to a 
string with the toString() method, you will simply have the string null. And 
when you convert the OTHER OPERAND, which is null, to a string, you will also 
have null, and therefore the equality operation will return true.

So there you have it. It's working the way it was designed to work. A null is 
converted to the string null for the purpose of an equality comparison. 
Personally, I think it was a poorly thought-out design decision, but hey, what 
do I know? Maybe they had their reasons. I think the language designers should 
have made a separate rule or two to cover cases when one operand is null or 
undefined and the other is not.

And as a side note, if the strict equality operator (===) is used, then the 
expression:

xmlList === null

evaluates to false, as you would expect.




[flexcoders] Can't select null item in ComboBox

2009-12-15 Thread Dave Glasser
I have some code that was originally written under Flex 2, where a ComboBox's 
data provider is an array of objects, with the first element set to null. When 
this code is built under Flex 2, I can select the first item in the combo's 
dropdown list, and selectedItem returns null, which is what I expect and want. 
When the code is built under Flex 3, I can't select the null item. It's shown 
in the list, but mousing over it doesn't highlight it, and clicking it doesn't 
close the dropdown.

Is this a bug, or a new feature in Flex 3?


RE: [flexcoders] Can't select null item in ComboBox

2009-12-15 Thread Dave Glasser
The label's not the problem, it's selecting the item when it's null. I found 
that it works if I replace null with an empty string in the dataProvider, and 
guard against type errors in the code that reads selectedItem.

--- On Tue, 12/15/09, Tracy Spratt tr...@nts3rd.com wrote:

From: Tracy Spratt tr...@nts3rd.com
Subject: RE: [SPAM] [flexcoders] Can't select null item in ComboBox
To: flexcoders@yahoogroups.com
Date: Tuesday, December 15, 2009, 10:24 AM













 
 
















I do not know why the change, but for a
fix, you could use a labelFunction to return an empty string if the item is
null. 

   



Tracy Spratt, 

Lariat Services, development services
available 











From:
flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of 
Dave Glasser

Sent: Tuesday, December 15, 2009
9:47 AM

To: flexcoders@yahoogroups.com

Subject: [SPAM] [flexcoders] Can't
select null item in ComboBox 



   

   







I have
some code that was originally written under Flex 2, where a ComboBox's data
provider is an array of objects, with the first element set to null. When this
code is built under Flex 2, I can select the first item in the combo's dropdown
list, and selectedItem returns null, which is what I expect and want. When the
code is built under Flex 3, I can't select the null item. It's shown in the
list, but mousing over it doesn't highlight it, and clicking it doesn't close
the dropdown.



Is this a bug, or a new feature in Flex 3? 





 
























 




[flexcoders] RadioButton as DataGrid item editor

2010-06-23 Thread Dave Glasser
It seems like it should be simple, but it's a nightmare.

I'm using Flex 3.3.

The items in my dataProvider have a Boolean property. I want only 1 item to 
have this property set to true, and all others set to false. So I use a 
RadioButton as the renderer and editor. Although the items initially only have 
1 with the property set to true, all of the radio buttons initially appear as 
false. When I select one, the currently selected one deselects, as you would 
expect, but the setter on my item is never called.

When I use a CheckBox instead of a RadioButton, it works as expected, without 
the exclusivity. I would be happy if I could get the RadioButton to behave like 
a checkbox, and implement the exclusivity myself, but that's been an exercise 
in futility.

Is what I'm trying to do possible? Am I missing something?


Re: [flexcoders] Re: RadioButton as DataGrid item editor

2010-06-24 Thread Dave Glasser
--- On Thu, 6/24/10, Amy amyblankens...@bellsouth.net wrote:

 
 What logic are you using to transfer the value of the
 RadioButtonGroup to the appropriate properties?

None, actually. I would expect the DataGrid to handle that, since it is 
creating the RadioButtonGroup and my code would not have easy access to it. 
Plus, I would expect that behavior to be part of the IListItemRenderer 
contract, which RadioButton implements.

If you know a way to make it work, I would be very grateful if would share it.


Re: [flexcoders] Re: RadioButton as DataGrid item editor

2010-06-25 Thread Dave Glasser
--- On Fri, 6/25/10, Amy amyblankens...@bellsouth.net wrote:


 What is your itemRenderer code?


I'm just using the RadioButton, out of the box. I'm setting the itemRenderer 
property on the DataGridColumn to 
new ClassFactory(RadioButton).




Re: [flexcoders] Re: RadioButton as DataGrid item editor

2010-06-26 Thread Dave Glasser
Thanks!

--- On Sat, 6/26/10, Amy amyblankens...@bellsouth.net wrote:

 From: Amy amyblankens...@bellsouth.net
 Subject: [flexcoders] Re: RadioButton as DataGrid item editor
 To: flexcoders@yahoogroups.com
 Date: Saturday, June 26, 2010, 9:25 AM
 
 
 --- In flexcoders@yahoogroups.com,
 Dave Glasser dglas...@... wrote:
 
  --- On Fri, 6/25/10, Amy amyblankens...@...
 wrote:
  
  
   What is your itemRenderer code?
  
  
  I'm just using the RadioButton, out of the box. I'm
 setting the itemRenderer property on the DataGridColumn to 
  new ClassFactory(RadioButton).
 
 
 I think the radio buttons all need to be in the same place
 to act as a RadioButtonGroup, so you need to create an
 itemRenderer that makes a RadioButtonGroup with your three
 values, then reacts to the change to set the appropriate
 value to true and the other values to false.
 
 HTH;
 
 Amy
 
 


Re: [flexcoders] Re: DataGrid decides not to render on some occasions

2010-07-05 Thread Dave Glasser
FTR, here's the top of the stacktrace:

ReferenceError: Error #1069: Property prepareForRemoval not found on Type2_v1 
and there is no default value.
    at 
controller_v4/swfAppComplete()[/Users/stevelux/Sites/builder5_FLEX4_3.5sdk/src/controller_v4.mxml:729]
    at flash.events::EventDispatcher/dispatchEventFunction()

--- On Mon, 7/5/10, Tom Chiverton tom.chiver...@halliwells.com wrote:

From: Tom Chiverton tom.chiver...@halliwells.com
Subject: Re: [flexcoders] Re: DataGrid decides not to render on some occasions
To: flexcoders@yahoogroups.com
Date: Monday, July 5, 2010, 10:38 AM










 












On Wednesday 30 Jun 2010 18:44:32 you wrote:

 http://iddev.its.txstate.edu/library/dragDropToolBETA/controller.html 



I click the 2nd 'new' activity down, and immediately got an exception. Are you 

testing on these platforms using the debug player ?



-- 

Tom Chiverton

Helping to advantageously network appliances as part of the IT team of the 

year 2010, '09 and '08



 

  

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

  

  Halliwells LLP is a limited liability partnership registered 
in England and Wales under registered number OC307980 whose registered office 
address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 
3EB. A list of members is available for inspection at the registered office 
together with a list of those non members who are referred to as partners. We 
use the word ?partner? to refer to a member of the LLP, or an employee or 
consultant with equivalent standing and qualifications. Regulated by the 
Solicitors Regulation Authority.

  

  CONFIDENTIALITY

  

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

  

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






















[flexcoders] SWFLoader - handling 401 response

2011-09-27 Thread Dave Glasser
I'm working with a SWFLoader to load images. If it tries to load an image from 
a URL that requires authorization, IE pops up a login dialog. This is 
particularly annoying when there are many SWFLoaders displayed. I'd like it to 
quietly fail. I'm calling unloadAndStop() when the 401 response code with a 
WWW-Authenticate header is returned, which is what causes the popup, but that 
doesn't work. I'd like to experiment with various request headers, but I can't 
see any way on the SWFLoader that I can add headers to the request, since it 
doesn't accept a URLRequest for the URL. Does anyone have any clue about how I 
might get rid of these popups?


[flexcoders] Embedded SVG scales like bitmap.

2011-10-16 Thread Dave Glasser
I drew a simple irregular polygon in Adobe Illustrator and saved it as an SVG. 
I embedded it in my Flex app as a SpriteAsset.  I then set it as the skin (all 
states) for a button. When I set the button size much larger than the original 
size of the SVG (approx 75X75 pixels), the sides of the polygon show severe 
stair-stepping. Is there anything I can do to make it behave like a scalable 
vector graphic in my application, rather than a lo-res embedded bitmap?


Re: [flexcoders] Embedded SVG scales like bitmap.

2011-10-16 Thread Dave Glasser
Thanks, that did it!

One thing that's a little odd: This compiles:

    [Embed(source=MyIcon.swf)]
    public static const MyIcon:Class;

but this:

    import mx.core.MovieClipLoaderAsset;

    [Embed(source=MyIcon.swf)]
    public class MyIcon extends MovieClipLoaderAsset {
    ...

gives an Unable to transcode MyIcon.swf compiler error.

This is not a big deal, I should be able to work around it, but I wonder why I 
can embed the SVG file in that manner, extending SpriteAsset, but not the SWF. 
The Flex 3 Developer's guide says that when you embed a SWF file the class 
created is a subclass of mx.core.MovieClipLoaderAsset. I called describeType 
with an instancof the the MyIcon class that represented the embedded SWF, and 
it shows that indeed it is a subclass of MovieClipLoaderAsset.






From: Johannes Nel johannes@gmail.com
To: flexcoders@yahoogroups.com
Sent: Sunday, October 16, 2011 2:39 PM
Subject: Re: [flexcoders] Embedded SVG scales like bitmap.


  


export it as a swf


On Sun, Oct 16, 2011 at 6:46 PM, Dave Glasser dglas...@pobox.com wrote:

 
  
I drew a simple irregular polygon in Adobe Illustrator and saved it as an SVG. 
I embedded it in my Flex app as a SpriteAsset.  I then set it as the skin (all 
states) for a button. When I set the button size much larger than the original 
size of the SVG (approx 75X75 pixels), the sides of the polygon show severe 
stair-stepping. Is there anything I can do to make it behave like a scalable 
vector graphic in my application, rather than a lo-res embedded bitmap?



-- 
j:pn 
\\no comment





[flexcoders] srikanth reddy

2011-11-22 Thread Dave Glasser
Would the owner of this list please remove srikanth reddy so we don't have to 
get any more of this spam?




 From: srikanth reddy srikanthli...@yahoo.co.in
To: anjaneyare...@yahoo.com anjaneyare...@yahoo.com; 
bits_vi...@yahoo.co.in bits_vi...@yahoo.co.in; flexcoders@yahoogroups.com 
flexcoders@yahoogroups.com; haribabun...@hotmail.com 
haribabun...@hotmail.com; jagdish...@yahoo.com jagdish...@yahoo.com; 
jagdish_redd...@rediffmail.com jagdish_redd...@rediffmail.com; 
r_kiran_2...@yahoo.com r_kiran_2...@yahoo.com; kishoremmre...@yahoo.com 
kishoremmre...@yahoo.com; manjuki...@yahoo.com manjuki...@yahoo.com; 
narala_ravire...@rediffmail.com narala_ravire...@rediffmail.com; 
raja.datamat...@gmail.com raja.datamat...@gmail.com; 
sridhar.errabe...@cmcltd.com sridhar.errabe...@cmcltd.com; 
srikhar...@yahoo.co.in srikhar...@yahoo.co.in; sujendr...@rediffmail.com 
sujendr...@rediffmail.com; vtc...@rediffmail.com vtc...@rediffmail.com; 
pvams...@yahoo.com pvams...@yahoo.com; vidyavard...@yahoo.com 
vidyavard...@yahoo.com; vikramredd...@yahoo.com
 vikramredd...@yahoo.com; nivas_...@yahoo.com nivas_...@yahoo.com; 
haribvupp...@gmail.com haribvupp...@gmail.com; adarshsha...@hsbc.co.in 
adarshsha...@hsbc.co.in; himan...@gmail.com himan...@gmail.com; 
sibasis@in.hdfcbank.com sibasis@in.hdfcbank.com; 
info...@dsinfotech.in info...@dsinfotech.in; kittuby...@gmail.com 
kittuby...@gmail.com 
Sent: Tuesday, November 22, 2011 2:11 PM
Subject: [flexcoders] Fwd: Im free now...
 

  



Hey there!
it seemed like I was cornered now I can spend my paychecks however I choose I 
know first hand money is power consider giving it a try
http://camlicacicekci.com/profile/78AdamStewart/
see you 




[flexcoders] fx:Object/ won't compile

2011-11-26 Thread Dave Glasser
The code below compiles fine with the Flex 4.5.1 SDK if I remove the line:

fx:Object label=foo/

but with the line in there, I get the error:

Error: Could not resolve fx:Object to a component implementation.

In fact, I can't seem to get the fx:Object tag to work anywhere. Does anyone 
know what I'm doing wrong? Here's the code:

?xml version=1.0 encoding=utf-8?
s:Application 
    xmlns:fx=http://ns.adobe.com/mxml/2009; 
    xmlns:mx=library://ns.adobe.com/flex/mx 
    xmlns:s=library://ns.adobe.com/flex/spark
    fx:Declarations
       fx:Array id=myArray
     fx:Object label=foo/
       /fx:Array
    /fx:Declarations 
/s:Application

Re: [flexcoders] E-Mail from flex.

2011-12-14 Thread Dave Glasser
If you're only sending mail, it's fairly simple with the Javamail API:

http://www.oracle.com/technetwork/java/javamail/index.html

Your flex app would send the parts of the email message to the server and the 
server would construct the message and send it using the Javamail API, and smtp 
or smtps.

Only if you're going to be reading mail in your flex app would you have to 
worry about POP3 or IMAP.




 From: Venkat M venkat_...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Tuesday, December 13, 2011 6:30 PM
Subject: [flexcoders] E-Mail from flex.
 

 



Hi All,
 
I have an application that is developed on Flex and JAVA on the backend. I
need to provide a new email form the flex end. 
I will create a field for to email id/ subject/ body in flex and will pass
it to java backend. Can some help what has to be done at java end?
What email type can be used? Is a valid email/password enough? I was also
asked to evaluate SMTP/POP3/IMAP options also. Can you help?
 
Thanks!
 
Cheers,
Venkat. 
 
 




Re: [flexcoders] You are the product

2011-12-17 Thread Dave Glasser
Can you do something comparable to this with HTML5/JS/CSS?

http://examples2.idashboards.com/idashboards/?guestuser=wputil1dashID=260


If so, do you have any links to examples?


From: Guy Morton g...@alchemy.com.au

Using HTML/JS/CSS you CAN do apps that look every bit as nice as Flash apps, 
and they run everywhere.


Re: [flexcoders] Re: Flex alternatives

2012-01-19 Thread Dave Glasser
I'll use what I've always used. Visual SlickEdit and Apache ant. And from what 
I've heard, FlashDevelop (http://www.flashdevelop.org), which is mature, 
robust, free and open source, is also pretty good.




 From: Ron G rgri...@sinclairoil.com
To: flexcoders@yahoogroups.com 
Sent: Saturday, January 14, 2012 10:37 PM
Subject: [flexcoders] Re: Flex alternatives
 
Whoaaa! Just re-read that, and if there is any one statement in all this thread 
that readers should pay attention to, it is this statement from Alex (quoted 
below).

If FlashBuilder is going to be geared toward gaming in Flash, I wonder which 
IDE Flex developers are planning on using for the future? From Alex statement, 
Adobe is retaining FlashBuilder and its roadmap will be geared toward being 
optimal for gaming development. Clearly then, the Flex community can't even 
modify it beyond 4.6 to accommodate future features of Flex. The Flex community 
is clearly going to have to develop their own IDE in addition to enhancing and 
maintaining the SDK. That is, if I read Alex Harui's statement correctly. Am I 
wrong? Or is Adobe going to both retool FlashBuilder for gaming, but continue 
to enhance it was well for future Flex SDK enhancements. Seems to me that goals 
of Adobe and the Apache Flex community might be at odds in FlashBuilder's 
roadmap.

Flex community now either has to rely upon two proprietary products from Adobe 
to accommodate its own roadmap, or it must rely upon just one (Flashplayer) and 
decouple themselves from FlashBuilder by building their own IDE. 

Ron 

--- In flexcoders@yahoogroups.com, Alex Harui aharui@... wrote:
 FlashBuilder is being directed towards Gaming in Flash, Flex is being donated 
 to the community.  
 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui







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

[flexcoders] ControlBar not visible in Flex 4.6

2012-03-12 Thread Dave Glasser
I have an app originally developed in Flex 3.3, which I'm in the process of 
migrating to Flex 4.6. I don't want to have to rewrite everything using Spark 
components and containers.

I have a mx.containers.TitleWindow with a mx.containers.ControlBar added as the 
last child. It shows up as expected in Flex 3.3, but it's not there in Flex 
4.6. Does anyone know what I need to do to get it to show up in Flex 4.6, 
without rewriting everything using Spark components?

I tried compiling with the halo theme, but that didn't work.


Re: [flexcoders] ControlBar not visible in Flex 4.6

2012-03-12 Thread Dave Glasser
Alex,

Thanks very much for responding, however, I've figured it out. 


I was adding my control bar as the last child in the constructor of my class, 
which subclasses TitleWindow. That triggered a call to 
Panel.createComponentsFromDescriptors(). That called 
Panel.setControlBar(myControlBar) as it should, and removed the controlBar from 
the container's regular child list and added it to the rawChildren. Since this 
happens in the constructor, my class is not yet added to the display list. 


After my class instance is added to the display list, the 
Panel.createChildren() method gets called, which again calls 
createComponentsFromDescriptors(). This time, since the last container child 
was not a ControlBar, it calls setControlBar(null).

The fix was to add the control bar as a child in my class's createChildren() 
method, after super.createChildren() has been called.

This is a Flex bug, IMHO.




 From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Monday, March 12, 2012 1:34 PM
Subject: Re: [flexcoders] ControlBar not visible in Flex 4.6
 

 Re: [flexcoders] ControlBar not visible in Flex 4.6 


Post a small test case.


On 3/12/12 9:28 AM, Dave Glasser dglas...@pobox.com wrote:



 
 
   

I have an app originally developed in Flex 3.3, which I'm in the process of 
migrating to Flex 4.6. I don't want to have to rewrite everything using Spark 
components and containers.

I have a mx.containers.TitleWindow with a mx.containers.ControlBar added as 
the last child. It shows up as expected in Flex 3.3, but it's not there in 
Flex 4.6. Does anyone know what I need to do to get it to show up in Flex 4.6, 
without rewriting everything using Spark components?

I tried compiling with the halo theme, but that didn't work.

   



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




Re: [flexcoders] ControlBar not visible in Flex 4.6

2012-03-12 Thread Dave Glasser
I'm using a subclass of mx.containers.Panel. There is no controlBarContent 
array.




 From: claudiu ursica the_bran...@yahoo.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Monday, March 12, 2012 3:23 PM
Subject: Re: [flexcoders] ControlBar not visible in Flex 4.6
 

 



You need to put your stuff inside controlBarContent array.

C




 From: Dave Glasser dglas...@pobox.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Monday, March 12, 2012 5:28 PM
Subject: [flexcoders] ControlBar not visible in Flex 4.6
 

  
I have an app originally developed in Flex 3.3, which I'm in the process of 
migrating to Flex 4.6. I don't want to have to rewrite everything using Spark 
components and containers.

I have a mx.containers.TitleWindow with a mx.containers.ControlBar added as the 
last child. It shows up as expected in Flex 3.3, but it's not there in Flex 
4.6. Does anyone know what I need to do to get it to show up in Flex 4.6, 
without rewriting everything using Spark components?

I tried compiling with the halo theme, but that didn't work.







[flexcoders] Styling MX button in Spark Theme application

2012-07-14 Thread Dave Glasser
I have an app that I'm porting from Flex 3.3 to Flex 4.6.

I'm not using the Halo theme, and I don't want to.

I have a lot of mx.controls.Button objects. They have a nice, 3-D look, with a 
gradient that goes from a light gray at the top to a slightly darker gray at 
the bottom. The CSS styles that controlled the colors of the button (other than 
the text color) in the old Halo app are not available in the Spark theme. I've 
tried all of the styles that are available on the mx.controls.Button class that 
have color in their name, and none seem to have any effect on the color of 
the button.

Is there any way I can change the color of the button just through CSS? If so, 
what style(s) do I have to set? Or do I have to create a custom skin class?



[flexcoders] updateDisplayList() called before commitProperties()

2012-09-26 Thread Dave Glasser
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?


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
 




[flexcoders] What happened to the Flex Style Explorer?

2013-02-13 Thread Dave Glasser
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?

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



[flexcoders] Flex 4.6 - Problem loading Flex SWF inside Flex App

2013-03-06 Thread Dave Glasser
I'm using a SWFLoader to load a Flex app -- I'll call it the child app - inside 
my main Flex app. I've used tracing code on the server to prove that the child 
app is being requested and served by the SWFLoader. What's happening, however, 
is that a new instance of the main app is being created and displayed inside 
the SWFLoader. It seems that the Flex initialization code is failing somewhere. 
I have this code in the main app's mxml file:

      private function traceStack():Boolean {
          trace(Main.mxml.():  + new Error(TRACE).getStackTrace());
          return true;
  }

      private var b:Boolean = traceStack();

And the stacktraces that are logged in both the app's initial load and its 
second loading from the embedding are identical:


Main.mxml.(): Error: TRACE
    at 
com.Company.web.app.main::Main/traceStack()[C:\dev\projects\web\src\com\Company\web\app\main\Main.mxml:65]
    at 
com.Company.web.app.main::Main()[C:\dev\projects\web\src\com\Company\web\app\main\Main.mxml:69]
    at 
_Main_mx_managers_SystemManager/create()[_Main_mx_managers_SystemManager.as:53]
    at 
mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:311]
    at 
mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:3057]
    at 
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2843]
    at 
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2723]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at 
mx.preloaders::Preloader/timerHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\preloaders\Preloader.as:542]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()


I should note that the embedding is a result of user action, and that's why 
it's not an infinitely recursive thing. I tried loading the child app with a 
mx:SWFLoader tag in the main mxml file, and the results were basically the 
same, except the infinite recursion occurred.

Does anyone have a clue what might be going on here?

Re: [flexcoders] Flex 4.6 - Problem loading Flex SWF inside Flex App

2013-03-06 Thread Dave Glasser
Indeed, it was. But it's not now, and it's working.

Thank you very much. I struggled a day and a half with that, trying a thousand 
different things, but it never occurred to me that might be the cause.




 From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Wednesday, March 6, 2013 12:24 PM
Subject: Re: [flexcoders] Flex 4.6 - Problem loading Flex SWF inside Flex App
 

 Re: [flexcoders] Flex 4.6 - Problem loading Flex SWF inside Flex App 


Is the child app’s main class also called Main.mxml?


On 3/6/13 7:00 AM, Dave Glasser dglas...@pobox.com wrote:



 
 
   

I'm using a SWFLoader to load a Flex app -- I'll call it the child app - 
inside my main Flex app. I've used tracing code on the server to prove that 
the child app is being requested and served by the SWFLoader. What's 
happening, however, is that a new instance of the main app is being created 
and displayed inside the SWFLoader. It seems that the Flex initialization code 
is failing somewhere. I have this code in the main app's mxml file:

  private function traceStack():Boolean {
  trace(Main.mxml.():  + new Error(TRACE).getStackTrace());
  return true;
  }

  private var b:Boolean = traceStack();

And the stacktraces that are logged in both the app's initial load and its 
second loading from the embedding are identical:


Main.mxml.(): Error: TRACE
at 
com.Company.web.app.main::Main/traceStack()[C:\dev\projects\web\src\com\Company\web\app\main\Main.mxml:65]
at 
com.Company.web.app.main::Main()[C:\dev\projects\web\src\com\Company\web\app\main\Main.mxml:69]
at 
_Main_mx_managers_SystemManager/create()[_Main_mx_managers_SystemManager.as:53]
at 
mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:311]
at 
mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:3057]
at 
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2843]
at 
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2723]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at 
mx.preloaders::Preloader/timerHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\preloaders\Preloader.as:542]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()


I should note that the embedding is a result of user action, and that's why 
it's not an infinitely recursive thing. I tried loading the child app with a 
mx:SWFLoader tag in the main mxml file, and the results were basically the 
same, except the infinite recursion occurred.

Does anyone have a clue what might be going on here?





   



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




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

2013-03-27 Thread Dave Glasser
Thanks!




 From: Joseph Balderson n...@joeflash.ca
To: flexcoders@yahoogroups.com 
Sent: Wednesday, March 27, 2013 2:17 PM
Subject: Re: [flexcoders] What happened to the Flex Style Explorer?
 

 


http://web.archive.org/web/20120516031743/http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html

http://web.archive.org/web/20120918204503/http://examples.adobe.com/flex3/componentexplorer/explorer.html

 
___ Joseph 
Balderson, Flex  Flash Platform Developer :: http://joeflash.ca Author, 
Professional Flex 3 :: http://tinyurl.com/proflex3book

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







[flexcoders] Array literals - odd behavior

2013-04-11 Thread Dave Glasser
In Java and other C-derived languages, an array literal can have a comma after 
the last element, for example:

int[] numList = {1, 2, 3,};

In ActionScript, you can do the same thing:

var numList:Array = [1, 2, 3,];

In both cases, the array has a length of 3. The trailing comma is basically 
ignored, it's permitted to make moving the elements around in the editor 
easier, I assume.

I noticed something else today about array literals in actionscript. You can 
pretty much add additional commas wherever you want:

var numList:Array = [ ,  , ,1, 2, , 3,,,];

And except for the final trailing comma, the array will have an element for 
each of those commas. The element will be null or undefined where there is no 
actual value.

I was surprised when I discovered this, because I would swear I've had compiler 
errors over misplaced commas in array literals before. Am I imagining things?

I checked the AS3 programmers reference, and googled around to other pages, and 
nowhere could I find any documentation of this behavior.

Is this a bug, or a feature?

Re: [flexcoders] Array literals - odd behavior

2013-04-11 Thread Dave Glasser
Yes, I think it matters quite a bit. It would be very easy for someone, even in 
their right mind, to unintentionally have an extra comma somewhere in the 
middle of a long array literal and not notice it. And the compiler would not 
tell them, but instead would insert an empty element at that spot. I would 
prefer that the compiler require you to explicitly indicate each element in an 
array literal, for example:

var myList:Array = [1, 2, 3, undefined, 4, 5, 6];

Or, absent that, I would prefer that the documentation clearly spell out the 
behavior of extra commas in array literals.




 From: Paul A. p...@ipauland.com
To: flexcoders@yahoogroups.com 
Sent: Thursday, April 11, 2013 3:00 PM
Subject: Re: [flexcoders] Array literals - odd behavior
 


 

Does it really matter? Nobody in their right mind is going to be
populating arrays with multiple commas.








Re: [flexcoders] Array literals - odd behavior

2013-04-11 Thread Dave Glasser
Didn't say it was essential. Just that I would prefer it.

As you said, nobody in their right mind would do it. One of the hallmarks of 
a well-designed language, IMO, is that it doesn't silently allow you to do 
things that no one in their right mind would do. At least a compiler warning 
would be nice. I couldn't begin to estimate how much time this compiler warning 
has saved me:

Warning: Assignment within conditional.  Did you mean == instead of =?


Do I make that mistake frequently? Not really. But if I make it in 1 out of 500 
if statements, given the amount of code I crank out on a daily basis, it's 
going to happen now and then, and the time the compiler warning saves me is 
significant.




 From: Paul A. p...@ipauland.com
To: flexcoders@yahoogroups.com 
Sent: Thursday, April 11, 2013 3:52 PM
Subject: Re: [flexcoders] Array literals - odd behavior
 


 



On 11/04/2013 20:45, Dave Glasser wrote:

 
Yes, I think it matters quite a bit. It would be very easy for someone, even 
in their right mind, to unintentionally have an extra comma somewhere in the 
middle of a long array literal and not notice it. And the compiler would not 
tell them, but instead would insert an empty element at that spot. I would 
prefer that the compiler require you to explicitly indicate each element in an 
array literal, for example:


var myList:Array = [1, 2, 3, undefined, 4, 5, 6];


Or, absent that, I would prefer that the documentation clearly spell out the 
behavior of extra commas in array literals.

It would be nice, but it's hardly essential. It's never going to be
good practice to put in multiple commas and I can't ever remember
have issues doing it accidentally.

Raise a bug.





 From: Paul A. p...@ipauland.com
To: flexcoders@yahoogroups.com 
Sent: Thursday, April 11, 2013 3:00 PM
Subject: Re: [flexcoders] Array literals - odd behavior
 


 

Does it really matter? Nobody in their right mind is
  going to be populating arrays with multiple commas.













[flexcoders] UIFTETextField - randomly disappearing lines

2013-06-13 Thread Dave Glasser
I have a UIFTETextField that is displaying a line of text 115 characters long. 
I set its width to 300 with wordwrap enabled, and it wraps the text into 3 
lines. The weird thing is that any or all of the lines may be invisible when 
this object is displayed. Sometimes you'll see the first and third lines with a 
blank line between them, other times maybe two blank lines followed by the 
visible third line, other times all three are blank. 


Has anyone ever encountered something like this? I checked the bug tracker for 
UIFTETextField and its parent class, FTETextField, and didn't find any bug 
report on this.


Re: [flexcoders] UIFTETextField - randomly disappearing lines

2013-06-13 Thread Dave Glasser
It's 4.6.0.23201B. One of the last Adobe releases.





 From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Thursday, June 13, 2013 12:08 PM
Subject: Re: [flexcoders] UIFTETextField - randomly disappearing lines
 


 



What version of Flex SDK?  This sounds like an old bug.
From:  Dave Glasser dglas...@pobox.com
Reply-To:  flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date:  Thursday, June 13, 2013 8:57 AM
To:  flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject:  [flexcoders] UIFTETextField - randomly disappearing lines


 
I have a UIFTETextField that is displaying a line of text 115 characters long. 
I set its width to 300 with wordwrap enabled, and it wraps the text into 3 
lines. The weird thing is that any or all of the lines may be invisible when 
this object is displayed. Sometimes you'll see the first and third lines with a 
blank line between them, other times maybe two blank lines followed by the 
visible third line, other times all three are blank. 


Has anyone ever encountered something like this? I checked the bug tracker for 
UIFTETextField and its parent class, FTETextField, and didn't find any bug 
report on this.
 




Re: [flexcoders] UIFTETextField - randomly disappearing lines

2013-06-13 Thread Dave Glasser
Dude, you're amazing. That worked like a charm. I owe you one.





 From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Thursday, June 13, 2013 1:00 PM
Subject: Re: [flexcoders] UIFTETextField - randomly disappearing lines
 


 



Try turning off the recycler: 
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flashx/textLayout/compose/TextLineRecycler.html

From:  Dave Glasser dglas...@pobox.com
Reply-To:  flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date:  Thursday, June 13, 2013 9:16 AM
To:  flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject:  Re: [flexcoders] UIFTETextField - randomly disappearing lines


 
It's 4.6.0.23201B. One of the last Adobe releases.





From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Thursday, June 13, 2013 12:08 PM
Subject: Re: [flexcoders] UIFTETextField - randomly disappearing lines






What version of Flex SDK?  This sounds like an old bug.
From: Dave Glasser dglas...@pobox.com
Reply-To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date: Thursday, June 13, 2013 8:57 AM
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject: [flexcoders] UIFTETextField - randomly disappearing lines


 
I have a UIFTETextField that is displaying a line of text 115 characters long. 
I set its width to 300 with wordwrap enabled, and it wraps the text into 3 
lines. The weird thing is that any or all of the lines may be invisible when 
this object is displayed. Sometimes you'll see the first and third lines with a 
blank line between them, other times maybe two blank lines followed by the 
visible third line, other times all three are blank. 


Has anyone ever encountered something like this? I checked the bug tracker for 
UIFTETextField and its parent class, FTETextField, and didn't find any bug 
report on this.




 




Re: [flexcoders] UIFTETextField - randomly disappearing lines

2013-06-13 Thread Dave Glasser
The odd thing is, the bug wouldn't manifest in a small test app that I wrote 
for the purpose of testing possible workarounds. In that app, the text 
displayed correctly every single time.

I just did some checking, and this behavior wasn't observed (although it might 
have been happening unobserved) until after we began compiling the app with 
this:

mx|Label {
    textFieldClass:ClassReference(mx.core.UIFTETextField);
}

That was needed to get Arabic text rendering properly. That means that the 
number of UIFTETextFields that the app was creating had increased dramatically. 
I put some tracing code in FTETextField.createTextLinesFromTextBlock() and 
noticed that it was getting called numerous times in the main app, prior to 
where the bug occurred, but not so much in the small app prior to where the bug 
should have occurred. It makes sense that the recycler was the culprit. In the 
main app the pool of recycled TextLines was probably large, whereas in the 
small app it might have been empty, therefore no recycling was occurring to gum 
things up.

I'm thinking now of having a switch in the app that the small (but important) 
fraction of our Arabic-speaking users could use that would, at runtime rather 
than compile time, set the textFieldClass style of mx.controls.Label to 
UIFTETextField and disable TextLine recycling, while for everyone else, the old 
textFieldClass and TextLine recycling would be used. Do you see any potential 
problems with that approach?







 From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Thursday, June 13, 2013 2:33 PM
Subject: Re: [flexcoders] UIFTETextField - randomly disappearing lines
 


 



Well I'd run into this before but I thought we'd fixed all cases (and I 
couldn't find the old bug report).  Not having the recycler might slow down 
your app a bit.  If you have a small test case, please file a bug at 
issues.apache.org/jira under the Flex project there.
From:  Dave Glasser dglas...@pobox.com
Reply-To:  flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date:  Thursday, June 13, 2013 10:49 AM
To:  flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject:  Re: [flexcoders] UIFTETextField - randomly disappearing lines


 
Dude, you're amazing. That worked like a charm. I owe you one.





From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Thursday, June 13, 2013 1:00 PM
Subject: Re: [flexcoders] UIFTETextField - randomly disappearing lines






Try turning off the recycler: 
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flashx/textLayout/compose/TextLineRecycler.html

From: Dave Glasser dglas...@pobox.com
Reply-To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date: Thursday, June 13, 2013 9:16 AM
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject: Re: [flexcoders] UIFTETextField - randomly disappearing lines


 
It's 4.6.0.23201B. One of the last Adobe releases.





From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
Sent: Thursday, June 13, 2013 12:08 PM
Subject: Re: [flexcoders] UIFTETextField - randomly disappearing lines






What version of Flex SDK?  This sounds like an old bug.
From: Dave Glasser dglas...@pobox.com
Reply-To: flexc! od...@yahoogroups.com flexcoders@yahoogroups.com
Date: Thursday, June 13, 2013 8:57 AM
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject: [flexcoders] UIFTETextField - randomly disappearing lines


 
I have a UIFTETextField that is displaying a line of text 115 characters long. 
I set its width to 300 with wordwrap enabled, and it wraps the text into 3 
lines. The weird thing is that any or all of the lines may be invisible when 
this object is displayed. Sometimes you'll see the first and third lines with a 
blank line between them, other times maybe two blank lines followed by the 
visible third line, other times all three are blank. 


Has anyone ever encountered something like this? I checked the bug tracker for 
UIFTETextField and its parent class, FTETextField, and didn't find any bug 
report on this.













[flexcoders] Which AIR SDK to use with Flex?

2014-10-23 Thread Dave Glasser dglas...@pobox.com [flexcoders]
On the download page for the AIR SDK:
http://www.adobe.com/devnet/air/air-sdk-download.html


It says:
Note: Flex users will need to download the original AIR SDK without the new 
compiler.
and provides separate links to SDKs that are about 15% smaller.
Does anyone know the reasoning behind this?

Are there compatibility reasons not to use the main AIR SDK that has a 
compiler? I'm still compiling my SWF with the compiler from the Flex SDK.



Re: [flexcoders] Which AIR SDK to use with Flex? [1 Attachment]

2014-10-23 Thread Dave Glasser dglas...@pobox.com [flexcoders]

From the PDF I gather that you can't build Flex apps with the AIR SDK, which 
makes sense. But the notice on the page suggests that you should not package 
Flex Apps as AIR apps using the full AIR SDK, but rather the stripped down AIR 
SDK. I tried using the ADT from the full AIR SDK to package my Flex app for 
iOS and it works. So I'm wondering why Adobe has a separate AIR SDK for Flex 
apps. I wouldn't think the minor difference in download file sizes would be 
the sole reason. 

 On Thursday, October 23, 2014 12:20 PM, John McCormack 
j...@easypeasy.co.uk [flexcoders] flexcoders@yahoogroups.com wrote:
   

 #yiv2173584811 #yiv2173584811 -- #yiv2173584811 
.yiv2173584811ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv2173584811
 
div.yiv2173584811ygrp-photo{background-position:center;background-repeat:no-repeat;background-color:white;border:1px
 solid black;height:62px;width:62px;}#yiv2173584811 
div.yiv2173584811photo-title a, #yiv2173584811 div.yiv2173584811photo-title 
a:active, #yiv2173584811 div.yiv2173584811photo-title a:hover, #yiv2173584811 
div.yiv2173584811photo-title a:visited {text-decoration:none;}#yiv2173584811 
div.yiv2173584811attach-table div.yiv2173584811attach-row 
{clear:both;}#yiv2173584811 div.yiv2173584811attach-table 
div.yiv2173584811attach-row div {float:left;}#yiv2173584811 p 
{clear:both;padding:15px 0 3px 0;overflow:hidden;}#yiv2173584811 
div.yiv2173584811ygrp-file {width:30px;}#yiv2173584811 
div.yiv2173584811attach-table div.yiv2173584811attach-row div div a 
{text-decoration:none;}#yiv2173584811 div.yiv2173584811attach-table 
div.yiv2173584811attach-row div div span {font-weight:normal;}#yiv2173584811 
div.yiv2173584811ygrp-file-title {font-weight:bold;}#yiv2173584811 
#yiv2173584811 [Attachment(s) from John McCormack included below]

 The link Read the ActionScript Compiler 2.0 (PDF, 20Kb)
 explains that ... it does not support mxmlc compc compiling Flex applications
 
 Maybe its because some of Flex code is now run by Apache Foundation.
 
 John
 
 On 23/10/2014 16:26, Dave Glasser dglas...@pobox.com [flexcoders] wrote:
  
 
#yiv2173584811 #yiv2173584811 -- #yiv2173584811 
.yiv2173584811ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv2173584811
 
div.yiv2173584811ygrp-photo{background-position:center;background-repeat:no-repeat;background-color:white;border:1px
 solid black;height:62px;width:62px;}#yiv2173584811 
div.yiv2173584811photo-title a, #yiv2173584811 div.yiv2173584811photo-title 
a:active, #yiv2173584811 div.yiv2173584811photo-title a:hover, #yiv2173584811 
div.yiv2173584811photo-title a:visited {text-decoration:none;}#yiv2173584811 
div.yiv2173584811attach-table div.yiv2173584811attach-row 
{clear:both;}#yiv2173584811 div.yiv2173584811attach-table 
div.yiv2173584811attach-row div {float:left;}#yiv2173584811 p 
{clear:both;padding:15px 0 3px 0;overflow:hidden;}#yiv2173584811 
div.yiv2173584811ygrp-file {width:30px;}#yiv2173584811 
div.yiv2173584811attach-table div.yiv2173584811attach-row div div a 
{text-decoration:none;}#yiv2173584811 div.yiv2173584811attach-table 
div.yiv2173584811attach-row div div span {font-weight:normal;}#yiv2173584811 
div.yiv2173584811ygrp-file-title {font-weight:bold;}#yiv2173584811 
#yiv2173584811  On the download page for the AIR SDK: 
  http://www.adobe.com/devnet/air/air-sdk-download.html
  
  
  It says: 
  Note: Flex users will need to download the original AIR SDK without the new 
compiler. 
  and provides separate links to SDKs that are about 15% smaller. 
  Does anyone know the reasoning behind this?
  
  Are there compatibility reasons not to use the main AIR SDK that has a 
compiler? I'm still compiling my SWF with the compiler from the Flex SDK.
  

 



   

Re: [flexcoders] Which AIR SDK to use with Flex?

2014-10-25 Thread Dave Glasser dglas...@pobox.com [flexcoders]
 to the legacy AOT compiler and 
everything worked perfectly.   Unfortunately if iOS is your target you have 
almost no choice but to upgrade to AIR SDK 15. Apple changed the requirements 
for uploading and all the old SDKs will not produce an IPA that will be 
accepted (unless you experiment with changing the linker and that sounded more 
like Voodoo then a long term solution). And the AIR SDK must be the one from at 
least Oct 14, 2014.   If you did not already know – The AIR SDK is located in 
two places one is the Flash Builder 4.7/eclipse/plugin folder (Used by 
ActionScript projects) and the other is in the Flash Builder 4.7/sdks folder. 
The plugin folder is for ActionScript only projects and the other in the sdk 
folder is for Flex projects. At least as near as I can determine.  I would 
download the default AIR SDK to use with any ActionScript projects – it’s the 
SDK that gets put into the eclipse/plugin/actionscript compiler…. Location.  
For Flex projects, download the alternative and drop it into the sdks/4.6.0 
folder in Flash Builder.   This way you have both compilers setup and useable 
based on the type of project your working on.  If you hit the same situation I 
did with iOS output, then on the project settings, iOS settings – click 
customize launch button, click add parameter, enter –useLegacyAOT for name and 
for value enter yes. Then click the before.. radio button and choose 
–provisioning_profile (or something like that). I don’t have my work computer 
open so I might be off on a couple of name of the before radio button and the 
entery in the drop down list – but it’s the only entry with provision profile 
or similar in the name.  Sincerely
Mark R. Jonkman  From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
Sent: Thursday, October 23, 2014 12:40 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Which AIR SDK to use with Flex? [1 Attachment]  
[Attachment(s) from Dave Glasser included below] 


  From the PDF I gather that you can't build Flex apps with the AIR SDK, which 
makes sense. But the notice on the page suggests that you should not package 
Flex Apps as AIR apps using the full AIR SDK, but rather the stripped down AIR 
SDK. I tried using the ADT from the full AIR SDK to package my Flex app for iOS 
and it works. So I'm wondering why Adobe has a separate AIR SDK for Flex apps. 
I wouldn't think the minor difference in download file sizes would be the sole 
reason.  On Thursday, October 23, 2014 12:20 PM, John McCormack 
j...@easypeasy.co.uk [flexcoders] flexcoders@yahoogroups.com wrote:  
[Attachment(s) from John McCormack included below] The link Read the 
ActionScript Compiler 2.0 (PDF, 20Kb)
explains that ... it does not support mxmlccompccompiling Flex applications

Maybe its because some of Flex code is now run by Apache Foundation.

John

On 23/10/2014 16:26, Dave Glasser dglas...@pobox.com [flexcoders] wrote:On the 
download page for the AIR SDK:  
http://www.adobe.com/devnet/air/air-sdk-download.html    It says:  Note: Flex 
users will need to download the original AIR SDK without the new compiler.  and 
provides separate links to SDKs that are about 15% smaller.  Does anyone know 
the reasoning behind this?  Are there compatibility reasons not to use the main 
AIR SDK that has a compiler? I'm still compiling my SWF with the compiler from 
the Flex SDK.  

  


 



   

Re: [flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread Dave Glasser dglas...@pobox.com [flexcoders]
What do do you mean by not working?
 

 On Thursday, November 6, 2014 4:20 AM, stinas...@yahoo.com [flexcoders] 
flexcoders@yahoogroups.com wrote:
   

 !--#yiv9808785342 #yiv9808785342 
.yiv9808785342ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv9808785342
 
div.yiv9808785342ygrp-photo{background-position:center;background-repeat:no-repeat;background-color:white;border:1px
 solid black;height:62px;width:62px;}#yiv9808785342 
div.yiv9808785342photo-title a, #yiv9808785342 div.yiv9808785342photo-title 
a:active, #yiv9808785342 div.yiv9808785342photo-title a:hover, #yiv9808785342 
div.yiv9808785342photo-title a:visited {text-decoration:none;}#yiv9808785342 
div.yiv9808785342attach-table div.yiv9808785342attach-row 
{clear:both;}#yiv9808785342 div.yiv9808785342attach-table 
div.yiv9808785342attach-row div {float:left;}#yiv9808785342 p 
{clear:both;padding:15px 0 3px 0;overflow:hidden;}#yiv9808785342 
div.yiv9808785342ygrp-file {width:30px;}#yiv9808785342 
div.yiv9808785342attach-table div.yiv9808785342attach-row div div a 
{text-decoration:none;}#yiv9808785342 div.yiv9808785342attach-table 
div.yiv9808785342attach-row div div span {font-weight:normal;}#yiv9808785342 
div.yiv9808785342ygrp-file-title {font-weight:bold;}#yiv9808785342 -- 
!--#yiv9808785342 #yiv9808785342ygrp-mkp {border:1px solid 
#d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv9808785342 
#yiv9808785342ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv9808785342 
#yiv9808785342ygrp-mkp #yiv9808785342hd 
{color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 
0;}#yiv9808785342 #yiv9808785342ygrp-mkp #yiv9808785342ads 
{margin-bottom:10px;}#yiv9808785342 #yiv9808785342ygrp-mkp .yiv9808785342ad 
{padding:0 0;}#yiv9808785342 #yiv9808785342ygrp-mkp .yiv9808785342ad p 
{margin:0;}#yiv9808785342 #yiv9808785342ygrp-mkp .yiv9808785342ad a 
{color:#ff;text-decoration:none;}--

Any help guys?



   

Re: [flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread Dave Glasser dglas...@pobox.com [flexcoders]
I don't mean to be rude, but does it not occur to you that the actual text of 
the error message might be important in diagnosing your problem?
In your initial request for help, you didn't even bother to mention the problem 
was concerning the path.
Stinasius, I'd like to help you, but if it requires dragging the needed 
information out of you, I'm afraid I don't have time, or the inclination.
Good luck.


 On Thursday, November 6, 2014 8:38 AM, stinas...@yahoo.com [flexcoders] 
flexcoders@yahoogroups.com wrote:
   

 #yiv5947529375 #yiv5947529375 -- #yiv5947529375 
.yiv5947529375ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv5947529375
 
div.yiv5947529375ygrp-photo{background-position:center;background-repeat:no-repeat;background-color:white;border:1px
 solid black;height:62px;width:62px;}#yiv5947529375 
div.yiv5947529375photo-title a, #yiv5947529375 div.yiv5947529375photo-title 
a:active, #yiv5947529375 div.yiv5947529375photo-title a:hover, #yiv5947529375 
div.yiv5947529375photo-title a:visited {text-decoration:none;}#yiv5947529375 
div.yiv5947529375attach-table div.yiv5947529375attach-row 
{clear:both;}#yiv5947529375 div.yiv5947529375attach-table 
div.yiv5947529375attach-row div {float:left;}#yiv5947529375 p 
{clear:both;padding:15px 0 3px 0;overflow:hidden;}#yiv5947529375 
div.yiv5947529375ygrp-file {width:30px;}#yiv5947529375 
div.yiv5947529375attach-table div.yiv5947529375attach-row div div a 
{text-decoration:none;}#yiv5947529375 div.yiv5947529375attach-table 
div.yiv5947529375attach-row div div span {font-weight:normal;}#yiv5947529375 
div.yiv5947529375ygrp-file-title {font-weight:bold;}#yiv5947529375 
#yiv5947529375 #yiv5947529375 #yiv5947529375 --#yiv5947529375ygrp-mkp 
{border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 
10px;}#yiv5947529375 #yiv5947529375ygrp-mkp hr {border:1px solid 
#d8d8d8;}#yiv5947529375 #yiv5947529375ygrp-mkp #yiv5947529375hd 
{color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 
0;}#yiv5947529375 #yiv5947529375ygrp-mkp #yiv5947529375ads 
{margin-bottom:10px;}#yiv5947529375 #yiv5947529375ygrp-mkp .yiv5947529375ad 
{padding:0 0;}#yiv5947529375 #yiv5947529375ygrp-mkp .yiv5947529375ad p 
{margin:0;}#yiv5947529375 #yiv5947529375ygrp-mkp .yiv5947529375ad a 
{color:#ff;text-decoration:none;}#yiv5947529375 

when i click the download button, i get an error, concerning the path. 



   

Re: [flexcoders] Re: downlaoding a file in flex.

2014-11-06 Thread Dave Glasser dglas...@pobox.com [flexcoders]

Doing this:var url:String=documents/ + 
encodeURIComponent(docs.selectedItem.documentName); 
will handle cases where the document name contains special characters that 
would break the URL.

 On Thursday, November 6, 2014 9:14 AM, Jim Hayes j...@primalpictures.com 
[flexcoders] flexcoders@yahoogroups.com wrote:
   

 #yiv1014466686 #yiv1014466686 -- #yiv1014466686 
.yiv1014466686ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv1014466686
 
div.yiv1014466686ygrp-photo{background-position:center;background-repeat:no-repeat;background-color:white;border:1px
 solid black;height:62px;width:62px;}#yiv1014466686 
div.yiv1014466686photo-title a, #yiv1014466686 div.yiv1014466686photo-title 
a:active, #yiv1014466686 div.yiv1014466686photo-title a:hover, #yiv1014466686 
div.yiv1014466686photo-title a:visited {text-decoration:none;}#yiv1014466686 
div.yiv1014466686attach-table div.yiv1014466686attach-row 
{clear:both;}#yiv1014466686 div.yiv1014466686attach-table 
div.yiv1014466686attach-row div {float:left;}#yiv1014466686 p 
{clear:both;padding:15px 0 3px 0;overflow:hidden;}#yiv1014466686 
div.yiv1014466686ygrp-file {width:30px;}#yiv1014466686 
div.yiv1014466686attach-table div.yiv1014466686attach-row div div a 
{text-decoration:none;}#yiv1014466686 div.yiv1014466686attach-table 
div.yiv1014466686attach-row div div span {font-weight:normal;}#yiv1014466686 
div.yiv1014466686ygrp-file-title {font-weight:bold;}#yiv1014466686 
#yiv1014466686 this line is at least one of your problems :
var url:String=documents/{docs.selectedItem.documentName};
try something like :
var url:String=documents/ + docs.selectedItem.documentName;
That should get you closer at least.
From: flexcoders@yahoogroups.com [flexcoders@yahoogroups.com]Sent: 06 November 
2014 14:02
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: downlaoding a file in flex.

 Sorry guys, am really sorry. this is the error it shows 
HTTP Status 404 - 
/campuscholar/bin-debug/documents/%7Bdocs.selectedItem.documentName%7D
#yiv1014466686 #yiv1014466686 --#yiv1014466686ygrp-mkp {border:1px solid 
#d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv1014466686 
#yiv1014466686ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv1014466686 
#yiv1014466686ygrp-mkp #yiv1014466686hd 
{color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 
0;}#yiv1014466686 #yiv1014466686ygrp-mkp #yiv1014466686ads 
{margin-bottom:10px;}#yiv1014466686 #yiv1014466686ygrp-mkp .yiv1014466686ad 
{padding:0 0;}#yiv1014466686 #yiv1014466686ygrp-mkp .yiv1014466686ad p 
{margin:0;}#yiv1014466686 #yiv1014466686ygrp-mkp .yiv1014466686ad a 
{color:#ff;text-decoration:none;}#yiv1014466686 #yiv1014466686ygrp-sponsor 
#yiv1014466686ygrp-lc {font-family:Arial;}#yiv1014466686 
#yiv1014466686ygrp-sponsor #yiv1014466686ygrp-lc #yiv1014466686hd {margin:10px 
0px;font-weight:700;font-size:78%;line-height:122%;}#yiv1014466686 
#yiv1014466686ygrp-sponsor #yiv1014466686ygrp-lc .yiv1014466686ad 
{margin-bottom:10px;padding:0 0;}#yiv1014466686 #yiv1014466686actions 
{font-family:Verdana;font-size:11px;padding:10px 0;}#yiv1014466686 
#yiv1014466686activity 
{background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv1014466686
 #yiv1014466686activity span {font-weight:700;}#yiv1014466686 
#yiv1014466686activity span:first-child 
{text-transform:uppercase;}#yiv1014466686 #yiv1014466686activity span a 
{color:#5085b6;text-decoration:none;}#yiv1014466686 #yiv1014466686activity span 
span {color:#ff7900;}#yiv1014466686 #yiv1014466686activity span 
.yiv1014466686underline {text-decoration:underline;}#yiv1014466686 
.yiv1014466686attach 
{clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 
0;width:400px;}#yiv1014466686 .yiv1014466686attach div a 
{text-decoration:none;}#yiv1014466686 .yiv1014466686attach img 
{border:none;padding-right:5px;}#yiv1014466686 .yiv1014466686attach label 
{display:block;margin-bottom:5px;}#yiv1014466686 .yiv1014466686attach label a 
{text-decoration:none;}#yiv1014466686 blockquote {margin:0 0 0 
4px;}#yiv1014466686 .yiv1014466686bold 
{font-family:Arial;font-size:13px;font-weight:700;}#yiv1014466686 
.yiv1014466686bold a {text-decoration:none;}#yiv1014466686 dd.yiv1014466686last 
p a {font-family:Verdana;font-weight:700;}#yiv1014466686 dd.yiv1014466686last p 
span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv1014466686 
dd.yiv1014466686last p span.yiv1014466686yshortcuts 
{margin-right:0;}#yiv1014466686 div.yiv1014466686attach-table div div a 
{text-decoration:none;}#yiv1014466686 div.yiv1014466686attach-table 
{width:400px;}#yiv1014466686 div.yiv1014466686file-title a, #yiv1014466686 
div.yiv1014466686file-title a:active, #yiv1014466686 
div.yiv1014466686file-title a:hover, #yiv1014466686 div.yiv1014466686file-title 
a:visited {text-decoration:none;}#yiv1014466686 div.yiv1014466686photo-title a, 
#yiv1014466686 div.yiv1014466686photo-title 

[flexcoders] Seeking Flex Contractors

2015-02-24 Thread Dave Glasser dglas...@pobox.com [flexcoders]
I'm looking for 1 or 2 Flex contractors, located in the US or Canada, for 
remote work. Please contact me at dglas...@pobox.com if interested.



Re: [flexcoders] CSSStyleDeclaration in AIR app Windows

2015-07-29 Thread Dave Glasser dglas...@pobox.com [flexcoders]
Thanks again, Alex. I wasn't even aware of that list. I'll subscribe.

  From: Alex Harui aha...@adobe.com [flexcoders] 
flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
 Sent: Wednesday, July 29, 2015 12:30 PM
 Subject: Re: [flexcoders] CSSStyleDeclaration in AIR app Windows
   
#yiv3312844752 #yiv3312844752 -- #yiv3312844752 
.yiv3312844752ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv3312844752
 
div.yiv3312844752ygrp-photo{background-position:center;background-repeat:no-repeat;background-color:white;border:1px
 solid black;height:62px;width:62px;}#yiv3312844752 
div.yiv3312844752photo-title a, #yiv3312844752 div.yiv3312844752photo-title 
a:active, #yiv3312844752 div.yiv3312844752photo-title a:hover, #yiv3312844752 
div.yiv3312844752photo-title a:visited {text-decoration:none;}#yiv3312844752 
div.yiv3312844752attach-table div.yiv3312844752attach-row 
{clear:both;}#yiv3312844752 div.yiv3312844752attach-table 
div.yiv3312844752attach-row div {float:left;}#yiv3312844752 p 
{clear:both;padding:15px 0 3px 0;overflow:hidden;}#yiv3312844752 
div.yiv3312844752ygrp-file {width:30px;}#yiv3312844752 
div.yiv3312844752attach-table div.yiv3312844752attach-row div div a 
{text-decoration:none;}#yiv3312844752 div.yiv3312844752attach-table 
div.yiv3312844752attach-row div div span {font-weight:normal;}#yiv3312844752 
div.yiv3312844752ygrp-file-title {font-weight:bold;}#yiv3312844752 
#yiv3312844752 

Yeah, there should be per-module styles in all Apache Flex versions.
BTW, you’ll get more timely assistance by asking on the us...@flex.apache.org 
mailing list.
-Alex
From: flexcoders@yahoogroups.com on behalf of Dave glasserdglas...@pobox.com 
[flexcoders] flexcoders@yahoogroups.com
Reply-To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date: Wednesday, July 29, 2015 at 7:25 AM
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject: Re: [flexcoders] CSSStyleDeclaration in AIR app Windows

 Interesting idea, I'll look into it. I'm using Flex 4.13 currently.




From: Alex haruiaha...@adobe.com [flexcoders] flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Wednesday, July 29, 2015 9:40 AM
Subject: Re: [flexcoders] CSSStyleDeclaration in AIR app Windows



I think if each window loads a module, that module gets its own styles.  You 
might need Flex 4.6 or later for that to work.
-Alex


From: flexcoders@yahoogroups.com on behalf of Dave glasserdglas...@pobox.com 
[flexcoders] flexcoders@yahoogroups.com
Reply-To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date: Friday, July 24, 2015 at 6:20 PM
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject: [flexcoders] CSSStyleDeclaration in AIR app Windows

 I'm developing a multi-window Flex/AIR desktop app.
I would very much like to be able to change CSSStyleDeclarations on a 
per-window basis. It seems that if I do:
var decl:CSSStyleDeclaration = 
window.styleManager.getCSSStyleDeclaration(fully.qualified.WidgetClassName);decl.setStyle(widgetColor,
 0xFF);
The style change affects all WidgetClassName instances across all windows.
Is there some other means of accomplishing what I'm trying to accomplish? It 
would have to work with non-inheriting styles also.








  

Re: [flexcoders] CSSStyleDeclaration in AIR app Windows

2015-07-29 Thread Dave Glasser dglas...@pobox.com [flexcoders]
Interesting idea, I'll look into it. I'm using Flex 4.13 currently.




  From: Alex Harui aha...@adobe.com [flexcoders] 
flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com 
 Sent: Wednesday, July 29, 2015 9:40 AM
 Subject: Re: [flexcoders] CSSStyleDeclaration in AIR app Windows
   
#yiv2071966122 #yiv2071966122 -- #yiv2071966122 
.yiv2071966122ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv2071966122
 
div.yiv2071966122ygrp-photo{background-position:center;background-repeat:no-repeat;background-color:white;border:1px
 solid black;height:62px;width:62px;}#yiv2071966122 
div.yiv2071966122photo-title a, #yiv2071966122 div.yiv2071966122photo-title 
a:active, #yiv2071966122 div.yiv2071966122photo-title a:hover, #yiv2071966122 
div.yiv2071966122photo-title a:visited {text-decoration:none;}#yiv2071966122 
div.yiv2071966122attach-table div.yiv2071966122attach-row 
{clear:both;}#yiv2071966122 div.yiv2071966122attach-table 
div.yiv2071966122attach-row div {float:left;}#yiv2071966122 p 
{clear:both;padding:15px 0 3px 0;overflow:hidden;}#yiv2071966122 
div.yiv2071966122ygrp-file {width:30px;}#yiv2071966122 
div.yiv2071966122attach-table div.yiv2071966122attach-row div div a 
{text-decoration:none;}#yiv2071966122 div.yiv2071966122attach-table 
div.yiv2071966122attach-row div div span {font-weight:normal;}#yiv2071966122 
div.yiv2071966122ygrp-file-title {font-weight:bold;}#yiv2071966122 
#yiv2071966122 

I think if each window loads a module, that module gets its own styles.  You 
might need Flex 4.6 or later for that to work.
-Alex


From: flexcoders@yahoogroups.com on behalf of Dave glasserdglas...@pobox.com 
[flexcoders] flexcoders@yahoogroups.com
Reply-To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date: Friday, July 24, 2015 at 6:20 PM
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject: [flexcoders] CSSStyleDeclaration in AIR app Windows

 I'm developing a multi-window Flex/AIR desktop app.
I would very much like to be able to change CSSStyleDeclarations on a 
per-window basis. It seems that if I do:
var decl:CSSStyleDeclaration = 
window.styleManager.getCSSStyleDeclaration(fully.qualified.WidgetClassName);decl.setStyle(widgetColor,
 0xFF);
The style change affects all WidgetClassName instances across all windows.
Is there some other means of accomplishing what I'm trying to accomplish? It 
would have to work with non-inheriting styles also.




  

[flexcoders] CSSStyleDeclaration in AIR app Windows

2015-07-24 Thread Dave Glasser dglas...@pobox.com [flexcoders]
I'm developing a multi-window Flex/AIR desktop app.
I would very much like to be able to change CSSStyleDeclarations on a 
per-window basis. It seems that if I do:
var decl:CSSStyleDeclaration = 
window.styleManager.getCSSStyleDeclaration(fully.qualified.WidgetClassName);decl.setStyle(widgetColor,
 0xFF);
The style change affects all WidgetClassName instances across all windows.
Is there some other means of accomplishing what I'm trying to accomplish? It 
would have to work with non-inheriting styles also.


Re: [flexcoders] Re: uploading files in flex using coldfusion 11

2015-09-23 Thread Dave Glasser dglas...@pobox.com [flexcoders]

You must live in a different world than I do, because my world did not "hold 
its breath for Apple putting the Flash Player in iOS."
And Flash/Flex-based apps run fine on both iOS and Android, with little or no 
changes.

  From: "Julian Tenney julian.ten...@nottingham.ac.uk [flexcoders]" 

 To: "flexcoders@yahoogroups.com"  
 Sent: Wednesday, September 23, 2015 10:30 AM
 Subject: RE: [flexcoders] Re: uploading files in flex using coldfusion 11
   
#yiv1165436180 #yiv1165436180 -- #yiv1165436180 
.yiv1165436180ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv1165436180
 
div.yiv1165436180ygrp-photo{background-position:center;background-repeat:no-repeat;background-color:white;border:1px
 solid black;height:62px;width:62px;}#yiv1165436180 
div.yiv1165436180photo-title a, #yiv1165436180 div.yiv1165436180photo-title 
a:active, #yiv1165436180 div.yiv1165436180photo-title a:hover, #yiv1165436180 
div.yiv1165436180photo-title a:visited {text-decoration:none;}#yiv1165436180 
div.yiv1165436180attach-table div.yiv1165436180attach-row 
{clear:both;}#yiv1165436180 div.yiv1165436180attach-table 
div.yiv1165436180attach-row div {float:left;}#yiv1165436180 p 
{clear:both;padding:15px 0 3px 0;overflow:hidden;}#yiv1165436180 
div.yiv1165436180ygrp-file {width:30px;}#yiv1165436180 
div.yiv1165436180attach-table div.yiv1165436180attach-row div div a 
{text-decoration:none;}#yiv1165436180 div.yiv1165436180attach-table 
div.yiv1165436180attach-row div div span {font-weight:normal;}#yiv1165436180 
div.yiv1165436180ygrp-file-title {font-weight:bold;}#yiv1165436180 
#yiv1165436180 #yiv1165436180 #yiv1165436180 -- _filtered #yiv1165436180 
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv1165436180 
{font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;} _filtered #yiv1165436180 
{font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv1165436180 
{font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv1165436180 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv1165436180 
{font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;} _filtered #yiv1165436180 
{font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;} _filtered #yiv1165436180 
{panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv1165436180 
{font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv1165436180 
#yiv1165436180 p.yiv1165436180MsoNormal, #yiv1165436180 
li.yiv1165436180MsoNormal, #yiv1165436180 div.yiv1165436180MsoNormal 
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv1165436180 a:link, 
#yiv1165436180 span.yiv1165436180MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv1165436180 a:visited, #yiv1165436180 
span.yiv1165436180MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv1165436180 p 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv1165436180 code 
{}#yiv1165436180 pre 
{margin:0cm;margin-bottom:.0001pt;font-size:10.0pt;}#yiv1165436180 tt 
{}#yiv1165436180 p.yiv1165436180MsoAcetate, #yiv1165436180 
li.yiv1165436180MsoAcetate, #yiv1165436180 div.yiv1165436180MsoAcetate 
{margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;}#yiv1165436180 
span.yiv1165436180HTMLPreformattedChar {font-family:Consolas;}#yiv1165436180 
p.yiv1165436180attach, #yiv1165436180 li.yiv1165436180attach, #yiv1165436180 
div.yiv1165436180attach 
{margin-right:0cm;margin-left:0cm;font-size:9.0pt;}#yiv1165436180 
p.yiv1165436180bold, #yiv1165436180 li.yiv1165436180bold, #yiv1165436180 
div.yiv1165436180bold 
{margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-weight:bold;}#yiv1165436180
 p.yiv1165436180green, #yiv1165436180 li.yiv1165436180green, #yiv1165436180 
div.yiv1165436180green 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;color:#628C2A;}#yiv1165436180
 p.yiv1165436180replbq, #yiv1165436180 li.yiv1165436180replbq, #yiv1165436180 
div.yiv1165436180replbq {margin:3.0pt;font-size:12.0pt;}#yiv1165436180 
p.yiv1165436180ad, #yiv1165436180 li.yiv1165436180ad, #yiv1165436180 
div.yiv1165436180ad 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv1165436180 
p.yiv1165436180underline, #yiv1165436180 li.yiv1165436180underline, 
#yiv1165436180 div.yiv1165436180underline 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv1165436180 
span.yiv1165436180yshortcuts {}#yiv1165436180 p.yiv1165436180ad1, 
#yiv1165436180 li.yiv1165436180ad1, #yiv1165436180 div.yiv1165436180ad1 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv1165436180 
p.yiv1165436180ad2, #yiv1165436180 li.yiv1165436180ad2, #yiv1165436180 
div.yiv1165436180ad2 
{margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;font-size:12.0pt;}#yiv1165436180
 p.yiv1165436180underline1, #yiv1165436180 li.yiv1165436180underline1, 
#yiv1165436180 div.yiv1165436180underline1 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;text-decoration:underline;}#yiv1165436180
 span.yiv1165436180yshortcuts1 

Re: [flexcoders] Re: uploading files in flex using coldfusion 11

2015-09-23 Thread Dave Glasser dglas...@pobox.com [flexcoders]

That's news to me, that Apple "won the battle of the Flash Player." I have an 
iOS Flex app in the Apple App Store. And the Flash player is probably still 
installed in about 97% of desktop browsers.

  From: "Julian Tenney julian.ten...@nottingham.ac.uk [flexcoders]" 

 To: "flexcoders@yahoogroups.com"  
 Sent: Wednesday, September 23, 2015 9:33 AM
 Subject: RE: [flexcoders] Re: uploading files in flex using coldfusion 11
   
#yiv0242585020 #yiv0242585020 -- #yiv0242585020 
.yiv0242585020ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv0242585020
 
div.yiv0242585020ygrp-photo{background-position:center;background-repeat:no-repeat;background-color:white;border:1px
 solid black;height:62px;width:62px;}#yiv0242585020 
div.yiv0242585020photo-title a, #yiv0242585020 div.yiv0242585020photo-title 
a:active, #yiv0242585020 div.yiv0242585020photo-title a:hover, #yiv0242585020 
div.yiv0242585020photo-title a:visited {text-decoration:none;}#yiv0242585020 
div.yiv0242585020attach-table div.yiv0242585020attach-row 
{clear:both;}#yiv0242585020 div.yiv0242585020attach-table 
div.yiv0242585020attach-row div {float:left;}#yiv0242585020 p 
{clear:both;padding:15px 0 3px 0;overflow:hidden;}#yiv0242585020 
div.yiv0242585020ygrp-file {width:30px;}#yiv0242585020 
div.yiv0242585020attach-table div.yiv0242585020attach-row div div a 
{text-decoration:none;}#yiv0242585020 div.yiv0242585020attach-table 
div.yiv0242585020attach-row div div span {font-weight:normal;}#yiv0242585020 
div.yiv0242585020ygrp-file-title {font-weight:bold;}#yiv0242585020 
#yiv0242585020 #yiv0242585020 #yiv0242585020 -- _filtered #yiv0242585020 
{font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;} _filtered #yiv0242585020 
{font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv0242585020 
{font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv0242585020 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv0242585020 
{font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;} _filtered #yiv0242585020 
{font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;} _filtered #yiv0242585020 
{panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv0242585020 
{font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;} _filtered #yiv0242585020 
{font-family:Connections;panose-1:0 0 0 0 0 0 0 0 0 0;}#yiv0242585020 
#yiv0242585020 p.yiv0242585020MsoNormal, #yiv0242585020 
li.yiv0242585020MsoNormal, #yiv0242585020 div.yiv0242585020MsoNormal 
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv0242585020 a:link, 
#yiv0242585020 span.yiv0242585020MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv0242585020 a:visited, #yiv0242585020 
span.yiv0242585020MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv0242585020 p 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv0242585020 code 
{}#yiv0242585020 pre 
{margin:0cm;margin-bottom:.0001pt;font-size:10.0pt;}#yiv0242585020 tt 
{}#yiv0242585020 p.yiv0242585020MsoAcetate, #yiv0242585020 
li.yiv0242585020MsoAcetate, #yiv0242585020 div.yiv0242585020MsoAcetate 
{margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;}#yiv0242585020 
span.yiv0242585020HTMLPreformattedChar {font-family:Consolas;}#yiv0242585020 
p.yiv0242585020attach, #yiv0242585020 li.yiv0242585020attach, #yiv0242585020 
div.yiv0242585020attach 
{margin-right:0cm;margin-left:0cm;font-size:9.0pt;}#yiv0242585020 
p.yiv0242585020bold, #yiv0242585020 li.yiv0242585020bold, #yiv0242585020 
div.yiv0242585020bold 
{margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-weight:bold;}#yiv0242585020
 p.yiv0242585020green, #yiv0242585020 li.yiv0242585020green, #yiv0242585020 
div.yiv0242585020green 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;color:#628C2A;}#yiv0242585020
 p.yiv0242585020replbq, #yiv0242585020 li.yiv0242585020replbq, #yiv0242585020 
div.yiv0242585020replbq {margin:3.0pt;font-size:12.0pt;}#yiv0242585020 
p.yiv0242585020ad, #yiv0242585020 li.yiv0242585020ad, #yiv0242585020 
div.yiv0242585020ad 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv0242585020 
p.yiv0242585020underline, #yiv0242585020 li.yiv0242585020underline, 
#yiv0242585020 div.yiv0242585020underline 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv0242585020 
span.yiv0242585020yshortcuts {}#yiv0242585020 p.yiv0242585020ad1, 
#yiv0242585020 li.yiv0242585020ad1, #yiv0242585020 div.yiv0242585020ad1 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv0242585020 
p.yiv0242585020ad2, #yiv0242585020 li.yiv0242585020ad2, #yiv0242585020 
div.yiv0242585020ad2 
{margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;font-size:12.0pt;}#yiv0242585020
 p.yiv0242585020underline1, #yiv0242585020 li.yiv0242585020underline1, 
#yiv0242585020 div.yiv0242585020underline1 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;text-decoration:underline;}#yiv0242585020
 span.yiv0242585020yshortcuts1 {font-weight:bold;}#yiv0242585020 

Re: [flexcoders] Re: uploading files in flex using coldfusion 11

2015-09-23 Thread Dave Glasser dglas...@pobox.com [flexcoders]

And further to your point, I think it's naive for someone to assume that 
activity on an email list is a reliable indicator of how widely used, or how 
"dead" a particular technology is.
I think lists like this will have the highest activity when a technology is a.) 
relatively new, and b.) growing rapidly in adoption. Under those circumstances, 
a good portion of the developers/users are unseasoned and unfamiliar, so they 
turn to email lists for help. Kind of like it was with Java and J2EE (Servlets, 
EJB's EARs, etc.) between, say, 1997 and 2001. All of the Java lists I once 
subscribed to (and probably still do) are now dead. But Java, and JEE, are 
obviously far from dead. It's just that anyone who is now new to Java 
development probably has ready access to seasoned experts on their own team. Or 
they can find answers through google because the lists are indexed or the 
questions have already been answered on stackoverflow.

  From: "Brendan Meutzner bmeutz...@gmail.com [flexcoders]" 
<flexcoders@yahoogroups.com>
 To: flexcoders@yahoogroups.com 
 Sent: Wednesday, September 23, 2015 11:26 AM
 Subject: Re: [flexcoders] Re: uploading files in flex using coldfusion 11
   
#yiv4142265442 #yiv4142265442 -- #yiv4142265442 
.yiv4142265442ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv4142265442
 
div.yiv4142265442ygrp-photo{background-position:center;background-repeat:no-repeat;background-color:white;border:1px
 solid black;height:62px;width:62px;}#yiv4142265442 
div.yiv4142265442photo-title a, #yiv4142265442 div.yiv4142265442photo-title 
a:active, #yiv4142265442 div.yiv4142265442photo-title a:hover, #yiv4142265442 
div.yiv4142265442photo-title a:visited {text-decoration:none;}#yiv4142265442 
div.yiv4142265442attach-table div.yiv4142265442attach-row 
{clear:both;}#yiv4142265442 div.yiv4142265442attach-table 
div.yiv4142265442attach-row div {float:left;}#yiv4142265442 p 
{clear:both;padding:15px 0 3px 0;overflow:hidden;}#yiv4142265442 
div.yiv4142265442ygrp-file {width:30px;}#yiv4142265442 
div.yiv4142265442attach-table div.yiv4142265442attach-row div div a 
{text-decoration:none;}#yiv4142265442 div.yiv4142265442attach-table 
div.yiv4142265442attach-row div div span {font-weight:normal;}#yiv4142265442 
div.yiv4142265442ygrp-file-title {font-weight:bold;}#yiv4142265442 
#yiv4142265442 #yiv4142265442 #yiv4142265442 --#yiv4142265442ygrp-mkp 
{border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 
10px;}#yiv4142265442 #yiv4142265442ygrp-mkp hr {border:1px solid 
#d8d8d8;}#yiv4142265442 #yiv4142265442ygrp-mkp #yiv4142265442hd 
{color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 
0;}#yiv4142265442 #yiv4142265442ygrp-mkp #yiv4142265442ads 
{margin-bottom:10px;}#yiv4142265442 #yiv4142265442ygrp-mkp .yiv4142265442ad 
{padding:0 0;}#yiv4142265442 #yiv4142265442ygrp-mkp .yiv4142265442ad p 
{margin:0;}#yiv4142265442 #yiv4142265442ygrp-mkp .yiv4142265442ad a 
{color:#ff;text-decoration:none;}#yiv4142265442 

In my world of enterprise development Flex is still alive and well... Obviously 
different approaches for mobile development (gaming or non) which are better 
but as far as the desktop goes Flex is still "the solution of choice" for my 
needs.  Yeah, obviously the lists died and we are never going to see Flash 
adopted on mobile devices or tablets through the player, but there is still 
definitely a niche for Flex and native applications developed in it.
On Sep 23, 2015 9:41 AM, "Dave Glasser dglas...@pobox.com [flexcoders]" 
<flexcoders@yahoogroups.com> wrote:

     
You must live in a different world than I do, because my world did not "hold 
its breath for Apple putting the Flash Player in iOS."
And Flash/Flex-based apps run fine on both iOS and Android, with little or no 
changes.

  From: "Julian Tenney julian.ten...@nottingham.ac.uk [flexcoders]" 
<flexcoders@yahoogroups.com>
 To: "flexcoders@yahoogroups.com" <flexcoders@yahoogroups.com> 
 Sent: Wednesday, September 23, 2015 10:30 AM
 Subject: RE: [flexcoders] Re: uploading files in flex using coldfusion 11
   


Well, there was a  time when the world held its breath for Apple putting the 
Flash Player in iOS. Is didn’t, and the flash and flex lists died. Just my 
experience.    Now we have browser automagically preventing flash, facebook 
asking for it to be removed etc etc. Most people have moved away from it.    
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
Sent: 23 September 2015 15:28
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: uploading files in flex using coldfusion 11       
   That's news to me, that Apple "won the battle of the Flash Player." I have 
an iOS Flex app in the Apple App Store. And the Flash player is probably still 
installed in about 97% of desktop browsers.    From: "Julian 
te

Re: [flexcoders] Re: flex multiple filter function using text input, combobox and date range

2015-12-03 Thread Dave Glasser dglas...@pobox.com [flexcoders]
Help with what?

  From: "stinas...@yahoo.com [flexcoders]" 
 To: flexcoders@yahoogroups.com 
 Sent: Thursday, December 3, 2015 9:31 AM
 Subject: [flexcoders] Re: flex multiple filter function using text input, 
combobox and date range
   
 


any help?



 

Re: [flexcoders] Xframe option in flex

2015-12-09 Thread Dave Glasser dglas...@pobox.com [flexcoders]
X-Frame-Options is an HTTP response header. It is set on the server. You can't 
set it from your Flex code.

  From: "Ranadeep ghosh rnd...@yahoo.in [flexcoders]" 

 To: "flexcoders@yahoogroups.com"  
 Sent: Wednesday, December 9, 2015 4:21 AM
 Subject: [flexcoders] Xframe option in flex
   
 

    

I am working on a project where I have to add the xframe options ( 
DENY,ALLOW,SAMEORIGIN ) to prevent click jacking in flex code. 
I have googled about it, but didn't get much about the syntax part. If someone 
is aware of it, please help me with the syntax.