[flexcoders] Re: calling a secured web service

2005-10-07 Thread Dave Wolf
Have you tried putting the Apache SOAP TCPTunnel in between to see if
the proper credentials are being sent from the proxy to the service?

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY x85 

--- In flexcoders@yahoogroups.com, Raymond Camden <[EMAIL PROTECTED]> wrote:
>
> I made both changes. The error simply changed to
> 
> Error: Client.Disconnected Could not load WSDL
> 
> On 10/6/05, Matt Chotin <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Try removing use-custom-authentication, just have the run-as. 
Make sure
> > you're going through  and don't use
> > wsdl="…"
> >
> >
> >
> > Matt
> >
> >
> >
> >  
> >
> >
> >
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of Raymond Camden
> >  Sent: Thursday, October 06, 2005 2:06 PM
> >  To: flexcoders@yahoogroups.com
> >  Subject: Re: [flexcoders] calling a secured web service
> >
> >
> >
> > Nod, I've restarted about a hundred times now. :(
> >
> >  Do you see anything obviously wrong with this current setup:
> >
> >  
> >
> > true
> >  true
> >http://foo.com/foo.asmx?WSDL
> >
> >  
> >  http://foo.asmx
> >  
> >  
> >
> >
> >  On 10/6/05, Carson Hager <[EMAIL PROTECTED]> wrote:
> >  > FWIW, you don't have to prompt the user with custom auth. You
can simply
> >  > catch the credentials request then submit the username and
password in
> >  > code. That being said, if the username/pwd is fixed, run-as
makes sense.
> >  > Given Flex's response, it's going with the default behavior of
> >  > passthrough.  Have you reloaded your web app ( or restarted
your servlet
> >  > container ) since changing flex-config.xml?
> >  >
> >  >
> >  > Carson
> >  >
> >  >
> >  > 
> >  >
> >  > Carson Hager
> >  > Cynergy Systems, Inc.
> >  > http://www.cynergysystems.com
> >  >
> >  > Email:  [EMAIL PROTECTED]
> >  > Office:  866-CYNERGY ext. 89
> >  > Mobile: 1.703.489.6466
> >  >
> >  >
> >  >
> >  > -Original Message-
> >  > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> >  > Behalf Of Raymond Camden
> >  > Sent: Thursday, October 06, 2005 1:35 PM
> >  > To: flexcoders@yahoogroups.com
> >  > Subject: Re: [flexcoders] calling a secured web service
> >  >
> >  > In this case, my app is suing a secured service where the u/p
will never
> >  > change. Therefore, it doesn't make sense to prompt on the
client side.
> >  > It should be hard coded. Thanks for trying though.
> >  >
> >  > Can anyone from Macromedia Flex team comment? :)
> >  >
> >  > On 10/6/05, Carson Hager <[EMAIL PROTECTED]> wrote:
> >  > > I've never used run-as due to the fact that I think it has very
> >  > > limited usage given that all users connect to the web service
with the
> >  >
> >  > > same credentials.  Have you tried custom auth?  With that you can
> >  > > specify a client specific username and password for the web
service.
> >  > > Do you have access to the password from the app?
> >  > >
> > ==
> >  > > =
> >  > Raymond Camden, Director of Development for Mindseye, Inc
> >  > (www.mindseye.com)
> >  >
> >  > Member of Team Macromedia
> > (http://www.macromedia.com/go/teammacromedia)
> >  >
> >  > Email: [EMAIL PROTECTED]
> >  > Blog : ray.camdenfamily.com
> >  > Yahoo IM : cfjedimaster
> >  >
> >  > "My ally is the Force, and a powerful ally it is." - Yoda
> >  >
> >  >
> >  >
> >  > --
> >  > 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
> >  >
> >  >
> >  >
> >  >
> >  >
> >  >
> >  >
> >  >
> >
> >
> >  --
> >
===
> >  Raymond Camden, Director of Development for Mindseye, Inc
> > (www.mindseye.com)
> >
> >  Member of Team Macromedia
> > (http://www.macromedia.com/go/teammacromedia)
> >
> >  Email: [EMAIL PROTECTED]
> >  Blog : ray.camdenfamily.com
> >  Yahoo IM : cfjedimaster
> >
> >  "My ally is the Force, and a powerful ally it is." - Yoda
> >
> >
> >
> >  --
> >  Flexcoders Mailing List
> >  FAQ:
> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> >  Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> >
> >  
> >  YAHOO! GROUPS LINKS
> >
> >
> >  Visit your group "flexcoders" on the web.
> >
> >  To unsubscribe from

[flexcoders] Re: HTTPService timeout

2005-10-07 Thread Dave Wolf
This is a very elegant way to handle server-push.  It solves a myriad
of issues that "true" server-push has.  It is more scalable, has
better quality of service, etc.

You just need a servlet programmer who knows how to write thread safe
code.  Do note that each client will then tie up an HTTP thread, so
you may need to allocate more in your server.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY x85 

--- In flexcoders@yahoogroups.com, "Mink, Joseph" <[EMAIL PROTECTED]>
wrote:
>
> Thanks for the response, Matt...that's actually a good thing in the way
> that I'll be planning to use HTTPService : )
>  
> Joey
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Matt Chotin
> Sent: Friday, October 07, 2005 10:45 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] HTTPService timeout
> 
> 
> 
> Currently HTTPService doesn't support a timeout on its own.  You'll need
> to use your own mechanism with setInterval.
> 
>  
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Mink, Joseph
> Sent: Friday, October 07, 2005 5:03 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] HTTPService timeout
> 
>  
> 
> Hi,
> 
>  
> 
> I was wondering...does anyone know where/how to set the timeout for
> HTTPService requests?  I am shamefully considering this as a solution to
> asynchronous data push from the server...write a servlet that doesn't
> respond to requests until data of interest comes to be.
> 
>  
> 
> Thanks!
>






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






Re: [flexcoders] titlewindow move end

2005-10-07 Thread JesterXL
move.

my_panel.addEventListener("move", this);

function move()
{
trace("cracka moved!");
}

- Original Message - 
From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
To: 
Sent: Friday, October 07, 2005 7:38 PM
Subject: [flexcoders] titlewindow move end


Hi,

 I want to findout where a titlewindow has moved? so that I can set
the position is the user has moved the titlebar outside the screen area. 

 Does anyone know what event is generation when a move of titlewindow
is ended and how to trap it.

Regards
Rajesh J






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



 





 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






[flexcoders] titlewindow move end

2005-10-07 Thread Rajesh Jayabalan
Hi,

 I want to findout where a titlewindow has moved? so that I can set
the position is the user has moved the titlebar outside the screen area. 

 Does anyone know what event is generation when a move of titlewindow
is ended and how to trap it.

Regards
Rajesh J





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

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

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

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

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






[flexcoders] tileList and events

2005-10-07 Thread Fernando Barros
Hi there,

I think, not sure ;), this is a simple question, but I am little
confused how implement it.
In my ProdutoThumb, I have a TextInput, NumericStepper and I will have a
button. What is the best way to get the respective events in my app? I
mean, how I will get the change in the textInput, NumericStepper and the
click on the button.

Tks!

Fernando



My app:





*
ProdutoThumb.mxml


http://www.macromedia.com/2003/mxml"; width="100%"
height="100%">


























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

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

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

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

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





RE: [flexcoders] how many it costs "flex server"

2005-10-07 Thread Sho Kuwamoto
To be clear...

a) We are working on an updated server product that has significant new
functionality, but we are not at a point where we can talk about that as
freely as we can with the tool.

b) As you know from our recent announcements, we are getting ready to
introduce a public alpha of Flex, Flex Builder, and Flash Player.
However, these are alphas, and will not be suitable for production
environments, so depending on your situation, "very soon you may not
need one" might be overstating it a bit. :-)

-Sho
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Friday, October 07, 2005 11:41 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] how many it costs "flex server"

On 10/7/05, andrehfraga <[EMAIL PROTECTED]> wrote:

> how many it costs "flex server"?

Lots :)  ... but very soon you may not need one.



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



 






 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






Re: [flexcoders] Authentication with Macromedia Flex

2005-10-07 Thread Douglas Knudsen



On 10/7/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
so, I got auth working using the approach you mentioned

CallbackHandler handler = new 
SimpleCallbackHandler( userName, password ); Subject 
subject = Authentication.login( handler ); 
ServletAuthentication.runAs( subject, httpRequest );

silightly different looking under JRun of course.  Now, I'm
horribly stuck on getting the roles of the user after logging in. 
I have set up Roles under teh JMC, JRuns instance manager.  I
tested it all with BASIC auth, so I know the autentication and
authorisation are working.  I've been working all week on getting
the roles for the user after authenticating and can't find squat of an
example.  Any hints perhaps?

On a similar note...  Using service.setUserNamePassword() in Flex
I know it will authenticate a user, does it also authorise the user by
gathering up the roles defined in the containers JAAS config?
Ok, I'll break etiquette and answere this part.  Yes! 
service.setUsernamePassowrd() does  the whole JAAS story, getting
Roles as defined in your J2EE container as well as
authentication.  SCHWEET!  

Now anyone up for the cairingorn question below?

and one more concerning cairingrom  to use service.setUserNamePassword() 
effectively, it appears you would need to modify the onfault event of a
service in services.mxml file to check for a failed
authentication.  If not here then every command using the service
would need this check, eh?  What other way can this be done
possibly?  Create a AuthCommand abstract class to extend or
something?

DK
On 10/7/05, Dimitrios Gianninas <
[EMAIL PROTECTED]> wrote:







Ah yes about accessing the 
session, I read that article as well. I plan to change this in the future, just 
haven't gotten there yet.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas 
KnudsenSent: Thursday, October 06, 2005 3:54 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Authentication 
with Macromedia Flex
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=9636f34e&pss=rss_flex_9636f34e
there.Thanks 
for the hint about using JAAS via CallBackHandler, etc in th eother thread...I 
have not got it working 100% on JRun yet...but still banging away at 
it.DK
On 9/26/05, Dimitrios 
Gianninas <[EMAIL PROTECTED]> 
wrote: 

  Where did you hear that it was not the approach to take? We have it 
  working this way for one of our projects.
   
  Yes, when you user source="servlet", you must configure the source 
  attribute in the remote-objects section of the flex-config.xml. You have to 
  set it to the name of your context. So if your web application context is 
  "localhost:8080/batman", then you must set:
   
  batman
   
  or for no security at all (don't do this in 
  production):
   
  *
   
  Dimitrios "Jimmy" Gianninas
  RIA Developer
  Optimal Payments 
Inc.
   
  
  
  From: flexcoders@yahoogroups.com [mailto:

flexcoders@yahoogroups.com] On Behalf Of Douglas 
  KnudsenSent: Sunday, September 25, 2005 9:51 PMTo: flexcoders@yahoogroups.com

Subject: Re: 
  [flexcoders] Authentication with Macromedia Flex
  
  I was under the impression this was not the approach to take in 
  1.5.  IIRC, when messing with source= 

"servlet" I had to add some info to the flex.config 
  file.  Can you comment on this?  Just curious as there seems to be 
  so many ways to do this. DK
  On 9/24/05, Dimitrios 
  Gianninas <[EMAIL PROTECTED] > wrote: 
  

Ok here is how to do this.
 
Basically you will have a login.jsp page that will 
authenticate the user using FORM authentication. Once the user has logged in 
successfully, then you must retrieve the user information from your DB and 
save it to the session, this might look something like 
this:
 
UserVO user = userAdmin.getUser( userName 
);
session.setAttribute( "user", userLogin 
);
 
Now that the user object is in the 
session, once the Flex app loads, you can retrieve it from the session 
and make use of it as you please. First you must declare a RO that will 
connect with the current session:
 


And then you get the object from the session like 
so:
sessionSvlt.session( "get", "user" 
); 
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments 
Inc.
 


From: flexcoders@yahoogroups.com [mailto:

 
flexcoders@yahoogroups.com] On Behalf Of 
jagabcdeffSent: Friday, September 23, 2005 7:08 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Authentication with Macromedia Flex
Hi all,I working on small application.The 
flow is like Macromedia Flex<->Spring<->Hibernate<->DB 

[flexcoders] startDrag & stopDrag?

2005-10-07 Thread Mink, Joseph
Does anyone know how to get startDrag (...) and stopDrag (...) to work
with UIObjects in Flex?  I know that in Flash the usage is typically:
 
on(press) {
startDrag(this,true);
}
on(release) {
stopDrag();
}

But maybe it could work with our mouseDown and mouseUp events?  I am
currently trying it with this code, but it's not working:

import mx.containers.Canvas;
import mx.utils.Delegate;

class Rect extends Canvas
{
public var radius:Number;
private var _rect:Object;

/*
Constructor.
*/
function Circle ()
{
super ();

addEventListener("mouseUp", Delegate.create(this,
mouseUp));
addEventListener("mouseDown", Delegate.create(this,
mouseDown));
}

/*
Instantiates all child objects.
*/
function createChildren():Void
{
trace ("Begin Circle.createChildren().");
super.createChildren();
if (_rect == undefined)
{
_rect = createEmptyObject("square",
getNextHighestDepth());
_rect.fillRect(0, 0, radius, radius, 0x00,
100);
}
trace ("End Circle.createChildren().");
}

function mouseDown (event):Void
{
trace ("Begin Circle.mouseDown");

/*_isMouseDown = true;
_lastMouseX = mouseX;
_lastMouseY = mouseY;*/
startDrag (this, true);

trace ("End Circle.mouseDown"); 
}

function mouseUp(event):Void
{
trace ("Begin Circle.mouseUp");

//_isMouseDown = false;
stopDrag ();

trace ("End Circle.mouseUp");
}
}


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

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

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

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

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






Re: [flexcoders] How to find out the thickness of the scroll bar?

2005-10-07 Thread Manish Jethani
On 10/7/05, James <[EMAIL PROTECTED]> wrote:
> I'd like to know how to adjust the scrollbars width and height attributes.

There's no API for that.  You could try setting the scaleX.


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

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

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

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

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






Re: [flexcoders] calling a secured web service

2005-10-07 Thread Raymond Camden
I made both changes. The error simply changed to

Error: Client.Disconnected Could not load WSDL

On 10/6/05, Matt Chotin <[EMAIL PROTECTED]> wrote:
>
>
>
> Try removing use-custom-authentication, just have the run-as.  Make sure
> you're going through  and don't use
> wsdl="…"
>
>
>
> Matt
>
>
>
>  
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Raymond Camden
>  Sent: Thursday, October 06, 2005 2:06 PM
>  To: flexcoders@yahoogroups.com
>  Subject: Re: [flexcoders] calling a secured web service
>
>
>
> Nod, I've restarted about a hundred times now. :(
>
>  Do you see anything obviously wrong with this current setup:
>
>  
>
> true
>  true
>http://foo.com/foo.asmx?WSDL
>
>  
>  http://foo.asmx
>  
>  
>
>
>  On 10/6/05, Carson Hager <[EMAIL PROTECTED]> wrote:
>  > FWIW, you don't have to prompt the user with custom auth. You can simply
>  > catch the credentials request then submit the username and password in
>  > code. That being said, if the username/pwd is fixed, run-as makes sense.
>  > Given Flex's response, it's going with the default behavior of
>  > passthrough.  Have you reloaded your web app ( or restarted your servlet
>  > container ) since changing flex-config.xml?
>  >
>  >
>  > Carson
>  >
>  >
>  > 
>  >
>  > Carson Hager
>  > Cynergy Systems, Inc.
>  > http://www.cynergysystems.com
>  >
>  > Email:  [EMAIL PROTECTED]
>  > Office:  866-CYNERGY ext. 89
>  > Mobile: 1.703.489.6466
>  >
>  >
>  >
>  > -Original Message-
>  > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
>  > Behalf Of Raymond Camden
>  > Sent: Thursday, October 06, 2005 1:35 PM
>  > To: flexcoders@yahoogroups.com
>  > Subject: Re: [flexcoders] calling a secured web service
>  >
>  > In this case, my app is suing a secured service where the u/p will never
>  > change. Therefore, it doesn't make sense to prompt on the client side.
>  > It should be hard coded. Thanks for trying though.
>  >
>  > Can anyone from Macromedia Flex team comment? :)
>  >
>  > On 10/6/05, Carson Hager <[EMAIL PROTECTED]> wrote:
>  > > I've never used run-as due to the fact that I think it has very
>  > > limited usage given that all users connect to the web service with the
>  >
>  > > same credentials.  Have you tried custom auth?  With that you can
>  > > specify a client specific username and password for the web service.
>  > > Do you have access to the password from the app?
>  > >
> ==
>  > > =
>  > Raymond Camden, Director of Development for Mindseye, Inc
>  > (www.mindseye.com)
>  >
>  > Member of Team Macromedia
> (http://www.macromedia.com/go/teammacromedia)
>  >
>  > Email: [EMAIL PROTECTED]
>  > Blog : ray.camdenfamily.com
>  > Yahoo IM : cfjedimaster
>  >
>  > "My ally is the Force, and a powerful ally it is." - Yoda
>  >
>  >
>  >
>  > --
>  > 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
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>
>
>  --
> ===
>  Raymond Camden, Director of Development for Mindseye, Inc
> (www.mindseye.com)
>
>  Member of Team Macromedia
> (http://www.macromedia.com/go/teammacromedia)
>
>  Email: [EMAIL PROTECTED]
>  Blog : ray.camdenfamily.com
>  Yahoo IM : cfjedimaster
>
>  "My ally is the Force, and a powerful ally it is." - Yoda
>
>
>
>  --
>  Flexcoders Mailing List
>  FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>  Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>  
>  YAHOO! GROUPS LINKS
>
>
>  Visit your group "flexcoders" on the web.
>
>  To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>  
>
>
>


--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

"My ally is the Force, and a powerful ally it is." - Yoda


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A

[flexcoders] Question about accordions

2005-10-07 Thread nostra72




Ok whats the best thing to do if say you want to change something in one panel of an accordion using a function in another one. I am asking because I am trying to put something on a text bux on one panel with a function but its not letting me do this.
 





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Focusing cell on datagrid

2005-10-07 Thread thisdudenamedjon
I'm sorry. Let me rephrase my question and make this a little 
simpler. I have an editable datagrid. Whenever the change event is 
called, I send the dataProvider to a remoteObject for validation.

What I would like to do is to prevent the user from editing any other 
cell if the validation finds errors in the recently edited cell. I 
would like to force the focus to be on invalid cell until the error 
is corrected.

I'm open to any suggestions on the best way to do this. Thank you.

Jon

--- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote:
>
> I'm not sure if this is what your asking so i might be wrong
> 
> after you've done your async remote object call and your focused on 
> a combobox cellrenderer use this code (untested)
> //maybe in cellFocusIn?
> if(dg.cellEditor.className =="ComboBox")
> {
>   dg.cellEditor.addEventListener("open", mx.utils.Delegate.create
> (this, doOpen));
> }
> 
> create a function in your page called do Open
> function doOpen(event)
> {
>   event.target.close();
> }
> 
> so everytime someone opens the combobox cell renderer, it closes.
> 
> 
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "thisdudenamedjon" 
> <[EMAIL PROTECTED]> wrote:
> >
> > I have a datagrid with several columns of cells that are editable 
> and a 
> > custom combobox cell renderer. When a user edits a cell and 
> leaves, I 
> > pass that entire row to a RemoteObject to do some validation. If 
> there 
> > are errors, I want to keep that cell focused until the errors are 
> > corrected. 
> > 
> > Right now, I have implemented this using my datagrid's change and 
> > cellEdit listeners to simply dispose the celleditor and set 
> focused 
> > cell to the errored cell. However, with my combobox, Mm invalid 
> cell 
> > simply loses focus and I am able to access and change it. I do 
not 
> want 
> > to allow access to this combobox while I still have an error.
> > 
> > Can someone point me towards a more elegant solution or something 
> to 
> > force the focus back onto the invalid cell when I access the 
> combobox.
> > 
> > Thanks.
> >
>






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

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

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

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

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






RE: [flexcoders] date sort

2005-10-07 Thread joe . g . james




Ya I have tried that but from I understand
that only work when the date is from cell renderer. Mine is coming from
a java object and is using label to format it.




CONFIDENTIALITY STATEMENT - This message and any files or text attached
to it are intended only for the recipients named above, and contain information
that may be confidential or privileged.  If you are not an intended
recipient, you must not read, copy, use, or disclose this communication.
 Please also notify the sender by replying to this message, and then
delete all copies of it from your system.  Thank you.





"Matt Chotin"
<[EMAIL PROTECTED]> 
Sent by: flexcoders@yahoogroups.com
10/05/2005 05:27 PM



Please respond to
flexcoders@yahoogroups.com





To



cc



Subject
RE: [flexcoders] date sort








If it’s not working by default
you may want to look into the sortCompareFunction on DataGridColumn.
 
Matt
 



From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Joe
Sent: Wednesday, October 05, 2005 2:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] date sort
 
Is there a way to sort a date field
in a data grid that is using a 
labelfunction to get the date value. I have read that it can be done 
when using a cell renderer, but I do not want to change the code. Can 
this be done? Thanks.





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





SPONSORED LINKS




Web
site design development 
Computer
software development 
Software
design and development 

Macromedia
flex 
Software
development best practice 




YAHOO! GROUPS LINKS



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










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] pass multiple objects from dispatchEvent()to addEventListener()

2005-10-07 Thread Gordon Smith










Why not combine actualScore and
potentialScore in a single event?

 

    dispatchEvent({ type:
"score", actual: actual, potential: potential })

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt
 Chotin
Sent: Thursday, October 06, 2005
6:19 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] pass
multiple objects from dispatchEvent()to addEventListener()



 

Two dispatchEvents.

 

dispatchEvent({type:
‘actualScore’, Result: actual});

dispatchEvent({type:
‘potentialScore’, Result: potential});

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rgwilson26
Sent: Thursday, October 06, 2005
9:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] pass
multiple objects from dispatchEvent()to addEventListener()



 

What is the correct syntax to
pass *multiple* objects between 
dispatchEvent()to addEventListener() and then
called by handleEvent()?

This is what I have and doesn't work:

Thank you in advance.
---
popUp.mxml
---

 
[Event("actualScore")]
 
[Event("potentialScore")]







---
main.mxml
---
public var
sacActualValue:String;  
public var
sacPotentialValue:String;  

function showSACWorksheet():Void{
  
  var initObj = new
Object();
  
  var s:Object =
TitleWindow(PopUpManager.createPopUp(this, 
SAC_Worksheet, false, initObj, false));

 
s.addEventListener("actualScore", "potentialScore", this);
}

function handleEvent(evt1:Object,
evt2:Object):Void {
 
    if
(evt1.type == "actualScore") 

sacActualValue = evt1.Result;
 
  
    if
(evt2.type == "potentialScore") 

sacPotentialValue = evt2.Result;
   }











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] how many it costs "flex server"

2005-10-07 Thread Manish Jethani
On 10/7/05, andrehfraga <[EMAIL PROTECTED]> wrote:

> how many it costs "flex server"?

Lots :)  ... but very soon you may not need one.


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

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

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

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

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






Re: [flexcoders] [Flex/Javascript] Javascript function not found when called from Flex

2005-10-07 Thread Manish Jethani
On 10/7/05, djok_fb <[EMAIL PROTECTED]> wrote:

> 1-Embed the mxml file in a HTML page:
> 
> 
> 
> function launchSpellChecker(someText) {
> alert(someText);
> }
> 
> 
> 
[snip]

> 2- Write a AS function using getURL:
> function doSpellCheck( textToCheck ) {
> getURL("javascript:launchSpellChecker('" + textToCheck +
> "');void(0);");
> }

> 3- Link the function to a button
>
> The AS function is called but IE tells me "Object not found".
> I tried with Firefox (w/ JavaScript debugger) and it tells me:
> "launchSpellChecker function not found".

I don't see anything obviously wrong.  What version of IE are you using?


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






Re: [flexcoders] disable image

2005-10-07 Thread Manish Jethani
On 10/7/05, Doodi, Hari - BLS CTR <[EMAIL PROTECTED]> wrote:

> Even though enabled="false" I am able to click on the image and able to see 
> the Alert.

>  mouseDown="showMsg()" enabled="false" />

Sounds like a bug.  You could check for enabled == false in the
mouseDown event handler before calling showMsg, if that's an option.


 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






[flexcoders] Re: PopupManager.createPopUp - varying the className argument

2005-10-07 Thread fowleryj
I've also got a huge if-statement in my OpenWindowCommand, so the
opportunity to decrease the lines of code in that class was appealing.
I had the same thing happen (white background, then white screen) when
I tried the _global suggestion, though.

--- In flexcoders@yahoogroups.com, "Derrick Grigg" <[EMAIL PROTECTED]> wrote:
>
> Thanks Matt and Jester
>  
> No luck though. The background of my app goes white the first time
this function gets called, and the app completely disappears the
second time. If I put hard codeed class names in everything works. I
have come up another solution that seems to work. Each option that
calls the loadWin function is based on a class so instead of
dispatching an event to loadWin I am having the class use popupmanager
to open it's respective window.
>  
>  var win1: views.elements.image;
>  var win2: views.elements.swf;
>  var win3: views.elements.text;
>  
>  function loadWin(event){
>   var cn:String = "views.elements."+ event.target.type;
>   var initObj = {
>helpButton: true,
>stateButton: true,
>resizeButton: true,
>closeButton: true
>   }
>   var win = mx.managers.PopUpManager.createPopUp( _root,
_global[cn], true, initObj, false ); 
>   win.centerPopUp(_root);
>  }
>  
> Thanks for the help though.
> 
> 
> 
> From: flexcoders@yahoogroups.com on behalf of Matt Chotin
> Sent: Fri 07/10/2005 10:44 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] PopupManager.createPopUp - varying the
className argument
> 
> 
> 
> Also you need to make sure that the class still gets linked into
your app.  Create some dummy variables of the potential types that
could be loaded:
> 
>  
> 
> Var linkhelper1:MyWindow1;
> 
> Var linkhelper2:MyWindow2;
> 
>  
> 
> Etc.
> 
>  
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of JesterXL
> Sent: Friday, October 07, 2005 7:38 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] PopupManager.createPopUp - varying the
className argument
> 
>  
> 
> Close!
> 
> var yourClass:String = "Pooki";
> PopUpManager.createPopUp(this, _global[yourClass], false);
> 
> - Original Message - 
> From: "Derrick Grigg" <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, October 07, 2005 10:04 AM
> Subject: RE: [flexcoders] PopupManager.createPopUp - varying the
className 
> argument
> 
> 
> Tried the string idea, no luck. The switch/if looks like the only
way. I was 
> hoping not to have to do that since I want to have a lot of
variability on 
> the user's window options but not luck apparenetly.
> 
> Thanks.
> 
> 
> 
> From: flexcoders@yahoogroups.com on behalf of Mink, Joseph
> Sent: Fri 07/10/2005 9:48 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] PopupManager.createPopUp - varying the
className 
> argument
> 
> 
> I would guess you could use a string...like, instead of ...createPopUp( 
> _root, SomeClass, true, initObj, false ); maybe you could do
createPopUp( 
> _root, "SomeClass", true, initObj, false );
> 
> But I would guess your best bet is to arrange your implementation in
such a 
> way that you can just go through a few if-statements and based on your 
> user's input, execute the necessary call to createPopUp.
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
> Behalf Of derrickgrigg
> Sent: Friday, October 07, 2005 9:39 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] PopupManager.createPopUp - varying the className 
> argument
> 
> 
> I have a instance where I want to vary the pop window that gets
> created based on a user's selection. Instead of having to hard code in
> the a seperate instance of:
> 
> var popup = mx.managers.PopUpManager.createPopUp( _root,
> views.OptionX, true, initObj , false );
> 
> in a switch statement I would like to just be able to use a variable
> for the className argument.
> 
> Ideally I would like to do the following:
> 
> var winClass = options_cmb.value;
> var popup = mx.managers.PopUpManager.createPopUp( _root, winClass,
> true, initObj, false );
> 
> I have tried unsuccessfully using a shared libray. Does anyone know if
> this is even possible, and it so how I would go about it.
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> 
> 
> 
> 
> 
> YAHOO! GROUPS LINKS
> 
> 
> 
> * Visit your group "flexcoders
 " 
> on the web.
> 
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED] 
> 
> 
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
>  .
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 

[flexcoders] Re: Harley Davidson Flex app launched

2005-10-07 Thread fowleryj
Sorry for the confusion, James-- my question was directed at Jeff. =)

--- In flexcoders@yahoogroups.com, "James" <[EMAIL PROTECTED]> wrote:
>
> No, the error box I got was blank, except for the "error" in the top
left
> corner on the title bar
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of fowleryj
> Sent: Friday, October 07, 2005 2:05 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Harley Davidson Flex app launched
> 
> I was able to navigate the site. I like how the Refresh button is not
> available, and that you're catching the F5 key, so that the user does
> not accidentally restart the application. 
> 
> As it's a rather large application, did you use the Cairngorm
> framework? If so, did you encounter the "No Change" Compiler Bug?
> 
> --- In flexcoders@yahoogroups.com, "James" <[EMAIL PROTECTED]> wrote:
> >
> > Sorry, I get a error message, with no text and no way to close the
> message 
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of Jeff Tapper
> > Sent: Friday, October 07, 2005 1:26 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Harley Davidson Flex app launched
> > 
> > More than a year after its completion, the Harley Davidson Genuine
> Motor 
> > Accessories customizer was finally launched.Check it out: 
> > http://www.harley-davidson.com/pr/gm/customizer/launchCustomizer.asp





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

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

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

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

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






Re: [flexcoders] Embedding with GET variables

2005-10-07 Thread Manish Jethani
On 10/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> How can I use this image then with
> tree.setIcon(node,imgLeaf, imgLeaf);
> ?
>
> imgLeaf.content also does not work. setIcon needs a Linkage ID, whatever
> this is. It seems to appear only on embed resources...

AFAIK that's not possible.  As you said, setIcon expects an embedded
resource and you can't pass GET parameters to a SWF there because it's
a compile-time thing.


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





RE: [flexcoders] PopupManager.createPopUp - varying the className argument

2005-10-07 Thread Derrick Grigg
Thanks Matt and Jester
 
No luck though. The background of my app goes white the first time this 
function gets called, and the app completely disappears the second time. If I 
put hard codeed class names in everything works. I have come up another 
solution that seems to work. Each option that calls the loadWin function is 
based on a class so instead of dispatching an event to loadWin I am having the 
class use popupmanager to open it's respective window.
 
 var win1: views.elements.image;
 var win2: views.elements.swf;
 var win3: views.elements.text;
 
 function loadWin(event){
  var cn:String = "views.elements."+ event.target.type;
  var initObj = {
   helpButton: true,
   stateButton: true,
   resizeButton: true,
   closeButton: true
  }
  var win = mx.managers.PopUpManager.createPopUp( _root, _global[cn], true, 
initObj, false ); 
  win.centerPopUp(_root);
 }
 
Thanks for the help though.



From: flexcoders@yahoogroups.com on behalf of Matt Chotin
Sent: Fri 07/10/2005 10:44 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] PopupManager.createPopUp - varying the className 
argument



Also you need to make sure that the class still gets linked into your app.  
Create some dummy variables of the potential types that could be loaded:

 

Var linkhelper1:MyWindow1;

Var linkhelper2:MyWindow2;

 

Etc.

 

Matt

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Friday, October 07, 2005 7:38 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] PopupManager.createPopUp - varying the className 
argument

 

Close!

var yourClass:String = "Pooki";
PopUpManager.createPopUp(this, _global[yourClass], false);

- Original Message - 
From: "Derrick Grigg" <[EMAIL PROTECTED]>
To: 
Sent: Friday, October 07, 2005 10:04 AM
Subject: RE: [flexcoders] PopupManager.createPopUp - varying the className 
argument


Tried the string idea, no luck. The switch/if looks like the only way. I was 
hoping not to have to do that since I want to have a lot of variability on 
the user's window options but not luck apparenetly.

Thanks.



From: flexcoders@yahoogroups.com on behalf of Mink, Joseph
Sent: Fri 07/10/2005 9:48 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] PopupManager.createPopUp - varying the className 
argument


I would guess you could use a string...like, instead of ...createPopUp( 
_root, SomeClass, true, initObj, false ); maybe you could do createPopUp( 
_root, "SomeClass", true, initObj, false );

But I would guess your best bet is to arrange your implementation in such a 
way that you can just go through a few if-statements and based on your 
user's input, execute the necessary call to createPopUp.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
Behalf Of derrickgrigg
Sent: Friday, October 07, 2005 9:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] PopupManager.createPopUp - varying the className 
argument


I have a instance where I want to vary the pop window that gets
created based on a user's selection. Instead of having to hard code in
the a seperate instance of:

var popup = mx.managers.PopUpManager.createPopUp( _root,
views.OptionX, true, initObj , false );

in a switch statement I would like to just be able to use a variable
for the className argument.

Ideally I would like to do the following:

var winClass = options_cmb.value;
var popup = mx.managers.PopUpManager.createPopUp( _root, winClass,
true, initObj, false );

I have tried unsuccessfully using a shared libray. Does anyone know if
this is even possible, and it so how I would go about it.






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





YAHOO! GROUPS LINKS



* Visit your group "flexcoders  " 
on the web.

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


* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
 .








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








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


RE: [flexcoders] Re: Harley Davidson Flex app launched

2005-10-07 Thread James
No, the error box I got was blank, except for the "error" in the top left
corner on the title bar


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of fowleryj
Sent: Friday, October 07, 2005 2:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Harley Davidson Flex app launched

I was able to navigate the site. I like how the Refresh button is not
available, and that you're catching the F5 key, so that the user does
not accidentally restart the application. 

As it's a rather large application, did you use the Cairngorm
framework? If so, did you encounter the "No Change" Compiler Bug?

--- In flexcoders@yahoogroups.com, "James" <[EMAIL PROTECTED]> wrote:
>
> Sorry, I get a error message, with no text and no way to close the
message 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Jeff Tapper
> Sent: Friday, October 07, 2005 1:26 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Harley Davidson Flex app launched
> 
> More than a year after its completion, the Harley Davidson Genuine
Motor 
> Accessories customizer was finally launched.Check it out: 
> http://www.harley-davidson.com/pr/gm/customizer/launchCustomizer.asp






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



 








 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Re: Harley Davidson Flex app launched

2005-10-07 Thread fowleryj
I was able to navigate the site. I like how the Refresh button is not
available, and that you're catching the F5 key, so that the user does
not accidentally restart the application. 

As it's a rather large application, did you use the Cairngorm
framework? If so, did you encounter the "No Change" Compiler Bug?

--- In flexcoders@yahoogroups.com, "James" <[EMAIL PROTECTED]> wrote:
>
> Sorry, I get a error message, with no text and no way to close the
message 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Jeff Tapper
> Sent: Friday, October 07, 2005 1:26 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Harley Davidson Flex app launched
> 
> More than a year after its completion, the Harley Davidson Genuine
Motor 
> Accessories customizer was finally launched.Check it out: 
> http://www.harley-davidson.com/pr/gm/customizer/launchCustomizer.asp





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






[flexcoders] disable image

2005-10-07 Thread Doodi, Hari - BLS CTR










Hi,

    I would like to know how to disable an image
control through action script. I did some testing but could not succeeded. Here
is the code I was testing. Any help appreciated and thanks in advance.

Even though enabled=”false” I am able to click
on the image and able to see the Alert.

 

 







enabled="false" />











 

Thanks! 
Hari


 









--
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] Harley Davidson Flex app launched

2005-10-07 Thread Weyert de Boer
Hi Jeff,

>More than a year after its completion, the Harley Davidson Genuine Motor 
>Accessories customizer was finally launched.Check it out: 
>http://www.harley-davidson.com/pr/gm/customizer/launchCustomizer.asp
>
Really nice Flex application! Nearly no learning curve! No learning 
curves meaning a good interaction design ;-)

Yours,
Weyert de Boer


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

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

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

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

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






RE: [flexcoders] HTTPService timeout

2005-10-07 Thread Mink, Joseph





Thanks for the response, Matt...that's actually a good 
thing in the way that I'll be planning to use HTTPService : 
)
 
Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: Friday, October 07, 2005 10:45 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] HTTPService 
timeout


Currently HTTPService 
doesn’t support a timeout on its own.  You’ll need to use your own 
mechanism with setInterval.
 
Matt
 




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Mink, 
JosephSent: Friday, October 
07, 2005 5:03 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] HTTPService 
timeout
 
Hi,
 
I was wondering...does 
anyone know where/how to set the timeout for HTTPService requests?  I am 
shamefully considering this as a solution to asynchronous data push from the 
server...write a servlet that doesn't respond to requests until data of interest 
comes to be.
 
Thanks!






--
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] Harley Davidson Flex app launched

2005-10-07 Thread James
Sorry, I get a error message, with no text and no way to close the message



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff Tapper
Sent: Friday, October 07, 2005 1:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Harley Davidson Flex app launched

More than a year after its completion, the Harley Davidson Genuine Motor 
Accessories customizer was finally launched.Check it out: 
http://www.harley-davidson.com/pr/gm/customizer/launchCustomizer.asp




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



 








 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






[flexcoders] Harley Davidson Flex app launched

2005-10-07 Thread Jeff Tapper
More than a year after its completion, the Harley Davidson Genuine Motor 
Accessories customizer was finally launched.Check it out: 
http://www.harley-davidson.com/pr/gm/customizer/launchCustomizer.asp



 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






[flexcoders] Re: different TreeDataProviders from MM examples

2005-10-07 Thread ckovey
You may not be using all of the of the tree API, have you tried
getChildNodes() instead of accessing .childNodes directly?

http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/treeclasses/TreeDataProvider.html#getChildNodes

--- In flexcoders@yahoogroups.com, Rick Schmitty <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> 
> Working with some of the tree examples from macromedia's site trying
to get
> down to the root of a problem (drag an drop doesnt work the same
when using
> xml vs api)
> 
> If you debug these 2 trees (myTree.treeDataProvider &
> myTree2.treeDataProvider) you will see the structure of the dataprovider
> being different. Is this working as intended and you must write 2
different
> classes for drag and drop with XML vs drag and drop with API calls?
> 
> myTree has ._childNodes while myTree2 has .childNodes. myTree has
> .backingObjects while myTree2 has a bunch of (I would assume) xml
functions?
> 
> I just wanted to make sure there isnt something I'm missing to get the
> dataProviders to be the same structure before trying to write
another class
> for a tree that constructs itself though the API.
> 
> 
> 
> 
> http://www.macromedia.com/2003/mxml";>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>






 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






[flexcoders] returning a confirmation

2005-10-07 Thread Jeremy Rottman
I have a simple app that I am I writing, that uses a cf backend. After
a user inserts data into the database, I would like to display a
confirmation to them tell them what file number they have entered. My
cfc works fine, but I am not sure how I should return the confirmation
from my cfc into flex. I have attached my cfc code for one of my
functions.




















insert into tbl_smartPanel_propInfo
(fld_fileNum, fld_mlsNum, fld_propStreet, fld_propNum, 
fld_propDir,
fld_propCity, fld_propState, fld_propZip,
fld_buyerName, fld_sellerName, fld_propCoe, fld_propPrice,
fld_propAPN, fld_agentId, fld_agentId2, fld_agentId3)
values(
'#arguments.fileNum#', '#arguments.mlsNum#',
'#arguments.propStreet#', '#arguments.propNum#', '#arguments.propDir#',
'#arguments.propCity#', '#arguments.propState#',
'#arguments.propZip#', '#arguments.buyerName#', 
'#arguments.sellerName#', '#arguments.propCoe#',
'#arguments.propPrice#', '#arguments.propAPN#', '#arguments.agentId#',
'#arguments.agentId2#', '#arguments.agentId3#')









 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] [Flex/Javascript] Javascript function not found when called from Flex

2005-10-07 Thread djok_fb
Hi,

I'm currently trying to launch a Javascript function from Flex.
I searched over google and found that the way to do that was:

1-Embed the mxml file in a HTML page:



function launchSpellChecker(someText) {
alert(someText);
}




  
  
  


document.getElementById('formTest').value=someText;




2- Write a AS function using getURL:
function doSpellCheck( textToCheck ) {
getURL("javascript:launchSpellChecker('" + textToCheck +
"');void(0);");
}

3- Link the function to a button

The AS function is called but IE tells me "Object not found".
I tried with Firefox (w/ JavaScript debugger) and it tells me:
"launchSpellChecker function not found".

As far as I see, I did as shown in this page:
http://www.abdulqabiz.com/blog/archives/macromedia_flex/000107.php

So, what's wrong with my call?

Thanks in advance,
Stephane






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

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

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

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

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






[flexcoders] Re: Charting

2005-10-07 Thread yaagcur
If anyone is interested..
I sorted it
Forgotten to add a line in the function

chartArray=new Array();

--- In flexcoders@yahoogroups.com, "yaagcur" <[EMAIL PROTECTED]> wrote:
>
> Bit Johnny-come-lately, but I'm trying to do the same thing
> Not from a computing background, but did something similar to this in
> Flash which seemed to work
> 
>  
> If I use v as the dataprovider for a datagrid everything works fine
> In a chart, only the field showing as a categoryField works
> So I am trying to construct an Array but the chartArray does not seem
> to form as I have set it up
> Anyone know where I'm going wrong?
> 
> 
> --- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]>
> wrote:
> > 
> > 
> > 
> > Rich -- the charts will work fine on objects instead of xml, but
> they
> > are written to work only off of a flat array of objects. As you have
> > discovered, there is no way to point a particular series to look
> down
> > into a nested reference in the dataprovider for its data. 
> > 
> > This is a great feature request, so if you want to submit it to the
> wish
> > list that would be great. In the meantime, you'll have to masssage
> your
> > data into a flat list, either on the client or the server, before
> > displaying it in the chart.
> > 
> > Ely.
> > 
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com [mailto:flexcod
> [EMAIL PROTECTED] On
> > Behalf Of Rich Tretola
> > Sent: Thursday, June 16, 2005 5:42 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Charting
> > Importance: High
> > 
> > Has anyone done any charting with complex objects or are all using
> only
> > basic xml for charting data ?
> > 
> > Rich
> > 
> > On 6/15/05, Rich Tretola <[EMAIL PROTECTED]> wrote:
> > > All of the macromedia examples are using xml for their datasource
> and 
> > > then hard coding the node name into the column series.  Example:
> > > 
> > > XML:
> > > 
> > > 
> > > 
> > > 224254
> > > 221819
> > > 164256
> > > 
> > > 
> > > 
> > > 191012
> > > 217965
> > > 132120
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Column Series:
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Is there anyway to use a dataprovider specific to the
> ColumnSeries 
> > > Array or wrap the ColumnSeries tag with a repeater ?  I can't
> seem to 
> > > get either to work.
> > > 
> > > My data consists of an array of year objects with a sub array of 
> > > quarter objects.
> > > 
> > > Object FiscalYear:
> > > year:String
> > > revenue:Number: 10
> > > Array: quarters
> > >   Object Quarter:
> > >   year:String:
> > >   quarter:String
> > >   revenue:Number
> > > 
> > > I want to have a grouped chart with a grouping for each year that
> has
> > > 4 columns representing each quarter.
> > > 
> > > Rich
> > >
> > 
> > 
> >  
> > Yahoo! Groups Links
>






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





RE: [flexcoders] Waterfall chart

2005-10-07 Thread Tom Fitzpatrick
Ely - thanks. I had already come up with a somewhat less efficient 
solution, so this helps.

The Cartesian tip was helpful also - though the offset settings are a bit 
cryptic at first.

- Tom

At 12:55 PM 10/6/2005, you wrote:
>Sure Tom. You've got the basics in your outline below. Basically, you
>want something like:
>
>Function genDP(original:Array):Array
>{
> var result:Array = [];
> for(var i=0;i var v:Object = result[i]
> result[i] = {
> sum: v.apple + v.orange + v.banana,
> apple: v.apple,
> orangeMin: v.apple,
> orangeMax: v.orange + v.apple,
> ...
> }
> }
> return result;
>}


>Regarding clustering...you can't tweak the clustering behavior in
>ColumnChart, but all the clustering is doing is setting the offset and
>columnWidthRatio properties of the individual ColumnSeries objects to
>make them line up. So if you used a CartesianChart with some
>ColumnSeries in it, you could manually set the offset/columnWidthRatio
>properties to whatever you wanted.
>
>Ely.
>
>
>
>-Original Message-
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
>Behalf Of Tom Fitzpatrick
>Sent: Thursday, October 06, 2005 7:17 AM
>To: flexcoders@yahoogroups.com
>Subject: RE: [flexcoders] Waterfall chart
>Importance: High
>
>Thanks, Ely. Can you point to or provide a simple example of
>dataprovider preprocessing?
>
>If my data structure is as follows:
>
>
>  
>  
>  
>  
>  
>  ...
>
>
>I can see that I need to perform some math on the "result" nodes to
>create the new dataProvider:
>
>- add a  node that is the sum of the "apple" "orange" and
>"banana" values
>- set the minValue for "orange" as the yValue of "apple', and set the
>yValue of "orange" as "apple" plus "orange"
>- set the minValue for "banana" as the yValue of "orange" and set the
>yValue of "banana" the same as "total"
>
>The "generating chart data" example in the docs seems close, but it's
>based on random values rather than manipulating a real xml source.
>
>Another question while I'm at it: is it possible to change the spacing
>for just one of four columns in a cluster? I'd like to "total" column to
>be separated from the "waterfall" by a space.
>
>- Tom
>
>At 01:00 PM 10/5/2005, you wrote:
> >Hi Tom. The best way to do this is to pre-process your dataprovider
> >into a synthetic one that has all of the summed values in it. Use that
> >as the dataprovider for the chart, and set the various min/max fields
> >of the series appropriately.
> >
> >
> >Ely.
> >
> >
> >-Original Message-
> >From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
>
> >Behalf Of Tom Fitzpatrick
> >Sent: Wednesday, October 05, 2005 6:35 AM
> >To: flexcoders@yahoogroups.com
> >Subject: [flexcoders] Waterfall chart
> >Importance: High
> >
> >I'd like to make a "waterfall" chart  (at least that's one name for it)
> >- a version of the stacked bar chart. The first column is the total of
> >three values. The next three columns represent the three separate
> >values that make up the total, but instead of stacking they "float"
> >next to each other at the appropriate height and with the appropriate
> >color and tooltip info.
> >
> >My question is - can the values in the ColumnSeries be determined using
>
> >a function - kind of like a labelFunction for charts? This would enable
>
> >me to calculate the value for the "total" column and the starting and
> >ending values for the three floating columns. Or is there an
> >easier/better way to accomplish this?
> >
> >- 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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >--
> >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
>
>
>
>






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

--
Flexcoders Mailing List
FAQ:

[flexcoders] different TreeDataProviders from MM examples

2005-10-07 Thread Rick Schmitty



Hi all,

Working with some of the tree examples from macromedia's site trying to
get down to the root of a problem (drag an drop doesnt work the same
when using xml vs api)

If you debug these 2 trees (myTree.treeDataProvider &
myTree2.treeDataProvider)  you will see the structure of the
dataprovider being different.  Is this working as intended and you
must write 2 different classes for drag and drop with XML vs drag and
drop with API calls?

myTree has ._childNodes while myTree2 has .childNodes.  myTree has
.backingObjects while myTree2 has a bunch of (I would assume) xml
functions?

I just wanted to make sure there isnt something I'm missing to get the
dataProviders to be the same structure before trying to write another
class for a tree that constructs itself though the API.




http://www.macromedia.com/2003/mxml">


   



    
    
        
        
        
            
            
                    
    













--
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] HTTPService timeout

2005-10-07 Thread Matt Chotin










Currently HTTPService doesn’t
support a timeout on its own.  You’ll need to use your own mechanism with
setInterval.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mink, Joseph
Sent: Friday, October 07, 2005
5:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTTPService
timeout



 

Hi,

 

I was wondering...does anyone know
where/how to set the timeout for HTTPService requests?  I am shamefully
considering this as a solution to asynchronous data push from the
server...write a servlet that doesn't respond to requests until data of
interest comes to be.

 

Thanks!

 







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager
Sent: Thursday, October 06, 2005
4:20 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] calling
a secured web service

I've never used run-as due to the fact that I think it has very limited
usage given that all users connect to the web
service with the same
credentials.  Have you tried custom
auth?  With that you can specify a
client specific username and password for the web
service. Do you have
access to the password from the app?


Carson 




Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY ext. 89
Mobile: 1.703.489.6466



-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of Raymond Camden
Sent: Thursday, October 06, 2005 12:54 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] calling a secured web
service

So a follow up. I noticed this in the log:

10/06 14:51:57 ERROR The Flex proxy and the
specified endpoint do not
have the same domain, and so basic authentication
can not be used. 
Please specify use-custom-authentication or run-as
for services not
located on the same domain as the Flex proxy. .
The proxy domain is
HTTP://localhost:80
and the target domain is http://foo.com:80

(foo.com is a fake name)

What I don't get it, I _am_ using run as. Here is
the code from my
config file:

 
    
 
    
  
http://foo.com/foo.asmx?WSDL
 
   
  
  
true
   

   
http://foo.com/foo.asmx
   

 
    
 
    


On 10/6/05, Carson Hager
<[EMAIL PROTECTED]> wrote:
> How did I know that question was next?
:)  I looked it up and it's in 
> chapter 30.  Working with web services
and Securing data services are 
> good sections.
>
>
> Carson
>
>


 Yahoo! Groups Sponsor
~-->
Fair play? Video games influencing politics. Click
and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~->


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
















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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] PopupManager.createPopUp - varying the className argument

2005-10-07 Thread Matt Chotin










Also you need to make sure that the class
still gets linked into your app.  Create some dummy variables of the potential
types that could be loaded:

 

Var linkhelper1:MyWindow1;

Var linkhelper2:MyWindow2;

 

Etc.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Friday, October 07, 2005
7:38 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
PopupManager.createPopUp - varying the className argument



 

Close!

var yourClass:String = "Pooki";
PopUpManager.createPopUp(this, _global[yourClass],
false);

- Original Message - 
From: "Derrick Grigg"
<[EMAIL PROTECTED]>
To: 
Sent: Friday, October 07, 2005 10:04 AM
Subject: RE: [flexcoders] PopupManager.createPopUp
- varying the className 
argument


Tried the string idea, no luck. The switch/if
looks like the only way. I was 
hoping not to have to do that since I want to have
a lot of variability on 
the user's window options but not luck
apparenetly.

Thanks.



From: flexcoders@yahoogroups.com
on behalf of Mink, Joseph
Sent: Fri 07/10/2005 9:48 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] PopupManager.createPopUp
- varying the className 
argument


I would guess you could use a string...like,
instead of ...createPopUp( 
_root, SomeClass, true, initObj, false ); maybe
you could do createPopUp( 
_root, "SomeClass", true, initObj, false
);

But I would guess your best bet is to arrange your
implementation in such a 
way that you can just go through a few
if-statements and based on your 
user's input, execute the necessary call to
createPopUp.



From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On 
Behalf Of derrickgrigg
Sent: Friday, October 07, 2005 9:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] PopupManager.createPopUp -
varying the className 
argument


I have a instance where I want to vary the pop
window that gets
created based on a user's selection. Instead of
having to hard code in
the a seperate instance of:

var popup = mx.managers.PopUpManager.createPopUp(
_root,
views.OptionX, true, initObj , false );

in a switch statement I would like to just be able
to use a variable
for the className argument.

Ideally I would like to do the following:

var winClass = options_cmb.value;
var popup = mx.managers.PopUpManager.createPopUp(
_root, winClass,
true, initObj, false );

I have tried unsuccessfully using a shared libray.
Does anyone know if
this is even possible, and it so how I would go
about it.






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





YAHOO! GROUPS LINKS



* Visit your group "flexcoders 
" 
on the web.

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


* Your use of Yahoo! Groups is subject to the
Yahoo! Terms of Service 

.








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













--
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] would you recommend FLEX web site like http://www.flashkit.com/index.shtml ?

2005-10-07 Thread JesterXL





http://cflex.net/
http://www.flexauthority.com/
 
- Original Message - 
From: Quality 
To: flexcoders@yahoogroups.com 
Sent: Thursday, October 06, 2005 8:45 PM
Subject: [flexcoders] would you recommend FLEX web site like http://www.flashkit.com/index.shtml 
?

would you recommend FLEX web site like http://www.flashkit.com/index.shtml ?
 
thanks,
nonkou
www.nonkou.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



   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] PopupManager.createPopUp - varying the className argument

2005-10-07 Thread JesterXL
Close!

var yourClass:String = "Pooki";
PopUpManager.createPopUp(this, _global[yourClass], false);

- Original Message - 
From: "Derrick Grigg" <[EMAIL PROTECTED]>
To: 
Sent: Friday, October 07, 2005 10:04 AM
Subject: RE: [flexcoders] PopupManager.createPopUp - varying the className 
argument


Tried the string idea, no luck. The switch/if looks like the only way. I was 
hoping not to have to do that since I want to have a lot of variability on 
the user's window options but not luck apparenetly.

Thanks.



From: flexcoders@yahoogroups.com on behalf of Mink, Joseph
Sent: Fri 07/10/2005 9:48 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] PopupManager.createPopUp - varying the className 
argument


I would guess you could use a string...like, instead of ...createPopUp( 
_root, SomeClass, true, initObj, false ); maybe you could do createPopUp( 
_root, "SomeClass", true, initObj, false );

But I would guess your best bet is to arrange your implementation in such a 
way that you can just go through a few if-statements and based on your 
user's input, execute the necessary call to createPopUp.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
Behalf Of derrickgrigg
Sent: Friday, October 07, 2005 9:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] PopupManager.createPopUp - varying the className 
argument


I have a instance where I want to vary the pop window that gets
created based on a user's selection. Instead of having to hard code in
the a seperate instance of:

var popup = mx.managers.PopUpManager.createPopUp( _root,
views.OptionX, true, initObj , false );

in a switch statement I would like to just be able to use a variable
for the className argument.

Ideally I would like to do the following:

var winClass = options_cmb.value;
var popup = mx.managers.PopUpManager.createPopUp( _root, winClass,
true, initObj, false );

I have tried unsuccessfully using a shared libray. Does anyone know if
this is even possible, and it so how I would go about it.






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





YAHOO! GROUPS LINKS



* Visit your group "flexcoders  " 
on the web.

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


* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
 .








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







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

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

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

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

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





RE: [flexcoders] pass multiple objects from dispatchEvent()to add EventListener()

2005-10-07 Thread ryan . wilson










Great, that works, thanks for your help.

 



Ryan Wilson

IT Specialist 

National Center for Patient Safety

(734) 930-5879

[EMAIL PROTECTED]











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Thursday, October 06, 2005
9:19 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] pass
multiple objects from dispatchEvent()to addEventListener()



 

Two dispatchEvents.

 

dispatchEvent({type:
'actualScore', Result: actual});

dispatchEvent({type:
'potentialScore', Result: potential});

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rgwilson26
Sent: Thursday, October 06, 2005
9:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] pass
multiple objects from dispatchEvent()to addEventListener()



 

What is the correct syntax to
pass *multiple* objects between 
dispatchEvent()to addEventListener() and then
called by handleEvent()?

This is what I have and doesn't work:

Thank you in advance.
---
popUp.mxml
---

 
[Event("actualScore")]
 
[Event("potentialScore")]







---
main.mxml
---
public var
sacActualValue:String;  
public var
sacPotentialValue:String;  

function showSACWorksheet():Void{
  
  var initObj = new
Object();
  
  var s:Object =
TitleWindow(PopUpManager.createPopUp(this, 
SAC_Worksheet, false, initObj, false));

 
s.addEventListener("actualScore", "potentialScore", this);
}

function handleEvent(evt1:Object,
evt2:Object):Void {
 
    if
(evt1.type == "actualScore") 

sacActualValue = evt1.Result;
 
  
    if
(evt2.type == "potentialScore") 

sacPotentialValue = evt2.Result;
   }











--
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] PopupManager.createPopUp - varying the className argument

2005-10-07 Thread Derrick Grigg
Tried the string idea, no luck. The switch/if looks like the only way. I was 
hoping not to have to do that since I want to have a lot of variability on the 
user's window options but not luck apparenetly.
 
Thanks.



From: flexcoders@yahoogroups.com on behalf of Mink, Joseph
Sent: Fri 07/10/2005 9:48 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] PopupManager.createPopUp - varying the className 
argument


I would guess you could use a string...like, instead of ...createPopUp( _root, 
SomeClass, true, initObj, false ); maybe you could do createPopUp( _root, 
"SomeClass", true, initObj, false );
 
But I would guess your best bet is to arrange your implementation in such a way 
that you can just go through a few if-statements and based on your user's 
input, execute the necessary call to createPopUp.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
derrickgrigg
Sent: Friday, October 07, 2005 9:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] PopupManager.createPopUp - varying the className argument


I have a instance where I want to vary the pop window that gets 
created based on a user's selection. Instead of having to hard code in 
the a seperate instance of:

var popup = mx.managers.PopUpManager.createPopUp( _root, 
views.OptionX, true, initObj , false );

in a switch statement I would like to just be able to use a variable 
for the className argument. 

Ideally I would like to do the following:

var winClass = options_cmb.value;
var popup = mx.managers.PopUpManager.createPopUp( _root, winClass, 
true, initObj, false );

I have tried unsuccessfully using a shared libray. Does anyone know if 
this is even possible, and it so how I would go about it.






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





YAHOO! GROUPS LINKS 



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







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

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

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

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

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

RE: [flexcoders] PopupManager.createPopUp - varying the className argument

2005-10-07 Thread Mink, Joseph





I would guess you could use a string...like, instead of 
...createPopUp( _root, SomeClass, true, initObj, false ); 
maybe you could do createPopUp( _root, "SomeClass", true, initObj, false 
);
 
But I would guess your best bet is to arrange your 
implementation in such a way that you can just go through a few if-statements 
and based on your user's input, execute the necessary call to 
createPopUp.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
derrickgriggSent: Friday, October 07, 2005 9:39 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] 
PopupManager.createPopUp - varying the className argument
I have a instance where I want to vary the pop window that gets 
created based on a user's selection. Instead of having to hard code in 
the a seperate instance of:var popup = 
mx.managers.PopUpManager.createPopUp( _root, views.OptionX, true, initObj , 
false );    in 
a switch statement I would like to just be able to use a variable for the 
className argument. Ideally I would like to do the following:var 
winClass = options_cmb.value;var popup = 
mx.managers.PopUpManager.createPopUp( _root, winClass, true, initObj, false 
);    I have 
tried unsuccessfully using a shared libray. Does anyone know if this is even 
possible, and it so how I would go about it.





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





  




  
  
  YAHOO! GROUPS LINKS



   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] Authentication with Macromedia Flex

2005-10-07 Thread Douglas Knudsen



so, I got auth working using the approach you mentioned

CallbackHandler handler = new 
SimpleCallbackHandler( userName, password ); Subject 
subject = Authentication.login( handler ); 
ServletAuthentication.runAs( subject, httpRequest );

silightly different looking under JRun of course.  Now, I'm
horribly stuck on getting the roles of the user after logging in. 
I have set up Roles under teh JMC, JRuns instance manager.  I
tested it all with BASIC auth, so I know the autentication and
authorisation are working.  I've been working all week on getting
the roles for the user after authenticating and can't find squat of an
example.  Any hints perhaps?

On a similar note...  Using service.setUserNamePassword() in Flex
I know it will authenticate a user, does it also authorise the user by
gathering up the roles defined in the containers JAAS config?


and one more concerning cairingrom  to use service.setUserNamePassword() 
effectively, it appears you would need to modify the onfault event of a
service in services.mxml file to check for a failed
authentication.  If not here then every command using the service
would need this check, eh?  What other way can this be done
possibly?  Create a AuthCommand abstract class to extend or
something?

DK
On 10/7/05, Dimitrios Gianninas <[EMAIL PROTECTED]> wrote:







Ah yes about accessing the 
session, I read that article as well. I plan to change this in the future, just 
haven't gotten there yet.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas 
KnudsenSent: Thursday, October 06, 2005 3:54 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Authentication 
with Macromedia Flex
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=9636f34e&pss=rss_flex_9636f34e
there.Thanks 
for the hint about using JAAS via CallBackHandler, etc in th eother thread...I 
have not got it working 100% on JRun yet...but still banging away at 
it.DK
On 9/26/05, Dimitrios 
Gianninas <[EMAIL PROTECTED]> 
wrote: 

  Where did you hear that it was not the approach to take? We have it 
  working this way for one of our projects.
   
  Yes, when you user source="servlet", you must configure the source 
  attribute in the remote-objects section of the flex-config.xml. You have to 
  set it to the name of your context. So if your web application context is 
  "localhost:8080/batman", then you must set:
   
  batman
   
  or for no security at all (don't do this in 
  production):
   
  *
   
  Dimitrios "Jimmy" Gianninas
  RIA Developer
  Optimal Payments 
Inc.
   
  
  
  From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Douglas 
  KnudsenSent: Sunday, September 25, 2005 9:51 PMTo: flexcoders@yahoogroups.com
Subject: Re: 
  [flexcoders] Authentication with Macromedia Flex
  
  I was under the impression this was not the approach to take in 
  1.5.  IIRC, when messing with source= 
"servlet" I had to add some info to the flex.config 
  file.  Can you comment on this?  Just curious as there seems to be 
  so many ways to do this. DK
  On 9/24/05, Dimitrios 
  Gianninas <[EMAIL PROTECTED] > wrote: 
  

Ok here is how to do this.
 
Basically you will have a login.jsp page that will 
authenticate the user using FORM authentication. Once the user has logged in 
successfully, then you must retrieve the user information from your DB and 
save it to the session, this might look something like 
this:
 
UserVO user = userAdmin.getUser( userName 
);
session.setAttribute( "user", userLogin 
);
 
Now that the user object is in the 
session, once the Flex app loads, you can retrieve it from the session 
and make use of it as you please. First you must declare a RO that will 
connect with the current session:
 


And then you get the object from the session like 
so:
sessionSvlt.session( "get", "user" 
); 
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments 
Inc.
 


From: flexcoders@yahoogroups.com [mailto:
 
flexcoders@yahoogroups.com] On Behalf Of 
jagabcdeffSent: Friday, September 23, 2005 7:08 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Authentication with Macromedia Flex
Hi all,I working on small application.The 
flow is like Macromedia Flex<->Spring<->Hibernate<->DB 
using Jboss Server.Now i have to use JAAS to this 
application.Please guide me how to do authentication when user login 
with username and password .Thanks & 
Regards,Jagan--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 
Archives: h

[flexcoders] Re: Sorting a datagrid by column in a numeric way...?

2005-10-07 Thread yaagcur
I use this function. I think it was from this list

function sortGrid(a, b, index) {
  var result;
  var field;
  
 
  var field = yourDataGrid.columns[index].columnName; 
  var i1 = a[field];
  var i2 = b[field];


  
var i1 = Number(a);
var i2 = Number(b);

if (i1 == i2)
result = 0;
else if (i1 < i2)
result = -1;
else
result = 1;

return result;
  }


and then put sortCompareFunction="sortGrid" in relevant datagridcolumns

--- In flexcoders@yahoogroups.com, "jrab2999" <[EMAIL PROTECTED]> wrote:
>
> Hi again,
> 
> I have a datagrid with 3 cols. Col 1 + 2 consists of alphanumerical
> values, col 3 has numerical values. The default sort is alphanumeric.
> How to change the sort of col 3 to a numerical way?
> 
> Cannot find anything about it in docs.
> 
> Best regards,
> 
> Jurek
>






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






[flexcoders] PopupManager.createPopUp - varying the className argument

2005-10-07 Thread derrickgrigg
I have a instance where I want to vary the pop window that gets 
created based on a user's selection. Instead of having to hard code in 
the a seperate instance of:

var popup = mx.managers.PopUpManager.createPopUp( _root, 
views.OptionX, true, initObj , false ); 

in a switch statement I would like to just be able to use a variable 
for the className argument. 

Ideally I would like to do the following:

var winClass = options_cmb.value;
var popup = mx.managers.PopUpManager.createPopUp( _root, winClass, 
true, initObj, false ); 

I have tried unsuccessfully using a shared libray. Does anyone know if 
this is even possible, and it so how I would go about it.






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






Re: [flexcoders] Re: [Ann] Sydney Developers Group October Meeting

2005-10-07 Thread Chris Velevitch
On 10/7/05, fowleryj <[EMAIL PROTECTED]> wrote:
> Will you have a transcript (or maybe a video feed) available for those
> of us who can't make it to Sydney? =)

At the moment, I'm not up on using Breeze and I'm haven't organised a
breeze room as yet.

Whilst this talk will be a summary/aggregation of all the publicly
available information, the interesting part would be the discussion
the benefits and possibilities that these products will bring. And I
guess that would be the part that ought to be recorded some how.


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au


 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






[flexcoders] Re: [Ann] Sydney Developers Group October Meeting

2005-10-07 Thread fowleryj
Will you have a transcript (or maybe a video feed) available for those
of us who can't make it to Sydney? =)

--- In flexcoders@yahoogroups.com, Chris Velevitch
<[EMAIL PROTECTED]> wrote:
>
> Tue 11 October Flex 2 and Flash Player 8.5
> 
> 6pm for 6:30 start at MLC School Burwood
> 
> On the 6th of October, Macromedia announced Flex 2 and Flash Player 8.5.
> 
> This is very short notice, but we'll try to give and overview based on
> some very sketchy and early details.
> 
> While FlashDev meetings are free and open to all it's best to RSVP to
> help with catering.
> 
> http://www.flashdev.org.au/program/
> 
> 
> --
> Chris Velevitch
> Manager - Sydney Flash Platform Developers Group
> www.flashdev.org.au
>






 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






RE: [flexcoders] When ModelLocator Databinding does not work...

2005-10-07 Thread Dimitrios Gianninas





I think the only way to address 
your issue. Use the appropriate ViewHelper to tell the view to refresh 
itself because the data has been updated.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
thomasburlesonSent: Thursday, October 06, 2005 8:27 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] When 
ModelLocator Databinding does not work...
I would like to ask the cairngorm experts a question 
involvingdatabinding.In a current application under development, 
when I need to load somedata via remoteObjects we use the 
.getInstance().broadcastEvent( )which gets forwarded by our controller to 
the appropriate command.The delegate dataservice call executes and the 
result handler iseither in a command onResult_ method or in a 
Delegate.create()callback [passed with the broadcastEvent]. The result data 
ismassaged and assigned to a property in the ModelLocator.Great no 
problem.But what do we do when the has UI components that do not have 
directbindings to ModelLocator attributes. One trick is to use 
thefollowing databinding to fire a "build" method:This also works.But my question is regarding views that are 
indirectly toModelLocator data. So when that data changes, I need to tell 
theview to "somehow" update or reinit its contents.Currently we 
usevar viewAddressEditor : Object = 
ViewLocator.getInstance().getComponentByID( "addressEditorView" 
);viewAddressEditor.updateContent();But this seems SO clumsy and 
non-elegant. Does anyone have a bettersuggestion?Many 
thanks,ThomasB





--
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] Strange behaviour by tree

2005-10-07 Thread Mink, Joseph





When you say that you "load another content," are you 
trying to add to the existing content, or are you attempting to replace 
it?  Any chance you could show the code snippets you use for the initial 
insert of content and the secondary insert of content?


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of jrab2999Sent: 
Friday, October 07, 2005 4:40 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Strange behaviour by 
tree
Hello,I have some problem with the tree component. If I 
provide dynamicalxml data stored into an actionscript array to the 
dataprovider of thetree, at the first run, all works fine. But if I 
load another content the the array, the tree won't show anycontent anymore, 
it just disappears. I checked all content code, alsocontents of the 
provider. Everything fine here.Really strange... Any 
ideas?





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Authentication with Macromedia Flex

2005-10-07 Thread Dimitrios Gianninas





Ah yes about accessing the 
session, I read that article as well. I plan to change this in the future, just 
haven't gotten there yet.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas 
KnudsenSent: Thursday, October 06, 2005 3:54 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Authentication 
with Macromedia Flex
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=9636f34e&pss=rss_flex_9636f34ethere.Thanks 
for the hint about using JAAS via CallBackHandler, etc in th eother thread...I 
have not got it working 100% on JRun yet...but still banging away at 
it.DK
On 9/26/05, Dimitrios 
Gianninas <[EMAIL PROTECTED]> 
wrote: 

  Where did you hear that it was not the approach to take? We have it 
  working this way for one of our projects.
   
  Yes, when you user source="servlet", you must configure the source 
  attribute in the remote-objects section of the flex-config.xml. You have to 
  set it to the name of your context. So if your web application context is 
  "localhost:8080/batman", then you must set:
   
  batman
   
  or for no security at all (don't do this in 
  production):
   
  *
   
  Dimitrios "Jimmy" Gianninas
  RIA Developer
  Optimal Payments 
Inc.
   
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas 
  KnudsenSent: Sunday, September 25, 2005 9:51 PMTo: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] Authentication with Macromedia Flex
  
  I was under the impression this was not the approach to take in 
  1.5.  IIRC, when messing with source= "servlet" I had to add some info to the flex.config 
  file.  Can you comment on this?  Just curious as there seems to be 
  so many ways to do this. DK
  On 9/24/05, Dimitrios 
  Gianninas <[EMAIL PROTECTED] > wrote: 
  

Ok here is how to do this.
 
Basically you will have a login.jsp page that will 
authenticate the user using FORM authentication. Once the user has logged in 
successfully, then you must retrieve the user information from your DB and 
save it to the session, this might look something like 
this:
 
UserVO user = userAdmin.getUser( userName 
);
session.setAttribute( "user", userLogin 
);
 
Now that the user object is in the 
session, once the Flex app loads, you can retrieve it from the session 
and make use of it as you please. First you must declare a RO that will 
connect with the current session:
 


And then you get the object from the session like 
so:
sessionSvlt.session( "get", "user" 
); 
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments 
Inc.
 


From: flexcoders@yahoogroups.com [mailto: 
flexcoders@yahoogroups.com] On Behalf Of 
jagabcdeffSent: Friday, September 23, 2005 7:08 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Authentication with Macromedia Flex
Hi all,I working on small application.The 
flow is like Macromedia Flex<->Spring<->Hibernate<->DB 
using Jboss Server.Now i have to use JAAS to this 
application.Please guide me how to do authentication when user login 
with username and password .Thanks & 
Regards,Jagan--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED 
LINKS 

  
  
Web site design development 
Computer software development 
Software design and development 
  
Macromedia flex 
Software development best practice 
  


YAHOO! GROUPS LINKS 

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


-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? 
  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  SPONSORED 
  LINKS 
  


  Web site design development 
  Computer software development 
  Software design and development 

  Macromedia flex 
  Software development best practice 
  
  
  
  YAHOO! GROUPS LINKS 
  
 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email 
to:  [EMAIL PROTECTED]  

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
  
  
  -- Douglas 
Knudsenhttp://www.cubicleman.co

[flexcoders] Strange behaviour by tree

2005-10-07 Thread jrab2999
Hello,

I have some problem with the tree component. If I provide dynamical
xml data stored into an actionscript array to the dataprovider of the
tree, at the first run, all works fine. 

But if I load another content the the array, the tree won't show any
content anymore, it just disappears. I checked all content code, also
contents of the provider. Everything fine here.

Really strange... Any ideas?





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] HTTPService timeout

2005-10-07 Thread Mink, Joseph





Hi,
 
I was wondering...does anyone know where/how to set the 
timeout for HTTPService requests?  I am shamefully considering this as a 
solution to asynchronous data push from the server...write a servlet that 
doesn't respond to requests until data of interest comes to 
be.
 
Thanks!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: Thursday, October 06, 2005 4:20 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] calling a secured 
web service
I've never used run-as due to the fact that I think it has very 
limitedusage given that all users connect to the web service with the 
samecredentials.  Have you tried custom auth?  With that you can 
specify aclient specific username and password for the web service. Do you 
haveaccess to the password from the app?Carson 
Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail:  
[EMAIL PROTECTED]Office:  866-CYNERGY ext. 89Mobile: 
1.703.489.6466-Original Message-From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of 
Raymond CamdenSent: Thursday, October 06, 2005 12:54 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] calling a secured web 
serviceSo a follow up. I noticed this in the log:10/06 14:51:57 
ERROR The Flex proxy and the specified endpoint do nothave the same domain, 
and so basic authentication can not be used. Please specify 
use-custom-authentication or run-as for services notlocated on the same 
domain as the Flex proxy. . The proxy domain isHTTP://localhost:80 and the target domain is http://foo.com:80(foo.com is a fake 
name)What I don't get it, I _am_ using run as. Here is the code from 
myconfig file:  
    
    
    http://foo.com/foo.asmx?WSDL  
    
    
true    
    
http://foo.com/foo.asmx    
  
    
  
    
On 10/6/05, Carson Hager 
<[EMAIL PROTECTED]> wrote:> How did I know that 
question was next? :)  I looked it up and it's in > chapter 
30.  Working with web services and Securing data services are > good 
sections.>>> 
Carson>> Yahoo! Groups Sponsor 
~-->Fair play? Video games influencing politics. 
Click and talk back!http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM~-> 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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



   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] Embedding with GET variables

2005-10-07 Thread jraben





On 6 Oct 2005 at 11:56, Tracy Spratt wrote:


> If you use mx:Image, or mx:Loader to load the swf, you can access its
> public properties and methods through the content property.
> 
> 
> 
> Then in script:
> imgLeaf.content.color = "whatever"
> 
> I recall reading that you cannot send parameters on the source url.
> Search the archive for verification.
> 
> Tracy

Thank you.


How can I use this image then with 
tree.setIcon(node,imgLeaf, imgLeaf);
?


imgLeaf.content also does not work. setIcon needs a Linkage ID, whatever
this is. It seems to appear only on embed resources...


Best regards







--
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] Submit Using Enter Key.

2005-10-07 Thread Jim Phelan










You can also use defaultPushButton

 

getFocusManager().defaultPushButton =
btnMyButton;

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joe
Sent: Thursday, October 06, 2005
7:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Submit Using
Enter Key.



 

Is possible to submit using
the enter key within flex?










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





  




  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Sorting a datagrid by column in a numeric way...?

2005-10-07 Thread jrab2999
Hi again,

I have a datagrid with 3 cols. Col 1 + 2 consists of alphanumerical
values, col 3 has numerical values. The default sort is alphanumeric.
How to change the sort of col 3 to a numerical way?

Cannot find anything about it in docs.

Best regards,

Jurek






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






[flexcoders] Datagrid sort on float numbers problem

2005-10-07 Thread Alban Soupper
Hi all,

I have the following service:
  

and this datagrid
  

  


  

  

the httpService return the following xml in its response:




-0.03345107356650445



-7.429962234167808E-4



0.03247207098433136



7.550032224670211E-4



but when I sort the Perf column I obtain this:
 0.03247...
 0.00075...
-0.03345...
-0.00074...

instead of 
 0.03247...
 0.00075...
-0.00074...
-0.03345...

It seams that the DataGrid sort mechanism on my service result interprets
correctly the perf correctly as Numbers (7.550032224670211E-4 is transformed
in -0.00074...) but sort the values as string.


Question: 
What's happening?
How to solve this situation?



***

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager to [EMAIL PROTECTED]

***



 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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






[flexcoders] Strange behaviour when using a label func in barchart

2005-10-07 Thread jrab2999
Hello,

if I use a labeling function for the horizontal axis within the
BarChart component, it labels in a strange way. 

The axis is defined like this: 



I found out only checking if label isn't already modified in the
labeling function brings the needed result (1 time %):

function strPercent(mystring) {
   if (mystring.lastIndexOf("%")==-1) mystring += "%";
   return mystring;
}

Any ideas why it labels multiple times?





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] how many it costs "flex server"

2005-10-07 Thread andrehfraga
hi,

how many it costs "flex server"?

thank you!





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

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

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

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

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






[flexcoders] Charting question, please help!

2005-10-07 Thread delaquae
Sorry to post this again but no one answered my question the first 
time about setting an effect for a chart series via ActionScript.  I 
have an effect defined via mxml tags:

 


  



 

I would like to reference it from ActionScript after I have added a 
new series to a column chart, but it does not seem to work.  Can you 
tell me what I am doing wrong, or what I need to do in order for it 
to work?  Neither of these two code snippets seem to work:

 

var chartSeries=new ColumnSeries();

chartSeries.yField="cllQuantity";

chartSeries.showDataEffect="interpolate";

cllChart.series.addItem(chartSeries);

 

...OR...

 

var chartSeries=new ColumnSeries();

chartSeries.yField="cllQuantity";

cllChart.series.showDataEffect="interpolate";

cllChart.series.addItem(chartSeries);

 

Thanks for your help!

 

Martin Longo







 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] would you recommend FLEX web site like http://www.flashkit.com/index.shtml ?

2005-10-07 Thread Quality





would you recommend FLEX web site like http://www.flashkit.com/index.shtml ?
 
thanks,
nonkou
www.nonkou.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: Focusing cell on datagrid

2005-10-07 Thread bhaq1972
I'm not sure if this is what your asking so i might be wrong

after you've done your async remote object call and your focused on 
a combobox cellrenderer use this code (untested)
//maybe in cellFocusIn?
if(dg.cellEditor.className =="ComboBox")
{
  dg.cellEditor.addEventListener("open", mx.utils.Delegate.create
(this, doOpen));
}

create a function in your page called do Open
function doOpen(event)
{
  event.target.close();
}

so everytime someone opens the combobox cell renderer, it closes.






--- In flexcoders@yahoogroups.com, "thisdudenamedjon" 
<[EMAIL PROTECTED]> wrote:
>
> I have a datagrid with several columns of cells that are editable 
and a 
> custom combobox cell renderer. When a user edits a cell and 
leaves, I 
> pass that entire row to a RemoteObject to do some validation. If 
there 
> are errors, I want to keep that cell focused until the errors are 
> corrected. 
> 
> Right now, I have implemented this using my datagrid's change and 
> cellEdit listeners to simply dispose the celleditor and set 
focused 
> cell to the errored cell. However, with my combobox, Mm invalid 
cell 
> simply loses focus and I am able to access and change it. I do not 
want 
> to allow access to this combobox while I still have an error.
> 
> Can someone point me towards a more elegant solution or something 
to 
> force the focus back onto the invalid cell when I access the 
combobox.
> 
> Thanks.
>






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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