[flexcoders] socket policy question

2008-05-08 Thread zenwarden
I have a flex application the uses binary sockets. It does not work
with the new security update. To fix this I have implemented a server
that listens on port 843. 

This works. I have just one problem.

I am currently using the wildcard * in the allow-access-from domain
attribute.

Like this: 
allow-access-from domain=* to-ports=123,456-458 /

I do not want to have to do this. I just want to specify that if the
swf was served from the server itself, then it can have access.

Is there a way to do this with out actually hard coding that domain?
I tried localhost, but that does not work. Is there some key word
that will specify this behavior?

Thanks,

Chris




[flexcoders] Important question about FABridge license

2007-03-19 Thread zenwarden
Can someone from Adobe tell me WHICHliecnse is the actual license for
the Flex Ajax bridge?

There is a license included in the download zip that is very
restrictive AND there is also a license in the code (both js and as
files) that is the exact oppsite and completely none restrictive. The
Adobe bloggers (like Ely) have claimed that the bridge is using the
MIT License type

So I am very confused and basically I am going to have to pull all the
code out and redo it using the External Call back mechanism (not fun).





[flexcoders] Re: Serious Bug in HistoryManager (introduced in latest release?)

2007-02-07 Thread zenwarden
I can't test the fix because I cannot replicate the bug. It has
mysteriously vanished...The next time I see it, I will try the
suggested fix and report back.

Also sorry if I ranted in my last post. Just don't like to see any
problems with my new favorite technology.



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

 I will give it a try.
 
 One question and one comment:
 
 Question: Did you actually mean drag manager or did you mean History
 manager? (I'll try both sperately).
 
 Commnet: I've been a virtual evenagilist for flex at the company I
 work for; I am very impressed with product and love using it. But this
 does make me a bit nervous. I'm also really hoping that what you are
 sayimg about singletons is not true. Singletons should never be used 
 liberally like this. It's a lazy solution to resource mamnagemnt
 issues. The whole point of design patterns is (in my humble opinion)
 to solve an EXISTING problem. You don't use a singlton because you
 can, or because it's neat or even because you think it will be
 effecient or cleaner --- you use a sington (and any pattern) after
 you've identified a problem.
 
 The flex team needs to stop reading design pattern book.
 
 To sum up: you can always tell what chapter in gang of four a coder is
 reading, its the pattern they are sticking into all their code :) 
 
 
 
  
 
 
 
 
 --- In flexcoders@yahoogroups.com, Bjorn Schultheiss
 bjorn.schultheiss@ wrote:
 
  Here's a reply i got from one of the engineers, Alex Harai on what  
  could be a related issue.
  
  
  This error occurs for two reasons:  One is that somehow, the  
  DragManager or DragManagerImpl is not linked into the movie.
  
  The other, and more common reason is that more than one module is  
  using the DragManager, but the main application does not..  Modules  
  operate in their own application domain, and thus cannot share  
  singletons unless that singleton is loaded by the parent application  
  domain.  The simple solution is to link the DragManager into the
main  
  application by putting something like this in a script block
  
  import mx.managers.DragManager;
  
  var dm:DragManager;
  
  This fattens your application a little.  More complex solutions  
  involve loading the DragManager into the main application's  
  application domain.
  
  The above is true for all managers handled by Singleton and lots of  
  other shared classes in Flex as well.
  
  
  
  
  
  
  
  
  On 06/02/2007, at 11:49 AM, zenwarden wrote:
  
   I am seeing this mostly when I run unit test using the flexunit.swf.
   And I am consistantly seeing it in that situation
  
   I do occasionaly see it when running a single-swf app through the
   builder (However it is making a connection to a server when it  
   occurs).
  
   Chris W
  
   --- In flexcoders@yahoogroups.com, Bjorn Schultheiss
   bjorn.schultheiss@ wrote:
   
does your app use modules, or built using multiple swfs?
   
   
On 06/02/2007, at 5:49 AM, zenwarden wrote:
   
 There appears to be a failry serious bug that I think was  
   introduced
 in the history manager in the latest release 2.0.1

 I never got this errro until I updated and I now see it in a  
   variety
 of situations (including whenever I run testcases. )

 Shutting down the borwoser or even switching borwsers does NOT  
   help. I
 mostly see it when I am running from the flex builder, but
when  
   you
 are trying to run tests -- this becomes failry serious and
very  
   time
 consuming.

   
  
  
  
 





[flexcoders] Re: Serious Bug in HistoryManager (introduced in latest release?)

2007-02-06 Thread zenwarden
I will give it a try.

One question and one comment:

Question: Did you actually mean drag manager or did you mean History
manager? (I'll try both sperately).

Commnet: I've been a virtual evenagilist for flex at the company I
work for; I am very impressed with product and love using it. But this
does make me a bit nervous. I'm also really hoping that what you are
sayimg about singletons is not true. Singletons should never be used 
liberally like this. It's a lazy solution to resource mamnagemnt
issues. The whole point of design patterns is (in my humble opinion)
to solve an EXISTING problem. You don't use a singlton because you
can, or because it's neat or even because you think it will be
effecient or cleaner --- you use a sington (and any pattern) after
you've identified a problem.

The flex team needs to stop reading design pattern book.

To sum up: you can always tell what chapter in gang of four a coder is
reading, its the pattern they are sticking into all their code :) 



 




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

 Here's a reply i got from one of the engineers, Alex Harai on what  
 could be a related issue.
 
 
 This error occurs for two reasons:  One is that somehow, the  
 DragManager or DragManagerImpl is not linked into the movie.
 
 The other, and more common reason is that more than one module is  
 using the DragManager, but the main application does not..  Modules  
 operate in their own application domain, and thus cannot share  
 singletons unless that singleton is loaded by the parent application  
 domain.  The simple solution is to link the DragManager into the main  
 application by putting something like this in a script block
 
 import mx.managers.DragManager;
 
 var dm:DragManager;
 
 This fattens your application a little.  More complex solutions  
 involve loading the DragManager into the main application's  
 application domain.
 
 The above is true for all managers handled by Singleton and lots of  
 other shared classes in Flex as well.
 
 
 
 
 
 
 
 
 On 06/02/2007, at 11:49 AM, zenwarden wrote:
 
  I am seeing this mostly when I run unit test using the flexunit.swf.
  And I am consistantly seeing it in that situation
 
  I do occasionaly see it when running a single-swf app through the
  builder (However it is making a connection to a server when it  
  occurs).
 
  Chris W
 
  --- In flexcoders@yahoogroups.com, Bjorn Schultheiss
  bjorn.schultheiss@ wrote:
  
   does your app use modules, or built using multiple swfs?
  
  
   On 06/02/2007, at 5:49 AM, zenwarden wrote:
  
There appears to be a failry serious bug that I think was  
  introduced
in the history manager in the latest release 2.0.1
   
I never got this errro until I updated and I now see it in a  
  variety
of situations (including whenever I run testcases. )
   
Shutting down the borwoser or even switching borwsers does NOT  
  help. I
mostly see it when I am running from the flex builder, but when  
  you
are trying to run tests -- this becomes failry serious and very  
  time
consuming.
   
  
 
 
 





[flexcoders] Serious Bug in HistoryManager (introduced in latest release?)

2007-02-05 Thread zenwarden
There appears to be a failry serious bug that I think was introduced
in the history manager in the latest release 2.0.1

I never got this errro until I updated and I now see it in a variety
of situations (including whenever I run testcases. )

Shutting down the borwoser or even switching borwsers does NOT help. I
mostly see it when I am running from the flex builder, but when you
are trying to run tests -- this becomes failry serious and very time
consuming.

The error message is:

ArgumentError: Error #2082: Connect failed because the object is
already connected.
at flash.net::LocalConnection/connect()
at mx.managers::HistoryManagerImpl$iinit()
at mx.managers::HistoryManagerImpl$/getInstance()
at mx.core::Singleton$/getInstance()
at mx.managers::HistoryManager$/get ::impl()
at mx.managers::HistoryManager$/register()
at mx.containers::ViewStack/::addedHandler()
at flash.display::DisplayObjectContainer/addChildAt()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$addChildAt()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.containers::Panel/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.containers::Panel/mx.containers:Panel::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at flexunit.flexui::TestRunnerBase/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at mx.core::Application/initialize()
at sgtTestRunner/initialize()
at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.managers::SystemManager/::initializeTopLevelWindow()
at mx.managers::SystemManager/::docFrameHandler()


Is Adobe planning on addressing this issue? I know other coders are
posting on this. I have heard nothing from Abode however.

Chris Warden



[flexcoders] Re: Serious Bug in HistoryManager (introduced in latest release?)

2007-02-05 Thread zenwarden
I am seeing this mostly when I run unit test using the flexunit.swf.
And I am consistantly seeing it in that situation

I do occasionaly see it when running a single-swf app through the
builder (However it is making a connection to a server when it occurs). 

Chris W


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

 does your app use modules, or built using multiple swfs?
 
 
 On 06/02/2007, at 5:49 AM, zenwarden wrote:
 
  There appears to be a failry serious bug that I think was introduced
  in the history manager in the latest release 2.0.1
 
  I never got this errro until I updated and I now see it in a variety
  of situations (including whenever I run testcases. )
 
  Shutting down the borwoser or even switching borwsers does NOT help. I
  mostly see it when I am running from the flex builder, but when you
  are trying to run tests -- this becomes failry serious and very time
  consuming.
 





[flexcoders] Is this a bug in mx:List?

2006-12-21 Thread zenwarden
I was implementing a filter on a list of values and noticed that when
I scroll down the list and then try and filter an error is thrown.

Here is the error:
TypeError: Error #1010: A term is undefined and has no properties.
at mx.controls::List/::adjustVerticalScrollPositionDownward()
at mx.controls::List/mx.controls:List::configureScrollBars()
at
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::updateDisplayList()
at mx.controls::List/mx.controls:List::updateDisplayList()
at mx.core::UIComponent/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()

seems to be an indexing problem based at this line list:
h = rowInfo[rowCount - 1].y + rowInfo[rowCount - 1].height; 

(line 789 in my code base)


Here is the code I used to generate the result.
(This is based on a Ben Forta example. he used 
a datagrid -- the erro does not occure with datagrid just list.)

The code:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=vertical creationComplete=initApp()

   mx:Script
   ![CDATA[

   // On startup
   public function initApp():void
   {

  // Set filter function   // Be careful to set filterFunction
  // only after ArrayCollection has been   // populated.
  myData.filterFunction=processFilter;
   }
  
   // Filter function
   public function processFilter(item:Object):Boolean
   {
  var result:Boolean=false;

  // If no filter text, or a match, then true
  if (!item.length
 || item.indexOf(txtFilter.text) = 0)
 result=true;

  return result;
   }
   
   private var theSource:Array = [foo, bar, foobar, flex,
adobe, ajax, java, drstrange]
   ]]
   /mx:Script

   !-- Data (use ArrayCollection) --
   mx:ArrayCollection id=myData source={theSource}
   
   /mx:ArrayCollection

   !-- UI --
   mx:HBox width=100%
  mx:Label text=Filter:/
  mx:TextInput id=txtFilter width=100%
  change=myData.refresh()/
   /mx:HBox
   mx:List dataProvider={myData}
   width=100% height=82

   /mx:List
   
/mx:Application




[flexcoders] Re: Best practice: string tables

2006-12-08 Thread zenwarden
Is there a way to have these properties not load at compile time, but
rather be read at run time? One of the nicest things about properties
in java and other langauges is that they allow you to change or modify
behavior and values without recompiling code.

Flash seems to ignore this concept both with properties and with css.


Chris


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

 Flex already has the concept of resource bundles. You put your
 localizable strings in .properties files, which get compiled into
 ResourceBundle classes. You can then fetch strings out of the
 ResourceBundles, most easily in MXML with the @Resource() directive. The
 docs have info about this..
 
  
 
 - Gordon
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Giles Roadnight
 Sent: Thursday, December 07, 2006 9:30 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Best practice: string tables
 
  
 
 Hi All.
 
  
 
 In my previous flash projects we've had a string table of sorts set up
 so that all the strings in the application can be edited easily. We can
 also easily modify the strings for foreign users.
 
  
 
 I have taken this idea and implemented it in Flex as follows.
 
 In the main application I have this code:
 
  
 
 [Bindable]
 
 public var dialogueText:Object = {
 
 loginBoxHeader:Member Login,
 
  
 
 to set up the string table (obviously other strings in there as well).
 
  
 
 In my login component I have the following:
 
  
 
 [Bindable]
 
 private var mainApplication:Object = mx.core.Application.application;
 
  
 
 and
 
  
 
 mx:Label x=10 y=12
 text={mainApplication.dialogueText.loginUsername}/
 
  
 
 Is this the best way of doing this or will having all of these bound
 variables around the place slow things down?
 
 Is there a better way of doing this?
 
  
 
 Many Thanks
 
  
 
 Giles Roadnight





[flexcoders] Problem with Flex-Ajax Bridge: Error calling method on NPObject!

2006-11-30 Thread zenwarden
Hello,

I am using the flex ajax bridge. Up until now it's been easy to work
with, but I have finally encountered a problem.  

I am trying to find out if I can pass my own custom objects. I am
trying to pass data from one flex application to another. I CANNOT use
a server, so I am using the bridge. This has worked when I pass
strings or even complex arrays, but when I try to pass a class I have
defined in an .AS file, I get an error, specifically:

Error: Error calling method on NPObject!
Source File: http://172.31.67.224/FABridge.js
Line: 236

So I would like to know:

1) Are we even allowed to do this via the bridge?
2) If we are allowed,  do I need to import the class somehow into the
javascript?

Here is what the code looks like in the javascript:

function loader() {

window.resizeTo(700, 700);


var initCallback = function()
 {

var flexWin = window.opener;
var statBridge = flexWin.makeBridge();

var testRep = statBridge.getReportData();  
alert(in call back: + testRep);

var flexApp = FABridge.flash.root();
alert(about to pass in metadata);

flexApp.fetchData(testRep);


   alert(done with fetch data);
 
 
 
 }
 FABridge.addInitializationCallback(flash,initCallback);
 
 

}

If the methods getReportData() and fetchData() take strings or arrays
as arguments I am fine, but when I try and use my own custom class I
get the error.

Thank you,

Chris Warden









[flexcoders] Re: searching or filtering a tree

2006-11-16 Thread zenwarden
How does this work? You are always returning true.


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

 Hi Chris,
 
 Yes, if you want a filterFunction to work on hierarchical data then
 you will need to override refresh().  The following class is a bit of
 a hack, but it does work:
 
 
 public class FilterCollection extends XMLListCollection
 {
   public function FilterCollection(source:XMLList):void
   {
   super(source);
   }
   
   override public function refresh():Boolean
   {
   this.localIndex = this.toArray();
   
   var copy:XMLListCollection = new
 XMLListCollection(XMLList(this.toXMLString()));
   
   doFilter(this.filterFunction, copy.children());
   function doFilter(filterFunc:Function, items:XMLList):void
   {
   var len:int = items.length();
   for (var i:int = len-1; i = 0; i--)
   {
   var childList:XMLList = items[i].children();
   if (!filterFunc(items[i]))
   {
   delete items[i];
   }
   if (childList.length()  0)
   {
   doFilter(filterFunc, childList);
   }
 
   } 
   }
   
   this.localIndex = copy.toArray();
   return true;
   }
 }
 
 --- In flexcoders@yahoogroups.com, zenwarden cwarden@ wrote:
 
  I have a type in the msg. below it should be Tree control not IEEE.
  
  
  --- In flexcoders@yahoogroups.com, zenwarden cwarden@ wrote:
  
   Hi,
   
   I have a IEEE control that I wish to make searchable. I found a good
   example of Filtering Data In Flex at the forta blog.
   See:
  http://www.forta.com/blog/index.cfm/2006/7/13/Filtering-Data-In-Flex.
   
   When I tried to apply this to a tree I found that the filter
function
   only iterates over the top level nodes of an XMLListCollection.
   
   Does this mean I have to overwrite refresh() in XMLListCollection?
   That's not a trivial task.
   
   Does anyone have any suggestions or experience with this?
   
   Chris
  
 






[flexcoders] Re: searching or filtering a tree

2006-11-16 Thread zenwarden
Ignore the comment below. It is acceptable (at least in a hack) to
always return true. 

Sadly, this code example is not working, but it has put me on the
right trail. 

Thanks.

Chris 

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

 How does this work? You are always returning true.
 
 
 --- In flexcoders@yahoogroups.com, dwischusen dwischusen@ wrote:
 
  Hi Chris,
  
  Yes, if you want a filterFunction to work on hierarchical data then
  you will need to override refresh().  The following class is a bit of
  a hack, but it does work:
  
  
  public class FilterCollection extends XMLListCollection
  {
  public function FilterCollection(source:XMLList):void
  {
  super(source);
  }
  
  override public function refresh():Boolean
  {
  this.localIndex = this.toArray();
  
  var copy:XMLListCollection = new
  XMLListCollection(XMLList(this.toXMLString()));
  
  doFilter(this.filterFunction, copy.children());
  function doFilter(filterFunc:Function, items:XMLList):void
  {
  var len:int = items.length();
  for (var i:int = len-1; i = 0; i--)
  {
  var childList:XMLList = items[i].children();
  if (!filterFunc(items[i]))
  {
  delete items[i];
  }
  if (childList.length()  0)
  {
  doFilter(filterFunc, childList);
  }
  
  } 
  }
  
  this.localIndex = copy.toArray();
  return true;
  }
  }
  
  --- In flexcoders@yahoogroups.com, zenwarden cwarden@ wrote:
  
   I have a type in the msg. below it should be Tree control not IEEE.
   
   
   --- In flexcoders@yahoogroups.com, zenwarden cwarden@ wrote:
   
Hi,

I have a IEEE control that I wish to make searchable. I found
a good
example of Filtering Data In Flex at the forta blog.
See:
  
http://www.forta.com/blog/index.cfm/2006/7/13/Filtering-Data-In-Flex.

When I tried to apply this to a tree I found that the filter
 function
only iterates over the top level nodes of an XMLListCollection.

Does this mean I have to overwrite refresh() in XMLListCollection?
That's not a trivial task.

Does anyone have any suggestions or experience with this?

Chris
   
  
 






[flexcoders] Re: setting stroke and/or liine stroke in charts via a stylesheet

2006-11-07 Thread zenwarden
Thanks, I already have a solution:
I dynamically create a stroke object and give it the attributes I
want, but I will check out the link( think I already saw it).

Chris



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

  
  
 Yeah, unfortunately you can't specify objects in CSS...meaning no
 strokes or fills (sort of...we cheat and convert numbers to SolidColor
 fills).
  
  
 I have some code that allows you to specify MXML stylesheets, which can
 include arbitrary MXML in them.  Check it out in the ChartSampler:
  
  
 http://www.quietlyscheming.com/blog/charts/chart-sampler/
  
 Ely.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of zenwarden
 Sent: Tuesday, November 07, 2006 1:06 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] setting stroke and/or liine stroke in charts via a
 stylesheet
 
 
 
 Does anyone have an example of using a stylesheet to set the stoke
 weight and color of a linechart/lineseries?
 
 Here is the style I am using
 
 mx:Style
 .myChart {
 
 fontSize: 12;
 color: #FF;
 
 }
 
 .myLineSeries {
 
 form: segmet;
 
 
 
 }
 /mx:Style
 
 I would like to add 
 something like:
 
 lineStroke=Stroke(0xE47801,3)
 
 But that does not seem to work...
 
 I am creating some charts dynamically so cannot specify this stuff 
 using mxml. Is there a way, at least, to do it programatically -- that
 would also work.
 
 Chris
 
 P.S. Yes I have searched for this in the user groups and on the web. I
 see no specific examples for linestokes ( other than mxml).






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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: mx:renderer not found

2006-11-07 Thread zenwarden
OK, I found the answer to this mself:


mx:LineChart  

mx:seriesFilters
mx:Array/
/mx:seriesFilters


...

You use seriesFilters tag and set with an empty array.

Chris



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

 Hi,
 
 I am trying to remove dropshadows from my line series chart.
 
 I am trying this:
 
 mx:LineSeries id=lineSeries   
  mx:renderer
   mx:SimpleLineRenderer /
  /mx:renderer   
 mx:lineStroke
  mx:Stroke weight=1 color=black
  /mx:Stroke
  /mx:lineStroke
 /mx:LineSeries  
 
 and my flexbuilder shows an error:
 Could not resolve mx: renderer to a component implentation.
 
 I have seen this same code posted in this group, with commments thatit
 is working.
 
 What am I doing wrong?
 
 Chris






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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] mx:renderer not found

2006-11-06 Thread zenwarden
Hi,

I am trying to remove dropshadows from my line series chart.

I am trying this:

mx:LineSeries id=lineSeries 
 mx:renderer
  mx:SimpleLineRenderer /
 /mx:renderer 
mx:lineStroke
 mx:Stroke weight=1 color=black
 /mx:Stroke
 /mx:lineStroke
/mx:LineSeries

and my flexbuilder shows an error:
Could not resolve mx: renderer to a component implentation.

I have seen this same code posted in this group, with commments thatit
is working.

What am I doing wrong?

Chris






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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: IE Only: Error #2032 (Flex 2.0)

2006-10-25 Thread zenwarden
I think you may be wrong about the problem. I have now confirmed that
 am able to get back content that has an Expires: 0 header.

I think the Content-Encoding: gzip is the problem. Not the header, but
the actual encoding itself. I have seen several reports of this on the
web. 

see: http://blog.jasonnussbaum.com/?p=155

Did you you change the encoding? On the example that works?

Chris

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

 I am seeing this same problem on a legacy server I am working on. It
 would be very hard to change the responce header from 0 to -1. Is
 there a work around? 
 
 Can I catch the error? And still get the result?
 
 Thanks,
 
 Chris
 
 --- In flexcoders@yahoogroups.com, dadrobson jim.robson@ wrote:
 
  Vito:
  
  Sorry for the slow response. I haven't been able to spend much time in
  the group lately.
  
  Here is a sample header that works. The key is the value of the
  Expires attribute. If it is set to 0, IE breaks: 
  
  HTTP/1.x 200 OK
  Server: Apache-Coyote/1.1
  Expires: -1
  Pragma: no-cache
  Cache-Control: no-cache, no-store, max-age=0
  Content-Encoding: gzip
  Content-Type: text/xml;charset=ISO-8859-1
  Content-Language: en-US
  Content-Length: 194
  Date: Thu, 05 Oct 2006 15:11:23 GMT
  
  
  HTH
  -Jim
  
  --- In flexcoders@yahoogroups.com, vitopn vitopn@ wrote:
  
   What exactly were the guilty headers?  What headers did you replace
   them with?  
   
   Thanx,
   -Vito
  
 






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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: IE Only: Error #2032 (Flex 2.0)

2006-10-25 Thread zenwarden
I have now confirmed that (in my case at least) gzip encoding was the
problem NOT Expires: 0.

I have a working example with the following header information:

HTTP/1.0 200 OK
Server: httpd/1.00
Cache-Control: no-cache
Expires: 0
Content-Type: text/xml

which worked.

the original response which was failing was due to gzip encoding:

HTTP/1.0 200 OK
Server: httpd/1.00
Cache-Control: no-cache
Expires: 0
Content-Type: text/xml
Content-Encoding: gzip
Content-Length: 921

This appears to be a IE bug. Not flash.

Chris Warden




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

 I think you may be wrong about the problem. I have now confirmed that
  am able to get back content that has an Expires: 0 header.
 
 I think the Content-Encoding: gzip is the problem. Not the header, but
 the actual encoding itself. I have seen several reports of this on the
 web. 
 
 see: http://blog.jasonnussbaum.com/?p=155
 
 Did you you change the encoding? On the example that works?
 
 Chris
 
 --- In flexcoders@yahoogroups.com, zenwarden cwarden@ wrote:
 
  I am seeing this same problem on a legacy server I am working on. It
  would be very hard to change the responce header from 0 to -1. Is
  there a work around? 
  
  Can I catch the error? And still get the result?
  
  Thanks,
  
  Chris
  
  --- In flexcoders@yahoogroups.com, dadrobson jim.robson@ wrote:
  
   Vito:
   
   Sorry for the slow response. I haven't been able to spend much
time in
   the group lately.
   
   Here is a sample header that works. The key is the value of the
   Expires attribute. If it is set to 0, IE breaks: 
   
   HTTP/1.x 200 OK
   Server: Apache-Coyote/1.1
   Expires: -1
   Pragma: no-cache
   Cache-Control: no-cache, no-store, max-age=0
   Content-Encoding: gzip
   Content-Type: text/xml;charset=ISO-8859-1
   Content-Language: en-US
   Content-Length: 194
   Date: Thu, 05 Oct 2006 15:11:23 GMT
   
   
   HTH
   -Jim
   
   --- In flexcoders@yahoogroups.com, vitopn vitopn@ wrote:
   
What exactly were the guilty headers?  What headers did you
replace
them with?  

Thanx,
-Vito
   
  
 






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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: IE Only: Error #2032 (Flex 2.0)

2006-10-24 Thread zenwarden
I am seeing this same problem on a legacy server I am working on. It
would be very hard to change the responce header from 0 to -1. Is
there a work around? 

Can I catch the error? And still get the result?

Thanks,

Chris

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

 Vito:
 
 Sorry for the slow response. I haven't been able to spend much time in
 the group lately.
 
 Here is a sample header that works. The key is the value of the
 Expires attribute. If it is set to 0, IE breaks: 
 
 HTTP/1.x 200 OK
 Server: Apache-Coyote/1.1
 Expires: -1
 Pragma: no-cache
 Cache-Control: no-cache, no-store, max-age=0
 Content-Encoding: gzip
 Content-Type: text/xml;charset=ISO-8859-1
 Content-Language: en-US
 Content-Length: 194
 Date: Thu, 05 Oct 2006 15:11:23 GMT
 
 
 HTH
 -Jim
 
 --- In flexcoders@yahoogroups.com, vitopn vitopn@ wrote:
 
  What exactly were the guilty headers?  What headers did you replace
  them with?  
  
  Thanx,
  -Vito
 







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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] UDP support in Socket

2006-10-06 Thread zenwarden
Does the socket class support UDP?

I have tried to get it to work with a connect call and cannot do it.
There does not seem to be anything equivalent to
DatagramSocket.bind(SocketAddress addr);

Any info would help, including future plans. 


Chris Warden





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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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




[flexcoders] Re: plug-in detection not working for IE

2006-10-03 Thread zenwarden
You really think that's the problem? The same pages work fine in frirefox.

Chris

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

 Try uninstalling and re-installing the Player.  Maybe it didn't get set
 up in the registry correctly?
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of zenwarden
 Sent: Wednesday, September 27, 2006 9:21 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] plug-in detection not working for IE
 
  
 
 The plug-in detection that is generated by the flex builder ( in the
 AC_OETags.js file) does not seem to be working for IE (or at least my
 version: 6. 0.2800).
 
 I know that IE has the right plug-in because I can run the swf file
 directly. But I get the Alternate HTML content should be placed here.
 This content requires the Adobe Flash Player. Get Flash message when
 I try to go through the myappname.html page. This happen both when I
 run through the builder and when I post files on a server.
 
 Is this a known bug? There is a plethora of information on the adobe
 site on browser detection, and I would appreciate it if someone could
 just narrow the field for me on how to fix this. I am not too keen on
 debugging the current AC_OETags.js.
 
 Chris Warden








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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] plug-in detection not working for IE

2006-09-27 Thread zenwarden
The plug-in detection that is generated by the flex builder ( in the
AC_OETags.js file) does not seem to be working for IE (or at least my
version: 6. 0.2800).

I know that IE has the right plug-in because I can run the swf file
directly. But I get the Alternate HTML content should be placed here.
This content requires the Adobe Flash Player. Get Flash message when
I try to go through the myappname.html page. This happen both when I
run through the builder and when I post files on a server.

Is this a known bug? There is a plethora of information on the adobe
site on browser detection, and I would appreciate it if someone could
just narrow the field for me on how to fix this. I am not too keen on
debugging the current AC_OETags.js.

Chris Warden







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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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