[flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...?

2006-08-06 Thread Jason
There are several AS2 model2code generators such as:
http://www.darronschall.com/weblog/archives/000174.cfm
http://www.codealloy.com/umlconverter.htm
and some others I can't remember right now.

It will just be a matter of time untill someone updates one of the
projects for AS3, and ideally for Cairngorm.
I poked around on sourceforge, but did not see an started project.

Darron Schall my be willing to provide his source as a starting point
for anyone looking to pick up the project -- it looks like he has a
SVN repository set for the source.

--jason

--- In flexcoders@yahoogroups.com, "Joost Nuijten" <[EMAIL PROTECTED]> wrote:
>
> I think what Thomas is trying to say:
>  
> In the Java world there are a lot of powerful tools that generate
the base
> skeleton of code out of a model. For the Flex world this is all hand
work.
> And how do we cope with this?
>  
> That is why it is important that we have a framework such as
Cairngorm. The
> one thing that we do not have is an automated tool that generates the
> Cairngorm base skeleton.
>  
> ** thinking about creating one myself **
>  
> Joost
> 
>   _  
> 
> Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Namens
> Dave Wolf
> Verzonden: maandag 7 augustus 2006 2:33
> Aan: flexcoders@yahoogroups.com
> Onderwerp: [flexcoders] Re: [Flex2] What do you use for modelling a
Flex2
> application...?
> 
> 
> 
> Why does the implementation language (the HOW) have anything
> significant to do with the modelling and documentation solution you
> use (the WHAT) ?
> 
> Are you trying to go from model to generated code?
> 
> If modelling is important to your development process, tried and
> trusted modelling solutions such as UML would be capable of
> documenting and managing the WHAT side of the development process
> regardless of the implementation HOW language.
> 
> -- 
> Dave Wolf
> Cynergy Systems, Inc.
> Adobe Flex Alliance Partner
> http://www.cynergys  ystems.com
> http://www.cynergys 
ystems.com/blogs
> 
> Email: [EMAIL PROTECTED] 
stems.com
> Office: 866-CYNERGY
> 
> --- In [EMAIL PROTECTED] 
ups.com,
> Thomas R�hl -akitogo-
>  wrote:
> >
> > 
> > Hi folks,
> > 
> > it's been a while now, since the Flex2 SDK is out and rockin' ;)
> > 
> > Not only for larger projects, multiple teams or team members and 
> > documentation purpose, I'd like to know, what everyone is using for 
> > modelling a Flex application. For the Java world I know, the tools 
> > available are very powerful and work very well out of the box and 
> > integrate with each other. There are also things like OmondoUML,
which 
> > we can be used for designing Java apps (doing use case and sequential 
> > diagram sort of stuff) in conjunction with creating the
> corresponding code.
> > 
> > The lack of Flex-specific tools for that kind of work still leads 
> > towards endless times spent on the drawing table - at least on my
side..
> > 
> > So, the question coming up my mind is, in what ways do you all design 
> > your Flex applications before/during or after implementation, if
any?
> > 
> > 
> > Cheers, Thomas
> > 
> > 
> > 
> > 
> > Thomas R�hl
> > Design, Programming & Concepts
> > 
> > akitogo OHG
> > Hanauer Landstrasse 188
> > 60314 Frankfurt
> > 
> > Telefon +49 (0) 69 800 69 445
> > Fax +49 (0) 69 800 69 449
> > Mobil +49 (0) 179 750 75 87
> > E-Mail thomas.ruehl@
> > Web http://www.akitogo.  com
> > 
> > 
> >
>






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

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

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

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





[flexcoders] Custom CheckBox icon?

2006-08-06 Thread Jason
Does anyone know how to set the default 'check' icon of a CheckBox to
a different image?  I would like to use an 'x' instead of the 'check'.

The class definition shows that it inherits the 'icon' style from the
Button class, but I cannot seem to be able to set the icon attribute
like I can with a button.

--jason





--
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: Re: [flexcoders] integrating map24 maps with FLEX2

2006-08-06 Thread duccio del ministro



Thanks a lot. I'll give it a try.CheersDuccio2006/8/4, Rich Tretola <[EMAIL PROTECTED]>:













  



I think the IFrame is the only way to go.  Here is the original sample
but I think its FP 8.5:
http://www.deitte.com/archives/2006/02/embedding_html.htm

Rich

On 8/4/06, Michael Hansen <[EMAIL PROTECTED]> wrote:
> You could use an iframe solution. Google around for iframe and
> flex2... I've seen seen a sample somewhere out there.
>
> cheers
>
> -michael
>
>
>
> On 7/28/06, duccio del ministro <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> > Thanks Rich but yahoo maps don't have road  details that map24 has for
> > Europe and Italy in particular.
> > Is there a way to show an  html tag inside a flex  layout?
> > Thanks
> > Duccio
> >
> >  2006/7/27, Rich Tretola <[EMAIL PROTECTED]>:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Why don't you use the Yahoo maps which already support Flash and Flex
> > > 1.5 and should have Fle 2 support soon. In the mean time you can use
> > > localconnection to speak to your Flash 8 map from Flex 2. This is how
> > > I accomplished mapping at StatPods.com
> > >
> > > Rich
> > >
> > >
> > > On 7/27/06, duccio del ministro <[EMAIL PROTECTED]> wrote:
> > > > Does anyone have any experience in integrating map24 maps
> > > > (http://devnet.map24.com) with a flex2 application? I saw the
> > > > flex-ajax bridge in adobe.labs and i'm using it to pass he right
> > > > parameters but the resulting maps need to be visualized inside an
> > > > html div tag, how can i integrate them inside a complex flex layout?
> > > > Thanks in advance
> > > > Duccio
> > > >
> > > >
> > >
> > > > --
> > > > 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
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > > --
> > > Rich Tretola
> > > 
> > > http://www.EverythingFlex.com
> > >
> > >
> > >
> >
> >
> >
> >
>
>
> --
> 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
>
>
>
>
>
>
>
>

-- 
Rich Tretola

http://www.EverythingFlex.com

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()

2006-08-06 Thread Gareth Edwards






I'm a little confused, it seems it works o.k in the example?

http://www.adobe.com/devnet/flex/quickstart/using_data_providers/

Whats occurring in the above example?

Cheers
Gareth.


Matt Chotin wrote:

  
  


  

  
  If you are
bound to the ArrayCollection
then manipulating the AC itself doesn’t re-trigger the binding.  You
need
to do a re-assignment.  If that isn’t working make sure that the
variable
for your AC is [Bindable] and if you wrote a setter and used
[Bindable(event=”…”)]
that you actually dispatched the event.
   
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira
  Sent: Sunday, August
06, 2006
10:25 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders]
[Flex
2][ArrayCollection][Bug] Bindings don't executing when setting AC to a
new
ArrayCollection()
  
   
  
  
  
  Hi,
  
I'm experiencing a bug with an ArrayCollection. I want to remove the
contents
and the new state should dispatch a Binding, but this is not happen at
all.
  
I was trying several methods:
  
* setting to null; 
* new ArrayCollection();
* calling removeAll()
* calligin refresh() as well
  
but nothing happens.
  
I suppose that this should be a known issue, anyone knows some trick to
avoid
this problem?
  
Thanks. 
  
-- 
::| Carlos Rovira
::| http://www.carlosrovira.com
  
  
  
  

  


__._,_.___





--
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: Java developers: How do you organize your projects?

2006-08-06 Thread Dave Wolf
We have a pretty unique approach to developing RIAs that we use here
at Cynergy called LookFirst.  We focus on doing the development
process from "front-to-back" whereby we develop the user experience,
using it to gather requirements, establish scope and drive back end
API and data model.  

The idea in front-to-back is that we start out with roughly developed
"wireframes" yet these wireframes are developed directly in Flex. 
Flex is such a productive canvas why go through the chore of using a
template solution like Visio.  This rough wireframe is then expanded
to inlcude art, validation, flow, etc.  Static data is then bound to
an object model and eventually to controls etc.  The goal is to create
effectively a fully functional application all bound to static data
and objects.  These objects become the API developed using POJOs in
Tomcat exposed as either (or sometimes both) SOAP and XML over HTTP
services.

>From the development standpoint one big thing you will notice is that
this approach forces a very strong seperation of concerns, not just
architecturally but physically as well.  The RIA developers are
requesting the services they require and in the format they require
them in.  This assures that there is no tight coupling between the
tiers and creates an automatic seperation of concerns.  It also allows
the two sides to work quite autonomously.  Although in our offices the
folks might be sitting right side-by-side.

We use subversion for source control and do have a series of ANT
scripts that take the front end RIA and the back-end services, compile
them, create WARS, deploy the WARS etc.  (We also have some internal
tools that do some code generation for us, also hooked into the
automated ANT builds).  IMHO building and deploying full wars
significantly reduces the broken cycles caused by bad or partial
deploys.  Every developer in this way can update their source tree,
build and deploy both tiers of the application to their local
development Tomcat servers without any dependancy on a shared server
model.

We have well over half a dozen Flex projects under development in
parallel here at any given point.  For the most part they are all laid
out the same way, using the same builds scripts and same developer
model.  I'm presenting our approach at the Flex Seminar up in NYC next
week and will be showing off three or four of these projects.  Swing
on up and take a peek.

http://www.flexseminar.com


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, "Dave Bobby" <[EMAIL PROTECTED]> wrote:
>
> Currently, I have a client-side flex running in Flex Builder stand-
> alone and a java server-side which is running in Eclipse, eventually 
> deployed to tomcat.
> 
> Now when I run from my Flex Builder, I can access my tomcat by just 
> saying http://localhost:8080/project/login.html?user=a&pass=b
> 
> . but this is not extensible, so the question is how do you 
> physically lay out your projects? 
> 
> . do you have ant builds that create a war with all the files  copied 
> over?
> 
> . do you separate your flex builder from eclipse or run them together 
> as flex (plugin) and java (in eclipse) at one time
> 
> . if you develop all in one project (java and flex) how do you 
> separate these concerns, for example, flex requires that application 
> mxml be in the root of the project and say cairngorm files would be 
> in root/com/... 
> 
> I need to set this up fast before other developers join the project, 
> appreciate your inputs.
> 
> Thanks.
> 
> Dave.
>






--
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] Dump?

2006-08-06 Thread Bjorn Schultheiss





mm yes, the new utils package.
I must admit there are a few cool utils in 
there.
 
I am not fully up to speed yet as 9-5 im still on 
as2
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy 
LuSent: Monday, 7 August 2006 12:08 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
Dump?


-import 
mx.utils.ObjectUtil;ObjectUtil.toString( loginVO 
);-This makes life a bit easier 
:-)Jeremy.
On 8/7/06, Bjorn 
Schultheiss  
wrote:

  
  
  
  
  
  
  already 
  answered by joost
  
   
  Regards,
   
  Bjorn Schultheiss
  Senior Flash Developer
  QDC Technologies
   
  
  
  
  From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  Bjorn SchultheissSent: Monday, 7 August 2006 11:38 
  AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] 
  Dump?
  
  
  
  
  public 
  function dump(obj:*):String
  {
      for (var i in obj)
      {
      trace('key: '+i+', value: '+obj[i] 
  );
      }
  }
   
   
  Regards,
   
  Bjorn Schultheiss
  Senior Flash Developer
  QDC Technologies
   
  
  
  From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  malik_robinsonSent: Monday, 7 August 2006 10:18 
  AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] 
  Dump?
  
  
  Hi,How can I dump the following variable "loginVO" and see its 
  output?public function loginUser() : void{var loginVO : 
  LoginVO = new LoginVO();loginVO.username = 
  username.text;loginVO.password = password.text;var event : 
  LoginEvent = new LoginEvent( loginVO 
  );CairngormEventDispatcher.getInstance().dispatchEvent( 
  event );}I would like to dump similar to how you dump the output 
  of a variable in ColdFusionThanks,-Malik
  
  
  
  

__._,_.___





--
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] Where'd this error come from?

2006-08-06 Thread Nick Collins



Ok, so I've been working on this project, and had to set it aside for a week as other projects took precedence. When I set it aside, all the code I had was working.For one of the other projects, I had to install PHP to test some things. I also had to enable server side includes for one of the projects. 
Now, I just got back to my Flex project here, and went to run it, and I now get the following error:ReferenceError: Error #1069: Property message not found on mx.messaging.messages.ErrorMessage and there is no default value.
    at com.cfgenerated.views.login::LoginForm/::serverFault()    at com.cfgenerated.views.login::LoginForm/___Operation1_fault()    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
()    at flash.events::EventDispatcher/dispatchEvent()    at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler
()    at mx.rpc::Responder/fault()    at mx.rpc::AsyncRequest/fault()    at mx.messaging::ChannelSet/::faultPendingSends()    at mx.messaging::ChannelSet/channelFaultHandler()    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
()    at flash.events::EventDispatcher/dispatchEvent()    at mx.messaging::Channel/mx.messaging:Channel::connectFailed()    at mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed
()    at mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()The code hasn't changed in the last week, so why is my remoting request for the login now throwing a fault? I upload the code to my production server, and it works fine, but no longer on my dev 
server.anyone have any thoughts what could be causing this?

__._,_.___





--
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] Isnt there *any* hello world/getting started doc for cairngorm???

2006-08-06 Thread hank williams
Wow. Thanks. Its amazing that that is burried in someones blog instead
of right there with the rest of the cairngorm info on adobe labs.

Regards
Hank

On 8/6/06, Paul Williams <[EMAIL PROTECTED]> wrote:
> Hi Hank,
>
> Alex Uhlmann has posted some simple demos to his blog:
>
> http://weblogs.macromedia.com/auhlmann
>
> Paul
>
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of hank williams
> Sent: Sunday, August 06, 2006 10:02 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Isnt there *any* hello world/getting started doc
> for cairngorm???
>
> Ok so I downloaded caringorm and installed.
>
> Now what?
>
> There is API doc, but that is really not useful until you know what
> you are doing and you just need to remember the API.
>
> There is this 6 part article on the adobe website. But it is far from
> a hello world. It discusses theory, which is useful. But a simple,
> complete example (like in the flex getting started docs) would be much
> more helpful. It seems to refer to a store application, but as far as
> I can tell, this store application is not included with caringorm.
>
> So I am just looking for a simple example "hello world" application
> and an explanation of how it works.
>
> Does this really not exist, or have I just missed it?
>
> Hank
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


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

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

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

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





RE: [flexcoders] Isnt there *any* hello world/getting started doc for cairngorm???

2006-08-06 Thread Paul Williams
Hi Hank,

Alex Uhlmann has posted some simple demos to his blog:

http://weblogs.macromedia.com/auhlmann

Paul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hank williams
Sent: Sunday, August 06, 2006 10:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Isnt there *any* hello world/getting started doc
for cairngorm???

Ok so I downloaded caringorm and installed.

Now what?

There is API doc, but that is really not useful until you know what
you are doing and you just need to remember the API.

There is this 6 part article on the adobe website. But it is far from
a hello world. It discusses theory, which is useful. But a simple,
complete example (like in the flex getting started docs) would be much
more helpful. It seems to refer to a store application, but as far as
I can tell, this store application is not included with caringorm.

So I am just looking for a simple example "hello world" application
and an explanation of how it works.

Does this really not exist, or have I just missed it?

Hank


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



 




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

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

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

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





Re: [flexcoders] Dump?

2006-08-06 Thread Jeremy Lu




-

import mx.utils.ObjectUtil;

ObjectUtil.toString( loginVO );

-


This makes life a bit easier :-)


Jeremy.
On 8/7/06, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote:













  






already answered by joost
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
 


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn 
SchultheissSent: Monday, 7 August 2006 11:38 AMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] 
Dump?



public function dump(obj:*):String
{
    for (var i in obj)
    {
    trace('key: '+i+', value: '+obj[i] 
);
    }
}
 
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
 


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of 
malik_robinsonSent: Monday, 7 August 2006 10:18 AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] 
Dump?


Hi,How can I dump the following variable "loginVO" and see its 
output?public function loginUser() : void{var loginVO : LoginVO 
= new LoginVO();loginVO.username = username.text;loginVO.password = 
password.text;var event : LoginEvent = new LoginEvent( loginVO 
);CairngormEventDispatcher.getInstance().dispatchEvent( event 
);}I would like to dump similar to how you dump the output of a 
variable in ColdFusionThanks,-Malik


  















__._,_.___





--
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] Isnt there *any* hello world/getting started doc for cairngorm???

2006-08-06 Thread hank williams
Ok so I downloaded caringorm and installed.

Now what?

There is API doc, but that is really not useful until you know what
you are doing and you just need to remember the API.

There is this 6 part article on the adobe website. But it is far from
a hello world. It discusses theory, which is useful. But a simple,
complete example (like in the flex getting started docs) would be much
more helpful. It seems to refer to a store application, but as far as
I can tell, this store application is not included with caringorm.

So I am just looking for a simple example "hello world" application
and an explanation of how it works.

Does this really not exist, or have I just missed it?

Hank


--
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] Java developers: How do you organize your projects?

2006-08-06 Thread Bjorn Schultheiss





Hi Joost,
 
Do you use any *special* fake facade for testing server 
interaction?
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Joost 
NuijtenSent: Monday, 7 August 2006 10:57 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Java developers: 
How do you organize your projects?



Hi Dave,
 
I'm doing the following in my projects:
- Flex and Java have their own Eclipse instances. I think 
there's no reason to mingle them. In my projects the role of Java developer and 
Flex developer are always occupied by two persons.
 
- We have a seperate server that acts as the release 
server. The Flex developer is able to test on his local machine. The Java is 
able to test his work by using test cases with JUnit.
 
- The interface between Flex and Java is specified by the 
Java and Flex developer. Based on the specifications a fake facade is created 
that the Flex developer can use to implement server 
interaction.
 
- Meanwhile the Java developer implements the interface. 
Everytime a stable version becomes available it is published to the central 
server and a JAR is commited to cvs. The Flex developer can use this JAR to test 
the interface on his local machine.
 
- The Java and Flex part are two seperate projects (also in 
cvs). Projects are merged by committing a stable JAR into the Flex project. The 
output of the Flex project (including JAR) will be the final 
product.
 
Maybe this will help you a bit.
 
~Joost


Van: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] Namens Dave 
BobbyVerzonden: zondag 6 augustus 2006 23:41Aan: 
[EMAIL PROTECTED]ups.comOnderwerp: [flexcoders] Java 
developers: How do you organize your projects?


Currently, I have a client-side flex running in Flex Builder stand-alone 
and a java server-side which is running in Eclipse, eventually deployed to 
tomcat.Now when I run from my Flex Builder, I can access my tomcat by 
just saying http://localhost:8080/project/login.html?user=a&pass=b.. 
but this is not extensible, so the question is how do you physically lay out 
your projects? .. do you have ant builds that create a war with all the 
files copied over?.. do you separate your flex builder from eclipse 
or run them together as flex (plugin) and java (in eclipse) at one 
time.. if you develop all in one project (java and flex) how do you 
separate these concerns, for example, flex requires that application 
mxml be in the root of the project and say cairngorm files would be in 
root/com/... I need to set this up fast before other developers join the 
project, appreciate your 
inputs.Thanks.Dave.

__._,_.___





--
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] Custom item renderer and view states

2006-08-06 Thread Bjorn Schultheiss





Are you able to trace from the ItemRenderer class the 
status of the text box?
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
joostnuijtenSent: Monday, 7 August 2006 9:01 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Custom item renderer 
and view states


Hi there,I'm having this custom itemrender (which is an AS-class, not 
a MXML).When a user clicks on an item the view state should switch 
to'selected'. The selectedstate adds an Text tag. But for some reasonthe 
text box does not show up. When I add an effect to the selectedstate, the 
effect shows up after clicking. So the state change works,but why is the 
text box not visible?The 
code:rid="albumBrowser"width="600"dataProvider="{Model.instance.album.aPhotoAlbumsOnPage}" 
>r>>erbuttonMode="true"> 
(which is an AS-class that extends UIComponent andimplements 
IDataRenderer)rer>er>er>Anyone? 
Thanks. 
Joost
__._,_.___





--
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] Dump?

2006-08-06 Thread Bjorn Schultheiss





already answered by joost
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn 
SchultheissSent: Monday, 7 August 2006 11:38 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
Dump?



public function dump(obj:*):String
{
    for (var i in obj)
    {
    trace('key: '+i+', value: '+obj[i] 
);
    }
}
 
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
 


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of 
malik_robinsonSent: Monday, 7 August 2006 10:18 AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] 
Dump?


Hi,How can I dump the following variable "loginVO" and see its 
output?public function loginUser() : void{var loginVO : LoginVO 
= new LoginVO();loginVO.username = username.text;loginVO.password = 
password.text;var event : LoginEvent = new LoginEvent( loginVO 
);CairngormEventDispatcher.getInstance().dispatchEvent( event 
);}I would like to dump similar to how you dump the output of a 
variable in ColdFusionThanks,-Malik

__._,_.___





--
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] Dump?

2006-08-06 Thread Bjorn Schultheiss





public function dump(obj:*):String
{
    for (var i in obj)
    {
    trace('key: '+i+', value: '+obj[i] 
);
    }
}
 
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
malik_robinsonSent: Monday, 7 August 2006 10:18 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] 
Dump?


Hi,How can I dump the following variable "loginVO" and see its 
output?public function loginUser() : void{var loginVO : LoginVO 
= new LoginVO();loginVO.username = username.text;loginVO.password = 
password.text;var event : LoginEvent = new LoginEvent( loginVO 
);CairngormEventDispatcher.getInstance().dispatchEvent( event 
);}I would like to dump similar to how you dump the output of a 
variable in ColdFusionThanks,-Malik
__._,_.___





--
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: [Flex2] What do you use for modelling a Flex2 application...?

2006-08-06 Thread Joost Nuijten





I think what Thomas is trying to say:
 
In the Java world there are a lot of powerful tools that 
generate the base skeleton of code out of a model. For the Flex world this is 
all hand work. And how do we cope with this?
 
That is why it is important that we have a framework such 
as Cairngorm. The one thing that we do not have is an automated tool that 
generates the Cairngorm base skeleton.
 
** thinking about creating one myself 
**
 
Joost


Van: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Namens Dave WolfVerzonden: 
maandag 7 augustus 2006 2:33Aan: 
flexcoders@yahoogroups.comOnderwerp: [flexcoders] Re: [Flex2] What do 
you use for modelling a Flex2 application...?


Why does the implementation language (the HOW) have anythingsignificant 
to do with the modelling and documentation solution youuse (the WHAT) 
?Are you trying to go from model to generated code?If modelling 
is important to your development process, tried andtrusted modelling 
solutions such as UML would be capable ofdocumenting and managing the WHAT 
side of the development processregardless of the implementation HOW 
language.-- Dave WolfCynergy Systems, Inc.Adobe Flex 
Alliance Partnerhttp://www.cynergysystems.comhttp://www.cynergysystems.com/blogsEmail: 
[EMAIL PROTECTED]stems.comOffice: 
866-CYNERGY--- In [EMAIL PROTECTED]ups.com, 
Thomas R�hl -akitogo-...> wrote:>> 
> Hi folks,> > it's been a while now, since the Flex2 SDK 
is out and rockin' ;)> > Not only for larger projects, multiple 
teams or team members and > documentation purpose, I'd like to know, what 
everyone is using for > modelling a Flex application. For the Java world 
I know, the tools > available are very powerful and work very well out of 
the box and > integrate with each other. There are also things like 
OmondoUML, which > we can be used for designing Java apps (doing use case 
and sequential > diagram sort of stuff) in conjunction with creating 
thecorresponding code.> > The lack of Flex-specific tools for 
that kind of work still leads > towards endless times spent on the 
drawing table - at least on my side..> > So, the question coming 
up my mind is, in what ways do you all design > your Flex applications 
before/during or after implementation, if any?> > > 
Cheers, Thomas> > > 
> > Thomas 
R�hl> Design, Programming & Concepts> > akitogo 
OHG> Hanauer Landstrasse 188> 60314 Frankfurt> > 
Telefon +49 (0) 69 800 69 445> Fax +49 (0) 69 800 69 449> Mobil 
+49 (0) 179 750 75 87> E-Mail thomas.ruehl@...> Web http://www.akitogo.com> > 
>
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()

2006-08-06 Thread Joost Nuijten





I had a similar problem, although I think it's not quite 
the same.
 
I used an AC defined as [Bindable]. But changes to the AC 
did not trigger any bindings. So, what I did to make it 
work:
- Declare my AC as an ICollectionView
- When data is assigned to the AC, assign an event listener 
to the event CollectionEvent.COLLECTION_CHANGE.
 
It's more or less the thing the  tag 
does to listen to the provided dataProvider collection.
 
 


Van: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Namens Matt 
ChotinVerzonden: maandag 7 augustus 2006 2:14Aan: 
flexcoders@yahoogroups.comOnderwerp: RE: [flexcoders] [Flex 
2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new 
ArrayCollection()




If you are bound to the 
ArrayCollection then manipulating the AC itself doesn’t re-trigger the binding. 
 You need to do a re-assignment.  If that isn’t working make sure that 
the variable for your AC is [Bindable] and if you wrote a setter and used 
[Bindable(event=”…”)] that you actually dispatched the 
event.





From: 
[EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Carlos RoviraSent: Sunday, August 06, 2006 10:25 
AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] [Flex 
2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new 
ArrayCollection()




Hi,I'm experiencing a bug with an 
ArrayCollection. I want to remove the contents and the new state should dispatch 
a Binding, but this is not happen at all.I was trying several 
methods:* setting to null; * new ArrayCollection();* 
calling removeAll()* calligin refresh() as wellbut nothing 
happens.I suppose that this should be a known issue, anyone knows some 
trick to avoid this problem?Thanks. -- ::| Carlos 
Rovira::| http://www.carlosrovira.com 


__._,_.___





--
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] Dump?

2006-08-06 Thread Joost Nuijten





Hi,
 
The base dump function is this one:
for (var x:String in object) trace(x + ": " + 
object[x]);
 
What you can do is build your own class around it, so that 
it is recursive and you can dump every objectstructure (inc. arrays of arrays 
with objects).
 
 


Van: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Namens 
malik_robinsonVerzonden: maandag 7 augustus 2006 
2:18Aan: flexcoders@yahoogroups.comOnderwerp: [flexcoders] 
Dump?


Hi,How can I dump the following variable "loginVO" and see its 
output?public function loginUser() : void{var loginVO : LoginVO 
= new LoginVO();loginVO.username = username.text;loginVO.password = 
password.text;var event : LoginEvent = new LoginEvent( loginVO 
);CairngormEventDispatcher.getInstance().dispatchEvent( event 
);}I would like to dump similar to how you dump the output of a 
variable in ColdFusionThanks,-Malik
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Java developers: How do you organize your projects?

2006-08-06 Thread Joost Nuijten





Hi Dave,
 
I'm doing the following in my projects:
- Flex and Java have their own Eclipse instances. I think 
there's no reason to mingle them. In my projects the role of Java developer and 
Flex developer are always occupied by two persons.
 
- We have a seperate server that acts as the release 
server. The Flex developer is able to test on his local machine. The Java is 
able to test his work by using test cases with JUnit.
 
- The interface between Flex and Java is specified by the 
Java and Flex developer. Based on the specifications a fake facade is created 
that the Flex developer can use to implement server 
interaction.
 
- Meanwhile the Java developer implements the interface. 
Everytime a stable version becomes available it is published to the central 
server and a JAR is commited to cvs. The Flex developer can use this JAR to test 
the interface on his local machine.
 
- The Java and Flex part are two seperate projects (also in 
cvs). Projects are merged by committing a stable JAR into the Flex project. The 
output of the Flex project (including JAR) will be the final 
product.
 
Maybe this will help you a bit.
 
~Joost


Van: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Namens Dave 
BobbyVerzonden: zondag 6 augustus 2006 23:41Aan: 
flexcoders@yahoogroups.comOnderwerp: [flexcoders] Java developers: 
How do you organize your projects?


Currently, I have a client-side flex running in Flex Builder stand-alone 
and a java server-side which is running in Eclipse, eventually deployed to 
tomcat.Now when I run from my Flex Builder, I can access my tomcat by 
just saying http://localhost:8080/project/login.html?user=a&pass=b.. 
but this is not extensible, so the question is how do you physically lay out 
your projects? .. do you have ant builds that create a war with all the 
files copied over?.. do you separate your flex builder from eclipse 
or run them together as flex (plugin) and java (in eclipse) at one 
time.. if you develop all in one project (java and flex) how do you 
separate these concerns, for example, flex requires that application 
mxml be in the root of the project and say cairngorm files would be in 
root/com/... I need to set this up fast before other developers join the 
project, appreciate your 
inputs.Thanks.Dave.
__._,_.___





--
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: Good Code Stops Working For Me Too

2006-08-06 Thread Eric Raymond
Thanks Matt.  We have an open ticket.  Any key phrases we can use to
get this to someone who understands the issue deeply?

Any chance support has a hacked version of the compiler which gives
some small relief or better diagnostics? A document which describes
best practices to isolating these problems.

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> You should contact support directly for this probably.  Let me know if
> you need help with this.
> 
>  
> 
> Matt
> 






--
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: [Flex2] What do you use for modelling a Flex2 application...?

2006-08-06 Thread Dave Wolf
Why does the implementation language (the HOW) have anything
significant to do with the modelling and documentation solution you
use (the WHAT) ?

Are you trying to go from model to generated code?

If modelling is important to your development process, tried and
trusted modelling solutions such as UML would be capable of
documenting and managing the WHAT side of the development process
regardless of the implementation HOW language.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Thomas R�hl -akitogo-
<[EMAIL PROTECTED]> wrote:
>
> 
> Hi folks,
> 
> it's been a while now, since the Flex2 SDK is out and rockin' ;)
> 
> Not only for larger projects, multiple teams or team members and 
> documentation purpose, I'd like to know, what everyone is using for 
> modelling a Flex application. For the Java world I know, the tools 
> available are very powerful and work very well out of the box and 
> integrate with each other. There are also things like OmondoUML, which 
> we can be used for designing Java apps (doing use case and sequential 
> diagram sort of stuff) in conjunction with creating the
corresponding code.
> 
> The lack of Flex-specific tools for that kind of work still leads 
> towards endless times spent on the drawing table - at least on my side.
> 
> So, the question coming up my mind is, in what ways do you all design 
> your Flex applications before/during or after implementation, if any...?
> 
> 
> Cheers, Thomas
> 
> 
> 
> 
>Thomas R�hl
>Design, Programming & Concepts
> 
>akitogo OHG
>Hanauer Landstrasse 188
>60314 Frankfurt
> 
>Telefon +49 (0) 69 800 69 445
>Fax +49 (0) 69 800 69 449
>Mobil   +49 (0) 179 750 75 87
>E-Mail  [EMAIL PROTECTED]
>Web http://www.akitogo.com
> 
> 
>







--
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] Dump?

2006-08-06 Thread malik_robinson
Hi,

How can I dump the following variable "loginVO" and see its output?

public function loginUser() : void
   {
  var loginVO : LoginVO = new LoginVO();
  loginVO.username = username.text;
  loginVO.password = password.text;

  var event : LoginEvent = new LoginEvent( loginVO );
  CairngormEventDispatcher.getInstance
().dispatchEvent( event );
   }

I would like to  dump similar to how you dump the output of a 
variable in ColdFusion

Thanks,

-Malik





--
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] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()

2006-08-06 Thread Matt Chotin












If you are bound to the ArrayCollection
then manipulating the AC itself doesn’t re-trigger the binding.  You need
to do a re-assignment.  If that isn’t working make sure that the variable
for your AC is [Bindable] and if you wrote a setter and used [Bindable(event=”…”)]
that you actually dispatched the event.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira
Sent: Sunday, August 06, 2006
10:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Flex
2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new
ArrayCollection()



 







Hi,

I'm experiencing a bug with an ArrayCollection. I want to remove the contents
and the new state should dispatch a Binding, but this is not happen at all.

I was trying several methods:

* setting to null; 
* new ArrayCollection();
* calling removeAll()
* calligin refresh() as well

but nothing happens.

I suppose that this should be a known issue, anyone knows some trick to avoid
this problem?

Thanks. 

-- 
::| Carlos Rovira
::| http://www.carlosrovira.com 






__._,_.___





--
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: Good Code Stops Working For Me Too

2006-08-06 Thread Matt Chotin












You should contact support directly for
this probably.  Let me know if you need help with this.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Eric Raymond
Sent: Sunday, August 06, 2006
12:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Good
Code Stops Working For Me Too



 







Any news on this bug? I kmow all attention is on Flex
2, but is there
any respite for your oldest customers who continue to bump into this
problem?

Guess what, we've got it again. And the property it is having a
problem binding to is "this" which is not much help.

--- In [EMAIL PROTECTED]ups.com,
"Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> I've mailed into support again, I'll see what they say.
> 
> 
> 
> Matt
> 
> 
> 
> 
> 
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of Simon Fifield
> Sent: Tuesday, May 09, 2006 12:15 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: RE: [flexcoders] Good Code Stops Working For Me Too
> 

> 
> I've checked that the code does not have any binding warnings - it does
> not. I've checked for the "dreaded NoChange bug" and it does
have this.
> 
> 






__._,_.___





--
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] Is there a way to search and append an XMLListCollection

2006-08-06 Thread Matt Chotin












You can append using the += operator.  

 

Seaching you would do using e4x
expressions or just normal iteration till you find the right one.  In Tree the
selectedItem should be the node that was clicked.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dave Bobby
Sent: Friday, August 04, 2006
12:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Is there a
way to search and append an XMLListCollection



 







I have been looking for the past 4 hours, maybe not
looking in the 
right place.

I need to update my Tree component, with the new XML retrieved 
through the HttpService. I need to find the node that was clicked and 
then append to this node. 

Where can i start, clues/hints/...






__._,_.___





--
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: Validators -- Is there a better way of doing this? (Flex 2)

2006-08-06 Thread Matt Chotin












Well the valueCommit event is meant to
encompass more of those events so you don’t have to think about all the
sub-events.  It wouldn’t capture the “change” event but often
you don’t want to validate then anyway…

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Raheen M Shabbazz
Sent: Friday, August 04, 2006 9:11
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Validators -- Is there a better way of doing this? (Flex 2)



 







Still encountering this issue -- any ideas?

--- In [EMAIL PROTECTED]ups.com,
"Raheen M Shabbazz"
...> wrote:
>
> Hello All,
> 
> I'm using Flex 2 to develop an app that requires some validation. I
> can't seem to find any info on how to reuse validators or how to use
> several trigger events within in a single validator. 
> 
> Below is a snippet of my code
> 
> --
> 
> minValue="-180" maxValue="180"
> trigger="{view.longitudeText}" triggerEvent="change"
/> 
> 
> minValue="-180" maxValue="180"
> valid="view.restSampleViewHelper.getMap()"
> trigger="{view.longitudeText}" triggerEvent="enter"
/> 
> 
> minValue="-180" maxValue="180"
> valid="view.restSampleViewHelper.getMap()"
> trigger="{view.longitudeText}" triggerEvent="focusOut"
/> 
> 
> 
> minValue="-180" maxValue="180"
> trigger="{view.latitudeText}" triggerEvent="change"
/> 
> 
> minValue="-180" maxValue="180"
> valid="view.restSampleViewHelper.getMap()"
> trigger="{view.latitudeText}" triggerEvent="enter"
/> 
> 
> minValue="-180" maxValue="180"
> valid="view.restSampleViewHelper.getMap()"
> trigger="{view.latitudeText}" triggerEvent="focusOut"
/> 
> --
> 
> That's pretty ugly -- expecially considering that this is only 2 of my
> 20+ variables. Is there a better way? What am I missing?
> 
> Thanks for your help!
>






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Problem with charts license

2006-08-06 Thread Bill Lane



Thanks Dave,
 
that confirms what I suspected.  We are currently chasing it up with 
our IT people.  Hopefully it won't take too long to resolve.
 
Bill Lane>>> "Dave Carabetta" <[EMAIL PROTECTED]> 
08/05/06 2:42 am >>>

On 8/4/06, Bill Lane <[EMAIL PROTECTED]edu.au> 
wrote:> I'm having a problem with inputting our serial number for 
Flex> Charting. FB2 has accepted the serial number no problem. But 
the> charting says it's invalid. Should there be a different serial 
number> for charting compared to FB2. Our IT guys say they only have 
one> number and the order form confirms that we ordered charting. 
Anyone> else had a similar problem.>There are definitely 2 
serial numbers, as you can have FB without thecharting, as you're aware. 
Have your IT guys circle back with whoeverthey placed the order with to 
track down the charting serial number.We received 
two.Regards,Dave.


gifzBUQUS2iTH.gif
Description: GIF image


binxg7pdvndLG.bin
Description: image/com/serv


Re: [flexcoders] accessing itemClick event of TabNavigator

2006-08-06 Thread douglas morrison


OK...I was just being brain-dead. I was thinking since TabNavigator behaved it liked a TabBar control with a ViewStack container, that's what it was. After looking at the code, I see it is not really the case. So I just have a TabBar controlling a ViewStack and all is good in code monkey land.  So when a tab is selected, it runs various functions based on the index value of the tab. It works with everything except where on one function i want to use Menu.show() to create a popup list of options. It just seems to ignore this one and runs everything else. Anyone else have this problem??? Or better yet a solution :-)--DougOn Aug 5, 2006, at 11:33 PM, douglas morrison wrote:hi all,just wondering if there was a way to access the itemClick event of the TabBar within a TabNavigator component. rather than create a new event listener, i am sure there is a way to use the one that's already there, just can't put my finger on it...thanks,doug
__._,_.___





--
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] Custom item renderer and view states

2006-08-06 Thread Joost Nuijten





Hi 
there,
 
I'm having this 
custom itemrender (which is an AS-class, not a MXML). When a user clicks on an 
item the view state should switch to 'selected'. The selectedstate adds an Text 
tag. But for some reason the text box does not show up. When I add an effect to 
the selected state, the effect shows up after clicking. So the state change 
works, but why is the text box not visible?
 
The 
code:id="albumBrowser"width="600"dataProvider="{Model.instance.album.aPhotoAlbumsOnPage}" 
>
 
buttonMode="true"> 
(which is an AS-class that extends UIComponent and implements 
IDataRenderer)
 

 

 

 
Anyone? Thanks. 

 
 
Joost
__._,_.___





--
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] Custom item renderer and view states

2006-08-06 Thread joostnuijten
Hi there,
 
I'm having this custom itemrender (which is an AS-class, not a MXML).
When a user clicks on an item the view state should switch to
'selected'. The selectedstate adds an Text tag. But for some reason
the text box does not show up. When I add an effect to the selected
state, the effect shows up after clicking. So the state change works,
but why is the text box not visible?
 
The code:

 


 (which is an AS-class that extends UIComponent and
implements IDataRenderer)
 







 



 

 
Anyone? Thanks. 
 
 
Joost






--
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: WSDLError:Element not resolvable

2006-08-06 Thread Derek Adams
Did you have any luck figuring this one out? I am having the same 
problem. The first call to a particular operation always fails, then 
all calls after that work fine. Even weirder is the fact that a call 
to another operation on the same service is successful right before 
the other call fails.

--- In flexcoders@yahoogroups.com, "flexava" <[EMAIL PROTECTED]> wrote:
>
> I ran into a strange problem when I was trying to call a web
> service.Here's the source:
> 
> http://www.adobe.com/2006/mxml";
> layout="vertical">
>   
>   
>   
>port="umc/umc/authHttpPort" 
>   wsdl="http://localhost:8008/ws/services/umc/umc/auth?
wsdl"
> showBusyCursor="true"
>   result="onResult(event)" fault="onFault(event)"> 
> 
>   
>   
>   
>   admin
>   
>   
>   admin
>   
>   
>   admin
>   
>   
>   
>  
>   
>   
> 
> when I clicked the login button it first showed me an error dialog 
saying:
> [WSDLError faultString="Element 
http://cmd.umc.ceno.com:loginResponse
> not resolvable" faultCode="WSDL.BadElement" faultDetail="null"]
>   at
> 
mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::p
arseMessage()
>   at mx.rpc.soap::WSDLOperation/parseMessages()
>   at
> 
mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::in
vokePendingCall()
>   at mx.rpc.soap::Operation/send()
>   at Function/http://adobe.com/AS3/2006/builtin::apply()
>   at mx.rpc.soap.mxml::Operation/send()
>   at WSTest/___Button1_click()
> then I clicked the login button again,eveything worked.Any idea? 
Thanks.
>







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

<*> 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] Java developers: How do you organize your projects?

2006-08-06 Thread Dave Bobby
Currently, I have a client-side flex running in Flex Builder stand-
alone and a java server-side which is running in Eclipse, eventually 
deployed to tomcat.

Now when I run from my Flex Builder, I can access my tomcat by just 
saying http://localhost:8080/project/login.html?user=a&pass=b

. but this is not extensible, so the question is how do you 
physically lay out your projects? 

. do you have ant builds that create a war with all the files  copied 
over?

. do you separate your flex builder from eclipse or run them together 
as flex (plugin) and java (in eclipse) at one time

. if you develop all in one project (java and flex) how do you 
separate these concerns, for example, flex requires that application 
mxml be in the root of the project and say cairngorm files would be 
in root/com/... 

I need to set this up fast before other developers join the project, 
appreciate your inputs.

Thanks.

Dave.







--
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] [Flex2] What do you use for modelling a Flex2 application...?

2006-08-06 Thread Thomas Rühl -akitogo-

Hi folks,

it's been a while now, since the Flex2 SDK is out and rockin' ;)

Not only for larger projects, multiple teams or team members and 
documentation purpose, I'd like to know, what everyone is using for 
modelling a Flex application. For the Java world I know, the tools 
available are very powerful and work very well out of the box and 
integrate with each other. There are also things like OmondoUML, which 
we can be used for designing Java apps (doing use case and sequential 
diagram sort of stuff) in conjunction with creating the corresponding code.

The lack of Flex-specific tools for that kind of work still leads 
towards endless times spent on the drawing table - at least on my side.

So, the question coming up my mind is, in what ways do you all design 
your Flex applications before/during or after implementation, if any...?


Cheers, Thomas




   Thomas Rühl
   Design, Programming & Concepts

   akitogo OHG
   Hanauer Landstrasse 188
   60314 Frankfurt

   Telefon +49 (0) 69 800 69 445
   Fax +49 (0) 69 800 69 449
   Mobil   +49 (0) 179 750 75 87
   E-Mail  [EMAIL PROTECTED]
   Web http://www.akitogo.com






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

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

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

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




[flexcoders] Re: Flex 2 and Access Databases

2006-08-06 Thread Dave Wolf
You should be able to get away with writing very little actually. 
Check out this article

http://msdn.microsoft.com/library/en-us/dnxpwst/html/odc_wsaccess.asp?frame=true

and this toolkit

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpwst/html/odc_wstoolkitoverview.asp

This will jumpstart your ability to expose your access database as a
series of web services. You can then connect to these web services
using the Flex  tags.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> - Original Message - 
> From: "edugalvez" <[EMAIL PROTECTED]>
> To: 
> Sent: Sunday, August 06, 2006 8:00 PM
> Subject: [flexcoders] Flex 2 and Access Databases
> 
> 
> > Hi.
> >
> > I'm a rookie about Flex.
> >
> > Can I connect my Flex 2 application to my Access Database on the
> > server?
> 
> No and Yes.
> 
> Flex does not have any facilities for accessing databases directly. 
> Server-side software is required for the
> Flex client to communicate with. The server side software could be
Java, 
> PHP, ASP, RoR, a web service, etc returning data to the Flex Client and 
> interacting with the database.
> 
> So yes, you could access Access using flex2, but only by writing a 
> server-side software layer to do that interaction for Flex2. Flex
doesn't do 
> direct database access.
> 
> Paul
> 
> >
> > Thanks
>






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

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

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

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




[flexcoders] Re: Flex 2 and Access Databases

2006-08-06 Thread Jason
If you are not deploying your app to a Web server and have the option
to wrap your SWF in a EXE 'projector' then look into MDM Zinc.  Zinc
has the ability to connect to a DB without a Web server technology
like ASP, PHP, etc.

--jason

--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> - Original Message - 
> From: "edugalvez" <[EMAIL PROTECTED]>
> To: 
> Sent: Sunday, August 06, 2006 8:00 PM
> Subject: [flexcoders] Flex 2 and Access Databases
> 
> 
> > Hi.
> >
> > I'm a rookie about Flex.
> >
> > Can I connect my Flex 2 application to my Access Database on the
> > server?
> 
> No and Yes.
> 
> Flex does not have any facilities for accessing databases directly. 
> Server-side software is required for the
> Flex client to communicate with. The server side software could be
Java, 
> PHP, ASP, RoR, a web service, etc returning data to the Flex Client and 
> interacting with the database.
> 
> So yes, you could access Access using flex2, but only by writing a 
> server-side software layer to do that interaction for Flex2. Flex
doesn't do 
> direct database access.
> 
> Paul
> 
> >
> > Thanks
>






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

<*> 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: ContextMenu: is there a way to prevent my component's label from being the m

2006-08-06 Thread Jason
I have solved this problem in the past will a little bit of
ActionScript.  You will need to know a little bit about what your
components are named beforehand.

I have not written this up for AS3 yet, but this is how you would do
it in AS2.  (I am not sure if '_parent' is still the right param to
the the parent instance name or not ... it might just be 'parent') 

You want:
mouseTarger = contianer1.myBox1

But you are getting:
mouseTarget = container1.myBox1.label123.textfield456

if(mouseTarget.indexOf("textfield") != -1){
   mouseTarget = mouseTarget._parent._parent;
} else if (mouseTarget.indexOf("label") != -1){
  moustTarget = mouseTarget._parent.
}


good luck

--jason



--- In flexcoders@yahoogroups.com, "Tom Bray" <[EMAIL PROTECTED]> wrote:
>
> Say you have a custom component called MyBox and it has label inside it.
> You create lots of nested boxes and you want to be able to right
click on
> each box and have it be the mouseTarget for your contextMenu event.  The
> problem is that if you right click on the label that's inside the
box, your
> mouseTarget contains the label component and the textfield that's
inside the
> Label.  For example:
> 
> container1.myBox1.label123.textfield456
> 
> when what you want is:
> 
> contianer1.myBox1
> 
> Is there a way to make it so that the Label is ignored and I just get a
> reference for the box I'm interested in?
> 
> Thanks,
> 
> Tom
>







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

2006-08-06 Thread Paul Andrews
- Original Message - 
From: "edugalvez" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, August 06, 2006 8:00 PM
Subject: [flexcoders] Flex 2 and Access Databases


> Hi.
>
> I'm a rookie about Flex.
>
> Can I connect my Flex 2 application to my Access Database on the
> server?

No and Yes.

Flex does not have any facilities for accessing databases directly. 
Server-side software is required for the
Flex client to communicate with. The server side software could be Java, 
PHP, ASP, RoR, a web service, etc returning data to the Flex Client and 
interacting with the database.

So yes, you could access Access using flex2, but only by writing a 
server-side software layer to do that interaction for Flex2. Flex doesn't do 
direct database access.

Paul

>
> Thanks 




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

<*> 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] tree drag drop

2006-08-06 Thread Lisa Nelson





I 
think this should be a simple thing to do, but I haven't been able to figure out 
the answer.
 
I have 
a really simple tree with an array collection as a data provider.  

 

   
dataProvider="{fundList}"
   
labelField="fundShortName"
   
dragEnabled="true"
   
dragMoveEnabled="true"
   
dropEnabled="true"
   
dragDrop="onDragDrop(event);">

 
If the 
user wants to move an element up or down the tree, I can see where to remove the 
item from the array collection, but I don't know where to add it to.  How 
do I figure out the drop location?
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Flex 2 and Access Databases

2006-08-06 Thread edugalvez
Hi.

I'm a rookie about Flex.

Can I connect my Flex 2 application to my Access Database on the 
server?

Thanks





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

<*> 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: Timer to run function every 30 min

2006-08-06 Thread David Brown
Thank you for your help.  I managed to get a timer function written, 
but everytime the timerEvent runs it blanks out the display.

The page loads and displays the weather and then calls the 
timerExample every second (for testing).  But each time the 
TimerEvent runs the weather data displays, but disapears just as 
soon as it displays. While the timer is counting to the next event 
the weather does not display.  Then after it's complete it leaves 
the display blank.

Below is the entire code.  I would be greatful for any suggestions.  
Maybe its the datagrid, just not sure.

David


http://www.adobe.com/2006/mxml"; 
layout="absolute" width="490" height="56" 
backgroundGradientColors="[#ff, #ff]" 
creationComplete="initVars()" horizontalAlign="center" 
verticalAlign="middle" borderColor="#ff" 
backgroundColor="#ff" borderStyle="solid" borderThickness="1">





































  

  












--
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] ContextMenu: is there a way to prevent my component's label from being the mouseTarget?

2006-08-06 Thread Tom Bray



Say you have a custom component called MyBox and it has label inside it.  You create lots of nested boxes and you want to be able to right click on each box and have it be the mouseTarget for your contextMenu event.  The problem is that if you right click on the label that's inside the box, your mouseTarget contains the label component and the textfield that's inside the Label.  For example:
container1.myBox1.label123.textfield456when what you want is:contianer1.myBox1Is there a way to make it so that the Label is ignored and I just get a reference for the box I'm interested in?
Thanks,Tom

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Timer to run function every 30 min

2006-08-06 Thread richmcgillicuddy
>From the docs:


package {
import flash.utils.Timer;
import flash.events.TimerEvent;
import flash.display.Sprite;

public class TimerExample extends Sprite {

public function TimerExample() {
var myTimer:Timer = new Timer(1000, 2);
myTimer.addEventListener("timer", timerHandler);
myTimer.start();
}

public function timerHandler(event:TimerEvent):void {
trace("timerHandler: " + event);
}
}
}


so your 'code' would look something like:
   // Using the suggestion from an earlier post, use the interval
as the default
 // Also, make it public var so you can adjust it if you want,
have a slider to offer more frequent updates or less frequent updates
or turn off.  This would be myTimer.delay = slider.value or something
similar...
  var interval:Number = 60 * 30 * 1000;
  // Leave off second param here to make it go indefinitely
  var myTimer:Timer = new Timer(interval);


  public function initTimer: void {
  myTimer.addEventlistener("timer", timerHandler);
  myTimer.start();
}
  public function timerHandler(event:TimerEvent):void {
trace("timerHandler: " + event);
 // Lookup weather, update datasets, update display
 // Don't know yet if you need to turn off timer, then turn on
at end in case update takes too long.
}
--- In flexcoders@yahoogroups.com, "David Brown" <[EMAIL PROTECTED]> wrote:
>
> Thank you for you're help.  The timer event is the part I am having
trouble with.  I don't know how to write or where to start.  Any
suggestions would be great.
> 
> David
> 
>   - Original Message - 
>   From: sinatosk 
>   To: flexcoders@yahoogroups.com 
>   Sent: Saturday, August 05, 2006 5:41 PM
>   Subject: Re: [flexcoders] Timer to run function every 30 min
> 
> 
>   60 * 30 * 1000
> 
>   60 seconds
>   times
>   30 minutes
>   times
>   1000 miliseconds
>   equals
>   180
> 
>   I recommend using "60 * 30 * 1000" instead of the "180" so
it's easier for you to change/debug 
> 
>   and then just add an event listener on "timer" event name along
with the function you want it to call upon 30 minutes and then your
done :p
> 
> 
> 
>   On 05/08/06, David Brown <[EMAIL PROTECTED]> wrote:
> 
> Hello all,
> 
> I could use some help.  I have been
livedocs.macromedia.com/flex/2docs looking for a way to create a timer
function that would execute a function every 30 min.  I found an
example of mytimer and looked at a example for simple analog clock. 
But I am having a hard time understanding how it relates to my code. 
Below is a code snipet.
> 
> I would like to run the InitApp() function every 30 min.  That
should refresh my two datagrids that inturn will update my screen.
> 
> Any help would be great.
> 
> Thank 
> David
> 
> mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute" width="500" height="56"
backgroundGradientColors="[#ff, #ff]"
creationComplete="initVars()" horizontalAlign="center"
verticalAlign="middle" borderColor="#ff" backgroundColor="#ff"
borderStyle="solid" borderThickness="1">
>  
> 
> 
> 
>  
>







--
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] The Date chooser control

2006-08-06 Thread Syed Mazhar Hasan Qadri
Hello Everyone! How can i implement DateChooser component, i mean, if 
i 
make some posts in my BLog, i want those dates to be highlighted in my 
DateChooser componenet (The same functionality that you see on 
thousands of non-flash blogs). How to tell the DateChooser component 
that there is an event on this date. I know there is method for 
specifying selectableRange but how to implement the functionality that 
i described above. 

Thanks And Regards!
Syed Mazhar Hasan






--
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] gotoAndStop Crash

2006-08-06 Thread sinatosk



it crashes here too :pOn 06/08/06, John Chipps-Harding <[EMAIL PROTECTED]> wrote:













  



Hi:I have uploaded an example of the gotoAndStop causing the flash player to crash... just quickly move the character about randomly and let me know if it crashes on yours!

http://www.ukmn.net/studio/playframe/test_02/boxtrix.htmlPlease could you let me know if this is an issue with my system or does it crash on every machine?Regards:John

  















__._,_.___





--
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: Is there a way to search and append an XMLListCollection

2006-08-06 Thread Dave Bobby
I am sure that this is a very common problem, I would appreciate any 
hints here.

Thanks.

--- In flexcoders@yahoogroups.com, "Dave Bobby" <[EMAIL PROTECTED]> wrote:
>
> I have been looking for the past 4 hours, maybe not looking in the 
> right place.
> 
> I need to update my Tree component, with the new XML retrieved 
> through the HttpService. I need to find the node that was clicked 
and 
> then append to this node. 
> 
> Where can i start, clues/hints/...
>







--
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: Load customized mxml component dinamically?

2006-08-06 Thread terencarter
--- In flexcoders@yahoogroups.com, "user_abcxyz" <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> Does anyone know how to do it? For e.g. I created a customized mxml 
> video component and a customized mxml audio component. At runtime, I 
> allow the user to choose which one to load by clicking on the audio or 
> video button.
> 
> Thank you
>

try using States
one that shows the video component, and another state that shows the
audio component.

when the user clicks the button, the appropriate state is chosen...





--
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] gotoAndStop Crash

2006-08-06 Thread John Chipps-Harding



Hi:I have uploaded an example of the gotoAndStop causing the flash player to crash... just quickly move the character about randomly and let me know if it crashes on yours!
http://www.ukmn.net/studio/playframe/test_02/boxtrix.htmlPlease could you let me know if this is an issue with my system or does it crash on every machine?Regards:John

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()

2006-08-06 Thread Carlos Rovira



Hi,I'm experiencing a bug with an ArrayCollection. I want to remove the contents and the new state should dispatch a Binding, but this is not happen at all.I was trying several methods:* setting to null;
* new ArrayCollection();* calling removeAll()* calligin refresh() as wellbut nothing happens.I suppose that this should be a known issue, anyone knows some trick to avoid this problem?Thanks.
-- ::| Carlos Rovira::| http://www.carlosrovira.com

__._,_.___





--
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] Concurrent Image Loading

2006-08-06 Thread gotgoose09
Do multiple Image components load images at the same time or one after
the other?

The reason I'm asking is that I created a Pic Viewer app in Flash 7
that would, while one picture was being viewed, load the next picture
into a buffer MovieClip.  The 2nd MovieClip would then be set to
visible after a few seconds elapsed, and the 1st MovieCilp would be
loaded with the next picture and be set to invisible.

I did a test in which I loaded 8 pictures of varying file size into 8
Image components.  The output looks something like this:

1. very Large (1600K bytes)
2. Small
3. Small
4. Large (600K bytes)
5. Small
6. Small
7. Small
8. Small

In this test images 2 and 3 appeared "immediately". After a delay
image 4 was followed immediately by 5,6,7 and 8 and then finally after
another delay image 1.

This would seem to suggest concurrent loading because 2 and 3 were
displayed before 1.  However, since 5,6,7 and 8 did not appear until 4
was displayed I am not sure what is goin on.  Can anyone shed some
light on this situation?






--
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: Help with SharedObject please!

2006-08-06 Thread wayneposner
Well, my combo box displays the values from the SO when it's working 
so I have verification that way.  Also, when running using the Flex 
Builder debug, I have trace statements going to the console which 
confirm data in my SO.  No matter what, though, it won't get 
anything from my SO when running via a URL.  This is pretty darn 
frustrating :-)

 

Wayne



--- In flexcoders@yahoogroups.com, "Jeremy Lu" <[EMAIL PROTECTED]> wrote:
>
> How about just adding a TextArea control to the stage then trace 
to it ?
> 
> 
> 
> 
> On 8/5/06, wayneposner <[EMAIL PROTECTED]> wrote:
> >
> >   If I trace it locally the shared object returns what it's 
supposed
> > to. I'm still relatively new to flex so pardon my asking, but how
> > do you configure flex to trace data from a "deployed" swf (ie.
> > running from a url). I know if I try to just simply run the debug
> > files generated by flex, I get prompted for where the debugger is
> > running. Selecting localhost never seems to work for me as it 
just
> > keeps re-prompting me for the location of the debugger.
> >
> > Wayne
> >
> >
> > --- In flexcoders@yahoogroups.com , "Jeremy
> > Lu"  wrote:
> > >
> > > Looks like a security problem, can you trace the contents 
stored
> > in the
> > > sharedobject and see if all data are kept there ?
> > >
> > > Jeremy.
> > >
> > > On 8/5/06, wayneposner  wrote:
> > > >
> > > > Howdy all...
> > > >
> > > > I trying to use a SharedObject to keep user entered search
> > strings in
> > > > a drop-down box like the Google IE Toolbar. This works fine 
when
> > I'm
> > > > running the app locally, but as soon as I move it to a 
server and
> > > > access it via a URL, it stops working.
> > > >
> > > > Does anyone know what might be causing this? I haven't 
changed
> > any
> > > > compiler options except the default background color.
> > > >
> > > > Thanks!
> > > > Wayne
> > > >
> > > >
> > > >
> > >
> >
> >  
> >
>







--
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: extending array functions....or how do I remove duplicates in an array?

2006-08-06 Thread wayneposner
Here's what I do.  Loop thru your first array and add the items to 
an array collection.  Before you add the item though, use the 
contains() method to check to see if the item already exists in your 
array collection.  If it doesn't, add it.  Pretty simple and only a 
few lines of code.

 

Wayne



--- In flexcoders@yahoogroups.com, Impudent1 <[EMAIL PROTECTED]> wrote:
>
> I was beating on this combobox/datagrid thingy and was able to 
have a 
> measure of success by using the same arraycollection ..
> 
> BUT, this will populate the dropdown with duplicate entries. I was 
> trying to figure a way around this with flex array manipulation 
but I 
> just couldnt get it.
> 
> Searching around I found this little gem, but I admit extending 
the 
> array with a prototype function in flex is a bit over my melon at 
the mo..
> 
> Array.prototype.removeDuplicates = function(fn,matchFN) { // 
removes 
> duplicate items from an array and returns a new array
>var a = ([]).concat(this);
>(fn==null) ? a.sort() : a.sort(fn);
>if (matchFN!=null) {
>  for (i in a) if (matchFN(a[i],a[i-1])) a.splice(i,1);
>} else {
>  for (i in a) if (a[i]==a[i-1]) a.splice(i,1);
>}
>return a;
> }
> 
> 
> Now is this really something I need to deal with, or shouldnt flex 
be 
> all snazzy with some neat array manipulation that I just dont seem 
to see?
> 
> If it is something I need to add, is there any advice about 
extending 
> existing flex functions.
> 
> tia
> 
> Impudent1
> LeapFrog Productions
>






--
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] Extending Peter Ent Gauge component example

2006-08-06 Thread richmcgillicuddy
Hello,


I was trying to extend the gauge component example that was made
available via Peter Ent. I ran into a number of issues. I think most
of the issues are just my lack of understanding of how the styles work
for a component. I wanted to create 10 gauges at random locations, set
their properties and then move them to another location. The code
looks like:

   private function onAddTen(): void {
var nIndex : int;
for (nIndex = 0; nIndex < 10; nIndex ++) {
myGauge = new Gauge();
// This works
myGauge.width = 75;
myGauge.height = 75;
// This works
myGauge.x = getRandom(100, 1000);
myGauge.y = getRandom(100, 1000);
// This does not Work!, no Alphas are set
myGauge.setStyle("coverAlpha", getRandom(40, 80));
myGauge.setStyle("borderAlpha", getRandom(40, 80));
myGauge.setStyle("needleAlpha", getRandom(40, 80));
myGauge.setStyle("coverColor", 0xf7f083);
myGauge.setStyle("backgroundAlpha", getRandom(40, 80)/100);
myGauge.setStyle("backgroundColor", 0x6185ed);
// The image substitution does not work
var tmpImage:Image = new Image();
tmpImage.load("/gauge/skins/graphic/BitmapFrame.png");
myGauge.setStyle("frameskin", tmpImage);


// This has no effect
myGauge.alpha = 55;
// Alpha comes back as NaN
myGauge.toolTip = "I have a tooltip, my location is " +
myGauge.x + "," + myGauge.y + "\n my alpha is" +
myGauge.getStyle("backgroundAlpha")*100;
this.addChild(myGauge);
// This works
playMove(myGauge, getRandom(100, 1000), getRandom(100, 1000));
}
   }
]]>

My question is that many of the styles that I set do not get set. I've
walked through the code and looks like they are getting set but when
the tooltip is created, the values are not there and visually, the
alphas do not get set. Also the setting the skin to an image does not
work.  Any ideas on what I am doing incorrectly?


Thanks in advance,


Rich





--
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] accessing itemClick event of TabNavigator

2006-08-06 Thread douglas morrison
hi all,

just wondering if there was a way to access the itemClick event of  
the TabBar within a TabNavigator component. rather than create a new  
event listener, i am sure there is a way to use the one that's  
already there, just can't put my finger on it...

thanks,
doug


--
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] Is this a bug, or is it just me?

2006-08-06 Thread sinatosk



well not to be rude but I've explained alot plus I've asked you to read the documentation and clearly you havn't or you missed it or something... and the answer is in there :pread the documentation
On 06/08/06, Rick Root <[EMAIL PROTECTED]> wrote:













  



I still don't understand the following.

When you drag one item over, it appears in the tree.

The tree has a dataProvider.  It contains that one item.

dest.dataProvider.toString() absolutely should show something.

I understand the whole root node thing, it still doesn't explain why I 
can't dump the dataProvider using the object's toString() method, 
because it STILL HAS DATA.

Rick


  















__._,_.___





--
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: Good Code Stops Working For Me Too

2006-08-06 Thread Eric Raymond
Any news on this bug?  I kmow all attention is on Flex 2, but is there
any respite for your oldest customers who continue to bump into this
problem?

Guess what, we've got it again.  And the property it is having a
problem binding to is "this" which is not much help.


--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> I've mailed into support again, I'll see what they say.
> 
>  
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Simon Fifield
> Sent: Tuesday, May 09, 2006 12:15 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Good Code Stops Working For Me Too
> 

> 
> I've checked that the code does not have any binding warnings - it does
> not. I've checked for the "dreaded NoChange bug" and it does have this.
> 
>  






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

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