[flexcoders] Re: Setting Menu Enable option at run-time

2006-06-11 Thread Tim Hoff



Here's one way to do it. The cool thing is that, in this example, the XML enabled attribute actually binds to thecontrol's enabled property (good thinking Adobe). If you're using Cairngorm, you can also use this method to dispatch XML defined menu events.
Cheers,Tim Hoff
?xml version="1.0" encoding="utf-8"?mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" 
 mx:Script ![CDATA[
 import mx.events.MenuEvent;  import org.ets.main.code.model.ModelLocator;import org.nevis.cairngorm.control.CairngormEvent;  private function handleTopMenu(event:MenuEvent):void  {   var cairngormEvent:CairngormEvent = new CairngormEvent([EMAIL PROTECTED]);   dispatchEvent(cairngormEvent);  } ]] /mx:Script mx:XML format="e4x" id="topMenuData" root menuitem label="Search" enabled="true"  menuitem label="Authors" enabled="true" event="showSearchAuthors"/  menuitem label="Plagiarists" enabled="false" event="showSearchPlagiarists"/ /menuitem menuitem label="Reports" enabled="true" menuitem label="Authors" enabled="true" event="printAuthors"/  menuitem label="Plagierists" enabled="false" event="printPlagiarists"/ /menuitem /root/mx:XML mx:ApplicationControlBar width="100%" mx:MenuBar id="topMenuBar"height="100%" width="100%"  dataProvider="{topMenuData}"  showRoot="false" labelField="@label"   change="handleTopMenu(event);" /mx:MenuBar /mx:ApplicationControlBar/mx:Canvas
--- In flexcoders@yahoogroups.com, "Wally Randall" [EMAIL PROTECTED] wrote: I have a large menu with about 100 different nodes and sub-nodes. I am trying to design a means of enabling the menu nodes at run-time rather than hardcoded in the mxml menu application.  I envisage having the menu call a ColdFusion CFC to dynamically build the menu menubarXML list with the user-specific options enabled from the Application creationComplete event.  Does anyone have an example of how to do this in AS3?  Is this the best way of handling this type of menu?

__._,_.___





--
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] Re: Setting Menu Enable option at run-time

2006-06-11 Thread Tim Hoff
Of course, you would replace the example XML the XML that is 
returned from your data service.

-TH

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

 
 Here's one way to do it.  The cool thing is that, in this example, 
the
 XML enabled attribute actually binds to the control's enabled 
property
 (good thinking Adobe).  If you're using Cairngorm, you can also 
use this
 method to dispatch XML defined menu events.
 
 Cheers,
 Tim Hoff
 
 ?xml version=1.0 encoding=utf-8?
 mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml
 http://www.adobe.com/2006/mxml 
  width=100% height=100%
 
  mx:Script
![CDATA[
 
  import mx.events.MenuEvent;
  import org.ets.main.code.model.ModelLocator;
  import org.nevis.cairngorm.control.CairngormEvent;
 
  private function handleTopMenu
(event:MenuEvent):void
  {
  var cairngormEvent:CairngormEvent = new
 CairngormEvent([EMAIL PROTECTED] mailto:[EMAIL PROTECTED] );
  dispatchEvent(cairngormEvent);
  }
 
 ]]
  /mx:Script
 
  mx:XML format=e4x id=topMenuData
  root
   menuitem label=Search enabled=true
menuitem label=Authors enabled=true
 event=showSearchAuthors/
menuitem label=Plagiarists enabled=false
 event=showSearchPlagiarists/
   /menuitem
   menuitem label=Reports enabled=true
menuitem label=Authors enabled=true
 event=printAuthors/
menuitem label=Plagierists enabled=false
 event=printPlagiarists/
   /menuitem
   /root
  /mx:XML
 
  mx:ApplicationControlBar width=100%
mx:MenuBar id=topMenuBar
   height=100% width=100%
   dataProvider={topMenuData}
   showRoot=false labelField=@label
   change=handleTopMenu(event);
/mx:MenuBar
  /mx:ApplicationControlBar
 
 /mx:Canvas
 
 
 
 --- In flexcoders@yahoogroups.com, Wally Randall wally.randall@
 wrote:
 
  I have a large menu with about 100 different nodes and sub-
nodes. I
  am trying to design a means of enabling the menu nodes at run-
time
  rather than hardcoded in the mxml menu application.
 
  I envisage having the menu call a ColdFusion CFC to dynamically 
build
  the menu menubarXML list with the user-specific options enabled 
from
  the Application creationComplete event.
 
  Does anyone have an example of how to do this in AS3?
 
  Is this the best way of handling this type of menu?
 







 Yahoo! Groups Sponsor ~-- 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Resize handle hack?

2006-06-11 Thread John Grden



I wanted to know if there was any way that was built into flex where you could grab the bottom right corner and resize a panel/window? I mocked it by checking for mouseX/Y, and then just simply updating the width/height based on the mouse location.
Is there something built in for this sort of thing?  private function updateSize(xdif:Number, ydif:Number):void{ width = mouseX+xdif; height = mouseY+ydif;}
-- John Grden - Blitz

__._,_.___





--
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] Flex2B3: Problem returning Object[] from a RemoteObject call

2006-06-11 Thread aejaz_98



Hi,I am calling a java method on server side which returnsan array of type Object[]. On the client side I do thefollowing,var arr:Array = remoteObject.call();Doing this gives me an exception which says,TypeError: Error #1034: Type Coercion failed: cannot convert mx.rpc::[EMAIL PROTECTED] to Array.After changing the type of arr to AsyncToken ,I do see that there is a result field in the AsyncToken object which was returned but that too is null. What is the significance of the AsyncToken object here ?According to the Flex Developer's guide(page 1154), I would havegot an Array as the result of the call. Please let me know what am I doing wrong.Thanks,Aejaz

__._,_.___





--
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] Re: Flex2B3: Problem returning Object[] from a RemoteObject call

2006-06-11 Thread aejaz_98
I just wanted to add that the call is executing successfully on the
server side as shown by tomacat debug log.

Thanks,
Aejaz

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

 Hi,
 
 I am calling a java method on server side which returns
 an array of type Object[]. On the client side I do the
 following,
 
 var arr:Array = remoteObject.call();
 
 Doing this gives me an exception which says,
 
 TypeError: Error #1034: Type Coercion failed: cannot convert
 mx.rpc::[EMAIL PROTECTED] to Array.
 
 After changing the type of arr to AsyncToken ,I do see that
 there is a result field in the AsyncToken object which was
 returned but that too is null. What is the significance of
 the AsyncToken object here ?
 
 According to the Flex Developer's guide(page 1154), I would have
 got an Array as the result of the call. Please let me know what am
 I doing wrong.
 
 Thanks,
 Aejaz







 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Automated migration to Flex 2

2006-06-11 Thread maxym.hryniv
Is there any tool for automated migration to Flex 2??? Of course a lot 
of work has to be done by hand, but i want to simplify this process.






 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Automated migration to Flex 2

2006-06-11 Thread Abdul Qabiz



Regex, Grep etc can help you do things.Sorry, I am not aware of any migration tool from Adobe.-abdulOn 6/11/06, maxym.hryniv 
[EMAIL PROTECTED] wrote:








  



Is there any tool for automated migration to Flex 2??? Of course a lot 
of work has to be done by hand, but i want to simplify this process.


  















__._,_.___





--
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] How to drag a file into Flash?

2006-06-11 Thread Abdul Qabiz



Hi, RickNo Flash/Flex Applications (neither in browser nor as standalone) can handle such Drag  Drop operations.But it would really be cool feature and I understand, it won't take much effort to do that ? 
With Web 2.0/RIA stuff, such feature would really be important.For standalone applications, you can wrap your flex app inside C++/Delphi/VB application or use any third party SWF wrappers (SWFStudio, Zinc etc).. That would allow you do more low level stuff.
-abdulOn 6/11/06, Rick Schmitty [EMAIL PROTECTED] wrote:









  



File upload/download is a great leap forward and much appreciated!
But there has to be a way to allow Flash to accept a drag/drop from
the OS.  Just like if you were in Photoshop and you dragged an image
to the program.

When a swf is played through the browser, is Drag/Drop allowance a
browser issue?  For example if you goto adobe.com and drag an image
around the homepage from your desktop, the browser will show it valid
until it gets to a swf and the you get the no sign

If you used the Flash Player stand alone, could a feature request like
this be possible?

Perhaps Mac's just spoiled me with dragndropn everywhere and anywhere :)

  















__._,_.___





--
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] how to set ProgressBar height?

2006-06-11 Thread shemeshkale
using flex 1.5
is there a way to change the ProgressBar height?
the height property isn't working.





 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Flex2B3: Problem returning Object[] from a RemoteObject call

2006-06-11 Thread Peter Farland





Aejaz,

This is expected.

You can't assign the result of a remote object call 
immediately to a value. The Flash Player needs to make calls asynchronously so 
that the movie does not stall while waiting for a response from the network. 
Instead you're returned a token to help you track results from asynchronous 
invocations. This is called the Asynchronous Completion Token 
(ACT)pattern. You need to have a result handler registered for your 
RemoteObject (or individual operation, or individual invocation on the token 
itself). When the result event is raised, your handler will get a ResultEvent 
which will have the Array result (as well as access to the ACT 
token.

Pete


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of aejaz_98Sent: 
Sunday, June 11, 2006 6:00 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex2B3: Problem 
returning Object[] from a RemoteObject call


Hi,I am calling a java method on server side which returnsan 
array of type Object[]. On the client side I do thefollowing,var 
arr:Array = remoteObject.call();Doing this gives me an exception which 
says,TypeError: Error #1034: Type Coercion failed: 
cannot convert mx.rpc::[EMAIL PROTECTED] to Array.After changing 
the type of arr to AsyncToken ,I do see that there is a result field in the 
AsyncToken object which was returned but that too is null. What is the 
significance of the AsyncToken object here ?According to the Flex 
Developer's guide(page 1154), I would havegot an Array as the result of the 
call. Please let me know what am I doing wrong.Thanks,Aejaz 

__._,_.___





--
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] Re: Flex2B3: Problem returning Object[] from a RemoteObject call

2006-06-11 Thread aejaz_98
Thanks Peter. I didn't realize this as I was calling methods which
were not returning anything. Added a handler  it works as you mentioned.

-Aejaz

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

 Aejaz,
  
 This is expected.
  
 You can't assign the result of a remote object call immediately to a
 value. The Flash Player needs to make calls asynchronously so that the
 movie does not stall while waiting for a response from the network.
 Instead you're returned a token to help you track results from
 asynchronous invocations. This is called the Asynchronous Completion
 Token (ACT) pattern. You need to have a result handler registered for
 your RemoteObject (or individual operation, or individual invocation on
 the token itself). When the result event is raised, your handler will
 get a ResultEvent which will have the Array result (as well as access to
 the ACT token.
  
 Pete
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of aejaz_98
 Sent: Sunday, June 11, 2006 6:00 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex2B3: Problem returning Object[] from a
 RemoteObject call
 
 
 
 Hi,
 
 I am calling a java method on server side which returns
 an array of type Object[]. On the client side I do the
 following,
 
 var arr:Array = remoteObject.call();
 
 Doing this gives me an exception which says,
 
 TypeError: Error #1034: Type Coercion failed: cannot convert
 mx.rpc::[EMAIL PROTECTED] to Array.
 
 After changing the type of arr to AsyncToken ,I do see that 
 there is a result field in the AsyncToken object which was 
 returned but that too is null. What is the significance of 
 the AsyncToken object here ?
 
 According to the Flex Developer's guide(page 1154), I would have
 got an Array as the result of the call. Please let me know what am 
 I doing wrong.
 
 Thanks,
 Aejaz







 Yahoo! Groups Sponsor ~-- 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] creationComplete on custom non UI component

2006-06-11 Thread Claudia Barnal
Is there a best practice for making something similar to a
creationComplete method on a non UI component that extends
EventDispatcher?

I am not sure this is what I need, but let me explain my situation:

!-- In the MXML --
MyComponent someValue=10 

The problem is that I can't get to the someValue (10 in this case) i
have set in the MXML before the component has been instantiated or
something. So my question is really:

How do I know when I have access to the someValue=10 set in MXML,
within the AS component?


 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Flex2B3 :: Delete sub nodes from XMLListCollection

2006-06-11 Thread Torben Nielsen










Hi,



How do you delete all subnodes to a given node in an
XMLListCollection object?



Thanks.



Best regards.



Torben Nielsen






__._,_.___





--
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] Re: Flex vs. .Net for RIA database apps; new to both

2006-06-11 Thread michaellisten
What software is needed in order to use flash remoting? Just plain
flash or is there some flash dev package? Are the terms for deploying
simple or does one have to license per server etc?

I've seen a couple of pages that ref ruby on rails too for the web
services end of things. Not sure how practical it is.

With Fluorine, I'll check it out, have seen it ref'd here, it runs on
.net, and provides flash remoting? That does sound good. Was it
created in part because it's less expensive to deploy than Flash
remoting from Adobe? 

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

 one more note (to Tim's post) : aside from Web Service, you can also use
 flash remoting with .NET as the means of data transmission.
 
 we use both products from Macromedia (flash remoting for .NET) and
Fluorine
 (open source flash remoting for .NET) all the time, just have to
manually
 tweak NetConnection than that's it.
 
 ps. Flash Remoting uses binary AMF to send and receive native AS
objects so
 it's a bit easier to handle large dataset.
 
 
 On 6/11/06, michaellisten [EMAIL PROTECTED] wrote:
 
Tim, that's great feedback, and also very much what I was hoping to
  hear. Winforms over the web with data via remoting etc has been
  closest to what I have been wanting migrate to, whenever that time for
  the learning materializes for me. Flex seemed a worthy alternative but
  pricing seemed to put it out of reach till the major recent adjustment
  for Flex 2. The most attractive looking .net framework that uses
  winforms and remoting that I've looked at for RIA is DevForce aka
  Ideablade, but the pricing model for it resembles the early flex
  range, ie up there a bit.
 
  Encouraging, thanks!
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tim
  Hoff TimHoff@ wrote:
  
   I agree completely with the assessment that Jeremy made concerning
   Flex's database suitability. Before Flex, I developed web
   applications primarily with ASP.NET. In my opinion, Flex is a much
   better choice for UI development. True, .Net includes all layers,
   but the main drawback is that pages are rendered by the server and
   sent to the browser one at a time. Flex, on the other hand, creates
   rich internet applications that only require data to be retrieved
   from the server. This gives you the best of both worlds, a desktop-
   like application with zero-deployment over the internet.
  
   I'm currently creating a Flex application that uses ASP.NET web
   services with a SQL Server back-end. In addition to being extremely
   easy to get work done, Flex makes the process of creating very
   complex user interfaces in a fraction of the time. In addition, if
   you also implement an MVC micro-architecture (like Cairngorm), you
   are able to quickly create very organized projects that are scalable
   and easily maintained. One other thought is that Flex can also be
   used as an alternative to .NET WinForms; without the associated DLL
   Hell and installation requirements. These are just my opinions, but
   I'm definitely sold on Flex for database driven web applications.
  
   Tim Hoff
  
  
   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  michaellisten listensome@
   wrote:
   
Thanks Jeremy, I'd not seen the flex dev derby page. There are
some
pretty interesting apps there, a good exposure.
   
Do you (or anyone) have any perspective on how flex compares with
.net, re getting work done? .net in total includes in theory all
layers including the webservice etc that one might use to handle
interaction with the backend. With flex one uses java or rails or
   even
.net.
   
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  Jeremy Lu wade.lu@ wrote:

 well, Flex 2 is surely suitable for database oriented or data-
   centric
 application, you can check out the Flex Derby pages here:


   http://labs.adobe.com/wiki/index.php/Showcase:Flex_Developer_Derby

 lot of applications are data-heavy and co-op with backend
   technology
 closely, this is never an issue.

 Judging from what you described (database-frontend, form-entry,
   CRUD
stuff),
 Flex2 should serves you quite right, check out following topic
   in the
 livedoc/manual:

 -RPC in Data Service: this is for data connection with backend
   using
HTTP
 Get/Post, Web Service, XML or Remoting.

 -FORMS: this is for creating user-input Forms, handling all the
   layout,
 required field, data validation and so on...

 -Validator: there are various built-in Validators (email, credit
card...) to
 check user-input data before sending back to server.

 in my opinio, it's really a snap to build this kind of
Form-Entry-CRUD-Stuff
 with Flex2 :-)

 Jeremy.


 On 6/10/06, michaellisten listensome@ wrote:
 
 
  But most flex example apps are less database 

Re: [flexcoders] How to drag a file into Flash?

2006-06-11 Thread John Grden



will zinc work with a Flex2 swf?? I've heard about Rebus, but after reading, Rebus is just a hey let's see what you guys think of this concept for .NET etcOn 6/11/06, 
Abdul Qabiz [EMAIL PROTECTED] wrote:









  



Hi, RickNo Flash/Flex Applications (neither in browser nor as standalone) can handle such Drag  Drop operations.But it would really be cool feature and I understand, it won't take much effort to do that ? 
With Web 2.0/RIA stuff, such feature would really be important.For standalone applications, you can wrap your flex app inside C++/Delphi/VB application or use any third party SWF wrappers (SWFStudio, Zinc etc).. That would allow you do more low level stuff.
-abdulOn 6/11/06, Rick Schmitty 
[EMAIL PROTECTED] wrote:









  



File upload/download is a great leap forward and much appreciated!
But there has to be a way to allow Flash to accept a drag/drop from
the OS.  Just like if you were in Photoshop and you dragged an image
to the program.

When a swf is played through the browser, is Drag/Drop allowance a
browser issue?  For example if you goto adobe.com and drag an image
around the homepage from your desktop, the browser will show it valid
until it gets to a swf and the you get the no sign

If you used the Flash Player stand alone, could a feature request like
this be possible?

Perhaps Mac's just spoiled me with dragndropn everywhere and anywhere :)

  















  













-- John Grden - Blitz

__._,_.___





--
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] Any luck with Vista?

2006-06-11 Thread Brendan Meutzner
Hi,

Just wanted to see if anyone else has been able to install FlexBuilder
successfully with Vista Beta?

I've got Vista build 5384 (I think it's the first public beta release)
and can't install Flexbuilder either way... gives me an user
permissions error for registry modifications (even though I'm using an
Administrator account).  Also of note, is that while the Eclipse
install works, MyEclipse hangs on install.

Anybody else having these issues?

Thanks,

Brendan





 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Using PUT with HTTPService

2006-06-11 Thread dk_flasher
Hi,

Is it possible make a HTTP PUT request using the HTTPService class?

The documentation seems unclear: At the top it specifies only POST or
GET, but under the method property it lists GET, POST, HEAD,
OPTIONS, PUT, TRACE and DELETE as permitted values.

Having tried multiple property combinations I've only succeeded in
generating GET and POST requests!?

Can somebody shed som light on this?

Regards,

Mikkel Jensen





 Yahoo! Groups Sponsor ~-- 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Can anyone programmatically select an item in a Tree? (f2b3)

2006-06-11 Thread rigidcode

Does anyone have code that selects an item in a Tree control?  

Particularly if the dataProvider for the tree item is an XML object.

Setting the selectedItem property doesn't seem to do anything.  

thanks







 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
Is it possible to create and remove a popup in a Cairngorm command?  I 
have a simple application that has two primary components; sidePanel 
and mainPanel.  Various child components are added to the primary 
components, depending on the state of the application.  What I want to 
do is create a popup in the mainPanel when the user clicks a search 
button in the sidePanel.  The popup is a small component that shows a 
progress bar with a searching label.  In the searching command, 
executed with a cairngormEvent when the sidePanel search button is 
clicked, I want to create the popup.  onResult, remove the popup and 
change state to display a grid.  onFault, remove the popup and display 
an Alert.  I'm having a problem referencing the mainPanel as the popup 
parent and listening for an event to remove the popup.  I've tried 
several different approaches with no success.  If anyone could get me 
moving in the right direction, I would greatly appreciate it.

Thanks in advance,
Tim Hoff






 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Re: Automated migration to Flex 2

2006-06-11 Thread Michael Klishin
maxym.hryniv wrote:
 Regexp rules, but i just don't want to repeat something that is 
 allready done. However thanx.

What in particular are you going to migrate?

-- 
Michael Antares Klishin,

http://www.novemberain.com |  mailto:[EMAIL PROTECTED]


 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Cairngorm createPopUp in a command

2006-06-11 Thread Dimitrios Gianninas





I've done this... In the ModelLocator keep a reference to 
the window that you will display, then you can access it from wherever you want, 
in your case the onResult and onFault events.

Dimitrios 
Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: 
Sunday, June 11, 2006 5:52 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm createPopUp 
in a command


Is it possible to create and remove a popup in a Cairngorm command? I 
have a simple application that has two primary components; sidePanel and 
mainPanel. Various child components are added to the primary components, 
depending on the state of the application. What I want to do is create a 
popup in the mainPanel when the user clicks a search button in the 
sidePanel. The popup is a small component that shows a progress bar with a 
searching label. In the searching command, executed with a cairngormEvent 
when the sidePanel search button is clicked, I want to create the popup. 
onResult, remove the popup and change state to display a grid. onFault, 
remove the popup and display an Alert. I'm having a problem referencing the 
mainPanel as the popup parent and listening for an event to remove the 
popup. I've tried several different approaches with no success. If anyone 
could get me moving in the right direction, I would greatly appreciate 
it.Thanks in advance,Tim Hoff
 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





--
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] Re: Any luck with Vista?

2006-06-11 Thread christopherjdunn
Someone else suggested installing Flex builder 2 on another PC, then
copy the folder that it was installed to the Vista PC. Then just
create a shortcut to the executable. With Eclipse, I done  an install
on one PC then copied it to another pc without a problem, so the same
procedure should work with Vista.

Chris


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

 Hi,
 
 Just wanted to see if anyone else has been able to install FlexBuilder
 successfully with Vista Beta?
 
 I've got Vista build 5384 (I think it's the first public beta release)
 and can't install Flexbuilder either way... gives me an user
 permissions error for registry modifications (even though I'm using an
 Administrator account).  Also of note, is that while the Eclipse
 install works, MyEclipse hangs on install.
 
 Anybody else having these issues?
 
 Thanks,
 
 Brendan








 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
Dimitios,

Could you elaberate a little with code?  How are you creating the 
popup?  And, by reference, do you mean import?

Thanks,
Tim

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

 I've done this... In the ModelLocator keep a reference to the 
window that you will display, then you can access it from wherever 
you want, in your case the onResult and onFault events.
  
 Dimitrios Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
 Sent: Sunday, June 11, 2006 5:52 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Cairngorm createPopUp in a command
 
 
 
 Is it possible to create and remove a popup in a Cairngorm 
command? I 
 have a simple application that has two primary components; 
sidePanel 
 and mainPanel. Various child components are added to the primary 
 components, depending on the state of the application. What I want 
to 
 do is create a popup in the mainPanel when the user clicks a 
search 
 button in the sidePanel. The popup is a small component that shows 
a 
 progress bar with a searching label. In the searching command, 
 executed with a cairngormEvent when the sidePanel search button is 
 clicked, I want to create the popup. onResult, remove the popup 
and 
 change state to display a grid. onFault, remove the popup and 
display 
 an Alert. I'm having a problem referencing the mainPanel as the 
popup 
 parent and listening for an event to remove the popup. I've tried 
 several different approaches with no success. If anyone could get 
me 
 moving in the right direction, I would greatly appreciate it.
 
 Thanks in advance,
 Tim Hoff
 
 
 
  
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may contain 
confidential, proprietary or legally privileged information, which 
is solely for the use of the intended recipient.  No privilege or 
other rights are waived by any unintended transmission or 
unauthorized retransmission of this message.  If you are not the 
intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete 
it and all attachments from your system.  The reading, distribution, 
copying or other use of this message or its attachments by 
unintended recipients is unauthorized and may be unlawful.  If you 
have received this e-mail in error, please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés 
destinés au seul usage du destinataire visé.  L'expéditeur original 
ne renonce à aucun privilège ou à aucun autre droit si le présent 
message a été transmis involontairement ou s'il est retransmis sans 
son autorisation.  Si vous n'êtes pas le destinataire visé du 
présent message ou si vous l'avez reçu par erreur, veuillez cesser 
immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la 
copie ou tout autre usage du présent message ou de ses pièces 
jointes par des personnes autres que le destinataire visé ne sont 
pas autorisés et pourraient être illégaux.  Si vous avez reçu ce 
courrier électronique par erreur, veuillez en aviser l'expéditeur.







 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Dimitrios Gianninas





Actually you don't even need to do that. You use case is 
simpler (some code ommited):

class MyCommand implements Command {
 var myWindow:Object;

 public function execute() {
 myWindow = PopUpManager.createPopUp( .. 
);
 }

 public function onResult() {
 PopUpManager.removePopUp( 
myWindow);
 }

 public function onFault() {
 PopUpManager.removePopUp( 
myWindow);
 }
}

Dimitrios 
Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: 
Sunday, June 11, 2006 7:17 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm 
createPopUp in a command


Dimitios,Could you elaberate a little with code? How are you creating 
the popup? And, by reference, do you mean 
import?Thanks,Tim--- In [EMAIL PROTECTED]ups.com, 
"Dimitrios Gianninas" dimitrios.giannina[EMAIL PROTECTED] 
wrote: I've done this... In the ModelLocator keep a reference to 
the window that you will display, then you can access it from wherever 
you want, in your case the onResult and onFault events.  
Dimitrios Gianninas RIA Developer Optimal Payments Inc. 
   
 From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Tim Hoff Sent: Sunday, June 11, 2006 5:52 PM To: [EMAIL PROTECTED]ups.com 
Subject: [flexcoders] Cairngorm createPopUp in a command  
  Is it possible to create and remove a popup in a Cairngorm 
command? I  have a simple application that has two primary 
components; sidePanel  and mainPanel. Various child components are 
added to the primary  components, depending on the state of the 
application. What I want to  do is create a popup in the mainPanel 
when the user clicks a search  button in the sidePanel. The popup is 
a small component that shows a  progress bar with a searching label. 
In the searching command,  executed with a cairngormEvent when the 
sidePanel search button is  clicked, I want to create the popup. 
onResult, remove the popup and  change state to display a grid. 
onFault, remove the popup and display  an Alert. I'm having a 
problem referencing the mainPanel as the popup  parent and listening 
for an event to remove the popup. I've tried  several different 
approaches with no success. If anyone could get me  moving in the 
right direction, I would greatly appreciate it.  Thanks in 
advance, Tim Hoff  
--  WARNING --- This electronic message and its 
attachments may contain confidential, proprietary or legally privileged 
information, which is solely for the use of the intended recipient. No 
privilege or other rights are waived by any unintended transmission or 
unauthorized retransmission of this message. If you are not the intended 
recipient of this message, or if you have received it in error, you should 
immediately stop reading this message and delete it and all attachments from 
your system. The reading, distribution, copying or other use of this message 
or its attachments by unintended recipients is unauthorized and may be 
unlawful. If you have received this e-mail in error, please notify the 
sender.  AVIS IMPORTANT -- Ce 
message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés 
destinés au seul usage du destinataire visé. L'expéditeur original ne 
renonce à aucun privilège ou à aucun autre droit si le présent message a été 
transmis involontairement ou s'il est retransmis sans son autorisation. Si 
vous n'êtes pas le destinataire visé du présent message ou si vous l'avez 
reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, 
ainsi que toutes ses pièces jointes, de votre système. La lecture, la 
distribution, la copie ou tout autre usage du présent message ou de ses 
pièces jointes par des personnes autres que le destinataire visé ne sont 
pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier 
électronique par erreur, veuillez en aviser 
l'expéditeur.
 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
  
  
  This electronic message and its attachments may contain confidential, 

[flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
That doesn't want to work.

Error: Implicit coersion of a value of type class to an unrelated 
type flash.display.displayObject.

I liked your idea of handling it in the ModelLocator.  Any chance 
you could show the code that your using to do it that way?

Thanks again,
Tim

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

 Actually you don't even need to do that. You use case is simpler 
(some code ommited):
  
 class MyCommand implements Command {
   var myWindow:Object;
  
   public function execute() {
 myWindow = PopUpManager.createPopUp( .. );
   }
  
   public function onResult() {
 PopUpManager.removePopUp( myWindow);
   }
  
   public function onFault() {
 PopUpManager.removePopUp( myWindow);
   }
 }
  
 Dimitrios Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
 Sent: Sunday, June 11, 2006 7:17 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Cairngorm createPopUp in a command
 
 
 
 Dimitios,
 
 Could you elaberate a little with code? How are you creating the 
 popup? And, by reference, do you mean import?
 
 Thanks,
 Tim
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com , Dimitrios Gianninas 
 dimitrios.gianninas@ wrote:
 
  I've done this... In the ModelLocator keep a reference to the 
 window that you will display, then you can access it from wherever 
 you want, in your case the onResult and onFault events.
  
  Dimitrios Gianninas
  RIA Developer
  Optimal Payments Inc.
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com  
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com ] On Behalf Of Tim Hoff
  Sent: Sunday, June 11, 2006 5:52 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com 
  Subject: [flexcoders] Cairngorm createPopUp in a command
  
  
  
  Is it possible to create and remove a popup in a Cairngorm 
 command? I 
  have a simple application that has two primary components; 
 sidePanel 
  and mainPanel. Various child components are added to the primary 
  components, depending on the state of the application. What I 
want 
 to 
  do is create a popup in the mainPanel when the user clicks a 
 search 
  button in the sidePanel. The popup is a small component that 
shows 
 a 
  progress bar with a searching label. In the searching command, 
  executed with a cairngormEvent when the sidePanel search button 
is 
  clicked, I want to create the popup. onResult, remove the popup 
 and 
  change state to display a grid. onFault, remove the popup and 
 display 
  an Alert. I'm having a problem referencing the mainPanel as the 
 popup 
  parent and listening for an event to remove the popup. I've 
tried 
  several different approaches with no success. If anyone could 
get 
 me 
  moving in the right direction, I would greatly appreciate it.
  
  Thanks in advance,
  Tim Hoff
  
  
  
  
  
  -- 
  WARNING
  ---
  This electronic message and its attachments may contain 
 confidential, proprietary or legally privileged information, which 
 is solely for the use of the intended recipient. No privilege or 
 other rights are waived by any unintended transmission or 
 unauthorized retransmission of this message. If you are not the 
 intended recipient of this message, or if you have received it in 
 error, you should immediately stop reading this message and delete 
 it and all attachments from your system. The reading, 
distribution, 
 copying or other use of this message or its attachments by 
 unintended recipients is unauthorized and may be unlawful. If you 
 have received this e-mail in error, please notify the sender.
  
  AVIS IMPORTANT
  --
  Ce message électronique et ses pièces jointes peuvent contenir 
des 
 renseignements confidentiels, exclusifs ou légalement privilégiés 
 destinés au seul usage du destinataire visé. L'expéditeur original 
 ne renonce à aucun privilège ou à aucun autre droit si le présent 
 message a été transmis involontairement ou s'il est retransmis 
sans 
 son autorisation. Si vous n'êtes pas le destinataire visé du 
 présent message ou si vous l'avez reçu par erreur, veuillez cesser 
 immédiatement de le lire et le supprimer, ainsi que toutes ses 
 pièces jointes, de votre système. La lecture, la distribution, la 
 copie ou tout autre usage du présent message ou de ses pièces 
 jointes par des personnes autres que le destinataire visé ne sont 
 pas autorisés et pourraient être illégaux. Si vous avez reçu ce 
 courrier électronique par erreur, veuillez en aviser l'expéditeur.
 







 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM

RE: [flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Dimitrios Gianninas





ok you are using Flex2... wasn't sure. Change 
to:

var myWindow:IFlexDisplayObject

And if you want, move the myWindow variable to the 
ModelLocator.

ModelLocator.myWindow = 
PopUpManager.createPopUp( .. );

Dimitrios 
Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: 
Sunday, June 11, 2006 7:37 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm 
createPopUp in a command


That doesn't want to work.Error: Implicit coersion of a value of type 
class to an unrelated type flash.display.displayObject.I liked 
your idea of handling it in the ModelLocator. Any chance you could show the 
code that your using to do it that way?Thanks again,Tim--- 
In [EMAIL PROTECTED]ups.com, 
"Dimitrios Gianninas" dimitrios.giannina[EMAIL PROTECTED] 
wrote: Actually you don't even need to do that. You use case is 
simpler (some code ommited):  class MyCommand implements 
Command { var myWindow:Object;  public function 
execute() { myWindow = PopUpManager.createPopUp( .. ); 
}  public function onResult() { 
PopUpManager.removePopUp( myWindow); }  public 
function onFault() { PopUpManager.removePopUp( myWindow); 
} }  Dimitrios Gianninas RIA Developer 
Optimal Payments Inc.   
  From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Tim Hoff Sent: Sunday, June 11, 2006 7:17 PM To: [EMAIL PROTECTED]ups.com 
Subject: [flexcoders] Re: Cairngorm createPopUp in a command  
  Dimitios,  Could you elaberate a little with 
code? How are you creating the  popup? And, by reference, do you mean 
import?  Thanks, Tim  --- In [EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com , "Dimitrios Gianninas" 
 dimitrios.gianninas@ wrote:   I've 
done this... In the ModelLocator keep a reference to the  window that 
you will display, then you can access it from wherever  you want, in 
your case the onResult and onFault events.Dimitrios 
Gianninas  RIA Developer  Optimal Payments Inc. 
 
From: 
[EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com  [mailto:[EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com ] On Behalf Of Tim 
Hoff  Sent: Sunday, June 11, 2006 5:52 PM  To: [EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com   Subject: 
[flexcoders] Cairngorm createPopUp in a command
Is it possible to create and remove a popup in a 
Cairngorm  command? I   have a simple application that has 
two primary components;  sidePanel   and mainPanel. Various 
child components are added to the primary   components, depending on 
the state of the application. What I want  to   do is 
create a popup in the mainPanel when the user clicks a  search  
 button in the sidePanel. The popup is a small component that shows 
 a   progress bar with a searching label. In the searching 
command,   executed with a cairngormEvent when the sidePanel search 
button is   clicked, I want to create the popup. onResult, 
remove the popup  and   change state to display a grid. 
onFault, remove the popup and  display   an Alert. I'm 
having a problem referencing the mainPanel as the  popup   
parent and listening for an event to remove the popup. I've tried  
 several different approaches with no success. If anyone could get 
 me   moving in the right direction, I would greatly 
appreciate it.Thanks in advance,  Tim 
Hoff  
  --   WARNING  ---  This 
electronic message and its attachments may contain  confidential, 
proprietary or legally privileged information, which  is solely for the 
use of the intended recipient. No privilege or  other rights are waived 
by any unintended transmission or  unauthorized retransmission of this 
message. If you are not the  intended recipient of this message, or if 
you have received it in  error, you should immediately stop reading this 
message and delete  it and all attachments from your system. The 
reading, distribution,  copying or other use of this message or its 
attachments by  unintended recipients is unauthorized and may be 
unlawful. If you  have received this e-mail in error, please notify the 
sender.AVIS IMPORTANT  
--  Ce message électronique et ses pièces jointes 
peuvent contenir des  renseignements confidentiels, exclusifs ou 
légalement privilégiés  destinés au seul usage du destinataire visé. 
L'expéditeur original  ne renonce à aucun privilège ou à aucun autre 
droit si le présent  message a été transmis involontairement ou s'il est 
retransmis sans  son autorisation. Si vous n'êtes pas le 
destinataire visé du  présent message ou si vous l'avez reçu par erreur, 
veuillez cesser  immédiatement de le lire et le supprimer, ainsi que 
toutes ses  pièces jointes, de votre système. La lecture, la 
distribution, la  copie ou tout autre usage du présent message ou de ses 
pièces  jointes par des personnes autres que le destinataire visé ne 
sont  pas 

[flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
Well, I tried it both ways and am still getting the same compile 
error.  Sorry to be such a bother.  I'll keep plugging away at it.

Thanks Dimitrios,
Tim

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

 ok you are using Flex2... wasn't sure. Change to:
  
 var myWindow:IFlexDisplayObject
  
 And if you want, move the myWindow variable to the ModelLocator.
  
 ModelLocator.myWindow = PopUpManager.createPopUp( .. );
 
  
 Dimitrios Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
 Sent: Sunday, June 11, 2006 7:37 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Cairngorm createPopUp in a command
 
 
 
 That doesn't want to work.
 
 Error: Implicit coersion of a value of type class to an unrelated 
 type flash.display.displayObject.
 
 I liked your idea of handling it in the ModelLocator. Any chance 
 you could show the code that your using to do it that way?
 
 Thanks again,
 Tim
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com , Dimitrios Gianninas 
 dimitrios.gianninas@ wrote:
 
  Actually you don't even need to do that. You use case is simpler 
 (some code ommited):
  
  class MyCommand implements Command {
  var myWindow:Object;
  
  public function execute() {
  myWindow = PopUpManager.createPopUp( .. );
  }
  
  public function onResult() {
  PopUpManager.removePopUp( myWindow);
  }
  
  public function onFault() {
  PopUpManager.removePopUp( myWindow);
  }
  }
  
  Dimitrios Gianninas
  RIA Developer
  Optimal Payments Inc.
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com  
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com ] On Behalf Of Tim Hoff
  Sent: Sunday, June 11, 2006 7:17 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com 
  Subject: [flexcoders] Re: Cairngorm createPopUp in a command
  
  
  
  Dimitios,
  
  Could you elaberate a little with code? How are you creating the 
  popup? And, by reference, do you mean import?
  
  Thanks,
  Tim
  
  --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com  mailto:flexcoders%
 40yahoogroups.com , Dimitrios Gianninas 
  dimitrios.gianninas@ wrote:
  
   I've done this... In the ModelLocator keep a reference to the 
  window that you will display, then you can access it from 
wherever 
  you want, in your case the onResult and onFault events.
   
   Dimitrios Gianninas
   RIA Developer
   Optimal Payments Inc.
   
   
   
   
   From: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com  mailto:flexcoders%
 40yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com  mailto:flexcoders%
 40yahoogroups.com ] On Behalf Of Tim Hoff
   Sent: Sunday, June 11, 2006 5:52 PM
   To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com  mailto:flexcoders%
 40yahoogroups.com 
   Subject: [flexcoders] Cairngorm createPopUp in a command
   
   
   
   Is it possible to create and remove a popup in a Cairngorm 
  command? I 
   have a simple application that has two primary components; 
  sidePanel 
   and mainPanel. Various child components are added to the 
primary 
   components, depending on the state of the application. What I 
 want 
  to 
   do is create a popup in the mainPanel when the user clicks a 
  search 
   button in the sidePanel. The popup is a small component that 
 shows 
  a 
   progress bar with a searching label. In the searching command, 
   executed with a cairngormEvent when the sidePanel search 
button 
 is 
   clicked, I want to create the popup. onResult, remove the 
popup 
  and 
   change state to display a grid. onFault, remove the popup and 
  display 
   an Alert. I'm having a problem referencing the mainPanel as 
the 
  popup 
   parent and listening for an event to remove the popup. I've 
 tried 
   several different approaches with no success. If anyone could 
 get 
  me 
   moving in the right direction, I would greatly appreciate it.
   
   Thanks in advance,
   Tim Hoff
   
   
   
   
   
   -- 
   WARNING
   ---
   This electronic message and its attachments may contain 
  confidential, proprietary or legally privileged information, 
which 
  is solely for the use of the intended recipient. No privilege or 
  other rights are waived by any unintended transmission or 
  unauthorized retransmission of this message. If you are not the 
  intended recipient of this message, or if you have received it 
in 
  error, you should immediately stop reading this message and 
delete 
  it and all attachments from your system. The reading, 
 distribution, 
  copying or other use of this message or its attachments by 
  unintended recipients is unauthorized and may be unlawful. If 
you 
  have received this e-mail in error, please 

RE: [flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Dimitrios Gianninas





it should work, too simple not too. What line gives the 
error... paste the offending line.

Dimitrios 
Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: 
Sunday, June 11, 2006 8:01 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm 
createPopUp in a command


Well, I tried it both ways and am still getting the same compile error. 
Sorry to be such a bother. I'll keep plugging away at it.Thanks 
Dimitrios,Tim--- In [EMAIL PROTECTED]ups.com, 
"Dimitrios Gianninas" dimitrios.giannina[EMAIL PROTECTED] 
wrote: ok you are using Flex2... wasn't sure. Change to: 
 var myWindow:IFlexDisplayObject  And if you want, 
move the myWindow variable to the ModelLocator.  
ModelLocator.myWindow = PopUpManager.createPopUp( .. ); 
  Dimitrios Gianninas RIA Developer Optimal 
Payments Inc.   
  From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Tim Hoff Sent: Sunday, June 11, 2006 7:37 PM To: [EMAIL PROTECTED]ups.com 
Subject: [flexcoders] Re: Cairngorm createPopUp in a command  
  That doesn't want to work.  Error: Implicit 
coersion of a value of type class to an unrelated  type 
flash.display.displayObject.  I liked your idea of handling 
it in the ModelLocator. Any chance  you could show the code that your 
using to do it that way?  Thanks again, Tim 
 --- In [EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com , "Dimitrios Gianninas" 
 dimitrios.gianninas@ wrote:   
Actually you don't even need to do that. You use case is simpler  (some 
code ommited):class MyCommand implements Command 
{  var myWindow:Object;public function 
execute() {  myWindow = PopUpManager.createPopUp( .. ); 
 }public function onResult() {  
PopUpManager.removePopUp( myWindow);  }   
 public function onFault() {  PopUpManager.removePopUp( 
myWindow);  }  }Dimitrios 
Gianninas  RIA Developer  Optimal Payments Inc. 
 
From: 
[EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com  [mailto:[EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com ] On Behalf Of Tim 
Hoff  Sent: Sunday, June 11, 2006 7:17 PM  To: [EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com   Subject: 
[flexcoders] Re: Cairngorm createPopUp in a command
Dimitios,Could you 
elaberate a little with code? How are you creating the   popup? And, 
by reference, do you mean import?Thanks, 
 Tim--- In [EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com 
mailto:flexcoders% 40yahoogroups.com , "Dimitrios 
Gianninas"   dimitrios.gianninas@ wrote:  
   I've done this... In the ModelLocator keep a reference to 
the   window that you will display, then you can access it from 
wherever   you want, in your case the onResult and onFault 
events.  Dimitrios Gianninas  
 RIA Developer   Optimal Payments Inc.   
  
 
 From: [EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com 
mailto:flexcoders% 40yahoogroups.com   
[mailto:[EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com 
mailto:flexcoders% 40yahoogroups.com ] On Behalf Of Tim 
Hoff   Sent: Sunday, June 11, 2006 5:52 PM   To: 
[EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com 
mailto:flexcoders% 40yahoogroups.com
Subject: [flexcoders] Cairngorm createPopUp in a command   
 Is it possible to 
create and remove a popup in a Cairngorm   command? I   
 have a simple application that has two primary components;   
sidePaneland mainPanel. Various child components are added 
to the primarycomponents, depending on the state of the 
application. What I  want   todo is 
create a popup in the mainPanel when the user clicks a   search 
   button in the sidePanel. The popup is a small component that 
 shows   aprogress bar with a searching 
label. In the searching command,executed with a 
cairngormEvent when the sidePanel search button  is   
 clicked, I want to create the popup. onResult, remove the popup 
  andchange state to display a grid. onFault, 
remove the popup and   displayan Alert. I'm 
having a problem referencing the mainPanel as the   popup 
   parent and listening for an event to remove the popup. I've 
 triedseveral different approaches with no success. 
If anyone could  get   memoving in the 
right direction, I would greatly appreciate it. 
 Thanks in advance,   Tim Hoff
 
 --WARNING   ---   
This electronic message and its attachments may contain   
confidential, proprietary or legally privileged information, which  
 is solely for the use of the intended recipient. No privilege or  
 other rights are waived by any unintended transmission or   
unauthorized retransmission of this message. If you are not the   
intended recipient of this message, or if you have received it in  
 error, you should immediately 

[flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff



In the command: (Same thing if I move it to the ModelLocator)
import org.ets.main.code.view.mainPanel.MainPanelView;import org.ets.main.code.view.mainPanel.searching.SearchingPopupView;import mx.managers.PopUpManager;import mx.core.IFlexDisplayObject;
public function execute(  var myWindow:IFlexDisplayObject; myWindow = PopUpManager.createPopUp(MainPanelView, SearchingPopupView, true);}
The last line gives the error.
This is the SearchingPopupView compnent:
?xml version="1.0" encoding="utf-8"?mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" cornerRadius="6"styleName="plainPanel" headerHeight="0"height="70" width="300" horizontalAlign="center" verticalAlign="middle"mx:Script![CDATA[
import org.ets.main.code.model.ModelLocator;]]/mx:Scriptmx:Spacer height="4"/mx:Label text="{ ModelLocator.getInstance().searchingMessage }" fontWeight="bold" fontSize="11"/mx:ProgressBar indeterminate="true" height="10" trackHeight="10" barColor="#27568D" label=" "//mx:TitleWindow
-TH--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" [EMAIL PROTECTED] wrote: it should work, too simple not too. What line gives the error... paste the offending line.  Dimitrios Gianninas RIA Developer Optimal Payments Inc.     From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Sunday, June 11, 2006 8:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm createPopUp in a commandWell, I tried it both ways and am still getting the same compile  error. Sorry to be such a bother. I'll keep plugging away at it.  Thanks Dimitrios, Tim  --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , "Dimitrios Gianninas"  dimitrios.gianninas@ wrote:   ok you are using Flex2... wasn't sure. Change to:var myWindow:IFlexDisplayObjectAnd if you want, move the myWindow variable to the ModelLocator.ModelLocator.myWindow = PopUpManager.createPopUp( .. );  Dimitrios Gianninas  RIA Developer  Optimal Payments Inc.  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com  [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Tim Hoff  Sent: Sunday, June 11, 2006 7:37 PM  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com   Subject: [flexcoders] Re: Cairngorm createPopUp in a commandThat doesn't want to work.Error: Implicit coersion of a value of type class to an unrelated   type flash.display.displayObject.I liked your idea of handling it in the ModelLocator. Any chance   you could show the code that your using to do it that way?Thanks again,  Tim--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com , "Dimitrios Gianninas"   dimitrios.gianninas@ wrote: Actually you don't even need to do that. You use case is simpler   (some code ommited):  class MyCommand implements Command {   var myWindow:Object;  public function execute() {   myWindow = PopUpManager.createPopUp( .. );   }  public function onResult() {   PopUpManager.removePopUp( myWindow);   }  public function onFault() {   PopUpManager.removePopUp( myWindow);   }   }  Dimitrios Gianninas   RIA Developer   Optimal Payments Inc.   From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com   [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com ] On Behalf Of Tim Hoff   Sent: Sunday, June 11, 2006 7:17 PM   To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.comSubject: [flexcoders] Re: Cairngorm createPopUp in a commandDimitios,  Could you elaberate a little with code? How are you creating thepopup? And, by reference, do you mean import?  Thanks,   Tim  --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com mailto:flexcoders%  40yahoogroups.com , "Dimitrios Gianninas"dimitrios.gianninas@ wrote:   I've done this... In the ModelLocator keep a reference to thewindow that you will display, then you can access it from  whereveryou want, in your case the onResult and onFault events.Dimitrios GianninasRIA DeveloperOptimal Payments Inc.From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com mailto:flexcoders%  40yahoogroups.com[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com mailto:flexcoders%  40yahoogroups.com ] On Behalf Of Tim HoffSent: Sunday, June 11, 2006 5:52 PMTo: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com mailto:flexcoders%  40yahoogroups.com 

RE: [flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Dimitrios Gianninas





wrap the MainPanelView like so:

DisplayObject(MainPanelView)

Dimitrios 
Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: 
Sunday, June 11, 2006 8:16 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm 
createPopUp in a command



In the command: (Same thing if I move it to the 
ModelLocator)
import 
org.ets.main.code.view.mainPanel.MainPanelView;import 
org.ets.main.code.view.mainPanel.searching.SearchingPopupView;import 
mx.managers.PopUpManager;import mx.core.IFlexDisplayObject;
public function execute(  var 
myWindow:IFlexDisplayObject; myWindow = 
PopUpManager.createPopUp(MainPanelView, 
SearchingPopupView, true);}
The last line gives the error.
This is the SearchingPopupView compnent:
?xml version="1.0" 
encoding="utf-8"?mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" 
cornerRadius="6"styleName="plainPanel" 
headerHeight="0"height="70" width="300" horizontalAlign="center" 
verticalAlign="middle"mx:Script![CDATA[
import 
org.ets.main.code.model.ModelLocator;]]/mx:Scriptmx:Spacer 
height="4"/mx:Label text="{ 
ModelLocator.getInstance().searchingMessage }" fontWeight="bold" 
fontSize="11"/mx:ProgressBar indeterminate="true" height="10" 
trackHeight="10" barColor="#27568D" label=" 
"//mx:TitleWindow
-TH--- In flexcoders@yahoogroups.com, "Dimitrios 
Gianninas" [EMAIL PROTECTED] wrote: it should 
work, too simple not too. What line gives the error... paste the offending 
line.  Dimitrios Gianninas RIA Developer Optimal 
Payments Inc.    
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
Behalf Of Tim Hoff Sent: Sunday, June 11, 2006 8:01 PM To: 
flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm 
createPopUp in a commandWell, I tried it 
both ways and am still getting the same compile  error. Sorry to be such 
a bother. I'll keep plugging away at it.  Thanks 
Dimitrios, Tim  --- In flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com , "Dimitrios Gianninas"  
dimitrios.gianninas@ wrote:   ok you are using Flex2... 
wasn't sure. Change to:var 
myWindow:IFlexDisplayObjectAnd if you want, move the 
myWindow variable to the ModelLocator.
ModelLocator.myWindow = PopUpManager.createPopUp( .. );   
   Dimitrios Gianninas  RIA Developer  
Optimal Payments Inc.  
From: 
flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com  
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] 
On Behalf Of Tim Hoff  Sent: Sunday, June 11, 2006 7:37 PM 
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] Re: Cairngorm createPopUp in a 
commandThat doesn't want 
to work.Error: Implicit coersion of a value of type 
class to an unrelated   type flash.display.displayObject. 
   I liked your idea of handling it in the ModelLocator. Any 
chance   you could show the code that your using to do it that 
way?Thanks again,  Tim  
  --- In flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 
40yahoogroups.com , "Dimitrios Gianninas"   
dimitrios.gianninas@ wrote: Actually 
you don't even need to do that. You use case is simpler   (some code 
ommited):  class MyCommand implements 
Command {   var myWindow:Object; 
 public function execute() {   myWindow = 
PopUpManager.createPopUp( .. );   }
  public function onResult() {   
PopUpManager.removePopUp( myWindow);   }   
   public function onFault() {   
PopUpManager.removePopUp( myWindow);   }   
}  Dimitrios Gianninas   RIA 
Developer   Optimal Payments Inc.
    
   From: flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 
40yahoogroups.com   [mailto:flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 
40yahoogroups.com ] On Behalf Of Tim Hoff   Sent: Sunday, 
June 11, 2006 7:17 PM   To: flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 
40yahoogroups.comSubject: [flexcoders] Re: Cairngorm 
createPopUp in a command 
   Dimitios,  Could you 
elaberate a little with code? How are you creating thepopup? 
And, by reference, do you mean import?  
Thanks,   Tim  --- In 
flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
mailto:flexcoders% 40yahoogroups.com 
mailto:flexcoders%  40yahoogroups.com , "Dimitrios 
Gianninas"dimitrios.gianninas@ wrote:  
 I've done this... In the ModelLocator keep a 
reference to thewindow that you will display, then you can 
access it from  whereveryou want, in your case the 
onResult and onFault events.
Dimitrios GianninasRIA Developer
Optimal Payments Inc. 
    
   From: flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com 

[flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
That got rid of the compile error, but created the same error at run-
time.  Don't worry about it Dimitrios.  You've spent enough time on 
this.  I'll keep trying.

Much thanks,
Tim

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

 wrap the MainPanelView like so:
  
 DisplayObject(MainPanelView)
  
 Dimitrios Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
 Sent: Sunday, June 11, 2006 8:16 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Cairngorm createPopUp in a command
 
 
 
 In the command:  (Same thing if I move it to the ModelLocator)
 
 import org.ets.main.code.view.mainPanel.MainPanelView;
 import 
org.ets.main.code.view.mainPanel.searching.SearchingPopupView;
 import mx.managers.PopUpManager;
 import mx.core.IFlexDisplayObject;
 
 public function execute( 
   var myWindow:IFlexDisplayObject;
   myWindow = PopUpManager.createPopUp(MainPanelView,
  SearchingPopupView, true);
 }
 
 The last line gives the error.
 
 This is the SearchingPopupView compnent:
 
 ?xml version=1.0 encoding=utf-8?
 mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml 
http://www.adobe.com/2006/mxml  cornerRadius=6
  styleName=plainPanel headerHeight=0
  height=70 width=300 horizontalAlign=center 
verticalAlign=middle
  
  mx:Script
  ![CDATA[
 
   import org.ets.main.code.model.ModelLocator;

  ]]
  /mx:Script
  
  mx:Spacer height=4/
  mx:Label text={ ModelLocator.getInstance().searchingMessage } 
fontWeight=bold fontSize=11/
  mx:ProgressBar indeterminate=true height=10 trackHeight=10 
barColor=#27568D label= /
 /mx:TitleWindow
 
 -TH
 
 --- In flexcoders@yahoogroups.com, Dimitrios Gianninas 
dimitrios.gianninas@ wrote:
 
  it should work, too simple not too. What line gives the error... 
paste the offending line.
  
  Dimitrios Gianninas
  RIA Developer
  Optimal Payments Inc.
  
  
  
  
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
  Sent: Sunday, June 11, 2006 8:01 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Cairngorm createPopUp in a command
  
  
  
  Well, I tried it both ways and am still getting the same compile 
  error. Sorry to be such a bother. I'll keep plugging away at it.
  
  Thanks Dimitrios,
  Tim
  
  --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com , Dimitrios Gianninas 
  dimitrios.gianninas@ wrote:
  
   ok you are using Flex2... wasn't sure. Change to:
   
   var myWindow:IFlexDisplayObject
   
   And if you want, move the myWindow variable to the 
ModelLocator.
   
   ModelLocator.myWindow = PopUpManager.createPopUp( .. );
   
   
   Dimitrios Gianninas
   RIA Developer
   Optimal Payments Inc.
   
   
   
   
   From: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com ] On Behalf Of Tim Hoff
   Sent: Sunday, June 11, 2006 7:37 PM
   To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com 
   Subject: [flexcoders] Re: Cairngorm createPopUp in a command
   
   
   
   That doesn't want to work.
   
   Error: Implicit coersion of a value of type class to an 
unrelated 
   type flash.display.displayObject.
   
   I liked your idea of handling it in the ModelLocator. Any 
chance 
   you could show the code that your using to do it that way?
   
   Thanks again,
   Tim
   
   --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com mailto:flexcoders%
  40yahoogroups.com , Dimitrios Gianninas 
   dimitrios.gianninas@ wrote:
   
Actually you don't even need to do that. You use case is 
simpler 
   (some code ommited):

class MyCommand implements Command {
var myWindow:Object;

public function execute() {
myWindow = PopUpManager.createPopUp( .. );
}

public function onResult() {
PopUpManager.removePopUp( myWindow);
}

public function onFault() {
PopUpManager.removePopUp( myWindow);
}
}

Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.




From: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com mailto:flexcoders%
  40yahoogroups.com 
   [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com mailto:flexcoders%
  40yahoogroups.com ] On Behalf Of Tim Hoff
Sent: Sunday, June 11, 2006 7:17 PM
To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com mailto:flexcoders%
  40yahoogroups.com 
Subject: [flexcoders] Re: Cairngorm createPopUp in a command



Dimitios,

Could you elaberate a little with code? How are you creating 
the 
popup? And, by reference, do you mean import?

Thanks,
Tim

--- In flexcoders@yahoogroups.com 

Re: [flexcoders] Cairngorm data flow chart

2006-06-11 Thread Michael Schmalle



Nice!

What did you use to make the flowchart and pdf?

Peace, MikeOn 6/11/06, lownlazy000 [EMAIL PROTECTED] wrote:









  



I have created a flow chart to illustrate the movement of data withing the Cairngorm framework. Its can be found here: 
http://www.corbell.com.au/docs/Cairngorm%20flow%20chart.pdf
As I am relitively new to the concept of OOP I found cairngorm a
little challenging to get my head arround soa picture was the
only way forweard. So for those in the same boat as me: who are sailing
in from Flash having never captainedthe battleship Java, I
hope this chart helps you navigate the warms watersof Cairngorm.

  













-- What goes up, does come down.

__._,_.___





--
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] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
Got it to work with this:

var myWindow:IFlexDisplayObject;
var myParent:DisplayObject;

myParent = Application.application.mainPanelView;
myWindow = PopUpManager.createPopUp(myParent,SearchingPopupView, 
true);

Now I just have to find a way to incorperate this without totally 
stepping all over Cairngorm.

Again, thanks so much Dimitrios,
Tim Hoff

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

 That got rid of the compile error, but created the same error at 
run-
 time.  Don't worry about it Dimitrios.  You've spent enough time 
on 
 this.  I'll keep trying.
 
 Much thanks,
 Tim
 
 --- In flexcoders@yahoogroups.com, Dimitrios Gianninas 
 dimitrios.gianninas@ wrote:
 
  wrap the MainPanelView like so:
   
  DisplayObject(MainPanelView)
   
  Dimitrios Gianninas
  RIA Developer
  Optimal Payments Inc.
   
  
  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
  Sent: Sunday, June 11, 2006 8:16 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Cairngorm createPopUp in a command
  
  
  
  In the command:  (Same thing if I move it to the ModelLocator)
  
  import org.ets.main.code.view.mainPanel.MainPanelView;
  import 
 org.ets.main.code.view.mainPanel.searching.SearchingPopupView;
  import mx.managers.PopUpManager;
  import mx.core.IFlexDisplayObject;
  
  public function execute( 
var myWindow:IFlexDisplayObject;
myWindow = PopUpManager.createPopUp(MainPanelView,
   SearchingPopupView, true);
  }
  
  The last line gives the error.
  
  This is the SearchingPopupView compnent:
  
  ?xml version=1.0 encoding=utf-8?
  mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml 
 http://www.adobe.com/2006/mxml  cornerRadius=6
   styleName=plainPanel headerHeight=0
   height=70 width=300 horizontalAlign=center 
 verticalAlign=middle
   
   mx:Script
   ![CDATA[
  
import org.ets.main.code.model.ModelLocator;
 
   ]]
   /mx:Script
   
   mx:Spacer height=4/
   mx:Label text={ ModelLocator.getInstance
().searchingMessage } 
 fontWeight=bold fontSize=11/
   mx:ProgressBar indeterminate=true height=10 
trackHeight=10 
 barColor=#27568D label= /
  /mx:TitleWindow
  
  -TH
  
  --- In flexcoders@yahoogroups.com, Dimitrios Gianninas 
 dimitrios.gianninas@ wrote:
  
   it should work, too simple not too. What line gives the 
error... 
 paste the offending line.
   
   Dimitrios Gianninas
   RIA Developer
   Optimal Payments Inc.
   
   
   
   
   From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
   Sent: Sunday, June 11, 2006 8:01 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Cairngorm createPopUp in a command
   
   
   
   Well, I tried it both ways and am still getting the same 
compile 
   error. Sorry to be such a bother. I'll keep plugging away at 
it.
   
   Thanks Dimitrios,
   Tim
   
   --- In flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com , Dimitrios Gianninas 
   dimitrios.gianninas@ wrote:
   
ok you are using Flex2... wasn't sure. Change to:

var myWindow:IFlexDisplayObject

And if you want, move the myWindow variable to the 
 ModelLocator.

ModelLocator.myWindow = PopUpManager.createPopUp( .. );


Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.




From: flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com 
   [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com ] On Behalf Of Tim Hoff
Sent: Sunday, June 11, 2006 7:37 PM
To: flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com 
Subject: [flexcoders] Re: Cairngorm createPopUp in a command



That doesn't want to work.

Error: Implicit coersion of a value of type class to an 
 unrelated 
type flash.display.displayObject.

I liked your idea of handling it in the ModelLocator. Any 
 chance 
you could show the code that your using to do it that way?

Thanks again,
Tim

--- In flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com mailto:flexcoders%
   40yahoogroups.com , Dimitrios Gianninas 
dimitrios.gianninas@ wrote:

 Actually you don't even need to do that. You use case is 
 simpler 
(some code ommited):
 
 class MyCommand implements Command {
 var myWindow:Object;
 
 public function execute() {
 myWindow = PopUpManager.createPopUp( .. );
 }
 
 public function onResult() {
 PopUpManager.removePopUp( myWindow);
 }
 
 public function onFault() {
 PopUpManager.removePopUp( myWindow);
 }
 }
 
 Dimitrios Gianninas
 RIA Developer
 Optimal Payments Inc.
 
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com mailto:flexcoders%
   

Re: [flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread stacey

Also just in case you want to set props on the window or whatever, you can
just cast it to the SearchingPanelView - if you need something that
flexible.

IN terms of how this integrates into the C framework i dunno, is it really
necessary to filter everythign through the front controller when not
everything needs to be aware of it - especially if its a view focused item
that only affects that view.




\ Got it to work with this:

 var myWindow:IFlexDisplayObject;
 var myParent:DisplayObject;

 myParent = Application.application.mainPanelView;
 myWindow = PopUpManager.createPopUp(myParent,SearchingPopupView,
 true);

 Now I just have to find a way to incorperate this without totally
 stepping all over Cairngorm.

 Again, thanks so much Dimitrios,
 Tim Hoff

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

 That got rid of the compile error, but created the same error at
 run-
 time.  Don't worry about it Dimitrios.  You've spent enough time
 on
 this.  I'll keep trying.

 Much thanks,
 Tim

 --- In flexcoders@yahoogroups.com, Dimitrios Gianninas
 dimitrios.gianninas@ wrote:
 
  wrap the MainPanelView like so:
 
  DisplayObject(MainPanelView)
 
  Dimitrios Gianninas
  RIA Developer
  Optimal Payments Inc.
 
 
  
 
  From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
  Sent: Sunday, June 11, 2006 8:16 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Cairngorm createPopUp in a command
 
 
 
  In the command:  (Same thing if I move it to the ModelLocator)
 
  import org.ets.main.code.view.mainPanel.MainPanelView;
  import
 org.ets.main.code.view.mainPanel.searching.SearchingPopupView;
  import mx.managers.PopUpManager;
  import mx.core.IFlexDisplayObject;
 
  public function execute(
var myWindow:IFlexDisplayObject;
myWindow = PopUpManager.createPopUp(MainPanelView,
   SearchingPopupView, true);
  }
 
  The last line gives the error.
 
  This is the SearchingPopupView compnent:
 
  ?xml version=1.0 encoding=utf-8?
  mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml
 http://www.adobe.com/2006/mxml  cornerRadius=6
   styleName=plainPanel headerHeight=0
   height=70 width=300 horizontalAlign=center
 verticalAlign=middle
 
   mx:Script
   ![CDATA[
 
import org.ets.main.code.model.ModelLocator;
 
   ]]
   /mx:Script
 
   mx:Spacer height=4/
   mx:Label text={ ModelLocator.getInstance
 ().searchingMessage }
 fontWeight=bold fontSize=11/
   mx:ProgressBar indeterminate=true height=10
 trackHeight=10
 barColor=#27568D label= /
  /mx:TitleWindow
 
  -TH
 
  --- In flexcoders@yahoogroups.com, Dimitrios Gianninas
 dimitrios.gianninas@ wrote:
  
   it should work, too simple not too. What line gives the
 error...
 paste the offending line.
  
   Dimitrios Gianninas
   RIA Developer
   Optimal Payments Inc.
  
  
   
  
   From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
   Sent: Sunday, June 11, 2006 8:01 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Cairngorm createPopUp in a command
  
  
  
   Well, I tried it both ways and am still getting the same
 compile
   error. Sorry to be such a bother. I'll keep plugging away at
 it.
  
   Thanks Dimitrios,
   Tim
  
   --- In flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com , Dimitrios Gianninas
   dimitrios.gianninas@ wrote:
   
ok you are using Flex2... wasn't sure. Change to:
   
var myWindow:IFlexDisplayObject
   
And if you want, move the myWindow variable to the
 ModelLocator.
   
ModelLocator.myWindow = PopUpManager.createPopUp( .. );
   
   
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
   
   

   
From: flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com ] On Behalf Of Tim Hoff
Sent: Sunday, June 11, 2006 7:37 PM
To: flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com
Subject: [flexcoders] Re: Cairngorm createPopUp in a command
   
   
   
That doesn't want to work.
   
Error: Implicit coersion of a value of type class to an
 unrelated
type flash.display.displayObject.
   
I liked your idea of handling it in the ModelLocator. Any
 chance
you could show the code that your using to do it that way?
   
Thanks again,
Tim
   
--- In flexcoders@yahoogroups.com mailto:flexcoders%
 40yahoogroups.com mailto:flexcoders%
   40yahoogroups.com , Dimitrios Gianninas
dimitrios.gianninas@ wrote:

 Actually you don't even need to do that. You use case is
 simpler
(some code ommited):

 class MyCommand implements Command {
 var myWindow:Object;

 public function execute() {
 myWindow = PopUpManager.createPopUp( .. );
 }

 public function onResult() {
 PopUpManager.removePopUp( myWindow);
  

Re: [flexcoders] How to drag a file into Flash?

2006-06-11 Thread Jeremy Lu



I downloaded Rebus the other day and read the manual, it's a .NET 2.0 rebuild of Zinc and best of all, it's a plugin to Eclipse so the workflow is seamless.I assume it support flash player 8.5( 9 maybe ?) and can wrap flex2 swf.
On 6/12/06, John Grden [EMAIL PROTECTED] wrote:









  



will zinc work with a Flex2 swf?? I've heard about Rebus, but after reading, Rebus is just a hey let's see what you guys think of this concept for .NET etc
On 6/11/06, 
Abdul Qabiz [EMAIL PROTECTED] wrote:










  



Hi, RickNo Flash/Flex Applications (neither in browser nor as standalone) can handle such Drag  Drop operations.But it would really be cool feature and I understand, it won't take much effort to do that ? 
With Web 2.0/RIA stuff, such feature would really be important.For standalone applications, you can wrap your flex app inside C++/Delphi/VB application or use any third party SWF wrappers (SWFStudio, Zinc etc).. That would allow you do more low level stuff.
-abdulOn 6/11/06, Rick Schmitty 

[EMAIL PROTECTED] wrote:









  



File upload/download is a great leap forward and much appreciated!
But there has to be a way to allow Flash to accept a drag/drop from
the OS.  Just like if you were in Photoshop and you dragged an image
to the program.

When a swf is played through the browser, is Drag/Drop allowance a
browser issue?  For example if you goto adobe.com and drag an image
around the homepage from your desktop, the browser will show it valid
until it gets to a swf and the you get the no sign

If you used the Flash Player stand alone, could a feature request like
this be possible?

Perhaps Mac's just spoiled me with dragndropn everywhere and anywhere :)

  















  













-- John Grden - Blitz

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Flex vs. .Net for RIA database apps; new to both

2006-06-11 Thread Jeremy Lu



Actually flash remoting is part of Flex, when you use RemoteObject, you are using remoting.The thing is that currently (in F2B3), there are only server-side remoting gateway for Coldfusion (which support AMF3 - which also means, if you use RemoteObject in F2B3, your backend must be Coldfusion with updated adaptor) and FDS (which support Java only).
So If you want to use Flex2 with .NET and remoting today, you can't use RemoteObject out of the box, you will have to maually create NetConnection instance and connect/call remote method.this is the product page from adobe:
http://www.adobe.com/products/flashremoting/Fluorine is an open-source version of it, but just like the nature of most open source projects, stability and continuous development is always a consideration, when we have enough budget on the project, we will go with official product (at least we know whom to go to when things go wrong :-) )
On 6/12/06, michaellisten [EMAIL PROTECTED] wrote:









  



What software is needed in order to use flash remoting? Just plain
flash or is there some flash dev package? Are the terms for deploying
simple or does one have to license per server etc?

I've seen a couple of pages that ref ruby on rails too for the web
services end of things. Not sure how practical it is.

With Fluorine, I'll check it out, have seen it ref'd here, it runs on
.net, and provides flash remoting? That does sound good. Was it
created in part because it's less expensive to deploy than Flash
remoting from Adobe? 

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

 one more note (to Tim's post) : aside from Web Service, you can also use
 flash remoting with .NET as the means of data transmission.
 
 we use both products from Macromedia (flash remoting for .NET) and
Fluorine
 (open source flash remoting for .NET) all the time, just have to
manually
 tweak NetConnection than that's it.
 
 ps. Flash Remoting uses binary AMF to send and receive native AS
objects so
 it's a bit easier to handle large dataset.
 
 
 On 6/11/06, michaellisten [EMAIL PROTECTED] wrote:
 
Tim, that's great feedback, and also very much what I was hoping to
  hear. Winforms over the web with data via remoting etc has been
  closest to what I have been wanting migrate to, whenever that time for
  the learning materializes for me. Flex seemed a worthy alternative but
  pricing seemed to put it out of reach till the major recent adjustment
  for Flex 2. The most attractive looking .net framework that uses
  winforms and remoting that I've looked at for RIA is DevForce aka
  Ideablade, but the pricing model for it resembles the early flex
  range, ie up there a bit.
 
  Encouraging, thanks!
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tim

  Hoff TimHoff@ wrote:
  
   I agree completely with the assessment that Jeremy made concerning
   Flex's database suitability. Before Flex, I developed web
   applications primarily with ASP.NET. In my opinion, Flex is a much
   better choice for UI development. True, .Net includes all layers,
   but the main drawback is that pages are rendered by the server and
   sent to the browser one at a time. Flex, on the other hand, creates
   rich internet applications that only require data to be retrieved
   from the server. This gives you the best of both worlds, a desktop-
   like application with zero-deployment over the internet.
  
   I'm currently creating a Flex application that uses ASP.NET web
   services with a SQL Server back-end. In addition to being extremely
   easy to get work done, Flex makes the process of creating very
   complex user interfaces in a fraction of the time. In addition, if
   you also implement an MVC micro-architecture (like Cairngorm), you
   are able to quickly create very organized projects that are scalable
   and easily maintained. One other thought is that Flex can also be
   used as an alternative to .NET WinForms; without the associated DLL
   Hell and installation requirements. These are just my opinions, but
   I'm definitely sold on Flex for database driven web applications.
  
   Tim Hoff
  
  
   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,

  michaellisten listensome@
   wrote:
   
Thanks Jeremy, I'd not seen the flex dev derby page. There are
some
pretty interesting apps there, a good exposure.
   
Do you (or anyone) have any perspective on how flex compares with
.net, re getting work done? .net in total includes in theory all
layers including the webservice etc that one might use to handle
interaction with the backend. With flex one uses java or rails or
   even
.net.
   
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,

  Jeremy Lu wade.lu@ wrote:

 well, Flex 2 is surely suitable for database oriented or data-
   centric
 application, you can check out the Flex Derby pages here:


   

RE: [flexcoders] Using PUT with HTTPService

2006-06-11 Thread Matt Chotin










I believe we can support PUT if you go
through the FDS proxy.



Matt 











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dk_flasher
Sent: Sunday, June 11, 2006 1:07
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Using PUT
with HTTPService











Hi,

Is it possible make a HTTP PUT request using the HTTPService class?

The documentation seems unclear: At the top it specifies only POST or
GET, but under the method property it lists GET, POST, HEAD,
OPTIONS, PUT, TRACE and DELETE as permitted values.

Having tried multiple property combinations I've only succeeded in
generating GET and POST requests!?

Can somebody shed som light on this?

Regards,

Mikkel Jensen






__._,_.___





--
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] How to drag a file into Flash?

2006-06-11 Thread Muzak
Zinc does currently not support Flex swf's.

regards,
Muzak

- Original Message - 
From: John Grden [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, June 11, 2006 9:41 PM
Subject: Re: [flexcoders] How to drag a file into Flash?


 will zinc work with a Flex2 swf??   I've heard about Rebus, but after
 reading, Rebus is just a hey let's see what you guys think of this concept
 for .NET etc

 On 6/11/06, Abdul Qabiz [EMAIL PROTECTED] wrote:

   Hi, Rick

 No Flash/Flex Applications (neither in browser nor as standalone) can
 handle such Drag  Drop operations.

 But it would really be cool feature and I understand, it won't take much
 effort to do that ?

 With Web 2.0/RIA stuff, such feature would really be important.

 For standalone applications, you can wrap your flex app inside
 C++/Delphi/VB application or use any third party SWF wrappers (SWFStudio,
 Zinc etc).. That would allow you do more low level stuff.

 -abdul




 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] How to drag a file into Flash?

2006-06-11 Thread John C. Bland II



Jump on the Beta: http://www.multidmedia.com/devlabs/. (Flex is supported in upcoming version)On 6/11/06, 
Muzak [EMAIL PROTECTED] wrote:









  



Zinc does currently not support Flex swf's.

regards,
Muzak

- Original Message - 
From: John Grden [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, June 11, 2006 9:41 PM
Subject: Re: [flexcoders] How to drag a file into Flash?

 will zinc work with a Flex2 swf??   I've heard about Rebus, but after
 reading, Rebus is just a hey let's see what you guys think of this concept
 for .NET etc

 On 6/11/06, Abdul Qabiz [EMAIL PROTECTED] wrote:

   Hi, Rick

 No Flash/Flex Applications (neither in browser nor as standalone) can
 handle such Drag  Drop operations.

 But it would really be cool feature and I understand, it won't take much
 effort to do that ?

 With Web 2.0/RIA stuff, such feature would really be important.

 For standalone applications, you can wrap your flex app inside
 C++/Delphi/VB application or use any third party SWF wrappers (SWFStudio,
 Zinc etc).. That would allow you do more low level stuff.

 -abdul


  













-- John C. Bland III do what I can do when I can do it. - Chris Tucker, Money Talkshttp://www.gotoandstop.org
 - Home of FMUG.az

__._,_.___





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



  






__,_._,___