[flexcoders] Error while creating new project: Cannot access the web server

2010-04-17 Thread Pablo Augusto
Hello,


I'm starting in flex development, i had downloaded Flex Builder 4, im
following the adobe first videos, but when i'll create a new project, the
error is displayed:

Cannot access the web server. The server may not be running, or the web root
folder or root URL may be invalid.

I cannot validate mu paths and url.

I'm using the configs:

WebROOT: D:\xampp\htdocs
RootURL: http://localhost/
Output Folder: D:\xampp\htdocs\MyApp1-debug

Any idea to solve this problem?


[flexcoders] Adobe Air HTML component and popups

2008-04-22 Thread Pablo Godel
I am trying to use the HTML component to load an external website into
an Adobe AIR app. It works fine, but if the website has a link or
button that opens a popup window, the window never opens.

Any idea if this is supported and how to solve the problem?

Thanks
Pablo



RE: [flexcoders] Re: Datagrid Renderer not showing updated ArrayCollection

2008-01-11 Thread pablo podas
did you try refreshing the array collection or datagrid ?

Alex Harui [EMAIL PROTECTED] wrote:  My rule is: don’t use 
Bindable unless you absolutely need it.  It adds overhead to your application.  
You’ll get warning if you try to bind to something that isn’t bindable and then 
you can decide how to deal with it.
  
  I use [Bindable] in prototypes, but I would use it more sparingly in real 
apps.  In the framework, we always use [Bindable(event=…)] so we have full 
control over all the code.  If you did that, then you have to write more code, 
but you can fully see what is running and opt-in to having change detection or 
not.
  
  
-
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
j_lentzz
Sent: Wednesday, January 02, 2008 11:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Datagrid Renderer not showing updated ArrayCollection

  
Thank You! That fixed it. Are there 'rules' to follow about when/if
things need to be bindable? I've been using the [Bindable] tag pretty
often. Should I not use it until it seems like something is not working?

Thanks again,

John
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 Try removing [Bindable] from the data setter. I don't see where you are
 using it, and it autogenerates change detection logic that may prevent
 your setter from running since the comparision is done by reference
 
 
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of j_lentzz
 Sent: Wednesday, January 02, 2008 10:44 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Datagrid Renderer not showing updated
 ArrayCollection
 
 
 
 Here is the code for the renderer. I extend Label and add a
 dataProvider to make it act like a combobox, so that I can specify an
 index to show. That way it doesn't look like a combobox when it
 renders. I'm not doing anything special to look for a change, just
 implementing what I thought was necessary.
 
 public class LabelWithDownArrow extends Label
 {
 
 private var _dataProvider:ArrayCollection = null;
 
 private var _prompt:String = null;
 private var defaultPrompt:String = Select Item...;
 private var _selectedIndex:int = -1;
 
 public function LabelWithDownArrow()
 {
 super();
 }
 
 public function set dataProvider(value:ArrayCollection):void {
 _dataProvider = value;
 }
 
 public function get dataProvider():ArrayCollection {
 return _dataProvider;
 }
 
 public function set selectedIndex(value:int):void {
 _selectedIndex = value;
 }
 
 public function get selectedIndex():int {
 return _selectedIndex;
 }
 
 public function set prompt(value:String):void {
 _prompt = value;
 }
 
 public function get prompt():String {
 return _prompt;
 }
 
 override protected function updateDisplayList(w:Number, h:Number):void {
 super.updateDisplayList(w-15, h); // subtract from width to allow
 for down arrow
 
 var g:Graphics = graphics;
 
 g.clear();
 
 // add arrow to box
 // Draw the triangle.
 g.beginFill(0x00); // black
 g.moveTo(w - 11.5, h / 2 + 3);
 g.lineTo(w - 15, h / 2 - 2);
 g.lineTo(w - 8, h / 2 - 2);
 g.lineTo(w - 11.5, h / 2 + 3);
 g.endFill();
 }
 
 // method used to change what is displayed
 [Bindable]
 override public function set data(value:Object):void {
 super.data = value;
 
 if (listData != null  dataProvider != null) { 
 
 // now iterate through dp to find a matching data value, when
 found put its label in the Label widget 
 var dpLen:int = dataProvider.length;
 for (var j:int=0; jdpLen; j++) {
 if (dataProvider.getItemAt(j).data ==
 data[DataGridListData(listData).dataField]) { // found match
 this.text = dataProvider.getItemAt(j).label; // +   +
 dp.getItemAt(j).data;
 trace('found LabelWithDownArrow');
 return;
 }
 }
 
 // not found, so show comboBox prompt
 if (prompt == null || prompt == -1 || selectedIndex == -1)
 this.text = defaultPrompt;
 else if (selectedIndex  dataProvider.length)
 this.text = dataProvider.getItemAt(selectedIndex).label;
 else
 this.text = ;
 
 trace('not found LabelWithDownArrow');
 }
 }
 
 }
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Alex Harui aharui@ wrote:
 
  What does the renderer look like? How will it detect changes to the
  underlying data?
  
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of j_lentzz
  Sent: Wednesday, January 02, 2008 7:21 AM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] Datagrid Renderer not showing updated
  ArrayCollection
  
  
  
  Hi,
  
  I've got a datagrid with a custom renderer. I'm not editing in the
  datagrid, but when a row is selected, I populate some TextInputs and
  ComboBoxes to let them edit the data. When they are done, I use
  itemUpdated on the datagrid 

[flexcoders] text line height

2007-02-26 Thread Pablo Samela
Hi, 

I want to know how can I set the line height to a text component. I tried to 
use the leading property, but It´s not the minimun necesary.

Thanks, 

Paul

[flexcoders] remove ToolTip

2007-02-16 Thread Pablo

Hi All.

package components
{
   import mx.core.IToolTip;
   import mx.managers.ToolTipManager;

   public class FastSearchPanel
   {
   private var parent:AdvancedTitleWindow;
   private var tooltip:IToolTip;

   public function FastSearchPanel(__parent:AdvancedTitleWindow)
   {
   parent=__parent;
   }

   public function showString(__string:String):void
   {
   if (tooltip==null)
   {
   open();
   }
   tooltip.text=__string
   }

   public function open():void
   {
   tooltip=ToolTipManager.createToolTip(,parent.x,parent.y);
   }

   public function close():void
   {
   if (tooltip!=null)
   {
   ToolTipManager.destroyToolTip(tooltip)
   }
   }
   }
}

when calling ToolTipManager.destroyToolTip(tooltip) builder display error:

ArgumentError: Error #2025: The supplied DisplayObject must be a child of
the caller.
   at flash.display::DisplayObjectContainer/getChildIndex()
   at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_getChildIndex
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\SystemManager.as:1659]
   at mx.managers::SystemChildrenList/removeChild
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\SystemChildrenList.as:130]
   at mx.managers::ToolTipManagerImpl/destroyToolTip
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\ToolTipManagerImpl.as:1137]
   at mx.managers::ToolTipManager$/destroyToolTip
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\ToolTipManager.as:341]
   at cad.components::FastSearchPanel/close
()[D:\_Projects\WebApps\CAD\application\cad\components\FastSearchPanel.as:34]
   at cad.view::InquireForm/view:InquireForm::onLostFocus
()[D:\_Projects\WebApps\application\view\InquireForm.mxml:103]

What wrong?


Re: [flexcoders] Right click on Tree's item

2007-02-15 Thread Pablo

Thanks a lot Michael Imhoff !


[flexcoders] Panel skinning

2007-02-15 Thread Pablo

Hi All.
I skin the Panel. Panel has some controls. When all controls displaying in
Panel that skin displaying too. But if I will resize the Panel, content area
with controls will have scrollbars and content area skin will overlapped by
white colored background. How I can remove this white background or skin it
too?


Re: [flexcoders] Re:Panel skinning

2007-02-15 Thread Pablo

I found solution by myself:


Panel
{
  backgroundAlpha:0;
}


:)


Re: [flexcoders] disable Bind

2007-02-14 Thread Pablo

thanx


[flexcoders] Right click on Tree's item

2007-02-14 Thread Pablo

I have the Tree and ContextMenu associated with it. When I select menu item
from context menu I cant get Tree's item was right-clicked. How I can get
this Tree's item?

   import mx.controls.listClasses.*;

   private function createContextMenu():void
   {
   m = new ContextMenu();
   m.hideBuiltInItems();
   var customItemsArr:Array = new Array();
   var buy:ContextMenuItem = new ContextMenuItem(Detailed);
   buy.addEventListener(menuItemSelect, buyHandler);
   customItemsArr.push(buy);
   m.customItems = customItemsArr;
   callTree.contextMenu=m;
   }

   private function buyHandler(e:ContextMenuEvent):void
   {
   trace(e.mouseTarget);
   trace(ListBaseContentHolder(e.mouseTarget).owner);
   trace(ListBaseContentHolder(e.mouseTarget).name);
   trace(ListBaseContentHolder(e.mouseTarget).instanceIndex);
   }

in traces my trying to catch the Tree's item...


Re: [flexcoders] Populating DataGrid from XML attributes

2007-02-14 Thread Pablo

The XML:
root
   item
   name value=Pete type=1 /
   city value=NY type=2 /
   phone value=33-22-555 type=1 /
   count value=10 type=1 /
   /item
   item
   name value=Pete2 type=2 /
   city value=NY type=1 /
   phone value=33-22-555 type=1 /
   count value=10 type=3 /
   /item
   item
   name value=Pete3 type=1 /
   city value=NY type=1 /
   phone value=33-22-555 type=1 /
   count value=10 type=1 /
   /item
/root


The CODE:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
   creationComplete=init();dgRPC.send()
   mx:Script
   ![CDATA[
   import components.CellColorer;
   import vo.DGCellContainer;
   import mx.collections.ArrayCollection;
   import mx.rpc.events.ResultEvent;

   [Bindable]
   private var dgData:ArrayCollection=new ArrayCollection();

   private var aColors:Array=new
Array('','0xff','0x00ff00','0xff');

   private function init():void
   {

   var nameCellColorer:ClassFactory=new
ClassFactory(CellColorer);
   nameCellColorer.properties={bShowName:true};
   colName.itemRenderer=nameCellColorer;

   var cityCellColorer:ClassFactory=new
ClassFactory(CellColorer);
   cityCellColorer.properties={bShowCity:true};
   colCity.itemRenderer=cityCellColorer;

   }

   private function onDataGridResult(event:ResultEvent):void
   {
   var dgc:DGCellContainer;
   trace(!)
   for each(var p:XML in event.result..item)
   {
   dgc=new DGCellContainer();
   [EMAIL PROTECTED];
   dgc.nameColor=aColors[Number([EMAIL PROTECTED])];
   [EMAIL PROTECTED];
   dgc.cityColor=aColors[Number([EMAIL PROTECTED])];
   [EMAIL PROTECTED];
   dgc.phoneColor=aColors[Number([EMAIL PROTECTED])];
   [EMAIL PROTECTED];
   dgc.countColor=aColors[Number([EMAIL PROTECTED])];
   dgData.addItem(dgc);
   }
   }
   ]]
   /mx:Script

   mx:HTTPService url=stub/ColoredDataGrid.xml id=dgRPC
result=onDataGridResult(event) resultFormat=e4x/
   mx:DataGrid x=0 y=0 width=378 height=192
dataProvider={dgData} headerColors={[0xff]}
   mx:columns
   mx:DataGridColumn id=colName headerText=Name
dataField=name/
   mx:DataGridColumn id=colCity headerText=City
dataField=city/
   mx:DataGridColumn headerText=Phone dataField=phone/
   mx:DataGridColumn headerText=Count dataField=count/
   /mx:columns
   /mx:DataGrid
/mx:Application


[flexcoders] disable Bind

2007-02-13 Thread Pablo

Hi All.
I have one MXML component MainLoginForm fields receives data through bind.
Also I have another MXML component LocalLoginForm that child of previous
one:

MainLoginForm
^
|
LocalLoginForm

And I want that in LocalLoginForm similar fileds (inherited from
MainLoginForm) dont receive data over bind. How I can realized that?


[flexcoders] CheckBox background color

2007-02-12 Thread Pablo

Hi All.

How I can change CheckBox background color and Label background color?


[flexcoders] Flex plus GoogleMap integration

2007-01-24 Thread Pablo

Hi All. Is there some API for integration GoogleMap and Flex2?


Re: [flexcoders] Flex plus GoogleMap integration

2007-01-24 Thread Pablo

Thanks but I know that - Yahoo has limitation on amount of connected users
:(

On 1/24/07, Merrill, Jason [EMAIL PROTECTED] wrote:


   Try the Yahoo! Maps API - it's made with Flex.  API documentation here:

http://developer.yahoo.com/maps/flash/flexGettingStarted.html


Jason Merrill
Bank of America
Learning  Organizational Effectiveness







 --
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Pablo
*Sent:* Wednesday, January 24, 2007 6:07 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Flex plus GoogleMap integration

 Hi All. Is there some API for integration GoogleMap and Flex2?

 



Re: [flexcoders] Flex plus GoogleMap integration

2007-01-24 Thread Pablo

http://developer.yahoo.com/maps/flash/index.html


Re: [flexcoders] HDivideBox

2007-01-19 Thread Pablo

Thanks a lot - very good! I guess I'll research it today.


[flexcoders] I want to know some statistics of flexcoders :)

2007-01-19 Thread Pablo

Hello All.
It maybe like flood but very interesting the next:

- what term are you programmed on flex?
- Do you know some high-level program language like C#, Java etc before
start to study and code on Flex?
- Do you know some code patterns and using it before start to study and code
on Flex?

The reason of questions above very simple. I'm just Flash programmer and now
I pressing by huge amount of Flex information ( classes, architecture etc).
Very interesting how you fight with Flex.


Re: [flexcoders] HDivideBox

2007-01-18 Thread Pablo

Probably nobody occures this task :( among you and me. I guess that need to
write fully custom layout for this.

On 1/15/07, Lieven Cardoen [EMAIL PROTECTED] wrote:


   Hi guys,



Is there a way to have a HdivideBox, but where the right part can be
opened and closed. I need a property kind of thing on the right which the
user can open and close + resize so that properties width gets
bigger/smaller.



Thx, Lieven Cardoen



*Lieven Cardoen
**Application developer
**
**indie**group**
**interactive digital experience**
**engelse wandeling 2 k18
b8500 kortrijk ***





 



Re: [flexcoders] Re: Minimized Panel

2007-01-15 Thread Pablo

Well. I have instance of Panel with some minimized button. Then I click on
this button executes script this.height=30 (where this is a Panel's
instance). But this Panel instance placed with other Panel instance in
VDividedBox and when I drag divider minimized Panel's instance became
unminimized. I  e its this.height increased automaticaly. So how I can
avoid this?


[flexcoders] Extending Darron Schall's FlashPaperLoader

2007-01-08 Thread Pablo Apanasionek
Has anyone extended Darron's FlashPaperLoader
(http://www.darronschall.com/weblog/archives/000249.cfm) to include the
complete list of IFlashPaper available methods (especially the
'showUIElement' one)?
 
If not, how can I compile the attached .fla/.as in the 'flash' folder in
the available source code?
 
Thanks in advance,
Pablo Gustavo Apanasionek


[flexcoders] Advertising inside Flex Apps

2006-12-20 Thread Pablo Apanasionek
Any thoughts on embedding advertising e.g. Google Ads into a Flex SWF?
 
Pablo Gustavo Apanasionek


[flexcoders] Creating a PopUp in a PopUp

2006-12-14 Thread Pablo Apanasionek
While refactoring a flex app to convert it in a flex component that can
be instanced as a pop-up (using PopUpManager) in other apps/screens, I
ran into the following question:
 
How can I launch a PopUp on top of the parent PopUp?
 
Every parent parameter I tested keeps opening the new PopUp below the
first one.
 
Thanks in advance,
Pablo Gustavo Apanasionek


[flexcoders] Nearly-Off-Topic: Flex Apps on PDAs?

2006-12-13 Thread Pablo Apanasionek
Last night I was planning my incoming self xmas gift and I found
myself wondering about PDA support for Flex-Built Apps. Is there any
PDA-browser/plugin that supports FP9/AS3?
 
Pablo Gustavo Apanasionek


[flexcoders] Re: memory issues / garbage collection?

2006-12-11 Thread Pablo Rangel
Hello I'm dealing with memory issues myself. For a more in depth
description of how resources are managed and even hacks to force
garbage collection the venerable Grant Skinner did a 3 part series
complete with interactive demos. Can't ask for much more than that!

http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html


Good luck and if anyone is interested I'm going to start on a
component that views the System.totalMemory on a timer. Sort of a mini
task manager. I'll post it on RIAForge or onflex.org when it's of any
use. 

- paul 


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

 Thanks for the information, but it would be handy if there was some sort
 of in depth tutorial on this.  I've seen a couple of macromedia
 presentations on various flex topics and found them useful, and one of
 them mentioned in passing memory issues (but only for about 30 seconds).
 If there was one that was specifically on memory issues, weak bindings
 etc then that would be great.  If such a presentation doesn't exist then
 I'd recommend to macromedia that they create one.  It's all very well
 creating nice flashy web apps, but if they end up slowing down the host
 machine after a few minutes of use due to sloppy weak code then that's
 no use.  
 
 There does seem to be a lack of in-depth books/information at the
 moment.  I've had a look at Flex 2 training from the source and it's a
 bit fluffy and lacking any depth.  Good book in that it covers the
 basics but that's all it does.
 
  
 
 So although the updated photoviewer code will probably solve my issue
 when I get to compare my code with the new code, I'd like to be able to
 solve it myself by learning more about weak references and debugging the
 app so that I can find the memory leak myself.  
 
  
 
 Cheers Kenneth.
 
  
 
  
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Matt Chotin
 Sent: 08 December 2006 05:33
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] memory issues / garbage collection?
 
  
 
 Actually I forgot, there was a memory leak still found due to an event
 listener.  We've fixed it in the 2.0.1 version of the sample (I didn't
 do it, the bug note said we made an event listener weak to address it).
 So it was my fault :-)
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Matt Chotin
 Sent: Thursday, December 07, 2006 9:23 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] memory issues / garbage collection?
 
  
 
 When we wrote the PhotoViewer there were some memory leaks but I thought
 we got them all.  If you keep an eye on the task manager it should go
 back down after a minute or two.  Of course if by playing with the app
 you mean you edited it, I absolve myself of responsibility, even if all
 you did was change a color ;-)
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Kelly
 Sent: Thursday, December 07, 2006 12:20 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] memory issues / garbage collection?
 
  
 
 I was having this problem when I built the map component for
 www.pikeo.com http://www.pikeo.com/ 
 
 You have to make sure that all references to an object are gone before
 it will get garbage collected.
 
 Once all references to the object are gone it will get collected within
 5 seconds usually.
 
 --Kelly
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Kenneth Sutherland
 Sent: Thursday, December 07, 2006 1:18 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] memory issues / garbage collection?
 
  
 
 I've been playing around with the photoviewer example (from the adobe
 site) quite a bit in my spare time and I've noticed that when I open up
 the taskmanager and I run the application that the memory consumption
 just keeps on going up!  Each time I look at another photo, up it goes.
 
 So I'm looking for any hints, tips, tutorials or books that will help to
 get flex to garbage collect all of the old memory that the app no longer
 needs.
 
  
 
 Thanks.





[flexcoders] Re: Best practices for displaying large texts [SOLVED]

2006-12-05 Thread Pablo Apanasionek
Gordon,

thanks a lot! It fits perfectly to my requirement.

-Pablo Apanasionek

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

  I don't know of a way to do justified text in Flex



 textAlign=justify works on mx:Text and mx:TextArea, although it
 isn't mentioned in the ASDoc for the textAlign style or in
FlexBuilder's
 codehints for this style.



 See the flash.text.TextFormatAlign class in the ASDoc.



 - Gordon



 

 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Lachlan Cotter
 Sent: Friday, December 01, 2006 9:27 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Best practices for displaying large texts



 Hi Pablo,



 I'm not sure this is the best answer to your question but as far as I
 know the Text component is the right choice for displaying multi-line,
 non-editable text. If you want your users to be able to edit the text,
 you can use a TextArea instead.



 I'm don't know of a way to do justified text in Flex. Sorry.



 Lach



 On 30/11/2006, at 12:15 AM, Pablo Apanasionek wrote:





 Hey,



 I'm trying to figure out the best (or at least optimal) way to display
a
 large text (e.g. a news article) with several paragraphs using Flex 2.
 Would a Text control be the right one to use? Or is there another
 technique that would render better? Is there any way to justify text
on
 -both- sides?



 Thanks in advance,

 Pablo Gustavo Apanasionek





[flexcoders] Best practices for displaying large texts

2006-11-29 Thread Pablo Apanasionek
Hey,
 
I'm trying to figure out the best (or at least optimal) way to display a
large text (e.g. a news article) with several paragraphs using Flex 2.
Would a Text control be the right one to use? Or is there another
technique that would render better? Is there any way to justify text on
-both- sides?
 
Thanks in advance,
Pablo Gustavo Apanasionek


[flexcoders] Managing server-side exceptions when not using flex proxy

2006-11-28 Thread Pablo Apanasionek
Any C#/.NET user,
 
any advice on catching and showing user-friendly messages when a
FaultEvent rises on a Webservice call, being those coded in C#? The only
message i get is Unable to connect to endpoint ...
 
Thanks in advance!
Pablo Gustavo Apanasionek


[flexcoders] Webservices fault message when not using proxy

2006-11-28 Thread Pablo Apanasionek
I've checked the livedocs regarding fault events on WebService calls,
but I haven't found anything regarding this:
 
When not using the proxy (useProxy=false), the fault message raised by
the server seem to be choked by a black hole while returning to the SWF
file, making it impossible to show a friendly message to the user if an
exception (whether system or business) comes up in the middle. I've
debugged the request/response and the error is coming back correctly,
but the SWF seems to dismiss it.
 
This doesn't happen when using the proxy. 
 
Did I miss any docs or something?
 
TIA,
-Pablo Gustavo Apanasionek


[flexcoders] Webservices fault message when not using proxy

2006-11-28 Thread Pablo Apanasionek
I've checked the livedocs regarding fault events on WebService calls,
but I haven't found anything regarding this:
 
When not using the proxy (useProxy=false), the fault message raised by
the server seem to be choked by a black hole while returning to the SWF
file, making it impossible to show a friendly message to the user if an
exception (whether system or business) comes up in the middle. I've
debugged the request/response and the error is coming back correctly,
but the SWF seems to dismiss it.
 
This doesn't happen when using the proxy. 
 
Did I miss any docs or something?
 
TIA,
-Pablo Gustavo Apanasionek


[flexcoders] Sorting Functionality in FlexStore 2

2006-10-05 Thread Pablo Apanasionek





Hey,

i've been looking 
at the source code for the FlexStore 2 DemoApp at adobe.com and getting some 
item-managing strategies for a project that has almost the same scenario. One of 
the differences i've found, is that we need to sort the data in different ways 
(with different sortFunctions, e.g. price, stock, delivery time, etc). How could 
the sorting be done at FlexStore 2, without necessarily sorting the array of 
data and redrawing the childs at the Canvas?

Any ideas or tips 
will be appreciated!

Thanks in 
advance,
-Pablo Gustavo 
Apanasionek
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Reducing compiled SWF file size without RSL

2006-10-04 Thread Pablo Apanasionek





Hey 
all!

Just wondering how 
can i reduce the pre-compiled SWF file size of a very simple app = (Application 
+ HBox + Loader + Label + HTTPService + some AS).

With -optimize 
flag, mxmlc returns a 147KB file, which, for the components included and the 
future use of the app (a ticker embedded in HTML) is unacceptable. As it's the 
only SWF i'm coding,using RSL is worthless. (isn't 
it?)

Any tips on 
reducing the file size? I'm using Flex 1.5. Does Flex 2 compile smaller 
SWFs?

Thanks in 
advance!
--Pablo Gustavo 
Apanasionek
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5

2006-09-07 Thread Pablo Apanasionek





Franck,

one word made it: 
"crossdomain.xml"!

I knew I was 
missing the obvious here! As I always used Webservices of my own server, the 
crossdomain.xml definition had never been a problem.

It worked 
perfectly, thanks for everything and for your patience too!

-Pablo Gustavo 
Apanasionek
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5

2006-09-06 Thread Pablo Apanasionek





Franck,

I'm running Flex 
1.5, so I can't run the example you posted. 

If the WSDL 
downloaded correctly, I should assume the problem is on my Flex-running machine. 
(I tried running it from FB and from compiled-SWF too.)

Did you download the WSDL separately and put it in the same 
Flex-running server? 

Thanks,
-Pablo Gustavo 
Apanasionek
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5

2006-09-06 Thread Pablo Apanasionek





Franck,

did you try 
downloading it from the original URL inside Flex?

Thanks,
-Pablo Gustavo Apanasionek
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Could not load WSDL of .NET WebService in Flex 1.5

2006-09-05 Thread Pablo Apanasionek





Hey 
folks!

I've searched for 
it in the archive and in Adobe, found some examples, but it seems to be 
something hidden on this one.

I've created a 
sample web service with ASP.NET, published it and browsing it normally. Its 
name: Service1.asmx (very samplistic name)

I've coded 
the WebService tag in Flex, using wsdl=http://localhost/FlexServices/Service1.asmx?WSDL" (as found on Adobe example http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19327). 


However, the 
example seems to work, while my WSDL throws Could Not Load WSDL error message 
(without flex-proxy).Using the proxy, it results in "Connection 
refused".

I've tested my 
WSDL with Online wsdl Validatorand works. 
Any hint/step I could have missed on this?

TIA,
-Pablo Gustavo 
Apanasionek
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Re: Could not load WSDL of .NET WebService in Flex 1.5

2006-09-05 Thread Pablo Apanasionek





Franck,

thanks for your 
reply. I've tested so far putting my WSDL on another server (IIS) and putting 
the absolute URL on the WebService tag, not without enabling that URL in my 
flex-config.xml web-service-whitelist. This has produced the same result (Could 
Not Load WSDL).

The URL to the 
WSDL is http://www.dreamovate.com.ar/Service1.asmx?WSDL

I've come to two 
hypothetical scenarios: 

a) my WSDL is 
malformed or incompatible with Flex.
b) the 
configuration of my Flex Server is not allowing the connection. (Though it does 
to the Adobe Example wsdl @ webservicesx.com)

TIA,
-Pablo Gustavo Apanasionek
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Flex 1.5 :: Custom Preloader and RSLs

2006-08-08 Thread Pablo Apanasionek





I'm having the 
current situation regarding compilation of MXML to SWF, using RSL and a custom 
preloader (Flex 1.5):

SWF stand-alone: 
246KB
SWF with RSL: 
103KB
SWF with 
preloader: 243KB (this doesn't make any sense, less than 
stand-alone?)
SWF with RSL + 
preloader: 243KB (???)

Is this by design? 
Addinga custom preloader disables RSL? Or has the preloader to be 
configured specially? I based myself on this post: http://weblogs.macromedia.com/eanderson/archives/2004/12/preloader_in_fl.cfmto 
code the preloader and applied it on the Application Tag.

Thanks in 
advance,
Pablo Gustavo 
Apanasionek
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] [Flex 1.5] Question about RSL and Custom Components

2006-07-06 Thread Pablo Apanasionek





Hey 
folks,

I happen to have 
something in hands that has me a bit disoriented:

1) MXML file 
(let's call it A) using RSL file and some normal mx. components plus some custom 
components (done exclusively with other mx. components)
2) RSL file has 
the mx. components and the custom ones (this I've already proven to be 
unimportant, but just telling you)
3) When A loads, 
it first calls some initialization methods, some data services, then call 
internationalization method which sets labels according to user language (this 
is done in another control using XML file, on initialize event, to avoid the 
small time showing no labels)

Thing is: after A 
being loaded, all components (label, button, combo, etc) shows its label/text in 
the correct way, except a custom component (.as) containing nothing but an 
extension of mx.containers.FormItem and a label. This remains "unlabeled". The 
other custom components (.mxml) are labeled correctly too.

Mystery shows up 
when I remove the "rsl" tag of A, then all controls (mx./.as/.mxml) are labeled 
correctly.

Any 
clue?

Thanks in 
advance!

--Pablo Gustavo 
Apanasionek
__._,_.___





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] HTTP Service, XML response and latin characters

2006-06-12 Thread Pablo Apanasionek





How should I set the HTTP Service tag/XML fileto avoid the 
replacing of any of this chars [ á, é, í, ó, ú, ñ ] for a [ □ - white square] 
when I'm returning an XML as a result of an HTTP request?

Thanks in 
advance!
--
Pablo Gustavo Apanasionek
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] HTTP Service, XML response and latin characters

2006-06-12 Thread Pablo Apanasionek





How should I set 
the HTTP Service tag/XML fileto avoid the replacing of any of this chars [ 
á, é, í, ó, ú, ñ ] for a [ □ - white square] when I'm returning an XML as a 
result of an HTTP request?

Thanks in 
advance!
--
Pablo Gustavo Apanasionek
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Flex 1.5 :: Webservices and Custom Components

2006-06-09 Thread Pablo Apanasionek





I am somehow doing 
some refactoring on my app and, instead of having multiple mxml, i'm changing to 
one mxml that loads multiple mxml in popups, getting some sort of 
window-manager.

Every mxml had its 
own webservices tag and worked perfectly. In the new scenario I left 
itthat way.

Now, when i 
instantiate a mxml using a popup, i get a "Could not load WSDL" error message. 
This happens when I precompile them into swf (using the correct proxy parameters 
and so on). Browsing them as mxml works fine.

Any 
help?

Thanks in 
advance!
--
Pablo Gustavo 
Apanasionek
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] F2B3 -- global keyboard event capture, problems with focus

2006-06-05 Thread Pablo Apanasionek





Matt/Anyone,

is there a way to do this at an mx:Application tag level, so that the 
same handler is used across all files? I'm looking for this sort of solution for 
Flex 1.5.

Thanks!
---
Pablo Apanasionek


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] En nombre de Matt HornEnviado 
el: Lunes, 05 de Junio de 2006 17:35Para: 
flexcoders@yahoogroups.comAsunto: RE: [flexcoders] F2B3 -- global 
keyboard event capture, problems with focus


IIRC, the docs have 
been updated for this. Have you tried adding the listener to all keydown events 
on the stage? Like this:

stage.addEventListener(KeyboardEvent.KEY_DOWN, 
myHandler)

BTW, you can always set 
focus programmatically using the UIComponents setFocus() 
method.

hth,

matt 
horn
flex 
docs





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Tom BraySent: Monday, June 05, 2006 3:06 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] F2B3 -- global 
keyboard event capture, problems with focus

I'm trying to capture global keyboard 
events so I can implement keyboard shortcuts in my app. Let's say it's an 
email app and as soon as it loads you want to press CTRL+M to show a "New 
Message" popup. The docs on handling keyboard events make it sound like 
this is possible, but the sample code provided doesn't work unless you set focus 
by clicking on a button (or list item, or textInput, etc) in your app 
first. Clicking a Canvas isn't enough. Is there a good way to handle 
these events without making the user click on something first? Can a 
Canvas have focus? Can I programatically assign focus? What I'm 
finding is that even after following these steps...1. click on something 
to set focus2. use the keyboard shortcut to display a popup3. click a 
button in that popup to dismiss it...focus is now lost and I can't use 
CTRL+M to open a new popup unless I click on something else. That defeats 
the purpose of keyboard shortcuts so I'm hoping there's a better way. 
Thanks,Tom





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex 1.5 :: Changing Alert Title BackgroundColor

2006-06-01 Thread Pablo Apanasionek





I hate to post 
these kind of things, because they seem obvious, but I guess not obvious enough 
for it to work, at least for me. =)

How can I change the 
background color on the Alert PopUp with the titleStyleDeclaration property? I 
tried any of the background/header styles but got no 
results.

Is there any 
efficient way fo changing the default style of the Alert (besides extending the 
class) ?

Thanks in 
advance!
--
Pablo Gustavo 
Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Re: Flex 1.5 :: Changing Alert Title BackgroundColor

2006-06-01 Thread Pablo Apanasionek



Doug,

Thanks again! I did not know you could set style to the Alert tag!


-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Doug Lowder
Enviado el: Jueves, 01 de Junio de 2006 15:59
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re: Flex 1.5 :: Changing Alert Title
BackgroundColor

The efficient way is to do it in css:

 Alert {
 header-colors:#FF, #FF;
 background-color:#33;
 color:#FF;
 }

You can change the styles at runtime too, but that can be extremely 
inefficient.

 import mx.styles.StyleManager;

 StyleManager.styles.Alert.setStyle(headerColors, 
 [0xFF, 0xFF]);
 StyleManager.styles.Alert.setStyle(backgroundColor, 
 0x33);
 StyleManager.styles.Alert.setStyle(color, 
 0xFF);


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

 I hate to post these kind of things, because they seem obvious, but I
 guess not obvious enough for it to work, at least for me. =)
 
 How can I change the background color on the Alert PopUp with the
 titleStyleDeclaration property? I tried any of the background/header
 styles but got no results.
 
 Is there any efficient way fo changing the default style of the Alert
 (besides extending the class) ?
 
 Thanks in advance!
 --
 Pablo Gustavo Apanasionek








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



 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] Flex 1.5 :: Disabling multiple validators of a Model

2006-05-31 Thread Pablo Apanasionek





Fellows 
Coders,

how can I 
enable/disable a set of validators of a Model without doing it individually for 
each of one? 

E.g.

mx:Model 
id="ModelTest"
oneProp{oneText.text}/oneProp
twoProp{twoText.text}/twoProp
/mx:Model

mx:StringValidator field="ModelTest.oneProp" required="true" 
/mx:StringValidator field="ModelTest.twoProp" required="true" 
/

In some 
function:

mx.validators.Validator.enable(this, 
'ModelTest.oneProp');
mx.validators.Validator.enable(this, 
'ModelTest.twoProp');
...
validate/clear fields
...

mx.validators.Validator.disable(this, 
'ModelTest.oneProp');
mx.validators.Validator.disable(this, 
'ModelTest.twoProp');

Question is: is there any way to replace this 
enabling/disabling with another more efficient/scalable 
way?

Thanks in 
advance!
--
Pablo Gustavo 
Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex 1.5 :: Disabling multiple validators of a Model

2006-05-31 Thread Pablo Apanasionek



Tom,

Using enabled property on StringValidator results in:

ERROR : Unknown attribute 'enabled' on mx.validators.StringValidator 

Remember it's Flex 1.5, not Flex 2.0. 

--
Pablo Apanasionek

-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Tom Chiverton
Enviado el: Miércoles, 31 de Mayo de 2006 12:36
Para: flexcoders@yahoogroups.com
Asunto: Re: [flexcoders] Flex 1.5 :: Disabling multiple validators of a Model

Can you do

mx:StringValidator field=ModelTest.oneProp required=true 
enabled={modelLocator.doVal}/
mx:StringValidator field=ModelTest.twoProp required=true 
enabled={modelLocator.doVal} /

and then just set modelLocator.doVal to true/false in your actionscript ?
-- 
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 St James's Court Brown Street Manchester M2 2JF. 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 Law Society.

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

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards




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



 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] [solved] Flex 1.5 :: Disabling multiple validators of a Model

2006-05-31 Thread Pablo Apanasionek



Doug,

This worked perfectly (with some adaptation). Thanks a lot! 

--
Pablo Apanasionek

-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Doug Lowder
Enviado el: Miércoles, 31 de Mayo de 2006 13:47
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re: Flex 1.5 :: Disabling multiple validators of a Model

The following made validator ebnabling/diabling a bit easier to deal 
with for me:

// Reset the validation model.
for (var tagname in myValidationModelId) {
 var vObjName: String = myValidationModelId. + tagname;
 Validator.disable(this, vObjName);
 Validator.enable(this, vObjName);
}


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

 Fellows Coders,
 
 how can I enable/disable a set of validators of a Model without 
doing it
 individually for each of one? 
 
 E.g.
 
 mx:Model id=ModelTest
 oneProp{oneText.text}/oneProp
 twoProp{twoText.text}/twoProp
 /mx:Model
 
 mx:StringValidator field=ModelTest.oneProp required=true /
 mx:StringValidator field=ModelTest.twoProp required=true /
 
 In some function:
 
 mx.validators.Validator.enable(this, 'ModelTest.oneProp');
 mx.validators.Validator.enable(this, 'ModelTest.twoProp');
 ...
 validate/clear fields
 ...
 mx.validators.Validator.disable(this, 'ModelTest.oneProp');
 mx.validators.Validator.disable(this, 'ModelTest.twoProp');
 
 Question is: is there any way to replace this enabling/disabling 
with
 another more efficient/scalable way?
 
 Thanks in advance!
 --
 Pablo Gustavo Apanasionek









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



 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] [repost] Flex 1.5 :: Slider with two thumbs and selectable range

2006-05-29 Thread Pablo Apanasionek





[Sorry guysfor reposting this, I just want to 
be sure before removing the controls out of my 
App]


I have a HSlider in 
Flex 1.5, which i configured like this to represent a day-count 
range:

mx:HSlider 
id="hslRange" liveDragging="true" minimum="0" maximum="360" 
snapInterval="1"thumbCount="2" 
tickInterval="20" 
labels="[0,60,120,180,240,300,360]"toolTipPrecision="0" 
width="100%" value="0" height="30" /
Now, the slider is 
shown at full width, but the minimum selectable range between the two thumbs is 
2. (e.g. 60-62, 68-70).

If the 
slideris displayed at less width (80% or so), the minimum range raises to 
3 or 5. It's clearly an impossibility to show both thumbsput so close, but 
should it be this way?

Thanks in 
advance.
--
Pablo Gustavo Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex 1.5 :: Authenticating to j_security_check

2006-05-15 Thread Pablo Apanasionek





I'm changing my Flex 
App to authenticate against JBoss security, managed, as far as I know, by the 
j_security_check form.

I wrote an HTTP 
service to post the parameters against this URL, as I've seen on some blogs, but 
I keep getting the "Could not retrieve data." fault message.

mx:HTTPService id="loginService" url=""http://localhost:8080/flexapp/j_security_check">http://localhost:8080/flexapp/j_security_check" 
useProxy="false"showBusyCursor="true" 
fault="faultHandle(event.fault);" result="resultHandle(event.result);" 
contentType="application/x-www-form-urlencoded" 
method="POST"mx:requestj_username{txtUserName.text}/j_usernamej_password{txtPassword.text}/j_password/mx:request/mx:HTTPService

Is this the right 
way to do this? How should the security-constraint in web.xml be set to get this 
working? If someone had a working example, I'd be more than glad to see 
it.

Thanks in 
advance!
--
Pablo Gustavo 
Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex 1.5 : International Characters in XML file loaded in Model

2006-05-10 Thread Pablo Apanasionek





I was reading a note 
of Matt (Chotin) on internationalizing validators and I built my own XML file 
for the error messages, which happen to be in Spanish.

So far so good, the 
validator works fine with the custom message, but when it has some 
spanish-specific char (áéíóúñ), I get abox instead of the char on the 
error message shown on screen. 

Is there any format 
I'm missing, either on the custom validator, the MXML and/or the 
XML?

Thanks in 
advance!
--
Pablo Gustavo 
Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex 1.5 :: List of Custom Components?

2006-04-07 Thread Pablo Apanasionek





Thanks for your answer Matt!

In fact, I already solved it by using the cellRenderer of the DataGrid as 
you mention. I just didn't know where to start. And I didn't know you could use 
a MXML as a cellrenderer (always thought it was limited to AS). I discovered 
this at the Flex 2 docs, which I usually don't read since many things have 
changed from 1.5 to 2.

Thanks again!
Pablo Apanasionek


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] En nombre de Matt 
ChotinEnviado el: Viernes, 07 de Abril de 2006 02:03Para: 
flexcoders@yahoogroups.comAsunto: RE: [flexcoders] Flex 1.5 :: List 
of Custom Components?


Does the cellRenderer 
property of List not do enough for you? If it doesnt youll probably need 
to start from scratch, I dont know if weve documented enough in 1.5 for you to 
get a subclass of List working where you change the children 
type.

Matt





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Pablo 
ApanasionekSent: Thursday, 
April 06, 2006 6:03 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex 1.5 :: List of 
Custom Components?


Hey!



Let's set the scenario: I want to 
create a list of custom components (MXML) thatI can set as a tag in any 
MXML file. Should I create a custom list component that inherits from a default 
one? In this case, which one? Or can I use any List component? Should I set some 
property on the custom item component to accomplish my goal?



I would like the container to have 
the usual List behaviour (scroll, mouseOver and selected, plus drag-and-drop 
capability).



Thanks in 
advance!

Pablo Gustavo 
Apanasionek






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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex 1.5 :: List of Custom Components?

2006-04-06 Thread Pablo Apanasionek





Hey!

Let's set the 
scenario: I want to create a list of custom components (MXML) thatI can 
set as a tag in any MXML file. Should I create a custom list component that 
inherits from a default one? In this case, which one? Or can I use any List 
component? Should I set some property on the custom item component to accomplish 
my goal?

I would like the 
container to have the usual List behaviour (scroll, mouseOver and selected, plus 
drag-and-drop capability).

Thanks in 
advance!
Pablo Gustavo 
Apanasionek





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex 1.5 :: Webservice Fault and useProxy setting

2006-03-27 Thread Pablo Apanasionek





Hi 
all.

I'm having some 
trouble getting the fault detail from a Webservice call, using Flex 1.5, 
Axis-compiled service and the useProxy=false setting. With the proxy setting 
"on", the exception raises in the fault event and the detail of it can be found 
on the faultstring property. While "off", it only shows "unable to connect to 
endpoint http://. etc." .

Any clue on this 
one? How could I get the exception using useProxy=false?

Thanks in 
advance!
-Pablo Gustavo 
Apanasionek





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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Fault handling in webservices without a proxy

2006-03-23 Thread Pablo Apanasionek






I've found this page 
on Adobe Forums that describes the 'fault' object that fires up on a faulty 
webservice call. I was particularly interested in the fault.detail and 
fault.type properties to use them in Flex 1.5. However, they seem to be 
undefined when the useProxy='false' setting is used. The fault.faultcode is 
always set to 'Server.Connection'.

Is this correct? Is 
there a workaround?

Thanks in 
advance,
Pablo Gustavo 
Apanasionek






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] problem with the newsgroup search?

2006-03-22 Thread Pablo Apanasionek
Libby,

I'm getting the error too:

ht://Dig error
htsearch detected an error. Please report this to the webmaster of this site. 
The error message is:

Unable to read word database file
Did you run htmerge?


Hope they fix it soon.
-Pablo Gustavo Apanasionek

-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Libby
Enviado el: Miércoles, 22 de Marzo de 2006 14:43
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] problem with the newsgroup search?

would someone go to this link and do a search and see if u also get an
error like me? (I thought maybe a firewall problem or something).

http://www.mail-archive.com/flexcoders@yahoogroups.com/

Thanks,
Libby






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



 








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

* 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] Custom Container with internal children

2006-03-21 Thread Pablo Apanasionek





I was wondering how 
I can code in Flex 1.5 a FormItem-like component (container) that would allow me 
to put the label on top of the field. I'd pass the input field from the parent 
MXML.

Something like 
this:

my:_formitem 
xmlns:my="*" id="myOtherFormItem" fieldName="Combo 1"
 mx:ComboBox id="someCombo" 
/
/my:_formitem

That renders 
like:

Combo 
1
[|V 
]

I tried making a 
component out of an HBox or FormItem, but I get an error about _formitem already 
having internal children. Can a container have more than 
one?

Thanks in 
advance
---Pablo 
Gustavo Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Button height and width in CSS?

2006-03-03 Thread Pablo Apanasionek





Gordon,

that was exactly my decision after your reply.

Thanks!
---Pablo Gustavo 
Apanasionek


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] En nombre de Gordon 
SmithEnviado el: Viernes, 03 de Marzo de 2006 15:10Para: 
flexcoders@yahoogroups.comAsunto: RE: [flexcoders] Button height and 
width in CSS?


Are you aware that if 
you want a bunch of 100 x 30 buttons, you don't have to specify width="100" 
height="30" on every one of them? Just make a 2-line custom component that 
defines default values for these properties and then use it 
instead:

MyButton.mxml:

?xml version="1.0" 
encoding="utf-8"?
mx:Button 
xmlns:mx="http://www.adobe.com/2006/mxml" width="100" 
height="30"/

MyApp.mxml:

?xml version="1.0" 
encoding="utf-8"?
mx:Application 
xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:my="*" width="600" 
height="600"
 
my:MyButton/
 
my:MyButton/
 
my:MyButton/
/mx:Application

A lot of developers 
don't realize that custom components are useful for simple things like 
this.

- 
Gordon





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Gordon 
SmithSent: Friday, March 03, 
2006 9:57 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Button height and 
width in CSS?

By design; x, y, width, 
and height are regular properties, not styles.

- 
Gordon





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Pablo 
ApanasionekSent: Friday, March 
03, 2006 5:39 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Button height and 
width in CSS?


Is it a bug or by design, that 
button's height and width can't be set through 
CSS?



Thanks
---Pablo Gustavo 
Apanasionek






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Accesing flex-config variables in MXML

2006-02-28 Thread Pablo Apanasionek





Back again with 
awful questions:

Can I get access to 
@context.root or localserver variables (used in flex-config.xml) inside a MXML 
page?

Thanks in 
advance
---Pablo 
Gustavo Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Coloring a MenuBar

2006-02-28 Thread Pablo Apanasionek





I hate bugging you 
people for something that might be obvious, but it seems to be escaping my 
sight:

- Can I change the 
background color(s) of a MenuBar?

Thanks in 
advance.
---Pablo Gustavo 
Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Form field direction

2006-02-27 Thread Pablo Apanasionek





Is there a way to 
set up the mx:Form tag to place the mx:FormItem childs in a horizontal 
direction, instead of the default vertical one? O maybe a way to change the 
focus path to go from left to right, top to bottom?

I.e.:

Field 1 - 
Field 2
 
/
 
/
 
/
Field 3 - 
Field 4

Thanks in 
advance.
---Pablo Gustavo 
Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] DateTime in WebService

2006-02-21 Thread Pablo Apanasionek





Take a look at 
this:

A J2EE-Axis 
webservice of mine is returning a DateTime in this way:

 
dateFrom 
xsi:type="xsd:date"2006-06-01Z/dateFrom 
dateTo xsi:type="xsd:date"2006-06-02Z/dateTo
And Flex turns it 
into:

dateFrom[Local 
Time] : Wed May 31 21:00:00 2006 
(-3:00)dateTo[Local Time] : Thu Jun 01 21:00:00 
2006 (-3:00)

Is there any way of 
"disabling" this local time convertion? O maybe defining the WSDL to use always 
local or UTC time?

Thanks in 
advance
---Pablo Gustavo 
Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex compiler problem on Build/Browse

2006-02-14 Thread Pablo Apanasionek





Hi 
everyone!

Has any of you ever 
bumped into this while building/browsing a MXML file? I'm using JBoss 4.0.2 and 
Flex 1.5. It was running perfectly a few hours ago, and nothing changed in my 
configuration (at least, that I could notice).

2 Errors found. Error C:\Archivos de 
programa\Java\jboss-4.0.2\server\default\deploy\earacs-flex.war\WEB-INF\flex\user_classes\aux.mxml 

Error reading MXML document: check that the file exists and 
permissions are set correctly.Error C:\Archivos de 
programa\Java\jboss-4.0.2\server\default\deploy\earacs-flex.war\FlightTypes.mxml:446 

Don't know how to parse element 
"http://www.macromedia.com/2003/mxml:WebService". It is not a known type or a 
property of mx.core.Application.

In the 
first case, the file aux.mxml doesn't even exist. Is this file generated by the 
compiler? What permissions should the flex-dir have?

Thanks 
in advance!
---Pablo Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] About Webservices and XML request format

2006-02-13 Thread Pablo Apanasionek





Mark,

thanks for your tip. Unfortunately, it didn't work out. Although the 
'array-like' object traced OK, the SOAP message showed the property in 
NULL.

--Pablo Apanasionek


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] En nombre de Mark WalesEnviado 
el: Viernes, 10 de Febrero de 2006 18:55Para: 
flexcoders@yahoogroups.comAsunto: RE: [flexcoders] About Webservices 
and XML request format


I’d doubtful this will 
help, but since I hear strains of desperation, I thought I’d share that I went 
through a similar “array in request” scenario but with HTTPService. Matt Chotin was extremely gracious and patient 
in helping me around a similar problem doing a POST with an HTTPService. 

Net, Matt suggested the 
syntax below to capture the array (or “array-like”) 
behavior.

myRequestObject['val[a]'] = 'foo';

Maybe that will give 
you a lead on a solution…

-Mark

-Original 
Message-From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pablo ApanasionekSent: Friday, February 10, 2006 4:07 
PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] About Webservices 
and XML request format

In thiscase, the webservice is 
defined to do all the "magic". But it's expecting a VO instead of a 
string.

Does anyone have an example of a 
webservice (including wsdl and mxml) sending an array of items to the server? 
This is killing me softly. ='(

---Pablo Gustavo 
Apanasionek




De: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Jason HawrylukEnviado el: Viernes, 10 de Febrero de 2006 
18:01Para: 
flexcoders@yahoogroups.comAsunto: RE: [flexcoders] About Webservices 
and XML request format

Ahh, 
Not sure about j2ee but in .net i had to send it as a string thencast the 
result to an xml typein the web service (.net code). I also had to remove 
a little namespace stuff as well after casting but before saving to a file on 
the server for example.

jason



-Message 
d'origine-De: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Pablo ApanasionekEnvoyé: vendredi 10 février 2006 
21:48À: 
flexcoders@yahoogroups.comObjet: RE: [flexcoders] About 
Webservices and XML request format

  I'm trying to send XML to the WS, 
  and the WS is of the J2EE/Axis kind.
  
  ---Pablo 
  Apanasionek
  
  
  
  
  De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Jason HawrylukEnviado el: Viernes, 10 de Febrero de 
  2006 17:43Para: 
  flexcoders@yahoogroups.comAsunto: RE: [flexcoders] About 
  Webservices and XML request format
  
  Are 
  you trying to send XML to the web service or receive the xml from the web 
  service to flex? Is the web service .net or what platform are you 
  using?
  
-Message 
d'origine-De: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Pablo 
ApanasionekEnvoyé: 
vendredi 10 février 2006 20:30À: 
flexcoders@yahoogroups.comObjet: [flexcoders] About 
Webservices and XML request format

Hi 
again!



In my search for workarounds to 
my previous post "Array serialization in Webservices", I'm trying to 
overcome that array-to-item thing by entering an XML (well-formed) as a 
parameter to the WebService.



Does anyone have an example on 
this one?



So far, I've done 
this:



1) Changed the format of the 
request from "object" to "xml".

2) Mapped the object to XML 
(using some XMLTools.as I've found on one of the thousand sites I've looked 
so far).

3) Assigned the resulting XML to 
the request.



This ends 
in:



a) No 
result.

b) Fault because of XML opening 
tags translated to lt;.



If I use XML.parseXML in point 
2, to "cast" the resulting string to XML and then inspect it with Trace 
Panel, the XML is well-formed.



Any 
    help?



Thanks 
again!
Pablo 
Apanasionek






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Re: About Webservices and XML request format

2006-02-13 Thread Pablo Apanasionek

Dave,

That was it! I deleted the features setting of the WSCompile pointing to 
rpcliteral, so the WSDD and WSDL were built using RPC/Encoded and it worked 
wonderfully.

Thank you very much for your tip and your time!
---Pablo Apanasionek


-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Dave Wolf
Enviado el: Viernes, 10 de Febrero de 2006 18:44
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re: About Webservices and XML request format

Pablo,

You're right, AXIS and flex have both the serializers and deserializers to 
handle this.  You dont need to go sending actual XML!

I looked over web services code from a couple of projects and from what I found 
looking quickly I only say examples of returning an array not sending one.  But 
I dont think that's in play here.  I think there is an AXIS configuration 
issue.  We know this works propertly.  We also know that you will have much 
more luck in Flex 1.5 if you are using RPC/Encoded style rather then 
Document/Literal style for the service itself.

Can I see your WSDD?  THe one other issue we did have that was specific to 
arrays was the configuration of the bean serializer in the WSDD for Axis.  For 
instance we found this setup worked well.

  service name=Assessments provider=java:RPC style=rpc
use=encoded
parameter name=className
value=com.lifeoptions.assessment.AssessmentsImpl/
parameter name=allowedMethods value=*/
parameter name=wsdlServicePort value=Assessments/
beanMapping qname=myNS:Assessments
xmlns:myNS=urn:AssessmentsImpl
languageSpecificType=java:com.lifeoptions.assessment.Assessments/
  /service

Using the shortcut beatMapping was the key here.  Also again note the style 
and use attributes for the service.  

I can say with confidence that array indeed work.  

--
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



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

 In this case, the webservice is defined to do all the magic. But
it's expecting a VO instead of a string.
  
 Does anyone have an example of a webservice (including wsdl and
mxml) sending an array of items to the server? This is killing me softly. ='(
  
 ---Pablo Gustavo Apanasionek
 
 
 
 De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
En nombre de Jason Hawryluk
 Enviado el: Viernes, 10 de Febrero de 2006 18:01
 Para: flexcoders@yahoogroups.com
 Asunto: RE: [flexcoders] About Webservices and XML request format
 
 
 Ahh, Not sure about j2ee but in .net i had to send it as a string
then cast the result to an xml type in the web service (.net code). I also had 
to remove a little namespace stuff as well after casting but before saving to a 
file on the server for example.
 
 jason
  
  -Message d'origine-
 De : flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] la part de Pablo Apanasionek
 Envoyé : vendredi 10 février 2006 21:48 À : flexcoders@yahoogroups.com 
 Objet : RE: [flexcoders] About Webservices and XML request format
 
 
 
   I'm trying to send XML to the WS, and the WS is of the J2EE/Axis kind.

   ---Pablo Apanasionek
 
 
 
   De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
En nombre de Jason Hawryluk
   Enviado el: Viernes, 10 de Febrero de 2006 17:43
   Para: flexcoders@yahoogroups.com
   Asunto: RE: [flexcoders] About Webservices and XML request format
   
   
   Are you trying to send XML to the web service or receive the xml
from the web service to flex? Is the web service .net or what platform are you 
using?
 
   -Message d'origine-
   De : flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] la part de Pablo Apanasionek
   Envoyé : vendredi 10 février 2006 20:30
   À : flexcoders@yahoogroups.com
   Objet : [flexcoders] About Webservices and XML request format
   
   
   Hi again!

   In my search for workarounds to my previous post Array
serialization in Webservices, I'm trying to overcome that array-to-item thing 
by entering an XML (well-formed) as a parameter to the WebService.

   Does anyone have an example on this one?

   So far, I've done this:

   1) Changed the format of the request from object to xml.
   2) Mapped the object to XML (using some XMLTools.as I've found 
 on
one of the thousand sites I've looked so far).
   3) Assigned the resulting XML to the request.

   This ends in:

   a) No result.
   b) Fault because of XML opening tags translated to lt;.

   If I use XML.parseXML in point 2

RE: [flexcoders] Array serialization for Webservice

2006-02-10 Thread Pablo Apanasionek
Matt,

Thanks for your reply.

Could you explain me a bit of how this 'literal request format' would
work?

Thanks in advance,
Pablo Apanasionek

-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Matt Chotin
Enviado el: Viernes, 10 de Febrero de 2006 04:36
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] Array serialization for Webservice

Unfortunately I think this may be a known bug.  I believe you're going
to need to do a literal request format and pass the information in XML
yourself to make it work.  I don't remember if we may have fixed this in
a hotfix, if you have a support contract you may want to ask your rep.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Pablo Apanasionek
Sent: Thursday, February 09, 2006 11:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Array serialization for Webservice

I tried many things without results, so I decided to ask for help.

I'm using Flex 1.5 and some Java Webservices. I have an object that is
passed as a parameter to a webservice. The Object goes something like
this:

SomeObject(code:String, ranges:Array)

The ranges array contains 1 or more instances of some other object,
which has a String and two Numbers.

So far, so good. And here comes the problem:

When I complete my paramObject with a code and ONE range in the ranges
array (which I decided to declare as Object = code:AAA,
ranges:(D,200,300)), it serializes like this:

codeAAA/code
ranges
  scopeX/scope
  from200/from
  to300/to
ranges

Its values are passed like this:

someService.addType.request.code = 'AAA';
someService.addType.request.ranges.scope = 'X';
someService.addType.request.ranges.from = 200;
someService.addType.request.ranges.to = 300;

This format posts well to the webservice, and it results OK.

But, if I add a range (in the array), so it holds two ranges, I step
into two problems:

1) If I stick to declaring ranges as an Object, I can't add another
instance of it.

2) If I convert ranges into an Array, and add the two complete
objects, although the Flex Network Monitor and Trace Panel show it
right, it gets serialized like this:

codeAAA/code
ranges/
item
  scopeX/scope
  from200/from
  to300/to
item
item
  scopeZ/scope
  from400/from
  to500/to
item

Resulting in a fault event of the webservice, because of the
unrecognized property item.

Is there a way to change the serialization of array (as I would need to
name each item as ranges and not as item) or some other way to fix
this?

Thanks in advance,
Pablo Apanasionek





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



 




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



 




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

* 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: Array serialization for Webservice

2006-02-10 Thread Pablo Apanasionek

I'm using named services, so the WSDL is defined on my flex-config.xml
file.

During some other tests I've been doing, I noticed that an array inside
another array is serialized on the same level that its parent (at least
in the SOAP message view of the Flex Network Monitor).

Ie.

someService.someOp.request.types = new Array(someArray);

Turns into:

someParamvalue/someParam
types/
item/
item
param1AAA/param1
param2AAA/param2
/item

Is this by design (either Flex's or SOAP's) ?


Thanks,
Pablo Apanasionek

-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Dmitry Miller
Enviado el: Jueves, 09 de Febrero de 2006 19:31
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re: Array serialization for Webservice

Hmmm... I have noticed that WebService Tag has a wsdl attribute. You try
specifying [web service URL]?wsdl for this attribute

ie. mx:WebService wsdl=[your WS URL ]?wsdl ...

Let me know if that works

--- Dmitry


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

 Is there a way to change the item label of the resultant serialized 
 items of the array? Or add more than one instance of an object with 
 the same name to the main parameter object?
 
 Thanks,
 Pablo Apanasionek
 
 
 
 -Mensaje original-
 De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En 
 nombre de Dmitry Miller Enviado el: Jueves, 09 de Febrero de 2006 
 16:50
 Para: flexcoders@yahoogroups.com
 Asunto: [flexcoders] Re: Array serialization for Webservice
 
 I am not sure if you can customize Flex serialization. I assume you 
 are using Axis. If that's the case, you need to go and modify your 
 service descriptor in services.wsdd (Don't remember on top of my 
 header where it is located in JRun) file where you explicitly map your
ranges 
 member of the return Object to type Array. Please, visit 
 http://ws.apache.org/axis/java/index.ht



ml on how to do that. 
 
 Good luck,
 
 --- Dmitry
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links








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



 




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

* 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] About Webservices and XML request format

2006-02-10 Thread Pablo Apanasionek





Hi 
again!

In my search for 
workarounds to my previous post "Array serialization in Webservices", I'm trying 
to overcome that array-to-item thing by entering an XML (well-formed) as a 
parameter to the WebService.

Does anyone have an 
example on this one?

So far, I've done 
this:

1) Changed the 
format of the request from "object" to "xml".
2) Mapped the object 
to XML (using some XMLTools.as I've found on one of the thousand sites I've 
looked so far).
3) Assigned the 
resulting XML to the request.

This ends 
in:

a) No 
result.
b) Fault because of 
XML opening tags translated to lt;.

If I use 
XML.parseXML in point 2, to "cast" the resulting string to XML and then inspect 
it with Trace Panel, the XML is well-formed.

Any 
help?

Thanks 
again!
Pablo 
Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] About Webservices and XML request format

2006-02-10 Thread Pablo Apanasionek





I'm trying to send XML to the WS, and the WS is of the J2EE/Axis 
kind.

---Pablo Apanasionek


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] En nombre de Jason 
HawrylukEnviado el: Viernes, 10 de Febrero de 2006 
17:43Para: flexcoders@yahoogroups.comAsunto: RE: 
[flexcoders] About Webservices and XML request format

Are 
you trying to send XML to the web service or receive the xml from the web 
service to flex? Is the web service .net or what platform are you 
using?

  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Pablo ApanasionekEnvoyé: vendredi 10 février 2006 
  20:30À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] About Webservices and XML request format
  Hi 
  again!
  
  In my search for 
  workarounds to my previous post "Array serialization in Webservices", I'm 
  trying to overcome that array-to-item thing by entering an XML (well-formed) 
  as a parameter to the WebService.
  
  Does anyone have 
  an example on this one?
  
  So far, I've done 
  this:
  
  1) Changed the 
  format of the request from "object" to "xml".
  2) Mapped the 
  object to XML (using some XMLTools.as I've found on one of the thousand sites 
  I've looked so far).
  3) Assigned the 
  resulting XML to the request.
  
  This ends 
  in:
  
  a) No 
  result.
  b) Fault because 
  of XML opening tags translated to lt;.
  
  If I use 
  XML.parseXML in point 2, to "cast" the resulting string to XML and then 
  inspect it with Trace Panel, the XML is well-formed.
  
  Any 
  help?
  
  Thanks 
  again!
  Pablo Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] About Webservices and XML request format

2006-02-10 Thread Pablo Apanasionek





In thiscase, the webservice is defined to do all the "magic". But 
it's expecting a VO instead of a string.

Does anyone have an example of a webservice (including wsdl and mxml) 
sending an array of items to the server? This is killing me softly. 
='(

---Pablo Gustavo 
Apanasionek


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] En nombre de Jason 
HawrylukEnviado el: Viernes, 10 de Febrero de 2006 
18:01Para: flexcoders@yahoogroups.comAsunto: RE: 
[flexcoders] About Webservices and XML request format

Ahh, 
Not sure about j2ee but in .net i had to send it as a string thencast the 
result to an xml typein the web service (.net code). I also had to remove 
a little namespace stuff as well after casting but before saving to a file on 
the server for example.
jason

-Message 
d'origine-De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED]De la part de Pablo 
ApanasionekEnvoyé: vendredi 10 février 2006 
21:48À: flexcoders@yahoogroups.comObjet: RE: 
[flexcoders] About Webservices and XML request 
format

  I'm trying to send XML to the WS, and the WS is of the J2EE/Axis 
  kind.
  
  ---Pablo Apanasionek
  
  
  De: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] En nombre de Jason 
  HawrylukEnviado el: Viernes, 10 de Febrero de 2006 
  17:43Para: flexcoders@yahoogroups.comAsunto: RE: 
  [flexcoders] About Webservices and XML request format
  
  Are 
  you trying to send XML to the web service or receive the xml from the web 
  service to flex? Is the web service .net or what platform are you 
  using?
  
-Message d'origine-De: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
    de Pablo ApanasionekEnvoyé: vendredi 10 février 2006 
20:30À: flexcoders@yahoogroups.comObjet: 
[flexcoders] About Webservices and XML request format
Hi 
again!

In my search for 
workarounds to my previous post "Array serialization in Webservices", I'm 
trying to overcome that array-to-item thing by entering an XML (well-formed) 
as a parameter to the WebService.

Does anyone have 
an example on this one?

So far, I've 
done this:

1) Changed the 
format of the request from "object" to "xml".
2) Mapped the 
object to XML (using some XMLTools.as I've found on one of the thousand 
sites I've looked so far).
3) Assigned the 
resulting XML to the request.

This ends 
in:

a) No 
result.
b) Fault because 
of XML opening tags translated to lt;.

If I use 
XML.parseXML in point 2, to "cast" the resulting string to XML and then 
inspect it with Trace Panel, the XML is well-formed.

    Any 
help?

Thanks 
again!
Pablo 
  Apanasionek





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Re: Array serialization for Webservice

2006-02-09 Thread Pablo Apanasionek
Is there a way to change the item label of the resultant serialized
items of the array? Or add more than one instance of an object with the
same name to the main parameter object?

Thanks,
Pablo Apanasionek



-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Dmitry Miller
Enviado el: Jueves, 09 de Febrero de 2006 16:50
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re: Array serialization for Webservice

I am not sure if you can customize Flex serialization. I assume you are
using Axis. If that's the case, you need to go and modify your service
descriptor in services.wsdd (Don't remember on top of my header where
it is located in JRun) file where you explicitly map your ranges 
member of the return Object to type Array. Please, visit
http://ws.apache.org/axis/java/index.html on how to do that. 

Good luck, 

--- Dmitry






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



 





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

* 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] MediaController controls

2006-02-03 Thread Pablo Samela
Hello,

My name is paul, and I´am new in the list. I´am also new to flex.
I´am trying to change the look an feel of the controller of the mediacontroller
object, but I looked over the internet and I didn´t find how to do it, and if it
is possible.
Can someone help me on this.

Thanks.

Paul.




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

* 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: Flex 2 and Flex 1.5 in the same machine

2005-11-17 Thread Pablo Apanasionek
Thanks your your reply, J!

I'm actually using Flex Builder, so I wouldn't have to do the 
Eclipse fix.

What 1.5 stuff does not work under the 8.5 player? Can the 8.5 
player be uninstalled after testing?

Thanks again!

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

 i run both on the same machine without a problem. all i do is 
setup two
 different eclipses (which is actually not even necesary) and then 
an ant
 task to point to the right compiler, and badaboom no problems with 
the swf
 (I can also advise you to use the flash player plugin switcher 
when viewing
 1.5 content since some of your 1.5 stuff just does not work under 
the 8.5player)
 
 On 11/17/05, Pablo Apanasionek [EMAIL PROTECTED] wrote:
 
  Hey!
 
  I've already read Macromedia Installation Notes and Known Issues 
about
  Flex 2, looking forward to install it in my workstation. What has
  stopped me from proceeding is that I don't know what components 
of the
  Flex 1.5 Framework and/or Server are replaced, and I don't want 
them
  to be useless after that. (Let's say I'm just evaluating the 2.0
  version, not coding on it).
 
  Should I install it on another system?
 
  Thanks in advance,
  Pablo
 
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 
 
 
 --
 j:pn







 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/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/

* 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] Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Pablo Apanasionek
Hi,

i'm extremely new to Flex and, although I've seen in a few days part 
of the potential it has to give, I still got a lot to learn.

Question comes here: I've tested the ability to drag-and-drop between 
two different custom components and it works amazingly well without 
demanding a lot of code. However, I'd like to do this between two 
different Flex files embedded in a JSP page (to accomplish some reuse 
of the SWF pages through the whole JSP application).

I've tested a few things and googled about it, without getting any 
conclusion. Is this possible? If so, how?

Thanks in advance
Pablo Apanasionek





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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/

* 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: Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Pablo Apanasionek
Sure!

First of all, I have my JSP based application, which manages all the 
interaction between pages and business objects.

When reaching the frontend subject, we thought of Flex for that job. 
So we began analyzing building some UI components which combine 
business logic in a fancy way. Those components (in SWF format), 
we'd like to use several times across the application, in different 
use cases.

At the bottom line, we end up having (for example) a JSP page with 
2+ embedded SWF/Flex files, that we would like to interact with each 
other. For instance, imagine a Registration component working with 
a Shopping Cart component as two different SWF files in the same 
JSP, and then reusing the Registration one with another SWF file 
in another page.

I might be looking it the wrong way, but it's the approach we were 
looking for. (By the way, I'd be really interesting to find out it 
is wrong.) =)

Thanks in advance

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

 Can you tell the list a bit more about your trying to do... it 
sounds like
 your going about this the wrong way?
 
  On 11/3/05, Pablo Apanasionek [EMAIL PROTECTED] wrote:
 
  Hi,
 
  i'm extremely new to Flex and, although I've seen in a few days 
part
  of the potential it has to give, I still got a lot to learn.
 
  Question comes here: I've tested the ability to drag-and-drop 
between
  two different custom components and it works amazingly well 
without
  demanding a lot of code. However, I'd like to do this between two
  different Flex files embedded in a JSP page (to accomplish some 
reuse
  of the SWF pages through the whole JSP application).
 
  I've tested a few things and googled about it, without getting 
any
  conclusion. Is this possible? If so, how?
 
  Thanks in advance
  Pablo Apanasionek
 
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 








 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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/

* 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: Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Pablo Apanasionek
Tom,

thanks for your answer.

In a middle step in my way of discover, I tried using a wrapper and 
it worked well, including DD effects and events.

Thanks for the localConnection tip too!

Pablo Apanasionek


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

 It's not possible to drag an mc from one embedded swf to another, 
not
 visually, at least...
 So the only option imo, is to design your html page in such a way 
that
 the 2 swfs can be loaded into 1 wrapper swf...essentially making 
it 1
 application...
 You can however, let two embedded swfs transfer data to another 
using
 localconnection, but then you loose the visual dd handling...
 
 Grtz,
 t
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Pablo Apanasionek
 Sent: donderdag 3 november 2005 15:40
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Newbie Question: Drag-And-Drop between 
two
 Flex-SWF files
 
 Sure!
 
 First of all, I have my JSP based application, which manages all 
the 
 interaction between pages and business objects.
 
 When reaching the frontend subject, we thought of Flex for that 
job. 
 So we began analyzing building some UI components which combine 
 business logic in a fancy way. Those components (in SWF format), 
 we'd like to use several times across the application, in 
different 
 use cases.
 
 At the bottom line, we end up having (for example) a JSP page with 
 2+ embedded SWF/Flex files, that we would like to interact with 
each 
 other. For instance, imagine a Registration component working 
with 
 a Shopping Cart component as two different SWF files in the same 
 JSP, and then reusing the Registration one with another SWF file 
 in another page.
 
 I might be looking it the wrong way, but it's the approach we were 
 looking for. (By the way, I'd be really interesting to find out it 
 is wrong.) =)
 
 Thanks in advance
 
 --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] 
wrote:
 
  Can you tell the list a bit more about your trying to do... it 
 sounds like
  your going about this the wrong way?
  
   On 11/3/05, Pablo Apanasionek [EMAIL PROTECTED] wrote:
  
   Hi,
  
   i'm extremely new to Flex and, although I've seen in a few 
days 
 part
   of the potential it has to give, I still got a lot to learn.
  
   Question comes here: I've tested the ability to drag-and-drop 
 between
   two different custom components and it works amazingly well 
 without
   demanding a lot of code. However, I'd like to do this between 
two
   different Flex files embedded in a JSP page (to accomplish 
some 
 reuse
   of the SWF pages through the whole JSP application).
  
   I've tested a few things and googled about it, without getting 
 any
   conclusion. Is this possible? If so, how?
  
   Thanks in advance
   Pablo Apanasionek
  
  
  
  
  
  
   --
   Flexcoders Mailing List
   FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives: http://www.mail-archive.com/flexcoders%
 40yahoogroups.com
   Yahoo! Groups Links
  
  
  
  
  
  
  
 
 
 
 
 
 
 
 
 
 --
 Flexcoders 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







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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/

* 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: Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Pablo Apanasionek
Tom,

it's me again. I've tested it the good and the bad way: Flex and 
localConnection via JS, but using simple operations like sending 
messages to each SWF, etc.

Do you have any examples or link where it shows how to drag and drop 
using localConnection?

Thanks in advance

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

 It's not possible to drag an mc from one embedded swf to another, 
not
 visually, at least...
 So the only option imo, is to design your html page in such a way 
that
 the 2 swfs can be loaded into 1 wrapper swf...essentially making 
it 1
 application...
 You can however, let two embedded swfs transfer data to another 
using
 localconnection, but then you loose the visual dd handling...
 
 Grtz,
 t
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Pablo Apanasionek
 Sent: donderdag 3 november 2005 15:40
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Newbie Question: Drag-And-Drop between 
two
 Flex-SWF files
 
 Sure!
 
 First of all, I have my JSP based application, which manages all 
the 
 interaction between pages and business objects.
 
 When reaching the frontend subject, we thought of Flex for that 
job. 
 So we began analyzing building some UI components which combine 
 business logic in a fancy way. Those components (in SWF format), 
 we'd like to use several times across the application, in 
different 
 use cases.
 
 At the bottom line, we end up having (for example) a JSP page with 
 2+ embedded SWF/Flex files, that we would like to interact with 
each 
 other. For instance, imagine a Registration component working 
with 
 a Shopping Cart component as two different SWF files in the same 
 JSP, and then reusing the Registration one with another SWF file 
 in another page.
 
 I might be looking it the wrong way, but it's the approach we were 
 looking for. (By the way, I'd be really interesting to find out it 
 is wrong.) =)
 
 Thanks in advance
 
 --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] 
wrote:
 
  Can you tell the list a bit more about your trying to do... it 
 sounds like
  your going about this the wrong way?
  
   On 11/3/05, Pablo Apanasionek [EMAIL PROTECTED] wrote:
  
   Hi,
  
   i'm extremely new to Flex and, although I've seen in a few 
days 
 part
   of the potential it has to give, I still got a lot to learn.
  
   Question comes here: I've tested the ability to drag-and-drop 
 between
   two different custom components and it works amazingly well 
 without
   demanding a lot of code. However, I'd like to do this between 
two
   different Flex files embedded in a JSP page (to accomplish 
some 
 reuse
   of the SWF pages through the whole JSP application).
  
   I've tested a few things and googled about it, without getting 
 any
   conclusion. Is this possible? If so, how?
  
   Thanks in advance
   Pablo Apanasionek
  
  
  
  
  
  
   --
   Flexcoders Mailing List
   FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives: http://www.mail-archive.com/flexcoders%
 40yahoogroups.com
   Yahoo! Groups Links
  
  
  
  
  
  
  
 
 
 
 
 
 
 
 
 
 --
 Flexcoders 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







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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/

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