Re: [flexcoders] XML, does it have to be RSS?

2007-05-22 Thread Paul J DeCoursey
What does the rest of your xml look like? The example you provided was 
the root element and it had namespace declarations. removing those and 
keeping the same xml following that would be the problem.

Jason wrote:
> Does the XML data HAVE to be an RSS?  If I change 
>
>  xmlns:content="http://purl.org/rss/1.0/modules/content/";
> xmlns:wfw="http://wellformedweb.org/CommentAPI/";
> xmlns:dc="http://purl.org/dc/elements/1.1/";>
>
> To
>
> 
>
> The load fails.  I haven't worked to much with XML so a lot of this is
> new to me.
>
> ***
>
> I am using the following syntax:
>
> private function onFeedResult(event:ResultEvent):void {
>   var xml:XML = new XML(event.message.body);
>   xml.ignoreWhitespace = true;
>   feedItems = new XMLListCollection(xml.foo.item);
>   panelTitle = xml.foo.title;
>   }
>
>
>
> id="dataRequest"
>url="data/data.xml"
>result="onFeedResult(event);"
>useProxy="false"/>
>
>
> Any suggestions? I'm somewhat new to Flex having worked mostly with
> older versions of Flash.
>
>
> - Jason
>
>
>   



Re: [flexcoders] Advanced Flex Authentication - limiting a user to a sinlge logon of a gieven app

2007-05-20 Thread Paul J DeCoursey
Might be able to accomplish that using Remoting, I don't think you'll be 
able to accomplish that on the web without some way of knowing for sure 
that the user has lost it's connection.  Perhaps if you expire sessions 
after a very short time, like 30 seconds, and constantly ping the server 
from the app.

Amine Diab wrote:
>
> Hi, I am trying to limit a user of a Flex application to a single logon
> with a Coldfusion back-end. I have used setRemoteCredential s and
> Cflogin/Cflogout successfully using roles, however I am at a loss of
> how I can limit a currently logged in user to a single flex session
> until he/she logs out; that is to prevent running two or more
> conncurrent sessions of the same application with the same user
> credentials.
>
> Please if you have any idea or comments let me know.
>
> Thank you.
>



Re: [flexcoders] Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-17 Thread Paul J DeCoursey
You can easily integrate a compile on demand system using the Flex SDK 
and Tomcat.  The problem is the compilers are not very fast.  I'm 
guessing that the Apache/IIS module does some caching so that compiles 
run faster because they don't have to reload large libraries each time.  
Once the compiler is opened up a little more you should be able to 
implement this kind of thing.

Austin Kottke wrote:
> Ely,
>
> I find runtime MXML something that would be invaluable.
>
> It is something that if implemented could make developing in flex a lot 
> more scaleable and integration with the server end would be a lot more 
> feasible. (As in doing HTTPRequests where serverside MXML could be 
> generated through Velocity/JSP and then given back to the ui) A lot of 
> developers don't know a thing about flex, but can learn basic MXML for 
> layout or simple scripting and implement basic server side operations. 
> And if these are kept just as mxml it makes updates in the future 
> easier. We can then just tell someone (edit the MXML) and you're done, 
> instead of "download the flex sdk, set your ant build, yada ya" -- some 
> aren't programmers, but MXML is very easy to learn. It's a lot more 
> confrontable for a designer/layout guy to tackle.
>
> Anyway, runtime MXML would be something that would majorly increase 
> scalability and integration with servers - similar to the Apache IIS mod 
> for JSP, etc - the only problem is that it's just for Apache or IIS. 
> Some run tomcat, resin, etc. But having it on the client end would 
> eliminate this problem.
>
> Best, austin
>
> Ely Greenfield wrote:
>   
>> Austin et. al. –
>>
>> There are a number of features of MXML that simply can’t be replicated 
>> at runtime. Things like script blocks. Other features would be 
>> prohibitively difficult (arbitrary binding expressions, @Embed, 
>> mx:Component, among others). You could reduce MXML to a 
>> runtime-parsable subset, and I know various people have taken various 
>> approaches to this. The more you reduce it, the easier it would be to 
>> replicate…removing repeaters, implicit arrays, default properties, 
>> etc. would get you down to something that could be implemented in a 
>> reasonable amount of time.
>>
>> I’m curious…how many people would find runtime MXML to be important to 
>> them?
>>
>> Ely.
>>
>> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
>> *On Behalf Of *Doug McCune
>> *Sent:* Thursday, May 17, 2007 12:47 PM
>> *To:* flexcoders@yahoogroups.com
>> *Subject:* Re: [flexcoders] Flex cookbook article: Flex2 XML Reader 
>> Can Create UIComponents
>>
>> Yeah, ummm, my advice would be ignore that article. That's one of the 
>> effects of having an article submission process that allows anyone to 
>> submit anything. I know the cookbook is supposed to be user generated 
>> and reviewed, but anyone from Adobe want to exercise a little 
>> editorial control? I wouldn't mind the hand of god going in there and 
>> selectively removing a little content... sometimes democracy needs a 
>> helping hand.
>>
>> On 5/17/07, *Daniel Freiman* <[EMAIL PROTECTED] 
>> > wrote:
>>
>> I think they're just stating that the mx.modules package exists. The 
>> sentence "We also know Flex2 knows how to read MXML at runtime because 
>> the compiler knows how to convert MXML into GUI Objects" doesn't 
>> inspire confidence that they know what they're talking about. Since 
>> it's possible that they don't know what a compiler does, it's also 
>> possible they're just writing and compiling Modules and don't 
>> understand that they're doing it. Then again, that wouldn't explain 
>> what they're fighting with another company about earlier in the article.
>>
>> They claim what they're talking about is in the docs so I'd either 
>> search them or not worry about it. My guess is you'd be searching a 
>> long time for something that isn't there. It would be nice if someone 
>> could prove my guess wrong though.
>>
>> Dan Freiman
>> nondocs 
>>
>> On 5/17/07, *Austin Kottke* <[EMAIL PROTECTED] 
>> > wrote:
>>
>> Hi,
>>
>> There is an intriguing article in the flex cookbook on the adobe site 
>> about
>> reading in MXML at runtime and using the XML object to create components
>> at runtime. While
>> I don't totally get how this works as there are no code samples, but
>> very vague actually, but it states:
>>
>> "Let's consider, for a moment, how Adobe might have chosen to leverage
>> reuse within the Flex2 programming model.
>>
>> "Assuming the Adobe engineers did not want to have to recreate the wheel
>> in terms of how to make Flex2 able to load normal non-GUI XML I would
>> surmise they chose to simply reuse whatever code they wrote that was
>> able to read MXML into a way to read XML.
>>
>> "As we know, MXML resembles XML rather closely. Heck, MXML is XML !
>> Yipee, now I can easily read MXML because it is essentially a form of XML.
>>
>> "We

Re: [flexcoders] Re: Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-17 Thread Paul J DeCoursey
The Apache/IIS module is a Flex compiler that compiles the MXML just 
before serving.  Similar to JSP, ASP, PHP. and so on.  It is not 
MXML at runtime.


nathanpdaniel wrote:
> http://labs.adobe.com/wiki/index.php/Flex_Module_for_Apache_and_IIS
>
> Not implying I know anything by any means - but from reading what you 
> wrote - it sounds the same... but I really don't know :D
>
> --- In flexcoders@yahoogroups.com, Austin Kottke <[EMAIL PROTECTED]> wrote:
>   
>> Hi,
>>
>> There is an intriguing article in the flex cookbook on the adobe 
>> 
> site about
>   
>> reading in MXML at runtime and using the XML object to create 
>> 
> components 
>   
>> at runtime. While
>> I don't totally get how this works as there are no code samples, 
>> 
> but 
>   
>> very vague actually, but it states:
>>
>> "Let's consider, for a moment, how Adobe might have chosen to 
>> 
> leverage 
>   
>> reuse within the Flex2 programming model.
>>
>> "Assuming the Adobe engineers did not want to have to recreate the 
>> 
> wheel 
>   
>> in terms of how to make Flex2 able to load normal non-GUI XML I 
>> 
> would 
>   
>> surmise they chose to simply reuse whatever code they wrote that 
>> 
> was 
>   
>> able to read MXML into a way to read XML.
>>
>> "As we know, MXML resembles XML rather closely. Heck, MXML is XML ! 
>> Yipee, now I can easily read MXML because it is essentially a form 
>> 
> of XML.
>   
>> "We also know Flex2 knows how to read MXML at runtime because the 
>> compiler knows how to convert MXML into GUI Objects.
>>
>> "But what if we could trick Flex2 into dynamically loading MXML at 
>> runtime ?"
>>
>>
>> So my question, has anyone ever done this and how did they do it? 
>> 
> I'm 
>   
>> not talking about using the
>> modules package to load in precompiled swfs. But loading in mxml 
>> 
> and 
>   
>> having it run after being loaded.
>>
>> Best, Austin
>>
>> 
>
>
>
>   



Re: {Disarmed} Re: {Disarmed} Re: [flexcoders] Flex on Mac

2007-05-17 Thread Paul J DeCoursey
I'm sorry, I misunderstood.  I thought you were refering to the ability 
to use multiple monitors on a Mac. To tell you the truth what you are 
describing is completely new to me. I've never even heard of doing that 
on windows.  When I get in the office I will try it on my workstation 
there. Is this a feature of Eclipse?

Paul

Jurgen Beck wrote:
> Hey Paul,
>
> Here is what I experience (again, this is with Flex Builder, not 
> Eclipse):
>
> When I drag one of the Flex Builder tabs for a specific window to the 
> second monitor, I see the cursor change to a square box. When I 
> release the mouse button on the second window, the cursor switches 
> back to normal and nothing happens. The tabbed window stays on the 
> first monitor.
>
> Would you care to share how you get those windows to show up on the 
> second monitor?
>
> Thanks,
>
> Jurgen
>
>



Re: {Disarmed} Re: [flexcoders] Flex on Mac

2007-05-17 Thread Paul J DeCoursey
What are you talking about... I have a second monitor hooked up to my 
MacBook Pro right now, and my Mac Pro has 3 monitors.  I've had no issues.

Paul


fuad_kamal wrote:
> you can't (multiple monitors).  It's an issue w/Eclipse on Mac. 
> Solution:  cinema display :P
>
> --- In flexcoders@yahoogroups.com, Jurgen Beck <[EMAIL PROTECTED]> wrote:
>   
>> Same here. I actually switched from Windows XP Professional running 
>> stand-alone Flex Builder to a Mac Pro and MacBook Pro. Works great. In 
>> fact, I seem to have less memory issues with Flex Builder on the Mac 
>> than I had with running it on Windows XP.
>>
>> The only thing I wish it would do on the Mac is allowing me to use two 
>> monitors. On the Windows side this is no problem. Can't seem to figure 
>> out how to do that on the Mac.
>>
>> Jurgen
>



Re: [flexcoders] Re: Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Paul J DeCoursey
Troy Gilbert wrote:
> String is a primitive type, like int/uint/Number (which have 
> operators) and
> Boolean, which all have special casting rules and operator 
> "overloading". Be
> happy for that, at least... we could be *forced* to call toString() every
> time we wanted the conversion (fortunately, it happens automatically most
> the time!).
>
String is not a primitive, it is a class.  It is declared(public final 
class String) final so you cannot extend it.

paul

> This always seems a bit muddy, because in AS3 even primitive types are
> represented as "objects," though they are most certainly not straight
> subclasses of Object (at least not using AS3 as the language, perhaps 
> they
> are in the C++ of the Player).
>
> Troy.
>
>
> On 5/4/07, Doug Lowder <[EMAIL PROTECTED]> wrote:
>>
>>   The String class does that though, doesn't it? For example,
>>
>> var sid1 :String = new String("ID_101-102-103");
>> var sid2 :String = "ID_101-102-103";
>> var sid3 :String = new String(sid1);
>>
>> are all legal. Maybe there is a reason why String can't be extended
>> (I haven't tried it), but it might be worth looking into.
>>
>> --- In flexcoders@yahoogroups.com , 
>> "Michael
>> Schmalle"
>> <[EMAIL PROTECTED]> wrote:
>> >
>> > Hi,
>> >
>> > > var sid2 :StringId = "ID_101-102-103";
>> >
>> > There is no way you can do that. AS3 uses typing and that is all
>> you are
>> > doing.
>> >
>> > The "" is the string constructor and there is no way to change that.
>> >
>> > If I understand what you are asking there is something you can use
>> so you
>> > don't have to use toString().
>> >
>> >
>> > public function StringId(stringId :Object)
>> > {
>> > if (stringid is StringId)
>> > this.guid = stringId.toString();
>> > else if(stringid is String)
>> > this.guid = stringid;
>> > else
>> > throw new Error("Incorrect argument type. Must be of type
>> String or
>> > StringId");
>> > }
>> >
>> >
>> > On 5/4/07, Sebastian Feher <[EMAIL PROTECTED]> wrote:
>> > >
>> > > I need a class that contains one string that has some
>> constrains when
>> > > is created.
>> > >
>> > > package mypackage
>> > > {
>> > > public class StringId
>> > > {
>> > > private var stringId :String;
>> > >
>> > > public function StringId(stringId :Id)
>> > > {
>> > > this.guid = stringId;
>> > > }
>> > > }
>> > > }
>> > >
>> > > This works fine:
>> > > var sid1 :StringId = new StringId("ID_101-102-103");
>> > >
>> > > but I would like to be able to type also:
>> > > var sid2 :StringId = "ID_101-102-103";
>> > >
>> > > and:
>> > > var sid3 :StringId = new StringId(sid1);
>> > >
>> > > Is there any copy constructor / assignment operator / multiple
>> > > constructors trick that I can use?
>> > >
>> > > The last one I can either replace with:
>> > > var sid3 :StringId = new StringId(sid1.toString());
>> > >
>> > > or have the constructor make the distinction between the String
>> and
>> > > StringId being passed in.
>> > >
>> > > Any ideas/hints ?
>> > >
>> > > Thanks,
>> > > Sebastian
>> > >
>> > >
>> > >
>> >
>> >
>> >
>> > --
>> > Teoti Graphix
>> > http://www.teotigraphix.com
>> >
>> > Blog - Flex2Components
>> > http://www.flex2components.com
>> >
>> > You can find more by solving the problem then by 'asking the
>> question'.
>> >
>>
>>  
>>
>



Re: [flexcoders] File Upload I/O error only on Mac

2007-05-04 Thread Paul J DeCoursey
I've seen this as well.  But it has not been a priority yet to 
investigate it, so I don't really know what is going on there.  I was 
thinking it may be sandbox issues.  Or perhaps a bug in the player.  Let 
me know if you discover anything.  Unfortunately it will be weeks before 
I get around to looking at it more.

Paul

mthielman11 wrote:
> Hello, 
>
> we are having a strange problem trying to upload files via flex in out
> app.  Our code works fine from Windows FIrefox. But on the mac we are
> getting an error:
>
> [IOErrorEvent type="ioError" bubbles=false cancelable=false
> eventPhase=2 text="Error #2038: File I/O Error. URL:
> http://10.250.20.154:8080/ZebraServer/upload/|BAA9BD09-8DA9-6216-6F8C-51A12E439873|"]
>
> When running in debug mode the last thing I see is:
>
> openHandler triggered
>
> Then nothing happens.  On the server end (Which is Java) the log does
> not even show the request hitting it.  Anyone have any similar issues?
>  I know there is another Mac and upload issue with the oncomplete
> event but do not think it is that is the server does not even get my
> request. Any insight would be great, thanks.
>
>
>   



Re: [flexcoders] Why aren't we allowed to process the event queue? (eg: like DoEvents)

2007-05-03 Thread Paul J DeCoursey
Manish Jethani wrote:
> On 5/3/07, Troy Gilbert <[EMAIL PROTECTED]> wrote:
>
>   
>> I think the best solution for Flash would be to introduce a first-class 
>> thread object. That way developers could spawn long-lasting tasks to a 
>> separate thread.
>> 
>
> If threading is introduced in the player, much of the Flex framework
> might have to be made thread-safe (as would any other Flash
> framework/lib/app out there). Currently all the code assumes there's
> only one thread of execution.
>
> My take is, if the task is too long/complicated, get it done on the
> server. Let's keep the player simple, please.
>
>   

I agree.  For the most part Flash/Flex is a user interface. 

I also think that it's a great idea to do processing in Flash, but we 
have to think differently.  People might think I'm crazy but I think 
that the way we need to think here is similar to how developers need to 
start thinking to take advantage of multi-core/multi-processor 
machines.  We need to break large tasks up into independent chunks that 
can be run from a queue.  In the Flash world that queue will run 
sequentially, but in other applications they could be run in parallel.  
I may be getting off-topic with that. Bottom line is we can't really 
compare Flash to Java or C#.

Paul




Re: [flexcoders] Is this a bug? 1195 - Attempted access of inaccessible method name ...

2007-05-03 Thread Paul J DeCoursey
Although you declare test as a function it is not used as one.  When you 
use the get and set syntax the function is treated like a property.

mattjshannon wrote:
> Hi, I'm new to flex and actionscript - having a java background.
>
> I keep getting a 1195 compiler error when trying to invoke what i 
> believe is a public non-static method from a singleton class instance.
>
> Here is a cut-down version of the code that demonstrates the problem, 
> along with accompanying error ...  (Flex 2.0.1)
>
> Error:
> 1195: Attempted access of inaccessible method name through a 
> reference with static type test:ATest.
>
> Invoker.mxml :-
>
> 
> http://www.adobe.com/2006/mxml"; 
> layout="absolute" creationComplete="onCreationComplete()">
> 
> 
> 
> 
> 
>
>
>
> ATest.as :-
>
> // ActionScript file
> package test
> {
>   public class ATest
>   {
> private static var instance : ATest;
> 
> public function ATest() 
> {   
>   if (instance != null)
>   {
> throw new Error("Singleton Exception");
>   }
>   instance = this;
> }
>
> public static function getInstance() : ATest 
> {
>   if (instance == null)
>   {
> instance = new ATest();
>   }
>   return instance;
> }
>  
> public function set name(__name : String) : void
> {
>   _name = __name;
>
> }
>
> public function get name() : String
> {
>   return _name;
> }
>
> public var _name : String;
>   }
> }
>
> Is there something tricky going on with these set/get methods? 
>
> thanks
>
> Matt.
>
>
>   



Re: [flexcoders] Re: Programatic Icon

2007-04-28 Thread Paul J DeCoursey
Michael Schmalle wrote:
> I agree, styles are better for styles. Again, just answering some ones
> question. What I have learned in flex is, there a re a lot of ways to 
> climb
> the mountain.
>
>> Ok, because I'm a big loser and I don't like using mx_internal... sorry
> that I'm so lame Mike
>
> Thats a joke right? I don't like it either unless it gets me somewhere.
yes, it's a joke.
>
> if(this.parent!= null && this.parent is UIComponent) {
>if((this.parent as UIComponent).getStyle("arrowColor")) {
> _color = (this.parent as
> UIComponent).getStyle("arrowColor");
>   }
> }
>
> You could replace that block with;
>
>var color:uint;
>if (parent is IStyleClient)
>   color = IStyleClient(parent).getStyle("arrowColor");
>    if (!isNaN(color))
>   _color = color;
>
thanks, that is much better.
>
>
> Peace, Mike
>
>
> On 4/27/07, Paul J DeCoursey <[EMAIL PROTECTED]> wrote:
>>
>>   Ok, because I'm a big loser and I don't like using mx_internal... 
>> sorry
>> that I'm so lame Mike... but here is a modified version that doesn't
>> use mx_internal.
>>
>> Basically three things change from Mikes example.
>>
>> private function changeIcon(event:MouseEvent):void {
>> myPanel.setStyle("arrowColor", 0xff);
>> }
>>
>> I set a style rather than a property on an object we can't safely 
>> access.
>>
>> on the Icon class I add this metadata
>> [Style(name="arrowColor",type="uint",format="Color",inherit="yes")]
>>
>> and updateDisplayList becomes this
>>
>> override protected function
>> updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
>> super.updateDisplayList(unscaledWidth, unscaledHeight);
>> if(this.parent!= null && this.parent is UIComponent) {
>> if((this.parent as UIComponent).getStyle("arrowColor")) {
>> _color = (this.parent as
>> UIComponent).getStyle("arrowColor");
>> }
>> }
>> graphics.clear();
>> graphics.beginFill(_color, 1);
>> graphics.drawRect(0, 0, unscaledWidth, unscaledHeight);
>> graphics.endFill();
>> }
>>
>> Might be possible to improve the logic in the part where it gets the
>> style.
>>
>> Paul
>>
>>
>> Michael Schmalle wrote:
>> > Ok, I got it;
>> >
>> > MXML APP
>> > --
>> > 
>> > > > xmlns:mx="http://www.adobe.com/2006/mxml";
>> > layout="absolute">
>> >
>> >
>> > 
>> > 
>> > 
>> >
>> > > > titleIcon="{Icon}"
>> > title="Icon Panel">
>> >
>> > 
>> >
>> > > > label="Change"
>> > click="changeIcon(event)"/>
>> >
>> > 
>> >
>> > 
>> >
>> >
>> > Icon Class
>> > --
>> >
>> > package
>> > {
>> >
>> > import mx.skins.ProgrammaticSkin;
>> >
>> > public class Icon extends ProgrammaticSkin
>> > {
>> > private var _color:uint = 0xFF;
>> >
>> > public function get color():uint
>> > {
>> > return _color;
>> > }
>> > public function set color(value:uint):void
>> > {
>> > _color = value;
>> > validateDisplayList();
>> > }
>> >
>> > public function Icon()
>> > {
>> > super();
>> > }
>> >
>> > override public function get measuredHeight():Number
>> > {
>> > return 16;
>> > }
>> >
>> > override public function get measuredWidth():Number
>> > {
>> > return 16;
>> > }
>> >
>> > override protected function updateDisplayList(unscaledWidth:Number,
>> >
>> > unscaledHeight:Number):void
>> > {
>> > super.updateDisplayList(unscaledWidth, unscaledHeight);
>> >
>> > graphics.clear();
>> > graphics.beginFill(_color, 1);
>> > graphics.drawRect(0, 0, unscaledWidth, unscaledHeight);
>> > graphics.endFill();
>> > }
>> > }
>> > }
>> >
>> >
>> > Peace, Mike
>> >
>>
>>  
>>
>
>
>



Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Paul J DeCoursey
Ok, because I'm a big loser and I don't like using mx_internal... sorry 
that I'm so lame Mike...  but here is a modified version that doesn't 
use mx_internal.

Basically three things change from Mikes example.

private function changeIcon(event:MouseEvent):void {
myPanel.setStyle("arrowColor", 0xff);
}

I set a style rather than a property on an object we can't safely access.

on the Icon class I add this metadata
[Style(name="arrowColor",type="uint",format="Color",inherit="yes")]

and updateDisplayList becomes this

override protected function 
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
   super.updateDisplayList(unscaledWidth, unscaledHeight);
   if(this.parent!= null && this.parent is UIComponent) {
   if((this.parent as UIComponent).getStyle("arrowColor")) {
   _color = (this.parent as 
UIComponent).getStyle("arrowColor");
}
   }
   graphics.clear();
   graphics.beginFill(_color, 1);
   graphics.drawRect(0, 0, unscaledWidth, unscaledHeight);
   graphics.endFill();
   }

Might be possible to improve the logic in the part where it gets the style.

Paul


Michael Schmalle wrote:
> Ok, I got it;
>
> MXML APP
> ---
> 
> xmlns:mx="http://www.adobe.com/2006/mxml";
>layout="absolute">
>
>
>
>
>
>
>titleIcon="{Icon}"
>title="Icon Panel">
>
>
>
>label="Change"
>click="changeIcon(event)"/>
>
>
>
> 
>
>
> Icon Class
> 
>
> package
> {
>
> import mx.skins.ProgrammaticSkin;
>
> public class Icon extends ProgrammaticSkin
> {
>private var _color:uint = 0xFF;
>
>public function get color():uint
>{
>return _color;
>}
>public function set color(value:uint):void
>{
>_color = value;
>validateDisplayList();
>}
>
>public function Icon()
>{
>super();
>}
>
>override public function get measuredHeight():Number
>{
>return 16;
>}
>
>override public function get measuredWidth():Number
>{
>return 16;
>}
>
>override protected function updateDisplayList(unscaledWidth:Number,
>
> unscaledHeight:Number):void
>{
>super.updateDisplayList(unscaledWidth, unscaledHeight);
>
>graphics.clear();
>graphics.beginFill(_color, 1);
>graphics.drawRect(0, 0, unscaledWidth, unscaledHeight);
>graphics.endFill();
>}
> }
> }
>
>
> Peace, Mike
>



Re: [flexcoders]How does Flex work on Mobile devices

2007-04-27 Thread Paul J DeCoursey
dorkie dork from dorktown wrote:
> My boss asked, "What options does Flex have for deploying to mobile
> devices?"
>
None at the moment, but I've heard that they are working on a way to 
compile Flex for Flash Lite which works on many mobile devices.


Re: [flexcoders] wmode=transparent : any limitations to expect ?

2007-04-27 Thread Paul J DeCoursey
Where is this not supported?  I have tested most and found it to work as 
expected.  Mostly that html elements can appear over the flash component.

Paul

Manish Jethani wrote:
> You should know that transparent mode is not supported on all platforms.
>
> On 4/27/07, ecpmaz <[EMAIL PROTECTED]> wrote:
>   
>> I'm starting a big project relying on a transparent flex application
>> (with some HTML stuff underneath)... and I was wondering wetherr I
>> should expect bugs/limitations of the flash player in this mode??
>>
>> I saw for instance that the mouse wheel is disabled ?
>> Have you encountered any other bug ?
>>
>> Thank you,
>>
>> {Maz}
>>
>>
>>
>> --
>> Flexcoders Mailing List
>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>> Yahoo! Groups Links
>>
>>
>>
>>
>> 
>
>   



Re: [flexcoders] wmode=transparent : any limitations to expect ?

2007-04-27 Thread Paul J DeCoursey
All mouse related events do not detect modifier keys. This was a painful 
issue because our app depended on being able to select multiple items 
from a list and that's not possible when control and shift are not 
registered on a mouse click.  MSIE did not appear to have this 
limitation, but sometimes didn't register mouse events at all in some 
places in the app.  I think that was because "invisible" html layers 
were obscuring them from the mouse event.  In time we cleared those up 
by cleaning up the CSS for IE.  No workarounds yet available for the 
mouse issues in other browsers.  Other than that I didn't see any other 
issues.

Paul


ecpmaz wrote:
> I'm starting a big project relying on a transparent flex application
> (with some HTML stuff underneath)... and I was wondering wetherr I
> should expect bugs/limitations of the flash player in this mode??
>
> I saw for instance that the mouse wheel is disabled ?
> Have you encountered any other bug ?
>
> Thank you, 
>
> {Maz}
>
>
>   



Re: [flexcoders] Programatic Icon

2007-04-27 Thread Paul J DeCoursey
I've been able to get it to work for buttons and the like by extending 
ProgrammaticSkin and passing in the class.  I've never even used the 
icon on a TitleWindow to even know how it's supposed to work.  It should 
work, because everything is a class, but it might not know what to do 
with it.

Paul

Michael Schmalle wrote:
> Hi,
>
> The simple answer is no.
>
> Why?
>
> The titleIcon class is of type Class. This class cannot be subclassed.
>
> My advice to you is create a subclass of TitleWindow and create the 
> method
> you are talking about there.
>
> Since you cannot load icons at runtime, you could create a simple
> iconLibraryModule that held your extra icons and then the method you 
> created
> in the subclass would then load the icons from the icon library on demand
> through some type of string call into the library.
>
> Conclusion, there is no way to create an image like component in 
> components
> with properties of type Class. In my custom window, I wrap the icon in a
> UIComponent, this way when I am rendering the icon, I have 2 options. The
> icon property is the 'source' but not the actual instance that is
> manipulated in the component UI.
>
> Peace, Mike
>
> On 4/27/07, Paul Whitelock <[EMAIL PROTECTED]> wrote:
>>
>>   Would anyone know if there is a way to create an component that can be
>> used as an icon for any component that accepts an icon?
>>
>> For example, TitleWindow accepts a titleIcon. I would like to create
>> an AS3 class that I can instantiate and specify for the TitleWindow's
>> titleIcon. As conditions change in the window, I'd like to be able to
>> make a function call to the icon class and have it update the icon
>> displayed by the TitleWindow. The class would programatically create
>> the icon (i.e., it would not use an embedded asset).
>>
>> Ideally the icon component should be able to be used for any component
>> that accepts an icon.
>>
>> Any idea if this can be done and if so where I should start looking to
>> create such a component? Thanks!
>>
>> Paul
>>
>>  
>>
>
>
>



Re: [flexcoders] Re: Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-27 Thread Paul J DeCoursey
Ummm no IE does not work on the Mac, the last few versions were 
awful and barely worked. MS hasn't been developing it in at least 2 
years, maybe three.  They stopped supporting it over a year ago.

> Everybody uses Windows, almost all the workstations are windows. Macs
> have IE working OK. The better solution was a cross plataform
> solution, that's why I've been working with Flex.





Re: [flexcoders] Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-17 Thread Paul J DeCoursey
All I have to say is it's Microsoft, if they kill anything it's not on 
the merits of their product... it's brute force.  This is not a threat 
to Flash/Flex by any means.  Microsoft will never be able to create a 
truly cross platform product.  All of their past efforts have been 
clumsy at best, even on their own platform.

Paul


Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread Paul J DeCoursey
I have a java class that generates a build.as file that is included in 
my main application mxml file.  The build.as file has only

public static var uiBuildText:String = "";

I put in a build id, gotten from subversion.  I also include the date 
for the version and who did the build.

If I ever get around to it I will blog about this. 

Tom Chiverton wrote:
> On Tuesday 17 Apr 2007, bhaq1972 wrote:
>   
>> we actually have a variable like this and my poor colleague has to
>> always update it before being released to our testers.
>>
>> It would make his life so much easier if something was built into
>> flexbuilder.
>> 
>
> Ditto. Which was the original question. 
> If Cruise Control has this, it's very well hidden.
>
> I suppose your CC build script could run sed over the source or something but 
> that's fairly yuck too.
>
>   



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] How do I read Response after FileReference uploads a file?

2007-03-30 Thread Paul J DeCoursey
I did something similar.  Before the upload I get a token, I pass that 
token on the querystring of the upload.  Once complete I use that token 
to get info about the upload.  I also use this token for authentication 
purposes.  We have had a lot of trouble with file uploads not sharing 
sessions with all of the other requests in the app.  Another advantage 
to the token is we have a queue of files that the user is uploading from 
in the app.  With the token we don't have to retrieve the response data 
right away, or it can be ignored altogether.  We also expire the tokens 
after a certain period of time because we do use them for auth as well.  
Anyway, it's probably overkill for your project, but I thought I'd share.

Paul


Grant Davies wrote:
> you can't... file reference does not return the response... (yes I know
> that's dumb, I thought the same thing)
>  
> What I had to do is write the response to the session, and after file
> reference returns success/fail I go back and request the session
> variable as an XML response...
>  
> Grant
>  
>  
> ...
>   
>> b l u e t u b e i n t e r a c t i v e
>> 
> .: The glue between creative and engineering
> .: grant davies
> .: 404.428.6839 (c)
> .: 708-983-1577 (F)
>   
>> [EMAIL PROTECTED]
>> http://www.bluetube.com/bti  
>> 
>
>  
>
>  
>
> 
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of thegators_2002
> Sent: Friday, March 30, 2007 11:36 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How do I read Response after FileReference uploads
> a file?
>
>
>
> I am trying to use FileReference to upload a file from the user side
> to a web page and read the response(xml) that the server returns. I
> can't figure out how to get the response, however. It doesn't seem to
> be included in the FileReference object.
>
> Is there a way to read the response coming back after a file upload,
> or is this halted by design?
>
>
>
>  
>
>   



Re: [flexcoders] Re: Caching problem

2007-03-26 Thread Paul J DeCoursey
Tom Chiverton wrote:
> On Monday 26 Mar 2007, Paul DeCoursey wrote:
>   
>> environments should be able to run without problems if there are
>> browsers caching things.
>> 
>
> *boggle*
> How would that work ?
> If a service changes it's interface, how is the old client meant to consume 
> the new format ?
>   

Several ways. 
1)  Fail gracefully
2)  If a service changes and is incompatible with old clients then do 
not reuse the url.  For example all of our front ends have version 
numbers in the url so we can quickly determine if the user is on an old 
version.  Our services are the same way, except that for the most part 
they don't change.  We spend a lot of time making sure it's what we need 
before.
...  This is not a difficult problem, there are a lot of ways to get 
around cache servers and cached browser issues.


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] Re: Passing an object reference as a property

2007-03-13 Thread Paul J DeCoursey
Those are valid use cases, and your suggestion isn't a bad one. (Note: 
the following is my mind wandering and isn't really related)  I 
speculate that there is a better way. Within those use cases there are 
still some issues, what if the object in question is a member of a 
collection?  I think what we need is XPath on the object model.  I 
better stop thinking about this or I'll end up porting JXPath to AS3 and 
my clients will wonder why their projects aren't getting done.

Ralf Bokelberg wrote:
>
> This is a different thing though. For example, what if the source 
> object doesn't exist at the time you are assigning the reference 
> because it is retrieved from the backend. What if your reference comes 
> from an external configuration file? I guess both methods have valid 
> uses.
>
> Cheers
> Ralf.
>

>
>
>  



Re: [flexcoders] ALT-GR + key not working in Firefox

2007-03-09 Thread Paul J DeCoursey
There is a series of bugs related to Events in the Flash Plugin.  I 
haven't seen any reports on them yet, but I have reported them to adobe 
and verifed them on multiple machines.

João Fernandes wrote:
> Hi there,
>
> we're having this issue under firefox where textInput fields don't 
> accept combination of Alt-Gr + Key.
> We use Portuguese Keyboard Layout ( pt_PT) and we are unable to write @ 
> ( Alt-Gr + 2 ) or € ( Alt-Gr + E ) inside Firefox as supposed.
>
> This works perfectly under IE.
>
> João Fernandes
>
>
>   



 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] Re: Problems with EventDispatching

2007-02-22 Thread Paul J DeCoursey
Well apparently not, and kind of as expected.

Paul DeCoursey wrote:
> Will it work if the Object implements IMXMLObject? I don't know for
> sure if those get added to the Display list or not when declared in mxml.
>
> Thanks,
>
> Paul
>
> --- In flexcoders@yahoogroups.com 
> , "Ralf Bokelberg"
> 
> ...> wrote:
> >
> > Bubbling only works for items on the display list. It uses the
> > parent/child relation ship of the UI Components.
> >
> > Cheers
> > Ralf
> >
>

>
>  



[flexcoders] Problems with EventDispatching

2007-02-22 Thread Paul J DeCoursey
I have some classes that are EventDispatcher but not DisplayObjects.  I 
have maybe 10 or 15 of these classes and a few of them will not bubble 
events to the SystemManager.  I have created the Events to bubble but 
they will not.  If I listen on the object I receive them.  My problem is 
the Objects I want to receive the events on don't know about the Objects 
that dispatch them and I don't want them to know about them.  Has anyone 
had a problem like this?

Paul



Re: [flexcoders] Re: Creating Thumbnails from large images on the fly. Possible?

2007-02-22 Thread Paul J DeCoursey
Best way to do it is to have some sort of server process that scales the 
image and store that scaled version for future requests.  I had built a 
system quite a while ago for doing Image Management and it would scale 
multiple sizes of each image on upload and then you can download the 
appropriate size as needed.  Much like how flickr works.  We built it in 
java.  If you can run java I can try and dig up some of the code.

> I'm not sure that is possible given the nature of how data is stored
> in image files... maybe somebody else has some insight in to the
> topic.
>
> Brian



Re: [flexcoders] Re: Are other developers hesitant to extend existing classes in Flex?

2007-02-22 Thread Paul J DeCoursey
Tom Chiverton wrote:
> On Thursday 22 Feb 2007, Paul DeCoursey wrote:
>   
>> support our REST based Web Services.  But also URLRequest is a final
>> class and cannot be extended.
>> 
>
> So you extend the parent, and cut and paste most of the code.
> Final isn't the end of the world :-)
>
>   
In this case it is since the source for URLRequest is not available, 
URLRequest is a flash class not a mx class.  To make it work we would 
need to implement the entire HTTP client stack using sockets.  Not a 
small undertaking.




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups - Join or create groups, clubs, forums & communities. 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 - Join or create groups, clubs, forums & 
communities. is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Drag Drop outside of a target

2007-02-21 Thread Paul J DeCoursey
I think what you need to look at is the dragComplete event.  This will 
fire everytime a drag has completed.  So you will have to do some 
checking to see if what the target is.

Nate Pearson wrote:
> What is the event that is triggered when I drop something outside of a
> drop target? I thought i could use dragExit() but that just shows
> when you leave the area. DragDrop() doesn't seem to get triggered
> when you actually do the drop outside of the "droppable" area.
>
> What i'm trying to do is let people click and drag items out side of a
> custom list and have it delete from that list's data provider.
>
> Thanks in advance,
>
> Nate



Re: [flexcoders] compc - degrees of specification

2007-02-21 Thread Paul J DeCoursey
I've been doing this same thing.  Are you using the ANT Tasks from the 
Labs?  I've found that it works better to break it up into separate 
libraries.  Then I use the depends and uptodate options so I don't 
compile unless something has changed.  If you are using the ANT tasks 
from the labs you should be able to use filesets with wildcards (**/*.as 
and **/*.mxml) to catch all the files you need.  We are not using the 
ANT Tasks ourseleves but we plan on migrating soon.  For now we use java 
tasks and pass in the jars for the specific compiler, and then we need 
to explicitly set each file we want included in the swc.

pd


alehrens wrote:
>
> Hi,
>
> I'm tinkering with using Ant for our flex build... We have two
> libraries that contain a good amount of files (say, 25 .as file and 20
> .mxml files for this example).
>
> My questions are:
>
> 1. Do I include both types of files in the compc task - to build
> everything in our library into one .swc?
> 2. Is there any way to wildcard it or do I have to specify every file
> out explicitly?
>
> aaron
>
>  



Re: [flexcoders] Re: Firefox no longer does multiselect in dataGrid

2007-02-20 Thread Paul J DeCoursey
I verified that the MouseEvent is not recognizing the modifier keys 
being depressed. I submitted a bug to adobe.  I was able to verify it on 
a number of machines here.


Re: [flexcoders] Re: Firefox no longer does multiselect in dataGrid

2007-02-20 Thread Paul J DeCoursey
Alright, I've removed and reinstalled the plugin a few times now.  It 
doesn't work can anyone confirm this?

I'm on Windows XP SP2, using Firefox and Opera with Flash Player 9,0,28,0
>
>  



Re: [flexcoders] Adobe site

2007-02-20 Thread Paul J DeCoursey
I think there is something else going on.  I'm also experiencing issues 
accessing the site.

Clint Modien wrote:
>
> Hi...  it's probably just a bad route...
>
> Try running a tracert.  It'll show you the bad node between you and adobe.
>
> http://en.wikipedia.org/wiki/Tracert 
> 
>
>



Re: [flexcoders] How to fill datagrid with SOAP output?

2007-02-19 Thread Paul J DeCoursey
{wsXenmonService.getMetrics.lastResult.result}  that is the reference to 
the array in the response body.

suyash jape wrote:
>
> Hi everyone.
>
> I have implemented a Flex web service client to access Python 
> webservice( resultFormat is "e4x"):
>  
>  height="200"/>
>
> .This is the incoming SOAP response to Flex in the lastresult object
>
>  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"; 
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/1999/XMLSchema";>
>   
> 0
> 999
> 99.94
>   
> 
>
> I tried every way i could think of to print these values in a datagrid 
> but couldnt do it.
> Could you tell me what is the SYNTAX to display these values 
> (0,999,99.94)in a DataGrid?
> Do i have to write a filter function?How..
>
> Thank you.
>
>



Re: [flexcoders] svn and flex not getting along

2007-02-15 Thread Paul J DeCoursey
Uncheck the "Coy non-embedded files to output directory" option in the 
Flex Compiler properties for the project. If you are storing everything 
in the output directory anyway it makes sense to turn that feature off.

Grant Davies wrote:
>
> Hi Scott,
> I have to include the bin folder since we have a lot of php in there, 
> I've stopped source controlling the html-template folder, but it 
> appears that flex is copying stuff from my project folder into the bin 
> folder still
> my project folder is
> _svn
> /com
> /.project
> /html-template
> /main.mxml
> etc..
> and flex appears to copy into my bin folder
> com
> so of course SVN gets confused since I have another com folder from my 
> dev folder copied into my bin folder with its _svn folder intact...
> so I need to completely remove the _svn folder from my root dev folder 
> so its not source controlled and flex won't mess with it ?
> Grant
>
> ...
> *› b l u e t u b e i n t e r a c t i v e.*
> .: grant davies
> .: 404.428.6839 (c)
> .: 708-983-1577 (F)
> › [EMAIL PROTECTED]
> › http://www.bluetube.com/bti 
> › A Tribal Chicken Designs Affiliate 
>
> 
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *slangeberg
> *Sent:* Tuesday, February 13, 2007 2:18 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] svn and flex not getting along
>
> You have html-template in version control? I don't include that or any 
> of the eclipse/flex files (.project, etc.) - and no problems, here. I 
> also don't include the /bin folder, until I create custom files, such 
> as index.html, js, css (html), etc...
>
> -Scott
>
> On 2/13/07, *Grant Davies* <[EMAIL PROTECTED] 
> > wrote:
>
> Sorry for the double post but I hijacked by accident..
> I figured out my issue is svn and flex based on this post :
> 
> http://chattyfig.figleaf.com/pipermail/flashcoders/2006-September/172588.html
> 
> 
> somehow a stale main.swf got into our html-template folder and
> then was copied into our bin folder and all hell breaks loose, has
> there been a fix yet for flex so it ignores svn folders when
> copyng ? a quick google search didn't reveal much..
> Cheers,
> Grant
>
> ...
> *› b l u e t u b e i n t e r a c t i v e.*
> .: grant davies
> .: 404.428.6839 (c)
> .: 708-983-1577 (F)
> › [EMAIL PROTECTED] 
> › http://www.bluetube.com/bti 
> › A Tribal Chicken Designs Affiliate 
>
>
>
>
> -- 



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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


[flexcoders] Re: (BRMA) Mensagem não autorizada

2007-02-14 Thread Paul J DeCoursey
Is anyone else getting these auto-responses?  it's really annoying.

[EMAIL PROTECTED] wrote:
> Mensagem não autorizada
> 
> Palavra (http) proibida no campo Subject
> 
> Para:  flexcoders@yahoogroups.com
> Assunto:  [flexcoders] Re: HttpService and Relative URLs
>   



Re: [flexcoders] Possible memory leak in e4x or in HttpService

2007-02-14 Thread Paul J DeCoursey

> On Wednesday 14 Feb 2007, lacito.domingo wrote:
>   
>> No answers yet. Could somebody confirm the leak? Or is it my fault?
>> 
I'm not sure what you mean by memory leak. But in your source you do 
keep a reference to the HttpService and that will keep the XML hanging 
around in memory for a while. That may be the issue. Also I looked at 
your xml files, and pbentries.xml is full of some bizarre characters. 
They display as Ő (which is not UTF-8 encoded by the way) in notepad on 
winXP and they crash jedit and firefox if I try to view the file. I am 
guessing they have something to do with the problem.


Re: [flexcoders] Re: Looking for a workaround for HTTPService limitations

2007-02-14 Thread Paul J DeCoursey
Tom Chiverton wrote:
> On Wednesday 14 Feb 2007, Paul J DeCoursey wrote:
>   
>> Indeed, and since we had heavy use of DELETE and PUT we had to make the
>> determination of what was easier and more cost effective.  We choose
>> SOAP because Flex has good SOAP support.  We avoided implementing DELETE
>> and PUT because we don't have any protocol developers on staff.  So
>> until Flex has out of the box support for all the HTTP verbs then it
>> does not support REST.
>> 
>
> I still think saying 'does not support REST' is slightly misleading, as it 
> supports what most people do with REST.
> In any case, I assume you've been to http://adobe.com/go/wish ?
>
>   
I can't comment on what others are doing, I can only comment on the fact 
that it does not out of the box support PUT and DELETE.  Those are the 
operations we needed and the original poster needed. It's silly to argue 
the semantics of this, if you think it's so easy to implement PUT and 
DELETE then be my guest.  Perhaps one day I will port Commons HTTPClient 
and it will solve our problems.


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] Re: Looking for a workaround for HTTPService limitations

2007-02-14 Thread Paul J DeCoursey
Tom Chiverton wrote:
> On Wednesday 14 Feb 2007, Paul DeCoursey wrote:
>   
>> a large number of REST based Services to support of clients and then
>> when we got to the Flex Client we found that it could not support
>> them. 
>> 
>
> Does REST not imply GET/POST ?
> In any case, as has been pointed out, Flex 2 certainly does support other 
> HTTP 
> verbs, you just need to write it out yourself via. Socket.
>
>   
Indeed, and since we had heavy use of DELETE and PUT we had to make the 
determination of what was easier and more cost effective.  We choose 
SOAP because Flex has good SOAP support.  We avoided implementing DELETE 
and PUT because we don't have any protocol developers on staff.  So 
until Flex has out of the box support for all the HTTP verbs then it 
does not support REST.


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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