Re: [flexcoders] Re: SWC Encrypt 2.0 - Does it work?

2008-06-18 Thread Joseph Balderson
Damn thread splicing. I didn't realize at the time that this thread was 
30+ posts long, not 6. Gotta remember to look at the Re: in the 
subject... :P
___

Joseph Balderson, Developer | http://joeflash.ca | 705-466-6345


Tom Chiverton wrote:
> On Wednesday 04 Jun 2008, Joseph Balderson wrote:
>> Ah. I thought he was talking about SWCEncrypt, which is actually an
>> obfuscator. 
> 
> Yeah, but SWFObfuscator isn't as cool a product name, so I guess they went 
> with being confusing...
> 



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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[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] Flex and Flash 9 movies in Firefox

2008-06-18 Thread Michelle Grigg
Hi guys!

I'm perplexed.

I have a Flex 2 application that runs a little Flash 9 movie within it
at one point.  This SWF requires user interaction in the form of
typing a letter into a textbox.

Strange things occur in Firefox when, once you get to the frame with
the textbox (focus is set to it so that the cursor is blinking), then
alt-tab to another window and go back, you cannot interact with the
textbox at all.  The cursor has gone, and clicking on the control does
nothing.  Clicking on a button works, however.

Anyone know how to fix this?  Anyone even had this problem themselves?
It ONLY happens in Firefox.

Cheers,
Michelle



Re: [flexcoders] How to rotate a Combo Box

2008-06-18 Thread Josh McDonald
Maybe I missed the point? I thought I'd try a quick test, but of course
since I'm not embedding the font all labels disappear when you rotate them,
so I can't see if the label is rotating or not :)

-Josh

On Thu, Jun 19, 2008 at 3:23 PM, Alex Harui <[EMAIL PROTECTED]> wrote:

>  Font-face
>
>
>
> However, you shouldn't need that to see if the TI rotates.  So what if the
> font disappears.
>
>
>  --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Wednesday, June 18, 2008 9:59 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] How to rotate a Combo Box
>
>
>
> Is there an easy way to tell the compiler to embed fonts so I can test
> this? Or do I have to dig up / convert them into SWF format first?
>
> -Josh
>
> On Thu, Jun 19, 2008 at 2:45 PM, Alex Harui <[EMAIL PROTECTED]> wrote:
>
> The internal TextInput doesn't rotate?  Post a test case.
>
>
>  --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *wyattwang
> *Sent:* Wednesday, June 18, 2008 12:31 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] How to rotate a Combo Box
>
>
>
>
> Here's the problem.
>
> After setting myComboBox.rotation = 270 the box itself can be rotated.
> But the dropdown and textInput inside won't rotate.
>
> By extending the mx:ComboBox, dropdown.rotation = 270 will work, but
> the textInput.rotation = 270 does not work. Font Arial was embedded
> into the application. How to make the textInput inside rotate to 270?
>
> +---+
> | |>|
> | |
> | |
> | |
> | |
> | |
> | |
> +---+
>
> Thanks.
>
>
>
>
> --
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
>
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>
> 
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


RE: [flexcoders] How to rotate a Combo Box

2008-06-18 Thread Alex Harui
Font-face

 

However, you shouldn't need that to see if the TI rotates.  So what if
the font disappears.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Wednesday, June 18, 2008 9:59 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to rotate a Combo Box

 

Is there an easy way to tell the compiler to embed fonts so I can test
this? Or do I have to dig up / convert them into SWF format first?

-Josh

On Thu, Jun 19, 2008 at 2:45 PM, Alex Harui <[EMAIL PROTECTED]
 > wrote:

The internal TextInput doesn't rotate?  Post a test case.

 



From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com  ]
On Behalf Of wyattwang
Sent: Wednesday, June 18, 2008 12:31 PM
To: flexcoders@yahoogroups.com  
Subject: [flexcoders] How to rotate a Combo Box

 


Here's the problem. 

After setting myComboBox.rotation = 270 the box itself can be rotated.
But the dropdown and textInput inside won't rotate.

By extending the mx:ComboBox, dropdown.rotation = 270 will work, but
the textInput.rotation = 270 does not work. Font Arial was embedded
into the application. How to make the textInput inside rotate to 270? 

+---+
| |>|
| |
| |
| |
| |
| |
| |
+---+

Thanks. 




-- 
"Therefore, send not to know For whom the bell tolls. It tolls for
thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]   

 



RE: [flexcoders] Re: My Web Service with soap headers code no longer work with Flex 3

2008-06-18 Thread Rick Winscot
ROWR! I LVE Charles.

 

Rick Winscot

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Wednesday, June 18, 2008 8:41 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: My Web Service with soap headers code no
longer work with Flex 3

 

Hence me plugging Charles like I wrote the thing :)

On Thu, Jun 19, 2008 at 8:03 AM, Rick Winscot <[EMAIL PROTECTED]>
wrote:

Josh - remember that one of the big issues with SOAP is that Flex doesn't
understand anything beyond a 200 response.

 

Rick Winscot

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Wednesday, June 18, 2008 10:19 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: My Web Service with soap headers code no
longer work with Flex 3

 

Looks to me like there's a problem with your namespaces in the bad request.
I don't know much about soap headers, but where's that "radarXML" namespace
coming from? 

The SOAP code in Flex 3 is stricter than Flex 2's, so besides a couple of
bugs it behaves better than Flex 2's SOAP code, but often when migrating it
will expose problems in your WSDLs or XSDs that appear to be bugs in Flex 3.
It could be that there's something in your schema that is including the
radarXML namespace for the outer  element, but your server isn't
actually expecting that so it's complaining, and you were just lucky that
flex 2's SOAP code didn't generate the request correctly.

What's the server returning? A 500? If it's a SOAP fault, what does it say?
One of the reasons you want to use Charles is that you can see the error
codes when you get an error code from the server, whereas the browser hides
the details from the Flash Player so they never make it back into Flex,
often hiding very useful troubleshooting information.

-Josh

On Wed, Jun 18, 2008 at 11:46 PM, Mark <[EMAIL PROTECTED]> wrote:

So I downloaded "Charles 3.2.1" to see what I'm getting. Running the
code from 2.0.1 all is fine.  But with 3.0 here's what I'm getting.

http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>


soap:Server
Server was unable to process request. --> Object
reference not set to an instance of an object.





Under the "Request" top tab and "XML Text" bottom tab there's some
differences:


http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>


http://tempuri.org/";>

admin


admin





http://tempuri.org/"; />




http://schemas.xmlsoap.org/soap/envelope/";
xmlns:s="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

http://tempuri.org/";
xmlns:ns0="http://radar.us.na.ey.net/RadarXML.asmx";>


admin


admin





http://tempuri.org/"; />



Another point to mention is that the swf and the wsdl sit in the
same direcory on the server so a crossdomain file isn't necessary.
But again, I can't get this to rum from Flex Builder.  I also tested
this with useProxy set to true and false. Setting it to false gives
the same response, seting it to true shoot off new errors.

It sounds like from what Rick was saying this is not an issue with
the Flash Player as I'm using 9.0.124.  This is an issue with Flex
3.0, is that correct?






--- In flexcoders@yahoogroups.com, "Rick Winscot" <[EMAIL PROTECTED]>
wrote:

>
> Tracy - actually, you are right on the money. The Authorization
header was
> blocked and then re-instated in 9.0.124. You can still work around
the issue
> if you compile in Flex  2.0.1 since the RPC bits are still intact
there.
> however - in 3.0 they have changed.
>
>
>
> From the 3.0.x Flex SDK - AbstractWebService.as
>
>
>
> " The username and password to authenticate a user when accessing
the
> webservice. These will be passed as part of the HTTP Authorization
header
> from the proxy to the endpoint. If useProxy is false this property
will be
> ignored."
>
>
>
> There is also the issue of allowing the header from your
crossdomain file.
>
>
>
> http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403184
>
>
>
>
> Rick Winscot
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of Mark
> Sent: Tuesday, June 17, 2008 9:34 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: My Web Service with soap headers code no
longer
> work with Flex 3
>
>
>
> HI,
>
> I guess what I'm not understanding is the fact that when I run
this
> code from Flex Builder 2 it works, but when I run it out of FB 3
it
> doesn't. The Flash Player version would make sence to me but not
> working in one and not the other. I'm using 9.0.124.0 Debug.
>
> HERE'S MY ERROR IN FB3:
>
> (mx.rpc::Fault)#0
> errorID = 0
> faultCode = "Server.Error.Request"
> faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false
> cancelable=false eventPhase=2 text="Error #2032: Stream Error.
URL:
> http://rada

Re: [flexcoders] How to rotate a Combo Box

2008-06-18 Thread Josh McDonald
Is there an easy way to tell the compiler to embed fonts so I can test this?
Or do I have to dig up / convert them into SWF format first?

-Josh

On Thu, Jun 19, 2008 at 2:45 PM, Alex Harui <[EMAIL PROTECTED]> wrote:

>  The internal TextInput doesn't rotate?  Post a test case.
>
>
>  --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *wyattwang
> *Sent:* Wednesday, June 18, 2008 12:31 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] How to rotate a Combo Box
>
>
>
>
> Here's the problem.
>
> After setting myComboBox.rotation = 270 the box itself can be rotated.
> But the dropdown and textInput inside won't rotate.
>
> By extending the mx:ComboBox, dropdown.rotation = 270 will work, but
> the textInput.rotation = 270 does not work. Font Arial was embedded
> into the application. How to make the textInput inside rotate to 270?
>
> +---+
> | |>|
> | |
> | |
> | |
> | |
> | |
> | |
> +---+
>
> Thanks.
>
> 
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


RE: [flexcoders] Tree itemRenderer not displaying as a tree?

2008-06-18 Thread Alex Harui
You can use labelFunction to merge two attributes

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of S B
Sent: Wednesday, June 18, 2008 11:20 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tree itemRenderer not displaying as a tree?

 

How can I fix that?

Or, how can I change each node's label based on two attributes in the XMLList?

- Original Message 
From: Alex Harui <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, June 18, 2008 10:43:22 AM
Subject: RE: [flexcoders] Tree itemRenderer not displaying as a tree?

Because indentation is handled by the renderer and label doesn’t know how to do 
that.

 



From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf 
Of S B
Sent: Wednesday, June 18, 2008 9:51 AM
To: [EMAIL PROTECTED] ups.com
Subject: [flexcoders] Tree itemRenderer not displaying as a tree?

 

Why doesn't the following mx:Tree display as a tree? Instead, all nodes have 
the same indentation for some reason. Thanks!











 [...]

 






 

 

 



RE: [flexcoders] How to rotate a Combo Box

2008-06-18 Thread Alex Harui
The internal TextInput doesn't rotate?  Post a test case.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wyattwang
Sent: Wednesday, June 18, 2008 12:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to rotate a Combo Box

 


Here's the problem. 

After setting myComboBox.rotation = 270 the box itself can be rotated.
But the dropdown and textInput inside won't rotate.

By extending the mx:ComboBox, dropdown.rotation = 270 will work, but
the textInput.rotation = 270 does not work. Font Arial was embedded
into the application. How to make the textInput inside rotate to 270? 

+---+
| |>|
| |
| |
| |
| |
| |
| |
+---+

Thanks. 

 



RE: [flexcoders] Problems with Flash Player not recognized and problem with flex app loading xml

2008-06-18 Thread Alex Harui
Is there a file at: file:///C:/Users/Bruce-PC/Documents/Flex
  Builder
3/chapter11Begin/bin-debug/data/slideshow.xml?

 

Is the -use-network flag on?  Try changing its value.

 

Try serving the app from http:

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of brucewhealton
Sent: Wednesday, June 18, 2008 5:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problems with Flash Player not recognized and
problem with flex app loading xml

 

Hello all,
I'm getting the error in Internet Explorer, (IE) when I try to run
any application from Flex Builder CS3. This shows up when I am in
Flex Builder CS3 and select Run on an application or when I open an
application in IE from the server if it was created in Flex. The error
is: "Alternate HTML content should be placed here. This content
requires the Adobe Flash Player. Get Flash" 

This just lets me go to adobe's page to get Flash Player. If I bring
up a page, in IE, on the web that has Flash, like adobe.com the Flash
Content loads fine and I can verify that I have the debug version of
the Flash Player. I even ran that install of the Flash player that I
got off
Adobe's site, the Debug version and it installs just fine. Still,
though I get the same error. This error only happens when I select
Run from the Flex Developer application or any file ever created in
Flex Builder and it only happens in IE.

Now, Firefox will load the Flash content created by Flex. However,
it gives me an error saying that it cannot access the xml file. I'll
include the full text of that error message below. It's long but I
don't know how much would be needed to understand and explain what is
going on. Hopefully the first couple lines will detail what is going
on. I did try removing the read-only attribute on the xml file, but
now that I think about it, that shouldn't matter as it is just
reading the file in the application. Oh, I did a search on this and a
few fixes were suggested but none of them seemed to work or I couldn't
find a file that I needed to edit. The fixes do only address how to
find a cfg file in Windows XP and there is no similar file on my
Windows Vista system at all.
See the error code below, please.
Thanks in advance,
Bruce

[RPC Fault faultString="Error #2148: SWF file
file:///C:/Users/Bruce-PC/Documents/Flex
  Builder
3/chapter11Begin/bin-debug/HTTPServiceDemo.swf cannot access local
resource data/slideshow.xml. Only local-with-filesystem and trusted
local SWF files may access local resources." faultCode="InvokeFailed"
faultDetail="null"]
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invo
ke 
()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:26
3]
at
mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal
::invoke 
()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\http\mxml\HTTPService
.as:234]
at
mx.rpc.http::HTTPService/send()[E:\dev\3.0.x\frameworks\projects\rpc\src
\mx\rpc\http\HTTPService.as:758]
at
mx.rpc.http.mxml::HTTPService/send()[E:\dev\3.0.x\frameworks\projects\rp
c\src\mx\rpc\http\mxml\HTTPService.as:217]
at
HTTPServiceDemo/___HTTPServiceDemo_Application1_creationComplete()[C:\Us
ers\Bruce-PC\Documents\Flex
Builder 3\chapter11Begin\src\HTTPServiceDemo.mxml:3]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\fr
amework\src\mx\core\UIComponent.as:9051]
at mx.core::UIComponent/set
initialized()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIC
omponent.as:1167]
at
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\framewor
ks\projects\framework\src\mx\managers\LayoutManager.as:698]
at Function/http://adobe.com/AS3/2006/builtin::apply
 ()
at
mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\proj
ects\framework\src\mx\core\UIComponent.as:8460]
at
mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\proje
cts\framework\src\mx\core\UIComponent.as:8403]

 



[flexcoders] Library Project Help

2008-06-18 Thread jmfillman
I'm creating a Library Project that is linked to my working project. 
My Build Path links to the "src" folder from my working project, and 
I have selected all the relevant files, including my 2 itemRenderers.

Within the "src" file, I have a folder that contains 3 component mxml 
files, and the 2 itemRenderers are at the "src" level. My Library 
Project returns the following error for the itemRenderers in the 
Library Project:

"could not find source for class src.itemRenderer1."


src (folder)
   itemRenderer1.mxml
   itemRenderer2.mxml

   myComponents (folder)
  component1.mxml
  component2.mxml
  component3.mxml

Why?



Re: [flexcoders] Generating AS3 code from Java

2008-06-18 Thread Maciek
Indeed. Granite Data Services includes gas3 in recent versions, which
does exactly what you want. We've used it at Truviso on a small set of
objects, and it works quite well.
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

On Thu, 2008-06-19 at 02:06 +, andrew. wrote:
> Hi, 
> 
> I am using a Flex UI talking to a Blaze DS / Java backend. The sever
> has a set of DTO 
> objects used for talking to Flex and other web services. 
> 
> Is there any open source tools out there to generate the AS3 code from
> Java? This should 
> be a fairly easy program to write using reflection, but someone must
> have done it before. 
> 
> 
> 
> 
>  




[flexcoders] Problem with Line Renderer in Flex Charting

2008-06-18 Thread Loyvin
I get this error whenever I access charts which has LineSeries to it
then switching to charts that has only 1 element in the data provider
- therefore a PlotSeries is used.

==
TypeError: Error #1010: A term is undefined and has no properties.
at
mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\GraphicsUtilities.as:305]
at
mx.charts.renderers::LineRenderer/updateDisplayList()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\renderers\LineRenderer.as:102]
at
mx.skins::ProgrammaticSkin/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\skins\ProgrammaticSkin.as:421]
at
mx.managers::LayoutManager/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:602]
at
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:675]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8460]
at
mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8403]
===

Any ideas? Thanks in advance guys.



Re: [flexcoders] Re: Cairngorm Event Question

2008-06-18 Thread Josh McDonald
I agree your solution should be in binding, but definitely check out UM
anyway, if only for the fail/success callbacks on events. I've ripped off
that idea for some in-house stuff (I was in the middle of something less
elegant to achieve the same result when I heard about it), and it's
incredibly useful. You don't need direct coupling between UI, business, and
communication code, and you can keep things as simple and testable as
possible.

-Josh

On Thu, Jun 19, 2008 at 1:06 PM, Bjorn Schultheiss <
[EMAIL PROTECTED]> wrote:

> I'm assuming Binding would be the easiest solution.
> If your binding directly from your model to the advancedDataGrid
> binding should take care of the updating for you..
>
>
> --- In flexcoders@yahoogroups.com, "donvoltz" <[EMAIL PROTECTED]> wrote:
> >
> > I have been building on my cairngorm experience and have come up to a
> > snag.
> >
> > I understand the whole idea about using the controller to trap and
> > respond to events, however, how do I deal with custom view components
> > that need to respond to an event.
> >
> > For example, I have a custom component that contains an advanced data
> > grid. I am filling the modelLocator with data from the server and
> > using this as the data provider for the advanced data grid. The
> > problem I have is when the user selects a different date, I generate a
> > cairngorm event to load new data from the server. This information is
> > dealt with in the controller, however, I am not able to send the event
> > to the custom component to refresh the advance data grid and display
> > the data.
> >
> > Would someone help me to understand how I can use the events, or
> > generate a new custom event to trigger some activity within a custom
> > view component
> >
> > Thanks for the help
> >
> > Don
> >
>
>
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


Re: [flexcoders] Application components - Canvas vs Box

2008-06-18 Thread Josh McDonald
Container is definitely only for a base class, it will always measure() to
0,0 and leave all added children as 0x0 at 0,0.

You could probably use it in the following situation:

1. You need to be using some sort of container for whatever reason (ie
adding it to something that only takes other containers)
2. You specify its width and height either explicitly or with CSS
3. You specify the width, height, and position of all its children
explicity.

IE, it's not much use as a container ;-)

-Josh

On Thu, Jun 19, 2008 at 1:04 PM, Richard Rodseth <[EMAIL PROTECTED]> wrote:

>  Thanks. That's good to know about Box.
> I believe Container is intended to be an abstract class, and while I was
> able to use it as the root of an MXML document, it didn't seem to do
> anything sensible (i.e. I couldn't see the children).
>
> I guess if I was assured that Canvas is not horribly heavyweight (in speed
> and memory footprint) relative to Box, that would be my preference, since I
> can then avoid adding interim children in many cases. And a VBox nested
> in/on a Canvas seems more intuitive than a Canvas nested in a Box.
>
>
> On Wed, Jun 18, 2008 at 4:06 PM, Enjoy Jake <[EMAIL PROTECTED]> wrote:
>
>>   Actually, a box with only one child is optimized to layout extremely
>> efficiently, so this is not a bad solution. Another possibility would be to
>> use the Container class.
>>
>>
>> - Original Message 
>> From: Richard Rodseth <[EMAIL PROTECTED]>
>> To: "flexcoders@yahoogroups.com" 
>> Sent: Wednesday, June 18, 2008 4:00:48 PM
>> Subject: [flexcoders] Application components - Canvas vs Box
>>
>>  I tend to have quite a few MXML application components in my
>> applications. Some are for re-use purposes, some are templates, some are for
>> wiring together MVC triads, others are just for organization. I haven't
>> noticed any performance issues due to the "extra" containers, some of which
>> may have a single child providing the actual desired layout. I tend not to
>> subclass components in ActionScript (though I obviously have plenty of other
>> ActionScript classes, and a couple of  custom components)
>>
>> I've also tended to use a lot of VBoxes and HBoxes in my layouts, though
>> I'm using Canvases more and more.
>>
>> I've tended to make each MXML component a VBox, sometimes changing them
>> after the fact. But I'd rather just have an "organizational" root component
>> that can have a script block and do whatever non-layout binding stuff I
>> want, with a single child responsible for layout. i.e. less editing of the
>> first few lines in the file. Something like mx:Module without the layout
>> rules, I guess. The reader would skim over the small-as-possible script
>> block, and see a first tag indicating the type of layout.
>>
>> I see a couple of possibilities:
>> - Make each app component a Canvas, meaning I can dive in and position
>> children absolutely and with constraints, but it also has the nice default
>> of sizing to contain children, just like Box. Will often be adding a single
>> VBox or HBox child. This is the way I'm leaning, but I'm not  sure how
>> heavyweight Canvas is compared to Box.
>> - Box (editing direction as needed, or adding canvases or nested boxes)
>> - Custom. Is it possible to write a custom component that can be the root
>> of an MXML file? It would be the simplest possible container, like a
>> Box-of-one.
>>
>> I'm interested to hear the practices of others.
>>
>>
>>
>>
> 
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


[flexcoders] Re: Cairngorm Event Question

2008-06-18 Thread Bjorn Schultheiss
I'm assuming Binding would be the easiest solution.
If your binding directly from your model to the advancedDataGrid
binding should take care of the updating for you..


--- In flexcoders@yahoogroups.com, "donvoltz" <[EMAIL PROTECTED]> wrote:
>
> I have been building on my cairngorm experience and have come up to a
> snag.
> 
> I understand the whole idea about using the controller to trap and
> respond to events, however, how do I deal with custom view components
> that need to respond to an event.
> 
> For example, I have a custom component that contains an advanced data
> grid. I am filling the modelLocator with data from the server and
> using this as the data provider for the advanced data grid. The
> problem I have is when the user selects a different date, I generate a
> cairngorm event to load new data from the server. This information is
> dealt with in the controller, however, I am not able to send the event
> to the custom component to refresh the advance data grid and display
> the data.
> 
> Would someone help me to understand how I can use the events, or
> generate a new custom event to trigger some activity within a custom
> view component
> 
> Thanks for the help
> 
> Don
>




Re: [flexcoders] Application components - Canvas vs Box

2008-06-18 Thread Richard Rodseth
Thanks. That's good to know about Box.
I believe Container is intended to be an abstract class, and while I was
able to use it as the root of an MXML document, it didn't seem to do
anything sensible (i.e. I couldn't see the children).

I guess if I was assured that Canvas is not horribly heavyweight (in speed
and memory footprint) relative to Box, that would be my preference, since I
can then avoid adding interim children in many cases. And a VBox nested
in/on a Canvas seems more intuitive than a Canvas nested in a Box.

On Wed, Jun 18, 2008 at 4:06 PM, Enjoy Jake <[EMAIL PROTECTED]> wrote:

>   Actually, a box with only one child is optimized to layout extremely
> efficiently, so this is not a bad solution. Another possibility would be to
> use the Container class.
>
>
> - Original Message 
> From: Richard Rodseth <[EMAIL PROTECTED]>
> To: "flexcoders@yahoogroups.com" 
> Sent: Wednesday, June 18, 2008 4:00:48 PM
> Subject: [flexcoders] Application components - Canvas vs Box
>
>  I tend to have quite a few MXML application components in my
> applications. Some are for re-use purposes, some are templates, some are for
> wiring together MVC triads, others are just for organization. I haven't
> noticed any performance issues due to the "extra" containers, some of which
> may have a single child providing the actual desired layout. I tend not to
> subclass components in ActionScript (though I obviously have plenty of other
> ActionScript classes, and a couple of  custom components)
>
> I've also tended to use a lot of VBoxes and HBoxes in my layouts, though
> I'm using Canvases more and more.
>
> I've tended to make each MXML component a VBox, sometimes changing them
> after the fact. But I'd rather just have an "organizational" root component
> that can have a script block and do whatever non-layout binding stuff I
> want, with a single child responsible for layout. i.e. less editing of the
> first few lines in the file. Something like mx:Module without the layout
> rules, I guess. The reader would skim over the small-as-possible script
> block, and see a first tag indicating the type of layout.
>
> I see a couple of possibilities:
> - Make each app component a Canvas, meaning I can dive in and position
> children absolutely and with constraints, but it also has the nice default
> of sizing to contain children, just like Box. Will often be adding a single
> VBox or HBox child. This is the way I'm leaning, but I'm not  sure how
> heavyweight Canvas is compared to Box.
> - Box (editing direction as needed, or adding canvases or nested boxes)
> - Custom. Is it possible to write a custom component that can be the root
> of an MXML file? It would be the simplest possible container, like a
> Box-of-one.
>
> I'm interested to hear the practices of others.
>
>
>
>  
>


Re: [flexcoders] Cairngorm Event Question

2008-06-18 Thread Alen Balja
You can try Universal Mind Cairngorm Extensions:

http://code.google.com/p/flexcairngorm/

Among others it has these Event features:


   - Built-in support to transport responders for direct view or business
   logic callbacks.
   - Implementation of AnnounceFaultEvent to allow business logic to
   centralize error reporting and logging.
   - Implementation of EventGenerator to allow developers to automate
   dispatching of sequences of events.
   - Events now should self-dispatch... for direct deliver to the
   business/controller layer.


Alen



On Thu, Jun 19, 2008 at 6:18 AM, donvoltz <[EMAIL PROTECTED]> wrote:

>   I have been building on my cairngorm experience and have come up to a
> snag.
>
> I understand the whole idea about using the controller to trap and
> respond to events, however, how do I deal with custom view components
> that need to respond to an event.
>
> For example, I have a custom component that contains an advanced data
> grid. I am filling the modelLocator with data from the server and
> using this as the data provider for the advanced data grid. The
> problem I have is when the user selects a different date, I generate a
> cairngorm event to load new data from the server. This information is
> dealt with in the controller, however, I am not able to send the event
> to the custom component to refresh the advance data grid and display
> the data.
>
> Would someone help me to understand how I can use the events, or
> generate a new custom event to trigger some activity within a custom
> view component
>
> Thanks for the help
>
> Don
>
>  
>


Re: [flexcoders] i need answer plzzzzzzzzzzzzzzzzzz

2008-06-18 Thread Joseph Balderson
help vampire alert!
___

Joseph Balderson, Developer | http://joeflash.ca | 705-466-6345


Maciek Sakrejda wrote:
> And use a better subject. Yours is ridiculous.
> 
> 
> -Original Message-
> From: Tom Chiverton <[EMAIL PROTECTED]>
> Reply-To: flexcoders@yahoogroups.com
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] i need answer plzz
> Date: Mon, 16 Jun 2008 16:27:34 +0100
> 
> On Monday 16 Jun 2008, Kumaran Raj wrote:
>> iam getting xml form of string from java method. i covert that into
>> XMLSring than i display the xmlstring using Alert.i met a error TypeError:
>> Error #1006: value is not a function. what is the problem with this send me
>> pl
> 
> Post Your Code.
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
> 
> 
> 
> 


Re: [flexcoders] Diagonal (hatched) fill

2008-06-18 Thread Doug McCune
I did something like this with degrafa... I used the CSSSkin they have
in there and applied a small hatch graphic as the background fill (I
made a tiny one-liner diagonal image in photoshop). Worked really well
and was completely controlled by CSS.

Doug

On Wed, Jun 18, 2008 at 5:54 PM, Josh McDonald <[EMAIL PROTECTED]> wrote:
> I don't think there's anything built in, but you could create a Sprite, draw
> your pattern, use it to create a BitmapData and use that as a fill. A few
> steps, but should be able to get what you want, and you can do most of it
> only once and keep the final BitmapData around.
>
> There might be support for doing this sort of thing in DeGrafa though, so
> I'd check there first! :)
>
> -Josh
>
> On Thu, Jun 19, 2008 at 8:03 AM, simonjpalmer <[EMAIL PROTECTED]>
> wrote:
>>
>> anyone know whether there is built in support for a fill containing
>> diagonal lines?  I want to have a stacked bar chart with the upper
>> portion of the stack being hatched.
>>
>> Any clues?  I can't find anything.
>> Thx
>>
>>
>> 
>>
>> --
>> Flexcoders Mailing List
>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>> Search Archives:
>> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>>
>>
>>
>
>
>
> --
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
>
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
> 


[flexcoders] Generating AS3 code from Java

2008-06-18 Thread andrew.0000
Hi, 

I am using a Flex UI talking to a Blaze DS / Java backend.  The sever has a set 
of DTO 
objects used for talking to Flex and other web services. 

Is there any open source tools out there to generate the AS3 code from Java?  
This should 
be a fairly easy program to write using reflection, but someone must have done 
it before. 






RE: [flexcoders] Tree itemRenderer not displaying as a tree?

2008-06-18 Thread Tracy Spratt
Here is an example of a TreeItemRenderer.  It adds lines between sibling nodes, 
and properly uses CommitProperties and UpdateDisplayList.

 

It is a good start for adapting to your own use.

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

 

It is Flex 2, might need some adjusting for Flex 3.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of S B
Sent: Wednesday, June 18, 2008 2:20 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tree itemRenderer not displaying as a tree?

 

How can I fix that?

Or, how can I change each node's label based on two attributes in the XMLList?

- Original Message 
From: Alex Harui <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, June 18, 2008 10:43:22 AM
Subject: RE: [flexcoders] Tree itemRenderer not displaying as a tree?

Because indentation is handled by the renderer and label doesn’t know how to do 
that.

 



From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf 
Of S B
Sent: Wednesday, June 18, 2008 9:51 AM
To: [EMAIL PROTECTED] ups.com
Subject: [flexcoders] Tree itemRenderer not displaying as a tree?

 

Why doesn't the following mx:Tree display as a tree? Instead, all nodes have 
the same indentation for some reason. Thanks!











 [...]

 






 

 

 



Re: [flexcoders] Diagonal (hatched) fill

2008-06-18 Thread Josh McDonald
I don't think there's anything built in, but you could create a Sprite, draw
your pattern, use it to create a BitmapData and use that as a fill. A few
steps, but should be able to get what you want, and you can do most of it
only once and keep the final BitmapData around.

There might be support for doing this sort of thing in DeGrafa though, so
I'd check there first! :)

-Josh

On Thu, Jun 19, 2008 at 8:03 AM, simonjpalmer <[EMAIL PROTECTED]>
wrote:

> anyone know whether there is built in support for a fill containing
> diagonal lines?  I want to have a stacked bar chart with the upper
> portion of the stack being hatched.
>
> Any clues?  I can't find anything.
> Thx
>
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


[flexcoders] Cairngorm Event Question

2008-06-18 Thread donvoltz
I have been building on my cairngorm experience and have come up to a
snag.

I understand the whole idea about using the controller to trap and
respond to events, however, how do I deal with custom view components
that need to respond to an event.

For example, I have a custom component that contains an advanced data
grid. I am filling the modelLocator with data from the server and
using this as the data provider for the advanced data grid. The
problem I have is when the user selects a different date, I generate a
cairngorm event to load new data from the server. This information is
dealt with in the controller, however, I am not able to send the event
to the custom component to refresh the advance data grid and display
the data.

Would someone help me to understand how I can use the events, or
generate a new custom event to trigger some activity within a custom
view component

Thanks for the help

Don



Re: [flexcoders] Re: My Web Service with soap headers code no longer work with Flex 3

2008-06-18 Thread Josh McDonald
Hence me plugging Charles like I wrote the thing :)

On Thu, Jun 19, 2008 at 8:03 AM, Rick Winscot <[EMAIL PROTECTED]>
wrote:

>  Josh – remember that one of the big issues with SOAP is that Flex doesn't
> understand anything beyond a 200 response.
>
>
>
> Rick Winscot
>
>
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Josh McDonald
> *Sent:* Wednesday, June 18, 2008 10:19 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] Re: My Web Service with soap headers code no
> longer work with Flex 3
>
>
>
> Looks to me like there's a problem with your namespaces in the bad request.
> I don't know much about soap headers, but where's that "radarXML" namespace
> coming from?
>
> The SOAP code in Flex 3 is stricter than Flex 2's, so besides a couple of
> bugs it behaves better than Flex 2's SOAP code, but often when migrating it
> will expose problems in your WSDLs or XSDs that appear to be bugs in Flex 3.
> It could be that there's something in your schema that is including the
> radarXML namespace for the outer  element, but your server isn't
> actually expecting that so it's complaining, and you were just lucky that
> flex 2's SOAP code didn't generate the request correctly.
>
> What's the server returning? A 500? If it's a SOAP fault, what does it say?
> One of the reasons you want to use Charles is that you can see the error
> codes when you get an error code from the server, whereas the browser hides
> the details from the Flash Player so they never make it back into Flex,
> often hiding very useful troubleshooting information.
>
> -Josh
>
> On Wed, Jun 18, 2008 at 11:46 PM, Mark <[EMAIL PROTECTED]>
> wrote:
>
> So I downloaded "Charles 3.2.1" to see what I'm getting. Running the
> code from 2.0.1 all is fine.  But with 3.0 here's what I'm getting.
>
>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> 
> 
> soap:Server
> Server was unable to process request. --> Object
> reference not set to an instance of an object.
> 
> 
> 
> 
>
> Under the "Request" top tab and "XML Text" bottom tab there's some
> differences:
> 
>
>  ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> 
>
> http://tempuri.org/";>
> 
> admin
> 
> 
> admin
> 
> 
>
> 
> 
> http://tempuri.org/"; />
> 
> 
>
> 
>  ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:s="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> 
> http://tempuri.org/";
> xmlns:ns0="http://radar.us.na.ey.net/RadarXML.asmx";>
>
> 
> admin
> 
> 
> admin
> 
>
> 
> 
> 
> http://tempuri.org/"; />
> 
> 
>
> Another point to mention is that the swf and the wsdl sit in the
> same direcory on the server so a crossdomain file isn't necessary.
> But again, I can't get this to rum from Flex Builder.  I also tested
> this with useProxy set to true and false. Setting it to false gives
> the same response, seting it to true shoot off new errors.
>
> It sounds like from what Rick was saying this is not an issue with
> the Flash Player as I'm using 9.0.124.  This is an issue with Flex
> 3.0, is that correct?
>
>
>
>
>
>
> --- In flexcoders@yahoogroups.com, "Rick Winscot" <[EMAIL PROTECTED]>
> wrote:
>
> >
> > Tracy - actually, you are right on the money. The Authorization
> header was
> > blocked and then re-instated in 9.0.124. You can still work around
> the issue
> > if you compile in Flex  2.0.1 since the RPC bits are still intact
> there.
> > however - in 3.0 they have changed.
> >
> >
> >
> > From the 3.0.x Flex SDK - AbstractWebService.as
> >
> >
> >
> > " The username and password to authenticate a user when accessing
> the
> > webservice. These will be passed as part of the HTTP Authorization
> header
> > from the proxy to the endpoint. If useProxy is false this property
> will be
> > ignored."
> >
> >
> >
> > There is also the issue of allowing the header from your
> crossdomain file.
> >
> >
> >
> > http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403184
> >
> >
> >
> >
> > Rick Winscot
> >
> >
> >
> >
> >
> > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of Mark
> > Sent: Tuesday, June 17, 2008 9:34 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: My Web Service with soap headers code no
> longer
> > work with Flex 3
> >
> >
> >
> > HI,
> >
> > I guess what I'm not understanding is the fact that when I run
> this
> > code from Flex Builder 2 it works, but when I run it out of FB 3
> it
> > doesn't. The Flash Player version would make sence to me but not
> > working in one and not the other. I'm using 9.0.124.0 Debug.
> >
> > HERE'S MY ERROR IN FB3:
> >
> > (mx.rpc::Fault)#0
> > errorID = 0
> > faultCode = "Server.Error.Request"
> > faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false
> > ca

Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Sherif Abdou
Ya i wrote the same thing like yesterday but Mr. Chotin said that is what the 
purpose of the Flexdev network on  adobe. I was thinking along the line of just 
creating a Flex/AIr/Coldfusion app and open sourcing it too. Combine Adobe 
Feeds, mailing list, chat and everything but i think the FlexDev on adobe does 
a good job. 


- Original Message 
From: Enjoy Jake <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, June 18, 2008 6:52:55 PM
Subject: Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups


I forgot to mention the idea of including chat rooms as well. We could have a 
"lobby", a few breakout rooms (eg: "Flex Components", "DataGrid", "BlazeDS"), 
and also allow users to create their own chat rooms (for one-on-one help). It's 
a lot easier to give/receive help when there is the possibility of immediate 
feedback


- Original Message 
From: Enjoy Jake <[EMAIL PROTECTED] com>
To: [EMAIL PROTECTED] ups.com
Sent: Wednesday, June 18, 2008 3:56:16 PM
Subject: Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups


The first time I sent this, it only went to flexcoders-owner@ yahoogroups. com. 
I apologize to those who received it twice.

Maybe a mailing list like this isn't the best choice. Maybe it's time to create 
a more customized solution for solving our problems. I'd be happy to put 
something together (and even host it on my server) if you guys think it would 
be useful. I'm thinking a cross between a mailing list, phpBB, and digg would 
be nice. We could have a large number of tags the author could choose from, 
some sort of rating system for solutions, and easy-to-use search functionality.

I'm thinking a Flex front-end with BlazeDS to communicate with a clean and 
efficient Java back-end that's using Hibernate.

Again, if you think this would be useful and people are willing to offer some 
input as to what functionality we need, I'd be happy to work on it.

Jake Hawkes


- Original Message 
From: Tim Hoff <[EMAIL PROTECTED] com>
To: [EMAIL PROTECTED] ups.com
Sent: Wednesday, June 18, 2008 3:46:45 PM
Subject: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups



Very well put Joseph; quite impressive prose and insight.

-TH

--- In [EMAIL PROTECTED] ups.com, Joseph Balderson <[EMAIL PROTECTED]> wrote:
>
> From the perspective of someone who in his opinion is only just edging
> into the "advanced" category in Flex, I've been a lurker for many
years
> but only just now gradually changing to a more active status on the
list.
>
> To me, the volume of emails to the list was intimidating, until I
> decided to manage my lists a little better through Thunderbird
> filtering, and be disciplined about the time I take every day to
review
> the list, so it doesn't impact my productivity, much like I do every
day
> with the MXNA.
>
> So I'm not convinced that splitting up the list simply to make things
> more efficient and the volume less intimidating for some people
> outweighs the potential risks. I agree with Tim Hoff (16/06/2008 10:53
> PM) -- my concern is less for new users and lurkers than it is for
> frequent posters who are the lifeblood of this community, having to
> divide their precious attention from one list to however-many, which
> would dilute the quality of all lists, and could ultimately lead to
> abandonment by regular users on all lists.
>
> A community such as this must be a delicate balance between questions
> and answers, new users and advanced users, lurkers and frequent
> contributors. My concern is that for many, the formula works, our
> numbers are steady, and there is still a huge number of A-list
> participation. In attempting to improve the list, we could be killing
it
> -- so we need to be very sure of our data before proceeding IMO.
>
>
> A FAQ would be very welcome, as would Doug's recommendation for most
> commonly asked threads, as would tags, regardless of what the decision
> is on the split.
>
> But I would request that FAQ links and tag keywords be indicated in
the
> signature of each email from the list, so that the many users who
don't
> use the yahoo list's web interface can easily find the info and know
> what tags to use without having to switch between their mail client
and
> a browser, otherwise having a FAQ and anything else apart from the
> emails is pointless.
>
> In fact, just having a FAQ and encouraging the use of tags could help
> many with list post management, and provide this list the "boost" it
> needs without taking drastic measures. This would be my request, and
my
> recommendation. In addition, we could even include in the FAQ some
"post
> management strategies," such as filtering, tagging and colour-coding
to
> help users manage the flow.
>
> And I would suggest an automated email generated by an algorithm with
> some text like "You have not posted in ___ months..." or "You have now
> unsubscribed. .." followed by "please help us make flexcoders a better
> commun

[flexcoders] Problems with Flash Player not recognized and problem with flex app loading xml

2008-06-18 Thread brucewhealton
Hello all,
I'm  getting the error in Internet Explorer, (IE) when I try to run
any application from Flex Builder CS3.  This shows up when I am in
Flex Builder CS3 and select Run on an application or when I open an
application in IE from the server if it was created in Flex. The error
is: "Alternate HTML content should be placed here.  This content
requires the Adobe Flash Player. Get Flash" 

This just lets me go to adobe's page to get Flash Player. If I bring
up a page, in IE, on the web that has Flash, like adobe.com the Flash
Content loads fine and I can verify that I have the debug version of
the Flash Player. I even ran that install of the Flash player that I
got off
Adobe's site, the Debug version and it installs just fine. Still,
though I get the same error. This error only happens when I select
Run from the Flex Developer application or any file ever created in
Flex Builder and it only happens in IE.

Now, Firefox will load the Flash content created by Flex. However,
it gives me an error saying that it cannot access the xml file. I'll
include the full text of that error message below. It's long but I
don't know how much would be needed to understand and explain what is
going on. Hopefully the first couple lines will detail what is going
on. I did try removing the read-only attribute on the xml file, but
now that I think about it, that shouldn't matter as it is just
reading the file in the application.  Oh, I did a search on this and a
few fixes were suggested but none of them seemed to work or I couldn't
find a file that I needed to edit.  The fixes do only address how to
find a cfg file in Windows XP and there is no similar file on my
Windows Vista system at all.
See the error code below, please.
Thanks in advance,
Bruce

[RPC Fault faultString="Error #2148: SWF file
file:///C:/Users/Bruce-PC/Documents/Flex Builder
3/chapter11Begin/bin-debug/HTTPServiceDemo.swf cannot access local
resource data/slideshow.xml. Only local-with-filesystem and trusted
local SWF files may access local resources." faultCode="InvokeFailed"
faultDetail="null"]
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:263]
at
mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::invoke()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\http\mxml\HTTPService.as:234]
at
mx.rpc.http::HTTPService/send()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\http\HTTPService.as:758]
at
mx.rpc.http.mxml::HTTPService/send()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\http\mxml\HTTPService.as:217]
at
HTTPServiceDemo/___HTTPServiceDemo_Application1_creationComplete()[C:\Users\Bruce-PC\Documents\Flex
Builder 3\chapter11Begin\src\HTTPServiceDemo.mxml:3]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9051]
at mx.core::UIComponent/set
initialized()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1167]
at
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:698]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8460]
at
mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8403]




Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Josh McDonald
I've been waiting for somebody to point that out Doug :)

-Josh

On Thu, Jun 19, 2008 at 7:56 AM, Doug McCune <[EMAIL PROTECTED]> wrote:

> I'd just like to point out that we've just had a 108-message thread
> among 20 different Flex developers in 2 days. Somehow among the
> stagnation and overwhelming traffic we've all had a fantastic
> discussion :) I think this thread is an argument that this list is
> alive and very healthy.
>
> Doug
>


-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


Re: [flexcoders] Help on error: Invalid AMFX packet. Content must start with an node

2008-06-18 Thread gnu wolf
Hey Seth,

I'm not getting anything from the response, no headers and no status code.
Pretty weird.

I had this request headers tho:

POST /samples/messagebroker/http HTTP/1.1
Host: localhost:9400
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Content-type: application/xml
Content-length: 653


It seems like it's still talking to the HTTP channel and not the AMF
channel. If i'm using HTTPS, I should be talking to SecureAMFChannel, right?

I already enable SSL in my blazeDS tomcat and use a self-signed keystore
file.




On Thu, Jun 19, 2008 at 7:50 AM, Seth Hodgson <[EMAIL PROTECTED]> wrote:

>   Hey Clem,
>
> That raw request you're seeing is the client-side channel handshake with
> the server endpoint. This happens before any general messages/requests/data
> are shipped over the channel/endpoint connection. For some reason the
> response to this initial request isn't returning the server half of the
> handshake as valid AMFX. Do you see any other raw response info (say
> response headers and response status code) in addition to that odd body?
>
> Once this initial connect-time handshake is working, the SOAP request will
> be sent to the server where it'll be proxied through to the actual target
> SOAP endpoint.
>
>
> Seth
>
> From: flexcoders@yahoogroups.com  [mailto:
> flexcoders@yahoogroups.com ] On Behalf Of
> gnuwolf
> Sent: Wednesday, June 18, 2008 10:45 AM
> To: flexcoders@yahoogroups.com 
> Subject: RE: [flexcoders] Help on error: Invalid AMFX packet. Content must
> start with an  node
>
> Hi Seth,
>
> Thanks for replying.
>
> I'm creating a webservices client for Netsuite.
>
> The usual SOAP request for login operation would look something like this:
>
>
>  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xmlns:xs="http://www.w3.org/2001/XMLSchema";
>   xmlns:platformCore="urn:
> core_2008_1.platform.webservices.netsuite.com"
>   xmlns:platformMsgs="urn:
> messages_2008_1.platform.webservices.netsuite.com">
>  
> [EMAIL 
> PROTECTED]
> 
> mypassword
> 724168
>  
>   
>
>
>
> Raw request from charles is this:
>
> http://www.macromedia.com/2005/amfx";>
> 
>  type="flex.messaging.messages.CommandMessage">
> 
> body
> clientId
>
> correlationId
>
> destination
> headers
> messageId
> operation
> timestamp
> timeToLive
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> DSId
>
> DSMessagingVersion
> 
> nil
> 1
> 
>
> 473AC219-432D-44B1-76AC-9CA3030ED6BA
> 5
> 0
> 0
> 
> 
> 
>
> Raw response was blank or some character like this:
> 
>
> Error from the flash debugger is this:
>
> [MessagingError message='Invalid AMFX packet. Content must start with an
>  node']
> at
> mx.messaging.channels.amfx::AMFXDecoder$/decodePacket()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\amfx\AMFXDecoder.as:149]
> at
> mx.messaging.channels.amfx::AMFXDecoder/decode()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\amfx\AMFXDecoder.as:91]
> at
> mx.messaging.channels::HTTPChannel/decodePacket()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\HTTPChannel.as:539]
> at
> mx.messaging.channels::HTTPChannel/pingCompleteHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\HTTPChannel.as:551]
> at
> ChannelRequestLoader/callEventCallback()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\HTTPChannel.as:1158]
> at
> ChannelRequestLoader/

Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Josh McDonald
I'm all for another interactive "flex developers support" website, but when
it comes to my in-gmail-everything's-smooth, google searchable mailing list,
call me Charlton Heston: "From my cold, dead hands"...

-Josh

On Thu, Jun 19, 2008 at 9:52 AM, Enjoy Jake <[EMAIL PROTECTED]> wrote:

>  I forgot to mention the idea of including chat rooms as well. We could
> have a "lobby", a few breakout rooms (eg: "Flex Components", "DataGrid",
> "BlazeDS"), and also allow users to create their own chat rooms (for
> one-on-one help). It's a lot easier to give/receive help when there is the
> possibility of immediate feedback
>
> - Original Message 
> From: Enjoy Jake <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Wednesday, June 18, 2008 3:56:16 PM
> Subject: Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused
> groups
>
>  The first time I sent this, it only went to [EMAIL PROTECTED] com. I 
> apologize to those who received it twice.
>
> Maybe a mailing list like this isn't the best choice. Maybe it's time to
> create a more customized solution for solving our problems. I'd be happy to
> put something together (and even host it on my server) if you guys think it
> would be useful. I'm thinking a cross between a mailing list, phpBB, and
> digg would be nice. We could have a large number of tags the author could
> choose from, some sort of rating system for solutions, and easy-to-use
> search functionality.
>
> I'm thinking a Flex front-end with BlazeDS to communicate with a clean and
> efficient Java back-end that's using Hibernate.
>
> Again, if you think this would be useful and people are willing to offer
> some input as to what functionality we need, I'd be happy to work on it.
>
> Jake Hawkes
>

-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Enjoy Jake
I forgot to mention the idea of including chat rooms as well. We could have a 
"lobby", a few breakout rooms (eg: "Flex Components", "DataGrid", "BlazeDS"), 
and also allow users to create their own chat rooms (for one-on-one help). It's 
a lot easier to give/receive help when there is the possibility of immediate 
feedback


- Original Message 
From: Enjoy Jake <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, June 18, 2008 3:56:16 PM
Subject: Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups


The first time I sent this, it only went to flexcoders-owner@ yahoogroups. com. 
I apologize to those who received it twice.

Maybe a mailing list like this isn't the best choice. Maybe it's time to create 
a more customized solution for solving our problems. I'd be happy to put 
something together (and even host it on my server) if you guys think it would 
be useful. I'm thinking a cross between a mailing list, phpBB, and digg would 
be nice. We could have a large number of tags the author could choose from, 
some sort of rating system for solutions, and easy-to-use search functionality.

I'm thinking a Flex front-end with BlazeDS to communicate with a clean and 
efficient Java back-end that's using Hibernate.

Again, if you think this would be useful and people are willing to offer some 
input as to what functionality we need, I'd be happy to work on it.

Jake Hawkes


- Original Message 
From: Tim Hoff <[EMAIL PROTECTED] com>
To: [EMAIL PROTECTED] ups.com
Sent: Wednesday, June 18, 2008 3:46:45 PM
Subject: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups



Very well put Joseph; quite impressive prose and insight.

-TH

--- In [EMAIL PROTECTED] ups.com, Joseph Balderson <[EMAIL PROTECTED]> wrote:
>
> From the perspective of someone who in his opinion is only just edging
> into the "advanced" category in Flex, I've been a lurker for many
years
> but only just now gradually changing to a more active status on the
list.
>
> To me, the volume of emails to the list was intimidating, until I
> decided to manage my lists a little better through Thunderbird
> filtering, and be disciplined about the time I take every day to
review
> the list, so it doesn't impact my productivity, much like I do every
day
> with the MXNA.
>
> So I'm not convinced that splitting up the list simply to make things
> more efficient and the volume less intimidating for some people
> outweighs the potential risks. I agree with Tim Hoff (16/06/2008 10:53
> PM) -- my concern is less for new users and lurkers than it is for
> frequent posters who are the lifeblood of this community, having to
> divide their precious attention from one list to however-many, which
> would dilute the quality of all lists, and could ultimately lead to
> abandonment by regular users on all lists.
>
> A community such as this must be a delicate balance between questions
> and answers, new users and advanced users, lurkers and frequent
> contributors. My concern is that for many, the formula works, our
> numbers are steady, and there is still a huge number of A-list
> participation. In attempting to improve the list, we could be killing
it
> -- so we need to be very sure of our data before proceeding IMO.
>
>
> A FAQ would be very welcome, as would Doug's recommendation for most
> commonly asked threads, as would tags, regardless of what the decision
> is on the split.
>
> But I would request that FAQ links and tag keywords be indicated in
the
> signature of each email from the list, so that the many users who
don't
> use the yahoo list's web interface can easily find the info and know
> what tags to use without having to switch between their mail client
and
> a browser, otherwise having a FAQ and anything else apart from the
> emails is pointless.
>
> In fact, just having a FAQ and encouraging the use of tags could help
> many with list post management, and provide this list the "boost" it
> needs without taking drastic measures. This would be my request, and
my
> recommendation. In addition, we could even include in the FAQ some
"post
> management strategies," such as filtering, tagging and colour-coding
to
> help users manage the flow.
>
> And I would suggest an automated email generated by an algorithm with
> some text like "You have not posted in ___ months..." or "You have now
> unsubscribed. .." followed by "please help us make flexcoders a better
> community experience by telling us why you have _"
>
> This would be a far less intrusive and intimidating follow up and data
> collection method than an email personally send from a moderator,
> especially one from Adobe. Some people might perceive such attention
as
> singling them out, and using an autogenerated email would eliminate
the
> manpower necessary to collect data on infrequent/unsubscr ibed
accounts.
>
> If we do decide to split the list at all, I would keep the number
small
> just to make sure. My recommendation would be to split thin

RE: [flexcoders] Help on error: Invalid AMFX packet. Content must start with an node

2008-06-18 Thread Seth Hodgson
Hey Clem,

That raw request you're seeing is the client-side channel handshake with the 
server endpoint. This happens before any general messages/requests/data are 
shipped over the channel/endpoint connection. For some reason the response to 
this initial request isn't returning the server half of the handshake as valid 
AMFX. Do you see any other raw response info (say response headers and response 
status code) in addition to that odd body?

Once this initial connect-time handshake is working, the SOAP request will be 
sent to the server where it'll be proxied through to the actual target SOAP 
endpoint.

Seth

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gnuwolf
Sent: Wednesday, June 18, 2008 10:45 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Help on error: Invalid AMFX packet. Content must 
start with an  node

Hi Seth,
 
Thanks for replying.
 
I'm creating a webservices client for Netsuite.
 
The usual SOAP request for login operation would look something like this:
 
   
  http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:xs="http://www.w3.org/2001/XMLSchema";
  xmlns:platformCore="urn:core_2008_1.platform.webservices.netsuite.com"
  
xmlns:platformMsgs="urn:messages_2008_1.platform.webservices.netsuite.com">
 
    [EMAIL PROTECTED]
    mypassword
    724168
     
  
   
 
 
Raw request from charles is this:
 
http://www.macromedia.com/2005/amfx";>
    
    
    
    body
    clientId
    correlationId
    destination
    headers
    messageId
    operation
    timestamp
    timeToLive
    
    
    
    
    
    
    
    
    
    
DSId
    
DSMessagingVersion
    
    nil
    1
    
    
473AC219-432D-44B1-76AC-9CA3030ED6BA
    5
    0
    0
    
    

 
Raw response was blank or some character like this:  

 
Error from the flash debugger is this:
 
[MessagingError message='Invalid AMFX packet. Content must start with an  
node']
    at 
mx.messaging.channels.amfx::AMFXDecoder$/decodePacket()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\amfx\AMFXDecoder.as:149]
    at 
mx.messaging.channels.amfx::AMFXDecoder/decode()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\amfx\AMFXDecoder.as:91]
    at 
mx.messaging.channels::HTTPChannel/decodePacket()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\HTTPChannel.as:539]
    at 
mx.messaging.channels::HTTPChannel/pingCompleteHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\HTTPChannel.as:551]
    at 
ChannelRequestLoader/callEventCallback()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\HTTPChannel.as:1158]
    at 
ChannelRequestLoader/completeHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\HTTPChannel.as:1194]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
 
I didn't touch services-config.xml tho. Do I need to edit the endpoint in the 
channel definition?
 
Thanks.
 
Cheers,
Clem 


Re: [flexcoders] Application components - Canvas vs Box

2008-06-18 Thread Enjoy Jake
Actually, a box with only one child is optimized to layout extremely 
efficiently, so this is not a bad solution. Another possibility would be to use 
the Container class.


- Original Message 
From: Richard Rodseth <[EMAIL PROTECTED]>
To: "flexcoders@yahoogroups.com" 
Sent: Wednesday, June 18, 2008 4:00:48 PM
Subject: [flexcoders] Application components - Canvas vs Box


I tend to have quite a few MXML application components in my applications. Some 
are for re-use purposes, some are templates, some are for wiring together MVC 
triads, others are just for organization. I haven't noticed any performance 
issues due to the "extra" containers, some of which may have a single child 
providing the actual desired layout. I tend not to subclass components in 
ActionScript (though I obviously have plenty of other ActionScript classes, and 
a couple of  custom components)

I've also tended to use a lot of VBoxes and HBoxes in my layouts, though I'm 
using Canvases more and more.

I've tended to make each MXML component a VBox, sometimes changing them after 
the fact. But I'd rather just have an "organizational" root component that can 
have a script block and do whatever non-layout binding stuff I want, with a 
single child responsible for layout. i.e. less editing of the first few lines 
in the file. Something like mx:Module without the layout rules, I guess. The 
reader would skim over the small-as-possible script block, and see a first tag 
indicating the type of layout.

I see a couple of possibilities:
- Make each app component a Canvas, meaning I can dive in and position children 
absolutely and with constraints, but it also has the nice default of sizing to 
contain children, just like Box. Will often be adding a single VBox or HBox 
child. This is the way I'm leaning, but I'm not  sure how heavyweight Canvas is 
compared to Box.
- Box (editing direction as needed, or adding canvases or nested boxes)
- Custom. Is it possible to write a custom component that can be the root of an 
MXML file? It would be the simplest possible container, like a Box-of-one.

I'm interested to hear the practices of others.





  

Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Enjoy Jake
The first time I sent this, it only went to [EMAIL PROTECTED] I apologize to 
those who received it twice.

Maybe a mailing list like this isn't the best choice. Maybe it's time to create 
a more customized solution for solving our problems. I'd be happy to put 
something together (and even host it on my server) if you guys think it would 
be useful. I'm thinking a cross between a mailing list, phpBB, and digg would 
be nice. We could have a large number of tags the author could choose from, 
some sort of rating system for solutions, and easy-to-use search functionality.

I'm thinking a Flex front-end with BlazeDS to communicate with a clean and 
efficient Java back-end that's using Hibernate.

Again, if you think this would be useful and people are willing to offer some 
input as to what functionality we need, I'd be happy to work on it.

Jake Hawkes


- Original Message 
From: Tim Hoff <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, June 18, 2008 3:46:45 PM
Subject: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups



Very well put Joseph; quite impressive prose and insight.

-TH

--- In [EMAIL PROTECTED] ups.com, Joseph Balderson <[EMAIL PROTECTED]> wrote:
>
> From the perspective of someone who in his opinion is only just edging
> into the "advanced" category in Flex, I've been a lurker for many
years
> but only just now gradually changing to a more active status on the
list.
>
> To me, the volume of emails to the list was intimidating, until I
> decided to manage my lists a little better through Thunderbird
> filtering, and be disciplined about the time I take every day to
review
> the list, so it doesn't impact my productivity, much like I do every
day
> with the MXNA.
>
> So I'm not convinced that splitting up the list simply to make things
> more efficient and the volume less intimidating for some people
> outweighs the potential risks. I agree with Tim Hoff (16/06/2008 10:53
> PM) -- my concern is less for new users and lurkers than it is for
> frequent posters who are the lifeblood of this community, having to
> divide their precious attention from one list to however-many, which
> would dilute the quality of all lists, and could ultimately lead to
> abandonment by regular users on all lists.
>
> A community such as this must be a delicate balance between questions
> and answers, new users and advanced users, lurkers and frequent
> contributors. My concern is that for many, the formula works, our
> numbers are steady, and there is still a huge number of A-list
> participation. In attempting to improve the list, we could be killing
it
> -- so we need to be very sure of our data before proceeding IMO.
>
>
> A FAQ would be very welcome, as would Doug's recommendation for most
> commonly asked threads, as would tags, regardless of what the decision
> is on the split.
>
> But I would request that FAQ links and tag keywords be indicated in
the
> signature of each email from the list, so that the many users who
don't
> use the yahoo list's web interface can easily find the info and know
> what tags to use without having to switch between their mail client
and
> a browser, otherwise having a FAQ and anything else apart from the
> emails is pointless.
>
> In fact, just having a FAQ and encouraging the use of tags could help
> many with list post management, and provide this list the "boost" it
> needs without taking drastic measures. This would be my request, and
my
> recommendation. In addition, we could even include in the FAQ some
"post
> management strategies," such as filtering, tagging and colour-coding
to
> help users manage the flow.
>
> And I would suggest an automated email generated by an algorithm with
> some text like "You have not posted in ___ months..." or "You have now
> unsubscribed. .." followed by "please help us make flexcoders a better
> community experience by telling us why you have _"
>
> This would be a far less intrusive and intimidating follow up and data
> collection method than an email personally send from a moderator,
> especially one from Adobe. Some people might perceive such attention
as
> singling them out, and using an autogenerated email would eliminate
the
> manpower necessary to collect data on infrequent/unsubscr ibed
accounts.
>
> If we do decide to split the list at all, I would keep the number
small
> just to make sure. My recommendation would be to split things into
just
> three lists:
> flexcoders
> flexnewbie
> flexenterprise
>
> Even though the definitions are a little fuzzy, I think flexnewbie
could
> be defined as not the difficulty of the question but the experience
the
> user perceives themselves to be at, so there may very well be advanced
> and newbie questions on both lists, and that's okay. Likewise there
will
> probably be some crossover into the flexenterprise list. I think it's
> fair to say that questions involving a substantial amount of
"Java/data
> services/large teams/enterprise workflows" would 

[flexcoders] Re: Help with updating a Tree when its dataprovider has changed.

2008-06-18 Thread securenetfreedom
Peter,

e4x is the new XML access notation that complies with ECMA. It will make
your life easy in your scenario by eliminating that ugly getChildren
func and simplifying your code.

In your case, here's how it would work:

public function hideShowFilterFunc(item:Object):Boolean{
   // item.name() is the name of the xml node, i.e. 
   if(item.name() == 'person'){
 return true;
   }else if(item.name() == 'Department'){
 // [EMAIL PROTECTED] is the attribute of the  node
 // i.e. 
 // you may have to do an 'indexOf' if your Department nodes are
incremented
 return [EMAIL PROTECTED] == "1";
   }
   return false;
}





--- In flexcoders@yahoogroups.com, "hpeter96" <[EMAIL PROTECTED]> wrote:
>
> Hi Jeff, I'm not sure what you meant by using e4x to get to the
> sub-nodes - does that come in to play when I call the filterFunction ?
>
> Also I'm still not sure if I'm following you right Alex, what I did
was
> change the dataDescriptor's getChildren() function to this :
>
>
>
\
\
> -
>  override public function getChildren(node:Object, model:Object =
> null):ICollectionView
>  {
>  var childrenCollection:ICollectionView;
>  var myCursor:IViewCursor;// =
childrenCollection.createCursor();
>
>  childrenCollection = super.getChildren(node, model);
>
>  if(childrenCollection != null)
>  {
>  childrenCollection.filterFunction =
ff_childrenCollection;
>  childrenCollection.refresh();
>
>  }
>
>  return childrenCollection;
>  }// END OF getChildren()
>
>  //
>
\
\
> -
>
> And my filterfunction looks like this :
>
>  //
>
\
\
> -
>  //ff_childrenCollection()
>  //filterfunction for the children of getChildren
>  private function ff_childrenCollection(item:Object):Boolean
>  {
>  if(item.attribute("visibility") == '1')
>  {
>  return true;
>  }
>
>  return false;
>  }// END OF ff_childrenCollection()
>
>  //
>
\
\
> -
>
> Now when I'm updating my list, the CPU jumps to 100%, so it sounds
like
> I'm in an endless loop. Plus the top level branches move around - for
> example, I updated a child under a branch at the top of the list and
the
> branch moved down, 2 branches from the bottom. So before it would look
> like this :
>
> BEFORE
>  Company
>|
>|-- Department 1
>  |-- Person
>  |-- Person
>  |-- etc..
>|
>|-- Department 2
>  |-- Person
>  |-- Person
>  |-- etc..
>|
>|-- Department 3
>  |-- Person
>  |-- Person
>  |-- etc..
>|
>|-- Department 4
>  |-- Person
>  |-- Person
>  |-- etc..
>|
>|-- Department 5
>  |-- Person
>  |-- Person
>  |-- etc..
>|
>|-- Person
>|-- Person
>|-- etc..
>
> AFTER :
>  Company
>|
>|-- Department 2
>  |-- Person
>  |-- Person
>  |-- etc..
>|
>|-- Department 3
>  |-- Person
>  |-- Person
>  |-- etc..
>|
>|-- Department 1  << it moved here from the top
>  |-- Person
>  |-- Person
>  |-- etc..
>|
>|-- Department 4
>  |-- Person
>  |-- Person
>  |-- etc..
>|
>|-- Department 5
>  |-- Person
>  |-- Person
>  |-- etc..
>|
>|-- Person
>|-- Person
>|-- etc..
>



[flexcoders] Application components - Canvas vs Box

2008-06-18 Thread Richard Rodseth
I tend to have quite a few MXML application components in my applications.
Some are for re-use purposes, some are templates, some are for wiring
together MVC triads, others are just for organization. I haven't noticed any
performance issues due to the "extra" containers, some of which may have a
single child providing the actual desired layout. I tend not to subclass
components in ActionScript (though I obviously have plenty of other
ActionScript classes, and a couple of  custom components)

I've also tended to use a lot of VBoxes and HBoxes in my layouts, though I'm
using Canvases more and more.

I've tended to make each MXML component a VBox, sometimes changing them
after the fact. But I'd rather just have an "organizational" root component
that can have a script block and do whatever non-layout binding stuff I
want, with a single child responsible for layout. i.e. less editing of the
first few lines in the file. Something like mx:Module without the layout
rules, I guess. The reader would skim over the small-as-possible script
block, and see a first tag indicating the type of layout.

I see a couple of possibilities:
- Make each app component a Canvas, meaning I can dive in and position
children absolutely and with constraints, but it also has the nice default
of sizing to contain children, just like Box. Will often be adding a single
VBox or HBox child. This is the way I'm leaning, but I'm not  sure how
heavyweight Canvas is compared to Box.
- Box (editing direction as needed, or adding canvases or nested boxes)
- Custom. Is it possible to write a custom component that can be the root of
an MXML file? It would be the simplest possible container, like a
Box-of-one.

I'm interested to hear the practices of others.


[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Tim Hoff

Very well put Joseph; quite impressive prose and insight.

-TH

--- In flexcoders@yahoogroups.com, Joseph Balderson <[EMAIL PROTECTED]> wrote:
>
> From the perspective of someone who in his opinion is only just edging
> into the "advanced" category in Flex, I've been a lurker for many
years
> but only just now gradually changing to a more active status on the
list.
>
> To me, the volume of emails to the list was intimidating, until I
> decided to manage my lists a little better through Thunderbird
> filtering, and be disciplined about the time I take every day to
review
> the list, so it doesn't impact my productivity, much like I do every
day
> with the MXNA.
>
> So I'm not convinced that splitting up the list simply to make things
> more efficient and the volume less intimidating for some people
> outweighs the potential risks. I agree with Tim Hoff (16/06/2008 10:53
> PM) -- my concern is less for new users and lurkers than it is for
> frequent posters who are the lifeblood of this community, having to
> divide their precious attention from one list to however-many, which
> would dilute the quality of all lists, and could ultimately lead to
> abandonment by regular users on all lists.
>
> A community such as this must be a delicate balance between questions
> and answers, new users and advanced users, lurkers and frequent
> contributors. My concern is that for many, the formula works, our
> numbers are steady, and there is still a huge number of A-list
> participation. In attempting to improve the list, we could be killing
it
> -- so we need to be very sure of our data before proceeding IMO.
>
>
> A FAQ would be very welcome, as would Doug's recommendation for most
> commonly asked threads, as would tags, regardless of what the decision
> is on the split.
>
> But I would request that FAQ links and tag keywords be indicated in
the
> signature of each email from the list, so that the many users who
don't
> use the yahoo list's web interface can easily find the info and know
> what tags to use without having to switch between their mail client
and
> a browser, otherwise having a FAQ and anything else apart from the
> emails is pointless.
>
> In fact, just having a FAQ and encouraging the use of tags could help
> many with list post management, and provide this list the "boost" it
> needs without taking drastic measures. This would be my request, and
my
> recommendation. In addition, we could even include in the FAQ some
"post
> management strategies," such as filtering, tagging and colour-coding
to
> help users manage the flow.
>
> And I would suggest an automated email generated by an algorithm with
> some text like "You have not posted in ___ months..." or "You have now
> unsubscribed..." followed by "please help us make flexcoders a better
> community experience by telling us why you have _"
>
> This would be a far less intrusive and intimidating follow up and data
> collection method than an email personally send from a moderator,
> especially one from Adobe. Some people might perceive such attention
as
> singling them out, and using an autogenerated email would eliminate
the
> manpower necessary to collect data on infrequent/unsubscribed
accounts.
>
> If we do decide to split the list at all, I would keep the number
small
> just to make sure. My recommendation would be to split things into
just
> three lists:
> flexcoders
> flexnewbie
> flexenterprise
>
> Even though the definitions are a little fuzzy, I think flexnewbie
could
> be defined as not the difficulty of the question but the experience
the
> user perceives themselves to be at, so there may very well be advanced
> and newbie questions on both lists, and that's okay. Likewise there
will
> probably be some crossover into the flexenterprise list. I think it's
> fair to say that questions involving a substantial amount of
"Java/data
> services/large teams/enterprise workflows" would qualify, without
> requiring the definition of "enterprise" be defined with scientific
> precision to participate. Too narrow a definition is a recipe for
> failure, any new the list needs to be defined without being too
> exclusive IMO.
>
> Thanks for listening,
>
> --
>
___
>
> Joseph Balderson | http://joeflash.ca
> Flex & Flash Platform Developer | Abobe Certified Developer & Trainer
> Author, Professional Flex 3 (coming Winter 2008)
> Staff Writer, Community MX |
http://communitymx.com/author.cfm?cid=4674
>
>
>
> Tom Chiverton wrote:
> > On Tuesday 17 Jun 2008, Matt Chotin wrote:
> >> Hey folks, let's calm down a little here, K?
> >
> > Aye.
> >
> >> 1) Let's get an FAQ going that can be edited by moderators or
members of
> >> the community.
> >
> > This would be a huge bonus, esp. given #3.
> >
> >> Center. But for now how about we just allocate a page off of the
> >> opensource wiki. We can pick some moderators who can edit the page
and I
> >> will get them added so they can take care of i

Re: [flexcoders] Re: Flexbuilder 3 Out of Memory Error

2008-06-18 Thread Anatole Tartakovsky
jason,
FlexBuilder  is plugin for Eclipse. You are usually better of with J2EE
version of Eclipse and FB3 plugin as base Eclipse comes with nicer set of
facets. Personally, I never use standalone FB3.

To access PDE Runtime facilities you must first enable the PDE capabilities
in your FB3. To enable the PDE capabilities  in Eclipse :

   1. Click Window > Preferences to open the Preferences window.
   2. Expand General in the left hand pane, and click Capabilities.
   3. Click Advanced...
   4. Expand Development
   5. Select "Plug-in Development"
   6. Click OK or Apply to apply your changes.

Verify "PDE Runtime" appears in the Show View list.

Otherwise you can view error log in text viewer:

Help > About Eclipse > Configuration Details
>From there, click the "view error log" button. this will load the error log
in your web browser. Please note the file location if you want to monitor it
with external editor. Most likely it is
/yourworkspace/.metadata/.plugins/org.eclipse.ui.workbench/log

HTH,
Anatole Tartakovsky



On Wed, Jun 18, 2008 at 5:46 PM, Jason <[EMAIL PROTECTED]>
wrote:

>>>Window->Show View->Other->PDE Runtime->Show Errors
>
> Hmm, I don't see "Show View" under Window in FB3. I see Window > Other
> Views, but don't see PDE Runtime anywhere.
>
> I added those params you suggested to the Eclipse shortcut, but the
> error is still there.
>
> Any other ideas? So when Flexbuilder launches, it's really first
> Eclipse.exe and then it gets Flexbuilder added on to it somehow?
>
> Jason Merrill
>
> 
>


RE: [flexcoders] Re: My Web Service with soap headers code no longer work with Flex 3

2008-06-18 Thread Rick Winscot
Josh - remember that one of the big issues with SOAP is that Flex doesn't
understand anything beyond a 200 response.

 

Rick Winscot

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Wednesday, June 18, 2008 10:19 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: My Web Service with soap headers code no
longer work with Flex 3

 

Looks to me like there's a problem with your namespaces in the bad request.
I don't know much about soap headers, but where's that "radarXML" namespace
coming from? 

The SOAP code in Flex 3 is stricter than Flex 2's, so besides a couple of
bugs it behaves better than Flex 2's SOAP code, but often when migrating it
will expose problems in your WSDLs or XSDs that appear to be bugs in Flex 3.
It could be that there's something in your schema that is including the
radarXML namespace for the outer  element, but your server isn't
actually expecting that so it's complaining, and you were just lucky that
flex 2's SOAP code didn't generate the request correctly.

What's the server returning? A 500? If it's a SOAP fault, what does it say?
One of the reasons you want to use Charles is that you can see the error
codes when you get an error code from the server, whereas the browser hides
the details from the Flash Player so they never make it back into Flex,
often hiding very useful troubleshooting information.

-Josh

On Wed, Jun 18, 2008 at 11:46 PM, Mark <[EMAIL PROTECTED]> wrote:

So I downloaded "Charles 3.2.1" to see what I'm getting. Running the
code from 2.0.1 all is fine.  But with 3.0 here's what I'm getting.

http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>


soap:Server
Server was unable to process request. --> Object
reference not set to an instance of an object.





Under the "Request" top tab and "XML Text" bottom tab there's some
differences:


http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>


http://tempuri.org/";>

admin


admin





http://tempuri.org/"; />




http://schemas.xmlsoap.org/soap/envelope/";
xmlns:s="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

http://tempuri.org/";
xmlns:ns0="http://radar.us.na.ey.net/RadarXML.asmx";>


admin


admin





http://tempuri.org/"; />



Another point to mention is that the swf and the wsdl sit in the
same direcory on the server so a crossdomain file isn't necessary.
But again, I can't get this to rum from Flex Builder.  I also tested
this with useProxy set to true and false. Setting it to false gives
the same response, seting it to true shoot off new errors.

It sounds like from what Rick was saying this is not an issue with
the Flash Player as I'm using 9.0.124.  This is an issue with Flex
3.0, is that correct?






--- In flexcoders@yahoogroups.com, "Rick Winscot" <[EMAIL PROTECTED]>
wrote:

>
> Tracy - actually, you are right on the money. The Authorization
header was
> blocked and then re-instated in 9.0.124. You can still work around
the issue
> if you compile in Flex  2.0.1 since the RPC bits are still intact
there.
> however - in 3.0 they have changed.
>
>
>
> From the 3.0.x Flex SDK - AbstractWebService.as
>
>
>
> " The username and password to authenticate a user when accessing
the
> webservice. These will be passed as part of the HTTP Authorization
header
> from the proxy to the endpoint. If useProxy is false this property
will be
> ignored."
>
>
>
> There is also the issue of allowing the header from your
crossdomain file.
>
>
>
> http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403184
>
>
>
>
> Rick Winscot
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of Mark
> Sent: Tuesday, June 17, 2008 9:34 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: My Web Service with soap headers code no
longer
> work with Flex 3
>
>
>
> HI,
>
> I guess what I'm not understanding is the fact that when I run
this
> code from Flex Builder 2 it works, but when I run it out of FB 3
it
> doesn't. The Flash Player version would make sence to me but not
> working in one and not the other. I'm using 9.0.124.0 Debug.
>
> HERE'S MY ERROR IN FB3:
>
> (mx.rpc::Fault)#0
> errorID = 0
> faultCode = "Server.Error.Request"
> faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false
> cancelable=false eventPhase=2 text="Error #2032: Stream Error.
URL:
> http://radar.us.na.ey.net/RadarXML.asmx";]. URL:
> http://radar.us.na.ey.net/RadarXML.asmx";
> faultString = "HTTP request error"
> message = "faultCode:Server.Error.Request faultString:'HTTP
> request error' faultDetail:'Error: [IOErrorEvent type="ioError"
> bubbles=false cancelable=false eventPhase=2 text="Error #2032:
> Stream Error. URL: http://radar.us.na.ey.net/RadarXML.asmx";]. URL:
> http://radar.us.na.ey.net/RadarXML.asmx'"
> 

[flexcoders] Diagonal (hatched) fill

2008-06-18 Thread simonjpalmer
anyone know whether there is built in support for a fill containing
diagonal lines?  I want to have a stacked bar chart with the upper
portion of the stack being hatched.

Any clues?  I can't find anything.
Thx



RE: [flexcoders] Re: My Web Service with soap headers code no longer work with Flex 3

2008-06-18 Thread Rick Winscot
Mark -

 

If you have useProxy = true . then you would be using Flash Proxy/BlazeDS.
Just flipping the bit isn't going to do anything for you. As per your
example. What you see is the effect of the changes in the RPC bits in the
frameworks (2.0.1 vs. 3.0). So. again - what you see is what I would expect.
With regard to the crossdomain - the name is misleading with the addition of
meta-policy filters. The authorization elements apply to 'all' Flash
clients. on the same domain or not.

 

Rick Winscot

 

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark
Sent: Wednesday, June 18, 2008 9:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: My Web Service with soap headers code no longer
work with Flex 3

 

So I downloaded "Charles 3.2.1" to see what I'm getting. Running the 
code from 2.0.1 all is fine. But with 3.0 here's what I'm getting.

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>


soap:Server
Server was unable to process request. --> Object 
reference not set to an instance of an object.





Under the "Request" top tab and "XML Text" bottom tab there's some 
differences:


http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

http://tempuri.org/";>

admin


admin




http://tempuri.org/"; />




http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:s="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

http://tempuri.org/"; 
xmlns:ns0="http://radar.us.na.ey.net/RadarXML.asmx";>

admin


admin




http://tempuri.org/"; />



Another point to mention is that the swf and the wsdl sit in the 
same direcory on the server so a crossdomain file isn't necessary. 
But again, I can't get this to rum from Flex Builder. I also tested 
this with useProxy set to true and false. Setting it to false gives 
the same response, seting it to true shoot off new errors.

It sounds like from what Rick was saying this is not an issue with 
the Flash Player as I'm using 9.0.124. This is an issue with Flex 
3.0, is that correct?

--- In flexcoders@yahoogroups.com  ,
"Rick Winscot" <[EMAIL PROTECTED]> 
wrote:
>
> Tracy - actually, you are right on the money. The Authorization 
header was
> blocked and then re-instated in 9.0.124. You can still work around 
the issue
> if you compile in Flex 2.0.1 since the RPC bits are still intact 
there.
> however - in 3.0 they have changed.
> 
> 
> 
> From the 3.0.x Flex SDK - AbstractWebService.as
> 
> 
> 
> " The username and password to authenticate a user when accessing 
the
> webservice. These will be passed as part of the HTTP Authorization 
header
> from the proxy to the endpoint. If useProxy is false this property 
will be
> ignored."
> 
> 
> 
> There is also the issue of allowing the header from your 
crossdomain file.
> 
> 
> 
> http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403184 
> 
> 
> 
> 
> Rick Winscot
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com   
[mailto:flexcoders@yahoogroups.com  ]
On
> Behalf Of Mark
> Sent: Tuesday, June 17, 2008 9:34 AM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Re: My Web Service with soap headers code no 
longer
> work with Flex 3
> 
> 
> 
> HI,
> 
> I guess what I'm not understanding is the fact that when I run 
this 
> code from Flex Builder 2 it works, but when I run it out of FB 3 
it 
> doesn't. The Flash Player version would make sence to me but not 
> working in one and not the other. I'm using 9.0.124.0 Debug.
> 
> HERE'S MY ERROR IN FB3:
> 
> (mx.rpc::Fault)#0
> errorID = 0
> faultCode = "Server.Error.Request"
> faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false 
> cancelable=false eventPhase=2 text="Error #2032: Stream Error. 
URL: 
> http://radar.us.na.ey.net/RadarXML.asmx";]. URL: 
> http://radar.us.na.ey.net/RadarXML.asmx";
> faultString = "HTTP request error"
> message = "faultCode:Server.Error.Request faultString:'HTTP 
> request error' faultDetail:'Error: [IOErrorEvent type="ioError" 
> bubbles=false cancelable=false eventPhase=2 text="Error #2032: 
> Stream Error. URL: http://radar.us.na.ey.net/RadarXML.asmx";]. URL: 
> http://radar.us.na.ey.net/RadarXML.asmx'"
> name = "Error"
> rootCause = (flash.events::IOErrorEvent)#1
> bubbles = false
> cancelable = false
> currentTarget = (flash.net::URLLoader)#2
> bytesLoaded = 0
> bytesTotal = 0
> data = (null)
> dataFormat = "text"
> eventPhase = 2
> target = (flash.net::URLLoader)#2
> text = "Error #2032: Stream Error. URL: 
> http://radar.us.na.ey.net/RadarXML.asmx";
> type = "ioError"
> 
> --- In flexcoders@yahoogroups.com 
 ,
> "Tracy Spratt"  

Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Doug McCune
I'd just like to point out that we've just had a 108-message thread
among 20 different Flex developers in 2 days. Somehow among the
stagnation and overwhelming traffic we've all had a fantastic
discussion :) I think this thread is an argument that this list is
alive and very healthy.

Doug

On Wed, Jun 18, 2008 at 2:40 PM, Joseph Balderson <[EMAIL PROTECTED]> wrote:
>  From the perspective of someone who in his opinion is only just edging
> into the "advanced" category in Flex, I've been a lurker for many years
> but only just now gradually changing to a more active status on the list.
>
> To me, the volume of emails to the list was intimidating, until I
> decided to manage my lists a little better through Thunderbird
> filtering, and be disciplined about the time I take every day to review
> the list, so it doesn't impact my productivity, much like I do every day
> with the MXNA.
>
> So I'm not convinced that splitting up the list simply to make things
> more efficient and the volume less intimidating for some people
> outweighs the potential risks. I agree with Tim Hoff (16/06/2008 10:53
> PM) -- my concern is less for new users and lurkers than it is for
> frequent posters who are the lifeblood of this community, having to
> divide their precious attention from one list to however-many, which
> would dilute the quality of all lists, and could ultimately lead to
> abandonment by regular users on all lists.
>
> A community such as this must be a delicate balance between questions
> and answers, new users and advanced users, lurkers and frequent
> contributors. My concern is that for many, the formula works, our
> numbers are steady, and there is still a huge number of A-list
> participation. In attempting to improve the list, we could be killing it
> -- so we need to be very sure of our data before proceeding IMO.
>
>
> A FAQ would be very welcome, as would Doug's recommendation for most
> commonly asked threads, as would tags, regardless of what the decision
> is on the split.
>
> But I would request that FAQ links and tag keywords be indicated in the
> signature of each email from the list, so that the many users who don't
> use the yahoo list's web interface can easily find the info and know
> what tags to use without having to switch between their mail client and
> a browser, otherwise having a FAQ and anything else apart from the
> emails is pointless.
>
> In fact, just having a FAQ and encouraging the use of tags could help
> many with list post management, and provide this list the "boost" it
> needs without taking drastic measures. This would be my request, and my
> recommendation. In addition, we could even include in the FAQ some "post
> management strategies," such as filtering, tagging and colour-coding to
> help users manage the flow.
>
> And I would suggest an automated email generated by an algorithm with
> some text like "You have not posted in ___ months..." or "You have now
> unsubscribed..." followed by "please help us make flexcoders a better
> community experience by telling us why you have _"
>
> This would be a far less intrusive and intimidating follow up and data
> collection method than an email personally send from a moderator,
> especially one from Adobe. Some people might perceive such attention as
> singling them out, and using an autogenerated email would eliminate the
> manpower necessary to collect data on infrequent/unsubscribed accounts.
>
> If we do decide to split the list at all, I would keep the number small
> just to make sure. My recommendation would be to split things into just
> three lists:
> flexcoders
> flexnewbie
> flexenterprise
>
> Even though the definitions are a little fuzzy, I think flexnewbie could
> be defined as not the difficulty of the question but the experience the
> user perceives themselves to be at, so there may very well be advanced
> and newbie questions on both lists, and that's okay. Likewise there will
> probably be some crossover into the flexenterprise list. I think it's
> fair to say that questions involving a substantial amount of "Java/data
> services/large teams/enterprise workflows" would qualify, without
> requiring the definition of "enterprise" be defined with scientific
> precision to participate. Too narrow a definition is a recipe for
> failure, any new the list needs to be defined without being too
> exclusive IMO.
>
> Thanks for listening,
>
> --
> ___
>
> Joseph Balderson | http://joeflash.ca
> Flex & Flash Platform Developer | Abobe Certified Developer & Trainer
> Author, Professional Flex 3 (coming Winter 2008)
> Staff Writer, Community MX | http://communitymx.com/author.cfm?cid=4674
>
>
>
> Tom Chiverton wrote:
>> On Tuesday 17 Jun 2008, Matt Chotin wrote:
>>> Hey folks, let's calm down a little here, K?
>>
>> Aye.
>>
>>> 1) Let's get an FAQ going that can be edited by moderators or members of
>>> the community.
>>
>> This would be a huge bonus, esp

[flexcoders] Re: Flexbuilder 3 Out of Memory Error

2008-06-18 Thread Jason
>>Window->Show View->Other->PDE Runtime->Show Errors

Hmm, I don't see "Show View" under Window in FB3. I see Window > Other 
Views, but don't see PDE Runtime anywhere.

I added those params you suggested to the Eclipse shortcut, but the 
error is still there.  

Any other ideas?  So when Flexbuilder launches, it's really first 
Eclipse.exe and then it gets Flexbuilder added on to it somehow?  

Jason Merrill



Re: [flexcoders] capture linebreaks

2008-06-18 Thread Luke Vanderfluit
Hi.

Josh McDonald wrote:
> No, I mean /$\s*^/g which looks for any whitespace (including \n and \r) 
> between the end of a line and the beginning of the next (with the /g) so 
> you replace that with "". 

Ok. Gotcha.

But for some reason that won't work in Flex's
> regexp implementation although it does work fine in Java's. The second 
> solution works fine though:
> 
> var s : String = "Line\nLine2";
> var rg : RegExp = /$\s*^/g;
>
> trace("s == \"" + s + "\"");
> trace("");   
>
> trace("s.replace(" + rg + ",\"\") == \"" + 
> s.replace(rg,"") + "\"");
> trace("");   
>
> trace("s.split(\"\\n\").join(\"\") == \"" + 
> s.split("\n").join("") + "\"");
> trace("");   
> 
> Gives:
> 
> s == "Line
> Line2"
> 
> s.replace(/$\s*^/g,"") == "Line
> Line2"
> 
> s.split("\n").join("") == "LineLine2"

Havent tested this yet but might need to.
Since I have found the problem of missing newlines to be caused by my 'tail' 
program, Im 
simply saving the data from the textarea 'as is' to the database. When loading 
it again 
from the db, line breaks are intact so all is good, but the practise of storing 
line 
breaks in a database doesnt sit well with me so I might do something of an 
alternative 
solution...


Kr.
Luke.








> 
> -Josh
> 
> On Wed, Jun 18, 2008 at 9:36 AM, Luke Vanderfluit 
> <[EMAIL PROTECTED] 
> > wrote:
> 
> Hi.
> 
> Thanks for your help.
> 
> Josh McDonald wrote:
>  > If the /$\s*^/g regex doesn't work (it should though),
> 
> You probably mean /^\s*$/ which is looking for any number of spaces
> between the beginning
> and end of a line...
> 
>  try
>  > string.split("\n").join("") - it probably won't be fast,
> problem is I cant get it to recognise the "\n"
> 
> Kr.
> Luke.
> 
>  but it'll get
>  > you by, and you can write something specific using indexOf etc
> later if
>  > speed becomes a problem.
>  >
>  > -Josh
>  >
>  > On Wed, Jun 18, 2008 at 9:24 AM, Luke Vanderfluit
>  > <[EMAIL PROTECTED]
> 
>  >  >> wrote:
>  >
>  > Hi.
>  >
>  > shaun etherton wrote:
>  >  > Hey Luke,
>  >  >
>  >  > Luke Vanderfluit wrote:
>  >  >> Ive tried this:
>  >  >>  var myp:RegExp = /\n/g;
>  >  >
>  >  > have you tried \r
>  >
>  > Yes. Ive tried /\r\n/, /\r/, /\n/
>  > Also tried setting is as in new RegExp("//n","g"); etc.
>  >
>  > Kr.
>  > Luke.
>  >
>  >  >
>  >  > cheers,
>  >
>  >
>  > --
>  > Luke Vanderfluit
>  > Analyst / Web Programmer
>  > e3Learning.com.au 
> 
>  > 08 8221 6422
>  >
>  > 
>  >
>  > --
>  > Flexcoders Mailing List
>  > FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>  > Search Archives:
>  > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
>  > Groups Links
>  >
>  >
>  >mailto:[EMAIL PROTECTED]
> 
>  >  >
>  >
>  >
>  >
>  >
>  >
>  > --
>  > "Therefore, send not to know For whom the bell tolls. It tolls
> for thee."
>  >
>  > :: Josh 'G-Funk' McDonald
>  > :: 0437 221 380 :: [EMAIL PROTECTED] 
> >
> 
> 
> --
> Luke Vanderfluit
> Analyst / Web Programmer
> e3Learning.com.au 
> 08 8221 6422
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
> Groups Links
> 
> 
>mailto:[EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]  


-- 
Luke Vanderfluit
Analyst / Web Programmer
e3Learning.com.au
08 8221 6422


Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Joseph Balderson
 From the perspective of someone who in his opinion is only just edging 
into the "advanced" category in Flex, I've been a lurker for many years 
but only just now gradually changing to a more active status on the list.

To me, the volume of emails to the list was intimidating, until I 
decided to manage my lists a little better through Thunderbird 
filtering, and be disciplined about the time I take every day to review 
the list, so it doesn't impact my productivity, much like I do every day 
with the MXNA.

So I'm not convinced that splitting up the list simply to make things 
more efficient and the volume less intimidating for some people 
outweighs the potential risks. I agree with Tim Hoff (16/06/2008 10:53 
PM) -- my concern is less for new users and lurkers than it is for 
frequent posters who are the lifeblood of this community, having to 
divide their precious attention from one list to however-many, which 
would dilute the quality of all lists, and could ultimately lead to 
abandonment by regular users on all lists.

A community such as this must be a delicate balance between questions 
and answers, new users and advanced users, lurkers and frequent 
contributors. My concern is that for many, the formula works, our 
numbers are steady, and there is still a huge number of A-list 
participation. In attempting to improve the list, we could be killing it 
-- so we need to be very sure of our data before proceeding IMO.


A FAQ would be very welcome, as would Doug's recommendation for most 
commonly asked threads, as would tags, regardless of what the decision 
is on the split.

But I would request that FAQ links and tag keywords be indicated in the 
signature of each email from the list, so that the many users who don't 
use the yahoo list's web interface can easily find the info and know 
what tags to use without having to switch between their mail client and 
a browser, otherwise having a FAQ and anything else apart from the 
emails is pointless.

In fact, just having a FAQ and encouraging the use of tags could help 
many with list post management, and provide this list the "boost" it 
needs without taking drastic measures. This would be my request, and my 
recommendation. In addition, we could even include in the FAQ some "post 
management strategies," such as filtering, tagging and colour-coding to 
help users manage the flow.

And I would suggest an automated email generated by an algorithm with 
some text like "You have not posted in ___ months..." or "You have now 
unsubscribed..." followed by "please help us make flexcoders a better 
community experience by telling us why you have _"

This would be a far less intrusive and intimidating follow up and data 
collection method than an email personally send from a moderator, 
especially one from Adobe. Some people might perceive such attention as 
singling them out, and using an autogenerated email would eliminate the 
manpower necessary to collect data on infrequent/unsubscribed accounts.

If we do decide to split the list at all, I would keep the number small 
just to make sure. My recommendation would be to split things into just 
three lists:
flexcoders
flexnewbie
flexenterprise

Even though the definitions are a little fuzzy, I think flexnewbie could 
be defined as not the difficulty of the question but the experience the 
user perceives themselves to be at, so there may very well be advanced 
and newbie questions on both lists, and that's okay. Likewise there will 
probably be some crossover into the flexenterprise list. I think it's 
fair to say that questions involving a substantial amount of "Java/data 
services/large teams/enterprise workflows" would qualify, without 
requiring the definition of "enterprise" be defined with scientific 
precision to participate. Too narrow a definition is a recipe for 
failure, any new the list needs to be defined without being too 
exclusive IMO.

Thanks for listening,

-- 
___

Joseph Balderson | http://joeflash.ca
Flex & Flash Platform Developer | Abobe Certified Developer & Trainer
Author, Professional Flex 3 (coming Winter 2008)
Staff Writer, Community MX | http://communitymx.com/author.cfm?cid=4674



Tom Chiverton wrote:
> On Tuesday 17 Jun 2008, Matt Chotin wrote:
>> Hey folks, let's calm down a little here, K?
> 
> Aye.
> 
>> 1) Let's get an FAQ going that can be edited by moderators or members of
>> the community.  
> 
> This would be a huge bonus, esp. given #3.
> 
>> Center.  But for now how about we just allocate a page off of the
>> opensource wiki.  We can pick some moderators who can edit the page and I
>> will get them added so they can take care of it.  
> 
> Happy to be added, drop me a note if you are not aware of my adobe.com ID 
> (it's not @halliwells).
> 
>> 2) Some folks suggested that you either mark in the body or in the subject
>> something that indicates what you're talking about.  Seems reasonable. 
> ...

Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Joseph Balderson
I think in dividing a list bursting at the seams, it seems, with too 
many diverse posts, that we don't forget that other list from which many 
migrated from when Flex 2/AS3 came out:Flashcoders.

Flashcoders (and the newer Flash_Tiger) serves as a wellspring of 
AS3/Flash API info, so I wonder how practical an ActionscriptCoders list 
would be. And general UI design is also covered in some extent in 
Flashcoders, since they deal with many of the same issues.

People make announcements related to open source projects all the time, 
and the rest should be for blogs, which is more a broadcast medium than 
lists, so the FlexAnnouncements list might not do so well.

How about this:

Existing
- FlashCoders
- FlashNewbie
- FlashTiger
- FlexCoders
- FlexComponents
- ApolloCoders (which would do well to change its name ;)
- FlexJobs

New (proposed)
- FlexNewbies
- FlexEnterprise

...and we see how they do before branching any more.

___

Joseph Balderson, Developer | http://joeflash.ca | 705-466-6345


Bjorn Schultheiss wrote:
> Existing
> - FlexCoders
> - FlexComponents
> - ApolloCoders
> - FlexJobs
> 
> New
> - EnterpriseFlex
> - FlexUIDesign
> - FlexAnnouncements
> - ActionscriptCoders
> 
> ?
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Bjorn Schultheiss"
> <[EMAIL PROTECTED]> wrote:
 1. 101
>> Is creating a new group for this necessary or is flexcoders already
>> handling this?
>>
 2. Coding (AS3/MXML)
>> The name seems too abstract, what area are we targeting?
>> Is is to "show off" new ideas or syntax questions.
>>
 3. Design and UI ( Flash/Components/CSS/Skin)
>> Love it! Can we replace UI with UX : )
>>
 4. Enterprise/Best Practices/Frameworks
>> Does this include WebOrb/Blaze/LCDS ?
>>
 5. AIR - not big yet, but definitely a separate group of folks 
>> Apollocoders exists. not sure what the traffic is like.
>>
>>
>>
>>
>>
>> --- In flexcoders@yahoogroups.com, "Josh McDonald"  wrote:
>>> That's not a bad list of categories at all Anatole.
>>>
>>> It would be best if there's still some sort of (read-only?)
>> meta-list that
>>> shows all messages, and if it were smart enough that you could
> read the
>>> "all" list and replies went to the correct lists it'd be a pretty good
>>> common ground I think. I'm no mailing-list-guy though, so no idea if
>> that's
>>> feasible.
>>>
>>> -Josh
>>>
>>> On Tue, Jun 17, 2008 at 1:37 PM, Anatole Tartakovsky <
>>> anatole.tartakovsky@> wrote:
>>>
   Matt,

  Splitting the last 500 topics in groups it would be:
 1. 101
 2. Coding (AS3/MXML)
 3. Design and UI ( Flash/Components/CSS/Skin)
 4. Enterprise/Best Practices/Frameworks
 5. AIR - not big yet, but definitely a separate group of folks there

 Thank you
 Anatole Tartakovsky
 Farata Systems

 On Mon, Jun 16, 2008 at 11:28 PM, Matt Chotin  wrote:t
 Practices/Frameworks

I do think 12 is way too high a number BTW. Would recommend
>> capping at
> 5 absolute max.
>
>
> On 6/16/08 8:28 PM, "Matt Chotin" >
> wrote:
>
> Hey guys,
>
> If you think that splitting the lists is the right thing to do
>> for the
> larger community then I'm not going to stop you. I think we were
>> right in
> the past to recommend against the split, but I can see Anatole's
>> point that
> traffic has stagnated and we'd certainly like the community to
>> thrive. We'll
> certainly try to pay attention to as much as possible (not like
>> it's me
> doing much but you know some Adobe folks are quite active), but no
> guarantees on how it will go. The Adobe forums themselves are
>> definitely
> lacking, primarily because we can't access them via email.
> There is a
> project going on within Adobe to improve the experience
>> drastically, and we
> definitely intend to split forums there (and hopefully convince
>> everyone to
> come back over and move away from Yahoo Groups); but it's still a
>> number of
> months away at the earliest. I would hope that folks will
>> continue to help
> users of all levels, and we'll need moderators to handle whatever
>> new lists
> are created.
>
> Matt
>
> On 6/16/08 8:17 PM, "Bjorn Schultheiss"
>> >
> wrote:
>
> I like the idea of splitting topics into different lists.
> I also like Anatole's suggestions for list types.
>
> Flexcoders has become to "over-bloated"..
>
> I would be in favour for looking at topics that I'm interested in.
>
> Perhaps this will get more of the experienced contributors back
>> on the
> list.
>
> Imagine if OSFlash had only one mailing list.
>
> --- In flexcoders@yahoogroups.com 
>>  flexcoders%40yahoogroups.com
>> > flexcoders%40yahoogroups.com > ,
>> "Anatole
> Tartakovsky"
>  wrote:
>> Dear All,
>> Flexcoders has huge problem. In the last 15 month it is v

[flexcoders] pass in a state name to a compoenet

2008-06-18 Thread dnk
Hi there... say I have a component like:


http://www.adobe.com/2006/mxml"; layout="vertical">










And I want to add a custom state when this component is used:


http://www.adobe.com/2006/mxml";  
layout="absolute" xmlns:ns1="*">





How would i do this? My issues are obviously that the types do not  
match (String VS State).

What is the best way to do this?

DNK


Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Matt Chotin
Moderate first post is turned on for flexcoders and for flexcomponents, but I 
at least am more scanning for spam than stuff that really should be in 
flexcoders.

Matt


On 6/18/08 12:10 PM, "Anatole Tartakovsky" <[EMAIL PROTECTED]> wrote:




I would definetly vote to add "moderate the first post" for advanced groups 
like flexcomponents to deal with the issues Doug brought up. I believe that 
would make lists better for everyone.
Sincerely
Anatole

On Wed, Jun 18, 2008 at 1:54 PM, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:
Doug,
flexcomponents is not moderated in conventional sense. The name of the 
group is confusing for new users. Very few people have a sense what the group 
is for. I am more concerned that the messages that do not belong to 
flexcomponents stay there. Crossposting has to be moderated and discouraged. 
Ban them first time for some time, permanently if needed.

You can try weborb or flexjobs as examples of clearly distinct and moderated 
entries.

I am getting few emails a week from people asking me to help them to write 
"hello worlld" type application in Flex - or help them with blog or book code - 
to find that they do not know they need a server. We created this culture with 
free products and support - and there are people who would take advantage.

Regards,
Anatole

On Wed, Jun 18, 2008 at 12:03 PM, Doug McCune <[EMAIL PROTECTED]> wrote:
Out of the last 100 threads on flexcomponents 22 were cross posted to
flexcoders. Almost every one (I think with one exception) was
cross-posted by the original author immediately to both lists
(sometimes as many as 5 lists! flexcoders, flex_india, flexcomponents,
ria-india). One of them was pretty much spam, and one of them was a
job post (which shouldn't have been posted to flexcoders or
flexcomponents, but only flexjobs).

If we look at flexcomponents as a microcosm, then we have: 22%
crossposting (1% legitimate cross-posting) and 2% spam.

Yeah, this isn't a scientific survey (although I do hope to get real
results comparing the full traffic of both lists soon). But I just
thought it was interesting.

Doug


On Wed, Jun 18, 2008 at 8:44 AM, Anatole Tartakovsky
<[EMAIL PROTECTED] 

 > wrote:
> Hello Tom,
>
>>>How is >1 list simpler than 1 list ?<<
>
> The same way "threads by the topic" are simplier then unsorted individual
> email - you read only the ones you need and fold the rest. While you can
> argue that you can sort and fold messages with some client email
> customization, it is not a trivial task unless your server or client
> supports it.
>
> Basically weborb is 10 messages a day, apollo is 1 and flexcomponents are 2
> - I can manage that in my daily emails. Imagine that we separated the main
> list in subtopics and one of them would be "dashboards, charts and BI" -
> getting 5-10 messages a day - would you rather moderate that or whole
> list? Would it get up in your inbox? What are the chances that a single
> mail would get missed by specialist? What about the quality of the answer?
> Visibility of all questions and answers on the topic? Am I the only one who
> thinks that libraries place books by category for convenience and access
> simplicity?
>
> There is nothing simple about fishing in 100+ items. Tom, as BI specialist
> you know firsthand that sorting data in the beginning eliminates order of
> magnitude processing later. Let us apply it to our daily life.
>
>>> But if there are too many they'll just post to them all. <<
>
> There are 2 types of crossposting people - the ones who did not receive the
> answer in the previous forum and the ones who cross post from the get go.
> The first type is OK - moderator or users can point them to a different
> forum. There are periods in flexcomponents that every second message gets
> "RTFM" or "go to flexcoders" responses. The second type needs some
> discipline. Here is what moderators and users do - saying this is not
> appropriate forum, remove the message to make life easier for the rest,
> giving warning bans for a day - however harsh it sounds, it works. The goal
> is to service the community - not to do somebodies homework. If the forums
> are speedy and high quality the crossposting ceases.
>
> I have seen heavily moderated product forums on compuserve (yes, before
> Internet) 15 years ago. You had less then one hour response (datetime
> US) time on 90+% of the questions. The volume was about 500 messages across
> 20 forums. "General" list was getting about 100 threads, the rest were much
> smaller, The answers would be actually correct ones. Vendors would have team
> of community moderators that would answer 50%+ of the questions in their
> domain - with multiple moderators per topic. There was very little
> repetition of the questions as people could search much better.
>
> Things come in cycles. Please consider this as "best practices" from the
> historical point.
>
> Now for the next cycle

Re: [flexcoders] Re: Flexbuilder 3 Out of Memory Error

2008-06-18 Thread Anatole Tartakovsky
Jason,
   It might us help if you add log of the message. Extra info might be
available via Window->Show View->Other->PDE Runtime->Show Errors.

In either case you need to bump your PermGen space - given the memory you
have -Xmx512 is low - go to eclipse shortcut, rightmouse->properties, then
add this:
C:\eclipse\eclipse.exe -clean  -vmargs -Xms512m -Xmx800m -XX:PermSize=256m
-XX:MaxPermSize=384m

Also please low one of the plugins that monitors JVM memory so you can
optimize memory usage for your project.

HTH,
Anatole Tartakovsky
Farata Systems

On Wed, Jun 18, 2008 at 4:07 PM, Jason <[EMAIL PROTECTED]>
wrote:

>   So I need to revive this thread. The original problem is that a co-
> worker was getting an Out of Memory error in FB3 (See post and
> response from Sherif Abdou below). Now I have the same problem.
> Both of us had been developing with the Flex 2 SDk and Flexbuilder
> 2. We recently upgraded to Flexbuilder 3 and both of us are getting
> these error when we attempt to compile our project.
>
> This is a large project (at least, from our perspective). However,
> if we create small, simple Flex 3 projects, they compile just fine.
>
> Also, if we build with FlashDevelop and the Flex 3 SDK, it also
> compiles fine. We tried modifying the eclipse.ini file as directed,
> but with no luck. Also tried increasing paging size in Windows for
> Flex with no luck.
>
> Both of us have 2GB of RAM. Any ideas?
>
> Thanks,
>
> Jason Merrill
> Bank of America
> Global Technology & Operations & Global Risk L&LD
> eTools & Multimedia
>
> Join the Bank of America Flash Platform Developer Community
>
> Are you a Bank of America associate interested in innovative learning
> ideas and technologies?
> Check out our internal  GT&O Innovative Learning Blog & subscribe.
>
> --- In flexcoders@yahoogroups.com , Sherif
> Abdou <[EMAIL PROTECTED]> wrote:
> >
> > go in the eclipse.ini file and increase all the numbers there and
> see if it helps
> >
> > -vmargs
> > -Xms60m
> > -Xmx512m
> > -Djava.net.preferIPv4Stack=true
> > -Djava.net.preferIPv4Stack=true
> >
> >
> > - Original Message 
> > From: Jason <[EMAIL PROTECTED]>
> > To: flexcoders@yahoogroups.com 
> > Sent: Wednesday, June 4, 2008 2:00:04 PM
> > Subject: [flexcoders] Flexbuilder 3 Out of Memory Error
> >
> >
> >
> > I have a co-worker that I am trying to help troubleshoot a
> > Flexbuilder 3 issue with on Windows XP. When she builds the
> project,
> > she gets random crashes in Flexbuilder 3. Sometimes the project
> > builds fine, sometimes it doesn't.
> >
> > The error is, "An out of memory error has occured. Consult
> > the "Running Eclipse" documentation in the readme file" etc.
> > etc.
> >
> > The log file has the error detailed as:
> >  = = = = =
> = 
> > "!SESSION 2008-06-04 14:39:10.991  - - -
> -
> > ---
> > eclipse.buildId= unknown
> > java.version= 1.5.0_11
> > java.vendor= Sun Microsystems Inc.
> > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> > Command-line arguments: -os win32 -ws win32 -arch x86
> >
> > !ENTRY org.eclipse. core.jobs 4 2 2008-06-04 14:46:29.455
> > !MESSAGE An internal error occurred during: "Launching Venice (3)".
> > !STACK 0
> > java.lang.OutOfMemo ryError: Java heap space"
> >  = = = = =
> = 
> >
> > She has 2GB of memory and is not running any other applications in
> > her task bar. She's also tried messing with the XP paging size, to
> > no avail.
> >
> > Any ideas? Google and Adobe wasn't much help. Thanks.
> >
> > Jason Merrill
> > Bank of America
> >
>
> 
>


[flexcoders] Re: Flexbuilder 3 Out of Memory Error

2008-06-18 Thread Jason
So I need to revive this thread. The original problem is that a co-
worker was getting an Out of Memory error in FB3 (See post and 
response from Sherif Abdou below).  Now I have the same problem.  
Both of us had been developing with the Flex 2 SDk and Flexbuilder 
2.  We recently upgraded to Flexbuilder 3 and both of us are getting 
these error when we attempt to compile our project.

This is a large project (at least, from our perspective).  However, 
if we create small, simple Flex 3 projects, they compile just fine.

Also, if we build with FlashDevelop and the Flex 3 SDK, it also 
compiles fine.  We tried modifying the eclipse.ini file as directed, 
but with no luck.  Also tried increasing paging size in Windows for 
Flex with no luck.

Both of us have 2GB of RAM.  Any ideas?  

Thanks,

Jason Merrill 
Bank of America 
Global Technology & Operations & Global Risk L&LD 
eTools & Multimedia 

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning 
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 



--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> go in the eclipse.ini file and increase all the numbers there and 
see if it helps
> 
> -vmargs
> -Xms60m
> -Xmx512m
> -Djava.net.preferIPv4Stack=true
> -Djava.net.preferIPv4Stack=true
> 
> 
> - Original Message 
> From: Jason <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Wednesday, June 4, 2008 2:00:04 PM
> Subject: [flexcoders] Flexbuilder 3 Out of Memory Error
> 
> 
> 
> I have a co-worker that I am trying to help troubleshoot a 
> Flexbuilder 3 issue with on Windows XP.  When she builds the 
project, 
> she gets random crashes in Flexbuilder 3.  Sometimes the project 
> builds fine, sometimes it doesn't.
> 
> The error is, "An out of memory error has occured. Consult 
> the "Running Eclipse" documentation in the readme file" etc. 
> etc. 
> 
> The log file has the error detailed as:
>  = = = = = 
= 
> "!SESSION 2008-06-04 14:39:10.991  - - -
-
> ---
> eclipse.buildId= unknown
> java.version= 1.5.0_11
> java.vendor= Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments:  -os win32 -ws win32 -arch x86
> 
> !ENTRY org.eclipse. core.jobs 4 2 2008-06-04 14:46:29.455
> !MESSAGE An internal error occurred during: "Launching Venice (3)".
> !STACK 0
> java.lang.OutOfMemo ryError: Java heap space"
>  = = = = = 
= 
> 
> She has 2GB of memory and is not running any other applications in 
> her task bar.  She's also tried messing with the XP paging size, to 
> no avail. 
> 
> Any ideas? Google and Adobe wasn't much help.  Thanks.
> 
> Jason Merrill
> Bank of America
>




Re: [flexcoders] Parent column of ItemRenderer

2008-06-18 Thread Anatole Tartakovsky
.styleName will get you the column definition
HTH,
Anatole Tartakovsky

On Wed, Jun 18, 2008 at 3:14 PM, Zee Yang <[EMAIL PROTECTED]> wrote:

>   Hi,
>
> I have a custom item renderer for an advanced data grid. My data grid
> has several columns sharing the same renderer. Is there a way for the
> renderer to tell which column it belongs to during runtime?
>
> 
>


[flexcoders] Re: Parent column of ItemRenderer

2008-06-18 Thread Tim Hoff

Hi Zee,

You can determine the column by looking at listData.columnIndex from
within the itemRenderer.

-TH


--- In flexcoders@yahoogroups.com, "Zee Yang" <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a custom item renderer for an advanced data grid. My data grid
> has several columns sharing the same renderer. Is there a way for the
> renderer to tell which column it belongs to during runtime?
>




[flexcoders] How to rotate a Combo Box

2008-06-18 Thread wyattwang

Here's the problem. 

After setting myComboBox.rotation = 270 the box itself can be rotated.
But the dropdown and textInput inside won't rotate.

By extending the mx:ComboBox, dropdown.rotation = 270 will work, but
the textInput.rotation = 270 does not work. Font Arial was embedded
into the application. How to make the textInput inside rotate to 270? 

+---+
| |>|
|   |
|   |
|   |
|   |
|   |
|   |
+---+

Thanks. 



[flexcoders] Parent column of ItemRenderer

2008-06-18 Thread Zee Yang
Hi,

I have a custom item renderer for an advanced data grid. My data grid
has several columns sharing the same renderer. Is there a way for the
renderer to tell which column it belongs to during runtime?



Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Anatole Tartakovsky
I would definetly vote to add "moderate the first post" for advanced groups
like flexcomponents to deal with the issues Doug brought up. I believe that
would make lists better for everyone.
Sincerely
Anatole

On Wed, Jun 18, 2008 at 1:54 PM, Anatole Tartakovsky <
[EMAIL PROTECTED]> wrote:

> Doug,
> flexcomponents is not moderated in conventional sense. The name of the
> group is confusing for new users. Very few people have a sense what the
> group is for. I am more concerned that the messages that do not belong to
> flexcomponents stay there. Crossposting has to be moderated and discouraged.
> Ban them first time for some time, permanently if needed.
>
> You can try weborb or flexjobs as examples of clearly distinct and
> moderated entries.
>
> I am getting few emails a week from people asking me to help them to write
> "hello worlld" type application in Flex - or help them with blog or book
> code - to find that they do not know they need a server. We created this
> culture with free products and support - and there are people who would take
> advantage.
>
> Regards,
> Anatole
>
>   On Wed, Jun 18, 2008 at 12:03 PM, Doug McCune <[EMAIL PROTECTED]>
> wrote:
>
>>   Out of the last 100 threads on flexcomponents 22 were cross posted to
>> flexcoders. Almost every one (I think with one exception) was
>> cross-posted by the original author immediately to both lists
>> (sometimes as many as 5 lists! flexcoders, flex_india, flexcomponents,
>> ria-india). One of them was pretty much spam, and one of them was a
>> job post (which shouldn't have been posted to flexcoders or
>> flexcomponents, but only flexjobs).
>>
>> If we look at flexcomponents as a microcosm, then we have: 22%
>> crossposting (1% legitimate cross-posting) and 2% spam.
>>
>> Yeah, this isn't a scientific survey (although I do hope to get real
>> results comparing the full traffic of both lists soon). But I just
>> thought it was interesting.
>>
>> Doug
>>
>>
>> On Wed, Jun 18, 2008 at 8:44 AM, Anatole Tartakovsky
>> <[EMAIL PROTECTED] > wrote:
>> > Hello Tom,
>> >
>> >>>How is >1 list simpler than 1 list ?<<
>> >
>> > The same way "threads by the topic" are simplier then unsorted
>> individual
>> > email - you read only the ones you need and fold the rest. While you can
>> > argue that you can sort and fold messages with some client email
>> > customization, it is not a trivial task unless your server or client
>> > supports it.
>> >
>> > Basically weborb is 10 messages a day, apollo is 1 and flexcomponents
>> are 2
>> > - I can manage that in my daily emails. Imagine that we separated the
>> main
>> > list in subtopics and one of them would be "dashboards, charts and BI" -
>> > getting 5-10 messages a day - would you rather moderate that or whole
>> > list? Would it get up in your inbox? What are the chances that a single
>> > mail would get missed by specialist? What about the quality of the
>> answer?
>> > Visibility of all questions and answers on the topic? Am I the only one
>> who
>> > thinks that libraries place books by category for convenience and access
>> > simplicity?
>> >
>> > There is nothing simple about fishing in 100+ items. Tom, as BI
>> specialist
>> > you know firsthand that sorting data in the beginning eliminates order
>> of
>> > magnitude processing later. Let us apply it to our daily life.
>> >
>> >>> But if there are too many they'll just post to them all. <<
>> >
>> > There are 2 types of crossposting people - the ones who did not receive
>> the
>> > answer in the previous forum and the ones who cross post from the get
>> go.
>> > The first type is OK - moderator or users can point them to a different
>> > forum. There are periods in flexcomponents that every second message
>> gets
>> > "RTFM" or "go to flexcoders" responses. The second type needs some
>> > discipline. Here is what moderators and users do - saying this is not
>> > appropriate forum, remove the message to make life easier for the rest,
>> > giving warning bans for a day - however harsh it sounds, it works. The
>> goal
>> > is to service the community - not to do somebodies homework. If the
>> forums
>> > are speedy and high quality the crossposting ceases.
>> >
>> > I have seen heavily moderated product forums on compuserve (yes, before
>> > Internet) 15 years ago. You had less then one hour response (datetime
>> > US) time on 90+% of the questions. The volume was about 500 messages
>> across
>> > 20 forums. "General" list was getting about 100 threads, the rest were
>> much
>> > smaller, The answers would be actually correct ones. Vendors would have
>> team
>> > of community moderators that would answer 50%+ of the questions in their
>> > domain - with multiple moderators per topic. There was very little
>> > repetition of the questions as people could search much better.
>> >
>> > Things come in cycles. Please consider this as "best practices" from the
>> > historical point.
>> >
>> > Now for the next cycle - can single list be better then multiple

[flexcoders] AIR/LCDS/EJB Authentication lost when a different RTPM worker thread is used

2008-06-18 Thread taze170171
Hi!

I am setting up the security for Flex to work together with the EJB 3 
Container security. The user should login within the AIR application 
via a custom login screen and the authentication should be verified 
against the configured JBoss login module. For all further ds 
requests the authorization check should be done for every EJB method 
by the EJB container. All  EJB methods have a 
@javax.annotation.security.RolesAllowed(...) anotation.

The EJBs are called within an assembler.

In principle the process works until the EJB is called by a new RTPM 
worker thread. Within the new RTPM thread the principal is null and 
the authorization fails.

I have setup the security as follows:
*  The custom security and tomcat valve have been setup as described 
in the lcds docu (copy jars, copy context.xml)
* The services-config.xml contains the following part:
...



Custom

FLEX



...

* The data-management-config.xml contains the following part:





...


* The login is performed within the mxml as follows:

var token:AsyncToken = ds.connect();
token.addResponder(
  new AsyncResponder(
function():void
{
  if (ds.connected)
  {
var channelSet : ChannelSet = ds.channelSet;
var token : AsyncToken = channelSet.login("user", "pwd");

token.addResponder(new AsyncResponder
(
function(event:ResultEvent, token:Object=null):void
{
switch(event.result)
{
  case "success":
  Alert.show("Login success");
...

I get the success result and when the first ejb calls are performed 
from the data service assembler the prinicipal is set and the 
authorization works.

But if the EJB is called within another RTPM worker thread no 
principal is set and the authorization fails.

How can I share the security login context over more than one worker 
thread?

Thanks in advance,
taze



[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Amy
--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> That's a really useful thing, why isn't it pimped here more often? 
I've been
> here 10 months, and I'd never heard of it before that Brazilian fellow
> (sorry I forgot your name dude) mentioned it in the original thread 
earlier
> today...

Because some people find that this makes the results less useful rather 
than more useful.  If you're trying to search within LiveDocs and you 
get the whole world, it's a pain.



Re: [flexcoders] Tree itemRenderer not displaying as a tree?

2008-06-18 Thread S B
How can I fix that?

Or, how can I change each node's label based on two attributes in the XMLList?


- Original Message 
From: Alex Harui <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, June 18, 2008 10:43:22 AM
Subject: RE: [flexcoders] Tree itemRenderer not displaying as a tree?


Because indentation is handled by the
renderer and label doesn’t know how to do that.
 


 
From:[EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf 
Of S B
Sent: Wednesday, June 18, 2008
9:51 AM
To: [EMAIL PROTECTED] ups.com
Subject: [flexcoders] Tree
itemRenderer not displaying as a tree?
 
Why doesn't the following
mx:Tree display as a tree? Instead, all nodes have the same indentation for
some reason. Thanks!











 [...]

  
  
  
   
 
  
   
 
  
 
  
 
  
 
 


  

[flexcoders] web service access error

2008-06-18 Thread markflex2007
Hi,

I am use Flex, cairngorm and web service.

I copy a application form other pc and I get the follow error.

RPC Fault faultString="HTTP request error"
faultCode="Server.Error.Request" faultDetail="Unable to load WSDL. If
currently online, please verify the URI and/or format of the WSDL
(http://122.456.1.xxx/WebService/AdminService.asmx?WSDL)"]

But the same application works well in other pc.

I am not sure why this happens.

Thanks

Mark



[flexcoders] PrintJob strange behavior

2008-06-18 Thread matn1_mike
I was wondering why the following occurs, if anyone has an idea?

I have a PrintJob very similar to the way the Flex 3 Cookbook
describes how to add the Job to the main app.

parentApp.addChild(printView);

The problem I see, is that if the printView is any MXML component
which holds my labels and printGrid, upon adding it to the parentApp
using the function call above, all my fields get reinitialized after
this method call, and it doesn't matter. scope either.

For example if I have a MXML file call FormTemplate.mxml with my
labels and printGrid to print and define it like
printview:FormTemplate.mxml = new FormTemplate.mxml(), then add my
data to the labels and printGrid upon the call to add to parent
app.these fields get re-initialized

Yet if I define, any variables of the main types below, all my data is
retained after the function call. So its like subclasses get
reininialized, but direct parents do not.

Below types retain there values
protected var printDataGrid:PrintDataGrid = null;
protected var label1:Label = null;




[flexcoders] Copy non-embedded files to output folder property

2008-06-18 Thread bick
What determines which files are copied to the output folder when
compiling a project?

For example, I have src/main.mxml and it attempts to load an XML doc
using URLLoader:

--

var request : URLRequest = new URLRequest("data/config.xml");
var loader = new URLLoader;
loader.load(request);

--

When it compiles, I'd like to have my data folder copied to bin-debug.

I know I can do this using Ant but I was hoping that the property
found in the project properties:

Copy non-embedded files to output folder

would be useful. I can't seem to get anything other than the standard
folders to show up in bin-debug (history, etc.)

Any ideas?



RE: [flexcoders] flash9f.ocx crashes

2008-06-18 Thread Jonathon Stierman
I did run a profile last night.  As far as I can tell, everything is
normal... 

 

Peak Memory: 3486 k

Current Memory: 1482 k

 

3486k isn't anything that should be causing the system to run out of
memory and crash.  There aren't any class instances hanging around that
shouldn't be there.  Memory doesn't "staircase up" after the GC runs.
Everything appears to be collected properly.  Unless I am
mis-interpreting the data... If someone feels so kind as to take a look
at a snapshot and confirm my interpretations, here's an image of what
I'm analyzing.  I left the profiler on over-night, and this is what I
came in to in the morning - so there are *lots* of cumulative instances
for a few classes: http://jonathon.wmtstaging.com/profile.jpg 

 

This app does load static .swf's on a timely basis (every 2 seconds or
so).  I vaguely remember hearing that loading external .swf files can
cause memory issues - could that be the case?  And would those leaks not
be present in the profiler?

 

On a related note - "Peak Memory: 3486 k."   What exactly does that
mean?  When I've watched the app run inside IE7 or Firefox, the browsers
memory usage increases far more than 3 megs worth.  Is there really that
much browser overhead when running Flash apps?

 

Jonathon

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Wednesday, June 18, 2008 12:39 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flash9f.ocx crashes

 

Use the proflier to watch for memory leaks.

 

 



Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Anatole Tartakovsky
Doug,
flexcomponents is not moderated in conventional sense. The name of the
group is confusing for new users. Very few people have a sense what the
group is for. I am more concerned that the messages that do not belong to
flexcomponents stay there. Crossposting has to be moderated and discouraged.
Ban them first time for some time, permanently if needed.

You can try weborb or flexjobs as examples of clearly distinct and moderated
entries.

I am getting few emails a week from people asking me to help them to write
"hello worlld" type application in Flex - or help them with blog or book
code - to find that they do not know they need a server. We created this
culture with free products and support - and there are people who would take
advantage.

Regards,
Anatole

On Wed, Jun 18, 2008 at 12:03 PM, Doug McCune <[EMAIL PROTECTED]> wrote:

>   Out of the last 100 threads on flexcomponents 22 were cross posted to
> flexcoders. Almost every one (I think with one exception) was
> cross-posted by the original author immediately to both lists
> (sometimes as many as 5 lists! flexcoders, flex_india, flexcomponents,
> ria-india). One of them was pretty much spam, and one of them was a
> job post (which shouldn't have been posted to flexcoders or
> flexcomponents, but only flexjobs).
>
> If we look at flexcomponents as a microcosm, then we have: 22%
> crossposting (1% legitimate cross-posting) and 2% spam.
>
> Yeah, this isn't a scientific survey (although I do hope to get real
> results comparing the full traffic of both lists soon). But I just
> thought it was interesting.
>
> Doug
>
>
> On Wed, Jun 18, 2008 at 8:44 AM, Anatole Tartakovsky
> <[EMAIL PROTECTED] > wrote:
> > Hello Tom,
> >
> >>>How is >1 list simpler than 1 list ?<<
> >
> > The same way "threads by the topic" are simplier then unsorted individual
> > email - you read only the ones you need and fold the rest. While you can
> > argue that you can sort and fold messages with some client email
> > customization, it is not a trivial task unless your server or client
> > supports it.
> >
> > Basically weborb is 10 messages a day, apollo is 1 and flexcomponents are
> 2
> > - I can manage that in my daily emails. Imagine that we separated the
> main
> > list in subtopics and one of them would be "dashboards, charts and BI" -
> > getting 5-10 messages a day - would you rather moderate that or whole
> > list? Would it get up in your inbox? What are the chances that a single
> > mail would get missed by specialist? What about the quality of the
> answer?
> > Visibility of all questions and answers on the topic? Am I the only one
> who
> > thinks that libraries place books by category for convenience and access
> > simplicity?
> >
> > There is nothing simple about fishing in 100+ items. Tom, as BI
> specialist
> > you know firsthand that sorting data in the beginning eliminates order of
> > magnitude processing later. Let us apply it to our daily life.
> >
> >>> But if there are too many they'll just post to them all. <<
> >
> > There are 2 types of crossposting people - the ones who did not receive
> the
> > answer in the previous forum and the ones who cross post from the get go.
> > The first type is OK - moderator or users can point them to a different
> > forum. There are periods in flexcomponents that every second message gets
> > "RTFM" or "go to flexcoders" responses. The second type needs some
> > discipline. Here is what moderators and users do - saying this is not
> > appropriate forum, remove the message to make life easier for the rest,
> > giving warning bans for a day - however harsh it sounds, it works. The
> goal
> > is to service the community - not to do somebodies homework. If the
> forums
> > are speedy and high quality the crossposting ceases.
> >
> > I have seen heavily moderated product forums on compuserve (yes, before
> > Internet) 15 years ago. You had less then one hour response (datetime
> > US) time on 90+% of the questions. The volume was about 500 messages
> across
> > 20 forums. "General" list was getting about 100 threads, the rest were
> much
> > smaller, The answers would be actually correct ones. Vendors would have
> team
> > of community moderators that would answer 50%+ of the questions in their
> > domain - with multiple moderators per topic. There was very little
> > repetition of the questions as people could search much better.
> >
> > Things come in cycles. Please consider this as "best practices" from the
> > historical point.
> >
> > Now for the next cycle - can single list be better then multiple lists -
> the
> > answer is yes, but not now
> > The only way I can see single as an alternative to multiple list is to
> > enforce tagging of the questions. That in turn means next generation of
> > email clients or forcing everybody to use RSS type readers instead of
> email.
> > We will get to it in a few years, its requires serious update to the
> email
> > system. Next generations of email that are to be spam proof 

Re: [flexcoders] Question for Subvision to Flex Bulider 3

2008-06-18 Thread Carlo Gulliani
try it 
http://www.flashmagazine.com/tutorials/detail/setting_up_subversion_with_adobe_flex_3/


- Original Message 
From: markflex2007 <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, June 18, 2008 8:24:48 PM
Subject: [flexcoders] Question for Subvision to Flex Bulider 3


Hi,

I follow the url (http://tdotblog. info/?q=node/ 4) to install subvision
to FB3

I extract site-1.0.6.zip and I get two folder (features and plugins)
and files in the two folders

I am not sure how to copy files in the two folders to FB3 folder.Do I
have to copy all of them?

Please give me a help.

Thanks

Mark

 


  

RE: [flexcoders] Tree itemRenderer not displaying as a tree?

2008-06-18 Thread Alex Harui
Because indentation is handled by the renderer and label doesn't know
how to do that.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of S B
Sent: Wednesday, June 18, 2008 9:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree itemRenderer not displaying as a tree?

 

Why doesn't the following mx:Tree display as a tree? Instead, all nodes
have the same indentation for some reason. Thanks!











 [...]

 






 

 



RE: [flexcoders] Help on error: Invalid AMFX packet. Content must start with an node

2008-06-18 Thread gnuwolf
Hi Seth,

 

Thanks for replying.

 

I'm creating a webservices client for Netsuite.

 

The usual SOAP request for login operation would look something like this:

 

   
  http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:xs="http://www.w3.org/2001/XMLSchema";
 
xmlns:platformCore="urn:core_2008_1.platform.webservices.netsuite.com"
 
xmlns:platformMsgs="urn:messages_2008_1.platform.webservices.netsuite.com">
 
 
[EMAIL PROTECTED]
mypassword
724168
 
  
   

 

 

Raw request from charles is this:

 

http://www.macromedia.com/2005/amfx";>







body

clientId

 
correlationId

destination

headers

messageId

operation

timestamp

timeToLive



















 
DSId

 
DSMessagingVersion



nil

1



 
473AC219-432D-44B1-76AC-9CA3030ED6BA

5

0

0







 

Raw response was blank or some character like this:  

  _  


 

Error from the flash debugger is this:

 

[MessagingError message='Invalid AMFX packet. Content must start with an
 node']

at
mx.messaging.channels.amfx::AMFXDecoder$/decodePacket()[E:\dev\3.0.x\framewo
rks\projects\rpc\src\mx\messaging\channels\amfx\AMFXDecoder.as:149]

at
mx.messaging.channels.amfx::AMFXDecoder/decode()[E:\dev\3.0.x\frameworks\pro
jects\rpc\src\mx\messaging\channels\amfx\AMFXDecoder.as:91]

at
mx.messaging.channels::HTTPChannel/decodePacket()[E:\dev\3.0.x\frameworks\pr
ojects\rpc\src\mx\messaging\channels\HTTPChannel.as:539]

at
mx.messaging.channels::HTTPChannel/pingCompleteHandler()[E:\dev\3.0.x\framew
orks\projects\rpc\src\mx\messaging\channels\HTTPChannel.as:551]

at
ChannelRequestLoader/callEventCallback()[E:\dev\3.0.x\frameworks\projects\rp
c\src\mx\messaging\channels\HTTPChannel.as:1158]

at
ChannelRequestLoader/completeHandler()[E:\dev\3.0.x\frameworks\projects\rpc\
src\mx\messaging\channels\HTTPChannel.as:1194]

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at flash.net::URLLoader/onComplete()

 

I didn't touch services-config.xml tho. Do I need to edit the endpoint in
the channel definition?

 

Thanks.

 

Cheers,

Clem

 

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Seth Hodgson
Sent: Wednesday, June 18, 2008 12:48 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Help on error: Invalid AMFX packet. Content must
start with an  node

 

I think a bit more background on your app would be helpful. It sounds
like you're receiving a response from the server that isn't correctly
encoded AMFX, meaning that you're using an HTTPChannel to connect the
client to the server. What is being invoked on the server specifically?

If you monitor your HTTP traffic using something like Charles, what does
the raw response being returned to the player look like?

Seth

From: [EMAIL PROTECTED]  ups.com
[mailto:[EMAIL PROTECTED]  ups.com]
On
Behalf Of gnu wolf
Sent: Tuesday, June 17, 2008 8:39 PM
To: [EMAIL PROTECTED]  ups.com
Subject: [flexcoders] Help on error: Invalid AMFX packet. Content must
start with an  node

Hello Guys,

I have a different error now.

Invalid AMFX packet. Content must start with an  node

How do I fix this thing? I know it has something to do with my
connection settings or proxy settings but which specifically should I
check.

Thanks in advance. 

 



[flexcoders] Re: Question for Subvision to Flex Bulider 3

2008-06-18 Thread b_alen
Do you have a standalone FB3 or Eclipse plugin?


--- In flexcoders@yahoogroups.com, "markflex2007" <[EMAIL PROTECTED]>
wrote:
>
> Hi,
> 
> I follow the url (http://tdotblog.info/?q=node/4) to install subvision
> to FB3
> 
> I extract site-1.0.6.zip and I get two folder (features and plugins)
> and files in the two folders
> 
> I am not sure how to copy files in the two folders to FB3 folder.Do I
> have to copy all of them?
> 
> Please give me a help.
> 
> Thanks
> 
> Mark
>




[flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread b_alen
Cheers mate, that could help a lot. This is by the way the biggest
show stopper of this list. Just to find this response took me quite a
lot of clicking through crappy Yahoo mail list interface to find it.




> > Can you do folders in gmail? I thought only labels are there and you
> > still see all the emails in your inbox, even if you don't want to.
> 
> Configure a filter to 'skip inbox' when it matches. I guess you
already have a 
> filter if you say you label them.
> 




[flexcoders] Tree itemRenderer not displaying as a tree?

2008-06-18 Thread S B
Why doesn't the following mx:Tree display as a tree? Instead, all nodes have 
the same indentation for some reason. Thanks!











 [...]

 







  

[flexcoders] Re: Casual Channel.Call.Failed while using remoteObject

2008-06-18 Thread gene_belor
My problem was caused by the compression filter used in web.xml. As
the result, IE6 could not properly uncompress data to pass it to Flash
Player.


--- In flexcoders@yahoogroups.com, "gene_belor" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> Did you figure out the Channel.Call.Failed problem?
> 
> I get it consistently for only one remote call to Java backend if my
> swf is loaded from IE6. And the same call works fine in IE7 or Firefox.
> 
> Any suggestions on how to troubleshoot this problem in Flex or Java?
> 
> Thanks!
> 
> --- In flexcoders@yahoogroups.com, "saifeng.ji"  wrote:
> >
> > While using remoteObject to interact with java side, casual 
> > fault "Channel.Call.Failed" occurs. If you invoke the remoteObject 
> > again, it does work usually. 
> > 
> > According to my own analysis, flex usually takes milliseconds to
setup 
> > a secure TCP connection, but is probably sufficient for Flash Player 
> > to think that there's no connection and hence throw a FaultEvent.
> > 
> > 
> > One possible solution is recall the method in the faultHandler.
> > But obviously, it's not a good way for complicated application.
> > 
> > 
> > Anybody ever faced to this wild problem?
> > What's possible reason causes this error?
> > And are there any smooth and perfect solution for it?
> > 
> > thanks a lot.
> >
>




RE: [flexcoders] Re: Managed Collections with null objects

2008-06-18 Thread Seth Hodgson
Hi guys,

What version of things are you running, and would you mind sharing your 
destination configuration?

Thanks,
Seth

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
richcianci
Sent: Tuesday, June 17, 2008 3:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Managed Collections with null objects

--- In flexcoders@yahoogroups.com, João Fernandes 
<[EMAIL PROTECTED]> wrote:
>
> I'm having this weird issue that never happened before.
> Sometimes, totally randomly, after deleting a managed item in a 
> arraycollection, instead of getting the arrayCollection resized by -
1, 
> my arraycollection keeps the same size and I get a null object 
where the 
> managed item was previously.
> 
> This happens using ds.deleteItem() or using 
> arrayCollection.removeItemAt( itemIndex )
> -- 
> 
> João Fernandes
> 
> http://www.onflexwithcf.org
> http://www.riapt.org
>

I am having the same issue. Did you ever figure it out?
 


RE: [flexcoders] Help on error: Invalid AMFX packet. Content must start with an node

2008-06-18 Thread Seth Hodgson
I think a bit more background on your app would be helpful. It sounds
like you're receiving a response from the server that isn't correctly
encoded AMFX, meaning that you're using an HTTPChannel to connect the
client to the server. What is being invoked on the server specifically?

If you monitor your HTTP traffic using something like Charles, what does
the raw response being returned to the player look like?

Seth

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of gnu wolf
Sent: Tuesday, June 17, 2008 8:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help on error: Invalid AMFX packet. Content must
start with an  node

Hello Guys,

I have a different error now.

Invalid AMFX packet. Content must start with an  node

How do I fix this thing? I know it has something to do with my
connection settings or proxy settings but which specifically should I
check.

Thanks in advance. 


[flexcoders] Re: ColumnSet vs Multiple axes

2008-06-18 Thread Tim Hoff

Hi Richard,

For a work-around, first give each ColumnSeries an id.  If you also want
to change the z-order, give the ColumnSet an id as well.  Then, on
CreationComplete, do something like this to offset the columns and/or
change the depth.

private function onCreationComplete(): void
{
 // offset columns
 myFirstColumnSeries.move(-8,0);
 mySecondColumnSeries.move(myFirstColumnSeries.x+16,0);

 // change depth (z-order)
 myColumnSet.swapChildren(myFirstColumnSeries,mySecondColumnSeries);
}

-TH

--- In flexcoders@yahoogroups.com, "Richard Rodseth" <[EMAIL PROTECTED]>
wrote:
>
> I sent code to Sunil and Sangavi demonstrating the bug.
> Now I'm looking for a workaround.
> If two ColumnSeries (different date axes) are displayed at the same
> location, I would like to be able to see both columns clearly, eg.
through
> stroke/fill/alpha choices or by offsetting them somehow to simulate a
> cluster. Say the colors are red and green. With a low alpha value and
red
> and green strokes, I can at least ensure that there's a visible red or
green
> line at the top of the column, but one of the columns is always on top
in
> the z-order, regardless of column height. Perhaps a pair of custom
> BoxItemRenderers that halve the box?
> Any other ideas? Thanks.
>
>
> On Sun, Jun 1, 2008 at 11:28 PM, Sunil Bannur [EMAIL PROTECTED] wrote:
>
> > Can you send a snippet of your code or screenshot for more help.
> >
> >
> >
> > Thanks
> >
> > -Sunil
> >
> >
> >
> > *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Richard Rodseth
> > *Sent:* Thursday, May 29, 2008 10:33 PM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* [flexcoders] ColumnSet vs Multiple axes
> >
> >
> >
> > I have two column series related to distinct horizontal axes (of
type
> > DateTimeAxis).
> >
> > If I include the two series without wrapping them in a ColumnSet,
the
> > columns from each series display overlaid on each other.
> >
> > However, if I wrap them in a ColumnSet of type "clustered", only one
> > series displays. Has anyone else encountered this?
> >
> > Thanks in advance.
> >
> >
> >
>




Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Daniel Freiman
If a topic falls into multiple categories wouldn't it be logical to post to
all lists that apply.  Otherwise there might be a knowledgeable person out
there you didn't reach.  Wouldn't that be "legitimate" cross-posting?

- Daniel Freiman

On Wed, Jun 18, 2008 at 11:44 AM, Anatole Tartakovsky <
[EMAIL PROTECTED]> wrote:

>   Hello Tom,
>
> >>How is >1 list simpler than 1 list ?<<
>
> The same way "threads by the topic" are simplier then unsorted individual
> email - you read only the ones you need and fold the rest. While you can
> argue that you can sort and fold messages with some client email
> customization, it is not a trivial task unless your server or client
> supports it.
>
> Basically weborb is 10 messages a day, apollo is 1 and flexcomponents are 2
> - I can manage that in my daily emails. Imagine that we separated the main
> list in subtopics and one of them would be "dashboards, charts and BI" -
> getting 5-10 messages a day - would you rather moderate that or whole
> list? Would it get up in your inbox? What are the chances that a single
> mail  would get missed by specialist? What about the quality of the answer?
> Visibility of all questions and answers on the topic? Am I the only one who
> thinks that libraries place books by category for convenience and access
> simplicity?
>
> There is nothing simple about fishing in 100+ items. Tom, as BI specialist
> you know firsthand that sorting data in the beginning eliminates order of
> magnitude processing later. Let us apply it to our daily life.
>
> >> But if there are too many they'll just post to them all. <<
>
> There are 2 types of crossposting people - the ones who did not receive the
> answer in the previous forum and the ones who cross post from the get go.
> The first type is OK - moderator or users can point them to a different
> forum. There are periods in flexcomponents that every second message gets
> "RTFM" or "go to flexcoders" responses. The second type needs some
> discipline. Here is what moderators and users do - saying this is not
> appropriate forum, remove the message to make life easier for the rest,
> giving warning bans for a day - however harsh it sounds, it works. The goal
> is to service the community - not to do somebodies homework. If the forums
> are speedy and high quality the crossposting ceases.
>
> I have seen heavily moderated product forums on compuserve (yes, before
> Internet) 15 years ago. You had less then one hour response (datetime
> US) time on 90+% of the questions. The volume was about 500 messages across
> 20 forums. "General" list was getting about 100 threads, the rest were much
> smaller, The answers would be actually correct ones. Vendors would have team
> of community moderators that would answer 50%+ of the questions in their
> domain - with multiple moderators per topic. There was very little
> repetition of the questions as people could search much better.
>
> Things come in cycles. Please consider this as "best practices" from the
> historical point.
>
> *Now for the next cycle - can single list be better then multiple lists -
> the answer is yes, but not now*
> The only way I can see single as an alternative to multiple list is to
> enforce tagging of the questions. That in turn means next generation of
> email clients or forcing everybody to use RSS type readers instead of email.
> We will get to it in a few years, its requires serious update to the email
> system. Next generations of email that are to be spam proof can make
> topics/tagging exchange a part of handshake protocol. Till then there is no
> enforceable way to sort the messages on the senders end.
>
>
> Sincerely,
> Anatole Tartakovsky
>
>
>
> On Wed, Jun 18, 2008 at 5:02 AM, Tom Chiverton <
> [EMAIL PROTECTED]> wrote:
>
>> On Tuesday 17 Jun 2008, Anatole Tartakovsky wrote:
>> > Multiple lists enforce thinking if it is appropriate before posting.
>>
>> Maybe. But if there are too many they'll just post to them all.
>>
>> > Moderators can ban/redirect unappropriate message. Flexcomponents often
>> > redirect new users to flexcoders if the question is not about
>> components.
>> > You almost never see questions on UI design in weborb.
>>
>> See what I and Matt said - I think we're on the same page here.
>>
>> > All in all - let us have the simplest thing possible - multiple list - w
>>
>> How is >1 list simpler than 1 list ?
>>
>> --
>> Tom Chiverton
>>
>> 
>>
>> 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. Any
>> reference to a partner in relation to Halliwells LLP means a member of
>> Halliwells LLP.  Regulated by The Solicitors Regulation Authority.
>>
>> CONF

Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Maciek Sakrejda
I was going to propose that we add a separate list for discussions on
whether or not the list should be split up into smaller lists, but I
suppose that would come of as fatuous, and that I think discussions like
this are not important. They are. So, as just another flexcoders user,
I'll second Doug's opinion.

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

-Original Message-
From: Doug McCune <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused
groups
Date: Wed, 18 Jun 2008 09:03:16 -0700

Out of the last 100 threads on flexcomponents 22 were cross posted to
flexcoders. Almost every one (I think with one exception) was
cross-posted by the original author immediately to both lists
(sometimes as many as 5 lists! flexcoders, flex_india, flexcomponents,
ria-india). One of them was pretty much spam, and one of them was a
job post (which shouldn't have been posted to flexcoders or
flexcomponents, but only flexjobs).

If we look at flexcomponents as a microcosm, then we have: 22%
crossposting (1% legitimate cross-posting) and 2% spam.

Yeah, this isn't a scientific survey (although I do hope to get real
results comparing the full traffic of both lists soon). But I just
thought it was interesting.

Doug

On Wed, Jun 18, 2008 at 8:44 AM, Anatole Tartakovsky
<[EMAIL PROTECTED]> wrote:
> Hello Tom,
>
>>>How is >1 list simpler than 1 list ?<<
>
> The same way "threads by the topic" are simplier then unsorted
individual
> email - you read only the ones you need and fold the rest. While you
can
> argue that you can sort and fold messages with some client email
> customization, it is not a trivial task unless your server or client
> supports it.
>
> Basically weborb is 10 messages a day, apollo is 1 and flexcomponents
are 2
> - I can manage that in my daily emails. Imagine that we separated the
main
> list in subtopics and one of them would be "dashboards, charts and BI"
-
> getting 5-10 messages a day - would you rather moderate that or whole
> list? Would it get up in your inbox? What are the chances that a
single
> mail would get missed by specialist? What about the quality of the
answer?
> Visibility of all questions and answers on the topic? Am I the only
one who
> thinks that libraries place books by category for convenience and
access
> simplicity?
>
> There is nothing simple about fishing in 100+ items. Tom, as BI
specialist
> you know firsthand that sorting data in the beginning eliminates order
of
> magnitude processing later. Let us apply it to our daily life.
>
>>> But if there are too many they'll just post to them all. <<
>
> There are 2 types of crossposting people - the ones who did not
receive the
> answer in the previous forum and the ones who cross post from the get
go.
> The first type is OK - moderator or users can point them to a
different
> forum. There are periods in flexcomponents that every second message
gets
> "RTFM" or "go to flexcoders" responses. The second type needs some
> discipline. Here is what moderators and users do - saying this is not
> appropriate forum, remove the message to make life easier for the
rest,
> giving warning bans for a day - however harsh it sounds, it works. The
goal
> is to service the community - not to do somebodies homework. If the
forums
> are speedy and high quality the crossposting ceases.
>
> I have seen heavily moderated product forums on compuserve (yes,
before
> Internet) 15 years ago. You had less then one hour response (datetime
> US) time on 90+% of the questions. The volume was about 500 messages
across
> 20 forums. "General" list was getting about 100 threads, the rest were
much
> smaller, The answers would be actually correct ones. Vendors would
have team
> of community moderators that would answer 50%+ of the questions in
their
> domain - with multiple moderators per topic. There was very little
> repetition of the questions as people could search much better.
>
> Things come in cycles. Please consider this as "best practices" from
the
> historical point.
>
> Now for the next cycle - can single list be better then multiple lists
- the
> answer is yes, but not now
> The only way I can see single as an alternative to multiple list is to
> enforce tagging of the questions. That in turn means next generation
of
> email clients or forcing everybody to use RSS type readers instead of
email.
> We will get to it in a few years, its requires serious update to the
email
> system. Next generations of email that are to be spam proof can make
> topics/tagging exchange a part of handshake protocol. Till then there
is no
> enforceable way to sort the messages on the senders end.
>
>
> Sincerely,
> Anatole Tartakovsky
>
>
> On Wed, Jun 18, 2008 at 5:02 AM, Tom Chiverton
> <[EMAIL PROTECTED]> wrote:
>>
>> On Tuesday 17 Jun 2008, Anatole Tartakovsky wrote:
>> > Multiple lists enforce thinking if it is appropriate before
posting.
>>
>> Maybe. 

[flexcoders] Question for Subvision to Flex Bulider 3

2008-06-18 Thread markflex2007
Hi,

I follow the url (http://tdotblog.info/?q=node/4) to install subvision
to FB3

I extract site-1.0.6.zip and I get two folder (features and plugins)
and files in the two folders

I am not sure how to copy files in the two folders to FB3 folder.Do I
have to copy all of them?

Please give me a help.

Thanks

Mark



Re: [flexcoders] Air 1.1 SDK Flex Builder update?

2008-06-18 Thread Matt Chotin
Flex Builder update is a few months out.

See http://www.adobe.com/devnet/flex/articles/flex_air1.1.html for instructions 
 on how to do it manually.

Matt


On 6/18/08 9:00 AM, "ivo" <[EMAIL PROTECTED]> wrote:




Hello all,

Is the Air 1.1 sdk update to be done manually or will it be available thru the 
Flex Builder/eclipse update mechanism at some point? Dont want to mess up my FB 
installation by doing it manually if it will get picked up by a software update.

Thanks,

- Ivo





Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Doug McCune
Out of the last 100 threads on flexcomponents 22 were cross posted to
flexcoders. Almost every one (I think with one exception) was
cross-posted by the original author immediately to both lists
(sometimes as many as 5 lists! flexcoders, flex_india, flexcomponents,
ria-india). One of them was pretty much spam, and one of them was a
job post (which shouldn't have been posted to flexcoders or
flexcomponents, but only flexjobs).

If we look at flexcomponents as a microcosm, then we have: 22%
crossposting (1% legitimate cross-posting) and 2% spam.

Yeah, this isn't a scientific survey (although I do hope to get real
results comparing the full traffic of both lists soon). But I just
thought it was interesting.

Doug

On Wed, Jun 18, 2008 at 8:44 AM, Anatole Tartakovsky
<[EMAIL PROTECTED]> wrote:
> Hello Tom,
>
>>>How is >1 list simpler than 1 list ?<<
>
> The same way "threads by the topic" are simplier then unsorted individual
> email - you read only the ones you need and fold the rest. While you can
> argue that you can sort and fold messages with some client email
> customization, it is not a trivial task unless your server or client
> supports it.
>
> Basically weborb is 10 messages a day, apollo is 1 and flexcomponents are 2
> - I can manage that in my daily emails. Imagine that we separated the main
> list in subtopics and one of them would be "dashboards, charts and BI" -
> getting 5-10 messages a day - would you rather moderate that or whole
> list? Would it get up in your inbox? What are the chances that a single
> mail  would get missed by specialist? What about the quality of the answer?
> Visibility of all questions and answers on the topic? Am I the only one who
> thinks that libraries place books by category for convenience and access
> simplicity?
>
> There is nothing simple about fishing in 100+ items. Tom, as BI specialist
> you know firsthand that sorting data in the beginning eliminates order of
> magnitude processing later. Let us apply it to our daily life.
>
>>> But if there are too many they'll just post to them all. <<
>
> There are 2 types of crossposting people - the ones who did not receive the
> answer in the previous forum and the ones who cross post from the get go.
> The first type is OK - moderator or users can point them to a different
> forum. There are periods in flexcomponents that every second message gets
> "RTFM" or "go to flexcoders" responses. The second type needs some
> discipline. Here is what moderators and users do - saying this is not
> appropriate forum, remove the message to make life easier for the rest,
> giving warning bans for a day - however harsh it sounds, it works. The goal
> is to service the community - not to do somebodies homework. If the forums
> are speedy and high quality the crossposting ceases.
>
> I have seen heavily moderated product forums on compuserve (yes, before
> Internet) 15 years ago. You had less then one hour response (datetime
> US) time on 90+% of the questions. The volume was about 500 messages across
> 20 forums. "General" list was getting about 100 threads, the rest were much
> smaller, The answers would be actually correct ones. Vendors would have team
> of community moderators that would answer 50%+ of the questions in their
> domain - with multiple moderators per topic. There was very little
> repetition of the questions as people could search much better.
>
> Things come in cycles. Please consider this as "best practices" from the
> historical point.
>
> Now for the next cycle - can single list be better then multiple lists - the
> answer is yes, but not now
> The only way I can see single as an alternative to multiple list is to
> enforce tagging of the questions. That in turn means next generation of
> email clients or forcing everybody to use RSS type readers instead of email.
> We will get to it in a few years, its requires serious update to the email
> system. Next generations of email that are to be spam proof can make
> topics/tagging exchange a part of handshake protocol. Till then there is no
> enforceable way to sort the messages on the senders end.
>
>
> Sincerely,
> Anatole Tartakovsky
>
>
> On Wed, Jun 18, 2008 at 5:02 AM, Tom Chiverton
> <[EMAIL PROTECTED]> wrote:
>>
>> On Tuesday 17 Jun 2008, Anatole Tartakovsky wrote:
>> > Multiple lists enforce thinking if it is appropriate before posting.
>>
>> Maybe. But if there are too many they'll just post to them all.
>>
>> > Moderators can ban/redirect unappropriate message. Flexcomponents often
>> > redirect new users to flexcoders if the question is not about
>> > components.
>> > You almost never see questions on UI design in weborb.
>>
>> See what I and Matt said - I think we're on the same page here.
>>
>> > All in all - let us have the simplest thing possible - multiple list - w
>>
>> How is >1 list simpler than 1 list ?
>>
>> --
>> Tom Chiverton
>>
>> 
>>
>> This email is sent for and on behalf of Halliwells LL

[flexcoders] Air 1.1 SDK Flex Builder update?

2008-06-18 Thread ivo
Hello all,

Is the Air 1.1 sdk update to be done manually or will it be available thru the 
Flex Builder/eclipse update mechanism at some point? Dont want to mess up my FB 
installation by doing it manually if it will get picked up by a software update.

Thanks,

- Ivo



RE: [flexcoders] Re: How to compose a super tree item renderer using TreeItemRenderer and others

2008-06-18 Thread Alex Harui
Why composite?  Just add the label when you subclass.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of an0one
Sent: Wednesday, June 18, 2008 7:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How to compose a super tree item renderer
using TreeItemRenderer and others

 

I know how to create a subclass of TreeItemRenderer and use it as the
itemRenderer of a 
Tree. What I can't quite figure out is how to create a composite tree
item renderer 
enclosing a TreeItemRenderer and a Label. 
--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> You may need to bind the new renderer's .data to the
TreeITemRenderer's
> .data property.
> 
> 
> 
> I would just extend TreeItemRenderer and change what it does, though.
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of an0one
> Sent: Tuesday, June 17, 2008 8:18 AM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] How to compose a super tree item renderer using
> TreeItemRenderer and others
> 
> 
> 
> Hi,
> I want a custom tree item renderer that consists of a basic
> TreeItemRenderer(to reuse its 
> tree node icons) and several other standard controls(they are also
> IListItemRenderer 
> implementors). Let's call it ComboTreeItemRenderer, and to simplify
the
> matters, assume 
> it is composed of a TreeItemRenderer and a Label.
> 
> This is my first try:
>  id="tagTree" 
> dataProvider="{myTags}" 
> change="handleTagSelection(event);">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> And the first error I met:
> "Could not resolve  to a component
implementation."
> 
> I don't believe TreeItemRenderer can not be used in mxml coding, so I
> guess I was just not 
> coding in the right way. But what's the right way then?
> 
> However, that's not really what I was stumped by, since I found that I
> could write a custom 
> component(named MyTreeItemRenderer) which extends
> TreeItemRenderer(nothing to 
> override, just to work around the "could no resolve" error), and it
> could be resolved of 
> course. So here is my second try:
>  id="tagTree" 
> dataProvider="{myTags}" 
> change="handleTagSelection(event);">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Now comes the really difficulties: I know I must assign values to some
> properties of 
> MyTreeItemRenderer using information carried by data and listData, but
> what properties 
> to assign value to? And what makes me even crazier is that I found
> neither listData and 
> data was set(observed by overriding set listData and set data
functions
> and find they were 
> never called).
> 
> Looking forward to seeing helpful hints. Thanks in advance.
>

 



[flexcoders] Possible to post an array with HTTPService?

2008-06-18 Thread Rick Schmitty
Can you do something like

var params:Object = new Object();
params.name=myNameVar;
params.hobbies=myArrayVar;

service.send(params);

Seems on the PHP end it just takes the last value in the hobbies
array.  When I view this in service capture, it shows

name='Rick'
hobbies='needlework'
hobbies='curling'
hobbies=golf'

and doing var_dump($_POST)
you just see


array(2) {
  ["namel"]=>
  string(4) "Rick"
  ["hobbies"]=>
  string(4) "golf"
}


Only option to convert array to csv and convert that string back to
array on php's end?


Re: [flexcoders] Allow negative x position of container child

2008-06-18 Thread DannyT
ugh okay so i was being totally lazy with that one. Thanks alot

2008/6/18 Jon Bradley <[EMAIL PROTECTED]>:

>
> On Jun 18, 2008, at 10:16 AM, DannyT wrote:
>
> The overall goal is to create a UI that allows the display of items 1 and 2
> OR items 2 and 3 and the view will slide into the chosen formation. However
> I seem to be stuck at the first hurdle. I've tried playing around with
> borders, scrollPolicy and clipContent but not yet managed to get any nearer.
> Any help much appreciated.
>
>
>
> Use a Canvas parent container and you should be ok with negative
> positioning.
>
> An HBox overrides the positions of it's children, the children don't
> position themselves.
>
> Then, just create some transition tags and set moveEffect="Move" on each of
> the children.
>
> cheers,
>
> Jon
>
>  
>



-- 
http://danny-t.co.uk


[flexcoders] Re: Problem with getting most recently inserted ArrayCollection item

2008-06-18 Thread bredwards358
I've had a thought, would it be possible to add an event listener to
well, something that would fire the insert function on dragComplete?
If not then perhaps would it be best to call a function which compares
the data to already existing data either in the database through
select statements or against another arrayCollection somehow? I'm just
throwing ideas around to help find a solution to my issue.



Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Anatole Tartakovsky
Hello Tom,

>>How is >1 list simpler than 1 list ?<<

The same way "threads by the topic" are simplier then unsorted individual
email - you read only the ones you need and fold the rest. While you can
argue that you can sort and fold messages with some client email
customization, it is not a trivial task unless your server or client
supports it.

Basically weborb is 10 messages a day, apollo is 1 and flexcomponents are 2
- I can manage that in my daily emails. Imagine that we separated the main
list in subtopics and one of them would be "dashboards, charts and BI" -
getting 5-10 messages a day - would you rather moderate that or whole
list? Would it get up in your inbox? What are the chances that a single
mail  would get missed by specialist? What about the quality of the answer?
Visibility of all questions and answers on the topic? Am I the only one who
thinks that libraries place books by category for convenience and access
simplicity?

There is nothing simple about fishing in 100+ items. Tom, as BI specialist
you know firsthand that sorting data in the beginning eliminates order of
magnitude processing later. Let us apply it to our daily life.

>> But if there are too many they'll just post to them all. <<

There are 2 types of crossposting people - the ones who did not receive the
answer in the previous forum and the ones who cross post from the get go.
The first type is OK - moderator or users can point them to a different
forum. There are periods in flexcomponents that every second message gets
"RTFM" or "go to flexcoders" responses. The second type needs some
discipline. Here is what moderators and users do - saying this is not
appropriate forum, remove the message to make life easier for the rest,
giving warning bans for a day - however harsh it sounds, it works. The goal
is to service the community - not to do somebodies homework. If the forums
are speedy and high quality the crossposting ceases.

I have seen heavily moderated product forums on compuserve (yes, before
Internet) 15 years ago. You had less then one hour response (datetime
US) time on 90+% of the questions. The volume was about 500 messages across
20 forums. "General" list was getting about 100 threads, the rest were much
smaller, The answers would be actually correct ones. Vendors would have team
of community moderators that would answer 50%+ of the questions in their
domain - with multiple moderators per topic. There was very little
repetition of the questions as people could search much better.

Things come in cycles. Please consider this as "best practices" from the
historical point.

*Now for the next cycle - can single list be better then multiple lists -
the answer is yes, but not now*
The only way I can see single as an alternative to multiple list is to
enforce tagging of the questions. That in turn means next generation of
email clients or forcing everybody to use RSS type readers instead of email.
We will get to it in a few years, its requires serious update to the email
system. Next generations of email that are to be spam proof can make
topics/tagging exchange a part of handshake protocol. Till then there is no
enforceable way to sort the messages on the senders end.


Sincerely,
Anatole Tartakovsky



On Wed, Jun 18, 2008 at 5:02 AM, Tom Chiverton <[EMAIL PROTECTED]>
wrote:

> On Tuesday 17 Jun 2008, Anatole Tartakovsky wrote:
> > Multiple lists enforce thinking if it is appropriate before posting.
>
> Maybe. But if there are too many they'll just post to them all.
>
> > Moderators can ban/redirect unappropriate message. Flexcomponents often
> > redirect new users to flexcoders if the question is not about components.
> > You almost never see questions on UI design in weborb.
>
> See what I and Matt said - I think we're on the same page here.
>
> > All in all - let us have the simplest thing possible - multiple list - w
>
> How is >1 list simpler than 1 list ?
>
> --
> Tom Chiverton
>
> 
>
> 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. Any
> reference to a partner in relation to Halliwells LLP means a member of
> Halliwells LLP.  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 info

[flexcoders] Menu Styling corrupts menu separator and size

2008-06-18 Thread Greg Hess
Hi All,

I am trying to style my application menus but have run into problems
when I use separators as menu items or set 'variableRowHeight' to
true. My menu style is as follows:

Menu
{
rollOverColor: #00;
selectionColor: #00;
backgroundColor: #161515;   
}

When I emply this global style I have two problems with how the menu is drawn.

1. The menu separator is drawn as a double line or it has a shadow or something
2. If I set the 'variableRowHeight' property to true the menu is
clipped at the bottom and the last item only partialy shows

If I remove the style from my CSS it works fine, but does not meet the
UI design and clipping issue is still present. However, if I remove my
CSS entirly the menu does not get clipped, I must have some CSS class
that is corrupting my menu style I tried to specify the separator
class with a custom image, but again it is drawing a double line... I
am stumped not sure what in my CSS could be conflicting.

The only CSS styles that I can think could be affecting are:

global
{
themeColor: #66;

/* Text Styles */
color: #cc;
fontStyle: normal;
fontWeight: normal;
fontSize: 10;
fontFamily: Arial;
letterSpacing: 1;
textSelectedColor: #FF;
textRollOverColor: #FF;
textAlign: left;

/* Modal window effect */
modalTransparency: 0.5;
modalTransparencyBlur: 0;
modalTransparencyColor: black;
modalTransparencyDuration: 200;
}

/* Application Font */
@font-face
{
fontFamily: Arial;
fontWeight: normal;
fontStyle: normal;
src: local("Arial");
}

Application
{   
backgroundColor: #00;
paddingBottom: 0;
paddingTop: 0;
paddingRight: 0;
paddingLeft: 0;
verticalGap: 0;
horizontalGap: 0;
}

Any help is much appreciated!

Thanks,

Greg


Re: [flexcoders] Debugging problems with Firefox 3 Final

2008-06-18 Thread João Fernandes
Simply it hangs till I press stop debugging.

it seems that is has already been reported 
http://bugs.adobe.com/jira/browse/FB-13064

-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)




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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[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: My Web Service with soap headers code no longer work with Flex 3

2008-06-18 Thread Mark
RadarXML is the WebService

Response Code = 500 Internal Server Error
SOAP/faultcode = soap:Server
SOAP/faultstring = Server was unable to process request. --> 
Object reference not set to an instance of an object.

You may be right, it could be a server or webservice issues.

-M



--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> 
wrote:
>
> Looks to me like there's a problem with your namespaces in the bad 
request.
> I don't know much about soap headers, but where's that "radarXML" 
namespace
> coming from?
> 
> The SOAP code in Flex 3 is stricter than Flex 2's, so besides a 
couple of
> bugs it behaves better than Flex 2's SOAP code, but often when 
migrating it
> will expose problems in your WSDLs or XSDs that appear to be bugs 
in Flex 3.
> It could be that there's something in your schema that is 
including the
> radarXML namespace for the outer  element, but your 
server isn't
> actually expecting that so it's complaining, and you were just 
lucky that
> flex 2's SOAP code didn't generate the request correctly.
> 
> What's the server returning? A 500? If it's a SOAP fault, what 
does it say?
> One of the reasons you want to use Charles is that you can see the 
error
> codes when you get an error code from the server, whereas the 
browser hides
> the details from the Flash Player so they never make it back into 
Flex,
> often hiding very useful troubleshooting information.
> 
> -Josh
> 
> On Wed, Jun 18, 2008 at 11:46 PM, Mark <[EMAIL PROTECTED]> 
wrote:
> 
> > So I downloaded "Charles 3.2.1" to see what I'm getting. Running 
the
> > code from 2.0.1 all is fine.  But with 3.0 here's what I'm 
getting.
> >
> >  > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> > 
> > 
> > soap:Server
> > Server was unable to process request. --> Object
> > reference not set to an instance of an object.
> > 
> > 
> > 
> > 
> >
> > Under the "Request" top tab and "XML Text" bottom tab there's 
some
> > differences:
> > 
> >
> >  > ENV="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> > 
> > http://tempuri.org/";>
> > 
> > admin
> > 
> > 
> > admin
> > 
> > 
> > 
> > 
> > http://tempuri.org/"; />
> > 
> > 
> >
> > 
> >  > ENV="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:s="http://www.w3.org/2001/XMLSchema";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> > 
> > http://tempuri.org/";
> > xmlns:ns0="http://radar.us.na.ey.net/RadarXML.asmx";>
> > 
> > admin
> > 
> > 
> > admin
> > 
> > 
> > 
> > 
> > http://tempuri.org/"; />
> > 
> > 
> >
> > Another point to mention is that the swf and the wsdl sit in the
> > same direcory on the server so a crossdomain file isn't 
necessary.
> > But again, I can't get this to rum from Flex Builder.  I also 
tested
> > this with useProxy set to true and false. Setting it to false 
gives
> > the same response, seting it to true shoot off new errors.
> >
> > It sounds like from what Rick was saying this is not an issue 
with
> > the Flash Player as I'm using 9.0.124.  This is an issue with 
Flex
> > 3.0, is that correct?
> >
> >
> >
> >
> >
> >
> > --- In flexcoders@yahoogroups.com, "Rick Winscot" 
> > wrote:
> > >
> > > Tracy - actually, you are right on the money. The Authorization
> > header was
> > > blocked and then re-instated in 9.0.124. You can still work 
around
> > the issue
> > > if you compile in Flex  2.0.1 since the RPC bits are still 
intact
> > there.
> > > however - in 3.0 they have changed.
> > >
> > >
> > >
> > > From the 3.0.x Flex SDK - AbstractWebService.as
> > >
> > >
> > >
> > > " The username and password to authenticate a user when 
accessing
> > the
> > > webservice. These will be passed as part of the HTTP 
Authorization
> > header
> > > from the proxy to the endpoint. If useProxy is false this 
property
> > will be
> > > ignored."
> > >
> > >
> > >
> > > There is also the issue of allowing the header from your
> > crossdomain file.
> > >
> > >
> > >
> > > http://kb.adobe.com/selfservice/viewContent.do?
externalId=kb403184
> > >
> > >
> > >
> > >
> > > Rick Winscot
> > >
> > >
> > >
> > >
> > >
> > > From: flexcoders@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Mark
> > > Sent: Tuesday, June 17, 2008 9:34 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: My Web Service with soap headers 
code no
> > longer
> > > work with Flex 3
> > >
> > >
> > >
> > > HI,
> > >
> > > I guess what I'm not understanding is the fact that when I run
> > this
> > > code from Flex Builder 2 it works, but when I run it out of FB 
3
> > it
> > > doesn't. The Flash Player version would make sence to me but 
not
> > > working in one and not the other. I'm using 9.0.124.0 Debug.
> > >
> > > HERE'S MY ERROR IN FB3:
> > >
> > > (mx.rpc::Fault)#0
> > > errorID = 0
> > > faultCode = "

[flexcoders] Re: Class library

2008-06-18 Thread markgoldin_2000
Yes, it does work that way. Now I can have a collection of my generic 
functions without creating a separate file for each class.

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Looks ok. Try it and tell us what errors you get.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Tuesday, June 17, 2008 10:27 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Class library
> 
>  
> 
> Can I create a class library that would look like this:
> 
> package modulecode
> {
> public class Classes
> {
> public function Classes()
> {
> }
> public function Function1():void
> {
> }
> public function Function2():void
> {
> }
> }
> }
> 
> Thanks
>




[flexcoders] addChild and transition issue

2008-06-18 Thread giopaia
I have two states 
and possibility to jump between them.
All works fine until one click
inadvertently goes faster than the transition...

then I get an "already parented" error on the addchild...

To explain better:
If I go from state a to state b
and viceversa waiting the transition 
times no problem occurs...
If I jump from state a to state b then
back to state a without waiting the full 
time of the transition the "already parented" 
error occurs.
from what I understood if you jump from one state
to another in the middle of a transition the played
effect gets stopped and the new one starts...
shouldn't there be a similar mechanism for
child adding/removing?


Any idea how to bypass the problem or stop the error 
from blocking/messing all the GUI structure?
thanks
Gio








Re: [flexcoders] ColumnSet vs Multiple axes

2008-06-18 Thread Richard Rodseth
Thanks, but the chart is showing two different periods of data (same
duration), so I can't make the min/max the same for both of them. I wonder
if I could disassociate the one series from its axis, but leave the axis
there.

On Wed, Jun 18, 2008 at 7:16 AM, Sunil Bannur <[EMAIL PROTECTED]> wrote:

>  Hi Richard,
>
>
>
> I think the issue is that your items are getting filtered out because, the
> min and max values calculated for the horizontal axis is getting bad.
>
> I would set the maximum and minimum explicitly as a workaround and I think
> you've already reported this as a bug, so it should be on track to get
> fixed.
>
>
>
> For example, I used this as the max and min for both horizontal axes on
> your sample, it worked.
>
>
>
> minimum="{new Date('12/31/2007')}" maximum="{new Date('02/03/2008')}"
>
>
>
> Thanks
>
> -Sunil
>
>
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Richard Rodseth
> *Sent:* Tuesday, June 17, 2008 11:25 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] ColumnSet vs Multiple axes
>
>
>
> I sent code to Sunil and Sangavi demonstrating the bug.
> Now I'm looking for a workaround.
> If  two ColumnSeries (different date axes) are displayed at the same
> location, I would like to be able to see both columns clearly, eg. through
> stroke/fill/alpha choices or by offsetting them somehow to simulate a
> cluster. Say the colors are red and green. With a low alpha value and red
> and green strokes, I can at least ensure that there's a visible red or green
> line at the top of the column, but one of the columns is always on top in
> the z-order, regardless of column height. Perhaps a pair of custom
> BoxItemRenderers that halve the box?
> Any other ideas? Thanks.
>
> On Sun, Jun 1, 2008 at 11:28 PM, Sunil Bannur <[EMAIL PROTECTED]> wrote:
>
> Can you send a snippet of your code or screenshot for more help.
>
>
>
> Thanks
>
> -Sunil
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Richard Rodseth
> *Sent:* Thursday, May 29, 2008 10:33 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] ColumnSet vs Multiple axes
>
>
>
> I have two column series related to distinct horizontal axes (of type
> DateTimeAxis).
>
> If I include the two series without wrapping them in a ColumnSet, the
> columns from each series display overlaid on each other.
>
> However, if I wrap them in a ColumnSet of type "clustered", only one
> series displays. Has anyone else encountered this?
>
> Thanks in advance.
>
>
>
> 
>
<<~WRD000.jpg>><><>

[flexcoders] Minimize / Maximize Browser Window

2008-06-18 Thread markgoldin_2000
I am creating an application that is hosted in an HTA page. My main 
Flex container is a TitleWindow with a close button that actally closes 
the HTA page. Is there a way of min/max the HTA page from the Flex app?

Thanks



Re: [flexcoders] Debugging problems with Firefox 3 Final

2008-06-18 Thread Tom Chiverton
On Wednesday 18 Jun 2008, João Fernandes wrote:
> did anyone had problems with the final version of Firefox 3? Each time I
> make a change, I have to do a 'clean' to be able to debug my application
> again.

What happens if you don't clean ?

-- 
Tom Chiverton



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. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[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: How to have a component as a Wallpaper/Background

2008-06-18 Thread timgerr
Is there a way when you have draggable widgets to add a weight to
them, one is always behind the other?

Thanks,
timgerr

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Most containers have no background so if you put the object behind the
> container it should act like it is the background.




Re: [flexcoders] Allow negative x position of container child

2008-06-18 Thread Jon Bradley


On Jun 18, 2008, at 10:16 AM, DannyT wrote:

The overall goal is to create a UI that allows the display of items  
1 and 2 OR items 2 and 3 and the view will slide into the chosen  
formation. However I seem to be stuck at the first hurdle. I've  
tried playing around with borders, scrollPolicy and clipContent but  
not yet managed to get any nearer. Any help much appreciated.



Use a Canvas parent container and you should be ok with negative  
positioning.


An HBox overrides the positions of it's children, the children don't  
position themselves.


Then, just create some transition tags and set moveEffect="Move" on  
each of the children.


cheers,

Jon



[flexcoders] Unable to Find the parent of a newly added Sub Node in a Tree..

2008-06-18 Thread sk_acura
Hi All,

  I have a Simple Tree whose Data Provider is an ArrayCollection of
Custom ActionScript Node Object (the code is listed below..)

  When i add a new Child Node to any of the Nodes in the Tree i can
get the parent of this Node without any problems..

  How ever when i try to add a new Child Node for the Previously added
Node i cannot get the Parent of the newly added Child Node..!!!

  Initial Tree:
 Root
 Node-1

  1) Add a Child Element to Node-1

 Root
 Node-1
ChildNode-1

 Now i can get the parent of the ChildNode-1 

  2) Now add a new Child to childNode-1

 Root
 Node-1
 ChildNode-1
ChildOfChildNode-1

  Now i cannot get the parent of ChildOfChildNode-1 !!!

   I am calling the getParent() method by passing the ChildNode and it
returns null..(the same method above returns the correct parent )

 Here is the code i am using..

TreeNode.as:

[CODE]
package test
{
import mx.collections.ArrayCollection;

public class TreeNode
{
public function TreeNode()
{
}

public var nodeId:String;
public var nodeLabel:String;
public var parentId:String;
public var children:ArrayCollection;
public var parent:Node;

public function toString():String{
return "TreeNode[ 
nodeId="+nodeId+",nodeLabel="+nodeLabel+",
parentId ="+parentId+"]";
}

}
}
[/CODE]

TreeTest.mxml:

[CODE]

http://www.adobe.com/2006/mxml";
layout="absolute" creationComplete="init()">



















[/CODE]


  Once i add a child to a node the tree's dataProvider is getting
updated internally (i am not making an explicit call.. Do i need to
call a method to refresh the tree dataProvider ?? I checked the
valiedateNow() but i guess they are for checking whether the UI needs
a repaint ..

Thanks
Mars..



[flexcoders] Debugging problems with Firefox 3 Final

2008-06-18 Thread João Fernandes
Hi there,

did anyone had problems with the final version of Firefox 3? Each time I 
make a change, I have to do a 'clean' to be able to debug my application 
again.

Anyone noticed this?
-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org
Portugal Adobe User Group (http://aug.riapt.org)



[flexcoders] Re: How to compose a super tree item renderer using TreeItemRenderer and others

2008-06-18 Thread an0one
I know how to create a subclass of TreeItemRenderer and use it as the 
itemRenderer of a 
Tree. What I can't quite figure out is how to create a composite tree item 
renderer 
enclosing a TreeItemRenderer and a Label. 
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> You may need to bind the new renderer's .data to the TreeITemRenderer's
> .data property.
> 
>  
> 
> I would just extend TreeItemRenderer and change what it does, though.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of an0one
> Sent: Tuesday, June 17, 2008 8:18 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How to compose a super tree item renderer using
> TreeItemRenderer and others
> 
>  
> 
> Hi,
> I want a custom tree item renderer that consists of a basic
> TreeItemRenderer(to reuse its 
> tree node icons) and several other standard controls(they are also
> IListItemRenderer 
> implementors). Let's call it ComboTreeItemRenderer, and to simplify the
> matters, assume 
> it is composed of a TreeItemRenderer and a Label.
> 
> This is my first try:
>  id="tagTree" 
> dataProvider="{myTags}" 
> change="handleTagSelection(event);">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> And the first error I met:
> "Could not resolve  to a component implementation."
> 
> I don't believe TreeItemRenderer can not be used in mxml coding, so I
> guess I was just not 
> coding in the right way. But what's the right way then?
> 
> However, that's not really what I was stumped by, since I found that I
> could write a custom 
> component(named MyTreeItemRenderer) which extends
> TreeItemRenderer(nothing to 
> override, just to work around the "could no resolve" error), and it
> could be resolved of 
> course. So here is my second try:
>  id="tagTree" 
> dataProvider="{myTags}" 
> change="handleTagSelection(event);">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Now comes the really difficulties: I know I must assign values to some
> properties of 
> MyTreeItemRenderer using information carried by data and listData, but
> what properties 
> to assign value to? And what makes me even crazier is that I found
> neither listData and 
> data was set(observed by overriding set listData and set data functions
> and find they were 
> never called).
> 
> Looking forward to seeing helpful hints. Thanks in advance.
>





Re: [flexcoders] Re: My Web Service with soap headers code no longer work with Flex 3

2008-06-18 Thread Josh McDonald
Looks to me like there's a problem with your namespaces in the bad request.
I don't know much about soap headers, but where's that "radarXML" namespace
coming from?

The SOAP code in Flex 3 is stricter than Flex 2's, so besides a couple of
bugs it behaves better than Flex 2's SOAP code, but often when migrating it
will expose problems in your WSDLs or XSDs that appear to be bugs in Flex 3.
It could be that there's something in your schema that is including the
radarXML namespace for the outer  element, but your server isn't
actually expecting that so it's complaining, and you were just lucky that
flex 2's SOAP code didn't generate the request correctly.

What's the server returning? A 500? If it's a SOAP fault, what does it say?
One of the reasons you want to use Charles is that you can see the error
codes when you get an error code from the server, whereas the browser hides
the details from the Flash Player so they never make it back into Flex,
often hiding very useful troubleshooting information.

-Josh

On Wed, Jun 18, 2008 at 11:46 PM, Mark <[EMAIL PROTECTED]> wrote:

> So I downloaded "Charles 3.2.1" to see what I'm getting. Running the
> code from 2.0.1 all is fine.  But with 3.0 here's what I'm getting.
>
>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> 
> 
> soap:Server
> Server was unable to process request. --> Object
> reference not set to an instance of an object.
> 
> 
> 
> 
>
> Under the "Request" top tab and "XML Text" bottom tab there's some
> differences:
> 
>
>  ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> 
> http://tempuri.org/";>
> 
> admin
> 
> 
> admin
> 
> 
> 
> 
> http://tempuri.org/"; />
> 
> 
>
> 
>  ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:s="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> 
> http://tempuri.org/";
> xmlns:ns0="http://radar.us.na.ey.net/RadarXML.asmx";>
> 
> admin
> 
> 
> admin
> 
> 
> 
> 
> http://tempuri.org/"; />
> 
> 
>
> Another point to mention is that the swf and the wsdl sit in the
> same direcory on the server so a crossdomain file isn't necessary.
> But again, I can't get this to rum from Flex Builder.  I also tested
> this with useProxy set to true and false. Setting it to false gives
> the same response, seting it to true shoot off new errors.
>
> It sounds like from what Rick was saying this is not an issue with
> the Flash Player as I'm using 9.0.124.  This is an issue with Flex
> 3.0, is that correct?
>
>
>
>
>
>
> --- In flexcoders@yahoogroups.com, "Rick Winscot" <[EMAIL PROTECTED]>
> wrote:
> >
> > Tracy - actually, you are right on the money. The Authorization
> header was
> > blocked and then re-instated in 9.0.124. You can still work around
> the issue
> > if you compile in Flex  2.0.1 since the RPC bits are still intact
> there.
> > however - in 3.0 they have changed.
> >
> >
> >
> > From the 3.0.x Flex SDK - AbstractWebService.as
> >
> >
> >
> > " The username and password to authenticate a user when accessing
> the
> > webservice. These will be passed as part of the HTTP Authorization
> header
> > from the proxy to the endpoint. If useProxy is false this property
> will be
> > ignored."
> >
> >
> >
> > There is also the issue of allowing the header from your
> crossdomain file.
> >
> >
> >
> > http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403184
> >
> >
> >
> >
> > Rick Winscot
> >
> >
> >
> >
> >
> > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of Mark
> > Sent: Tuesday, June 17, 2008 9:34 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: My Web Service with soap headers code no
> longer
> > work with Flex 3
> >
> >
> >
> > HI,
> >
> > I guess what I'm not understanding is the fact that when I run
> this
> > code from Flex Builder 2 it works, but when I run it out of FB 3
> it
> > doesn't. The Flash Player version would make sence to me but not
> > working in one and not the other. I'm using 9.0.124.0 Debug.
> >
> > HERE'S MY ERROR IN FB3:
> >
> > (mx.rpc::Fault)#0
> > errorID = 0
> > faultCode = "Server.Error.Request"
> > faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false
> > cancelable=false eventPhase=2 text="Error #2032: Stream Error.
> URL:
> > http://radar.us.na.ey.net/RadarXML.asmx";]. URL:
> > http://radar.us.na.ey.net/RadarXML.asmx";
> > faultString = "HTTP request error"
> > message = "faultCode:Server.Error.Request faultString:'HTTP
> > request error' faultDetail:'Error: [IOErrorEvent type="ioError"
> > bubbles=false cancelable=false eventPhase=2 text="Error #2032:
> > Stream Error. URL: http://radar.us.na.ey.net/RadarXML.asmx";]. URL:
> > http://radar.us.na.ey.net/RadarXML.asmx'"
> > name = "Error"
> > rootCause = (flash.events::IOErrorEvent)#1
> > bubbles = false
> 

RE: [flexcoders] ColumnSet vs Multiple axes

2008-06-18 Thread Sunil Bannur
Hi Richard,

I think the issue is that your items are getting filtered out because, the min 
and max values calculated for the horizontal axis is getting bad.
I would set the maximum and minimum explicitly as a workaround and I think 
you've already reported this as a bug, so it should be on track to get fixed.

For example, I used this as the max and min for both horizontal axes on your 
sample, it worked.

minimum="{new Date('12/31/2007')}" maximum="{new Date('02/03/2008')}"

Thanks
-Sunil


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard 
Rodseth
Sent: Tuesday, June 17, 2008 11:25 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] ColumnSet vs Multiple axes


I sent code to Sunil and Sangavi demonstrating the bug.
Now I'm looking for a workaround.
If  two ColumnSeries (different date axes) are displayed at the same location, 
I would like to be able to see both columns clearly, eg. through 
stroke/fill/alpha choices or by offsetting them somehow to simulate a cluster. 
Say the colors are red and green. With a low alpha value and red and green 
strokes, I can at least ensure that there's a visible red or green line at the 
top of the column, but one of the columns is always on top in the z-order, 
regardless of column height. Perhaps a pair of custom BoxItemRenderers that 
halve the box?
Any other ideas? Thanks.
On Sun, Jun 1, 2008 at 11:28 PM, Sunil Bannur <[EMAIL PROTECTED]> wrote:

Can you send a snippet of your code or screenshot for more help.



Thanks

-Sunil



From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On 
Behalf Of Richard Rodseth
Sent: Thursday, May 29, 2008 10:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ColumnSet vs Multiple axes



I have two column series related to distinct horizontal axes (of type
DateTimeAxis).

If I include the two series without wrapping them in a ColumnSet, the
columns from each series display overlaid on each other.

However, if I wrap them in a ColumnSet of type "clustered", only one
series displays. Has anyone else encountered this?

Thanks in advance.


<><><>

[flexcoders] Allow negative x position of container child

2008-06-18 Thread DannyT
This seems like it should be alot easier than I'm making it so thought I'd
put it out here:

Basically what I'd like to acheive is something like the following:







Note that 'Panel 1' has an x position of negative 150 so, as the containing
HBox is only 300 wide I'd like to see only panel's 2 and 3 visible and 1 is
off to the left. However I can only get it to show panel 1 and panel 2 with
panel 3 off to the right.

The overall goal is to create a UI that allows the display of items 1 and 2
OR items 2 and 3 and the view will slide into the chosen formation. However
I seem to be stuck at the first hurdle. I've tried playing around with
borders, scrollPolicy and clipContent but not yet managed to get any nearer.
Any help much appreciated.

Dan

-- 
http://danny-t.co.uk


Re: [flexcoders] Adobe MAX speakers

2008-06-18 Thread Matt Chotin
North America speakers will mostly be announced next week (hopefully). Europe 
will be a while longer.

Matt


- Original Message -
From: flexcoders@yahoogroups.com 
To: flexcoders@yahoogroups.com 
Sent: Wed Jun 18 06:41:51 2008
Subject: [flexcoders] Adobe MAX speakers

Hi all,



Question about MAX this year. Any word on which speakers are at the NA and the 
Euro versions? I’m getting sent by the company to one of them, and it would be 
nice to choose based on the speakers.



Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk http://www.inps.co.uk/>

The information in this internet email is confidential and is intended solely 
for the addressee. Access, copying or re-use of information in it by anyone 
else is not authorised. Any views or opinions presented are solely those of the 
author and do not necessarily represent those of INPS or any of its affiliates. 
If you are not the intended recipient please contact [EMAIL PROTECTED]






  1   2   >