[flexcoders] positioning Preloader!

2005-10-31 Thread moyosaned
Is there a way to set the position of the preloader? Or is it always centred on 
the Application?








 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[2]: [flexcoders] ViewHelper and Cairngorm

2005-10-31 Thread Andriy Panas
Hello Steven,


SW we'd recommend here that you learn to use the ModelLocator
SW pattern.  Have your view bind to a model in the ModelLocator, and
SW in the result handler on your
SW commands, update the model.  No need for view helper, unless
SW you need to represent the data that comes
SW back from the server in some particular fashion, before the view renders it.

Although, I have a question here to you, Steven, here.

Imagine, we have in View:

mx:datagrid id=myGrid dataProvider={ModelLocator.myArray}
...

Command getRecordsCommand in its onResult handler changes
'ModelLocator.myArray' value.

The ModelLocator value changes, but mx:datagrid's View does not
update. After reading a bunch of articles we got to know that we have
to fire databinding sequence in this case manually from ViewHelper
class.

something like:
--
myGrid.executeBindigs();

or
myGrid.dataProvider = ModelLocator.myArray;

or (did not work)
myGrid.dataProvider.redraw();

--

Therefore, the Command getRecordsCommand besides changing the
ModelLocator's value must locate the corresponding to View ViewHelper
class via ViewLocator.

Does it make sense to you?







-- 
Best regards,
 Andriymailto:[EMAIL PROTECTED]





 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] Flex running on JBoss 4.03

2005-10-31 Thread Michel Bertrand
Title: Flex running on JBoss 4.03








Hi !


I'm trying to run Flex in JBoss 4.0.3 and I'm having the following error:


11:01:39,768 ERROR [[/TestUI]] Exception starting filter FlexCacheFilter

javax.servlet.ServletException: Invalid configuration at line 419 in file D:\jboss-4.0.3\server\default\tmp\deploy\tmp26912TestUI-exp.war\WEB-INF\flex\flex-config.xml - cvc-complex-type.2.4.b: The content of element 'named' is not complete. One of '{http://www.macromedia.com/2003/flex-config:object}' is expected.

Here is the flex-config on 419:


 remote-objects

 ..

 named

 !-- define a remote objects which may be referenced by name from mxml --

 !-- object name=myobj --

 !-- Flex uses this name to access the object --

 !-- sourceremote.DatatypesTest/source --


 !-- the type of the source being accessed - e.g. stateful-class or stateless-class --

 !-- typestateless-class/type --


 !-- instructs the gateway to only allow authenticated users to invoke this service

 this is required when using normal J2EE Basic authentication --

 !-- use-basic-authenticationtrue/use-basic-authentication --


 !-- informs the gateway that is should attempt to use its own custom authentication mechansim

 as configured in the login-command section of gateway-config.xml --

 !-- use-custom-authenticationtrue/use-custom-authentication --


 !-- Adds the service's source to the unnamed whitelist. If false, these can never be used as unnamed sources --

 !-- This will be forced to false if this named object requires authentication --

 !-- allow-unnamed-accesstrue/allow-unnamed-access --


 !-- custom authorization roles can be specified when using custom authentication --

 !--

 roles

 role/role

 /roles

 --

 !-- /object --

 /named

 ...



 /remote-objects


I have no remote-objects registered. The same application works on JBoss 4.0.1 SP1 without any error.


Any ideia ?


Thanks in advance !

Michel Bertrand | Desenvolvimento | DATASUL Tecnologia
Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia 









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

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] positioning Preloader!

2005-10-31 Thread Torben Nielsen
If you look in the AS reference it has properties for x  y position, so I 
suppose you can position it like this:

myPreloader.x = 178;
myPreloader.y = 355;

I hope that helps.

Best regards.

Torben Nielsen
Starvision Studios

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
moyosaned
Sent: lunedì 31 ottobre 2005 9.26
To: flexcoders@yahoogroups.com
Subject: [flexcoders] positioning Preloader!

Is there a way to set the position of the preloader? Or is it always centred on 
the Application?









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



 





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

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

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

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

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





[flexcoders] Flex2:Need quick answer

2005-10-31 Thread Greg Johnson
I knowtice that if I just try to run the html/swf directly I don't get 
any of the data, iow I get my initial drop box, but without anything in 
it.  It appears to not work.  However if I click run in the builder it 
comes up fine.

Is the alpha designed so you can't deploy the compiled SWF (which I 
could understand) or am I just doing something wrong?

Thanks
Greg





 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: Flex 1.5 WS calls without the proxy

2005-10-31 Thread Dave Wolf
Absolutely you can.  We do this quite regularly.  If the WS lives on
the same host, why introduce the overhead of the proxy.

You need to do two things.  

1) You need to modify flex-config.xml to allow the compiled swf to
bypass the proxy.

 proxy-use-policyclient/proxy-use-policy

You could force all the swf's to bypass the proxy by doing

 proxy-use-policynever/proxy-use-policy

2) You need to use the following attributes in your mx:WebService tag

wsdl=/foo/bar/path.to.wsdl 
useProxy=false


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

 After reading the following:
  
 Flash applications are only allowed HTTP access to resources on the same
 domain and by the same protocol from which they were served. This
 presents a problem for web services, because they are typically accessed
 from remote locations. The Flex proxy intercepts requests to remote web
 services, redirects the requests, and then returns the responses to the
 client. 
 (http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/comm
 on/html/wwhelp.htm?context=Flex_Documentationfile=0762.htm)
  
 I'm left with the following question:  So can you make a WS call without
 the proxy to a webservice hosted by the same server that served the flex
 app?  Like if I accessed:
  
 http://somewhere:8080/flex/myApp.mxml
  
 could the Flash Player then make a WS call to
 http://somewhere:8080/services/myService without the Flex proxy?
  
 Thanks!
 Joey Mink
 [Software Engineer @ Solers, Inc.]
 Voice: 703 480 2450
 Fax: 703 263 2663
 [EMAIL PROTECTED]







 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] script time warning and Flash Player 8

2005-10-31 Thread superabe superabe



Hello list, 

resending this, hoping somebody has an answer.

The scriptTimeOut property for the application tag does not seem to beworking. (I am testing the app using the debug version of Flash Player 8).I saw a thread reporting this issue in the flexcoders list
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg11465.htmlBut no definitive answer there...Anybody on the list know if this has been resolved ?TIA,superabe






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

   
  







  
  
  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] script time warning and Flash Player 8

2005-10-31 Thread JesterXL





I never knew it was an issue.

Incidentally, I think that is one of the worst 
features Macromedia could of implemented in Flex, although, I understand why 
they did it.

My opinion; if you are using that attribute of the 
application tag, it's time to refactor whatever part of your code requires 
it.

- Original Message - 
From: superabe superabe 

To: flexcoders@yahoogroups.com 
Sent: Monday, October 31, 2005 10:36 AM
Subject: [flexcoders] script time warning and Flash Player 
8

Hello list, 

resending this, hoping somebody has an answer.

The scriptTimeOut property for the application tag does not seem to 
beworking. (I am testing the app using the debug version of Flash Player 
8).I saw a thread reporting this issue in the flexcoders listhttp://www.mail-archive.com/flexcoders@yahoogroups.com/msg11465.htmlBut 
no definitive answer there...Anybody on the list know if this has been 
resolved ?TIA,superabe





--
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] Flex2:Need quick answer

2005-10-31 Thread Spike



Hi Greg,

You're going to have to provide a bit more information than that before we'll be able to provide an answer.

There are no limitations in the Alpha other than those of the player itself.

Where is the data that you are trying to use coming from?
Spike
On 10/31/05, Greg Johnson [EMAIL PROTECTED] wrote:
I knowtice that if I just try to run the html/swf directly I don't getany of the data, iow I get my initial drop box, but without anything init.It appears to not work.However if I click run in the builder it
comes up fine.Is the alpha designed so you can't deploy the compiled SWF (which Icould understand) or am I just doing something wrong?ThanksGreg 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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/-- Stephen Milligan
Do you do the Badger?http://www.yellowbadger.comDo you cfeclipse? http://www.cfeclipse.org






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

   
  







  
  
  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] History Management problems

2005-10-31 Thread moyosaned
We got the following problem. We builded an application witch 
History Management. Now in de precompiled swf + html it is working 
correct. but when we copy past the htmlcode en call this html. we 
see that that on action history is updated (check Back-button). 

Because we got 2 servers 1 flexserver and 1 server for html, cms, 
etc.
we thought it had something to do with crossdomain. So we stored the 
js, swf and iframe, that are needed for history, and tried it like 
that but still same effect history is updated but but there is no 
action followd by clicking on Back. (we have adjusted the paths)


Sample
//
script language='javascript' charset='utf-8' 
src='history.js'/script

script language='javascript' charset='utf-8'
document.write(object classid='clsid:D27CDB6E-AE6D-11cf-96B8-
44455354' 
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swf
lash.cab#version=7,0,14,0' width='100%' height='100%');
document.write(id='news.swf');
document.write();
document.write(  param name='flashvars' value='historyUrl=flex-
internal.htmlconid= + lc_id +postingid=188dc949%2D6f31%2D4e1e%
2D90ba%2D4dcb89ed68eb);
document.write(  param name='src' value='news.swf');
document.write(  embed 
pluginspage='http://www.macromedia.com/go/getflashplayer' 
width='100%' height='100%');
document.write(flashvars='historyUrl=flex-internal.htmlconid= 
+ lc_id +postingid=188dc949%2D6f31%2D4e1e%2D90ba%2D4dcb89ed68eb);
document.write(src='news.swf');
document.write(name='news.swf');
document.write(  /);
document.write(/object);
/script
script language='javascript' charset='utf-8'
document.write(briframe src='flex-internal.htm' name='_history' 
frameborder='0' scrolling='no' width='22' 
height='0'/iframe/br);
/script
//





 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] History Management problems

2005-10-31 Thread moyosaned
We got the following problem. We builded an application witch 
History Management. Now in de precompiled swf + html it is working 
correct. but when we copy past the htmlcode en call this html. we 
see that that on action history is updated (check Back-button). 

Because we got 2 servers 1 flexserver and 1 server for html, cms, 
etc.
we thought it had something to do with crossdomain. So we stored the 
js, swf and iframe, that are needed for history, and tried it like 
that but still same effect history is updated but but there is no 
action followd by clicking on Back. (we have adjusted the paths)


Sample
//
script language='javascript' charset='utf-8' 
src='history.js'/script

script language='javascript' charset='utf-8'
document.write(object classid='clsid:D27CDB6E-AE6D-11cf-96B8-
44455354' 
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swf
lash.cab#version=7,0,14,0' width='100%' height='100%');
document.write(id='news.swf');
document.write();
document.write(  param name='flashvars' value='historyUrl=flex-
internal.htmlconid= + lc_id +postingid=188dc949%2D6f31%2D4e1e%
2D90ba%2D4dcb89ed68eb);
document.write(  param name='src' value='news.swf');
document.write(  embed 
pluginspage='http://www.macromedia.com/go/getflashplayer' 
width='100%' height='100%');
document.write(flashvars='historyUrl=flex-internal.htmlconid= 
+ lc_id +postingid=188dc949%2D6f31%2D4e1e%2D90ba%2D4dcb89ed68eb);
document.write(src='news.swf');
document.write(name='news.swf');
document.write(  /);
document.write(/object);
/script
script language='javascript' charset='utf-8'
document.write(briframe src='flex-internal.htm' name='_history' 
frameborder='0' scrolling='no' width='22' 
height='0'/iframe/br);
/script
//





 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] Flex2:Need quick answer

2005-10-31 Thread Sho Kuwamoto
There is no restriction in how SWFs are deployed. However, there are
security issues in the player which can trip you up if you are not
careful. 

To make sure you are running things in exactly the same way:

1) Open up your run configration by clicking on the triangle menu next
to the Run button and choosing Run... from the menu.
2) Click on the application you are trying to run and look for the
section called URL or path to launch.
3) Make sure you are running the SWF or HTML file at the same path as
specified. If the path is a URL, make sure you are using the same URL to
run the application.
4) You may also want to make sure that you are using the same browser
when running from FB and outside of FB.

After these steps, if you are still not seeing the same results, then
you have found a mysterious bug.

-Sho


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Monday, October 31, 2005 6:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2:Need quick answer

I knowtice that if I just try to run the html/swf directly I don't get 
any of the data, iow I get my initial drop box, but without anything in 
it.  It appears to not work.  However if I click run in the builder it 
comes up fine.

Is the alpha designed so you can't deploy the compiled SWF (which I 
could understand) or am I just doing something wrong?

Thanks
Greg






--
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] Re: Flex 1.5 WS calls without the proxy

2005-10-31 Thread Mink, Joseph





Thanks, Dave!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dave 
WolfSent: Monday, October 31, 2005 10:02 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Flex 1.5 WS calls 
without the proxy
Absolutely you can. We do this quite regularly. If 
the WS lives onthe same host, why introduce the overhead of the 
proxy.You need to do two things. 1) You need to modify 
flex-config.xml to allow the compiled swf tobypass the 
proxy.proxy-use-policyclient/proxy-use-policyYou 
could force all the swf's to bypass the proxy by 
doingproxy-use-policynever/proxy-use-policy2) 
You need to use the following attributes in your mx:WebService 
tagwsdl="/foo/bar/path.to.wsdl" useProxy="false"-- 
Dave WolfCynergy Systems, Inc.Macromedia Flex Alliance Partnerhttp://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 866-CYNERGY x85 --- In 
flexcoders@yahoogroups.com, "Mink, Joseph" 
[EMAIL PROTECTED]wrote: After reading the 
following:  Flash applications are only allowed HTTP 
access to resources on the same domain and by the same protocol from 
which they were served. This presents a problem for web services, 
because they are typically accessed from remote locations. The Flex 
proxy intercepts requests to remote web services, redirects the 
requests, and then returns the responses to the client.  (http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/comm 
on/html/wwhelp.htm?context=Flex_Documentationfile=0762.htm) 
 I'm left with the following question: So can you make a WS call 
without the proxy to a webservice hosted by the same server that served 
the flex app? Like if I accessed:  http://somewhere:8080/flex/myApp.mxml 
 could the Flash Player then make a WS call to http://somewhere:8080/services/myService 
without the Flex proxy?  Thanks! Joey Mink 
[Software Engineer @ Solers, Inc.] Voice: 703 480 2450 Fax: 703 
263 2663 [EMAIL PROTECTED]





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

   
  







  
  
  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: Flex2:Need quick answer

2005-10-31 Thread Greg Johnson
Ok, that was a nausiating hour as we need to show this to some big 
people later today.

Turned out I got the wrong subdirectory when I was manualy typing it 
in.  Once I copy/pasted the path into the browser from FB it worked 
fine.  Tnks :)
--- In flexcoders@yahoogroups.com, Sho Kuwamoto [EMAIL PROTECTED] 
wrote:

 There is no restriction in how SWFs are deployed. However, there are
 security issues in the player which can trip you up if you are not
 careful. 
 
 To make sure you are running things in exactly the same way:
 
 1) Open up your run configration by clicking on the triangle menu 
next
 to the Run button and choosing Run... from the menu.
 2) Click on the application you are trying to run and look for the
 section called URL or path to launch.
 3) Make sure you are running the SWF or HTML file at the same path 
as
 specified. If the path is a URL, make sure you are using the same 
URL to
 run the application.
 4) You may also want to make sure that you are using the same 
browser
 when running from FB and outside of FB.
 
 After these steps, if you are still not seeing the same results, 
then
 you have found a mysterious bug.
 
 -Sho
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Greg Johnson
 Sent: Monday, October 31, 2005 6:05 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex2:Need quick answer
 
 I knowtice that if I just try to run the html/swf directly I don't 
get 
 any of the data, iow I get my initial drop box, but without 
anything in 
 it.  It appears to not work.  However if I click run in the builder 
it 
 comes up fine.
 
 Is the alpha designed so you can't deploy the compiled SWF (which 
I 
 could understand) or am I just doing something wrong?
 
 Thanks
 Greg
 
 
 
 
 
 
 --
 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] Can you hardcode a debug breakpoint in flex scripts?

2005-10-31 Thread Libby
Some programming environments (like Powerbuilder) allow you to put a
statement into your script like debugBreak(), which allows execution
to stop at that point (in debug mode) every time until such time as
you delete the statement. Since Flexbuilder is always helpfully
deleting my breakpoints, this would be a real time saver. Is there
such a thing built in?

Thanks,
Libby





 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] Flex running on JBoss 4.03

2005-10-31 Thread Matt Chotin
Title: Flex running on JBoss 4.03










You havent defined any objects in
the named section, theyre all commented out.  At least one is needed,
otherwise the named section has to be commented out I think.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel Bertrand
Sent: Monday, October 31, 2005
3:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex running
on JBoss 4.03





Hi
! 

I'm
trying to run Flex in JBoss 4.0.3 and I'm having the following error:


11:01:39,768 ERROR [[/TestUI]] Exception
starting filter FlexCacheFilter 
javax.servlet.ServletException: Invalid configuration at line 419 in file
D:\jboss-4.0.3\server\default\tmp\deploy\tmp26912TestUI-exp.war\WEB-INF\flex\flex-config.xml
- cvc-complex-type.2.4.b: The content of element 'named' is not complete. One
of '{http://www.macromedia.com/2003/flex-config:object}' is expected.

Here is the
flex-config on 419: 


remote-objects


.. 

named 

!-- define a remote objects which may be referenced by name from mxml
-- 

!-- object name=myobj -- 

!-- Flex uses this name to access the object -- 

!-- sourceremote.DatatypesTest/source -- 


!-- the type of the source being accessed - e.g. stateful-class or
stateless-class -- 

!-- typestateless-class/type -- 


!-- instructs the gateway to only allow authenticated users to invoke this
service 

this is required when using normal J2EE Basic authentication --


!-- use-basic-authenticationtrue/use-basic-authentication
-- 


!-- informs the gateway that is should attempt to use its own custom
authentication mechansim 

as configured in the login-command section of gateway-config.xml --


!-- use-custom-authenticationtrue/use-custom-authentication
-- 


!-- Adds the service's source to the unnamed whitelist. If false,
these can never be used as unnamed sources --


!-- This will be forced to false if this named object requires
authentication -- 

!-- allow-unnamed-accesstrue/allow-unnamed-access -- 


!-- custom authorization roles can be specified when using custom
authentication -- 

!-- 

roles 

role/role 

/roles 

-- 

!-- /object -- 

/named 
 ... 


 /remote-objects 

I have no
remote-objects registered. The same application works on JBoss 4.0.1 SP1
without any error. 

Any ideia ? 

Thanks
in advance ! 
Michel Bertrand | Desenvolvimento
| DATASUL Tecnologia
Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e
soluções de tecnologia 










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

   
  







  
  
  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] need help from web service

2005-10-31 Thread Matt Chotin










Generally if you pass it as a string it
should convert for you I think.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of collection711
Sent: Saturday, October 29, 2005
11:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] need help
from web service





hi there!

i want to pass the xml document to the .net web
service. is anyone can
help me with that.

at .net server i have web service method which has
input parameter is
xmldocument and at client flex i create xml file
on fly, is there any
way i can call .net web service and passing hold
xml file.


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
  

   
  







  
  
  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] script time warning and Flash Player 8

2005-10-31 Thread Tracy Spratt










I reported that bug and just re-tested it
in the production V8 and it is still broken. Very sad news, since my longest
process takes about 6 minutes in V7, and if the F8 behavior extends somewhat
linearly, I would expect V8 to finish it in about 4 min.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe superabe
Sent: Monday, October 31, 2005
10:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] script time
warning and Flash Player 8







Hello list, 











resending this, hoping somebody has an answer.











The scriptTimeOut property for the application tag does not seem to be
working. (I am testing the app using the debug version of Flash Player 8).
I saw a thread reporting this issue in the flexcoders list
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg11465.html

But no definitive answer there...

Anybody on the list know if this has been resolved ?

TIA,

superabe












--
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] Repeater inside TabNavigator, manipulated by class

2005-10-31 Thread Andreas Weber
I'm reposting this as I didn't have any luck during the weekend.
Is this a bug or am I just not using it properly?
If it is a bug: is there a workaround to create those tabs on the fly?

Cheers!
--
Andreas Weber
motiondraw.com


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Andreas Weber
Sent: Saturday, October 29, 2005 8:55 PM
To: Flexcoders
Subject: [flexcoders] Repeater inside TabNavigator, manipulated by class


I'm using a simple Array of objects as dataProvider of a Repeater.
When updating the Array from a class I run into an odd problem:
the Repeater works and updates fine when I use it outside a TabNavigator -
inside the TabNavigator I get an  Error #1009: null has no properties.
(See code and complete error message below)

Thanks for any insight!

--
Andreas Weber
motiondraw.com

?xml version=1.0?
mx:Application  xmlns:mx=http://www.macromedia.com/2005/mxml;
creationComplete=init()

mx:Script
![CDATA[
[Bindable]
public var projectFiles =[{filename:orig, content:some
content}];


import TestClass;

private function init():Void{
 public var myTestClass:TestClass = new TestClass();
}
]]
/mx:Script
mx:ArrayCollection id=myAC source={projectFiles}/

  mx:Repeater  id=repeater1 dataProvider={myAC}
 mx:Button label={repeater1.currentItem.filename},
{repeater1.currentItem.content}
/
/mx:Repeater

mx:TabNavigator id=tabNav width=100% height=100%
   mx:Repeater  id=repeater2 dataProvider={myAC}
 mx:Canvas label={repeater2.currentItem.filename}
 mx:TextArea width=100% height=100%
htmlText={repeater2.currentItem.content}
/mx:TextArea
   /mx:Canvas
  /mx:Repeater
/mx:TabNavigator

/mx:Application


---

TestClass.as


package {
  public class TestClass {
private var app = mx.core.Application.application;

public function TestClass(){

  app.projectFiles =[{filename:about1, content:the
content of about 1},
  {filename:about2, content:the content of
about 2},
  {filename:about3, content:the content of
about 3},
  {filename:about4, content:the content of
about 4}];

}
  }
}

--

TypeError: Error #1009: null has no properties.
  at mx.core::Repeater/Repeater$410$private::getIndexForFirstChild()
  at mx.core::Repeater/Repeater$410$private::recreate()
  at mx.core::Repeater/Repeater$410$private::execute()
  at mx.core::Repeater/Repeater$410$private::sort()
  at mx.core::Repeater/Repeater$410$private::collectionChangedHandler()
  at flash.events::EventDispatcher/dispatchEvent()
  at mx.collections::ListCollectionView/dispatchEvent()
  at mx.collections::ListCollectionView/refresh()
  at
mx.collections::ListCollectionView/http://www.macromedia.com/2005/flex/mx/in
ternal::reset()
  at mx.collections::ListCollectionView/set list()
  at mx.collections::ArrayCollection/set source()
  at MethodInfo-552()
  at mx.binding::Binding/execute()
  at mx.binding::Binding/watcherFired()
  at mx.binding::Watcher/notifyListeners()
  at mx.binding::PropertyWatcher/handleEvent()
  at flash.events::EventDispatcher/dispatchEvent()
  at test2/set projectFiles()
  at TestClass$iinit()
  at test2/test2$374$private::init()
  at test2/___Application0_creationComplete()
  at flash.events::EventDispatcher/dispatchEvent()
  at
mx.core::UIComponent/mx.core:UIComponent$protected::dispatchCreationComplete
Event()
  at
mx.core::UIComponent$/http://www.macromedia.com/2005/flex/mx/internal::dispa
tchCreationCompleteEvents()
  at
mx.managers::LayoutManager/LayoutManager$1689$private::doPhasedInstantiation
()
  at
mx.core::UIComponent/UIComponent$480$private::callLaterDispatcher2()
  at mx.core::UIComponent/UIComponent$480$private::callLaterDispatcher()





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

[flexcoders] Re: Can you hardcode a debug breakpoint in flex scripts?

2005-10-31 Thread Greg Johnson
Not that I have seen.

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

 Some programming environments (like Powerbuilder) allow you to put a
 statement into your script like debugBreak(), which allows execution
 to stop at that point (in debug mode) every time until such time as
 you delete the statement. Since Flexbuilder is always helpfully
 deleting my breakpoints, this would be a real time saver. Is there
 such a thing built in?
 
 Thanks,
 Libby








 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/
 




RES: [flexcoders] Flex running on JBoss 4.03

2005-10-31 Thread Michel Bertrand
Title: Mensagem





You 
are right ! It works now ! Thanks !

  
  -Mensagem original-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de 
  Matt ChotinEnviada em: segunda-feira, 31 de outubro de 2005 
  15:31Para: flexcoders@yahoogroups.comAssunto: RE: 
  [flexcoders] Flex running on JBoss 4.03
  
  You havent defined 
  any objects in the named section, theyre all commented out. At least 
  one is needed, otherwise the named section has to be commented out I 
  think.
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Michel 
  BertrandSent: Monday, 
  October 31, 2005 3:12 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Flex running on 
  JBoss 4.03
  
  Hi ! 

  I'm trying to run Flex in JBoss 
  4.0.3 and I'm having the following error: 
  11:01:39,768 
  ERROR [[/TestUI]] Exception starting filter FlexCacheFilter 
  javax.servlet.ServletException: Invalid 
  configuration at line 419 in file 
  D:\jboss-4.0.3\server\default\tmp\deploy\tmp26912TestUI-exp.war\WEB-INF\flex\flex-config.xml 
  - cvc-complex-type.2.4.b: The content of element 'named' is not complete. One 
  of '{"http://www.macromedia.com/2003/flex-config":object}' is 
  expected.
  Here is the 
  flex-config on 419: 
   
  remote-objects 
   
  ..  
  named  
  !-- define a remote objects which may be referenced by name from mxml 
  --  
  !-- object name="myobj" --  
  !-- Flex uses this name to access the object -- 
   
  !-- sourceremote.DatatypesTest/source 
  -- 
   
  !-- the type of the source being accessed - e.g. stateful-class or 
  stateless-class --  
  !-- typestateless-class/type -- 
   
  !-- instructs the gateway to only allow authenticated users to invoke this 
  service  
  this is required when using normal J2EE Basic authentication 
  --  
  !-- use-basic-authenticationtrue/use-basic-authentication 
  -- 
   
  !-- informs the gateway that is should attempt to use its own custom 
  authentication mechansim  
  as configured in the login-command section of gateway-config.xml 
  --  
  !-- 
  use-custom-authenticationtrue/use-custom-authentication 
  -- 
   
  !-- Adds the service's source to the unnamed whitelist. If false, 
  these can never be used as unnamed sources --
   
  !-- This will be forced to false if this named object requires 
  authentication --  
  !-- allow-unnamed-accesstrue/allow-unnamed-access 
  -- 
   
  !-- custom authorization roles can be specified when using custom 
  authentication --  
  !--  
  roles  
  role/role  
  /roles  
  --  
  !-- /object --  
  /named  
  ...   /remote-objects 
  I have no 
  remote-objects registered. The same application works on JBoss 4.0.1 SP1 
  without any error. 
  Any ideia 
  ? 
  Thanks in advance ! 
  Michel 
  Bertrand | Desenvolvimento | DATASUL TecnologiaAcesse www.datasuldirect.com.br e conheça 
  mais sobre os produtos e soluções de tecnologia 
  
  





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

   
  







  
  
  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] Repeater inside TabNavigator, manipulated by class

2005-10-31 Thread Matt Chotin










Definitely is a bug. Ill go
ahead and file it. I dont have a workaround for you right now, maybe
try re-creating the ArrayCollection instead of just the inner array? myAC
= new ArrayCollection(projectFiles) instead of re-assigning projectFiles.
I dont have more time to dig on it, sorry.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andreas Weber
Sent: Monday, October 31, 2005
10:19 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Repeater
inside TabNavigator, manipulated by class





I'm reposting this as I
didn't have any luck during the weekend.
Is this a bug or am I just not using it properly?
If it is a bug: is there a workaround to create
those tabs on the fly?

Cheers!
--
Andreas Weber
motiondraw.com


-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]On
Behalf Of Andreas Weber
Sent: Saturday, October 29, 2005 8:55 PM
To: Flexcoders
Subject: [flexcoders] Repeater inside
TabNavigator, manipulated by class


I'm using a simple Array of objects as
dataProvider of a Repeater.
When updating the Array from a class I run into an
odd problem:
the Repeater works and updates fine when I use it
outside a TabNavigator -
inside the TabNavigator I get an Error
#1009: null has no properties.
(See code and complete error message below)

Thanks for any insight!

--
Andreas Weber
motiondraw.com

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml
creationComplete=init()

 mx:Script
 ![CDATA[

[Bindable]

public var projectFiles =[{filename:orig, content:some
content}];



import TestClass;


private function init():Void{

public var myTestClass:TestClass = new TestClass();

}
 ]]
 /mx:Script
 mx:ArrayCollection
id=myAC source={projectFiles}/


mx:Repeater id=repeater1
dataProvider={myAC}

mx:Button label={repeater1.currentItem.filename},
{repeater1.currentItem.content}
/
 /mx:Repeater

 mx:TabNavigator
id=tabNav width=100% height=100%

mx:Repeater id=repeater2
dataProvider={myAC}

mx:Canvas label={repeater2.currentItem.filename}

mx:TextArea width=100% height=100%
htmlText={repeater2.currentItem.content}

/mx:TextArea

/mx:Canvas

/mx:Repeater
 /mx:TabNavigator

/mx:Application


---

TestClass.as


package {
 public class
TestClass {

private var app = mx.core.Application.application;


public function TestClass(){


app.projectFiles =[{filename:about1, content:the
content of about 1},

{filename:about2, content:the content of
about 2},

{filename:about3, content:the content of
about 3},

{filename:about4, content:the content of
about 4}];


}
 }
}

--

TypeError: Error #1009: null has no properties.
 at
mx.core::Repeater/Repeater$410$private::getIndexForFirstChild()
 at mx.core::Repeater/Repeater$410$private::recreate()
 at
mx.core::Repeater/Repeater$410$private::execute()
 at
mx.core::Repeater/Repeater$410$private::sort()
 at
mx.core::Repeater/Repeater$410$private::collectionChangedHandler()
 at flash.events::EventDispatcher/dispatchEvent()
 at
mx.collections::ListCollectionView/dispatchEvent()
 at
mx.collections::ListCollectionView/refresh()
 at
mx.collections::ListCollectionView/http://www.macromedia.com/2005/flex/mx/in
ternal::reset()
 at
mx.collections::ListCollectionView/set list()
 at
mx.collections::ArrayCollection/set source()
 at MethodInfo-552()
 at
mx.binding::Binding/execute()
 at
mx.binding::Binding/watcherFired()
 at
mx.binding::Watcher/notifyListeners()
 at
mx.binding::PropertyWatcher/handleEvent()
 at
flash.events::EventDispatcher/dispatchEvent()
 at test2/set
projectFiles()
 at
TestClass$iinit()
 at
test2/test2$374$private::init()
 at
test2/___Application0_creationComplete()
 at
flash.events::EventDispatcher/dispatchEvent()
 at
mx.core::UIComponent/mx.core:UIComponent$protected::dispatchCreationComplete
Event()
 at
mx.core::UIComponent$/http://www.macromedia.com/2005/flex/mx/internal::dispa
tchCreationCompleteEvents()
 at
mx.managers::LayoutManager/LayoutManager$1689$private::doPhasedInstantiation
()
 at
mx.core::UIComponent/UIComponent$480$private::callLaterDispatcher2()
 at
mx.core::UIComponent/UIComponent$480$private::callLaterDispatcher()





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




YAHOO! GROUPS LINKS

Visit your group flexcoders on the
web.

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

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










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





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of 

[flexcoders] AS2.0 remoting with @ContextRoot()

2005-10-31 Thread Rick Schmitty
Does the variable @ContextRoot() not work when making your own .as
class? or am I doing something wrong?  I've seen examples of setting
up the endpoint in the mx:RemoteObject tag with @ContextRoot() but I'd
like to get it working with the AS method too:
http://livedocs.macromedia.com/flashremoting/mx2004/actionscript_api_reference/mx/remoting/Service.html

this works:

var gateway=http://test.com/flashservices/gateway;;
var service=com.test.foo;
var ro:Object;
ro = new Service(gateway,null,service,null,null);


this does not work:

var service=com.test.foo;
var ro:Object;
ro = new Service(@ContextRoot()/flashservices/gateway,null,service,null,null);

it will give me: Looking up contextroot()... in firefox's status bar

I've also tried no @ and/or making the string prior with {}'s, but no luck


 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] AS2.0 remoting with @ContextRoot()

2005-10-31 Thread Matt Chotin










@ContextRoot() only gets interpreted by
the MXML parser (so in the attributes or child tags of MXML); it does not get
interpreted by the AS parser. So youll need to do your own parsing to
figure out the root.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rick Schmitty
Sent: Monday, October 31, 2005
12:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AS2.0
remoting with @ContextRoot()





Does the variable
@ContextRoot() not work when making your own .as
class? or am I doing something wrong? I've
seen examples of setting
up the endpoint in the mx:RemoteObject tag with
@ContextRoot() but I'd
like to get it working with the AS method too:
http://livedocs.macromedia.com/flashremoting/mx2004/actionscript_api_reference/mx/remoting/Service.html

this works:

var gateway=http://test.com/flashservices/gateway;
var service=com.test.foo;
var ro:Object;
ro = new Service(gateway,null,service,null,null);


this does not work:

var service=com.test.foo;
var ro:Object;
ro = new
Service(@ContextRoot()/flashservices/gateway,null,service,null,null);

it will give me: Looking up
contextroot()... in firefox's status bar

I've also tried no @ and/or making the string
prior with {}'s, but no luck








--
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] Keyup event in datagrid

2005-10-31 Thread Parekh, Shweta - BLS CTR
Title: Message





Hi,

Thanks 
for your input but binding is not a problem but it should bind the two the 
datagrid cell and textinput as I type in the cell. So this did not work. I am 
trying to use cellrenderer to see if I can render the cell it as a text 
inputand handle events on it accordingly. I am stuck at trying to use the 
cellRenderer at the datagrid level instead of dataGridColumn as my datagrid is 
dynamic and the number of columns keep changing depending on the data coming 
from the business tier. This is what my datagrid looks like:

mx:DataGrid id="columnar_dg" 
height="91" textAlign="left" width="524" dataProvider="{listSpec.columnarSpec}" 
cellPress="pressCell(event)" cellEdit="editCell()" 
keyUp="test()" 
cellRenderer="test" sortableColumns="false" rowHeight="15" headerHeight="14" 
editable="true" 
creationComplete="setHeaders()" 
/mx:DataGrid

The 
KeyUp does not work.The test() function in cell renderer is also not 
called. How can I get the cellrenderer to work at the datagrid level instead for 
DataGridColumn?

Appreciate any ideas on this.

Thanks,
Shweta


  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Manish JethaniSent: Friday, October 28, 2005 10:07 
  PMTo: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] Keyup event in datagridOn 10/28/05, 
  Parekh, Shweta - BLS CTR [EMAIL PROTECTED] wrote: When 
  is the keyup event in datagrid fired? I have a requirement where as I 
  edit a cell in a datagrid, the text in my text input should get updated 
  and vice versa. Basically I have to tie together a particular cell 
  pressed in the datagrid to a textinput field. I have a keyUp event for 
  my text input which updates the text in the datagrid cell as I update 
  the textinput but I am not able to get the other way 
  working.Couldn't you just bind the text to the grid's data 
  provider? TextInput 
  text="{dataGrid.dataProvider[index].field}" /





--
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: Drawing Examples in Flex 2?

2005-10-31 Thread Liviu Grigorescu
You'll have to have Flex Builder 2 installed.

Just start a new Action Script Project (File-New-ActionScrip
Project). Let's name it Test4.
After the project is created, Flex Builder creates a default class
named Test4.as.
Double click on it and replace it's default content with the one
provided by JesterXL.

It worked form me!


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

 
 Thanks Jesse - this certainly looks like the right approach -
 unfortunately I've not been able to get it to work. I've tried calling
 it directly within MXML, calling it from a creationComplete function,
 and embedding the SWF in an existing simple application. I'm sure I'm
 missing something obvious, any thoughts?
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of JesterXL
 Sent: Monday, October 31, 2005 12:51 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Drawing Examples in Flex 2?
 
 Bling, bling!
 
 package
 
 {
 
 import flash.display.StageScaleMode;
 
 import flash.display.StageAlign;
 
 import flash.display.Sprite;
 
 import flash.display.Graphics;
 
 import flash.events.MouseEvent;
 
 import flash.events.MouseEventType;
 
 import flash.util.trace;
 
 
 public class DrawingMouse extends Sprite
 
 {
 
 
 private var canvas_sprite:Sprite;
 
 
 public function DrawingMouse()
 
 {
 
 stage.scaleMode = StageScaleMode.NO_SCALE;
 
 stage.align = StageAlign.TOP_LEFT;
 
 
 canvas_sprite = new Sprite();
 
 addChild(canvas_sprite);
 
 var g:Graphics = canvas_sprite.graphics;
 
 g.clear();
 
 g.beginFill(0x00, 0);
 
 g.lineTo(500, 0);
 
 g.lineTo(500, 500);
 
 g.lineTo(0, 500);
 
 g.lineTo(0, 0);
 
 g.endFill();
 
 
 canvas_sprite.addEventListener(MouseEventType.MOUSE_MOVE, 
 mouseMoveListener);
 
 }
 
 
 private function mouseMoveListener(event:MouseEvent)
 
 {
 
 trace(mouse move);
 
 var g:Graphics = graphics;
 
 g.clear();
 
 g.lineStyle(2, 0x00);
 
 g.moveTo(100, 100);
 
 g.lineTo(mouseX, mouseY);
 
 g.endFill();
 
 }
 
 
 }
 
 }
 
 - Original Message - 
 From: Mark Wales [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Sunday, October 30, 2005 5:05 PM
 Subject: [flexcoders] Drawing Examples in Flex 2?
 
 
 
 Has anyone spent any time drawing simple shapes (lines, circles, etc.)
 in Flex 2?? Can someone point me to a couple examples? An ideal scenario
 would be something that showed how to draw a line between a point and
 the current location of the mouse.
 
 Thanks in advance...
 
 
 
 
 
 
 --
 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 ~-- 
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] Changing colors in images

2005-10-31 Thread Andora, Greg





Hello 
all,

I was wondering if I 
could get some advice on the best way to import images that I can drag and drop 
around the screen and change the colors of.

For instance, if I 
have images of different states ina toppanel and want to drag one of 
them to a panel below, after the drop is complete I want to color all of the 
other states in the same region yellow.

I know I could have 
2 images for each state in my library one for each color, but that is 100 
images. Does anybody know of any better ways to do this? I'm 
thinking that maybe the drawing API may be able to do this, if you think so, do 
you know any good resources for someone who has never touched 
it?

Thanks in advanced,Greg







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





  




  
  
  YAHOO! GROUPS LINKS



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



  










To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.

This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com



Re: [flexcoders] script time warning and Flash Player 8

2005-10-31 Thread superabe superabe



I do hope to refactor and optimize the code eventually, but I think the option tooverridethe default time limit of 60 seconds for your script should be made available.
- superabe

On 10/31/05, JesterXL [EMAIL PROTECTED] wrote:

I never knew it was an issue.

Incidentally, I think that is one of the worst features Macromedia could of implemented in Flex, although, I understand why they did it.

My opinion; if you are using that attribute of the application tag, it's time to refactor whatever part of your code requires it.


- Original Message - 
From: superabe superabe 
To: flexcoders@yahoogroups.com 
Sent: Monday, October 31, 2005 10:36 AM
Subject: [flexcoders] script time warning and Flash Player 8

Hello list, 

resending this, hoping somebody has an answer.

The scriptTimeOut property for the application tag does not seem to beworking. (I am testing the app using the debug version of Flash Player 8).I saw a thread reporting this issue in the flexcoders list
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg11465.htmlBut no definitive answer there...Anybody on the list know if this has been resolved ?TIA,superabe
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 


YAHOO! GROUPS LINKS 

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










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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Cairngorm Sequence Command Example

2005-10-31 Thread superabe superabe



Hi there,


Does anyone have an example implementation ofa Cairngorm SequenceCommand class.
I need to chain 5 of my asynch Command's together to perform an action once _all_ 5 have completed execution.
Am I wrong in expecting that a single SequenceCommand will be able tochain all 5 commands ?

TIA
- superabe






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

   
  







  
  
  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] text_mc in flex

2005-10-31 Thread Greg Morphis
I ran across some code:
mx:DateField
 id=daDate
 selectedDate={_selectedDate}
 change=setDateFromCal(event)
 open=this.dispatchEvent(event)
 close=this.dispatchEvent(event)
 scroll=this.dispatchEvent(event) /

mx:TextInput
 id=input
 text={formatter.format(_selectedDate)}
 width={daDate.text_mc.width}
 focusOut=setDateFromText(event) /

mx:DateFormatter id=formatter /


Can someone explain what text_mc is? I don't see it defined anywhere
else and I didnt see it in the flex documentation.

Thanks!


--
Auxilium meum a Domino




 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: Referencing a combobox label (FLEX 2)

2005-10-31 Thread yaagcur
Thanks Matt. So simple

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

 If you are passing in strings to the ComboBox then you want to use
 startYear.selectedItem, if you pass in objects that have label
 properties you want to use startYear.selectedItem.label.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of yaagcur
 Sent: Friday, October 28, 2005 3:41 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Referencing a combobox label (FLEX 2)
 
  
 
 I'm still struggling with this
 
 If I create an array 
 e.g.
 private var startYear:Array= 
 [{label:2005 },
 {label:2004 },
 {label:2003} ];
 
 then startYear.selectedItem.label gives me say 2005 correctly
 
 If I, alternatively, create an extended combobox a la the illustration
 in livedocs
 http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp
 .htm?href=1531.html
 
 mx:dataProvider
 mx:String2005/mx:String
 mx:String2004/mx:String
 mx:String2003/mx:String
 /mx:dataProvider
 
 The resulting use of the combobox with id =startYearpopulates
 correctly but I get the
 error
 Property label not found on Object and there is no default value
 
 Any suggestions most welcome
 
 --- In flexcoders@yahoogroups.com, yaagcur [EMAIL PROTECTED] wrote:
 
  Deepa 
  Thanks for suggestion 
  tried that and got error on initializtion of
  
  'Property label not found on Object and there is no default value'
  
  and when I selected a year fom the comboBox the error that the 
  required parameter was not found
  
  Passing constants or the value of a text field as paramaters do work
  Just cannot pick up the combo label
  
  
  --- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED]
  wrote:
  
   Hi-
   
   Try startYear.selectedItem.label in your Model.
   
   Deepa 
   
   -Original Message-
   From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
   Behalf Of yaagcur
   Sent: Wednesday, October 26, 2005 11:52 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Referencing a combobox label (FLEX 2)
   
   
   I am trying to get the value selected from an extended combobox
   into a model which I subsequently use as a parameter in a webservice
   
   The relevant pieces of code I am trying are
   
   Form
   MyComp:testYearsComboBox id=startYear   /
   
   Model
   mx:Model id=myFormModel
   minYearModel{startYear.label}/minYearModel
   
   WebService
   mx:operation name=getQuery 
  mx:request
startYear{myFormModel.minYearModel}/startYear
  
  /mx:request
 /mx:operation
   
   I am getting this error
   'Access of undefined property label through a reference with
 static type
   '
   
   
   
   
   
   
   --
   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
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des
 ign+and+developmentw4=Macromedia+flexc=4s=126.sig=ynjozILdtUiijfLjiz
 5l1Q  
 
 Computer software development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 esign+and+developmentw4=Macromedia+flexc=4s=126.sig=i_RMdAMzxP1R8fB7
 NcnaqQ  
 
 Software design and development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 Web+site+design+developmentw2=Computer+software+developmentw3=Software
 +design+and+developmentw4=Macromedia+flexc=4s=126.sig=4g8hODKyQov1GX
 OxaXG2Sg  
 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 developmentw2=Computer+software+developmentw3=Software+design+and+deve
 lopmentw4=Macromedia+flexc=4s=126.sig=hhODNnONza_qi3x2OWe-Qg  
 
  
 
  
 
  
 
 
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 










 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] new member

2005-10-31 Thread Justin
Hello, I am an up coming Interactive Media Designer in the Houston
area. I need to learn actionscript 2.0.  I have heard that O'Reilly
puts out a good book.  I know very little. I can create navigation and
that is about it.  Any suggestions?

Thanks,
Justin





 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: Changing colors in images

2005-10-31 Thread Eric Raymond
The best I've been able to do is to stack two images on top of each
other (or once inmage and a canvas) and have the front most image have
transparent sections that reveal the background image.

These images need to be embedded in you are using Flex 1.5.

I'd be curious if there is a better way to handle this (in Flex 1.5).







 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] Redrawing/clearing a portion of a drawing in Flex 1.5 canvas

2005-10-31 Thread Eric Raymond
If we have a canvas that has been drawn into (e.g.m using lineTo) and
we want to change just one part of the drawing, is there a way to do
this without calling clear().

Are the drawn elements children of the canvas which can subsquently be
manipulated/deleted?

This is for Flex 1.5.







 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] text_mc in flex

2005-10-31 Thread Anatole Tartakovsky
Greg,
Place breakpoint on the focusOut=setDateFromText() line. When in 
debugger. step in and look at the source of DateField - you should see the 
components that make up DateField.

HTH,
Anatole

- Original Message - 
From: Greg Morphis [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, October 31, 2005 4:26 PM
Subject: [flexcoders] text_mc in flex


I ran across some code:
 mx:DateField
 id=daDate
 selectedDate={_selectedDate}
 change=setDateFromCal(event)
 open=this.dispatchEvent(event)
 close=this.dispatchEvent(event)
 scroll=this.dispatchEvent(event) /

 mx:TextInput
 id=input
 text={formatter.format(_selectedDate)}
 width={daDate.text_mc.width}
 focusOut=setDateFromText(event) /

 mx:DateFormatter id=formatter /


 Can someone explain what text_mc is? I don't see it defined anywhere
 else and I didnt see it in the flex documentation.

 Thanks!


 --
 Auxilium meum a Domino





 --
 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] Re: Cairngorm Sequence Command Example

2005-10-31 Thread kaibabsowats
Do any of the command depends on each other (have to work in a
specific sequence) or do they just all have to be done to create the
state you want?

If it's the later you might not want to use the SequenceCommand but
just 5 separate commands that change some state variables and once
your state is set right do what you want.

Renaun

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

 Hi there,
   Does anyone have an example implementation of a Cairngorm
SequenceCommand
 class.
 I need to chain 5 of my asynch Command's together to perform an
action once
 _all_ 5 have completed execution.
 Am I wrong in expecting that a single SequenceCommand will be able
to chain
 all 5 commands ?
  TIA
  - superabe








 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] Re: Cairngorm Sequence Command Example

2005-10-31 Thread superabe superabe



Preferably the commands need to be in a sequence.
If the SequenceCommand cannot be used though, I would have to use state variables to figure out theend of the sequence.

- superabe
On 10/31/05, kaibabsowats [EMAIL PROTECTED] wrote:
Do any of the command depends on each other (have to work in aspecific sequence) or do they just all have to be done to create the
state you want?If it's the later you might not want to use the SequenceCommand butjust 5 separate commands that change some state variables and onceyour state is set right do what you want.Renaun
--- In flexcoders@yahoogroups.com, superabe superabe [EMAIL PROTECTED]wrote: Hi there, Does anyone have an example implementation of a Cairngorm
SequenceCommand class. I need to chain 5 of my asynch Command's together to perform anaction once _all_ 5 have completed execution. Am I wrong in expecting that a single SequenceCommand will be able
to chain all 5 commands ?TIA- superabe 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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 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] text_mc in flex

2005-10-31 Thread Douglas Knudsen
SO, use of this text_mc is use o fan undocumented feature?  Is this wise?

DK

On 10/31/05, Anatole Tartakovsky [EMAIL PROTECTED] wrote:
 Greg,
Place breakpoint on the focusOut=setDateFromText() line. When in
 debugger. step in and look at the source of DateField - you should see the
 components that make up DateField.

 HTH,
 Anatole

 - Original Message -
 From: Greg Morphis [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Monday, October 31, 2005 4:26 PM
 Subject: [flexcoders] text_mc in flex


 I ran across some code:
  mx:DateField
  id=daDate
  selectedDate={_selectedDate}
  change=setDateFromCal(event)
  open=this.dispatchEvent(event)
  close=this.dispatchEvent(event)
  scroll=this.dispatchEvent(event) /
 
  mx:TextInput
  id=input
  text={formatter.format(_selectedDate)}
  width={daDate.text_mc.width}
  focusOut=setDateFromText(event) /
 
  mx:DateFormatter id=formatter /
 
 
  Can someone explain what text_mc is? I don't see it defined anywhere
  else and I didnt see it in the flex documentation.
 
  Thanks!
 
 
  --
  Auxilium meum a Domino
 
 
 
 
 
  --
  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









--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like 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/