[flexcoders] Re: It's simple but.......

2005-12-02 Thread digital_eyezed
Great thanks!

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

 Format the incoming data into an ArrayCollection of an array of 
objects, 
 and set that array as the dataProvider of the chart.  Something 
like this
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; 
 creationComplete=initApp()
 mx:Script
![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var chartData:ArrayCollection;
private function initApp(){
  var a:Array = new Array();
  var o:Object = new Object();
  o.name=firstValue;
  o.value=150.0;
  a.push(o);
  o= new Object();
  o.name=secondValue;
  o.value=3670.27001953125;
  a.push(o);
  chartData = new ArrayCollection(a);
}
]]
 /mx:Script
 mx:PieChart id=chart width=100% height=100% 
dataProvider={chartData}
mx:series
  mx:Array
mx:PieSeries labelPosition=insideWithCallout 
field=value/
  /mx:Array
/mx:series
 /mx:PieChart
 /mx:Application
 
 At 11:38 AM 12/1/2005, you wrote:
 I have a returned VO from a remote Object call which contains 
these
 values:
 
 firstValue = 150.0
 secondValue = 3670.27001953125
 
 Ok, I want to put this into a pie Chart, how do I do it?
 
 The VO is called myRatio.
 
 
 Thanks in advance.
 
 Iain
 
 
 
 
 
 
 --
 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.







 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/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] Handles for resizing?

2005-12-02 Thread Mink, Joseph





Hi 
all,

I have a rectangle 
that I'm drawing with the flex drawing API, and I want to allow the user to 
resize it (grab the bottom-right corner and change the dimensions). I've 
seen this done in flash many times...does anyone know of an example that might 
shed some light on the way to go about doing this?

I recently solved 
the problem of using Flash's startDrag and stopDrag, which was a bit awkward 
because using Flex-style eventListeners seemed to interfere with startDrag and 
stopDrag.So I had to make sure I did everything with the Flash mouse 
handling methods. I assume this resizing trick will put me up against the 
same kind of wierdness?

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





  




  
  
  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] Annpuncing Log4x

2005-12-02 Thread Xavi Beumala
Hi Dave,
I've tried to subscribe and download log4X and I've noticed the form 
isn't working in player 8.5. When I focus textInputs I can't write in 
them. However player 8.0 works fine.

Maybe it's an incompatibility between players or maybe a bug...

Thanks for your great work!

X.


Dave Wolf wrote:
 I am incredibly excited to announce the availability of Log4x to the
 Flex community.  Log4x is a toolkit to assist in the development and
 runtime monitoring and debugging of applications built with Macromedia
 Flex.  Based on and designed to integrate with Log4j, effectively the
 most popular logging framework ever developed, Log4x provides the Flex
 developer with a best-of-breed solution for instrumenting and logging
 their Flex based RIAs.Log4x takes advantage the Flex web services
 model, and can be intricately controlled by the developer on a
 per-application basis during development as well as by administrators
 in production.  Integrating seamlessly with Log4j, Log4x provides a
 similar programming model making it intuitive for enterprise
 developers with Log4j experience.
 
 Log4x is being released under a community source license free of
 charge to all licensed Flex users.  Features include:
 
 -  Integrated logging between user experience and server layers.  No
 other logging framework to date lets you bring together every tier of
 your enterprise flex application.
 
 -  Ability to assign not only pre-set categories (INFO, DEBUG, WARN,
 ERROR) but also arbitrary logical application name spaces such as
 shopping cart, system, navigation, etc.
 
 -  Logging levels are completely dynamic and can be enabled and
 disabled in real-time without having to ever recompile your Flex
 application.
 
 -  Configurable batching with thresholds reduces network traffic and
 allows you to configure rules such as don't log unless an error
 occurs, then log the all steps that lead up to that error.
 
 -  Based on industry standard frameworks and API's such as Log4j, XML,
 HTTP, etc.
 
 -  Secure and compartmentalized.  N applications can have N separate
 logs, each of which may be sending their log messages back to the
 server via (if configured) secured channels, preventing
 man-in-the-middle attacks that pry on sensitive data.
 
 Log4x is being released under a community source license free of
 charge to all licensed Flex users.  Log4x can be downloaded by
 subscribing to Cynergy's new Flex Resources community.  To get more
 information, view a video introduction, or download Log4x please click
 on the link below.
 
 http://www.cynergysystems.com/pages/how/technologies/flex/index.html
 





 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/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] Flex1.5 - Focus Question

2005-12-02 Thread Christoph Diefenthal










Hi at all,



I have got a component(moveThis) on a canvas(canContent),
which I want to move on the canvas by clicking the arrow keys.

That works pretty good, as long as the canvas has got
no scrollbars!



If canContent has scrollbars and I click at first on moveThis
to set the focus, pressing an arrow key causes the scrollbars to move as well!!!

Only if I click on canContent first and than click on
moveThis it works instantly...





That is strange, because I call setFocus() explicitly
to the component... and so I have no idea why the scrollbars move ???

Has anyone a idea?









?xml version=1.0
encoding=utf-8?

mx:Application
xmlns:mx=http://www.macromedia.com/2003/mxml
xmlns=* 



mx:Script 

 ![CDATA[

 var
keyMoveAddValue = 10;

 var
keyListener:Object;







 function
doKeyMove(event){

 //mx.controls.Alert.show(
test );

 //mx.controls.Alert.show(moveThis.getFocus()
+ moveThis.getFocus().id);

 if
(moveThis.getFocus() == moveThis){

 

 
 if
(Key.getCode() == (Key.LEFT)){

 
 moveThis.x
-= keyMoveAddValue;

 
 }else
if(Key.getCode() == (Key.UP)){

 
 moveThis.y
-= keyMoveAddValue;

 
 }else
if(Key.getCode() == (Key.RIGHT)){

 
 moveThis.x
+= keyMoveAddValue;

 
 }else
if(Key.getCode() == (Key.DOWN)){

 
 moveThis.y
+= keyMoveAddValue;

 
 }

 


  }

 }

 

 



 ]]


 /mx:Script



mx:Canvas id=canContent
width=500 height=500 minHeight=0
backgroundColor=#ff
mouseDown=canContent.setFocus()

  mx:Canvas
id=moveThis width=20 height=20
backgroundColor=#aa keyDown=doKeyMove()
mouseDown=moveThis.setFocus() /

  mx:Canvas
id=bigThing x=200 y=100
width=20 height=600 backgroundColor=#00aa00
/

/mx:Canvas





/mx:Application





























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





  




  
  
  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] Look Feel of Application as per user choice

2005-12-02 Thread sandip_patil01
Hi All,

I developed a application.
Now I want the user can select look  feel of this application as 
he/she wants.
Means he can select background color,theme color for entire 
application.
Like,  
   http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html

any suggestions.


Sandip P.







 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/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] System.security.loadPolicyFile documentation errata

2005-12-02 Thread Ralf Rottmann










I have been trying to get a cross server socket issue
resolved during the past couple of days  and solved it today!

As many on this list have been very responsive and of great
help I want to share this little hint to help you not making the same mistake:



The Macromedia documentation states that loading an XML
policy file can be done with a call to



System.security.loadPolicyFile



While the Flex 2.0 compiler throws no compile time error you
get an error during runtime stating that the method security cannot be found. The
reason for that is that there is a namespace error in almost all the
documentation I found online.



The correct call is either



flash.system.Security.loadPolicyFile(url:String);



or



Security.loadPolicyFile(url:String) if you have an  import flash.system.*;
statement at the beginning of your code.



And by the way: This not only works for connections via the
HTTP, HTTPS or FTP protocol but also for Socket and XMLSocket.



Best regards



Ralf Rottmann 











--
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] To Moderator

2005-12-02 Thread Ralf Rottmann
I can replicate the issue however my posts never got lost, so I never
had to resend. But yes, sometimes it takes quite long until a post gets
distributed to the list. I don't know about the inner workings of
Yahoolists but maybe posts get flushed out like 10 times a day instead
of instant delivery.

So this might not be a bug but by design. I would appreciate instant
distribution, too.



---
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JIGNESH M. DODIYA
Sent: Donnerstag, 1. Dezember 2005 12:55
To: flexcoders@yahoogroups.com
Subject: [flexcoders] To Moderator

Hellow Mr. Moderator,

I just want to describe you my problem..Hope u can help me.

Its seen often that whenever I post my problem in the Flexcoder as 
new post, i have seen that I get the Email in my list very late, And 
many times I have faced the problem that I have to send same post 
for 2-3 time to get it posted in Flexcoder...Such problems just 
discourage me to post on Flexcoder.

I have verified all the posibilities if I am doing something wrong 
to post, but its fair method.

So, hope you can do something where's actually I face problem.

Your effert will highly appreciated.

Regards,

JIgnesh











--
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/KIlPFB/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] Annpuncing Log4x

2005-12-02 Thread Ralf Rottmann
Works with player 8.5 as well. The only weird thing is that initially
the cursor already is in the first input field but you have to click it
once more...

Ralf Rottmann | Director Sales  Marketing | VoicInt Telecommunications
GmbH
m:+49-(0)170-914-5495 | f: +49-(0)231-557402-99 | e:
[EMAIL PROTECTED]

---
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Xavi Beumala
Sent: Freitag, 2. Dezember 2005 08:26
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Annpuncing Log4x

Hi Dave,
I've tried to subscribe and download log4X and I've noticed the form 
isn't working in player 8.5. When I focus textInputs I can't write in 
them. However player 8.0 works fine.

Maybe it's an incompatibility between players or maybe a bug...

Thanks for your great work!

X.


Dave Wolf wrote:
 I am incredibly excited to announce the availability of Log4x to the
 Flex community.  Log4x is a toolkit to assist in the development and
 runtime monitoring and debugging of applications built with Macromedia
 Flex.  Based on and designed to integrate with Log4j, effectively the
 most popular logging framework ever developed, Log4x provides the Flex
 developer with a best-of-breed solution for instrumenting and logging
 their Flex based RIAs.Log4x takes advantage the Flex web services
 model, and can be intricately controlled by the developer on a
 per-application basis during development as well as by administrators
 in production.  Integrating seamlessly with Log4j, Log4x provides a
 similar programming model making it intuitive for enterprise
 developers with Log4j experience.
 
 Log4x is being released under a community source license free of
 charge to all licensed Flex users.  Features include:
 
 -  Integrated logging between user experience and server layers.  No
 other logging framework to date lets you bring together every tier of
 your enterprise flex application.
 
 -  Ability to assign not only pre-set categories (INFO, DEBUG, WARN,
 ERROR) but also arbitrary logical application name spaces such as
 shopping cart, system, navigation, etc.
 
 -  Logging levels are completely dynamic and can be enabled and
 disabled in real-time without having to ever recompile your Flex
 application.
 
 -  Configurable batching with thresholds reduces network traffic and
 allows you to configure rules such as don't log unless an error
 occurs, then log the all steps that lead up to that error.
 
 -  Based on industry standard frameworks and API's such as Log4j, XML,
 HTTP, etc.
 
 -  Secure and compartmentalized.  N applications can have N separate
 logs, each of which may be sending their log messages back to the
 server via (if configured) secured channels, preventing
 man-in-the-middle attacks that pry on sensitive data.
 
 Log4x is being released under a community source license free of
 charge to all licensed Flex users.  Log4x can be downloaded by
 subscribing to Cynergy's new Flex Resources community.  To get more
 information, view a video introduction, or download Log4x please click
 on the link below.
 
 http://www.cynergysystems.com/pages/how/technologies/flex/index.html
 






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



 





 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/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] Handles for resizing?

2005-12-02 Thread Sreejith Unnikrishnan






Excellent example!
http://weblogs.macromedia.com/khoyt/archives/2005/01/drag-and-resize.cfm

Sree

Mink, Joseph wrote:

  
  
  Hi
all,
  
  I
have a rectangle that I'm drawing with the flex drawing API, and I want
to allow the user to resize it (grab the bottom-right corner and change
the dimensions). I've seen this done in flash many times...does anyone
know of an example that might shed some light on the way to go about
doing this?
  
  I
recently solved the problem of using Flash's startDrag and stopDrag,
which was a bit awkward because using Flex-style eventListeners seemed
to interfere with startDrag and stopDrag.So I had to make sure I did
everything with the Flash mouse handling methods. I assume this
resizing trick will put me up against the same kind of wierdness?
  
  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





  




  
  
  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] Annpuncing Log4x

2005-12-02 Thread Carson Hager
That's an endless source of frustration for me. I've spent hours playing
with Javascript and various browser events to force true focus on these
input fields in situations such as this form as well as our Support
login page. My favorite little nuance is there are situations where I
can get true focus to work but pressing the tab key doesn't then take
you to the next field.  Instead it takes you to the address field and
you find yourself typing in the second field value as a URL.  That's not
maddening or anything. ;)


Carson



 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ralf Rottmann
Sent: Friday, December 02, 2005 5:28 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Annpuncing Log4x

Works with player 8.5 as well. The only weird thing is that initially
the cursor already is in the first input field but you have to click it
once more...

Ralf Rottmann | Director Sales  Marketing | VoicInt Telecommunications
GmbH
m:+49-(0)170-914-5495 | f: +49-(0)231-557402-99 | e:
[EMAIL PROTECTED]

---
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Xavi Beumala
Sent: Freitag, 2. Dezember 2005 08:26
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Annpuncing Log4x

Hi Dave,
I've tried to subscribe and download log4X and I've noticed the form
isn't working in player 8.5. When I focus textInputs I can't write in
them. However player 8.0 works fine.

Maybe it's an incompatibility between players or maybe a bug...

Thanks for your great work!

X.


Dave Wolf wrote:
 I am incredibly excited to announce the availability of Log4x to the 
 Flex community.  Log4x is a toolkit to assist in the development and 
 runtime monitoring and debugging of applications built with Macromedia

 Flex.  Based on and designed to integrate with Log4j, effectively the 
 most popular logging framework ever developed, Log4x provides the Flex

 developer with a best-of-breed solution for instrumenting and logging
 their Flex based RIAs.Log4x takes advantage the Flex web services
 model, and can be intricately controlled by the developer on a 
 per-application basis during development as well as by administrators 
 in production.  Integrating seamlessly with Log4j, Log4x provides a 
 similar programming model making it intuitive for enterprise 
 developers with Log4j experience.
 
 Log4x is being released under a community source license free of 
 charge to all licensed Flex users.  Features include:
 
 -  Integrated logging between user experience and server layers.  No 
 other logging framework to date lets you bring together every tier of 
 your enterprise flex application.
 
 -  Ability to assign not only pre-set categories (INFO, DEBUG, WARN,
 ERROR) but also arbitrary logical application name spaces such as 
 shopping cart, system, navigation, etc.
 
 -  Logging levels are completely dynamic and can be enabled and 
 disabled in real-time without having to ever recompile your Flex 
 application.
 
 -  Configurable batching with thresholds reduces network traffic and 
 allows you to configure rules such as don't log unless an error 
 occurs, then log the all steps that lead up to that error.
 
 -  Based on industry standard frameworks and API's such as Log4j, XML,

 HTTP, etc.
 
 -  Secure and compartmentalized.  N applications can have N separate 
 logs, each of which may be sending their log messages back to the 
 server via (if configured) secured channels, preventing 
 man-in-the-middle attacks that pry on sensitive data.
 
 Log4x is being released under a community source license free of 
 charge to all licensed Flex users.  Log4x can be downloaded by 
 subscribing to Cynergy's new Flex Resources community.  To get more 
 information, view a video introduction, or download Log4x please click

 on the link below.
 
 http://www.cynergysystems.com/pages/how/technologies/flex/index.html
 






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



 






--
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/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: 

RE: [flexcoders] Look Feel of Application as per user choice

2005-12-02 Thread Philippe Maegerman
I think you must use setStyle('style', 'value')
 
Comp.setStyle('color', CECECE);
 
Philippe



From: flexcoders@yahoogroups.com on behalf of sandip_patil01
Sent: Fri 2/12/2005 9:37
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Look  Feel of Application as per user choice


Hi All,

I developed a application.
Now I want the user can select look  feel of this application as 
he/she wants.
Means he can select background color,theme color for entire 
application.
Like,  
   http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html

any suggestions.


Sandip P.







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






--
**STATEMENT OF CONFIDENTIALITY** 

This e-mail and any attached files are confidential and intended solely for the 
use of the individual to whom it is addressed. If you have received this email 
in error please send it back to the person that sent it to you. Any views or 
opinions presented are solely those of author and do not necessarily represent 
those the Emakina Company. Unauthorized publication, use, dissemination, 
forwarding, printing or copying of this email and its associated attachments is 
strictly prohibited.

We also inform you that we have checked that this message does not contain any 
virus but we decline any responsability in case of any damage caused by an a 
non detected virus.
--



 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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

AW: [flexcoders] Handles for resizing?

2005-12-02 Thread Christoph Diefenthal

Maybe this might help?

http://www.flexdaddy.info/2005/03/06/resizable-and-collapsable-titlewindow-f
lex-15/




 -Ursprüngliche Nachricht-
 Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
 Auftrag von Mink, Joseph
 Gesendet: Freitag, 2. Dezember 2005 14:02
 An: flexcoders@yahoogroups.com
 Betreff: [flexcoders] Handles for resizing?
 
 Hi all,
 
 I have a rectangle that I'm drawing with the flex drawing API, and I want
 to allow the user to resize it (grab the bottom-right corner and change
 the dimensions).  I've seen this done in flash many times...does anyone
 know of an example that might shed some light on the way to go about doing
 this?
 
 I recently solved the problem of using Flash's startDrag and stopDrag,
 which was a bit awkward because using Flex-style eventListeners seemed to
 interfere with startDrag and stopDrag.  So I had to make sure I did
 everything with the Flash mouse handling methods.  I assume this resizing
 trick will put me up against the same kind of wierdness?
 
 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
 
 
 
 
 
 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:flexcoders-
 [EMAIL PROTECTED]
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
 http://docs.yahoo.com/info/terms/ .
 
 
 





 Yahoo! Groups Sponsor ~-- 
AIDS in India: A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/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: tomcat mxml/swf expiry issue (flex 1.5)

2005-12-02 Thread bhaq1972
Thanks for your input guys. 

Logs are as follows:-

02/12 12:17:35 WARNING License Service: The Flex 1.5 Trial Edition 
evaluation period will expire in 2 days.
02/12 12:17:35 INFO License Service: Flex 1.5 Trial Edition enabled
02/12 12:17:36 INFO Macromedia Flex Build: 86845.133836


Any suggestions. (do a re-install?...i'm assuming the licensed 
installation hasnt worked).

btw i am planning to pre-compile etc. 



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

 Good point. If the license file isn't set up, all the 
precompilation in
 the world's not going to do him any good. :)
  
  
 Carson
  
   
 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com http://www.cynergysystems.com/  
   
 Email:  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 Office:  866-CYNERGY
 Mobile: 1.703.489.6466 
   
   
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Matt Chotin
 Sent: Thursday, December 01, 2005 10:13 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)
 
 
 
 In bod's case though it sounds like the license isn't installed
 correctly so the server as acting as a developer edition (which 
will
 recompile after a day).
 
  
 
 So make sure your license got installed correctly (check the 
console
 when you start your server or look at the logs and you'll see if 
it sets
 up as developer or licensed).
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Carson Hager
 Sent: Thursday, December 01, 2005 8:52 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)
 
  
 
 We recommend precompiling your MXML files with mxmlc and deploying 
just
 the SWFs to the web server.  This will definitely solve your 
problem.
 There is plenty of information on mxmlc in the Flex docs.  
Technically,
 you can turn on production mode for your app but production mode 
has its
 drawbacks. In order to request a recompile, you have to refresh 
the web
 application or restart the server causing downtime to production 
sites.
 
 
 Carson
 
 
 
 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com
 
 Email:  [EMAIL PROTECTED]
 Office:  866-CYNERGY
 Mobile: 1.703.489.6466
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of bhaq1972
 Sent: Thursday, December 01, 2005 7:04 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)
 
 Hi
 We recently purchased a flex license and i'm just trying out a few
 initial things.
 the licensed flex server is installed on apache tomcat. 
 
 My problem is any mxml pages i request, expire after 1 day i.e. .. 
 when i go to work the following day, and request the same pages, 
it gets
 re-compiled even though i've not made any changes. How do i stop 
this
 unnecessary re-compilation. I thought it might be something in flex
 config but i'm not sure. 
 
 any help would be generous
 thanks
 bod
 
 
 
 
 
 
 
  Yahoo! Groups Sponsor 
~--
 Get Bzzzy! (real tools to help you find a job). Welcome to the 
Sweet
 Life.
 http://us.click.yahoo.com/KIlPFB/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
 
 
 
 
 
 
 
 
 
 --
 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+flexw5=Software+development+best+p
rac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ   Computer software
 development
 http://groups.yahoo.com/gads?
t=msk=Computer+software+developmentw1=We
 
b+site+design+developmentw2=Computer+software+developmentw3=Softwar
e+d
 
esign+and+developmentw4=Macromedia+flexw5=Software+development+best
+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software 
design and
 development
 http://groups.yahoo.com/gads?
t=msk=Software+design+and+developmentw1=
 
Web+site+design+developmentw2=Computer+software+developmentw3=Softw
are
 
+design+and+developmentw4=Macromedia+flexw5=Software+development+be
st+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ   
 Macromedia flex
 http://groups.yahoo.com/gads?
t=msk=Macromedia+flexw1=Web+site+design+
 

RE: [flexcoders] Re: tomcat mxml/swf expiry issue (flex 1.5)

2005-12-02 Thread Carson Hager
It looks like you haven't applied your serial number. It needs to go
into web-inf\flex\license.properties. It should look something like this
by default. 

sn=

Get your Flex license serial number and set it as the value of sn then
restart your web server or refresh your web application.


Carson



 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bhaq1972
Sent: Friday, December 02, 2005 7:04 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: tomcat mxml/swf expiry issue (flex 1.5)

Thanks for your input guys. 

Logs are as follows:-

02/12 12:17:35 WARNING License Service: The Flex 1.5 Trial Edition
evaluation period will expire in 2 days.
02/12 12:17:35 INFO License Service: Flex 1.5 Trial Edition enabled
02/12 12:17:36 INFO Macromedia Flex Build: 86845.133836


Any suggestions. (do a re-install?...i'm assuming the licensed 
installation hasnt worked).

btw i am planning to pre-compile etc. 



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

 Good point. If the license file isn't set up, all the 
precompilation in
 the world's not going to do him any good. :)
  
  
 Carson
  
   
 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com http://www.cynergysystems.com/  
   
 Email:  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 Office:  866-CYNERGY
 Mobile: 1.703.489.6466 
   
   
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Matt Chotin
 Sent: Thursday, December 01, 2005 10:13 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)
 
 
 
 In bod's case though it sounds like the license isn't installed
 correctly so the server as acting as a developer edition (which 
will
 recompile after a day).
 
  
 
 So make sure your license got installed correctly (check the 
console
 when you start your server or look at the logs and you'll see if 
it sets
 up as developer or licensed).
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Carson Hager
 Sent: Thursday, December 01, 2005 8:52 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)
 
  
 
 We recommend precompiling your MXML files with mxmlc and deploying 
just
 the SWFs to the web server.  This will definitely solve your 
problem.
 There is plenty of information on mxmlc in the Flex docs.  
Technically,
 you can turn on production mode for your app but production mode 
has its
 drawbacks. In order to request a recompile, you have to refresh 
the web
 application or restart the server causing downtime to production 
sites.
 
 
 Carson
 
 
 
 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com
 
 Email:  [EMAIL PROTECTED]
 Office:  866-CYNERGY
 Mobile: 1.703.489.6466
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of bhaq1972
 Sent: Thursday, December 01, 2005 7:04 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)
 
 Hi
 We recently purchased a flex license and i'm just trying out a few
 initial things.
 the licensed flex server is installed on apache tomcat. 
 
 My problem is any mxml pages i request, expire after 1 day i.e. .. 
 when i go to work the following day, and request the same pages, 
it gets
 re-compiled even though i've not made any changes. How do i stop 
this
 unnecessary re-compilation. I thought it might be something in flex
 config but i'm not sure. 
 
 any help would be generous
 thanks
 bod
 
 
 
 
 
 
 
  Yahoo! Groups Sponsor 
~--
 Get Bzzzy! (real tools to help you find a job). Welcome to the 
Sweet
 Life.
 http://us.click.yahoo.com/KIlPFB/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
 
 
 
 
 
 
 
 
 
 --
 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+flexw5=Software+development+best+p
rac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ   Computer software
 

[flexcoders] Re: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002

2005-12-02 Thread Darren Houle
Fair enough Jason, I honestly didn't think it would be frowned upon 
or I wouldn't have posted. But if this group is used to seeing 
messages posted about free tools all the time then I guess just the 
act of posting here would imply 'free.'  My bad, sorry for any 
confusion or spamishness.  Since new messages to the group are 
moderated I assumed it would get rejected if there were any rules 
against it. Won't happen again.

Darren

By the way... NOT trying to be a wise guy or anything, but... if an 
RIA Development group is the wrong place to post an RIA development 
tool (whether it's for sale or not) where is the right place?




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

 I have to side with JesterXL and Jeremy, even though it's related to
 coding in Flex, its not a Flex question you have, or even a Flex
 announcement,  - just a flex related product you're SELLING here, 
and
 especially given your explanation below, it spamtastic.  I'm sure 
many
 of us on this list have products we would love to market/sell here, 
but
 don't use this list for such purposes.
 
  
 
 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com 
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Darren Houle
 Sent: Wednesday, November 30, 2005 3:25 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Rich Internet Application (HaloGreen) 
Stencil
 for Microsoft Visio 2002
 
  
 
 Dear WTF,
 
 Not sure where you get the linking under false pretense of free 
 stuff because I never said it was free, just pointed to more 
 information.  I'm sorry you misunderstood.  No secrets here, it's 
20 
 bucks and includes a free update when the new Flex 2.0 object 
masters 
 are added to the stencil. Considering it took me over three weeks 
to 
 develop and it's extremely useful I think that's very reasonable.  
I 
 created it for my own use because I wanted an RIA stencil for Visio 
 and there wasn't one out there already. Contacted Mike Nimer to see 
 if he knew of one out there and he said no, but that it would be a 
 cool thing, so... I made one.  After using it he suggested I sell 
it 
 for more than 20... I thought I'd keep it low, so... there you are. 
 It has worked quite well for me and based on the number of 
downloads 
 from just this morning I'm guessing others are thinking it's worth 
 the 20 bucks too.  Hopefully you will too once you get your copy :-)
 
 Thanks!
 Darren
 
 
 
 --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
 
  WTF, you have to pay?  Dude, I'm all for buying software that 
 solves my 
  needs, but if you are selling services, please state it rather 
than 
 linking 
  under the false pretense of free stuff.
  
  - Original Message - 
  From: Darren Houle [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Wednesday, November 30, 2005 11:50 AM
  Subject: [flexcoders] Re: Rich Internet Application (HaloGreen) 
 Stencil for 
  Microsoft Visio 2002
  
  
  It's not spam, the CFMX instance on my server forgot how to
  dynamically generate Flash forms. My ISP restarted CF and it's
  working now. I should probably look into converting the page to 
 plain
  HTML but I just thought using CFForms would have more cool 
factor :-
 )
  
  Darren
  
  
  
  --- In flexcoders@yahoogroups.com, Niklas Richardson
  [EMAIL PROTECTED] wrote:
  
   Mike Nimer from MM has been using them for the last week so I 
 think
  it's
   legit! ;)
  
   On 30/11/05, Jeremy Rottman [EMAIL PROTECTED] wrote:
   
I smell spam, but I could be wrong.
   
--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED]
  wrote:

 The page doesn't show anything in Firefox, nor IE?

 - Original Message -
 From: Darren Houle
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, November 30, 2005 10:08 AM
 Subject: [flexcoders] Rich Internet Application (HaloGreen)
  Stencil
for Microsoft Visio 2002


 There is a new design stencil available for MS Visio 2002 
(and
higher) that allows Macromedia RIA developers to mockup
  Coldfusion MX
Flash cfforms and Flex 1.5 applications using the HaloGreen 
look
  and
feel. Much better than trying to mockup RIA's using Windows UI
stencils or Dreamweaver's limited Design Mode. There's more
information here.








 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/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 

[flexcoders] Re: PreferencesWindow design pattern

2005-12-02 Thread charged2885
Jester, 

this question is a little off-topic, but on my mind none the less... Where do 
you put this 
code:

 prefsWindow = PopUpManager.createPopUp(this, PrefsWindow, true);
 prefsWindow.setFormData(ModelLocator.prefsObject);

I naturally want to put this in my PrefsWindowViewHelper, but it doesn't seem 
to work 
when there. What I find is happening is every view that's a titlewindow ends up 
adding 
code to my applicationViewHelper. this smells i think.

todd


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

 That's what I've been deadling with for the past 2 days!
 
 I won't suggest best practices, I'll just suggest what works as of 1:00pm 
 this afternoon.
 
 My model is much like yours, on ModelLocator, but it's not actually written 
 to unless the user hits save or apply.  As such, I create a copy of the 
 preferences object by passing the true one into a fucntion, which makes a 
 copy, and uses that as something to bind to.  That way, all my bindings 
 work, but they only affect the real data if the user hits save.
 
 Psuedo code:
 
 prefsWindow = PopUpManager.createPopUp(this, PrefsWindow, true);
 prefsWindow.setFormData(ModelLocator.prefsObject);
 
 
 // psudeo code in PrefsWindow
 public var formData:Object;
 
 public function setFormData(o:Object):Void
 {
 // could be a specific ValueObject type as well
 // just DON'T set it to null, or delete it; this'll screw up the 
 bindings
 formData = new Object();
 for(var p in o)
 {
 formData[p] = o[p];
 }
 }
 
 public function getFormData():Object
 {
 return formData;
 }
 
 Then, in your main class, just replace your VO on the ModelLocator with the 
 formData.  For avoiding references, see the earlier threads today about 
 Object.copy.
 
 
 - Original Message - 
 From: charged2885 [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Thursday, December 01, 2005 4:45 PM
 Subject: [flexcoders] PreferencesWindow design pattern
 
 
 Note, this example is mitigated. there are dozens of preferences i want my 
 users to be
 able to set. Anyways
 
 I have a simple preference i want my users to be able to set: 
 showConsoleWindow. I have
 created a simple PreferencesWindow with a CheckBox on it. This checkbox's 
 selected
 property is bound to ModelLocator.currentUser.preferences.showConsoleWindow.
 currentUser is a UserVO object as described below:
 
 class UserVO {
   preferences:PreferencesVO;
   username:String;
 }
 
 class PreferencesVO {
   showConsoleWindow:Boolean;
 }
 
 I'd like to offer a cancel button to my PreferencesWindow. however, since
 showConsoleWindow is bound, this approach won't work. It seems I should 
 first, create a
 temporary preferences object to bind to. This is where my question comes in. 
 How do I
 create a copy of my ModelLocator.currentUser.preferences object?
 
 Or would you implement this functionality differently? Please, I'm new to 
 flex and I want to
 do this the right way. Thanks for your time.
 
 
 
 
 
 
 
 
 
 
 --
 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/I258zB/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: tomcat mxml/swf expiry issue (flex 1.5)

2005-12-02 Thread bhaq1972
Thanks Carson
Looks like our license never got installed correctly. The 
license.properties was empty. .i definately entered the license 
key when prompted during installation hmm?

i'll try your suggestion (once i found the license).

regards
bod

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

 It looks like you haven't applied your serial number. It needs to 
go
 into web-inf\flex\license.properties. It should look something 
like this
 by default. 
 
 sn=
 
 Get your Flex license serial number and set it as the value of sn 
then
 restart your web server or refresh your web application.
 
 
 Carson
 
 
 
  
 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com
  
 Email:  [EMAIL PROTECTED]
 Office:  866-CYNERGY
 Mobile: 1.703.489.6466
  
  
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of bhaq1972
 Sent: Friday, December 02, 2005 7:04 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: tomcat mxml/swf expiry issue (flex 1.5)
 
 Thanks for your input guys. 
 
 Logs are as follows:-
 
 02/12 12:17:35 WARNING License Service: The Flex 1.5 Trial Edition
 evaluation period will expire in 2 days.
 02/12 12:17:35 INFO License Service: Flex 1.5 Trial Edition enabled
 02/12 12:17:36 INFO Macromedia Flex Build: 86845.133836
 
 
 Any suggestions. (do a re-install?...i'm assuming the licensed 
 installation hasnt worked).
 
 btw i am planning to pre-compile etc. 
 
 
 
 --- In flexcoders@yahoogroups.com, Carson Hager 
 [EMAIL PROTECTED] wrote:
 
  Good point. If the license file isn't set up, all the 
 precompilation in
  the world's not going to do him any good. :)
   
   
  Carson
   

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

  Email:  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] 
  Office:  866-CYNERGY
  Mobile: 1.703.489.6466 


   
  
  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Matt Chotin
  Sent: Thursday, December 01, 2005 10:13 AM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)
  
  
  
  In bod's case though it sounds like the license isn't installed
  correctly so the server as acting as a developer edition (which 
 will
  recompile after a day).
  
   
  
  So make sure your license got installed correctly (check the 
 console
  when you start your server or look at the logs and you'll see if 
 it sets
  up as developer or licensed).
  
   
  
  Matt
  
   
  
  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Carson Hager
  Sent: Thursday, December 01, 2005 8:52 AM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)
  
   
  
  We recommend precompiling your MXML files with mxmlc and 
deploying 
 just
  the SWFs to the web server.  This will definitely solve your 
 problem.
  There is plenty of information on mxmlc in the Flex docs.  
 Technically,
  you can turn on production mode for your app but production mode 
 has its
  drawbacks. In order to request a recompile, you have to refresh 
 the web
  application or restart the server causing downtime to production 
 sites.
  
  
  Carson
  
  
  
  Carson Hager
  Cynergy Systems, Inc.
  http://www.cynergysystems.com
  
  Email:  [EMAIL PROTECTED]
  Office:  866-CYNERGY
  Mobile: 1.703.489.6466
  
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of bhaq1972
  Sent: Thursday, December 01, 2005 7:04 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)
  
  Hi
  We recently purchased a flex license and i'm just trying out a 
few
  initial things.
  the licensed flex server is installed on apache tomcat. 
  
  My problem is any mxml pages i request, expire after 1 day 
i.e. .. 
  when i go to work the following day, and request the same pages, 
 it gets
  re-compiled even though i've not made any changes. How do i stop 
 this
  unnecessary re-compilation. I thought it might be something in 
flex
  config but i'm not sure. 
  
  any help would be generous
  thanks
  bod
  
  
  
  
  
  
  
   Yahoo! Groups Sponsor --
--
 ~--
  Get Bzzzy! (real tools to help you find a job). Welcome to the 
 Sweet
  Life.
  http://us.click.yahoo.com/KIlPFB/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
  
  
  
  
  
  
  

RE: [flexcoders] Re: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002

2005-12-02 Thread Merrill, Jason










Fair enough Jason, I honestly didn't think it would
be frowned upon 
or I wouldn't have posted.




No problem, personally, Im glad to see you responded
professionally  I almost didnt say anything because many people would have
kept fighting it, getting defensive, etc causing a huge shouting match. 




By the way... NOT trying to be a wise guy or anything, but... if an 
RIA Development group is
the wrong place to post an RIA development 
tool (whether it's for
sale or not) where is the right place?



I would think you would go through the usual channels 
develop a Web site and market it with links from other sites - develop
partnerships, pay for space on their site, target Google searches, etc., and
use other non-spam marketing techniques. I think the main problem here is your
purpose for posting the information about your product was to market a product
you are selling. I think if you offered it free, most people wouldnt
have a problem with you posting information about it here.



Jason
Merrill | E-Learning Solutions |
icfconsulting.com 






















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Darren Houle
Sent: Friday, December 02, 2005
9:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Rich
Internet Application (HaloGreen) Stencil for Microsoft Visio 2002





Fair enough Jason, I honestly didn't think it would be frowned upon 
or I wouldn't have posted. But if this group is
used to seeing 
messages posted about free tools all the time then
I guess just the 
act of posting here would imply 'free.' My
bad, sorry for any 
confusion or spamishness. Since new messages
to the group are 
moderated I assumed it would get rejected if there
were any rules 
against it. Won't happen again.

Darren

By the way... NOT trying to be a wise guy or
anything, but... if an 
RIA Development group is the wrong place to post
an RIA development 
tool (whether it's for sale or not) where is the
right place?




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

 I have to side with JesterXL and Jeremy, even
though it's related to
 coding in Flex, its not a Flex question you
have, or even a Flex
 announcement, - just a flex related product
you're SELLING here, 
and
 especially given your explanation below, it
spamtastic. I'm sure 
many
 of us on this list have products we would
love to market/sell here, 
but
 don't use this list for such purposes.
 
 
 
 Jason Merrill | E-Learning
Solutions | icfconsulting.com 
 
 
 
 From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of Darren Houle
 Sent: Wednesday, November 30, 2005 3:25 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Rich Internet
Application (HaloGreen) 
Stencil
 for Microsoft Visio 2002
 
 
 
 Dear WTF,
 
 Not sure where you get the linking
under false pretense of free 
 stuff because I never said it was free,
just pointed to more 
 information. I'm sorry you
misunderstood. No secrets here, it's 
20 
 bucks and includes a free update when the new
Flex 2.0 object 
masters 
 are added to the stencil. Considering it took
me over three weeks 
to 
 develop and it's extremely useful I think
that's very reasonable. 
I 
 created it for my own use because I wanted an
RIA stencil for Visio 
 and there wasn't one out there already.
Contacted Mike Nimer to see 
 if he knew of one out there and he said no,
but that it would be a 
 cool thing, so... I made one. After
using it he suggested I sell 
it 
 for more than 20... I thought I'd keep it
low, so... there you are. 
 It has worked quite well for me and based on
the number of 
downloads 
 from just this morning I'm guessing others
are thinking it's worth 
 the 20 bucks too. Hopefully you will
too once you get your copy :-)
 
 Thanks!
 Darren
 
 
 
 --- In flexcoders@yahoogroups.com,
JesterXL [EMAIL PROTECTED] wrote:
 
  WTF, you have to pay? Dude, I'm
all for buying software that 
 solves my 
  needs, but if you are selling services,
please state it rather 
than 
 linking 
  under the false pretense of free stuff.
  
  - Original Message - 
  From: Darren Houle
[EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Wednesday, November 30, 2005 11:50
AM
  Subject: [flexcoders] Re: Rich Internet
Application (HaloGreen) 
 Stencil for 
  Microsoft Visio 2002
  
  
  It's not spam, the CFMX instance on my
server forgot how to
  dynamically generate Flash forms. My ISP
restarted CF and it's
  working now. I should probably look into
converting the page to 
 plain
  HTML but I just thought using CFForms
would have more cool 
factor :-
 )
  
  Darren
  
  
  
  --- In flexcoders@yahoogroups.com,
Niklas Richardson
  [EMAIL PROTECTED] wrote:
  
   Mike Nimer from MM has been using
them for the last week so I 
 think
  it's
   legit! ;)
  
   On 30/11/05, Jeremy Rottman
[EMAIL PROTECTED] wrote:
   
I smell spam, but I could be
wrong.
   
--- In 

Re: [flexcoders] instanceof on Object

2005-12-02 Thread Clint Modien



Posting this for completion...it's a Manish's copy func with Joe's hack... should work for deep copy... i KNOW i'll be using this... 

http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09540.html
On 12/2/05, Dirk Eismann [EMAIL PROTECTED] wrote:
Jesse,I wonder why Joe's (Berkovitz) approach didn't worked for you. What wentwroing?Dirk.
 -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
 Sent: Thursday, December 01, 2005 7:24 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] instanceof on Object Having parameters in your ValueObject doesn't screw them up?
 For ColdFusion, it doesn't seem to matter, but for AMFPHP  OpenAMF, it didn't seem to fly... guess I need to re-investigate. I tried doing: function clone() {
 var sub = super.clone(); var me = new ThisClass(); for(var p in sub) { me[p] = sub[p]; } me.prop = this.prop; return me;
 } ...but, she's missing props still, so I gave up. Yahoo! Groups Sponsor ~--Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/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/






--
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] Annpuncing Log4x

2005-12-02 Thread João Fernandes
 
Well, 

I registered but in your form you assume that many information is US format 
when there are Flex Users all over the world ;) You should disable ZIP format 
and phone number length at least for those who picks a country different from 
US.

Regards, 

João Fernandes
Secção de Desenvolvimento
Departamento de Informática 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Wolf
Sent: sexta-feira, 2 de Dezembro de 2005 5:44
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Annpuncing Log4x


I am incredibly excited to announce the availability of Log4x to the Flex 
community.  Log4x is a toolkit to assist in the development and runtime 
monitoring and debugging of applications built with Macromedia Flex.  Based on 
and designed to integrate with Log4j, effectively the most popular logging 
framework ever developed, Log4x provides the Flex developer with a 
best-of-breed solution for instrumenting and logging
their Flex based RIAs.Log4x takes advantage the Flex web services
model, and can be intricately controlled by the developer on a per-application 
basis during development as well as by administrators in production.  
Integrating seamlessly with Log4j, Log4x provides a similar programming model 
making it intuitive for enterprise developers with Log4j experience.

Log4x is being released under a community source license free of charge to all 
licensed Flex users.  Features include:

-  Integrated logging between user experience and server layers.  No other 
logging framework to date lets you bring together every tier of your enterprise 
flex application.

-  Ability to assign not only pre-set categories (INFO, DEBUG, WARN,
ERROR) but also arbitrary logical application name spaces such as shopping 
cart, system, navigation, etc.

-  Logging levels are completely dynamic and can be enabled and disabled in 
real-time without having to ever recompile your Flex application.

-  Configurable batching with thresholds reduces network traffic and allows you 
to configure rules such as don't log unless an error occurs, then log the all 
steps that lead up to that error.

-  Based on industry standard frameworks and API's such as Log4j, XML, HTTP, 
etc.

-  Secure and compartmentalized.  N applications can have N separate logs, each 
of which may be sending their log messages back to the server via (if 
configured) secured channels, preventing man-in-the-middle attacks that pry on 
sensitive data.

Log4x is being released under a community source license free of charge to all 
licensed Flex users.  Log4x can be downloaded by subscribing to Cynergy's new 
Flex Resources community.  To get more information, view a video introduction, 
or download Log4x please click on the link below.

http://www.cynergysystems.com/pages/how/technologies/flex/index.html

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

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY

 








 Yahoo! Groups Sponsor ~-- Get 
Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/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



 





 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/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: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002

2005-12-02 Thread Martin Wood
 I think the main problem here is your 
 purpose for posting the information about your product was to market a 
 product you are selling.  I think if you offered it free, most people 
 wouldn’t have a problem with you posting information about it here.

also you could put it in your sig, and when you answer / ask questions 
interested ppl may just click the link to see what you do..i often 
follow whats in a sig to see where it goes

and i dont personally see a problem if someone asked a question 'how can 
i do x?' and if your tool provides a solution you can say 'i made this 
which will solve your problem, but its not free'

:)

anyway, just my opinion.

thanks,

Martin




 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/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] Annpuncing Log4x

2005-12-02 Thread Carson Hager
João,

I apologize for this. I brought this up early on and it was apparently missed.  
We have offices all over the world with customers in just about every country.  
There is absolutely no excuse for us to be guilty of this.  I will take care of 
this personally and let you know. I appreciate you bringing it to our attention.

Thanks again...

Carson


 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João 
Fernandes
Sent: Friday, December 02, 2005 4:31 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Annpuncing Log4x

 
Well, 

I registered but in your form you assume that many information is US format 
when there are Flex Users all over the world ;) You should disable ZIP format 
and phone number length at least for those who picks a country different from 
US.

Regards, 

João Fernandes
Secção de Desenvolvimento
Departamento de Informática 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Wolf
Sent: sexta-feira, 2 de Dezembro de 2005 5:44
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Annpuncing Log4x


I am incredibly excited to announce the availability of Log4x to the Flex 
community.  Log4x is a toolkit to assist in the development and runtime 
monitoring and debugging of applications built with Macromedia Flex.  Based on 
and designed to integrate with Log4j, effectively the most popular logging 
framework ever developed, Log4x provides the Flex developer with a 
best-of-breed solution for instrumenting and logging
their Flex based RIAs.Log4x takes advantage the Flex web services
model, and can be intricately controlled by the developer on a per-application 
basis during development as well as by administrators in production.  
Integrating seamlessly with Log4j, Log4x provides a similar programming model 
making it intuitive for enterprise developers with Log4j experience.

Log4x is being released under a community source license free of charge to all 
licensed Flex users.  Features include:

-  Integrated logging between user experience and server layers.  No other 
logging framework to date lets you bring together every tier of your enterprise 
flex application.

-  Ability to assign not only pre-set categories (INFO, DEBUG, WARN,
ERROR) but also arbitrary logical application name spaces such as shopping 
cart, system, navigation, etc.

-  Logging levels are completely dynamic and can be enabled and disabled in 
real-time without having to ever recompile your Flex application.

-  Configurable batching with thresholds reduces network traffic and allows you 
to configure rules such as don't log unless an error occurs, then log the all 
steps that lead up to that error.

-  Based on industry standard frameworks and API's such as Log4j, XML, HTTP, 
etc.

-  Secure and compartmentalized.  N applications can have N separate logs, each 
of which may be sending their log messages back to the server via (if 
configured) secured channels, preventing man-in-the-middle attacks that pry on 
sensitive data.

Log4x is being released under a community source license free of charge to all 
licensed Flex users.  Log4x can be downloaded by subscribing to Cynergy's new 
Flex Resources community.  To get more information, view a video introduction, 
or download Log4x please click on the link below.

http://www.cynergysystems.com/pages/how/technologies/flex/index.html

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

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY

 








 Yahoo! Groups Sponsor ~-- Get 
Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/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



 





 Yahoo! Groups Sponsor ~--
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/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



 




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

[flexcoders] Re: Look Feel of Application as per user choice

2005-12-02 Thread Renaun Erickson
Depending on you level of customization needs, Flex CSS can get you
pretty far.

Renaun

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

 Hi All,
 
 I developed a application.
 Now I want the user can select look  feel of this application as 
 he/she wants.
 Means he can select background color,theme color for entire 
 application.
 Like,  
http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html
 
 any suggestions.
 
 
 Sandip P.







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

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

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

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

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




[flexcoders] Adobe's Acquisition of Macromedia Expected to Close on December 3, 2005

2005-12-02 Thread Zach Stepek
Just wanted to let everyone know, in case you missed the press releases:

http://www.adobe.com/aboutadobe/pressroom/pressreleases/200512/120105MACRAcquisitionClose.html
http://www.macromedia.com/macromedia/proom/pr/2005/acquisition_clearances.html

Sincerely,

Zach Stepek
User Experience Architect, Crave Media
Manager, Stateline MMUG






 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/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] Annpuncing Log4x

2005-12-02 Thread João Fernandes
Carson,

No problem with that, I managed to register even if I had to fake those values. 
I'll update them when you fix this. 
BTW, when filling the form, it was assuming some other keyboard definition. 
 
Regards,

João Fernandes
Secção de Desenvolvimento
Departamento de Informática


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson 
Hager
Sent: sexta-feira, 2 de Dezembro de 2005 16:58
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Annpuncing Log4x

João,

I apologize for this. I brought this up early on and it was apparently missed.  
We have offices all over the world with customers in just about every country.  
There is absolutely no excuse for us to be guilty of this.  I will take care of 
this personally and let you know. I appreciate you bringing it to our attention.

Thanks again...

Carson


 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João 
Fernandes
Sent: Friday, December 02, 2005 4:31 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Annpuncing Log4x

 
Well, 

I registered but in your form you assume that many information is US format 
when there are Flex Users all over the world ;) You should disable ZIP format 
and phone number length at least for those who picks a country different from 
US.

Regards, 

João Fernandes
Secção de Desenvolvimento
Departamento de Informática 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Wolf
Sent: sexta-feira, 2 de Dezembro de 2005 5:44
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Annpuncing Log4x


I am incredibly excited to announce the availability of Log4x to the Flex 
community.  Log4x is a toolkit to assist in the development and runtime 
monitoring and debugging of applications built with Macromedia Flex.  Based on 
and designed to integrate with Log4j, effectively the most popular logging 
framework ever developed, Log4x provides the Flex developer with a 
best-of-breed solution for instrumenting and logging
their Flex based RIAs.Log4x takes advantage the Flex web services
model, and can be intricately controlled by the developer on a per-application 
basis during development as well as by administrators in production.  
Integrating seamlessly with Log4j, Log4x provides a similar programming model 
making it intuitive for enterprise developers with Log4j experience.

Log4x is being released under a community source license free of charge to all 
licensed Flex users.  Features include:

-  Integrated logging between user experience and server layers.  No other 
logging framework to date lets you bring together every tier of your enterprise 
flex application.

-  Ability to assign not only pre-set categories (INFO, DEBUG, WARN,
ERROR) but also arbitrary logical application name spaces such as shopping 
cart, system, navigation, etc.

-  Logging levels are completely dynamic and can be enabled and disabled in 
real-time without having to ever recompile your Flex application.

-  Configurable batching with thresholds reduces network traffic and allows you 
to configure rules such as don't log unless an error occurs, then log the all 
steps that lead up to that error.

-  Based on industry standard frameworks and API's such as Log4j, XML, HTTP, 
etc.

-  Secure and compartmentalized.  N applications can have N separate logs, each 
of which may be sending their log messages back to the server via (if 
configured) secured channels, preventing man-in-the-middle attacks that pry on 
sensitive data.

Log4x is being released under a community source license free of charge to all 
licensed Flex users.  Log4x can be downloaded by subscribing to Cynergy's new 
Flex Resources community.  To get more information, view a video introduction, 
or download Log4x please click on the link below.

http://www.cynergysystems.com/pages/how/technologies/flex/index.html

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

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY

 








 Yahoo! Groups Sponsor ~-- Get 
Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/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



 





 Yahoo! Groups Sponsor ~--
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM

[flexcoders] Flash 8 File upload feature creates a new session at server

2005-12-02 Thread Andriy Panas
Dear flexcoders,

We try to use seemingless experience in our Flex 1.5 application during the 
File uploading
action while using Flash 8 API as described in the article here: 
http://www.macromedia.com/devnet/flex/articles/fp8_features.html

The file upload using HTTP protocol works OK - the file is actually stored 
remotely at the server.

We use session at server to authorize the user while requesting the data from 
the database.
We store user id at server session to identify him.

The unexpected problem is the that File upload command creates a NEW session 
at server,
which obviously does not hold a user id number.

Seems like when swf calling FileReference.upload(handlerURL) method, the 
handler (which is
a server script) can't see session cookie.


-- 
Best regards,
 Andriy  mailto:[EMAIL PROTECTED]





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/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] Flash 8 File upload feature creates a new session at server

2005-12-02 Thread Carson Hager
Are you possibly using FireFox 1.5?  We've seen this with FP8 and the
new version of FFX.


Carson


 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andriy Panas
Sent: Friday, December 02, 2005 9:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flash 8 File upload feature creates a new
session at server

Dear flexcoders,

We try to use seemingless experience in our Flex 1.5 application during
the File uploading
action while using Flash 8 API as described in the article here:
http://www.macromedia.com/devnet/flex/articles/fp8_features.html

The file upload using HTTP protocol works OK - the file is actually
stored remotely at the server.

We use session at server to authorize the user while requesting the data
from the database.
We store user id at server session to identify him.

The unexpected problem is the that File upload command creates a NEW
session at server, which obviously does not hold a user id number.

Seems like when swf calling FileReference.upload(handlerURL) method, the
handler (which is a server script) can't see session cookie.


--
Best regards,
 Andriy  mailto:[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 
Yahoo! Groups Links



 




 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/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 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Ralf Rottmann










Hi there,



I get a compile time Access of undefined property dispatchEvent
error in a .as class file. I have imported flash.events.*; and mx.events.*;

dispatchEvent is available in MXML files but I want to fire
an event from an ActionScript class.



Please help!



Ralf Rottmann 











--
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] Using ActionScript Class in Flex Code

2005-12-02 Thread breakneck79
Dear flexcoders,
I use Rtl class that writen in Rtl.as in my MXMl page and using 
flexbuilder 2 for development, 
In MXML file i can not access to method convert from this file,
Please guide me, what is the problem?
Warning : Unable to detect changes to mystr.

Tnx,


source code of MXML file :

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; 
xmlns=*

mx:Canvas width=100% height=100%
mx:Script
![CDATA[
import bin.com.persian.Rtl.*;

var obj:Rtl = new Rtl();
var mystr:String = 
obj.convert(#1580;#1605;#1604;#1607; #1575;#1608;#1604;);
]]
/mx:Script
mx:TextInput width=150 id=t1 text={mystr}  /
/mx:Canvas
/mx:Application


and source of Rtl.as file:


// ActionScript Document
package bin.com.persian.Rtl {
import bin.com.persian.TextFormat.*;

public class Rtl {
public function Rtl(){}
private var strFasalakh:String = #1601;#1587;#1604;#1582;;

public function convert(strLine:String):String 
{
var stringYe:Ye = new Ye();
var strLine:String = strFasalakh + stringYe.
convert(strLine) + strFasalakh;

var arrPoints:Array = new Array();
var intArrayPointCount:Number=0;
var bolSetPointer:Boolean = true;

for (var i:Number=0; istrLine.length; i++)
{
if (!persianChar(strLine.slice(i, (i+1
{
if (bolSetPointer)
{
arrPoints[intArrayPointCount] = 
[i, 0];
bolSetPointer = false;
}   

}else if (persianChar(strLine.slice((i-1), i)
))  
{
if (!bolSetPointer)
{

arrPoints[intArrayPointCount][1] = 
(i-2);
intArrayPointCount++;
bolSetPointer = true;
}
}
}

return finalPlus(spliter(strLine, arrPoints));
}


public function spliter(strLine:String, arrPoints:Array):
Array
{
var arrFinal:Array = new Array();
var arrPointsSeri:Array = new Array();
var intCountArraySeri:Number=0;

for (var g:Number=0; garrPoints.length; g++)
{
for (var h:Number=0; h2; h++)
{
if ((h1) == 1)
{

arrPointsSeri[intCountArraySeri] = 
int((arrPoints[g][h]) + 1);
}else 
{

arrPointsSeri[intCountArraySeri] = 
int(arrPoints[g][h]);
}
intCountArraySeri++;
}
}

arrFinal[0] = strLine.slice(0 , arrPointsSeri[0]);
for (var r:Number=0; rarrPointsSeri.length-1; r++)
{
arrFinal[int(r+1)] = strLine.
slice(arrPointsSeri[r] , arrPointsSeri[int(r+1)]);
}

var bolShowFarsiText:Boolean = false;
for (var q:Number=0; qstrLine.length; q++)
{
if (!persianChar(strLine.slice(q, (q+1
bolShowFarsiText = true;
}
if (bolShowFarsiText)
arrFinal[arrFinal.length] = strLine.
slice(arrPointsSeri[arrPointsSeri.length-1], strLine.length);   


arrFinal.reverse();
return 

RE: [flexcoders] Flex App not loading

2005-12-02 Thread Mehdi, Agha
Title: RE: [flexcoders] Flex App not loading







Let's resume this thread. I looked at IIS logs (ex051202.log) and this is what I have there


#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status 

1. 2005-12-02 00:00:44 192.168.1.173 GET /flex/apps/reports/index.mxml reportID=4 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0

2. 2005-12-02 00:00:44 192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0

3. 2005-12-02 00:00:44 192.168.1.173 GET /flex/apps/reports/index.mxml.swf - 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 304 0 0

4. 2005-12-02 00:00:44 192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0

5. 2005-12-02 00:00:44 192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 0

Is this the kind of logs I should be looking at?


Thanks 


Agha Mehdi
IDT - eBusiness Program Manager



-Original Message-
From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes
Sent: Saturday, November 19, 2005 3:10 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex App not loading



Is your application initialization based on some request result(RO,WS or HTTP)? 
Take a look also to your server log files to track any additional information.


João Fernandes
Secção de Desenvolvimento
Departamento de Informática



-Original Message-
From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha
Sent: Fri 18-Nov-05 10:45 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex App not loading

1) Yes, the exact same URL
2) It does load the Player but not the app
3) I am running multiple instances and one of them is Flex not integrated
with CF.



Agha Mehdi
IDT - eBusiness Program Manager



-Original Message-
From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João
Fernandes
Sent: Friday, November 18, 2005 2:31 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex App not loading



1)Are both accessing the same URL?
2)Does the application show anything or if you right click it says movie not
loaded?
3)Are you running a CF+Flex integraded instance?


João Fernandes
Secção de Desenvolvimento
Departamento de Informática 


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha
Sent: Fri 18-Nov-05 10:23 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex App not loading

It does load the flash player but the app doesn't launch





Agha Mehdi 
IDT - eBusiness Program Manager 


 _ 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Carson Hager
Sent: Friday, November 18, 2005 2:04 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex App not loading





When you say that the other network can't load the same apps, do you mean
the pages don't come up at all or the pages return but the application does
not launch?






Carson


 
 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com http://www.cynergysystems.com/ 
 
Email: mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]
Office: 866-CYNERGY
Mobile: 1.703.489.6466 
 
 








 _ 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Mehdi, Agha
Sent: Friday, November 18, 2005 12:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex App not loading


Hi all,


I have run into a strange problem. Here at the company, we have two
different networks and we outsource our hosting. Our group that owns one
network can access flex apps from the remote server fine. The other network
can't load the same apps even though it has access. It'll run other cf and
html files on the same server but not the flex apps. 


Is there any additional security setup needs to be in place?


Thanks


Agha Mehdi


IDT - eBusiness Program Manager


Work: 408.284.8239


Cell : 209.275.0482


Fax : 408.284.2766




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
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
http://groups.yahoo.com/group/flexcoders  on the web.
 
* To unsubscribe from this group, send an email to:

RE: [flexcoders] Annpuncing Log4x

2005-12-02 Thread Carson Hager
João,

We have addressed this problem.  To be quite frank, I don't know why we were 
requiring that information so I removed the required attributes.  We're sure 
not going to start calling people up so you can give us your phone and address 
if you want to get a Happy Holidays card or you can just leave it all blank. :)

The keyboard definition is definitely an interesting issue.  I assume we'll be 
able to see this in other regions as well. I'll get someone in our CPH office 
to try this on one of their Danish keyboards. Thanks again for letting us know.


Carson


 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João 
Fernandes
Sent: Friday, December 02, 2005 9:24 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Annpuncing Log4x

Carson,

No problem with that, I managed to register even if I had to fake those values. 
I'll update them when you fix this. 
BTW, when filling the form, it was assuming some other keyboard definition. 
 
Regards,

João Fernandes
Secção de Desenvolvimento
Departamento de Informática


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson 
Hager
Sent: sexta-feira, 2 de Dezembro de 2005 16:58
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Annpuncing Log4x

João,

I apologize for this. I brought this up early on and it was apparently missed.  
We have offices all over the world with customers in just about every country.  
There is absolutely no excuse for us to be guilty of this.  I will take care of 
this personally and let you know. I appreciate you bringing it to our attention.

Thanks again...

Carson


 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João 
Fernandes
Sent: Friday, December 02, 2005 4:31 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Annpuncing Log4x

 
Well, 

I registered but in your form you assume that many information is US format 
when there are Flex Users all over the world ;) You should disable ZIP format 
and phone number length at least for those who picks a country different from 
US.

Regards, 

João Fernandes
Secção de Desenvolvimento
Departamento de Informática 


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Wolf
Sent: sexta-feira, 2 de Dezembro de 2005 5:44
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Annpuncing Log4x


I am incredibly excited to announce the availability of Log4x to the Flex 
community.  Log4x is a toolkit to assist in the development and runtime 
monitoring and debugging of applications built with Macromedia Flex.  Based on 
and designed to integrate with Log4j, effectively the most popular logging 
framework ever developed, Log4x provides the Flex developer with a 
best-of-breed solution for instrumenting and logging
their Flex based RIAs.Log4x takes advantage the Flex web services
model, and can be intricately controlled by the developer on a per-application 
basis during development as well as by administrators in production.  
Integrating seamlessly with Log4j, Log4x provides a similar programming model 
making it intuitive for enterprise developers with Log4j experience.

Log4x is being released under a community source license free of charge to all 
licensed Flex users.  Features include:

-  Integrated logging between user experience and server layers.  No other 
logging framework to date lets you bring together every tier of your enterprise 
flex application.

-  Ability to assign not only pre-set categories (INFO, DEBUG, WARN,
ERROR) but also arbitrary logical application name spaces such as shopping 
cart, system, navigation, etc.

-  Logging levels are completely dynamic and can be enabled and disabled in 
real-time without having to ever recompile your Flex application.

-  Configurable batching with thresholds reduces network traffic and allows you 
to configure rules such as don't log unless an error occurs, then log the all 
steps that lead up to that error.

-  Based on industry standard frameworks and API's such as Log4j, XML, HTTP, 
etc.

-  Secure and compartmentalized.  N applications can have N separate logs, each 
of which may be sending their log messages back to the server via (if 
configured) secured channels, preventing man-in-the-middle attacks that pry on 
sensitive data.

Log4x is being released under a community source license free of charge to all 
licensed Flex users.  Log4x can be downloaded by subscribing to Cynergy's new 
Flex Resources community.  To get more 

RE: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Matt Chotin










Did you extend EventDispatcher?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann
Sent: Friday, December 02, 2005
10:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0
Alpha: dispatchEvent(Event) method in ActionScript class





Hi there,



I get a compile time Access of undefined property
dispatchEvent error in a .as class file. I have imported flash.events.*;
and mx.events.*;

dispatchEvent is available in MXML files but I want to fire
an event from an ActionScript class.



Please help!



Ralf Rottmann 











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Flex App not loading

2005-12-02 Thread Carson Hager
Title: RE: [flexcoders] Flex App not loading





You're getting a 304 so the browser thinks it has the most 
recent copy. Can you try deleting your cache and reposting the log from that 
machine so that we can see how it behaves when sending the 
swf?


Thanks,

Carson
  Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com 
 Email: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 
1.703.489.6466   



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, 
AghaSent: Friday, December 02, 2005 10:01 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex App not 
loading

Let's resume this thread. I looked at IIS logs 
(ex051202.log) and this is what I have there 
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query 
s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status 

1. 2005-12-02 00:00:44 
192.168.1.173 GET /flex/apps/reports/index.mxml reportID=4 80 - 66.134.90.34 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 
0
2. 2005-12-02 00:00:44 
192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 
0
3. 2005-12-02 00:00:44 
192.168.1.173 GET /flex/apps/reports/index.mxml.swf - 80 - 66.134.90.34 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 304 0 
0
4. 2005-12-02 00:00:44 
192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 
0
5. 2005-12-02 00:00:44 
192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 
0
Is this the kind of logs I should be looking at? 
Thanks 
Agha Mehdi IDT - eBusiness Program 
Manager 
-Original Message- From: João 
Fernandes [mailto:flexcoders@yahoogroups.com] 
On Behalf Of João Fernandes Sent: Saturday, November 19, 
2005 3:10 AM To: flexcoders@yahoogroups.com 
Subject: RE: [flexcoders] Flex App not loading 
Is your application initialization based on some request 
result(RO,WS or HTTP)? Take a look also to your server 
log files to track any additional information. 
João Fernandes Secção de 
Desenvolvimento Departamento de Informática 

-Original Message- From: 
flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Fri 18-Nov-05 10:45 PM To: 
flexcoders@yahoogroups.com Subject: RE: [flexcoders] 
Flex App not loading  1) 
Yes, the exact same URL 2) It does load the Player but 
not the app 3) I am running multiple instances and one 
of them is Flex not integrated with CF. 
Agha Mehdi IDT - eBusiness Program 
Manager 
-Original Message- From: João 
Fernandes [mailto:flexcoders@yahoogroups.com] 
On Behalf Of João Fernandes Sent: Friday, November 18, 2005 2:31 PM To: 
flexcoders@yahoogroups.com Subject: RE: [flexcoders] 
Flex App not loading 
1)Are both accessing the same URL? 2)Does the application show anything or if you right click it says movie 
not loaded? 3)Are you running a 
CF+Flex integraded instance? 
João Fernandes Secção de 
Desenvolvimento Departamento de Informática 
-Original Message- From: 
flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Fri 18-Nov-05 10:23 PM To: 
flexcoders@yahoogroups.com Subject: RE: [flexcoders] 
Flex App not loading  It 
does load the flash player but the app doesn't launch 
 
Agha Mehdi IDT - eBusiness Program 
Manager 
 _ 
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Carson Hager Sent: 
Friday, November 18, 2005 2:04 PM To: 
flexcoders@yahoogroups.com Subject: RE: [flexcoders] 
Flex App not loading 
 
When you say that the other network can't load the same apps, do 
you mean the pages don't come up at all or the pages 
return but the application does not launch? 
 
Carson 
  Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/  Email: mailto:[EMAIL PROTECTED] 
[EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 
  
 
 
 _ 
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Mehdi, Agha Sent: 
Friday, November 18, 2005 12:37 PM To: 
flexcoders@yahoogroups.com Subject: [flexcoders] Flex 
App not loading 
Hi all, 
I have run into a strange problem. Here at the company, we have 
two different networks and we outsource our hosting. Our 
group that owns one network can access flex apps from 
the remote server fine. The other network can't load the 
same apps even though it has access. It'll run other cf and html files on the same server but not the flex apps. 
Is there any additional security setup needs to be in 
place? 
Thanks 
Agha Mehdi 
IDT - eBusiness Program Manager 
Work: 408.284.8239 
Cell : 209.275.0482 
Fax : 408.284.2766 
-- Flexcoders Mailing List 
FAQ: 

[flexcoders] Events again...

2005-12-02 Thread Ralf Rottmann










Again an Event question with desperate need for help:



Talking about Flex 2.0 Alpha.

Two custom classes: ClassA and ClassB.

Both .as files, so no MXML, no Component, not derived from
any other built-in class.



In ClassA you find something like that:



public ClassA

{

 private helper:ClassB;



 public function ClassA()

 {

 helper = new ClassB();

 helper.addEventListener(fire,
onCustomEvent);

}



private function onCustomEvent(_e:Event);Void

{

 trace (Event
received.);

}

}



ClassB looks like this



[Event(fire)]

public ClassB

{

 // constructor and other stuff



 private function aFunction():Void

 {

 

 

 var e:Event = new Event(fire);

 dispatchEvent(e);



 

 

 }

}



Problem: ClassB never receives the event. I am sure the
dispatchEvent(e) gets called because if I add a listener and a handler in
ClassB itself and add



 var e:Event = new Event(fire);

this.addEventListener(fire,
onDummyHandler);

 dispatchEvent(e);



the onDummyHandler in ClassB gets called as expected.



Your help is more than appreciated  as always.



Best regards

Ralf



Note: These are not excerpts from my real classes but much more
simplified versions to illustrate the problem.



Regards

Ralf

















--
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] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Martin Wood
your class has to either extend EventDispatcher or if you are already 
inheriting from something else and cant put EventDispatcher in the class 
heirarchy you will have to implement the IEventDispatcher interface 
yourself.

thanks,

Martin


Ralf Rottmann wrote:
 Hi there,
 
  
 
 I get a compile time “Access of undefined property dispatchEvent” error 
 in a .as class file. I have imported flash.events.*; and mx.events.*;
 
 dispatchEvent is available in MXML files but I want to fire an event 
 from an ActionScript class.
 
  
 
 Please help!
 
  
 
 Ralf Rottmann
 
-- 
Martin Wood

http://relivethefuture.com/choronzon


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/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] Events again...

2005-12-02 Thread Jeff Tapper
Ralf -

dispatchEvent and addEventListener are methods of the EventDispatcher 
class.  EventDispatcher is the superclass to most (all?) built in flex 
components, but is not inherently available to all AS3 classes.

If you modify ClassB to instead be

public ClassB extends flash.events.EventDispatcher, it should run as expected.


At 01:42 PM 12/2/2005, you wrote:
Again an Event question with desperate need for help:

Talking about Flex 2.0 Alpha.
Two custom classes: ClassA and ClassB.
Both .as files, so no MXML, no Component, not derived from any other 
built-in class.

In ClassA you find something like that:

public ClassA
{
 private helper:ClassB;

 public function ClassA()
 {
 helper = new ClassB();
 helper.addEventListener(“fire”, onCustomEvent);
}

private function onCustomEvent(_e:Event);Void
{
 trace (“Event received.”);
}
}

ClassB looks like this

[Event(“fire”)]
public ClassB
{
 // constructor and other stuff

 private function aFunction():Void
 {
 …
 …
 var e:Event = new Event(“fire”);
 dispatchEvent(e);

 …
 …
 }
}

Problem: ClassB never receives the event. I am sure the dispatchEvent(e) 
gets called because if I add a listener and a handler in ClassB itself and add

 var e:Event = new Event(“fire”);
this.addEventListener(“fire”, onDummyHandler);
 dispatchEvent(e);

the onDummyHandler in ClassB gets called as expected.

Your help is more than appreciated – as always.

Best regards
Ralf

Note: These are not excerpts from my real classes but much more simplified 
versions to illustrate the problem.

Regards
Ralf






--
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 ~-- 
AIDS in India: A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Flex App not loading

2005-12-02 Thread Mehdi, Agha
Title: RE: [flexcoders] Flex App not loading










Thats what I got after deleting
the browser cache.



2005-12-02 19:42:26 192.168.1.173 GET
/flex/apps/reports/index.mxml reportID=4 80 - 157.165.41.125
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200
0 0



2005-12-02 19:42:26 192.168.1.173 GET
/flex/flex-internal action="" 80 - 157.165.41.125
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200
0 0



2005-12-02 19:42:26 192.168.1.173 GET
/flex/flex-internal action="" 80 - 157.165.41.125
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200
0 0



2005-12-02 19:42:26 192.168.1.173 GET
/flex/flex-internal action="" 80 - 157.165.41.125 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
200 0 0



2005-12-02 19:42:45 192.168.1.173 GET
/flex/apps/reports/index.mxml reportID=4 80 - 207.195.241.4
Mozilla/4.78+(TuringOS;+Turing+Machine;+0.0) 200 0 0





Thanks



Agha Mehdi 
IDT - eBusiness Program Manager 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager
Sent: Friday, December 02, 2005
10:45 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex App
not loading





You're getting a 304 so the browser thinks
it has the most recent copy. Can you try deleting your cache and reposting the
log from that machine so that we can see how it behaves when sending the swf?





Thanks,



Carson



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

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















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha
Sent: Friday, December 02, 2005
10:01 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex App
not loading

Let's
resume this thread. I looked at IIS logs (ex051202.log) and this is what
I have there 

#Fields:
date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip
cs(User-Agent) sc-status sc-substatus sc-win32-status 

1.
2005-12-02 00:00:44 192.168.1.173 GET /flex/apps/reports/index.mxml reportID=4
80 - 66.134.90..34
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200
0 0

2.
2005-12-02 00:00:44 192.168.1.173 GET /flex/flex-internal action="" 80
- 66.134.90.34 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
200 0 0

3.
2005-12-02 00:00:44 192.168.1.173 GET /flex/apps/reports/index.mxml.swf - 80 -
66.134.90.34
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 304
0 0

4.
2005-12-02 00:00:44 192.168.1.173 GET /flex/flex-internal action=""
80 - 66.134.90.34
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200
0 0

5.
2005-12-02 00:00:44 192.168.1.173 GET /flex/flex-internal action="" 80
- 66.134.90.34
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200
0 0

Is this
the kind of logs I should be looking at? 

Thanks 

Agha
Mehdi 
IDT - eBusiness Program Manager




-Original
Message- 
From: João Fernandes [mailto:flexcoders@yahoogroups.com]
On Behalf Of João Fernandes 
Sent: Saturday, November 19, 2005
3:10 AM 
To: flexcoders@yahoogroups.com

Subject: RE: [flexcoders] Flex App
not loading 



Is your
application initialization based on some request result(RO,WS or HTTP)? 
Take a look also to your server log
files to track any additional information. 

João
Fernandes 
Secção de Desenvolvimento

Departamento de Informática




-Original
Message- 
From: flexcoders@yahoogroups.com
on behalf of Mehdi, Agha 
Sent: Fri 18-Nov-05 10:45 PM

To: flexcoders@yahoogroups.com

Subject: RE: [flexcoders] Flex App
not loading 
 
1) Yes, the exact same URL

2) It does load the Player but not
the app 
3) I am running multiple instances
and one of them is Flex not integrated 
with CF. 



Agha
Mehdi 
IDT - eBusiness Program Manager




-Original
Message- 
From: João Fernandes [mailto:flexcoders@yahoogroups.com]
On Behalf Of João 
Fernandes 
Sent: Friday, November 18, 2005
2:31 PM 
To: flexcoders@yahoogroups.com

Subject: RE: [flexcoders] Flex App
not loading 



1)Are
both accessing the same URL? 
2)Does the application show
anything or if you right click it says movie not 
loaded? 
3)Are you running a CF+Flex
integraded instance? 

João
Fernandes 
Secção de Desenvolvimento

Departamento de Informática 

-Original
Message- 
From: flexcoders@yahoogroups.com
on behalf of Mehdi, Agha 
Sent: Fri 18-Nov-05 10:23 PM

To: flexcoders@yahoogroups.com

Subject: RE: [flexcoders] Flex App
not loading 
 
It does load the flash player but
the app doesn't launch 

Agha
Mehdi 
IDT - eBusiness Program Manager 


_ 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On 
Behalf Of Carson Hager

Sent: Friday, November 18, 2005
2:04 PM 
To: flexcoders@yahoogroups.com

Subject: RE: 

[flexcoders] Extending DateChooser and SimpleButton.buttonDownHandler

2005-12-02 Thread Caroline
Hi,

Im trying to extend the DateChooser and in the createChildren method,
it creates a simple button and assign a buttonDown handler like so:

localBackMonthButton.buttonDownHandler = backMonthButtonDownHandler;

function backMonthButtonDownHandler(pFlag:Boolean):Void
 super.backMonthButtonDownHandler(pFlag);
 trace(HERE)
}

Funny thing is this handler is never called if I try to extend the
component.

I could find reference anywhere in SimpleButton where
buttonDownHandler is used; it's just declared.

Anyone have ideas?

Thanks






 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/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] how do you guys handle browser back button cases?

2005-12-02 Thread george_lui
Say I logout in my Flex RIA.  I then hit the browser back button.  I
got back to the last page.  If I make another remoteObject invocation
at this point, my code catches the invalidated session and it is dealt
with accordingly.

But I wanna catch the session invalidation status when I hit the
back button.  Is there a way to do this?   Does hitting the browser
back button fire off a Flex event I can catch?  I would like to
redirect to the login page when someone hits the back (or forward)
buttons when the session has already been invalidated.

thank you,
George






 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/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 App not loading

2005-12-02 Thread Carson Hager
Title: RE: [flexcoders] Flex App not loading





I can tell that these tests are not from the same 
machine. The client IP is completely different in this set of log 
messages. Also, are you sure this is the end of the logging for this 
client? I don't see a request for the swf anywhere in there. The 
Flex servlet will respond to a request for an mxml file by returning a 
dynamically generated HTML doc containing a reference to the generated swf. The 
browser then requests that swf. That's not happening in these log 
entries. All of this being said, it could be due to the fact that we're 
dealing with apples and oranges here given that these two requests originated 
from completely different networks.


The good news is that you're using http and not 
https. That means that we can use a simple sniffer utility to view the http 
messages going back and forth. Do you have a tool to do this? If 
not, I can likely package up tcptunnel from Apache SOAP and send it to 
you. Given how frequently this will be used, I might even package it up 
and post it to our support area.

Let me know if you're interested in pursuing 
this.

Carson
  Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com 
 Email: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 
1.703.489.6466   



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, 
AghaSent: Friday, December 02, 2005 11:43 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex App not 
loading


That’s what I got 
after deleting the browser cache.

2005-12-02 19:42:26 
192.168.1.173 GET /flex/apps/reports/index.mxml reportID=4 80 - 157.165.41.125 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 
0

2005-12-02 19:42:26 
192.168.1.173 GET /flex/flex-internal action="" 80 - 157.165.41.125 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 
0

2005-12-02 19:42:26 
192.168.1.173 GET /flex/flex-internal action="" 80 - 157.165.41.125 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 
0

2005-12-02 19:42:26 
192.168.1.173 GET /flex/flex-internal action="" 80 - 157.165.41.125 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 
0

2005-12-02 19:42:45 
192.168.1.173 GET /flex/apps/reports/index.mxml reportID=4 80 - 207.195.241.4 
Mozilla/4.78+(TuringOS;+Turing+Machine;+0.0) 200 0 
0


Thanks

Agha 
Mehdi 
IDT - eBusiness 
Program Manager 





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Carson 
HagerSent: Friday, December 
02, 2005 10:45 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex App not 
loading

You're getting a 304 so 
the browser thinks it has the most recent copy. Can you try deleting your cache 
and reposting the log from that machine so that we can see how it behaves when 
sending the swf?


Thanks,

Carson
 
 
Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.com 
 
Email: [EMAIL PROTECTED]Office: 
866-CYNERGYMobile: 1.703.489.6466   






From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Mehdi, 
AghaSent: Friday, December 02, 
2005 10:01 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex App not 
loading
Let's 
resume this thread. I looked at IIS logs (ex051202.log) and this is what I 
have there 
#Fields: 
date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip 
cs(User-Agent) sc-status sc-substatus sc-win32-status 

1. 2005-12-02 00:00:44 
192.168.1.173 GET /flex/apps/reports/index.mxml reportID=4 80 - 66.134.90..34 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 
0
2. 2005-12-02 00:00:44 
192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 
0
3. 2005-12-02 00:00:44 
192.168.1.173 GET /flex/apps/reports/index.mxml.swf - 80 - 66.134.90.34 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 304 0 
0
4. 2005-12-02 00:00:44 
192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 
0
5. 2005-12-02 00:00:44 
192.168.1.173 GET /flex/flex-internal action="" 80 - 66.134.90.34 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) 200 0 
0
Is this the 
kind of logs I should be looking at? 
Thanks 

Agha 
Mehdi IDT - 
eBusiness Program Manager 

-Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] 
On Behalf Of João Fernandes Sent: Saturday, November 19, 2005 3:10 AM 
To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex App not 
loading 

Is your 
application initialization based on some request result(RO,WS or HTTP)? 
Take a look also to 
your server log files to track any additional information. 

RE: [flexcoders] how do you guys handle browser back button cases?

2005-12-02 Thread Carson Hager
You should consider expiring the page that launches the Flex
application.  When the user clicks back, the browser will be prompted to
reload the page which will cause the redirect to your login page.  There
is tons of info on the web for setting caching properties in whatever
page technology you use. Remember to use the HTTP header varieties, not
just the meta tags as meta tags are ignored by proxy servers.


Carson 



 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of george_lui
Sent: Friday, December 02, 2005 12:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how do you guys handle browser back button
cases?

Say I logout in my Flex RIA.  I then hit the browser back button.  I
got back to the last page.  If I make another remoteObject invocation at
this point, my code catches the invalidated session and it is dealt with
accordingly.

But I wanna catch the session invalidation status when I hit the
back button.  Is there a way to do this?   Does hitting the browser
back button fire off a Flex event I can catch?  I would like to
redirect to the login page when someone hits the back (or forward)
buttons when the session has already been invalidated.

thank you,
George






 Yahoo! Groups Sponsor ~--
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet
Life.
http://us.click.yahoo.com/KIlPFB/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



 





 Yahoo! Groups Sponsor ~-- 
AIDS in India: A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/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] htmlText in ToolTip

2005-12-02 Thread Shahnavaz Alware










Hi,



I have a datagrid with one of the column having multiple icons
having tooltips on each one of the icons. What I need to do is pretty up this
ToolTip with some bold, italic, break, image etc. I dont see that I can
use htmlText in here, so I would appreciate if any of you can show me how this
can be achieved.



Thanks,



Shahn 











--
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] Adobe's Acquisition of Macromedia Expected to Close on December 3, 2005

2005-12-02 Thread Aldo Bucchi
Oh Oh
the end of the world as we know it...

On 12/2/05, Zach Stepek [EMAIL PROTECTED] wrote:
 Just wanted to let everyone know, in case you missed the press releases:

 http://www.adobe.com/aboutadobe/pressroom/pressreleases/200512/120105MACRAcquisitionClose.html
 http://www.macromedia.com/macromedia/proom/pr/2005/acquisition_clearances.html

 Sincerely,

 Zach Stepek
 User Experience Architect, Crave Media
 Manager, Stateline MMUG







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










--
: Aldo Bucchi :
mobile (56) 8 429 8300


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/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] Adobe's Acquisition of Macromedia Expected to Close on December 3, 2005

2005-12-02 Thread Gordon Smith
I wouldn't worry... we're not expecting the acquisition to have much
impact on the Flex team.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Aldo Bucchi
Sent: Friday, December 02, 2005 1:23 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Adobe's Acquisition of Macromedia Expected to
Close on December 3, 2005

Oh Oh
the end of the world as we know it...

On 12/2/05, Zach Stepek [EMAIL PROTECTED] wrote:
 Just wanted to let everyone know, in case you missed the press
releases:


http://www.adobe.com/aboutadobe/pressroom/pressreleases/200512/120105MAC
RAcquisitionClose.html

http://www.macromedia.com/macromedia/proom/pr/2005/acquisition_clearance
s.html

 Sincerely,

 Zach Stepek
 User Experience Architect, Crave Media
 Manager, Stateline MMUG







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










--
: Aldo Bucchi :
mobile (56) 8 429 8300



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



 




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/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] Custom Validator on CheckBox

2005-12-02 Thread im_sean_s
Hello.  I have a form in an application I'm building that requires the
user to check a CheckBox that acknowledges they read a statement.  In
order to check that the CheckBox has been checked, I created a custom
validator.  The validator works fine, but the problem I have is that
when the user checks the CheckBox, the error message does not go away.
 The code for the validator is below.

Thank you,
Sean

class CheckboxRequiredValidator extends mx.validators.Validator
{

public function CheckboxRequiredValidator()
{

}

public function doValidation(checkboxValue):Void
{

CheckboxRequiredValidator.validateCheckbox(this,checkboxValue,required,null);
}

public static function
validateCheckbox(validator:mx.validators.Validator,

checkboxValue, required, subfield):Boolean
{
if ( required  !Boolean(checkboxValue)) 
{
validator.validationError(notCheckedError, 
This checkbox must
be checked., subfield);
return false;
}
return true;
}
}

mx:Model id=fieldValues
DonationConfirmation{DonationConfirmation.selected}/DonationConfirmation
/mx:Model

customValidators:CheckboxRequiredValidator
field=fieldValues.DonationConfirmation required=true/

mx:CheckBox id=DonationConfirmation labelPlacement=right
selected={formModel.DonationConfirmation}/









 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/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] Adobe's Acquisition of Macromedia Expected to Close on December 3, 2005

2005-12-02 Thread Roger Gonzalez
Yeah, Gordon wasn't really responsible for anything critical anyway.

We'll miss his sunny personality, though.

;-)

-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith
 Sent: Friday, December 02, 2005 1:27 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Adobe's Acquisition of Macromedia 
 Expected to Close on December 3, 2005
 
 I wouldn't worry... we're not expecting the acquisition to have much
 impact on the Flex team.
 
 - Gordon
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Aldo Bucchi
 Sent: Friday, December 02, 2005 1:23 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Adobe's Acquisition of Macromedia 
 Expected to
 Close on December 3, 2005
 
 Oh Oh
 the end of the world as we know it...
 
 On 12/2/05, Zach Stepek [EMAIL PROTECTED] wrote:
  Just wanted to let everyone know, in case you missed the press
 releases:
 
 
 http://www.adobe.com/aboutadobe/pressroom/pressreleases/200512
 /120105MAC
 RAcquisitionClose.html
 
 http://www.macromedia.com/macromedia/proom/pr/2005/acquisition
 _clearance
 s.html
 
  Sincerely,
 
  Zach Stepek
  User Experience Architect, Crave Media
  Manager, Stateline MMUG
 
 
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 
 
 
 
 --
 : Aldo Bucchi :
 mobile (56) 8 429 8300
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 Fair play? Video games influencing politics. Click and talk back!
 http://us.click.yahoo.com/2jUsvC/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
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
AIDS in India: A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/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] Adobe's Acquisition of Macromedia Expected to Close on December 3, 2005

2005-12-02 Thread Matt Chotin










The biggest impact so far was we had to
change one of our internal server names since Adobe has one with the same name.



I heard that Adobe wont allow Roger
to ride his motorcycle anymore though











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Roger Gonzalez
Sent: Friday, December 02, 2005
1:43 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Adobe's
Acquisition of Macromedia Expected to Close on December 3, 2005





Yeah, Gordon wasn't really
responsible for anything critical anyway.

We'll miss his sunny personality, though.

;-)

-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]


 -Original Message-
 From: flexcoders@yahoogroups.com

 [mailto:flexcoders@yahoogroups.com]
On Behalf Of Gordon Smith
 Sent: Friday, December 02, 2005 1:27 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Adobe's Acquisition
of Macromedia 
 Expected to Close on December 3, 2005
 
 I wouldn't worry... we're not expecting the
acquisition to have much
 impact on the Flex team.
 
 - Gordon
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com

 [mailto:flexcoders@yahoogroups.com]
On
 Behalf Of Aldo Bucchi
 Sent: Friday, December 02, 2005 1:23 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Adobe's Acquisition
of Macromedia 
 Expected to
 Close on December 3, 2005
 
 Oh Oh
 the end of the world as we know it...
 
 On 12/2/05, Zach Stepek [EMAIL PROTECTED]
wrote:
  Just wanted to let everyone know, in
case you missed the press
 releases:
 
 
 http://www.adobe.com/aboutadobe/pressroom/pressreleases/200512
 /120105MAC
 RAcquisitionClose.html
 
 http://www.macromedia.com/macromedia/proom/pr/2005/acquisition
 _clearance
 s.html
 
  Sincerely,
 
  Zach Stepek
  User Experience Architect, Crave Media
  Manager, Stateline MMUG
 
 
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 
 
 
 
 --
 : Aldo Bucchi :
 mobile (56) 8 429 8300
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com

 Yahoo! Groups Links
 
 
 
 
 
 
 
 
  Yahoo! Groups
Sponsor 
 ~-- 
 Fair play? Video games influencing politics.
Click and talk back!
 http://us.click.yahoo.com/2jUsvC/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








  
  
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] Rendering bug fixed with Firefox 1.5

2005-12-02 Thread Eric Raymond
A long standing bug in Firefox which cause Flash/Flex apps to only
display the leftmost 100 pixels appears to have been fixed in the
latest version of Firefox!





 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] ImageButton path question

2005-12-02 Thread flexmakao
Hello, 
I was planning on creating a game inside my flex application. Using
repeater I created 50 image buttons, each corresponding to a card. I
planed on using random numbers in arrays to shuffle thru my cards each
time I start a game. Is it possible to do something like this to embed
images to different cards each time deck is shuffled?

downImage =@Embed{'cards/'+rp1.currentItem+'.jpg'}/

where rp1 is my repeater and current item corresponds to data provider.

Thank you. 






 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/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] Adobe's Acquisition of Macromedia Expected to Close on December 3, 2005

2005-12-02 Thread Aldo Bucchi
jaja...
well, you are always welcome to my firm
Great girls, great food, and a one hour drive from ski centers and the beach.

it's a little smaller though


On 12/2/05, Roger Gonzalez [EMAIL PROTECTED] wrote:
 Yeah, Gordon wasn't really responsible for anything critical anyway.

 We'll miss his sunny personality, though.

 ;-)

 -Roger

 Roger Gonzalez
 mailto:[EMAIL PROTECTED]


  -Original Message-
  From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith
  Sent: Friday, December 02, 2005 1:27 PM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Adobe's Acquisition of Macromedia
  Expected to Close on December 3, 2005
 
  I wouldn't worry... we're not expecting the acquisition to have much
  impact on the Flex team.
 
  - Gordon
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On
  Behalf Of Aldo Bucchi
  Sent: Friday, December 02, 2005 1:23 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Adobe's Acquisition of Macromedia
  Expected to
  Close on December 3, 2005
 
  Oh Oh
  the end of the world as we know it...
 
  On 12/2/05, Zach Stepek [EMAIL PROTECTED] wrote:
   Just wanted to let everyone know, in case you missed the press
  releases:
  
  
  http://www.adobe.com/aboutadobe/pressroom/pressreleases/200512
  /120105MAC
  RAcquisitionClose.html
  
  http://www.macromedia.com/macromedia/proom/pr/2005/acquisition
  _clearance
  s.html
  
   Sincerely,
  
   Zach Stepek
   User Experience Architect, Crave Media
   Manager, Stateline MMUG
  
  
  
  
  
  
  
   --
   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
  
  
  
  
  
  
  
  
 
 
  --
  : Aldo Bucchi :
  mobile (56) 8 429 8300
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
   Yahoo! Groups Sponsor
  ~--
  Fair play? Video games influencing politics. Click and talk back!
  http://us.click.yahoo.com/2jUsvC/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









--
: Aldo Bucchi :
mobile (56) 8 429 8300


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/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] ImageButton path question

2005-12-02 Thread Roger Gonzalez
You probably don't want to do it that way.

Embed is a compile-time construct to get things into the SWF.  You can't
dynamically change what is embedded, because dynamic==runtime==too late.

I suggest you look into the AS syntax for embedding assets; perhaps make
a class called Deck and embed your 50 cards, each on a different
string variable.

class Deck
{
  [Embed('sk.jpg')] static var spades_king:String;
  [Embed('sq.jpg')] static var spades_queen:String;
  ...

  public static var cards:Array = [spades_king, spades_queen, ...];
}

Each value in Deck.cards will have a different symbol in it.  You can
then refer to that symbol in your Image tags by just changing the
source;

source={Deck.cards[current]}

or something like that.

-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of flexmakao
 Sent: Friday, December 02, 2005 12:51 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] ImageButton path question
 
 Hello, 
 I was planning on creating a game inside my flex application. Using
 repeater I created 50 image buttons, each corresponding to a card. I
 planed on using random numbers in arrays to shuffle thru my cards each
 time I start a game. Is it possible to do something like this to embed
 images to different cards each time deck is shuffled?
 
 downImage =@Embed{'cards/'+rp1.currentItem+'.jpg'}/
 
 where rp1 is my repeater and current item corresponds to data 
 provider.
 
 Thank you. 
 
 
 
 
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 Most low income households are not online. Help bridge the 
 digital divide today!
 http://us.click.yahoo.com/I258zB/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
 
 
 
  
 
 
 
 


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/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 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Ralf Rottmann










The classes are not derived
from anything. However if I type import mx.event. and wait, Eclipse does not
offer EventDispatcher. There seems to be no EventDispatcher in that package





Ralf Rottmann | Director Sales
Marketing | VoicInt Telecommunications GmbH
m:+49-(0)170-914-5495 | f: +49-(0)231-557402-99 | e: [EMAIL PROTECTED]
---











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Freitag, 2. Dezember 2005
19:18
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2.0
Alpha: dispatchEvent(Event) method in ActionScript class





Did you extend EventDispatcher?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann
Sent: Friday, December 02, 2005
10:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0 Alpha:
dispatchEvent(Event) method in ActionScript class





Hi there,



I get a compile time Access of undefined property
dispatchEvent error in a .as class file. I have imported flash.events.*;
and mx.events.*;

dispatchEvent is available in MXML files but I want to fire
an event from an ActionScript class.



Please help!



Ralf Rottmann 












--
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] Events again...

2005-12-02 Thread Ralf Rottmann
Title: Re: [flexcoders] Events again...








Thanks. I'll give it a try. How about my second question: how can I propagate the event up to ClassA (fired in ClassB)?

Regards
RR
--
mobile: +49-(0)170-914-5495
email: [EMAIL PROTECTED]




-Original Message-
From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Fri Dec 02 20:32:19 2005
Subject: Re: [flexcoders] Events again...

Ralf -

dispatchEvent and addEventListener are methods of the EventDispatcher
class. EventDispatcher is the superclass to most (all?) built in flex
components, but is not inherently available to all AS3 classes.

If you modify ClassB to instead be

public ClassB extends flash.events.EventDispatcher, it should run as expected.


At 01:42 PM 12/2/2005, you wrote:
Again an Event question with desperate need for help:

Talking about Flex 2.0 Alpha.
Two custom classes: ClassA and ClassB.
Both .as files, so no MXML, no Component, not derived from any other
built-in class.

In ClassA you find something like that:

public ClassA
{
 private helper:ClassB;

 public function ClassA()
 {
 helper = new ClassB();
 helper.addEventListener(fire, onCustomEvent);
}

private function onCustomEvent(_e:Event);Void
{
 trace (Event received.);
}
}

ClassB looks like this

[Event(fire)]
public ClassB
{
 // constructor and other stuff

 private function aFunction():Void
 {
 
 
 var e:Event = new Event(fire);
 dispatchEvent(e);

 
 
 }
}

Problem: ClassB never receives the event. I am sure the dispatchEvent(e)
gets called because if I add a listener and a handler in ClassB itself and add

 var e:Event = new Event(fire);
this.addEventListener(fire, onDummyHandler);
 dispatchEvent(e);

the onDummyHandler in ClassB gets called as expected.

Your help is more than appreciated  as always.

Best regards
Ralf

Note: These are not excerpts from my real classes but much more simplified
versions to illustrate the problem.

Regards
Ralf






--
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 ~--
AIDS in India: A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/nhFolB/TM
~-

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

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

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

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












--
Flexcoders 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] Adobe's Acquisition of Macromedia Expected to Close on December 3, 2005

2005-12-02 Thread Zach Stepek
No more motorcycles?  Doesn't that detract directly from the pink hair, 
pierced body parts culture that Macromedia was so well known for during 
the early years of Flash?  Maybe this merger will affect more than I 
thought...  ;-)

- Zach Stepek






 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/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 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Matt Chotin










flash.events.EventDispatcher, its
now built into the Player.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann
Sent: Friday, December 02, 2005
10:39 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2.0
Alpha: dispatchEvent(Event) method in ActionScript class





The classes are not
derived from anything. However if I type import mx.event. and wait, Eclipse
does not offer EventDispatcher. There seems to be no EventDispatcher in that
package





Ralf Rottmann | Director Sales Marketing
| VoicInt Telecommunications GmbH
m:+49-(0)170-914-5495 | f: +49-(0)231-557402-99 | e: [EMAIL PROTECTED]
---











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Freitag, 2. Dezember 2005
19:18
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2.0
Alpha: dispatchEvent(Event) method in ActionScript class





Did you extend EventDispatcher?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann
Sent: Friday, December 02, 2005
10:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0
Alpha: dispatchEvent(Event) method in ActionScript class





Hi there,



I get a compile time Access of undefined property
dispatchEvent error in a .as class file. I have imported flash.events.*;
and mx.events.*;

dispatchEvent is available in MXML files but I want to fire
an event from an ActionScript class.



Please help!



Ralf Rottmann 













--
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] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Ralf Rottmann
Title: Re: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class








Thanks.
Part of the problem is that there is no EventDispatcher class. importing mx.events.* does not help. The popup typeahead in Eclipse does not bring it up either.

Is extending Sprite an option even though the class does nothing graphical?

Regards
RR
--
mobile: +49-(0)170-914-5495
email: [EMAIL PROTECTED]




-Original Message-
From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Fri Dec 02 20:15:47 2005
Subject: Re: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

your class has to either extend EventDispatcher or if you are already
inheriting from something else and cant put EventDispatcher in the class
heirarchy you will have to implement the IEventDispatcher interface
yourself.

thanks,

Martin


Ralf Rottmann wrote:
 Hi there,



 I get a compile time Access of undefined property dispatchEvent error
 in a .as class file. I have imported flash.events.*; and mx.events.*;

 dispatchEvent is available in MXML files but I want to fire an event
 from an ActionScript class.



 Please help!



 Ralf Rottmann

--
Martin Wood

http://relivethefuture.com/choronzon


 Yahoo! Groups Sponsor ~--
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/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 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] Events again...

2005-12-02 Thread Ralf Rottmann
Title: Re: [flexcoders] Events again...










Just wanted to let you know: Solved the
issue. Deriving my AS3 class from EventDispatcher did the trick. However I
wonder why Flex Builder does not offer EventDispatcher as tooltip help when you
type



import flash.events.



it offers everything else but not
EventDispatcher. Alpha bug?



Regards





Ralf Rottmann 











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Ralf Rottmann
Sent: Freitag, 2. Dezember 2005
20:57
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Events
again...





Thanks. I'll give it a try. How about my second
question: how can I propagate the event up to ClassA (fired in
ClassB)?

Regards
RR
--
mobile: +49-(0)170-914-5495
email: [EMAIL PROTECTED]




-Original Message-
From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Fri Dec 02 20:32:19 2005
Subject: Re: [flexcoders] Events again...

Ralf -

dispatchEvent and addEventListener are methods of the EventDispatcher
class. EventDispatcher is the superclass to most (all?) built in flex
components, but is not inherently available to all AS3 classes.

If you modify ClassB to instead be

public ClassB extends flash.events.EventDispatcher, it should run as expected.


At 01:42 PM 12/2/2005, you wrote:
Again an Event question with desperate need for help:

Talking about Flex 2.0 Alpha.
Two custom classes: ClassA and ClassB.
Both .as files, so no MXML, no Component, not derived from any other
built-in class.

In ClassA you find something like that:

public ClassA
{

private helper:ClassB;


public function ClassA()
 {

helper = new ClassB();

helper.addEventListener(fire, onCustomEvent);
}

private function onCustomEvent(_e:Event);Void
{

trace (Event received.);
}
}

ClassB looks like this

[Event(fire)]
public ClassB
{
 //
constructor and other stuff


private function aFunction():Void
 {





var e:Event = new Event(fire);

dispatchEvent(e);





 }
}

Problem: ClassB never receives the event. I am sure the dispatchEvent(e)
gets called because if I add a listener and a handler in ClassB itself and
add


var e:Event = new Event(fire);
this.addEventListener(fire, onDummyHandler);

dispatchEvent(e);

the onDummyHandler in ClassB gets called as expected.

Your help is more than appreciated  as always.

Best regards
Ralf

Note: These are not excerpts from my real classes but much more simplified
versions to illustrate the problem.

Regards
Ralf






--
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 ~--
AIDS in India:
A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/nhFolB/TM
~-

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

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

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

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












--
Flexcoders 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] Using ActionScript Class in Flex Code

2005-12-02 Thread Matt Chotin










You need to put [Bindable] on top of var
mystr.



[Bindable]

public var mystr:String = .



However youre also trying to do
things directly in the Script block which isnt allowed. Youll
need to create a function and have the application call that.



mx:Application 
creationComplete=setMyStr()



mx:Script

 [Bindable]

 public var mystr:String;



 private function setMyStr():Void

 {

 var obj:Rtl = new Rtl();

 myStr = 

 }

/mx:Script



/mx:Application



HTH,

Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of breakneck79
Sent: Friday, December 02, 2005
10:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Using
ActionScript Class in Flex Code





Dear flexcoders,
I use Rtl class that writen in Rtl.as
in my MXMl page and using 
flexbuilder 2 for development, 
In MXML file i can not access to method
convert from this file,
Please guide me, what is the problem?
Warning : Unable to detect changes to
mystr.

Tnx,


source code of MXML file :

?xml version=1.0
encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml

xmlns=*
 
 mx:Canvas
width=100% height=100%

 mx:Script

  ![CDATA[

 
 import bin.com.persian.Rtl.*;

 
 

 
 var obj:Rtl = new Rtl();

 
 var mystr:String =
obj.convert(#1580;#1605;#1604;#1607;
#1575;#1608;#1604;);

  ]]

 /mx:Script

 mx:TextInput width=150
id=t1 text={mystr} /
 /mx:Canvas
/mx:Application


and source of Rtl.as file:


// ActionScript Document
package bin.com.persian.Rtl {
import bin.com.persian.TextFormat.*;

public class Rtl {
 public function
Rtl(){}

 private var strFasalakh:String = #1601;#1587;#1604;#1582;;

 

 public function convert(strLine:String):String 

 {

  var stringYe:Ye =
new Ye();

  var
strLine:String = strFasalakh + stringYe.
convert(strLine) + strFasalakh;
 

  var
arrPoints:Array = new Array();

  var
intArrayPointCount:Number=0;

  var
bolSetPointer:Boolean = true;
 

  for (var
i:Number=0; istrLine.length; i++)

  {

 
 if (!persianChar(strLine.slice(i, (i+1

 
 {

 
  if
(bolSetPointer)

 
  {

 
 
 arrPoints[intArrayPointCount] = 
[i, 0];

 
 
 bolSetPointer = false;

 
 
} 
  

 
  

 
 }else if (persianChar(strLine.slice((i-1), i)
))
 

 
 {

 
  if
(!bolSetPointer)

 
  {

 
 
 arrPoints[intArrayPointCount][1] = 
(i-2);

 
 
 intArrayPointCount++;

 
 
 bolSetPointer = true;

 
  }

 
 }

  }

  

  return
finalPlus(spliter(strLine, arrPoints));

 }

 

 

 public function spliter(strLine:String,
arrPoints:Array):
Array

 {

  var
arrFinal:Array = new Array();

  var
arrPointsSeri:Array = new Array();

  var
intCountArraySeri:Number=0;


  for (var
g:Number=0; garrPoints.length; g++)

  {

 
 for (var h:Number=0; h2; h++)

 
 {

 
  if ((h1) ==
1)

 
  {

 
 
 arrPointsSeri[intCountArraySeri] = 
int((arrPoints[g][h]) + 1);

 
  }else 

 
  {

 
 
 arrPointsSeri[intCountArraySeri] = 
int(arrPoints[g][h]);

 
  }

 
 intCountArraySeri++;

 
 }

  }

  

  arrFinal[0] =
strLine.slice(0 , arrPointsSeri[0]);

  for (var
r:Number=0; rarrPointsSeri.length-1; r++)

  {

 
 arrFinal[int(r+1)] = strLine.
slice(arrPointsSeri[r] , arrPointsSeri[int(r+1)]);

  }

  

  var
bolShowFarsiText:Boolean = false;

  for (var
q:Number=0; qstrLine.length; q++)

  {

 
 if (!persianChar(strLine.slice(q, (q+1

 
  bolShowFarsiText
= true;

  }

  if
(bolShowFarsiText)

 
arrFinal[arrFinal.length] = strLine.
slice(arrPointsSeri[arrPointsSeri.length-1],
strLine.length); 
 

  

 
arrFinal.reverse();

  return arrFinal;

 }

 

 public function finalPlus(arrPackage:Array):String

 {

  var
strHolder:String = ;

  for (var
i:Number=0; iarrPackage.length; i++)

  {

 
 strHolder +=
arrPackage[i]; 

  }

  
 
 return remover(strHolder);

 }

 

 public function remover(strFinal:String):String

 {

  var arrFas:Array
= strFinal.split(strFasalakh);

  var
strHolder:String = ;
 
 for (var i:Number=0; iarrFas.length; i++)

  {

 
 strHolder +=
arrFas[i]; 

  }

  return strHolder;

 }

 

 // All Persian Characters 
 
public function persianChar(strChar:String):Boolean

 {

  var
bolReturn:Boolean = false;

  if (strChar ==
#1575; || strChar == #1570; || strChar == 
#1576; ||

  strChar ==
#1662; || strChar == #1578; || strChar ==
#1579; |
|

  strChar ==
#1580; || strChar == #1670; || strChar ==
#1581; |
|

  strChar ==
#1582; || strChar == #1583; || strChar ==
#1584; |
|

  strChar ==
#1585; || strChar == #1586; || strChar ==
#1688; |
|

  strChar ==
#1587; || strChar == #1588; || strChar ==
#1589; |
|

  strChar ==
#1590; || strChar == #1591; || strChar ==
#1592; |
|
 
 strChar == #1593; || strChar ==
#1594; || strChar == #1601; |
|

  strChar ==
#1602; || strChar == #1603; || strChar ==
#1711; |
|

  strChar ==
#1604; || strChar == #1605; || strChar ==
#1606; |
|

  strChar ==
#1608; || strChar == #1607; || strChar ==
#1610; |
|

  strChar ==
#1609; || strChar == #1600; || strChar ==

RE: [flexcoders] Custom Validator on CheckBox

2005-12-02 Thread Matt Chotin










Does the validator fire when you check the
checkbox and its just that the error doesnt clear? Or does
the validator not fire when you click on the checkbox?



If the first it sounds like a bug, you
could workaround it by adding a validate handler and setting the errorString on
the checkbox to null if there are no errors.



customValidators:CheckboxRequiredValidator
field=fieldValues.DonationConfirmation
required=true validate=if (!event.validator.hasErrors()) DonationConfirmation.errorString
= null;/



I think that the Checkbox does clear its
error messages though so Id make sure that your validator is really
firing and doing the right thing.



Matt









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of im_sean_s
Sent: Friday, December 02, 2005
1:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom
Validator on CheckBox





Hello. I have a form in an application I'm building that requires
the
user to check a CheckBox that acknowledges they
read a statement. In
order to check that the CheckBox has been checked,
I created a custom
validator. The validator works fine, but the
problem I have is that
when the user checks the CheckBox, the error
message does not go away.
The code for the validator is below.

Thank you,
Sean

class CheckboxRequiredValidator extends
mx.validators.Validator
{

 

 public function CheckboxRequiredValidator()

 {

  

 }

 

 public function doValidation(checkboxValue):Void

 {

 
CheckboxRequiredValidator.validateCheckbox(this,checkboxValue,required,null);

 }

 

 public static function
validateCheckbox(validator:mx.validators.Validator,

 
 
 
 
 
 checkboxValue, required, subfield):Boolean

 {

  if ( required
 !Boolean(checkboxValue)) 

  {

 

validator.validationError(notCheckedError, This checkbox must
be checked., subfield);

 
 return false;

  }
 
 return true;

 }
}

mx:Model
id=fieldValues
  
DonationConfirmation{DonationConfirmation.selected}/DonationConfirmation
/mx:Model

customValidators:CheckboxRequiredValidator
field=fieldValues.DonationConfirmation
required=true/

mx:CheckBox
id=DonationConfirmation labelPlacement=right
selected={formModel.DonationConfirmation}/















--
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] More questions regarding PopUp Windows in Flex 2.0

2005-12-02 Thread Ralf Rottmann










Hello again,



Trying to get a couple of PopUp Windows done in Flex 2.0
(Alpha) I wonder



- It seems as if the deletePopUp() method has been replaced
by removePopUp().

- createPopUp() no longer accepts an initObj reference. It expects
3 parameters (parent, MXML Component class name and a Boolean).



While this.deletePopUp() works fine how can I exchange
parameters with a PopUp Window without the initObj? Creating public properties
inside the TitleWindow MXML Component *did
not* work.

Here is the current code I use to open the PopUp Window.



pop
= TitleWindow(PopUpManager.createPopUp(this, PopupDialog));





PopupDialog.mxml
starts with:



 mx:Script

 ![CDATA[

  import mx.containers.TitleWindow;

   import mx.managers.PopUpManager;

 

 public var welcome:String = ;

 

 private function onClose(_e:Event):Void

 {

 PopUpManager.removePopUp(this);

 } 

 ]]

 /mx:Script



However trying to
access pop.welcome from the parent does not work. Not can I access pop.LabelWelcome
where LabelWelcome is the id of a Label Control in PopupDialog.mxml.



I need directions! J



Ralf Rottmann











--
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] To Moderator

2005-12-02 Thread Tracy Spratt
Interesting, I am accustomed to having my posts displayed within a
minute or two.  I wonder what is the difference?

I use Outlook, BTW.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ralf Rottmann
Sent: Thursday, December 01, 2005 8:13 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] To Moderator

I can replicate the issue however my posts never got lost, so I never
had to resend. But yes, sometimes it takes quite long until a post gets
distributed to the list. I don't know about the inner workings of
Yahoolists but maybe posts get flushed out like 10 times a day instead
of instant delivery.

So this might not be a bug but by design. I would appreciate instant
distribution, too.



---
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JIGNESH M. DODIYA
Sent: Donnerstag, 1. Dezember 2005 12:55
To: flexcoders@yahoogroups.com
Subject: [flexcoders] To Moderator

Hellow Mr. Moderator,

I just want to describe you my problem..Hope u can help me.

Its seen often that whenever I post my problem in the Flexcoder as 
new post, i have seen that I get the Email in my list very late, And 
many times I have faced the problem that I have to send same post 
for 2-3 time to get it posted in Flexcoder...Such problems just 
discourage me to post on Flexcoder.

I have verified all the posibilities if I am doing something wrong 
to post, but its fair method.

So, hope you can do something where's actually I face problem.

Your effert will highly appreciated.

Regards,

JIgnesh











--
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 ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/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 specify root application folder

2005-12-02 Thread Tracy Spratt
That is a very good question.

I knew it because I have been reading all the posts on Flexcoders for
almost two years.  But I have never seen it documented (never looked to
be fair).  Are there any other @whatever things?  I'll try to look
when I have a chance.

Also, check out some of the excellent resources below, especially cflex
and flexauthority and flexdaddy.  

Flex sites/blogs:
http://www.cflex.net/showfaq.cfm?Object=faqchannelID=1faqtype=default
fields=defaultValues=
http://www.cflex.net/
http://www.flexauthority.com/
http://weblogs.macromedia.com/mxna/
http://www.flexdaddy.info/
http://www.clinttredway.com/blog/
http://www.richinternet.de/blog/
http://www.everythingflex.com


Documentation:
http://livedocs.macromedia.com/flex/15/asdocs_en/index.html
http://www.macromedia.com/go/flex15_java_livedocs
http://www.macromedia.com/cfusion/knowledgebase/index.cfm

Lists:
http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?catid=3
46
http://groups.yahoo.com/group/flexcoders/

Bugs/enhancement requests:
http://www.macromedia.com/support/email/wishform/


tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mykola Paliyenko
Sent: Thursday, December 01, 2005 9:27 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to specify root application folder

Tracy,
Thanx it works.

  Where do you get such info about undocumented features like
@ContextRoot()? Maybe there are some more interesting things there.
As far as I understand the flex architecture such tags like
@ContextRoot() are processed during mxml2AS translation on the server,
The question is does anyone can provide a list of such tags like
@ContextRoot() with description.

WBR, Mykola


On 11/25/05, Tracy Spratt [EMAIL PROTECTED] wrote:
  Declare a property in your mxml like this:
  mx:String id=strContextRoot@ContextRoot()/mx:String

  Now, in AS code you can use strContextRoot in your path.

  Tracy


  -Original Message-
  From: flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED]
On
  Behalf Of Stanislav Zayarsky
  Sent: Friday, November 25, 2005 8:37 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] How to specify root application folder

  Hello Flex Coders,

  I have next problem:

  I have images folder in the root of the application folder. And I
have
  mxml file deeply inside other folders, that has Loader component and
I
  want to load image there.

  But I don't know how to specify path to the image i.e. I don't know
  how to point to the root of the application folder.

  So the question is, how it should look like:

  source=/images/phone1.jpg
  or
  source=./images/phone1.jpg
  or
  source=../images/phone1.jpg

  Best regards
  Stanislav



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






--
Best Regards,
Mykola





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



 







 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/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] To Moderator

2005-12-02 Thread Ralf Rottmann
Somewhere I read that this list is moderated. This might be the
explanation for varying distribution patterns. I am based in Germany
and experience a much better performance at night time. Maybe Mr./Mrs.
Moderator are from the US? :-)


Ralf Rottmann 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Samstag, 3. Dezember 2005 02:13
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] To Moderator

Interesting, I am accustomed to having my posts displayed within a
minute or two.  I wonder what is the difference?

I use Outlook, BTW.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ralf Rottmann
Sent: Thursday, December 01, 2005 8:13 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] To Moderator

I can replicate the issue however my posts never got lost, so I never
had to resend. But yes, sometimes it takes quite long until a post gets
distributed to the list. I don't know about the inner workings of
Yahoolists but maybe posts get flushed out like 10 times a day instead
of instant delivery.

So this might not be a bug but by design. I would appreciate instant
distribution, too.



---
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of JIGNESH M. DODIYA
Sent: Donnerstag, 1. Dezember 2005 12:55
To: flexcoders@yahoogroups.com
Subject: [flexcoders] To Moderator

Hellow Mr. Moderator,

I just want to describe you my problem..Hope u can help me.

Its seen often that whenever I post my problem in the Flexcoder as 
new post, i have seen that I get the Email in my list very late, And 
many times I have faced the problem that I have to send same post 
for 2-3 time to get it posted in Flexcoder...Such problems just 
discourage me to post on Flexcoder.

I have verified all the posibilities if I am doing something wrong 
to post, but its fair method.

So, hope you can do something where's actually I face problem.

Your effert will highly appreciated.

Regards,

JIgnesh











--
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 ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/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 Row Color based on Value in Column

2005-12-02 Thread Shahnavaz Alware










Hi,



Is there a way in which I could change the color of the
entire row in DataGrid based on the value in one of the column?



Thanks,



Shahn









--
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] More questions regarding PopUp Windows in Flex 2.0

2005-12-02 Thread Jeff Tapper
Cast the Title Window to the class of your component, for instance, from 
something I'm working on:
win 
=ConfirmScreen(PopUpManager.createPopUp(this,views.dataEntry.ConfirmScreen, 
true));
win.prod = prod;
win.title = title;

At 07:45 PM 12/2/2005, you wrote:
Hello again,

Trying to get a couple of PopUp Windows done in Flex 2.0 (Alpha) I wonder

- It seems as if the deletePopUp() method has been replaced by removePopUp().
- createPopUp() no longer accepts an initObj reference. It expects 3 
parameters (parent, MXML Component class name and a Boolean).

While this.deletePopUp() works fine how can I exchange parameters with a 
PopUp Window without the initObj? Creating public properties inside the 
TitleWindow MXML Component *did not* work.
Here is the current code I use to open the PopUp Window.

pop = TitleWindow(PopUpManager.createPopUp(this, PopupDialog));



PopupDialog.mxml starts with:


   mx:Script
 ![CDATA[
   import mx.containers.TitleWindow;
   import mx.managers.PopUpManager;

   public var welcome:String = ;

   private function onClose(_e:Event):Void
   {
 PopUpManager.removePopUp(this);
   }
 ]]

   /mx:Script



However trying to access pop.welcome from the parent does not work. Not 
can I access pop.LabelWelcome where LabelWelcome is the id of a Label 
Control in PopupDialog.mxml.



I need directions! J



Ralf Rottmann




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




SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQWeb
 
site design development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer
 
software development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware
 
design and development
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjwMacromedia
 
flex 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware
 
development best practice


--
YAHOO! GROUPS LINKS

*  Visit your group 
 http://groups.yahoo.com/group/flexcodersflexcoders on the web.
*
*  To unsubscribe from this group, send an email to:
* 
 mailto:[EMAIL PROTECTED][EMAIL PROTECTED] 

*
*  Your use of Yahoo! Groups is subject to the 
 http://docs.yahoo.com/info/terms/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/KIlPFB/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/