Re: [flexcoders] Run SWF file in Flash Player

2006-09-01 Thread Omar Ramos



Hi Kumar,You would have to use the SWFLoader class to load external swf into your application. Keep in mind that if you are using Flex 2 thenyou can only load swf files that are compiled for the flash player 9.
Omar RamosOn 8/23/06, Kumar [EMAIL PROTECTED] wrote:













  











Hi All,



I am new to flex.



I want to run a swf file on a button click in flash player.



Currently I am using navigatetoURL() function and it opening
that swf file in Browser can we use some thing else and open file in flash
player itself.



Thanks

Kumar







  















__._,_.___





--
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] Tile List Multiple Selection Drag bug.

2006-08-31 Thread Omar Ramos



Hi Guys,Does anyone know if this bug has been already fixed by someone? When you select multiple selection and dragEnabled to true and try to select multiple items and drag them the drag offset gets all screwed up. Anyone got a workaround?
Omar

__._,_.___





--
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] Changing Components Registration Point Flex 2.0

2006-06-25 Thread Omar Ramos



Hi guys,Is there a way to change the registration point of a image component? I want to be able to rotate the image from the center point but can not be done unless I change the Image component registration point to the center. Is there a way to do this in flex 2? Thanks
Omar Ramos

__._,_.___





--
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 Data Services for .NET

2006-05-10 Thread Omar Ramos



Hi Joe,

This is great news! I was already starting to complain about adobe not making a data adapter for .net since they are mostly in love with java :P Keep the good work.
On 5/4/06, Joe Orbman [EMAIL PROTECTED] wrote:

Hey guys,This might be of interest to some of you (especially if you work with .NET). We just launched a public beta of the 2.1 version of our product - WebORB, the new release is a full implementation of Flex Data Services 
for .NET. We have added AMF3 support and now anyone using Flex on the client-side can integrate it with the .NET backend. Currently we fully support the RPC services functionality from FDS and are working on 
adding Messaging and DataService. Essentially, WebORB will become a .NET implementation of FDS, and anyone using Flex Builder can continue to develop the client side there.There are a few articles describing the integration: First is an 
overview of creating a Flex application and wiring it up with the .NET side. You can access the article here: 
http://www.themidnightcoders.com/articles/flextodotnet.htmThe other article describes a new feature we added for Flex clients. The feature enables developers to fetch any type of object from the server, 
modify its contents and then automatically sync the changes from the Flex application into the original object instance on the server-side. The feature is called object auto-update. There is a live example, client and server-side code in the article: 
http://www.themidnightcoders.com/articles/objectautoupdate.htm
You can learn more about the product at: http://www.themidnightcoders.com/weborb/cheers,
Joe--Flexcoders Mailing ListFAQ: 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 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] dot net 2.0 - FLEX - new to macromedia

2006-04-06 Thread Omar Ramos



You could also use WebOrb to comunicate to your .NET assemblies directly instead of using webservices. Also WebOrb allows you to send complexts types back and foward. :)


Omar Ramos

On 4/6/06, sakgroups [EMAIL PROTECTED] wrote:

Goal:I would like to develop the user interface using FLASH (or FLEX??) for my dot net 2.0. application. I have all my assemblies built in dot net 2.0.I am new to world of 
macromedia.I am browsing thru the tutorials, online help etc. and finding it difficult to know the starting point.I have no java server like Eclipase running in my machine.-I created a new project and dragged some controls on it and clicked 
on run and the controls are not visible. I donot know why?I have installed FLEX 2.0 Beta version. I am trying to create a simple project to start learning. I am struggline a lot.Please help me on this.
-What all I need to install?-Can I do my job without JAVA server?-What do I need to do to build rich internet application for dot net 2.0?-Any links which will explain me how to create a new project?
THANKS IN ADVANCE for being patient reading this beginnner question and I appreciate all your help on this.--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 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.



  









Re: [flexcoders] Event broadcasters and listeners with cellRenderers

2006-03-28 Thread Omar Ramos



Hi,

On your cell render you can use these properties.

public var listOwner:mx.controls.List;private var getCellIndex:Function; private var getDataLabel:Function;


 So instead of using parent use listOwner.parent, that should give you access to your button. Another aproach is to dispatch the button event into the TileList and then on your cellrender listen to it using listOwner.addEventListener
(myEvent). Let me know if this was of any help.


Omar Ramos

On 3/28/06, nahruka [EMAIL PROTECTED] wrote:

Hi all,I'm new at Flex and need some help about event handling amongdifferent Flex components. I have a custom TitleWindow with a Button.I want another custom component (used as a cell renderer in this
TitleWindow) to listen to this button to be clicked and then dosomething. Here is my TitleWindow WActes.mxml:?xml version=1.0 encoding=utf-8?mx:TitleWindow xmlns:mx=
http://www.macromedia.com/2003/mxml  xmlns=* xmlns:ns1=Components.* creationComplete=doInit()
 title=This is my popup closeButton=true  click=this.deletePopUp()  mx:Metadata [Event(myEvent)] /mx:Metadata
 mx:Script![CDATA[ function myButtonClick() { dispatchEvent({type:myEvent}); } ]]/mx:Script mx:DataGrid id=dgAlu dataProvider={myArr} width=100% 
 height=100% editable=true  variableRowHeight=true wordWrap=true mx:columns mx:Array mx:DataGridColumn headerText=Nom columnName=nom
editable=false width=80 wordWrap=true/mx:DataGridColumn mx:DataGridColumn headerText=Qualificacio editable=falsecellRenderer=
Components.HBoxQualificacio/mx:DataGridColumn /mx:Array /mx:columns /mx:DataGrid mx:ControlBar mx:Button label=Close click=deletePopUp()/ 
 mx:Button id=myButton label=Click here  click=myButtonClick()/mx:Button /mx:ControlBar /mx:TitleWindow
And here is my own cell renderer, HBoxQualificacio.mxml:?xml version=1.0 encoding=utf-8?mx:HBox xmlns:mx=
http://www.macromedia.com/2003/mxmlinitialize=inici() hScrollPolicy=off mx:Script![CDATA[ function inici() { var listenerObject = new Object();
 listenerObject.myEvent = function(event) { trace(myEvent catched); //This is never printed!!! :-( } parent.myButton.addEventListener(myEvent, listenerObject);
 }  ]]/mx:Script !-- Several Flex components go here --/mx:HBoxPlease I do need some help! Thanks!--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 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.



  









Re: [flexcoders] Positioning Alert

2006-02-28 Thread Omar Ramos



Hi,Are you using the mx.core.Application.alert? if so that call does not return a reference to the alert which you wouln't be able to position it. You would have to use the mx.controls.Alert.show() instead.
Omar RamosSystem DeveloperOn 2/21/06, Daniel Cascais [EMAIL PROTECTED] wrote:




Yeah, sorry forgot to mention this is Flex 1.5, and no Jesse, the
Alert is not centered yet.

We are calling the alert from within a VBox Component (the move()
method should only work with a canvas), But as Aldo said, we tried
myAlert.centerPopUp( blabla ) which is positioning the Alert
anywhere but the center of it's assigned reference.

On 2/20/06, JesterXL [EMAIL PROTECTED] wrote:
 In Flex 2, not 1.5.

 ...is the Alert centered yet?

 - Original Message -
 From: [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Sunday, February 19, 2006 10:05 PM
 Subject: Re: [flexcoders] Positioning Alert


 Isn't centerPopUp a method of the PopUpManager?
 such as :
 PopUpManager.centerPopUp(myAlert);

 
 
 
 
  FYI, using myAlert.centerPopUp( blabla ) doesn't do the work either.
 
  alert! something's wrong with alert
 
  On 2/16/06, Daniel Cascais lt;[EMAIL PROTECTED]gt; wrote: gt;
  I'm trying to position an Alert instance, but I'm not getting any gt;
  reaction from the Alert and it always appears in its default location
  gt; in the app.
  gt;
  gt; //Code:
  gt; var myAlert:Alert = Alert.show( quot;Lalalalaquot; );
  gt; myAlert.move( 15, 16 );
  gt;
  gt; I have done this quite a lot in Flash, for which I am wondering if
  gt; there is something else I am expected to do in Flex.
  gt;
  gt; Thanks,
  gt; --
  gt; Daniel
  gt;
  gt;
  gt;
  gt;
  gt;
  gt; --
  gt; Flexcoders Mailing List
  gt; FAQ:
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 gt;
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com gt; Yahoo!

  Groups Links
  gt;
  gt;
  gt;
  gt;
  gt;
  gt;
  gt;
 
 
  --
  : Aldo Bucchi :
  mobile (56) 8 429 8300
 
 
 
 
 
 
 
  --
  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
 
 
 
  nbsp;Visit your group flexcoders on the web.nbsp;
  nbsp;To unsubscribe from this group, send an email
  to:nbsp;[EMAIL PROTECTED]nbsp; nbsp;Your use
  of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 
 
 
 





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









--
Daniel Cascais
Tel: +56 (0)2 4589495
Cel: +56 (0)9 9417355







--
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 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] DataGrid and paging

2005-11-16 Thread Omar Ramos



Hi Mykola,You can set up a custom paging class that supports paging. Remember that datagrid will ask for the data of each cell when it invokes getItem. Take a look at this article. 
http://weblogs.macromedia.com/mtadmin/mt-search.cgi?IncludeBlogs=27search=pagingOn 11/16/05, Mykola Paliyenko 
[EMAIL PROTECTED] wrote:


Hello Flexcoders
I have a very simple question. As I found from 
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/DataGrid.html

 The DataGrid control provides the following features: 

Columns of different widths or identical fixed widthsColumns that the user can resize at runtime Optional customizable column and row headersAbility to use a custom cell renderer for any column to display data other than text
Multiple modes of selection (row, column, cell, and edit), and selection events Support for paging through dataSupport for drag-and-drop operations. 

How does paging supported. I havent found any attributes in the tag, is it hidden functionality or just someone's dream?

-- Best Regards,Mykola






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



  









Re: [flexcoders] Re: Cairngorm is bad?

2005-11-16 Thread Omar Ramos



Hi guys,

Why not use the apropiate use when the situation merits it. If in your application you have a component that doesn't share it's model with the rest of the application then make it self contained and use the Delegates directly. If in the future you need to use it's model in other view's then just refactor it into a command. Please correct me if am wrong.



Omar Ramos
System Developer
Nobox Marketing Group, Inc.
On 11/15/05, Anatole Tartakovsky [EMAIL PROTECTED] wrote:

Mikola,
 Dumb terminal tend to have some effect on programs written for them. RIA tries to change that by offering richer event-driven paradigm that allow you to show data in more ways and interact with it in more ways. As such, the responses from the server become smaller, more granulated/targeted toward UI, requests need to become faster. etc..


 You indeed can reduce 90% of the SERVER work with more of the usage of standard components or generated code provided that STATE is transparently supported by front-end components. 


 You can use Struts - but without much benefit in terms of code size. Tapestry is great, but needs layer of support to work with controls so it is rapid application developments rather then optimizing 90% of 20%.


 Refactoring of Flex applications is no fun - there are to many areas that can break and go unchecked - your best line of defense (as 10 years ago)is still to amount the least amount of code and use more reliable components. That is were Frameworks come in the play - by advertising that the code in them has been used and tested and does 80% of what you need to do.

 
 I personally do not like frameworks. They usually evolve out of applications. That imposes 2 problems:
1. The problem is thatit have to fit. Let us say you are building motorbikes, cars and trucks. You can share concepts, but not the complex parts - they would either brake or would not fit. At best, you would have smaller thing that are interchangeable - nuts and bolts and signals. Can I reuse the shopping cart? Not likely, not without refactoring that would be bigger effort then writing from scratch. Serving 20 requests /sec and 2,000 require me to build differently - no abstraction survives the load, sorry. There is one thing that is indeed shared by companies making bikes, cars, trucks, planes, etc - tools to make concept into a product and base components.


2. Second problem is that frameworks formalize the process of building software by providing the coding style to adhere to. Some people call it patterns, some experience, but in the end it is just the base language constructs youare thinking with. It offers communication platform for larger group of people by abstraction.Internet revolution was a cultural shock that introduced most ofpatterns as the only way to express yourself as the sizes of development teams went out of control. Lack of tools caused use of manpower instead of tools, canned designs and manufacturing instead of custom design and engineering. It works, do not get me wrong, but it reaps most of the developers from the main benefit of intellectual work - creativity and individualism. 


I think that part of Flex community might want an alternative to frameworksand that alternative isTooling and Components. Here is simple test:
1.Try not to use some framework or library or component for a week. Change remoteObject to WebService or XML/HTTP Request. At the end of the week look at code thathas been done and you would see that you created better performing, more powerful way to do things that fits better your style and applications. 

2. Now try not to use your favorite IDE (Eclipse or such) or code generator (Struts or Tapestry ) and observe amount of code or extra steps you are making. In a week you are worse then before as your productivity is down and no solution is coming.


For the last 15 yearscompany I am working atwould spend at least 50% of my time manufacturing tools and components and the rest doing applications to make money while putting these tools/components to the test. Works both ways - you are getting reusable parts of applications as you manufacture them - and cleanly separate tools from components from application code.


I think time came to put an effort in the creation of Flash/Flex components with high reusability - that would take away most of the framework appeal without giving false promises.


Thank you,
Anatole Tartakovsky
[EMAIL PROTECTED]





- Original Message - 


From: Mykola Paliyenko
 
To: flexcoders@yahoogroups.com
 
Sent: Tuesday, November 15, 2005 11:05 AM
Subject: Re: [flexcoders] Re: Cairngorm is bad?
Good point Renaun, but how often do you need model to be shared across views that are backed by different mxmls? Even if you need it you can access one view from another, you can create some more general ViewHelper in this case that will contain that model. I'm my project 90% cases are just dummy calls to the server and displaying the results. If I'll need

Re: [flexcoders] Me go to MAX alone. you be my friend?

2005-10-13 Thread Omar Ramos



Hi all,

I will be attending too. 27 from Puerto Rico so just look for the latin guy lol

Omar Ramos
System Developer
On 10/13/05, Stanislav Zayarsky [EMAIL PROTECTED] wrote:
Hello All,I will be there too :)I'm 23 and I'm from Kiev, Ukraine.Looking forward to see you all there.
Best regardsStanislavOn 10/12/05, Douglas Knudsen [EMAIL PROTECTED]
 wrote: Maybe we can write 'FLEXCODERS' on our badges. Then we can spot each other in the halls, in sessions, or stumbling inline for the free refreshments.
 DK On 10/12/05, Manish Jethani [EMAIL PROTECTED] wrote:  On 10/12/05, Manish Jethani 
[EMAIL PROTECTED] wrote:   Sounds great. I'm coming to MAX too. BTW there's a nice
   introNetworks app where you can fill in all your details.   
http://www.macromedia.com/macromedia/events/max/agenda/birdsofafeather.html#1018-6 --  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 
 -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
 -- 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 ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 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] Java VO.

2005-10-13 Thread Omar Ramos



Yes I have both VO identical and registered via registerObject. Java just seams to put my properties to lowercase. I guess I will have to just go with lowercase properties.


Omar Ramos
System Developer
On 10/12/05, Kelly Roman [EMAIL PROTECTED] wrote:


Are you making corresponding AS classes to match your Java VO classes?

If so are you declaring the remoteClass so that Flex knows which AS classes match which Java VO classes?







From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Omar RamosSent: Tuesday, October 11, 2005 9:12 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Java VO.


Hi all,I have a simple VO class in java and have a service that returns a ArrayList of that vo. My question is that when I return this list to flex via RemoteObject Tag (AMF) java or flash seams to put each property of the VO in lowercase. For example if on the Java VO it had a property of Name and LastName when it gets to flex is name and lastName. Any way to make it return the VO as it is defined on the java class? Thanks for any help. 
Omar RamosSystem Developer--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 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] Java VO.

2005-10-13 Thread Omar Ramos



Hi Oscar,

I am using Flex with JRUN and Java classes. Does this applies too? And what did you do to fix the problem. Thanks

Omar Ramos
System Developer
On 10/13/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:
Omar,Are you using ColdFusion with Flex? Check out the gateway-config.xml file
and check the serialization section. I had the same problem, and youactually have different options. !-- Determines how complex objects/generic class data types are to be handled by the gateway. The two options are Classic or Flex.
 Classic mode performs shallow serialization on all non-static fields for classes implemeting java.io.Serializable. Flex mode uses improvements made for Flex's RemoteObject feature
 and performs deep serialization on fields with bean accessors for any class. -- serializationClassic/serialization !-- ActionScript 
1.0 and ColdFusion use case insensitive data structures to store associative arrays, objects and structs - the Java representation of these datatypes requires a case-insensitive Map, which the
 gateway achieves by looking up all keys in lowercase. If case insensitivity is desired then this setting should be set to true. ActionScript 2.0 is now case sensitive,
 but setting this to true will allow ColdFusion to look up keys case insensitively, and will not actually change the case of the keys. For AS 2.0 to java this should be false,
 since both are case sensitive. -- lowercase-keystrue/lowercase-keys 
  Omar Ramos To: 
flexcoders@yahoogroups.com  [EMAIL PROTECTED]
 cc:  Sent by: Subject: Re: [flexcoders] Java VO. 
 flexcoders@yahoogroups.com 
 10/13/2005 09:38 AM  Please respond to 
 flexcoders 
  
Yes I have both VO identical and registered via registerObject. Java justseams to put my properties to lowercase. I guess I will have to just gowith lowercase properties.Omar Ramos
System DeveloperOn 10/12/05, Kelly Roman [EMAIL PROTECTED] wrote:Are you making corresponding AS classes to match your Java VO classes?
If so are you declaring the remoteClass so that Flex knows which AS classesmatch which Java VO classes?From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Omar RamosSent: Tuesday, October 11, 2005 9:12 AM
To: flexcoders@yahoogroups.comSubject: [flexcoders] Java VO.Hi all,
I have a simple VO class in java and have a service that returns aArrayList of that vo. My question is that when I return this list to flexvia RemoteObject Tag (AMF) java or flash seams to put each property of the
VO in lowercase. For example if on the Java VO it had a property of Nameand LastName when it gets to flex is name and lastName. Any way to make itreturn the VO as it is defined on the java class? Thanks for any help.
Omar RamosSystem Developer--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 SPONSORED LINKS Web site design Computer software Software design 
development development 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.---This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may containinformation that is privileged, proprietary , confidential and exempt fromdisclosure. If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication isstrictly prohibited. If you have received this communication in error,please notify the sender and erase this e-mail message immediately.
---
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 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]

[flexcoders] Browser Close Event.

2005-10-13 Thread Omar Ramos



Hi Guys,

Anyone knows how to detect the browser close event in flex? To do something before the browser is closed? I have tried the unload event on the application tag but that doesn't seam to work.Any Ideas?


Omar Ramos
System Developer






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



  









Re: [flexcoders] Java VO.

2005-10-13 Thread Omar Ramos



Hi Oscar,

I have my gateway.config with 
serializationFlex/
serialization
lowercase-keysfalse/
lowercase-keys
And my getter and setters like this
private String _name_en;
public int getName() {return this._name_en;}public void setName(int _name) {this_name_en = _name;}
And still flex serializes the objects like this: name_en insted of Name_en.
Omar Ramos
System Developer






--
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] Java VO.

2005-10-13 Thread Omar Ramos



Hi Aldo,

I currently have it like this. The reason I wanted it the other way around is because I come more from a .NET programing language. In .NET you have your properties defined this way. This reflects the properties of a Sql Table which are defined the same way. So I wanted to maintain consistency in my programing that is why. Thanks for your feedback.



Omar Ramos
System Developer

On 10/13/05, Aldo Bucchi [EMAIL PROTECTED] wrote:
Hi Omar,I don't see the problem.That's the way it should work.Flex will find a getName getter and determine that the name of the
variable is name according to javabean naming conventions.You should NEVER use uppercase initial letters in variables. period.This is a widely used convention.Best,Aldo 
On 10/13/05, Omar Ramos [EMAIL PROTECTED]
 wrote: Hi Oscar, I have my gateway.config with serializationFlex/ serialization lowercase-keysfalse/ lowercase-keys
 And my getter and setters like this private String _name_en; public int getName() { return this._name_en; } public void setName(int _name) { this_name_en = _name;
 } And still flex serializes the objects like this: name_en insted of Name_en. Omar Ramos System Developer --
 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. --: Aldo Bucchi :mobile (56) 8 429 8300
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 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] Java VO.

2005-10-11 Thread Omar Ramos



Hi all,I have a simple VO class in java and have a service that returns a ArrayList of that vo. My question is that when I return this list to flex via RemoteObject Tag (AMF) java or flash seams to put each property of the VO in lowercase. For example if on the Java VO it had a property of Name and LastName when it gets to flex is name and lastName. Any way to make it return the VO as it is defined on the java class? Thanks for any help.
Omar RamosSystem Developer






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



  









Re: [flexcoders] Tile List Effect.

2005-10-03 Thread Omar Ramos



Hi Steven,Thanks for the reply. The effect is really nice and I have banged my head to see how you guys did it. Is it posible to do with the TileList controll? or just using the repeater with a tile container?
Omar RamosSystem DeveloperOn 10/2/05, Steven Webster [EMAIL PROTECTED] wrote:




Omar,

We had to implement our own container to achieve this effect; the container
intelligently adapts the presentation of the children depending on the space
available to the children, as well as managing the move effects for children
as you described.

Alistair (McLeod) was largely responsible for the implementation that you
see on CaledonBank; we've used a similar implementation on subsequent
projects.

I'll heads up Ali to see if he can't post a little more detail about how the
effect was achieved, and who knows, perhaps we can even have a discussion
about now making some of the code available...

Best wishes,

Steven 
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of Manish Jethani
Sent: 02 October 2005 21:32
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tile List Effect.

On 10/1/05, Omar Ramos [EMAIL PROTECTED] wrote:

 Does anyone knows how was the effect of the
http://www.caledonbank.com/accountFinder.html sort effect was made?

Like this?

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml

 mx:Tile id=tile width=200 height=200 backgroundColor=red
 mx:Repeater id=r dataProvider={['4', '2', '6', '1', '7', '3',
'5']}
 mx:Button label={r.currentItem} moveEffect=Move
 borderThickness=0 /
 /mx:Repeater
 /mx:Tile

 mx:Button label=Rearrange Buttons click=rearrangeButtons() /

 mx:Script
 ![CDATA[
 import mx.controls.Button;

 public function rearrangeButtons():Void
 {
 for (var i:Number = 0; i  tile.numChildren; i++)
 tile.setChildIndex(tile.getChildAt(i),
 Number(Button(tile.getChildAt(i)).label));

 tile.invalidateLayout();
 }
 ]]
 /mx:Script
/mx:Application









--
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 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] Datagrid cell edit.

2005-09-20 Thread Omar Ramos



Hi All,

Anyone knows how to detect when a cell on a editable datagrid changes value? I know I can use value committed but I can not access that specific cell. Anyone knows how to do this?
Thanks.



Omar Ramos
System Developer






--
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] Capturing Events from Cell Renderers

2005-09-16 Thread Omar Ramos



Hi Allen,

I usualy do what you say on my cell renders. What I usualy do is dispatch the event tru your list controll, in your case the dataGrid. Remember on the cell render you have a reference of the list which is the variable listOwner. So you could do this 
listOwner.dispatchEvent({type:MyEvent,data:MyData}); Hope it helps!


Omar Ramos
System Developer
On 9/16/05, Allen Manning [EMAIL PROTECTED] wrote:


Hello,

I want to dispatch and event from a cell renderer and call it in the view which has the parent datagrid. Any advice on how to do this? I don't need code, just a brief explanation would do. 
J

Many thanks,
Allen
www.prismix.com/

--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design 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. 




--No virus found in this outgoing message.Checked by AVG Anti-Virus.Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 13/09/2005






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



  









Re: [flexcoders] Cairgorn Bug?

2005-09-16 Thread Omar Ramos



I have set traces all over the place. No errors are occurring and the command gets executed. Any Idea what could be the problem?
On 9/14/05, Omar Ramos [EMAIL PROTECTED] wrote:
Thanks alot for your reply ali, If in fact there was an error why the piece of code beneth that line doesn't get executed? I am checking the command it is executing just fine. Gona check on it again. 

On 9/14/05, Alistair McLeod [EMAIL PROTECTED]
 wrote: 

Hi Omar,

An exception is probably getting thrown somewhere, either in the EventBroadcaster because the event hasn't been registered with a command, or within your command itself. 


Have you checked flashlog.txt (ensure you have debug player, mm.cfg etc).

Ali

-- Alistair McLeod Development Director iteration::two 
 [EMAIL PROTECTED] 
Office: +44 (0)131 338 6108  This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. 

Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. 




From: flexcoders@yahoogroups.com [mailto:
 flexcoders@yahoogroups.com] On Behalf Of Omar RamosSent: 14 September 2005 00:43To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Cairgorn Bug?


Hi there,

There is something strange going with cairngorm in the application am currently developting. It seams that when I do a broadcast the lines of code beneth if doesn't execute.
I do this.

EventBroadcaster.getInstance().broadcastEvent(ScrapblogController.EVENT_SELECT_OBJECT, eventObj);trace(TEST);


and the trace never apears or the code beneth it never gets executed. Any ideas?



Omar Ramos
System Developer--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design 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 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.



  









Re: [flexcoders] Capturing Events from Cell Renderers

2005-09-16 Thread Omar Ramos



You would have to register manualy using addEventListener. You could do this on your tag mx:DataGrid id=grdload="grd.addEventListner(MyEvent,MyMethod);" .. /




On 9/16/05, Allen Manning [EMAIL PROTECTED] wrote:


Omar,

Thanks for the reply.

Would I need to register that event with my list, won't the complier complain of I do this:


mx:DataGrid MyEvent="do something" .. /

Or do I need to add the event listener programmatically?

Thanks,
Allen
www.prismix.com/







From:
 flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Omar RamosSent: 16 September 2005 13:59To:
 flexcoders@yahoogroups.comSubject: Re: [flexcoders] Capturing Events from Cell Renderers




Hi Allen,



I usualy do what you say on my cell renders. What I usualy do is dispatch the event tru your list controll, in your case the dataGrid. Remember on the cell render you have a reference of the list which is the variable listOwner. So you could do this 
listOwner.dispatchEvent({type:MyEvent,data:MyData}); Hope it helps!





Omar Ramos

System Developer

On 9/16/05, Allen Manning 
[EMAIL PROTECTED] wrote: 

Hello,

I want to dispatch and event from a cell renderer and call it in the view which has the parent datagrid. Any advice on how to do this? I don't need code, just a brief explanation would do. 
J

Many thanks,
Allen
www.prismix.com/
 

--
Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED LINKS
 





Web site design 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. 





--No virus found in this outgoing message.Checked by AVG Anti-Virus.Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 13/09/2005


--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. 




--No virus found in this incoming message.Checked by AVG Anti-Virus.Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 13/09/2005

--No virus found in this outgoing message.Checked by AVG Anti-Virus.Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 13/09/2005







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



  









Re: [flexcoders] Cairgorn Bug?

2005-09-16 Thread Omar Ramos



Nope, This is the call EventBroadcaster.getInstance().broadcastEvent(ScrapblogController.EVENT_SELECT_OBJECT, eventObj); The command only implements the Command interface and only has a if and a switch statement on execute thats it.



On 9/16/05, Mercer, Dustin [EMAIL PROTECTED] wrote:


Just curious, do you use any viewhelpers within your command?





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Omar RamosSent: Friday, September 16, 2005 5:54 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairgorn Bug?


I have set traces all over the place. No errors are occurring and the command gets executed. Any Idea what could be the problem?


On 9/14/05, Omar Ramos 
[EMAIL PROTECTED] wrote: 
Thanks alot for your reply ali, If in fact there was an error why the piece of code beneth that line doesn't get executed? I am checking the command it is executing just fine. Gona check on it again. 




On 9/14/05, Alistair McLeod 
[EMAIL PROTECTED]  wrote: 
Hi Omar,

An exception is probably getting thrown somewhere, either in the EventBroadcaster because the event hasn't been registered with a command, or within your command itself. 


Have you checked flashlog.txt (ensure you have debug player, mm.cfg etc).

Ali


-- Alistair McLeod 
Development Director iteration::two 
 
[EMAIL PROTECTED] Office: +44 (0)131 338 6108 
 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. 

Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. 







From: 
flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] 
On Behalf Of Omar RamosSent: 14 September 2005 00:43To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Cairgorn Bug?


Hi there,



There is something strange going with cairngorm in the application am currently developting. It seams that when I do a broadcast the lines of code beneth if doesn't execute.


I do this.



EventBroadcaster.getInstance().broadcastEvent(ScrapblogController.EVENT_SELECT_OBJECT, eventObj);trace(TEST);






and the trace never apears or the code beneth it never gets executed. Any ideas?







Omar Ramos

System Developer

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


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 Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 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.



  









Re: [flexcoders] Cairgorn Bug?

2005-09-16 Thread Omar Ramos



Hi mike,

That is the weird thing. Other commands work fine. Also this command works also but the code beneth doesn't get executed which is the weird thing. The command doesn't implement responder therefore it doesn't use delegate either. It just manipulates the ModelLocator. The command is executed way into the application so the controller and everything is instantiated. The command is registered correctly with the controller otherwise it would not execute.

On 9/16/05, Michael Herron [EMAIL PROTECTED] wrote:


There are only so many things it can be:

· 
Have you registered the event correctly with the controller?
· 
Has the controller been instantiated?
· 
Has the controller been instantiated BEFORE the event is broadcast? 
o 
When is the event broadcast?
· 
Are you instantiating a delegate from within your command?
· 
Are all services required by the delegates available when they are constructed?


-Mike




From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Omar RamosSent: 16 September 2005 15:40 
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Cairgorn Bug?




Nope, This is the call EventBroadcaster.getInstance().broadcastEvent(ScrapblogController.EVENT_SELECT_OBJECT, eventObj); The command only implements the Command interface and only has a if and a switch statement on execute thats it. 






On 9/16/05, Mercer, Dustin 
[EMAIL PROTECTED] wrote: 

Just curious, do you use any viewhelpers within your command?





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Omar RamosSent: Friday, September 16, 2005 5:54 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairgorn Bug?


I have set traces all over the place. No errors are occurring and the command gets executed. Any Idea what could be the problem? 


On 9/14/05, Omar Ramos 
 [EMAIL PROTECTED] wrote: 
Thanks alot for your reply ali, If in fact there was an error why the piece of code beneth that line doesn't get executed? I am checking the command it is executing just fine. Gona check on it again. 




On 9/14/05, Alistair McLeod 
 [EMAIL PROTECTED]  wrote: 
Hi Omar,

An exception is probably getting thrown somewhere, either in the EventBroadcaster because the event hasn't been registered with a command, or within your command itself. 


Have you checked flashlog.txt (ensure you have debug player, mm.cfg etc).

Ali


-- Alistair McLeod 
Development Director iteration::two 
 
[EMAIL PROTECTED] Office: +44 (0)131 338 6108 
 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. 

Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. 







From: 
flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] 
On Behalf Of Omar RamosSent: 14 September 2005 00:43To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Cairgorn Bug?


Hi there,



There is something strange going with cairngorm in the application am currently developting. It seams that when I do a broadcast the lines of code beneth if doesn't execute. 


I do this.



EventBroadcaster.getInstance().broadcastEvent(ScrapblogController.EVENT_SELECT_OBJECT, eventObj);trace(TEST); 






and the trace never apears or the code beneth it never gets executed. Any ideas?







Omar Ramos

System Developer

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


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 Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 


YAHOO! GROUPS LINKS 

Visit your group flexcoders on the web. 
To unsubscribe from

Re: [flexcoders] Cairgorn Bug?

2005-09-14 Thread Omar Ramos



Thanks alot for your reply ali, If in fact there was an error why the piece of code beneth that line doesn't get executed? I am checking the command it is executing just fine. Gona check on it again.
On 9/14/05, Alistair McLeod [EMAIL PROTECTED] wrote:

Hi Omar,

An exception is probably getting thrown somewhere, either in the EventBroadcaster because the event hasn't been registered with a command, or within your command itself.


Have you checked flashlog.txt (ensure you have debug player, mm.cfg etc).

Ali

-- Alistair McLeod Development Director iteration::two 
 [EMAIL PROTECTED] 
Office: +44 (0)131 338 6108  This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately.

Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.




From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Omar RamosSent: 14 September 2005 00:43To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Cairgorn Bug?


Hi there,

There is something strange going with cairngorm in the application am currently developting. It seams that when I do a broadcast the lines of code beneth if doesn't execute.
I do this.

EventBroadcaster.getInstance().broadcastEvent(ScrapblogController.EVENT_SELECT_OBJECT, eventObj);trace(TEST);


and the trace never apears or the code beneth it never gets executed. Any ideas?



Omar Ramos
System Developer--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design 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 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
  
  
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] Cairgorn Bug?

2005-09-13 Thread Omar Ramos



Hi there,

There is something strange going with cairngorm in the application am currently developting. It seams that when I do a broadcast the lines of code beneth if doesn't execute.
I do this.

EventBroadcaster.getInstance().broadcastEvent(ScrapblogController.EVENT_SELECT_OBJECT, eventObj);trace(TEST);


and the trace never apears or the code beneth it never gets executed. Any ideas?



Omar Ramos
System Developer






--
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] Setting focus on a specific cell.

2005-09-12 Thread Omar Ramos



Hi list,

Is there a way to set focus on a specific cell of a datagrid to put the cell in edit mode? Thanks for any help.



Omar Ramos
System Developer






--
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
  
  
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] Flash Remoting.

2005-09-09 Thread Omar Ramos



Hi list,

I know there is a way to hide the properties of a class when making a remoteObject call and sending a TypedObject(Class). Anyone remember what was the syntax for it? Something like _props. Any help will be apreciated. Thanks!



Omar Ramos
System Developer






--
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
  
  
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] Link Component

2005-08-25 Thread Omar Ramos
Hiya guys,

I am trying to disable the rollOver action on the Link component. It
seams it doesn't have a useRollOver = false property. Anyone have been
able to disable it some other way? Thanks


Omar Ramos
System Developer


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h9s44vb/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125005927/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Cairgorm question.

2005-08-22 Thread Omar Ramos
Hi again :),

I have a question about ViewHelpers again! I know the ViewHelpers are
there to massage the Model. But what when I have to invoke difrent
events of that specific view from other views? For example I am making
a drawing application and I have difrent methods for creating shapes
manipulating them ect. These methods need to be called from other
views that are deaply nested. Does this scenario justifies the
ViewHelper ? So that I can have difrent commands like DrawShapeCommand
or DrawRectangleCommand and have each view only dispatch the event to
draw a shape? Thanks and sorry for the trubles just trying to use your
framework correctly.


Omar Ramos
System Developer


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12ht76rsg/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124747494/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Cairgorm question.

2005-08-22 Thread Omar Ramos



This is what I had planed. The user can draw many things on the stage a ballon put a image or some text. So I was going to make a ViewHelper for the flex canvas component that would have the methods that create these views on the Canvas. Then a particular view would dispatch a event like CreateNewImageCommand and would invoke the correct Method on the ViewHelper and pass it a VO of the image to add. But don't know if this is the rigth implementation as in the documentation it seams that a ViewHelper is to massage the model and not manipulate the views directly and in this case am creating new views on the view.


Omar Ramos
System Developer
On 8/22/05, Scott Barnes [EMAIL PROTECTED] wrote:
Well personally, when writing components (which is kind of what yourstating you've done), i keep the views selfcontained.
An Example was a CustomCalendarIngredients:1xCombobox = month1xNumericStepper = year1xCalendar = dayNow my other views rely on the fact that these three controls triggera date change (depending on what you manipulate).
So do i write viewHelpers for every single container within myheirachy? not really (not in my view heheh)even though they feel like a view, in reality they are probablyconsidered a component and as such, encapsulation rules apply?
So what I do is inside my CustomCalendar.mxml i put the logic inthere, and keep one public variable up-to-date ...selectedDate:Date, then I dispatch an onChange event.In doing this my actual view can listen for a change, and then carry
out further instructions via its ViewHelper (ie update model, ortrigger an event broadcast). 
On 8/23/05, Omar Ramos [EMAIL PROTECTED]
 wrote: Hi again :),  I have a question about ViewHelpers again! I know the ViewHelpers are there to massage the Model. But what when I have to invoke difrent events of that specific view from other views? For example I am making
 a drawing application and I have difrent methods for creating shapes manipulating them ect. These methods need to be called from other views that are deaply nested. Does this scenario justifies the
 ViewHelper ? So that I can have difrent commands like DrawShapeCommand or DrawRectangleCommand and have each view only dispatch the event to draw a shape? Thanks and sorry for the trubles just trying to use your
 framework correctly.   Omar Ramos System Developer-- 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   -- Regards,Scott Barnes
http://www.mossyblog.com
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Computer software testing 

Macromedia flex 

Development 


Software developer 


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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] Cairgorm question.

2005-08-22 Thread Omar Ramos



Thanks for your responses. I can not give much details about the application as is confidential. But the application is also constantly comunicating with the database and .NET, so I have implemented Cairgorm for that part and it works nicely. But developing my canvas component I got to wonder what was the best way to have my other views invokemethods on the canvas to *Draw, Put a Image or Text* in itwithout having to directly reference it and avoid code like ( 
mx.core.application.canvas.pad.DrawRectangle() ). It is a complex application that uses drawing tools, database and xml ( DOM ) services. So the state of those shapes, images, ect will be stored on the server. Now you see where I thinkCairgorm fits in. I would put it all together and make it work, but the project needs to be scalable and maintainable and thus structured. Any ideas on how to best implement this type of project? Thanks for the replys and making me better understan Cairgorm.



Omar Ramos
System Developer






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

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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] Cairgorm command question.

2005-08-10 Thread Omar Ramos
Hi guys I have a simple question. Does my command need to have the
logic to manage the exceptiosn I recive from remoting and decide what
to do depending on the exception? or does that belong on the view
helper? Thanks for any feedback you can give with this.


Omar Ramos


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12ht5qhr4/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123702011/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Cairgorm command question.

2005-08-10 Thread Omar Ramos
Yeah I mean from the server I mite send difrent types of errors for
the same invocation. The logic for handeling the type of error and
taking action on the view corresponds on the command or the
viewhelper?

On 8/10/05, Allen Manning [EMAIL PROTECTED] wrote:
 Omar,
 
 I think 'onFault' or 'onStatus' is a method of the Responder.
 
 Allen
 www.prismix.com/
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Omar Ramos
 Sent: 10 August 2005 18:10
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Cairgorm command question.
 
 Hi guys I have a simple question. Does my command need to have the
 logic to manage the exceptiosn I recive from remoting and decide what
 to do depending on the exception? or does that belong on the view
 helper? Thanks for any feedback you can give with this.
 
 
 Omar Ramos
 
 
 
 --
 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 
 Computer software testing Macromedia flex Development 
 Software developer 
 
 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. 
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
   
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
 



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hipbm34/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123704380/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

--
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] Cairgorm command question.

2005-08-10 Thread Omar Ramos
Yeah thats what I tought. Command would send the error code or message
to the view helper and the helper applies the logic and takes action
on the view.

On 8/10/05, Omar Ramos [EMAIL PROTECTED] wrote:
 Yeah I mean from the server I mite send difrent types of errors for
 the same invocation. The logic for handeling the type of error and
 taking action on the view corresponds on the command or the
 viewhelper?
 
 On 8/10/05, Allen Manning [EMAIL PROTECTED] wrote:
  Omar,
 
  I think 'onFault' or 'onStatus' is a method of the Responder.
 
  Allen
  www.prismix.com/
 
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of Omar Ramos
  Sent: 10 August 2005 18:10
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Cairgorm command question.
 
  Hi guys I have a simple question. Does my command need to have the
  logic to manage the exceptiosn I recive from remoting and decide what
  to do depending on the exception? or does that belong on the view
  helper? Thanks for any feedback you can give with this.
 
 
  Omar Ramos
 
 
 
  --
  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
  Computer software testing Macromedia flex Development
  Software developer
  
  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.
   To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
  
 



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hqgcp4s/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123704377/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Cairgorm command question.

2005-08-10 Thread Omar Ramos
Thanks for your reply steven. Let me tell my case. I am checking a
subdomain on the .NET side and if the subdomain is not available .net
throws a DomainNotAvailable event with a error code. Now in flash if
the error code is DomainNotAvailable then I show the user some status
text on the view. The code that determinates either to show the user a
regular exception or a subdomain not available exception, where would
this code be? For example in the flexshop example in the cairgorm
example you have some methods on the viewhelper that notify the user
of the error. In my case I need to do some logic to know what error to
show the user.

Omar Ramos
System Developer
Nobox Marketing Group, Inc.

On 8/10/05, Steven Webster [EMAIL PROTECTED] wrote:
 Omar,
 
 ViewHelper should have *nothing* to do with handling faults.  You will have
 to decide how you choose to pass exceptions back from J2EE to Flex; you can
 catch those either in the onResult() or onFault() methods of your command
 classes, and handle accordingly.
 
 Note that you will not (typically) be throwing exceptions on the Java side
 and catching them on the client side.  Rather, if something happens in your
 server-side POJO/delegate/whatever that you can't handle, and need to defer
 to the client to handle, you will need to conceive a mechanism for passing
 status between the server and client.
 
 I'd anticipate you doing this in the onResult() of a command, rather than
 onFault().
 
 But remember - ViewHelpers should only be used to prepare and massage the
 model for rendering to the view.  ViewHelpers are *not* catch all places for
 any business logic that doesn't obviously fit in controller/command/delegate
 or service locator !!!
 
 Best,
 
 Steven
 
 
 --
 Steven Webster
 Technical Director
 iteration::two
 [EMAIL PROTECTED]
 
 Office:  +44 (0)131 338 6108
 Mobile: +44 (0)7977 216 223
 
 This e-mail and any associated attachments transmitted with it may contain
 confidential information and must not be copied, or disclosed, or used by
 anyone other than the intended recipient(s). If you are not the intended
 recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
 Please also note that while software systems have been used to try to ensure
 that this e-mail has been swept for viruses, iteration::two do not accept
 responsibility for any damage or loss caused in respect of any viruses
 transmitted by the e-mail. Please ensure your own checks are carried out
 before any attachments are opened.
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Omar Ramos
 Sent: 10 August 2005 18:49
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Cairgorm command question.
 
 Yeah thats what I tought. Command would send the error code or message to
 the view helper and the helper applies the logic and takes action on the
 view.
 
 On 8/10/05, Omar Ramos [EMAIL PROTECTED] wrote:
  Yeah I mean from the server I mite send difrent types of errors for 
  the same invocation. The logic for handeling the type of error and 
  taking action on the view corresponds on the command or the 
  viewhelper?
  
  On 8/10/05, Allen Manning [EMAIL PROTECTED] wrote:
   Omar,
  
   I think 'onFault' or 'onStatus' is a method of the Responder.
  
   Allen
   www.prismix.com/
  
  
  
   -Original Message-
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
   On Behalf Of Omar Ramos
   Sent: 10 August 2005 18:10
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Cairgorm command question.
  
   Hi guys I have a simple question. Does my command need to have the 
   logic to manage the exceptiosn I recive from remoting and decide 
   what to do depending on the exception? or does that belong on the 
   view helper? Thanks for any feedback you can give with this.
  
  
   Omar Ramos
  
  
  
   --
   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
   Computer software testing Macromedia flex Development Software 
   developer  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.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
   
  
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ:
 http

Re: [flexcoders] Cairgorm command question.

2005-08-10 Thread Omar Ramos
Sorry if I keep bothering you. So I would make a a ErrorViewHelper but
how does that ErrorViewHelper notify other views of the error without
using or referensing another viewhelper in it? For example on my
Invalid Subdomain exception I would want a particular view to know of
this error. Thanks and sorry!

On 8/10/05, Steven Webster [EMAIL PROTECTED] wrote:
 Hi Omar,
 
 Remember that we're building OO systems in Flex here...
 
 First off; you might consider having an ErrorViewHelper ... there's a good
 argument here for a view helper.  Your model is an exception, but you want
 to manipulate that model to prepare it for the view, ie to change an
 exception into a user-readable error message displayed in a dialog.  Perhaps
 you even have different icons to display in your error dialog depending on
 the exception thrown.  So in this case, you might want to consider an
 ErrorViewHelper that is responsible for popping up an error dialog with an
 appropriate error message/icon depending upon the exception thrown.
 
 So yes  perhaps a ViewHelper will work for you here, and I think it's a
 valid use-case for the pattern.
 
 But my earlier warning; remember you are building on OO system here.  So you
 should think about what business objects you can extract that have utility
 for your application.  I might think about creating an ErrorService class
 that sits outwith the Cairngorm framework and provides the utility that you
 require.  Your command classes can then become clients of your ErrorService
 class, which can be separately unit-tested.
 
 Cairngorm is doing 80% of the heavy-lifting on most applications, and gives
 structure to your workflow.  But, I'd really like to see developers
 continuing to take responsibility for application-specific business domain
 objects, rather than abdicating responsibility for where behavior resides,
 to a best-fit choice of command, business delegate or view helper.
 
 Make sense ?
 
 Steven
 PS.  I hate class names ending in Manager or Service - it's just such an
 overused suffix that lacks ingenuity.  ExceptionManager, ErrorService,
 ErrorManager  aaargh.  See if you can find a name that describes your
 particular problem's solution a little better than I can. :)
 
 --
 Steven Webster
 Technical Director
 iteration::two
 [EMAIL PROTECTED]
 
 Office:  +44 (0)131 338 6108
 Mobile: +44 (0)7977 216 223
 
 This e-mail and any associated attachments transmitted with it may contain
 confidential information and must not be copied, or disclosed, or used by
 anyone other than the intended recipient(s). If you are not the intended
 recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
 Please also note that while software systems have been used to try to ensure
 that this e-mail has been swept for viruses, iteration::two do not accept
 responsibility for any damage or loss caused in respect of any viruses
 transmitted by the e-mail. Please ensure your own checks are carried out
 before any attachments are opened.
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Omar Ramos
 Sent: 10 August 2005 20:42
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Cairgorm command question.
 
 Thanks for your reply steven. Let me tell my case. I am checking a subdomain
 on the .NET side and if the subdomain is not available .net throws a
 DomainNotAvailable event with a error code. Now in flash if the error code
 is DomainNotAvailable then I show the user some status text on the view. The
 code that determinates either to show the user a regular exception or a
 subdomain not available exception, where would this code be? For example in
 the flexshop example in the cairgorm example you have some methods on the
 viewhelper that notify the user of the error. In my case I need to do some
 logic to know what error to show the user.
 
 Omar Ramos
 System Developer
 Nobox Marketing Group, Inc.
 
 On 8/10/05, Steven Webster [EMAIL PROTECTED] wrote:
  Omar,
  
  ViewHelper should have *nothing* to do with handling faults.  You will 
  have to decide how you choose to pass exceptions back from J2EE to 
  Flex; you can catch those either in the onResult() or onFault() 
  methods of your command classes, and handle accordingly.
  
  Note that you will not (typically) be throwing exceptions on the Java 
  side and catching them on the client side.  Rather, if something 
  happens in your server-side POJO/delegate/whatever that you can't 
  handle, and need to defer to the client to handle, you will need to 
  conceive a mechanism for passing status between the server and client.
  
  I'd anticipate you doing this in the onResult() of a command, rather 
  than onFault().
  
  But remember - ViewHelpers should only be used to prepare and massage 
  the model for rendering to the view.  ViewHelpers are *not* catch all 
  places for any business logic that doesn't obviously fit in 
  controller/command/delegate or service

Re: [flexcoders] Cairgorm command question.

2005-08-10 Thread Omar Ramos
Ok this is the scenario. I have a wizard screen that is on a popup.
One of the steps of the wizard is to chose a subdomain and the
customer wants a promp bar kinda of a like a status message text that
will display erros like Your subdomain is taken. So I can not use
Popups and need to go from the command to find the popup view and set
the text directly which is what am trying not to do. Wouln't it be bad
practice to use state variables on the MoldelLocator just to use them
once? Anyways let me know what you think.

On 8/10/05, Steven Webster [EMAIL PROTECTED] wrote:
 When you say notify other views of the error, more specifically, what do
 you want these other views to do as a result of the error condition ?
 
 Surely only one view can display a popup ?  Or is it that as a result of
 your error, you want to put the application into a known state in which
 other views behave accordingly ?
 
 I think this is leading back to ... set a state on the ModelLocator and bind
 your views to the state.
 
 Let me know a bit more detail about what you're trying to render in the UI
 here ?
 
 Steven 
 
 
 --
 Steven Webster
 Technical Director
 iteration::two
 [EMAIL PROTECTED]
 
 Office:  +44 (0)131 338 6108
 Mobile: +44 (0)7977 216 223
 
 This e-mail and any associated attachments transmitted with it may contain
 confidential information and must not be copied, or disclosed, or used by
 anyone other than the intended recipient(s). If you are not the intended
 recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
 Please also note that while software systems have been used to try to ensure
 that this e-mail has been swept for viruses, iteration::two do not accept
 responsibility for any damage or loss caused in respect of any viruses
 transmitted by the e-mail. Please ensure your own checks are carried out
 before any attachments are opened.
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Omar Ramos
 Sent: 10 August 2005 23:05
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Cairgorm command question.
 
 Sorry if I keep bothering you. So I would make a a ErrorViewHelper but how
 does that ErrorViewHelper notify other views of the error without using or
 referensing another viewhelper in it? For example on my Invalid Subdomain
 exception I would want a particular view to know of this error. Thanks and
 sorry!
 
 On 8/10/05, Steven Webster [EMAIL PROTECTED] wrote:
  Hi Omar,
  
  Remember that we're building OO systems in Flex here...
  
  First off; you might consider having an ErrorViewHelper ... there's a 
  good argument here for a view helper.  Your model is an exception, 
  but you want to manipulate that model to prepare it for the view, ie 
  to change an exception into a user-readable error message displayed in 
  a dialog.  Perhaps you even have different icons to display in your 
  error dialog depending on the exception thrown.  So in this case, you 
  might want to consider an ErrorViewHelper that is responsible for 
  popping up an error dialog with an appropriate error message/icon
 depending upon the exception thrown.
  
  So yes  perhaps a ViewHelper will work for you here, and I think 
  it's a valid use-case for the pattern.
  
  But my earlier warning; remember you are building on OO system here.  
  So you should think about what business objects you can extract that 
  have utility for your application.  I might think about creating an 
  ErrorService class that sits outwith the Cairngorm framework and 
  provides the utility that you require.  Your command classes can then 
  become clients of your ErrorService class, which can be separately
 unit-tested.
  
  Cairngorm is doing 80% of the heavy-lifting on most applications, and 
  gives structure to your workflow.  But, I'd really like to see 
  developers continuing to take responsibility for application-specific 
  business domain objects, rather than abdicating responsibility for 
  where behavior resides, to a best-fit choice of command, business delegate
 or view helper.
  
  Make sense ?
  
  Steven
  PS.  I hate class names ending in Manager or Service - it's just such 
  an overused suffix that lacks ingenuity.  ExceptionManager, 
  ErrorService, ErrorManager  aaargh.  See if you can find a name 
  that describes your particular problem's solution a little better than 
  I can. :)
  
  --
  Steven Webster
  Technical Director
  iteration::two
  [EMAIL PROTECTED]
  
  Office:  +44 (0)131 338 6108
  Mobile: +44 (0)7977 216 223
  
  This e-mail and any associated attachments transmitted with it may 
  contain confidential information and must not be copied, or disclosed, 
  or used by anyone other than the intended recipient(s). If you are not 
  the intended
  recipient(s) please destroy this e-mail, and any copies of it,
 immediately.
  
  Please also note that while software systems have been used to try to 
  ensure that this e-mail has been

[flexcoders] Flex XPATH API.

2005-07-26 Thread Omar Ramos
Does flex also has a XPATH API like in flash mx mx.xpath.XPathAPI package?


--
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] Breakline in Buttons.

2005-07-18 Thread Omar Ramos
Hi everyone,

Is there a way to instert line breaks in a button? so I can have
multiline text in it. I have tried html but it doesn't render it. Any
ideas? thanks.




Omar Ramos
System Developer
Nobox Marketing Group, Inc




--
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] Image component rescaling.

2005-07-05 Thread Omar Ramos
Hi flexcoders,

Does anyone have the code to resize a image to maintain aspect ratio
manualy? I would like the user to alter the width and height of a
image using the mouse in say incrementes of 5px but maintaining aspect
ratio. Any help would be apreciated.



Omar


--
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] Image component rescaling.

2005-07-05 Thread Omar Ramos
yeah I seen it, thanks for the reply. I need to do it manualy in some
cases like when I create the handles for the user to drag them and
resize the image.


omar

On 7/5/05, Manish Jethani [EMAIL PROTECTED] wrote:
 On 7/5/05, Omar Ramos [EMAIL PROTECTED] wrote:
 
  Does anyone have the code to resize a image to maintain aspect ratio
  manualy? I would like the user to alter the width and height of a
  image using the mouse in say incrementes of 5px but maintaining aspect
  ratio.
 
 Before you try to write code to do it, have you seen the
 maintainAspectRatio property of the Image component?  Set it to true
 and it'll be taken care of.
 
 http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/Image.html
 
 
 --
 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. 
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
   
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
 



--
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] Image component rescaling.

2005-07-05 Thread Omar Ramos
Because there are times where the image won't be in the image tag and
in a movieclip and need to scale it there also.

On 7/5/05, Manish Jethani [EMAIL PROTECTED] wrote:
 On 7/5/05, Omar Ramos [EMAIL PROTECTED] wrote:
  yeah I seen it, thanks for the reply. I need to do it manualy in some
  cases like when I create the handles for the user to drag them and
  resize the image.
 
 Have you tried just setting the property?
 
 ?xml version=1.0?
 mx:Application
 xmlns:mx=http://www.macromedia.com/2003/mxml;
   xmlns=*
   mx:Button label=w+ click=img.width += 10 /
   mx:Button label=h+ click=img.height += 10 /
   mx:Image id=img source=b.jpg maintainAspectRatio=true /
 /mx:Application
 
 If the image size changes it always maintains the size as per the
 aspect ratio.  Why would you write extra code to do this?
 
 
 --
 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. 
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
   
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
 



--
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] Flex Containers.

2005-04-16 Thread Omar Ramos





Is there a way to 
make flex containers grow in size insted of showing a scroll bar? I know you can 
use 100% values on widths and heigths but lets say you have a viewstack and 
inside you have a product search component that uses a repeater to display 
products, but each time there are more products on the repeater a scroll bar 
comes up on the viewstack and what I would want is the viewstack itself grow so 
only the main Application scroll bar comes up. Any help would be 
apreciated.

Omar Ramos
Technology Manager
www.itacon.net
 








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 the Yahoo! Terms of Service.










RE: [flexcoders] Flex Containers.

2005-04-16 Thread Omar Ramos





Thanks for the reply, this is weird tho I see the property 
in the docs but when I try it, the compiler tells me that viewstack doesn't have 
that property.

Omar Ramos
Technology Manager
www.itacon.net
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tom 
FitzpatrickSent: Saturday, April 16, 2005 2:15 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex 
Containers.
Omar - yes, it's an undocumented feature that took me a while to 
find out about. In your ViewStack, set resizeToContent="true".That's 
it.Works for tab containers, too.- TomAt 02:00 PM 
4/16/2005, you wrote:Is there a way to make flex containers grow in size 
insted of showing a scroll bar?







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 the Yahoo! Terms of Service.










RE: [flexcoders] Flex Containers.

2005-04-16 Thread Omar Ramos





yes, wonder if cuz its .NET beta 
edition.

Omar Ramos
Technology Manager
www.itacon.net
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tom 
FitzpatrickSent: Saturday, April 16, 2005 3:10 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 
Containers.
Are you using Flex 1.5?At 02:47 PM 4/16/2005, you 
wrote:Thanks for the reply, this is weird tho I see the property in the 
docs but when I try it, the compiler tells me that viewstack doesn't 
have that property.







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 the Yahoo! Terms of Service.










RE: [flexcoders] Passing an array to titlewindow

2005-04-06 Thread Omar Ramos
Title: Passing an array to titlewindow





Hi jeroen,

You can use the init obj of the title window to set any 
variables on you component.

Omar Ramos
Itacon Corporation
Technology Manager


From: Jeroen De Vos 
[mailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 
2005 10:29 AMTo: flexcoders@yahoogroups.comSubject: 
[flexcoders] Passing an array to titlewindow

Hi all, 
I need to pass an array, containing data to fill up a 
combobox, to a titlewindow (created by the popupmanager). 
How do I do this? 
Thanks, Jeroen. 
 
Jeroen De Vos Gemeentelijk Havenbedrijf Antwerpen 
C/ICT - AMARIS  
Deze e-mail en alle gekoppelde bestanden zijn officiele 
documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke 
of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail 
of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen 
en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te 
verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf 
Antwerpen is op geen enkele manier verantwoordelijk voor fouten of 
onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf 
Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte 
schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of 
fout in deze e-mail. English Translation: This e-mail and all attached 
files are official documents of Antwerp Port Authority and may contain 
confidential or personal information. If you have received this e-mail in error, 
you are asked to inform the sender by e-mail or telephone immediately, and to 
remove it from your system without reading or reproducing it or passing it on to 
other parties. Antwerp Port Authority is in no way responsible for any errors or 
inaccuracies in the contents of this e-mail, nor can it be held liable for any 
direct or indirect loss, damage or inconvenience arising from any such errors or 
inaccuracies.[GHA#Disclaimer]







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 the Yahoo! Terms of Service.










RE: [flexcoders] Re: Simple Cairngorm architecture question

2005-04-05 Thread Omar Ramos





Why do you have to only have one click method? You can use 
the Delegate class to redirect each event to a difrent 
method.

Omar Ramos
Itacon Corporation
Technology Manager


From: cazzaran [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 4:34 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Simple Cairngorm 
architecture question
You're right. My question, is where should I put the click() 
thatkicks off the event. I COULD put it in the MXML, and just have 
theview capture the click from the Alert and then broadcast the 
event,but a problem occurs once I have more than one button that needs 
tohave an Alert attached; I can only have one click(). So now I need 
tofind a place to put a click() for each Alert box... is the right 
placeinside the Command class for each button's 
function?-Josh--- In flexcoders@yahoogroups.com, "Jeff Krueger" 
[EMAIL PROTECTED] wrote: Maybe I don't fully understand the 
question. But it seems that youwould broadcast the 
"DeleteGroup" event only once the click of ok was pressed. The broadcast 
will find the command to do the work and then notifythe view helper 
when done.  Jeff   -Original 
Message- From: cazzaran [mailto:[EMAIL PROTECTED]  Sent: Tuesday, 
April 05, 2005 2:13 PM To: flexcoders@yahoogroups.com Subject: 
[flexcoders] Simple Cairngorm architecture question   
 I have a simple architectural philosophy question regarding 
Cairngorm.  I am using the Contoller, Command, and ViewHelper 
pattern, which is working out perfectly -- except in one situation... 
And it's not that I can't get this to work, it's that I'm curious what 
the proper way to do it would be.  I have a delete 
button that allows my users to delete a Group out of a list. The issue 
is that I need to provide an Alert box with a OK/Cancel buttons. This 
alert box needs to be given a listener object with a click() method. 
  My question is where does this belong? In the MXML that shows 
the Delete button, the DeleteGroupCommand, the ViewHelper associated 
with the view, or somewhere else entirely? This is a kind of hiccup in 
the whole Controller to Command flow...
Yahoo! Groups 
Links







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 the Yahoo! Terms of Service.










RE: [flexcoders] Re: Simple Cairngorm architecture question

2005-04-05 Thread Omar Ramos





Hi Josh,

Here is a example of how you would do 
it.

var alertListener:Function = 
Delegate.create(this,OnAlert_Click);

Alert.show("This is a test of errors", "Error", Alert.OK | Alert.CANCEL, 
this, alertListener);

function 
OnAlert_Click(){trace("CLICK");}

or you 
could also do this.

Alert.show("This 
is a test of errors", "Error", Alert.OK | Alert.CANCEL, this, 
Delegate.create(this,OnAlert_Click));

hope it helps.

Omar Ramos
Itacon Corporation
Technology Manager




From: Aral Balkan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 5:29 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Simple 
Cairngorm architecture question
Hi Josh, If you looks at the mx.controls.Alert class, 
you can only give theshow() method a listener object, and that object 
must implement aclick() method.As Omar was saying earlier, 
you can use a Delegate in place of the listener. Instead of a listener 
reference (object or function), pass it a delegate function using the 
Delegate factory. ie,Delegate.create ( this, someOnClickMethod 
).All the 
best,Aral







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 the Yahoo! Terms of Service.










RE: [flexcoders] Cairngorm Question.

2005-03-31 Thread Omar Ramos
Title: Message





Yes I had tho of that idea ben. But was wondering what was 
the clean way to do it. Thanks for the reply's so far.

Omar Ramos
Itacon Corporation
Technology Manager


From: Ben Elmore [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 31, 2005 2:17 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm 
Question.

The 
way Cairngorm current architects the ViewHelper is that itrequires 
eachViewHelper to register itself to the ViewLocator under a unique name. 
Therefore if you are attaching theview dynamically in a repeater and using 
the samevalue in the 'name' attributefor the ViewHelpers 
thenthe ViewLoactor will throw an error.

One 
approach to your solution is to have the each of your views bubble up its 
methods to the parent view that the repeater exists in. 

For 
example (in code babble).

MyMainView.mxml

mx:script
 public activeChild : MovieClip = null;

 function parentHandleMethod(evt)
 {
 // store current child view to 
local var
 
activeChild = 
evt.target'

// do server 
call

 }
/ms:script

mx:repeater
 me:mychildView 
 

/mx:repeater
...

MyChildView.mxml

mx:Metadata
 [Event("onCustomEvent1")]
 
[Event("onCustomEvent2")]
/mx:Metadata


mx:Button click="this.dispatchEvent({type='onCustomEvent1', 
otherAttributes=''})"


In 
this example instead of having the child view handle the logic itself 
(communicating to the server) it tells the parent too. Or more correctly says 
'someone please do this for me' the parent will know which of the child views to 
get the data from since the dispatch event automatically keeps track of the 
target in which the event was dispatch from.

This 
is just a suggestion. There are other options out there, perhaps better or more 
correct then this approach.

Ben



-----Original Message-From: Omar 
Ramos [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 12:53 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
Cairngorm Question.

  Anyone?
  
  Omar Ramos
  Itacon Corporation
  Technology Manager
  
  
  From: Omar Ramos [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, March 30, 2005 8:18 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm 
  Question.
  
  Hi 
  all,
  
  I am using the 
  Cairngorm plataform but had a small question. How can I use the viewhelper 
  technique when I attach view dynamicaly? For example I have a mxml component 
  and put a view helper attached to it and use this component on a repeater and 
  5 instances are made. When I call the getViewHelper method which of those 5 
  reference will it give me? Any help would be apreaciated.
  
  
  
  Omar 
  Ramos
  Itacon 
  Corporation
  Technology 
  Manager







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 the Yahoo! Terms of Service.










[flexcoders] Cairngorm Question.

2005-03-30 Thread Omar Ramos





Hi 
all,

I am using the 
Cairngorm plataform but had a small question. How can I use the viewhelper 
technique when I attach view dynamicaly? For example I have a mxml component and 
put a view helper attached to it and use this component on a repeater and 5 
instances are made. When I call the getViewHelper method which of those 5 
reference will it give me? Any help would be apreaciated.



Omar 
Ramos
Itacon 
Corporation
Technology 
Manager







Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










RE: [flexcoders] Theory and Practice: Mixing AS2.0 in MXML

2005-03-03 Thread Omar Ramos



I was about to say that. It's besicaly like asp.NET where 
you have the tag bas view on the html and the code in C# or VB in a code-behind 
file. I use jimmy's method using the viewHelper because otherwise you wouldhave 
the mxml file a actionscrip class (code-behind) and the viewHelper also if you 
would use the framework.

Omar 
Ramos
Technology 
Manager
Itacon 
Corporation


From: Matt Chotin 
[mailto:[EMAIL PROTECTED] Sent: Thursday, March 03, 2005 12:31 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
Theory and Practice: Mixing AS2.0 in MXML


Im reading these posts 
but have no time to respond (nor to any other posts right now), though the 
discussion is a good one and I dont have strong opinions either way (taking 
into account of course that Im strongly loyal to binding). Theonly thing 
Ill contribute is that Im gonna refer to Eriks technique as view-behind in 
deference to the ASP.NET approach called code-behind (eh, I dont know how the 
punctuate it). I now expect a nickel every time I see view-behind in a 
flexcoders post J

Carry 
on,
Matt





From: Erik 
Westra [mailto:[EMAIL PROTECTED] Sent: Thursday, March 03, 2005 10:30 
AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Theory and 
Practice: Mixing AS2.0 in MXML

That was my initial 
approach too, but eventualy it was easier to track bugs and 'mis-references' 
since i extended the component i was accessing. Now i get an error when i try to 
reference a textfield that isnt there. Another thing that is a pro for thiskind 
of approach, is that the mxml file doesnt have to know wich method to call in 
the helper class.

Greetz 
Erik





From: Dimitrios 
Gianninas [mailto:[EMAIL PROTECTED] Sent: donderdag 3 maart 2005 
16:22To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Theory and 
Practice: Mixing AS2.0 in MXML
I tend 
to put such code in the corresponding ViewHelper class, so every view (MXML 
file) has a corresponding ViewHelper class. See sample 
below:

Inboxes.mxml
mx:Box
 ...
 vw:InboxesViewHelper 
id="inboxesHelper" view="{this}"/
 
...

 mx:List 
id="inboxList" width="165" height="100%" 
labelField="name" 
vScrollPolicy="auto" 
change="inboxesHelper.doLoadInbox(inboxList.selectedItem.id)" 
/

 
...
/mx:Box

Jimmy 
Gianninas
Software 
Developer - 
Optimal 
Payments Inc.





RE: [flexcoders] Learning to connect actionscript pages to mxml pages

2005-02-24 Thread Omar Ramos
Hi matt,

try this

mx:Script source=brandnewas.as/


Omar Ramos
Technology Manager
www.itacon.net
http://www.itacon.net/ 


_ 

From: Matt Horn [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 24, 2005 12:07 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Learning to connect actionscript pages to mxml
pages


Try putting quotes around the {this} in the brandnewas tag:

brandnewas id=bna bnaview={this} /

matt h



_ 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 24, 2005 10:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Learning to connect actionscript pages to mxml pages


I am trying to teach myself how to make an mxml page and connect it to an
action script page. To do this I am trying out the simplest program
possible. I will show you all the code I have written for both files and
what I did was just make a simple mxml page with no extra code and linked it
to an action script page with what I believed to be the correct syntax. 
Here is the mxml file:
?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=1738
height=1412 xmlns=* 

brandnewas id=bna bnaview={this} /

/mx:Application

Here is the .as file I am trying to link it to
// ActionScript Document
class brandnewas
{
public var bnaview:Object;
public function brandnewas()
{}
}






The error message I have been getting is that an mxml tag must be embedded
within an application tag to either run or debug it. I also get an error
message at the bottom for the mxml file that says in the description
Expected an attribute value[xml] I am confused for a few reasons one
being I thought I had an application tage around the brandnewas tag, and two
I am not sure what var needs the attribute value?




Yahoo! Groups Sponsor   

ADVERTISEMENT

http://us.ard.yahoo.com/SIG=129si8uoo/M=298184.6018725.7038619.3001176/D=gr
oups/S=1705007207:HM/EXP=1109347647/A=2593423/R=0/SIG=11el9gslf/*http://www.
netflix.com/Default?mqso=60190075 click here   

http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S=
:HM/A=2593423/rand=495013317 


_ 

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]
mailto:[EMAIL PROTECTED] 


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



--=_NextPart_001_0019_01C51A9A.2A0518B0
Content-Type: text/html;
charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=3DContent-Type content=3Dtext/html; charset=3Dus-ascii
META content=3DMSHTML 6.00.2900.2604 name=3DGENERATOR/HEAD
BODY
DIV dir=3Dltr align=3DleftSPAN class=3D171295521-24022005FONT face=3DA=
rial=20
color=3D#ff size=3D2Hi matt,/FONT/SPAN/DIV
DIV dir=3Dltr align=3DleftSPAN class=3D171295521-24022005FONT face=3DA=
rial=20
color=3D#ff size=3D2/FONT/SPANnbsp;/DIV
DIV dir=3Dltr align=3DleftSPAN class=3D171295521-24022005FONT face=3DA=
rial=20
color=3D#ff size=3D2try this/FONT/SPAN/DIV
DIV dir=3Dltr align=3DleftSPAN class=3D171295521-24022005FONT face=3DA=
rial=20
color=3D#ff size=3D2/FONT/SPANnbsp;/DIV
DIV dir=3Dltr align=3DleftSPAN class=3D171295521-24022005FONT face=3DA=
rial=20
color=3D#ff size=3D2nbsp; lt;mx:Script=20
source=3Dbrandnewas.as/gt;/FONT/SPAN/DIV
DIVFONT face=3DArial color=3D#ff size=3D2/FONTnbsp;/DIV
DIVnbsp;/DIV
DIV align=3DleftFONT face=3DBook Antiqua color=3D#a0 size=3D4EM=
Omar=20
Ramos/EM/FONT/DIV
DIV align=3DleftFONT face=3DArial size=3D2Technology Manager/FONT/DI=
V
DIV align=3DleftFONT face=3DArial color=3D#ff=20
size=3D2www.itacon.net/FONT/DIV
DIV align=3DleftA href=3Dhttp://www.itacon.net/;IMG=20
src=3Dhttp://www.itacon.net/images/itacon.jpg; width=3D120 border=3D0=20
heigth=3D25/A /DIV
DIVnbsp;/DIVBR
DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft
HR tabIndex=3D-1
FONT face=3DTahoma size=3D2BFrom:/B Matt Horn [mailto:[EMAIL PROTECTED]
a.com]=20
BRBSent:/B Thursday, February 24, 2005 12:07 PMBRBTo:/B=20
flexcoders@yahoogroups.comBRBSubject:/B RE: [flexcoders] Learning to=
=20
connect actionscript pages to mxml pagesBR/FONTBR/DIV
DIV/DIV
DIV dir=3Dltr align=3DleftSPAN class=3D818110616-24022005FONT face=3DA=
rial=20
color=3D#ff size=3D2Try puttingnbsp;quotes around the {this}nbsp; in=
the=20
brandnewas tag:/FONT/SPAN/DIV
DIV dir=3Dltr align=3DleftSPAN class=3D818110616-24022005FONT face=3DA=
rial=20
color=3D#ff size=3D2/FONT/SPANnbsp;/DIV
DIV dir=3Dltr align=3DleftSPAN class=3D818110616-24022005FONT face=3DA=
rial=20
color=3D#ff size=3D2FONT face=3DCourier New color=3D#00=20
size=3D3lt;brandnewas id=3Dbna bnaview=3D{this}=20
/gt;/FONTBR/FONT/SPAN/DIV
DIVSPAN class=3D818110616-24022005FONT face=3DArial color=3D#ff si=
ze=3D2matt=20
h/FONT/SPAN/DIV
DIVFONT face=3DArial color=3D#ff