Re: [flexcoders] web compiler

2008-10-31 Thread jitendra jain
Paul, Sorry for late reply. I'm using this for load testing.

 Thanks,

with Regards,
Jitendra Jain







From: Paul Andrews [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, 25 October, 2008 9:28:27 PM
Subject: Re: [flexcoders] web compiler


 
Jitendra,
 
You've never really explained why you need this. 
Can you tell us?
 
Paul
- Original Message - 
From: jitendra jain 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, October 25, 2008 2:08  PM
Subject: Re: [flexcoders] web  compiler

Hey Guys, I solved  the problem of web compiler

Simply i have to add  my library source path in the flex-config files.


source-path
  path-elementuser_classes/path-element
   /source-path 


   Thanks,

with  Regards,
Jitendra  Jain

 





 From: Paul Andrews [EMAIL PROTECTED] com
To: [EMAIL PROTECTED] ups.com
Sent: Thursday, 23 October, 2008 2:05:52  PM
Subject: Re: [flexcoders]  web compiler


- Original Message - 
From: Michael  Schmalle 
To: [EMAIL PROTECTED] ups.com 
Sent: Friday, October 17, 2008 7:00 PM
Subject: Re: [flexcoders] web compiler

Ok, 

I had this in my plans to investigate in a couple months for my  server.

So is there something that caches swf on the first run, then only  recompiles 
when the mxml has changed?

Where did I hear that? This is in my head from a year or two ago.
 
It was basically how Flex 1.5 
worked.


Mike

 
snip

 Connect with friends all over the world. Get  Yahoo! India Messenger.  


  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

Re: [flexcoders] Dynamicaly loading of images

2008-10-31 Thread Alexander Baetz
Hi,

i use the SuperImage component now. Works fine.

Thanks to all,
Alexander

Alexander Baetz schrieb:
 Hi,

 for a special tool i want to display buttons with icons that where 
 loaded at runtime (based on an xml document loaded at runtime)
 in adobe livedocs i read that i cant load icons at runtime.

 To workaround that i switched to Images in buttonmode. But everytime the 
 displayed image changes because i changed the source attribute (for 
 example when my button is disabled) there is a timegap and the image 
 is empty.
 This happens even i used the same source-url before.
 My guess would be that my application forgetts the imagedata if no 
 object uses it anymore and therefore loads the url again.

 So im looking either for a way to store the imagedata and supply it to 
 my Button when necessary.

 Greetings,
 Alexander



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
   




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search 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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] web compiler

2008-10-31 Thread Paul Andrews
Jitendra,

What specifically is it about dynamic compilation that makes this so useful in 
this kind of application?

I'm struggling to get the point!

Paul
  - Original Message - 
  From: jitendra jain 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, October 31, 2008 7:35 AM
  Subject: Re: [flexcoders] web compiler


  Paul, Sorry for late reply. I'm using this for load testing.


  Thanks,

  with Regards,
  Jitendra Jain







--
  From: Paul Andrews [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Saturday, 25 October, 2008 9:28:27 PM
  Subject: Re: [flexcoders] web compiler


   

  Jitendra,

  You've never really explained why you need this. Can you tell us?

  Paul

[flexcoders] Online help for flex applications

2008-10-31 Thread Marco Catunda
Hi,

I just discuss how is the best way to make a on-line help for
flex application.

I'm thinking to write the help text in wiki system with
some marks to inform flex app where is the help text
for.

Getting static html from wget approach and process
this marks in a batch script. This marks will inform
which area of app this help should appear.

Display the help text in flex using mx:htmlText.

How do you do to build help text for flex application?

Regards
-- 
Marco Catunda


[flexcoders] New to ItemRenderers

2008-10-31 Thread Tyler Kocheran
I'm trying to create a simple List-based application to try and learn more
about ItemRenderers. How do I make my ItemRenderer automatically size to fit
whatever is inside of it? Right now I've got this as my ItemRenderer:
mx:VBox
   mx:Text text={data.label} width=100%/
/mx:VBox

I'm not necessarily going to know the amount of text loaded into a list item
until runtime. It seems that my list component is confining each of its
items to a certain fixed height. Can I change this?

 - TK

-- 
And do this, knowing the time, that now it is high time to awake out of
sleep;
for now our salvation is nearer than when we first believed.


[flexcoders] SWFLoader: access its contents right away

2008-10-31 Thread Ignasi Lirio
Hi all,

I am new in this group, so hello to everyone :-)

I want to discuss here about SWFLoader component in Flex 3, and how to
access their contents... programatically.

Just for short:

I have an existing, empty SWFLoader object in my MXML code.

After some time, I just want to populate it using SWFLoader.load()
method with an external SWF movie, that has child MovieClips inside.

Right after call the .load() method, I am insterested (in the same
function) to access its children to move positions, etc. So, if I do
something like:

var myloader:SWFLoader= this.swfload;

and then

myloader.load(shelf2.swf);

and then

myloader.content[s2].alpha=0.3;

It does not work at all. I tried myloader.addEventListener(...) with
several events, does not work.

The only way was to put that myloader.content[s2].alpha... inside
a setTimeout function, to allow SWFLoader to take some time to load.
But you agree with me that this is so dirty.

any ideas? Thanks to everyone!




Re: [flexcoders] load fla file into web UI then edit image inside it

2008-10-31 Thread Tyler Kocheran
Well, first you need to implement some backend programming which will read a
FLA file. You can try opening an FLA file with Notepad or maybe as a ZIP
Archive... I'm not sure which format the FLA type follows, if it even has a
format. Once you 'get in' to the FLA file's contents, you'll have to find
the one you're looking for. After that, you should save it to a file on your
server. Once that's done, send a value to your Flex client containing a link
to the image file/the text. Edit the text, send it back and have middleware
do the saving into the FLA file. Edit the Image, save it as an image with
middleware to your server, then have your middleware insert the edited image
into the FLA file.

Creating a remote Flash IDE is a pretty ambitious task. I'm interested in
what you discover, if you find anything cool, do post back!

On Thu, Oct 30, 2008 at 10:49 PM, vuthecuong [EMAIL PROTECTED] wrote:


 Suppose that I biuld a wab app with php as back-end and flex sitting on
 font-end with porpose to load fla file to display on web UI, then extract
 text and image inside it, edit these text and images, then save back to
 that
 fla file.
 - How can do this with Flex or with anything else?
 I just want to know the general way to get this done.
 regards

 --
 View this message in context:
 http://www.nabble.com/load-fla-file-into-web-UI-then-edit-image-inside-it-tp20260510p20260510.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  




-- 
And do this, knowing the time, that now it is high time to awake out of
sleep;
for now our salvation is nearer than when we first believed.


Re: [flexcoders] web compiler

2008-10-31 Thread jitendra jain
Paul this link will help you 

http://labs.adobe.com/wiki/index.php/Flex_Stress_Testing_Framework
 Thanks,

with Regards,
Jitendra Jain






From: Paul Andrews [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, 31 October, 2008 2:54:05 PM
Subject: Re: [flexcoders] web compiler


 
Jitendra,
 
What specifically is it about dynamic compilation that makes this so useful in 
this kind of application?
 
I'm struggling to get the point!
 
Paul
- Original Message - 
From: jitendra jain 
To: [EMAIL PROTECTED] ups.com 
Sent: Friday, October 31, 2008 7:35 AM
Subject: Re: [flexcoders] web compiler

Paul, Sorry for late reply. I'm using this for load testing.

Thanks,

with Regards,
Jitendra Jain







From: Paul Andrews [EMAIL PROTECTED] com
To: [EMAIL PROTECTED] ups.com
Sent: Saturday, 25 October, 2008 9:28:27 PM
Subject: Re: [flexcoders] web compiler


 
Jitendra,
 
You've never really explained why you need this. Can you tell us?
 
Paul 


  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

Re: [flexcoders] web compiler

2008-10-31 Thread Paul Andrews
Thanks Jitendra.

It's not an article I'd looked at. I'm really still quite surprised that Adobes 
test setup  uses dynamically compiled mxml rather than just precompiled swfs, 
but I suppose there's a reason.

Paul
  - Original Message - 
  From: jitendra jain 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, October 31, 2008 9:36 AM
  Subject: Re: [flexcoders] web compiler


  Paul this link will help you 

  http://labs.adobe.com/wiki/index.php/Flex_Stress_Testing_Framework
   
  Thanks,

  with Regards,
  Jitendra Jain






--
  From: Paul Andrews [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Friday, 31 October, 2008 2:54:05 PM
  Subject: Re: [flexcoders] web compiler


   

  Jitendra,

  What specifically is it about dynamic compilation that makes this so useful 
in this kind of application?

  I'm struggling to get the point!

  Paul
- Original Message - 
From: jitendra jain 
To: [EMAIL PROTECTED] ups.com 
Sent: Friday, October 31, 2008 7:35 AM
Subject: Re: [flexcoders] web compiler


Paul, Sorry for late reply. I'm using this for load testing.


Thanks,

with Regards,
Jitendra Jain








From: Paul Andrews [EMAIL PROTECTED] com
To: [EMAIL PROTECTED] ups.com
Sent: Saturday, 25 October, 2008 9:28:27 PM
Subject: Re: [flexcoders] web compiler


 

Jitendra,

You've never really explained why you need this. Can you tell us?

Paul


--
  Connect with friends all over the world. Get Yahoo! India Messenger.  

Re: [flexcoders] load fla file into web UI then edit image inside it

2008-10-31 Thread Rich Rodecker
supposedly you would be able to do something like that with flash's new file
format, xfl (not with flas):  http://www.moock.org/blog/archives/000269.html
I haven't touched cs4 or heard anything more about xfl so that's all i have
on that.

You *might* be able to pull something off with jsfl, but I think you'd still
need to open the fla in the IDE in order to run the jsfl script.



On Thu, Oct 30, 2008 at 11:46 PM, Tyler Kocheran [EMAIL PROTECTED]wrote:

   Well, first you need to implement some backend programming which will
 read a FLA file. You can try opening an FLA file with Notepad or maybe as a
 ZIP Archive... I'm not sure which format the FLA type follows, if it even
 has a format. Once you 'get in' to the FLA file's contents, you'll have to
 find the one you're looking for. After that, you should save it to a file on
 your server. Once that's done, send a value to your Flex client containing a
 link to the image file/the text. Edit the text, send it back and have
 middleware do the saving into the FLA file. Edit the Image, save it as an
 image with middleware to your server, then have your middleware insert the
 edited image into the FLA file.

 Creating a remote Flash IDE is a pretty ambitious task. I'm interested in
 what you discover, if you find anything cool, do post back!


 On Thu, Oct 30, 2008 at 10:49 PM, vuthecuong [EMAIL PROTECTED]wrote:


 Suppose that I biuld a wab app with php as back-end and flex sitting on
 font-end with porpose to load fla file to display on web UI, then extract
 text and image inside it, edit these text and images, then save back to
 that
 fla file.
 - How can do this with Flex or with anything else?
 I just want to know the general way to get this done.
 regards

 --
 View this message in context:
 http://www.nabble.com/load-fla-file-into-web-UI-then-edit-image-inside-it-tp20260510p20260510.html
 Sent from the FlexCoders mailing list archive at Nabble.com.




 --
 And do this, knowing the time, that now it is high time to awake out of
 sleep;
 for now our salvation is nearer than when we first believed.

  



Re: [flexcoders] need your advice on flash or flex

2008-10-31 Thread Tom Chiverton
On Friday 31 Oct 2008, vuthecuong wrote:
 option. But tenically can I
 load fla file into web UI (using php+SQL) then modify text and image embed
 into that fla file (using imagemagick + flex)?
 thanks and regards,

AFAIK you can't edit .fla files with those two tools.
You'll need to use (run time) style sheets and a smidge of data binding.

-- 
Tom Chiverton
Helping to collaboratively engineer industry-wide customers





This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search 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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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 htmlText component

2008-10-31 Thread brucewhealton
Hello all,
 I thought I could use the Accordion panel to nicely layout a
collection of poems.  The problem is getting the poetry to layout on
the page right.  I sure could use some tips on this.  I have an
Accordion wrapped in a Panel container.  That's not the issue.  The
issue is the actual text block that holds the text of the poems.
  I have in mind either:
mx:Text
 mx:text
  Line 1,
  Line 2...
  ...
  /mx:text
/mx:Text
or
mx:Text
 mx:htmlText
  ![CDATA[
  Line 1,
  Line 2...
  ...]]
  /mx:htmlText
/mx:Text
Neither of these really works so well.  When you use the CDATA block,
well, it counts every space, whereas regular html would ignore the
extra spaces.  Theoretically, this is doable but it would be very
sloppy.  I'd have to run it all together like this:  
Line 1br/Line 2br /Text for line 3br/..
Even that doesn't work because as soon as you hit the return key, that
throws off the formatting and layout.

Using the first option makes it impossible to have any control over
how the lines break.  Using the regular text tag runs everything
together as a paragraph.

So, far, as I thought of this, it seems that the only option is to put
the text of the poem into an image.  So, then I'd have inside each
accordion panel an image or two images that contain the text of the
poems (two images if I wanted two columns for the display of the poem.

Can anyone think of anything else or any other ideas for this?  I'm
open to other suggestions for laying out a poem in Flex.  
I saw this FlexBook that gave me this idea.  The FlexBook would take
some time to accomplish so I thought I'd try something easier first as
I'm still new and want to add to my skills and accomplishments in
Flex.  In that FlexBook, it seems that every page is an image.  So,
maybe that is how you have to layout pages of text when you want it to
look just so.

I do welcome suggestions as to how I might approach this.

Thanks,
Bruce

Bruce Whealton



Re: [flexcoders] web compiler

2008-10-31 Thread jitendra jain
The constructor for the LCDSTestManager class takes a String that
uniquely identifies the application/browser instance. When the Test
Admin application calls the browser server, it passes the URL of the
MXML test application to the browser server. The Test Admin application
also passes a unique ID that identifies the application instance as a
request parameter at the end of the URL. The following URL is an
example of a URL passed to the browser server: 

http://localhost:8400/lcds/DSStress/samples/simpleLoadTest.mxml?id=localhost:(0)

 
When the web browser loads the MXML test application, the
request parameter id is passed into the compiled SWF file and can be
found on the Application.application.parameters Object. The ID is
retrieved from Application.application.parameters.id and then passed in
the constructor for the LCDSTestManager. 
 Thanks,

with Regards,
Jitendra Jain







From: Paul Andrews [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, 31 October, 2008 4:42:46 PM
Subject: Re: [flexcoders] web compiler


 
Thanks Jitendra.
 
It's not an article I'd looked at. I'm really still 
quite surprised that Adobes test setup  uses dynamically compiled mxml 
rather than just precompiled swfs, but I suppose there's a reason.
 
Paul
- Original Message - 
From: jitendra jain 
To: [EMAIL PROTECTED] ups.com 
Sent: Friday, October 31, 2008 9:36  AM
Subject: Re: [flexcoders] web  compiler

Paul this link will help you 
 
http://labs. adobe.com/ wiki/index. php/Flex_ Stress_Testing_ Framework
 Thanks,

with  Regards,
Jitendra  Jain






 From: Paul Andrews [EMAIL PROTECTED] .com
To: [EMAIL PROTECTED] ups.com
Sent: Friday, 31 October, 2008 2:54:05  PM
Subject: Re: [flexcoders]  web compiler


 
Jitendra,
 
What specifically is it about dynamic compilation  that makes this so useful in 
this kind of application?
 
I'm struggling to get the point!
 
Paul
- Original Message - 
From: jitendra jain 
To: [EMAIL PROTECTED] ups.com 
Sent: Friday, October 31, 2008 7:35  AM
Subject: Re: [flexcoders] web  compiler

Paul,  Sorry for late reply. I'm using this for load testing.

 Thanks,

with  Regards,
Jitendra  Jain

 





 From: Paul Andrews [EMAIL PROTECTED] com
To: [EMAIL PROTECTED]  ups.com
Sent: Saturday,  25 October, 2008 9:28:27 PM
Subject: Re: [flexcoders] web  compiler


 
Jitendra,
 
You've never really explained why you need  this. Can you tell us?
 
Paul

 Connect with friends all over the world. Get  Yahoo! India Messenger.  


  Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/

Re: [flexcoders] web compiler

2008-10-31 Thread Paul Andrews
- Original Message - 
  From: jitendra jain 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, October 31, 2008 1:26 PM
  Subject: Re: [flexcoders] web compiler


  The constructor for the LCDSTestManager class takes a String that uniquely 
identifies the application/browser instance. When the Test Admin application 
calls the browser server, it passes the URL of the MXML test application to the 
browser server. The Test Admin application also passes a unique ID that 
identifies the application instance as a request parameter at the end of the 
URL. The following URL is an example of a URL passed to the browser server: 




  
http://localhost:8400/lcds/DSStress/samples/simpleLoadTest.mxml?id=localhost:(0)







  When the web browser loads the MXML test application, the request parameter 
id is passed into the compiled SWF file and can be found on the 
Application.application.parameters Object. The ID is retrieved from 
Application.application.parameters.id and then passed in the constructor for 
the LCDSTestManager.



Why couldn't this just be acheived using a pre-compiled swf?


  Thanks,

  with Regards,
  Jitendra Jain







--
  From: Paul Andrews [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Friday, 31 October, 2008 4:42:46 PM
  Subject: Re: [flexcoders] web compiler


   

  Thanks Jitendra.

  It's not an article I'd looked at. I'm really still quite surprised that 
Adobes test setup  uses dynamically compiled mxml rather than just precompiled 
swfs, but I suppose there's a reason.

  Paul
- Original Message - 
From: jitendra jain 
To: [EMAIL PROTECTED] ups.com 
Sent: Friday, October 31, 2008 9:36 AM
Subject: Re: [flexcoders] web compiler


Paul this link will help you 

http://labs. adobe.com/ wiki/index. php/Flex_ Stress_Testing_ Framework
 
Thanks,

with Regards,
Jitendra Jain







From: Paul Andrews [EMAIL PROTECTED] .com
To: [EMAIL PROTECTED] ups.com
Sent: Friday, 31 October, 2008 2:54:05 PM
Subject: Re: [flexcoders] web compiler


 

Jitendra,

What specifically is it about dynamic compilation that makes this so useful 
in this kind of application?

I'm struggling to get the point!

Paul
  - Original Message - 
  From: jitendra jain 
  To: [EMAIL PROTECTED] ups.com 
  Sent: Friday, October 31, 2008 7:35 AM
  Subject: Re: [flexcoders] web compiler


  Paul, Sorry for late reply. I'm using this for load testing..


  Thanks,

  with Regards,
  Jitendra Jain







--
  From: Paul Andrews [EMAIL PROTECTED] com
  To: [EMAIL PROTECTED] ups.com
  Sent: Saturday, 25 October, 2008 9:28:27 PM
  Subject: Re: [flexcoders] web compiler


   

  Jitendra,

  You've never really explained why you need this. Can you tell us?

  Paul



Connect with friends all over the world. Get Yahoo! India Messenger. 


--
  Add more friends to your messenger and enjoy! Invite them now..  

Re: [flexcoders] web compiler

2008-10-31 Thread Paul Andrews
- Original Message - 
  From: Paul Andrews 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, October 31, 2008 1:37 PM
  Subject: Re: [flexcoders] web compiler


   
  - Original Message - 
From: jitendra jain 
To: flexcoders@yahoogroups.com 
Sent: Friday, October 31, 2008 1:26 PM
Subject: Re: [flexcoders] web compiler


The constructor for the LCDSTestManager class takes a String that uniquely 
identifies the application/browser instance. When the Test Admin application 
calls the browser server, it passes the URL of the MXML test application to the 
browser server. The Test Admin application also passes a unique ID that 
identifies the application instance as a request parameter at the end of the 
URL. The following URL is an example of a URL passed to the browser server: 





http://localhost:8400/lcds/DSStress/samples/simpleLoadTest.mxml?id=localhost:(0)







When the web browser loads the MXML test application, the request parameter 
id is passed into the compiled SWF file and can be found on the 
Application.application.parameters Object. The ID is retrieved from 
Application.application.parameters.id and then passed in the constructor for 
the LCDSTestManager.



  Why couldn't this just be acheived using a pre-compiled swf?

I suppose it's just a convenience setup for a server environment that may not 
have standard flash build environment in place. I think I've probably flogged 
this horse enough now.

Thanks Jitendra.

Paul


Thanks,

with Regards,
Jitendra Jain








From: Paul Andrews [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, 31 October, 2008 4:42:46 PM
Subject: Re: [flexcoders] web compiler


 

Thanks Jitendra.

It's not an article I'd looked at. I'm really still quite surprised that 
Adobes test setup  uses dynamically compiled mxml rather than just precompiled 
swfs, but I suppose there's a reason.

Paul
  - Original Message - 
  From: jitendra jain 
  To: [EMAIL PROTECTED] ups.com 
  Sent: Friday, October 31, 2008 9:36 AM
  Subject: Re: [flexcoders] web compiler


  Paul this link will help you 

  http://labs. adobe.com/ wiki/index. php/Flex_ Stress_Testing_ Framework
   
  Thanks,

  with Regards,
  Jitendra Jain






--
  From: Paul Andrews [EMAIL PROTECTED] .com
  To: [EMAIL PROTECTED] ups.com
  Sent: Friday, 31 October, 2008 2:54:05 PM
  Subject: Re: [flexcoders] web compiler


   

  Jitendra,

  What specifically is it about dynamic compilation that makes this so 
useful in this kind of application?

  I'm struggling to get the point!

  Paul
- Original Message - 
From: jitendra jain 
To: [EMAIL PROTECTED] ups.com 
Sent: Friday, October 31, 2008 7:35 AM
Subject: Re: [flexcoders] web compiler


Paul, Sorry for late reply. I'm using this for load testing..


Thanks,

with Regards,
Jitendra Jain








From: Paul Andrews [EMAIL PROTECTED] com
To: [EMAIL PROTECTED] ups.com
Sent: Saturday, 25 October, 2008 9:28:27 PM
Subject: Re: [flexcoders] web compiler


 

Jitendra,

You've never really explained why you need this. Can you tell us?

Paul


--
  Connect with friends all over the world. Get Yahoo! India Messenger. 



Add more friends to your messenger and enjoy! Invite them now.. 

[flexcoders] AdvancedDataGrid update problems

2008-10-31 Thread kallebertell

I'm facing a problem where an advanced data grid (adg) with a
hierarchical collection (~500-1000 rows) doesn't redraw properly after
sorting is applied to the underlying collection. 

The fun bit is that it isn't reproduceable. The occurance seems to be
completely random but somehow related to sorting, as it seems to rear
it's head only then (but not always).

Scrolling after the adg is messed up doesn't improve it either, but at
some point causes null reference exceptions onMouseRollOver. 

The advanced data grid is in a minimiziable container. If the
container is minimized and then restored, the adg looks normal again
(ie. redraws correctly).

Although this rarely happens on my dev machine it happens more often
for our customers, which might indicate that it's more frequent on
slower machines.

I'm looking for any clue or people who have also experienced this
weird behaviour in adg.

Thanks.





[flexcoders] Re: What the heck am I doing wrong with my GroupingCollection?

2008-10-31 Thread Mark
I'm still looking for some help with this one.  I received a little 
direction on the Adobe board but I'm still confused and am still 
obviously doing it wrong.

Here is what the structure of the ADG should look like to the user:

Person Name (column 1)
   Project Name (column 1)
 Date (column 2) - pHours (column 3) - aHours(column 4)
 Date (column 2) - pHours (column 3) - aHours(column 4)
 Date (column 2) - pHours (column 3) - aHours(column 4)
   Project Name (column 1)
 Date (column 2) - pHours (column 3) - aHours(column 4)
Person Name (column 1)...

And Here is the associated MXML and ActionScript for the 
compareFuntion.  But I can't seem to find where to put that compare 
function to keep my current structure to just order the projects by 
date.  I'd really some some adivice here.

mx:AdvancedDataGrid id=myADG width=100% height=100% 
initialize=gcPerson.refresh()
 folderClosedIcon={null} folderOpenIcon={null} 
disclosureClosedIcon={plus} disclosureOpenIcon={minus}
 horizontalGridLines=true 
horizontalGridLineColor=#CC dataProvider={gcPerson} 
mx:groupedColumns
mx:AdvancedDataGridColumn sortable=false 
headerText=Name/Project/
mx:AdvancedDataGridColumn sortable=false 
headerText=Date labelFunction=myDateFormat/
mx:AdvancedDataGridColumnGroup sortable=false 
headerText=Project Hours
mx:AdvancedDataGridColumn sortable=false 
dataField=projectedHours headerText=Projected Hours/
mx:AdvancedDataGridColumn sortable=false 
dataField=actualHours headerText=Actual Hours/
/mx:AdvancedDataGridColumnGroup
/mx:groupedColumns

mx:rendererProviders
mx:AdvancedDataGridRendererProvider 
dataField=summaryPro depth=3 columnSpan=1 columnIndex=2 
renderer=myComponents.SumProjectedRenderer/
mx:AdvancedDataGridRendererProvider 
dataField=summary depth=3 columnSpan=1 columnIndex=3 
renderer=myComponents.SumRenderer/

/mx:rendererProviders
/mx:AdvancedDataGrid
!-- 
////
//   GROUP BY //
//   PERSON   //
////
--
mx:GroupingCollection id=gcPerson source={myData2} 
mx:grouping
mx:Grouping
mx:GroupingField name=name/
mx:GroupingField name=title
mx:SummaryRow summaryPlacement=group
mx:fields
mx:SummaryField operation=COUNT 
dataField=title /
/mx:fields
/mx:SummaryRow
mx:SummaryRow summaryPlacement=last
mx:fields
mx:SummaryField operation=SUM 
dataField=projectedHours label=summaryPro /
mx:SummaryField operation=SUM 
dataField=actualHours label=summary /  

/mx:fields
/mx:SummaryRow
/mx:GroupingField
/mx:Grouping
/mx:grouping
/mx:GroupingCollection

//
private function getMonth(a:Object, b:Object, fields:Array=null):int{
if (a.month==b.month)return 0;
if (a.month  b.month) {
return 1;
} else {
return -1;
}
}



RE: [flexcoders] Flex htmlText component

2008-10-31 Thread Keith Reinfeld
Give 

mx:Text condenseWhite=true 

a try.

 

Regards, 

-Keith 
http://keithreinfeld.home.comcast.net
http://keithreinfeld.home.comcast.net/ 
 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of brucewhealton
Sent: Friday, October 31, 2008 4:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex htmlText component

 

Hello all,
I thought I could use the Accordion panel to nicely layout a
collection of poems. The problem is getting the poetry to layout on
the page right. I sure could use some tips on this. I have an
Accordion wrapped in a Panel container. That's not the issue. The
issue is the actual text block that holds the text of the poems.
I have in mind either:
mx:Text
mx:text
Line 1,
Line 2...
...
/mx:text
/mx:Text
or
mx:Text
mx:htmlText
![CDATA[
Line 1,
Line 2...
...]]
/mx:htmlText
/mx:Text
Neither of these really works so well. When you use the CDATA block,
well, it counts every space, whereas regular html would ignore the
extra spaces. Theoretically, this is doable but it would be very
sloppy. I'd have to run it all together like this: 
Line 1br/Line 2br /Text for line 3br/..
Even that doesn't work because as soon as you hit the return key, that
throws off the formatting and layout.

Using the first option makes it impossible to have any control over
how the lines break. Using the regular text tag runs everything
together as a paragraph.

So, far, as I thought of this, it seems that the only option is to put
the text of the poem into an image. So, then I'd have inside each
accordion panel an image or two images that contain the text of the
poems (two images if I wanted two columns for the display of the poem.

Can anyone think of anything else or any other ideas for this? I'm
open to other suggestions for laying out a poem in Flex. 
I saw this FlexBook that gave me this idea. The FlexBook would take
some time to accomplish so I thought I'd try something easier first as
I'm still new and want to add to my skills and accomplishments in
Flex. In that FlexBook, it seems that every page is an image. So,
maybe that is how you have to layout pages of text when you want it to
look just so.

I do welcome suggestions as to how I might approach this.

Thanks,
Bruce

Bruce Whealton

 



[flexcoders] Re: UI component, a set function creationComplete

2008-10-31 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 I know I shouldn't step in here, but I'd like to ask for a cease-
fire.
 
 Faithful Flex developers may know that Amy was the guinea pig for 
Gordon and my first article in Flex Authority magazine where we 
discussed the component lifecycle at length.  It makes me happy to 
see that Amy has absorbed the ins and outs of the lifecycle and is 
now one of our top evangelists for how to use it.  Michael has been 
providing expert advice on this forum for quite a while now, and I 
have seldom seen technical errors in his postings.
 
 The lifecycle is a set of rules and there are exceptions to every 
rule.  I would bet that Michael has figured out where he can bend the 
rules successfully and isn't just being lucky, but others of you may 
want to just follow the rules.  The original poster and others are 
encouraged to get their hands on a copy of Flex Authority and 
familiarize themselves with the lifecycle.
 
 Personally, I use createChildren to create any children I know I'm 
going to need.  Everything else is created later depending on when I 
know enough about which ones and how many to make.  ItemRenderers are 
created as late as updateDisplayList because that's when we know how 
many we need.

Not to belabor the point, but I've extended a couple of components in 
ways where I needed access to the itemRenderers.  And I'd argue that 
it would be flat impossible if you didn't make the source code 
available.  Often you have to go up the inheritance chain several 
times to find the function that will work.  Of course, a large part 
of the issue is that the freshly created itemRenderer is usually 
stored in a private variable, so even if there was a way to move the 
code that creates them to createChildren, it wouldn't help much.  :-)



[flexcoders] Re: load fla file into web UI then edit image inside it

2008-10-31 Thread valdhor
About the only way I could see this happening is using MacOS X as your
server platform.

You could have Flash CS4 running and use AppleScript to control it.
(You can exec AppleScript scripts from PHP).


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

 supposedly you would be able to do something like that with flash's
new file
 format, xfl (not with flas): 
http://www.moock.org/blog/archives/000269.html
 I haven't touched cs4 or heard anything more about xfl so that's all
i have
 on that.
 
 You *might* be able to pull something off with jsfl, but I think
you'd still
 need to open the fla in the IDE in order to run the jsfl script.
 
 
 
 On Thu, Oct 30, 2008 at 11:46 PM, Tyler Kocheran [EMAIL PROTECTED]wrote:
 
Well, first you need to implement some backend programming which
will
  read a FLA file. You can try opening an FLA file with Notepad or
maybe as a
  ZIP Archive... I'm not sure which format the FLA type follows, if
it even
  has a format. Once you 'get in' to the FLA file's contents, you'll
have to
  find the one you're looking for. After that, you should save it to
a file on
  your server. Once that's done, send a value to your Flex client
containing a
  link to the image file/the text. Edit the text, send it back and have
  middleware do the saving into the FLA file. Edit the Image, save
it as an
  image with middleware to your server, then have your middleware
insert the
  edited image into the FLA file.
 
  Creating a remote Flash IDE is a pretty ambitious task. I'm
interested in
  what you discover, if you find anything cool, do post back!
 
 
  On Thu, Oct 30, 2008 at 10:49 PM, vuthecuong [EMAIL PROTECTED]wrote:
 
 
  Suppose that I biuld a wab app with php as back-end and flex
sitting on
  font-end with porpose to load fla file to display on web UI, then
extract
  text and image inside it, edit these text and images, then save
back to
  that
  fla file.
  - How can do this with Flex or with anything else?
  I just want to know the general way to get this done.
  regards
 
  --
  View this message in context:
 
http://www.nabble.com/load-fla-file-into-web-UI-then-edit-image-inside-it-tp20260510p20260510.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
  --
  And do this, knowing the time, that now it is high time to awake
out of
  sleep;
  for now our salvation is nearer than when we first believed.
 
   
 





[flexcoders] Custom log

2008-10-31 Thread templeavenue
hi.. I'd like to create a custom log...but I am kinda stuck now ( I
have read some tutorials for custom but it's a little different than
what I want). Basically, I want to customize so that I can do like this
myLog.getLogger(someFilterWebService).info(arg1,arg2)
it's going to write to the server. and I want to specify the log file
name and the message.
I got the customize target done. But in order to do info(arg1,arg2) I
need to override lots of methods in mx.logging
At this moment the problem is that I need to have my own log event ; I
did extends the LogEvent but I don't know how or where to create the
eventlistener for my own log event (and how to define the type event
for my own log event). any help will be appreciated thanks..




[flexcoders] Re: New to ItemRenderers

2008-10-31 Thread Tim Hoff

On the list tag, variableRowHeight=true;

-TH

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

 I'm trying to create a simple List-based application to try and learn
more
 about ItemRenderers. How do I make my ItemRenderer automatically size
to fit
 whatever is inside of it? Right now I've got this as my ItemRenderer:
 mx:VBox
 mx:Text text={data.label} width=100%/
 /mx:VBox

 I'm not necessarily going to know the amount of text loaded into a
list item
 until runtime. It seems that my list component is confining each of
its
 items to a certain fixed height. Can I change this?

 - TK

 --
 And do this, knowing the time, that now it is high time to awake out
of
 sleep;
 for now our salvation is nearer than when we first believed.






Re: [flexcoders] Custom log

2008-10-31 Thread Paul Andrews
If you just want to write messages to a server log, couldn't you just make 
your own standalone class rather than bother extending anything else?

Paul

- Original Message - 
From: templeavenue [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, October 31, 2008 3:22 PM
Subject: [flexcoders] Custom log


 hi.. I'd like to create a custom log...but I am kinda stuck now ( I
 have read some tutorials for custom but it's a little different than
 what I want). Basically, I want to customize so that I can do like this
 myLog.getLogger(someFilterWebService).info(arg1,arg2)
 it's going to write to the server. and I want to specify the log file
 name and the message.
 I got the customize target done. But in order to do info(arg1,arg2) I
 need to override lots of methods in mx.logging
 At this moment the problem is that I need to have my own log event ; I
 did extends the LogEvent but I don't know how or where to create the
 eventlistener for my own log event (and how to define the type event
 for my own log event). any help will be appreciated thanks..



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
 Links






Re: [flexcoders] Custom log

2008-10-31 Thread Nate Beck
I second Paul.  This seems like an entirely new implementation of logging.
 I've done something very similar that what your wanting to do.
Let me see if I can dig up that code.

Cheers,
Nate

On Fri, Oct 31, 2008 at 9:21 AM, Paul Andrews [EMAIL PROTECTED] wrote:

   If you just want to write messages to a server log, couldn't you just
 make
 your own standalone class rather than bother extending anything else?

 Paul


 - Original Message -
 From: templeavenue [EMAIL PROTECTED] templeavenue%40yahoo.com
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Sent: Friday, October 31, 2008 3:22 PM
 Subject: [flexcoders] Custom log

  hi.. I'd like to create a custom log...but I am kinda stuck now ( I
  have read some tutorials for custom but it's a little different than
  what I want). Basically, I want to customize so that I can do like this
  myLog.getLogger(someFilterWebService).info(arg1,arg2)
  it's going to write to the server. and I want to specify the log file
  name and the message.
  I got the customize target done. But in order to do info(arg1,arg2) I
  need to override lots of methods in mx.logging
  At this moment the problem is that I need to have my own log event ; I
  did extends the LogEvent but I don't know how or where to create the
  eventlistener for my own log event (and how to define the type event
  for my own log event). any help will be appreciated thanks..
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location:
 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
  Links
 
 
 

  



[flexcoders] Center Checkbox in DG Column

2008-10-31 Thread markgoldin_2000
I am trying to get a checkbox working properly in my DG column when 
it's placed in a HBox in order to center the checkbox. 
I am overriding a few functions in the checkbox but none of them gets 
any hit. Do I need also override something in the HBox container?


Thanks for help.




[flexcoders] Re: finding out if a child is in view with the current scroll location of a Canvas

2008-10-31 Thread Aaron Miller
Is it to early to bump? I'm sure this is a common procedure, I'm just kind
of new to display level programming. How would one go about pragmatically
scrolling a Canvas until one of it's children is in view? I know how to do
the rest, I just don't know how to find when the child is in view.

Thanks for your time!
~Aaron

On Wed, Oct 29, 2008 at 7:14 PM, Aaron Miller 
[EMAIL PROTECTED] wrote:

 Hello,
 I am trying to figure out which portion of a Canvas is in view (as in the
 scrolled to location), then figure out if one of it's children is in that
 area. In other words, I want to find out if a child object is in view, and
 if not, scroll the Canvas until it is. I was looking over the Canvas methods
 in the docs, but nothing jumps out at me. What's the standard practice for
 this?


 Thanks!
 ~Aaron



[flexcoders] Re: finding out if a child is in view with the current scroll location of a Canvas

2008-10-31 Thread Tim Hoff

Hi Aaron,

If you kow the index of the canvas child that you want to scroll to,
something like this will work:

myCanvas.verticalScrollPosition = myCanvas.getChildAt(myChildIndex).y;

-TH

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

 Is it to early to bump? I'm sure this is a common procedure, I'm just
kind
 of new to display level programming. How would one go about
pragmatically
 scrolling a Canvas until one of it's children is in view? I know how
to do
 the rest, I just don't know how to find when the child is in view.

 Thanks for your time!
 ~Aaron

 On Wed, Oct 29, 2008 at 7:14 PM, Aaron Miller 
 [EMAIL PROTECTED] wrote:

  Hello,
  I am trying to figure out which portion of a Canvas is in view (as
in the
  scrolled to location), then figure out if one of it's children is in
that
  area. In other words, I want to find out if a child object is in
view, and
  if not, scroll the Canvas until it is. I was looking over the Canvas
methods
  in the docs, but nothing jumps out at me. What's the standard
practice for
  this?
 
 
  Thanks!
  ~Aaron
 





[flexcoders] unable to open services-config.xml

2008-10-31 Thread creativepragmatic
Hello Everyone,

I get the following error:

unable to open '/home/demo1/tomcat/webapps/blazeds/WEB-
INF/flex/services-config.xml'


I understand that this is being caused by the additional compiler 
argument:

-services /home/demo1/tomcat/webapps/blazeds/WEB-INF/flex/services-
config.xml -locale en_US


I am developing on Windows machine to deploy on a remote Linux server 
that cannot be accessed locally.  Does anybody know of a way to work 
around this?

Thanks in advance for any insight or assistance,

Orville



RE: [flexcoders] SWFLoader: access its contents right away

2008-10-31 Thread Alex Harui
The complete event tells you when the load is complete.  All SWFLoader loads 
from the network are asynchronous.  You'll always have to wait to access the 
data

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ignasi 
Lirio
Sent: Thursday, October 30, 2008 2:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SWFLoader: access its contents right away


Hi all,

I am new in this group, so hello to everyone :-)

I want to discuss here about SWFLoader component in Flex 3, and how to
access their contents... programatically.

Just for short:

I have an existing, empty SWFLoader object in my MXML code.

After some time, I just want to populate it using SWFLoader.load()
method with an external SWF movie, that has child MovieClips inside.

Right after call the .load() method, I am insterested (in the same
function) to access its children to move positions, etc. So, if I do
something like:

var myloader:SWFLoader= this.swfload;

and then

myloader.load(shelf2.swf);

and then

myloader.content[s2].alpha=0.3;

It does not work at all. I tried myloader.addEventListener(...) with
several events, does not work.

The only way was to put that myloader.content[s2].alpha... inside
a setTimeout function, to allow SWFLoader to take some time to load.
But you agree with me that this is so dirty.

any ideas? Thanks to everyone!



Re: [flexcoders] Re: New to ItemRenderers

2008-10-31 Thread Tyler Kocheran
Thanks, that's exactly what I needed!

On Fri, Oct 31, 2008 at 9:21 AM, Tim Hoff [EMAIL PROTECTED] wrote:


 On the list tag, variableRowHeight=true;

 -TH

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tyler
 Kocheran [EMAIL PROTECTED]
 wrote:

 
  I'm trying to create a simple List-based application to try and learn
 more
  about ItemRenderers. How do I make my ItemRenderer automatically size
 to fit
  whatever is inside of it? Right now I've got this as my ItemRenderer:
  mx:VBox
  mx:Text text={data.label} width=100%/
  /mx:VBox
 
  I'm not necessarily going to know the amount of text loaded into a
 list item
  until runtime. It seems that my list component is confining each of
 its
  items to a certain fixed height. Can I change this?
 
  - TK
 
  --
  And do this, knowing the time, that now it is high time to awake out
 of
  sleep;
  for now our salvation is nearer than when we first believed.
 

  




-- 
And do this, knowing the time, that now it is high time to awake out of
sleep;
for now our salvation is nearer than when we first believed.


[flexcoders] Re: Flex htmlText component

2008-10-31 Thread Amy
--- In flexcoders@yahoogroups.com, Keith Reinfeld [EMAIL PROTECTED] 
wrote:

 Give 
 
 mx:Text condenseWhite=true 

You also might want to use a dataGrid with the vertical and horizontal 
separators hidden and use a labelFunction in the first column to show 
the index of the line within the collection of lines.

When I use this kind of construction, I just use one List based 
component and move it around between the different children of the 
Accordion as the Accordion changes.  I have an example of this at my 
blog if you're interested.

HTH;

Amy



Re: [flexcoders] rollOut event

2008-10-31 Thread Richard Rodseth
Target is the pod (the window-like thingy) and related object is the
application.

The pod is based on VBox and the title is currently an HBox with link
buttons and a spacer. As a test, I gave the HBox title a fixed height, and
the leavePod handler fires when moving off the info LinkButton in any
direction (i.e. into the HBox gaps/padding).

Any way to avoid that?



On Thu, Oct 30, 2008 at 8:02 PM, Alex Harui [EMAIL PROTECTED] wrote:

Examine the event's target and relatedObject properties to see where it
 thinks it is going



 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Richard Rodseth
 *Sent:* Thursday, October 30, 2008 12:12 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] rollOut event



 I have a window-like MXML component with a title bar (currently done with
 VBoxes and HBoxes) and a content area (a Canvas). Rolling over an info icon
 in the tile bar causes another component to be overlaid (made visible) in
 the content area.

 I used rollOver on the info button to make the overlay visible, and I added
 a rollOut on the root (window-like) component and on the overlay itself to
 hide the overlay. The puzzling thing is that the root-level rollOut fires
 when I move the cursor out of the info icon to the right (remaining within
 the title bar), but not when I move down towards the content area and
 overlay (even with a gap between the title bar and overlay top). This is
 actually not a terrible thing, user-experience-wise, but it's not what I
 expected. Any ideas what's going on?

 Thanks.

   



[flexcoders] Flash player 10 required for my swf?

2008-10-31 Thread ivo
Hello all,

I had been getting reports from users that my widget swf was displaying the 
dialog This content requires Adobe Flash Player 10 but I could not reproduce 
it. I run and develop with Flash Player 9 installed. Other users that only had 
Flash player 9 installed also could run it without any problems.

This morning I did a few changes to the widget, basically I embedded image 
resources at compile time rather than load them over the web at runtime. On the 
next debug run after the changes I started seeing the same dialog. I rolled 
back the changes but the dialog stays. The only way I was able to get the 
dialog to dissapear was to modify the html-template/index.template.html, remove 
the 'Flash Player Version Detection' Javascript and have just the embed code 
with the proper template tokens.  The index.template.html tokens for 
${version_major} ${version_minor} ${version_revision} always output 9 0 124 as 
expected. Not sure what criteria the 'Flash Player Version Detection' 
javascript is following.

I am building my app using Flex Builder but its a Pure AS3 project, only 
Sprites and the Graphic object are used and the SDK is 3.1.

I have distributed the html with the ''Flash Player Version Detection' along 
with my widget and I am now wondering how many users are seeing the dialog and 
not bothering to run the update.

Is the lesson here not to use the 'Flash Player Version Detection' that ships 
with Flex Builder ? or am I running into a bug?

Thanks,

- Ivo



[flexcoders] Re: textArea.setFocus();

2008-10-31 Thread valdhor
Bug has been filed.

I would appreciate some votes so we can get some attention to this.


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

 I think you can open bugs against the Flash Player now, so I would
do that, and reference this bug
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of valdhor
 Sent: Thursday, October 30, 2008 9:06 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: textArea.setFocus();
 
 
 I found this bug in Jira:
 
 https://bugs.adobe.com/jira/browse/FB-429
 
 It's been around since March of 06. Should we just vote on this one or
 create a new bug entry?
 
 --- In
flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex
Harui aharui@ wrote:
 
  I believe the Java browser plug-ins don't have this problem so it
 might be worth filing a bug and collection votes.





[flexcoders] Re: textArea.setFocus();

2008-10-31 Thread valdhor
Bug has been filed.

I would appreciate some votes so we can get some attention to this.

https://bugs.adobe.com/jira/browse/FP-879

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

 I think you can open bugs against the Flash Player now, so I would
do that, and reference this bug
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of valdhor
 Sent: Thursday, October 30, 2008 9:06 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: textArea.setFocus();
 
 
 I found this bug in Jira:
 
 https://bugs.adobe.com/jira/browse/FB-429
 
 It's been around since March of 06. Should we just vote on this one or
 create a new bug entry?
 
 --- In
flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex
Harui aharui@ wrote:
 
  I believe the Java browser plug-ins don't have this problem so it
 might be worth filing a bug and collection votes.





Re: [flexcoders] Flash player 10 required for my swf?

2008-10-31 Thread Daniel Freiman
I think the detection script checks to see if you have the required
version.  If you don't, then it will tell you that you need the most
recently released version of Flash regardless of what version the wrapper
actually requires.  This does cause confusion form a troubleshooting
standpoint, but I'm guessing the reason is that adobe did this is that users
would be more confused if it told them they needed flash 9 and gave them
flash 10.  Better to confuse the developers than the end user?

- Daniel

On Fri, Oct 31, 2008 at 2:41 PM, ivo [EMAIL PROTECTED] wrote:

   Hello all,

 I had been getting reports from users that my widget swf was displaying the
 dialog This content requires Adobe Flash Player 10 but I could not
 reproduce it. I run and develop with Flash Player 9 installed. Other users
 that only had Flash player 9 installed also could run it without any
 problems.

 This morning I did a few changes to the widget, basically I embedded image
 resources at compile time rather than load them over the web at runtime. On
 the next debug run after the changes I started seeing the same dialog. I
 rolled back the changes but the dialog stays. The only way I was able to get
 the dialog to dissapear was to modify the html-template/index.template.html,
 remove the 'Flash Player Version Detection' Javascript and have just the
 embed code with the proper template tokens. The index.template.html tokens
 for ${version_major} ${version_minor} ${version_revision} always output 9 0
 124 as expected. Not sure what criteria the 'Flash Player Version Detection'
 javascript is following.

 I am building my app using Flex Builder but its a Pure AS3 project, only
 Sprites and the Graphic object are used and the SDK is 3.1.

 I have distributed the html with the ''Flash Player Version Detection'
 along with my widget and I am now wondering how many users are seeing the
 dialog and not bothering to run the update.

 Is the lesson here not to use the 'Flash Player Version Detection' that
 ships with Flex Builder ? or am I running into a bug?

 Thanks,

 - Ivo

  



RE: [flexcoders] rollOut event

2008-10-31 Thread Alex Harui
Most containers have no backgrounds so the mouse falls through to what is below 
it.  Set a background on the container(s)

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard 
Rodseth
Sent: Friday, October 31, 2008 11:34 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] rollOut event


Target is the pod (the window-like thingy) and related object is the 
application.

The pod is based on VBox and the title is currently an HBox with link buttons 
and a spacer. As a test, I gave the HBox title a fixed height, and the leavePod 
handler fires when moving off the info LinkButton in any direction (i.e. into 
the HBox gaps/padding).

Any way to avoid that?


On Thu, Oct 30, 2008 at 8:02 PM, Alex Harui [EMAIL PROTECTED]mailto:[EMAIL 
PROTECTED] wrote:

Examine the event's target and relatedObject properties to see where it thinks 
it is going



From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com] On 
Behalf Of Richard Rodseth
Sent: Thursday, October 30, 2008 12:12 PM
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: [flexcoders] rollOut event



I have a window-like MXML component with a title bar (currently done with 
VBoxes and HBoxes) and a content area (a Canvas). Rolling over an info icon in 
the tile bar causes another component to be overlaid (made visible) in the 
content area.

I used rollOver on the info button to make the overlay visible, and I added a 
rollOut on the root (window-like) component and on the overlay itself to hide 
the overlay. The puzzling thing is that the root-level rollOut fires when I 
move the cursor out of the info icon to the right (remaining within the title 
bar), but not when I move down towards the content area and overlay (even with 
a gap between the title bar and overlay top). This is actually not a terrible 
thing, user-experience-wise, but it's not what I expected. Any ideas what's 
going on?

Thanks.




Re: [flexcoders] rollOut event

2008-10-31 Thread Richard Rodseth
Ah! Just what I needed. Works like a charm. Thanks.

On Fri, Oct 31, 2008 at 12:19 PM, Alex Harui [EMAIL PROTECTED] wrote:

Most containers have no backgrounds so the mouse falls through to what
 is below it.  Set a background on the container(s)



 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Richard Rodseth
 *Sent:* Friday, October 31, 2008 11:34 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] rollOut event



 Target is the pod (the window-like thingy) and related object is the
 application.

 The pod is based on VBox and the title is currently an HBox with link
 buttons and a spacer. As a test, I gave the HBox title a fixed height, and
 the leavePod handler fires when moving off the info LinkButton in any
 direction (i.e. into the HBox gaps/padding).

 Any way to avoid that?


  On Thu, Oct 30, 2008 at 8:02 PM, Alex Harui [EMAIL PROTECTED] wrote:

 Examine the event's target and relatedObject properties to see where it
 thinks it is going



 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Richard Rodseth
 *Sent:* Thursday, October 30, 2008 12:12 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] rollOut event



 I have a window-like MXML component with a title bar (currently done with
 VBoxes and HBoxes) and a content area (a Canvas). Rolling over an info icon
 in the tile bar causes another component to be overlaid (made visible) in
 the content area.

 I used rollOver on the info button to make the overlay visible, and I added
 a rollOut on the root (window-like) component and on the overlay itself to
 hide the overlay. The puzzling thing is that the root-level rollOut fires
 when I move the cursor out of the info icon to the right (remaining within
 the title bar), but not when I move down towards the content area and
 overlay (even with a gap between the title bar and overlay top). This is
 actually not a terrible thing, user-experience-wise, but it's not what I
 expected. Any ideas what's going on?

 Thanks.



   



[flexcoders] Re: Center Checkbox in DG Column

2008-10-31 Thread Amy
--- In flexcoders@yahoogroups.com, markgoldin_2000 
[EMAIL PROTECTED] wrote:

 I am trying to get a checkbox working properly in my DG column when 
 it's placed in a HBox in order to center the checkbox. 
 I am overriding a few functions in the checkbox but none of them gets 
 any hit. Do I need also override something in the HBox container?

You might find this useful:
http://www.returnundefined.com/2006/11/creating-truly-reusable-
renderers-with-classfactory

You could also potentially use my extended datagrid to set the 
verticalCenter and horizontalCenter on the checkboxes to 0.  In that 
case, you could simply use a CheckBox as the itemRenderer.  Or, if 
you're only using CheckBoxes in that one place, you could just use a 
CheckBox TypeSelector to set the horizontalCenter and verticalCenter 
styles.

HTH;

Amy



[flexcoders] Re: Flex and Screen Readers

2008-10-31 Thread Gus
 This page has some interesting information about this combination:
 http://www.adobe.com/accessibility/products/flex/

according with that information, screen reader are only available in
Windows, are there any plan to implement it in Linux or Mac?

Gus



Re: [flexcoders] Flash player 10 required for my swf?

2008-10-31 Thread ivo
Thanks for your reply. 

My point is that I am not using any Flash Player 10 features, my dev  build 
environment dont have Flash player 10 installed, I am building using the 3.1 
SDK and the project is configured to target 9.0.124. The output swf passes QA 
for Flash Player 9. The 'Flash Detection Wrapper' is given the vars that the 
required version is 9.0.124. Only some users see the Flash Player 10 required 
dialog. Until today I had not seen this dialog (I have 9.0.124 installed) and 
it was based on a trivial change.

To test again I reverted back to the index.template.html to the one supplied in 
Flex Builder and no Flash Player 10 required dialog appears anymore so I am not 
sure what is going on.

I think I will look into using swfobject instead.

Thanks,

- Ivo







From: Daniel Freiman [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, October 31, 2008 12:12:21 PM
Subject: Re: [flexcoders] Flash player 10 required for my swf?


I think the detection script checks to see if you have the required version.  
If you don't, then it will tell you that you need the most recently released 
version of Flash regardless of what version the wrapper actually requires.  
This does cause confusion form a troubleshooting standpoint, but I'm guessing 
the reason is that adobe did this is that users would be more confused if it 
told them they needed flash 9 and gave them flash 10.  Better to confuse the 
developers than the end user?

- Daniel


On Fri, Oct 31, 2008 at 2:41 PM, ivo cervantes_vive@ yahoo.com wrote:

Hello all,

I had been getting reports from users that my widget swf was displaying the 
dialog This content requires Adobe Flash Player 10 but I could not reproduce 
it. I run and develop with Flash Player 9 installed. Other users that only had 
Flash player 9 installed also could run it without any problems.

This morning I did a few changes to the widget, basically I embedded image 
resources at compile time rather than load them over the web at runtime. On the 
next debug run after the changes I started seeing the same dialog. I rolled 
back the changes but the dialog stays. The only way I was able to get the 
dialog to dissapear was to modify the html-template/ index.template. html, 
remove the 'Flash Player Version Detection' Javascript and have just the embed 
code with the proper template tokens.  The index.template. html tokens for 
${version_major} ${version_minor} ${version_revision} always output 9 0 124 as 
expected. Not sure what criteria the 'Flash Player Version Detection' 
javascript is following.

I am building my app using Flex Builder but its a Pure AS3 project, only 
Sprites and the Graphic object are used and the SDK is 3.1.

I have distributed the html with the ''Flash Player Version Detection' along 
with my widget and I am now wondering how many users are seeing the dialog and 
not bothering to run the update.

Is the lesson here not to use the 'Flash Player Version Detection' that ships 
with Flex Builder ? or am I running into a bug?

Thanks,

- Ivo

 


Re: [flexcoders] Flash player 10 required for my swf?

2008-10-31 Thread Daniel Freiman
I'm going to stand by my theory that it's going to ask for Flash 10 no
matter what once it fails the detection script.  But I'm at a loss as to why
it's failing at all, unless users are confused between the different
versions of Flash 9.  But your test would seem to discredit user confusion.
Report back if you figure anything out.

On Fri, Oct 31, 2008 at 3:44 PM, ivo [EMAIL PROTECTED] wrote:

Thanks for your reply.

 My point is that I am not using any Flash Player 10 features, my dev 
 build environment dont have Flash player 10 installed, I am building using
 the 3.1 SDK and the project is configured to target 9.0.124. The output
 swf passes QA for Flash Player 9. The 'Flash Detection Wrapper' is given the
 vars that the required version is 9.0.124. Only some users see the Flash
 Player 10 required dialog. Until today I had not seen this dialog (I have
 9.0.124 installed) and it was based on a trivial change.

 To test again I reverted back to the index.template.html to the one
 supplied in Flex Builder and no Flash Player 10 required dialog appears
 anymore so I am not sure what is going on.

 I think I will look into using swfobject instead.

 Thanks,

 - Ivo



 --
 *From:* Daniel Freiman [EMAIL PROTECTED]
 *To:* flexcoders@yahoogroups.com
 *Sent:* Friday, October 31, 2008 12:12:21 PM
 *Subject:* Re: [flexcoders] Flash player 10 required for my swf?

  I think the detection script checks to see if you have the required
 version.  If you don't, then it will tell you that you need the most
 recently released version of Flash regardless of what version the wrapper
 actually requires.  This does cause confusion form a troubleshooting
 standpoint, but I'm guessing the reason is that adobe did this is that users
 would be more confused if it told them they needed flash 9 and gave them
 flash 10.  Better to confuse the developers than the end user?

 - Daniel

 On Fri, Oct 31, 2008 at 2:41 PM, ivo cervantes_vive@ yahoo.com[EMAIL 
 PROTECTED]
  wrote:

   Hello all,

 I had been getting reports from users that my widget swf was displaying
 the dialog This content requires Adobe Flash Player 10 but I could not
 reproduce it. I run and develop with Flash Player 9 installed. Other users
 that only had Flash player 9 installed also could run it without any
 problems.

 This morning I did a few changes to the widget, basically I embedded image
 resources at compile time rather than load them over the web at runtime. On
 the next debug run after the changes I started seeing the same dialog. I
 rolled back the changes but the dialog stays. The only way I was able to get
 the dialog to dissapear was to modify the html-template/ index.template.
 html, remove the 'Flash Player Version Detection' Javascript and have just
 the embed code with the proper template tokens. The index.template. html
 tokens for ${version_major} ${version_minor} ${version_revision} always
 output 9 0 124 as expected. Not sure what criteria the 'Flash Player Version
 Detection' javascript is following.

 I am building my app using Flex Builder but its a Pure AS3 project, only
 Sprites and the Graphic object are used and the SDK is 3.1.

 I have distributed the html with the ''Flash Player Version Detection'
 along with my widget and I am now wondering how many users are seeing the
 dialog and not bothering to run the update.

 Is the lesson here not to use the 'Flash Player Version Detection' that
 ships with Flex Builder ? or am I running into a bug?

 Thanks,

 - Ivo


   



[flexcoders] Re: SWFLoader: access its contents right away

2008-10-31 Thread lagos_tout
Hi,

I recently did something like this.  But it was more complicated because
I was loading a swf from a different domain from it's parent.  I needed
to attach an event handler to the swf when SWFLoader was done loading. 
Then at some point, the loaded swf would broadcast an event, and the
parent swf would be able to respond.

Contrary to what the last poster said, I think you should consider
listening for the Event.INIT, not Event.Complete broadcast by your
SWFLoader.  To determine which one you need, check descriptions of these
two events in the Flex 3 Language Reference.  Here's the meat of it:

INIT is broadcast when the properties and methods of a loaded SWF file
are accessible.
COMPLETE is broadcast when content loading is complete.

So, if you need to be able to access child movie clips, I'd say use
INIT.

Here's some code.  Please note that both parent and child are Flex
applications, yielding parent.swf and child.swf.

In parent.swf:

mySwfLoader:SWFLoader = new SWFLoader();
mySwfLoader.addEventListener(Event.INIT, onInit);
function onInit(event:Event):void
{
 mySwfLoader.content.addEventListener(myEventName,
onMyEventHandler);
}
function onMyEventHandler(event:Event):void
{
 //do something
}

In child.swf:

//broadcast events that parent.swf can respond to.
systemManager.dispatch(new Event(myChild));

I found that when loading a Flex generated child.swf,
mySwfLoader.content is a reference to the child.swf's systemManager
property.  So in order to broadcast events from my loaded swf, you
needed to dispatch the event using the child application's systemManager
property.  Hence the last line of code.

Hope that helps.

LT

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

 The complete event tells you when the load is complete.  All
SWFLoader loads from the network are asynchronous.  You'll always have
to wait to access the data

 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Ignasi Lirio
 Sent: Thursday, October 30, 2008 2:36 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] SWFLoader: access its contents right away


 Hi all,

 I am new in this group, so hello to everyone :-)

 I want to discuss here about SWFLoader component in Flex 3, and how to
 access their contents... programatically.

 Just for short:

 I have an existing, empty SWFLoader object in my MXML code.

 After some time, I just want to populate it using SWFLoader.load()
 method with an external SWF movie, that has child MovieClips inside.

 Right after call the .load() method, I am insterested (in the same
 function) to access its children to move positions, etc. So, if I do
 something like:

 var myloader:SWFLoader= this.swfload;

 and then

 myloader.load(shelf2.swf);

 and then

 myloader.content[s2].alpha=0.3;

 It does not work at all. I tried myloader.addEventListener(...) with
 several events, does not work.

 The only way was to put that myloader.content[s2].alpha... inside
 a setTimeout function, to allow SWFLoader to take some time to load.
 But you agree with me that this is so dirty.

 any ideas? Thanks to everyone!





[flexcoders] Delays in posts

2008-10-31 Thread lagos_tout
You know, I love this group.  But the delays suck.  I posted 2
messages at least 3 days ago and they still haven't shown up.  I guess
if I have an urgent question, I'm going to have to post elsewhere, as
much as I'm reluctant to do that - the people on this list are very
knowledgeable and generous.
Thanks.
LT



RE: [flexcoders] Delays in posts

2008-10-31 Thread Dimitrios Gianninas
I checked your account and it is unmoderated, which is the way it is suppose to 
be. Maybe you can direct me to the messages offline and I check to see where 
they are?
 
Can you see them via web interface? 
http://tech.groups.yahoo.com/group/flexcoders/messages 
http://tech.groups.yahoo.com/group/flexcoders/messages 
 
Dimitrios Gianninas
Flexcoders Moderator
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
lagos_tout
Sent: Friday, October 31, 2008 4:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Delays in posts



You know, I love this group. But the delays suck. I posted 2
messages at least 3 days ago and they still haven't shown up. I guess
if I have an urgent question, I'm going to have to post elsewhere, as
much as I'm reluctant to do that - the people on this list are very
knowledgeable and generous.
Thanks.
LT



 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



Re: [flexcoders] Re: Flex and Screen Readers

2008-10-31 Thread Weyert de Boer
Hi Gus,

MacOSX comes with a nice screen reader out of the box. It's called 
VoiceOver.

Yours,
Weyert de Boer


[flexcoders] Re: SWFLoader: access its contents right away

2008-10-31 Thread lagos_tout
Wow, I messed up on that.

Instead of --
 
 //broadcast events that parent.swf can respond to.
 systemManager.dispatch(new Event(myChild));

use --

//broadcast events that parent.swf can respond to.
systemManager.dispatch(new Event(myEventName));


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

 Hi,
 
 I recently did something like this.  But it was more complicated because
 I was loading a swf from a different domain from it's parent.  I needed
 to attach an event handler to the swf when SWFLoader was done loading. 
 Then at some point, the loaded swf would broadcast an event, and the
 parent swf would be able to respond.
 
 Contrary to what the last poster said, I think you should consider
 listening for the Event.INIT, not Event.Complete broadcast by your
 SWFLoader.  To determine which one you need, check descriptions of these
 two events in the Flex 3 Language Reference.  Here's the meat of it:
 
 INIT is broadcast when the properties and methods of a loaded SWF file
 are accessible.
 COMPLETE is broadcast when content loading is complete.
 
 So, if you need to be able to access child movie clips, I'd say use
 INIT.
 
 Here's some code.  Please note that both parent and child are Flex
 applications, yielding parent.swf and child.swf.
 
 In parent.swf:
 
 mySwfLoader:SWFLoader = new SWFLoader();
 mySwfLoader.addEventListener(Event.INIT, onInit);
 function onInit(event:Event):void
 {
  mySwfLoader.content.addEventListener(myEventName,
 onMyEventHandler);
 }
 function onMyEventHandler(event:Event):void
 {
  //do something
 }
 
 In child.swf:
 
 //broadcast events that parent.swf can respond to.
 systemManager.dispatch(new Event(myChild));
 
 I found that when loading a Flex generated child.swf,
 mySwfLoader.content is a reference to the child.swf's systemManager
 property.  So in order to broadcast events from my loaded swf, you
 needed to dispatch the event using the child application's systemManager
 property.  Hence the last line of code.
 
 Hope that helps.
 
 LT
 
 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
 
  The complete event tells you when the load is complete.  All
 SWFLoader loads from the network are asynchronous.  You'll always have
 to wait to access the data
 
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On Behalf Of Ignasi Lirio
  Sent: Thursday, October 30, 2008 2:36 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] SWFLoader: access its contents right away
 
 
  Hi all,
 
  I am new in this group, so hello to everyone :-)
 
  I want to discuss here about SWFLoader component in Flex 3, and how to
  access their contents... programatically.
 
  Just for short:
 
  I have an existing, empty SWFLoader object in my MXML code.
 
  After some time, I just want to populate it using SWFLoader.load()
  method with an external SWF movie, that has child MovieClips inside.
 
  Right after call the .load() method, I am insterested (in the same
  function) to access its children to move positions, etc. So, if I do
  something like:
 
  var myloader:SWFLoader= this.swfload;
 
  and then
 
  myloader.load(shelf2.swf);
 
  and then
 
  myloader.content[s2].alpha=0.3;
 
  It does not work at all. I tried myloader.addEventListener(...) with
  several events, does not work.
 
  The only way was to put that myloader.content[s2].alpha... inside
  a setTimeout function, to allow SWFLoader to take some time to load.
  But you agree with me that this is so dirty.
 
  any ideas? Thanks to everyone!
 





[flexcoders] Re: Center Checkbox in DG Column

2008-10-31 Thread markgoldin_2000
You could also potentially use my extended datagrid 
Where can I find it?

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

 --- In flexcoders@yahoogroups.com, markgoldin_2000 
 markgoldin_2000@ wrote:
 
  I am trying to get a checkbox working properly in my DG column 
when 
  it's placed in a HBox in order to center the checkbox. 
  I am overriding a few functions in the checkbox but none of them 
gets 
  any hit. Do I need also override something in the HBox container?
 
 You might find this useful:
 http://www.returnundefined.com/2006/11/creating-truly-reusable-
 renderers-with-classfactory
 
 You could also potentially use my extended datagrid to set the 
 verticalCenter and horizontalCenter on the checkboxes to 0.  In 
that 
 case, you could simply use a CheckBox as the itemRenderer.  Or, if 
 you're only using CheckBoxes in that one place, you could just use 
a 
 CheckBox TypeSelector to set the horizontalCenter and 
verticalCenter 
 styles.
 
 HTH;
 
 Amy





RE: [flexcoders] Re: Center Checkbox in DG Column

2008-10-31 Thread Alex Harui
Also see: 
http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende.html

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
markgoldin_2000
Sent: Friday, October 31, 2008 1:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Center Checkbox in DG Column


You could also potentially use my extended datagrid
Where can I find it?

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Amy 
[EMAIL PROTECTED] wrote:

 --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
 markgoldin_2000
 markgoldin_2000@ wrote:
 
  I am trying to get a checkbox working properly in my DG column
when
  it's placed in a HBox in order to center the checkbox.
  I am overriding a few functions in the checkbox but none of them
gets
  any hit. Do I need also override something in the HBox container?

 You might find this useful:
 http://www.returnundefined.com/2006/11/creating-truly-reusable-
 renderers-with-classfactory

 You could also potentially use my extended datagrid to set the
 verticalCenter and horizontalCenter on the checkboxes to 0. In
that
 case, you could simply use a CheckBox as the itemRenderer. Or, if
 you're only using CheckBoxes in that one place, you could just use
a
 CheckBox TypeSelector to set the horizontalCenter and
verticalCenter
 styles.

 HTH;

 Amy




[flexcoders] Re: Delays in posts

2008-10-31 Thread lagos_tout
Hi,

Thanks for the prompt response.
I only use the web interface, both for posting and checking for
responses.  I do so by searching by my email address.  This should
should pull up all my posts, right?  Yet when I do that, not even this
thread shows in the results.  Isn't that strange?  I see posts, but
the most recent one is from the 17th of October.  And like I mentioned
in my original post I posted a couple of new ones a few days ago.  Is
there a better way for me to track my posts?

Thanks.

LT

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

 I checked your account and it is unmoderated, which is the way it is
suppose to be. Maybe you can direct me to the messages offline and I
check to see where they are?
  
 Can you see them via web interface?
http://tech.groups.yahoo.com/group/flexcoders/messages
http://tech.groups.yahoo.com/group/flexcoders/messages 
  
 Dimitrios Gianninas
 Flexcoders Moderator
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of lagos_tout
 Sent: Friday, October 31, 2008 4:17 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Delays in posts
 
 
 
 You know, I love this group. But the delays suck. I posted 2
 messages at least 3 days ago and they still haven't shown up. I guess
 if I have an urgent question, I'm going to have to post elsewhere, as
 much as I'm reluctant to do that - the people on this list are very
 knowledgeable and generous.
 Thanks.
 LT
 
 
 
  
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may contain
confidential, proprietary or legally privileged information, which is
solely for the use of the intended recipient.  No privilege or other
rights are waived by any unintended transmission or unauthorized
retransmission of this message.  If you are not the intended recipient
of this message, or if you have received it in error, you should
immediately stop reading this message and delete it and all
attachments from your system.  The reading, distribution, copying or
other use of this message or its attachments by unintended recipients
is unauthorized and may be unlawful.  If you have received this e-mail
in error, please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés
destinés au seul usage du destinataire visé.  L'expéditeur original ne
renonce à aucun privilège ou à aucun autre droit si le présent message
a été transmis involontairement ou s'il est retransmis sans son
autorisation.  Si vous n'êtes pas le destinataire visé du présent
message ou si vous l'avez reçu par erreur, veuillez cesser
immédiatement de le lire et le supprimer, ainsi que toutes ses pièces
jointes, de votre système.  La lecture, la distribution, la copie ou
tout autre usage du présent message ou de ses pièces jointes par des
personnes autres que le destinataire visé ne sont pas autorisés et
pourraient être illégaux.  Si vous avez reçu ce courrier électronique
par erreur, veuillez en aviser l'expéditeur.





[flexcoders] Re: Center Checkbox in DG Column

2008-10-31 Thread Amy
--- In flexcoders@yahoogroups.com, markgoldin_2000 
[EMAIL PROTECTED] wrote:

 You could also potentially use my extended datagrid 
 Where can I find it?
 
 --- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote:
 
  --- In flexcoders@yahoogroups.com, markgoldin_2000 
  markgoldin_2000@ wrote:
  
   I am trying to get a checkbox working properly in my DG column 
 when 
   it's placed in a HBox in order to center the checkbox. 
   I am overriding a few functions in the checkbox but none of 
them 
 gets 
   any hit. Do I need also override something in the HBox 
container?
  
  You might find this useful:
  http://www.returnundefined.com/2006/11/creating-truly-reusable-
  renderers-with-classfactory
  
  You could also potentially use my extended datagrid to set the 
  verticalCenter and horizontalCenter on the checkboxes to 0.  In 
 that 
  case, you could simply use a CheckBox as the itemRenderer.  Or, 
if 
  you're only using CheckBoxes in that one place, you could just 
use 
 a 
  CheckBox TypeSelector to set the horizontalCenter and 
 verticalCenter 
  styles.

http://flexdiary.blogspot.com/2008/09/extended-datagrid-with-
stylefunction.html

HTH;

Amy



Re: [flexcoders] Re: Delays in posts

2008-10-31 Thread Doug McCune
Subscribe to the email list and have it send you individual emails. Then set
up a filter in gmail to label all messages from the list and throw em into a
folder and automatically out of the inbox. Then just let that sit and amass
thousand of messages (my flexcoders label currently has 16,500 unread
messages).

Doug

On Fri, Oct 31, 2008 at 2:01 PM, lagos_tout [EMAIL PROTECTED] wrote:

   Hi,

 Thanks for the prompt response.
 I only use the web interface, both for posting and checking for
 responses. I do so by searching by my email address. This should
 should pull up all my posts, right? Yet when I do that, not even this
 thread shows in the results. Isn't that strange? I see posts, but
 the most recent one is from the 17th of October. And like I mentioned
 in my original post I posted a couple of new ones a few days ago. Is
 there a better way for me to track my posts?

 Thanks.

 LT

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 Dimitrios Gianninas

 [EMAIL PROTECTED] wrote:
 
  I checked your account and it is unmoderated, which is the way it is
 suppose to be. Maybe you can direct me to the messages offline and I
 check to see where they are?
 
  Can you see them via web interface?
 http://tech.groups.yahoo.com/group/flexcoders/messages
 http://tech.groups.yahoo.com/group/flexcoders/messages
 
  Dimitrios Gianninas
  Flexcoders Moderator
 
 
  
 
  From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
 flexcoders@yahoogroups.com flexcoders%40yahoogroups.com]
 On Behalf Of lagos_tout
  Sent: Friday, October 31, 2008 4:17 PM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: [flexcoders] Delays in posts
 
 
 
  You know, I love this group. But the delays suck. I posted 2
  messages at least 3 days ago and they still haven't shown up. I guess
  if I have an urgent question, I'm going to have to post elsewhere, as
  much as I'm reluctant to do that - the people on this list are very
  knowledgeable and generous.
  Thanks.
  LT
 
 
 
 
 
  --
  WARNING
  ---
  This electronic message and its attachments may contain
 confidential, proprietary or legally privileged information, which is
 solely for the use of the intended recipient. No privilege or other
 rights are waived by any unintended transmission or unauthorized
 retransmission of this message. If you are not the intended recipient
 of this message, or if you have received it in error, you should
 immediately stop reading this message and delete it and all
 attachments from your system. The reading, distribution, copying or
 other use of this message or its attachments by unintended recipients
 is unauthorized and may be unlawful. If you have received this e-mail
 in error, please notify the sender.
 
  AVIS IMPORTANT
  --
  Ce message électronique et ses pièces jointes peuvent contenir des
 renseignements confidentiels, exclusifs ou légalement privilégiés
 destinés au seul usage du destinataire visé. L'expéditeur original ne
 renonce à aucun privilège ou à aucun autre droit si le présent message
 a été transmis involontairement ou s'il est retransmis sans son
 autorisation. Si vous n'êtes pas le destinataire visé du présent
 message ou si vous l'avez reçu par erreur, veuillez cesser
 immédiatement de le lire et le supprimer, ainsi que toutes ses pièces
 jointes, de votre système. La lecture, la distribution, la copie ou
 tout autre usage du présent message ou de ses pièces jointes par des
 personnes autres que le destinataire visé ne sont pas autorisés et
 pourraient être illégaux. Si vous avez reçu ce courrier électronique
 par erreur, veuillez en aviser l'expéditeur.
 

  



[flexcoders] Re: Center Checkbox in DG Column

2008-10-31 Thread markgoldin_2000
I could not find a sample for DG with a checkbox. Is there one?

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

 --- In flexcoders@yahoogroups.com, markgoldin_2000 
 markgoldin_2000@ wrote:
 
  You could also potentially use my extended datagrid 
  Where can I find it?
  
  --- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote:
  
   --- In flexcoders@yahoogroups.com, markgoldin_2000 
   markgoldin_2000@ wrote:
   
I am trying to get a checkbox working properly in my DG 
column 
  when 
it's placed in a HBox in order to center the checkbox. 
I am overriding a few functions in the checkbox but none of 
 them 
  gets 
any hit. Do I need also override something in the HBox 
 container?
   
   You might find this useful:
   http://www.returnundefined.com/2006/11/creating-truly-reusable-
   renderers-with-classfactory
   
   You could also potentially use my extended datagrid to set the 
   verticalCenter and horizontalCenter on the checkboxes to 0.  In 
  that 
   case, you could simply use a CheckBox as the itemRenderer.  Or, 
 if 
   you're only using CheckBoxes in that one place, you could just 
 use 
  a 
   CheckBox TypeSelector to set the horizontalCenter and 
  verticalCenter 
   styles.
 
 http://flexdiary.blogspot.com/2008/09/extended-datagrid-with-
 stylefunction.html
 
 HTH;
 
 Amy





[flexcoders] Re: Center Checkbox in DG Column

2008-10-31 Thread markgoldin_2000
I dont know what I am missing, but still not working for me.
Here is my code:
import flash.events.Event;

import mx.controls.*;
import mx.controls.dataGridClasses.DataGridColumn;
import mx.controls.listClasses.IDropInListItemRenderer;
public class checkBoxGrid extends CheckBox implements 
IDropInListItemRenderer
{
public function checkBoxGrid()
{
super();
addEventListener(change, onClick);

}

override public function set data(value:Object):void
{
if(value != null)
{
super.data = value;
selected = value.label;
}

}

//called by click of the checkbox
private function onClick(e:Event):void
{
var dataFieldName:String = DataGrid
(listData.owner).columns[listData.columnIndex].dataField;
data[dataFieldName] = String
(selected);  //set the checkbox state into the dataProvider 

}   
}

mxml implementation:
mx:DataGridColumn headerText=Include into Report 
dataField=includeintoreport width=40 
textAlign=center
mx:itemRenderer
mx:Component
modulecode:checkBoxGrid/
/mx:Component
/mx:itemRenderer
/mx:DataGridColumn

Data sample: Fragment
vendors
  ccompany
A. FEIBUSCH CORP.
  /ccompany
  includeintoreport
false
  /includeintoreport
  cvendno
ZIPPER
  /cvendno
/vendors

When I run it all chckboxes come checked  despite false in 
includeintoreport field. So, when I click on a checkbox nothing is 
changed, it keeps checked status.

Hope, someone can help.




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

 Also see: 
http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende.h
tml
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000
 Sent: Friday, October 31, 2008 1:50 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Center Checkbox in DG Column
 
 
 You could also potentially use my extended datagrid
 Where can I find it?
 
 --- In flexcoders@yahoogroups.commailto:flexcoders%
40yahoogroups.com, Amy amyblankenship@ wrote:
 
  --- In flexcoders@yahoogroups.commailto:flexcoders%
40yahoogroups.com, markgoldin_2000
  markgoldin_2000@ wrote:
  
   I am trying to get a checkbox working properly in my DG column
 when
   it's placed in a HBox in order to center the checkbox.
   I am overriding a few functions in the checkbox but none of them
 gets
   any hit. Do I need also override something in the HBox 
container?
 
  You might find this useful:
  http://www.returnundefined.com/2006/11/creating-truly-reusable-
  renderers-with-classfactory
 
  You could also potentially use my extended datagrid to set the
  verticalCenter and horizontalCenter on the checkboxes to 0. In
 that
  case, you could simply use a CheckBox as the itemRenderer. Or, if
  you're only using CheckBoxes in that one place, you could just use
 a
  CheckBox TypeSelector to set the horizontalCenter and
 verticalCenter
  styles.
 
  HTH;
 
  Amy
 





[flexcoders] LinkBar | mx:dataProvider | does not work

2008-10-31 Thread ilikeflex
Hi 

I have below sample code(Code1) which is working fine and i have 
taken from livedocs. Now i have made modification to code1 and 
changed to code2.

In code2 i am declaring the dataprovider property of the linkbar in a 
different way.I am using the mx:dataProvider tag.In this case 
linkbar does not show viewstack contents.

I have been putting my head into this but could not find any solution.
Any pointers are highly appreciated.

Thanks
Rajan


Code1:
?xml version=1.0?
!-- Simple example to demonstrate the LinkBar control. --
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 
mx:Panel title=LinkBar Control Example 
height=75% width=75% horizontalAlign=center
paddingTop=10 paddingBottom=10 paddingLeft=10 
paddingRight=10

mx:LinkBar color=#FF fontWeight=bold 
 dataProvider={myViewStack}/

!-- Define the ViewStack and the two child containers. --
mx:ViewStack id=myViewStack borderStyle=solid 
 width=100% height=80%

mx:Canvas id=search backgroundColor=#CC 
 label=Search width=100% height=100%
   mx:Label text=Search Screen color=#00/
/mx:Canvas

mx:Canvas id=custInfo backgroundColor=#CC 
 label=Customer Info width=100% height=100%
mx:Label text=Customer Info color=#00/
/mx:Canvas

mx:Canvas id=accountInfo backgroundColor=#FFCCFF 
label=Account Info width=100% height=100%
mx:Label text=Account Info color=#00/
/mx:Canvas
/mx:ViewStack

/mx:Panel
/mx:Application

Code2:
?xml version=1.0?
!-- Simple example to demonstrate the LinkBar control. --
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 
mx:Panel title=LinkBar Control Example 
height=75% width=75% horizontalAlign=center
paddingTop=10 paddingBottom=10 paddingLeft=10 
paddingRight=10

mx:LinkBar color=#FF fontWeight=bold
 mx:dataProvider
!-- Define the ViewStack and the two child containers. --
mx:ViewStack id=myViewStack borderStyle=solid 
  width=100% height=80%
mx:Canvas id=search  backgroundColor=#CC 
label=Search width=100% height=100%
   mx:Label text=Search Screen color=#00/
/mx:Canvas

mx:Canvas id=custInfo backgroundColor=#CC 
label=Customer Info width=100% height=100%
mx:Label text=Customer Info color=#00/
/mx:Canvas

mx:Canvas id=accountInfo backgroundColor=#FFCCFF 
label=Account Info width=100% height=100%
mx:Label text=Account Info color=#00/
 /mx:Canvas
 /mx:ViewStack
/mx:dataProvider
/mx:LinkBar
/mx:Panel
/mx:Application



[flexcoders] Re: How do arguments to an AS3 class translate to MXML?

2008-10-31 Thread lagos_tout
Yeah.  Cool, thanks. That's what I suspected.

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

 Regarding
 
  The AS3 class takes an argument.
 
 For future reference, IMXMLObject implemented as3 classes cannot 
have
 arguments in their constructors.
 
 As josh said, just shift your constructor logic to a setter and 
treat it as
 if it were an argument.
 
 Mike
 
 
 -- 
 Teoti Graphix, LLC
 http://www.teotigraphix.com
 
 Teoti Graphix Blog
 http://www.blog.teotigraphix.com
 
 You can find more by solving the problem then by 'asking the 
question'.




[flexcoders] Re: Using addChild() in Flex to add a Flash component.

2008-10-31 Thread lagos_tout
Awesome. Thanks, Amy.

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

 --- In flexcoders@yahoogroups.com, lagos_tout lagos.tout@ wrote:
 
  Hi, all.
  
  Is it possible to use addChild() in Flex to add a Flash instance 
of 
  SimpleButton to a Flex app's displayList?
  I exported the SimpleButton in a .swc from Flash IDE and set up 
the 
  .swc as a library in Flex Builder.
  Within Flex, I can instantiate the SimpleButton class with no 
 problem, 
  but I can't make it visible via addChild().
  Any ideas why this may be and how I can get around it?
  Thanks much.
 
 If you use the Flash Component Kit, it will wrap it in UIMovieClip 
for 
 you.
 
 HTH;
 
 Amy




RE: [flexcoders] Re: SWFLoader: access its contents right away

2008-10-31 Thread Tracy Spratt
Here is a complete example:

http://www.cflex.net/showFileDetails.cfm?ObjectID=690

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lagos_tout
Sent: Friday, October 31, 2008 4:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: SWFLoader: access its contents right away

 

Wow, I messed up on that.

Instead of --

 //broadcast events that parent.swf can respond to.
 systemManager.dispatch(new Event(myChild));

use --

//broadcast events that parent.swf can respond to.
systemManager.dispatch(new Event(myEventName));

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, lagos_tout [EMAIL PROTECTED] wrote:

 Hi,
 
 I recently did something like this. But it was more complicated
because
 I was loading a swf from a different domain from it's parent. I needed
 to attach an event handler to the swf when SWFLoader was done loading.

 Then at some point, the loaded swf would broadcast an event, and the
 parent swf would be able to respond.
 
 Contrary to what the last poster said, I think you should consider
 listening for the Event.INIT, not Event.Complete broadcast by your
 SWFLoader. To determine which one you need, check descriptions of
these
 two events in the Flex 3 Language Reference. Here's the meat of it:
 
 INIT is broadcast when the properties and methods of a loaded SWF file
 are accessible.
 COMPLETE is broadcast when content loading is complete.
 
 So, if you need to be able to access child movie clips, I'd say use
 INIT.
 
 Here's some code. Please note that both parent and child are Flex
 applications, yielding parent.swf and child.swf.
 
 In parent.swf:
 
 mySwfLoader:SWFLoader = new SWFLoader();
 mySwfLoader.addEventListener(Event.INIT, onInit);
 function onInit(event:Event):void
 {
 mySwfLoader.content.addEventListener(myEventName,
 onMyEventHandler);
 }
 function onMyEventHandler(event:Event):void
 {
 //do something
 }
 
 In child.swf:
 
 //broadcast events that parent.swf can respond to.
 systemManager.dispatch(new Event(myChild));
 
 I found that when loading a Flex generated child.swf,
 mySwfLoader.content is a reference to the child.swf's systemManager
 property. So in order to broadcast events from my loaded swf, you
 needed to dispatch the event using the child application's
systemManager
 property. Hence the last line of code.
 
 Hope that helps.
 
 LT
 
 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote:
 
  The complete event tells you when the load is complete. All
 SWFLoader loads from the network are asynchronous. You'll always have
 to wait to access the data
 
  From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
]
 On Behalf Of Ignasi Lirio
  Sent: Thursday, October 30, 2008 2:36 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com

  Subject: [flexcoders] SWFLoader: access its contents right away
 
 
  Hi all,
 
  I am new in this group, so hello to everyone :-)
 
  I want to discuss here about SWFLoader component in Flex 3, and how
to
  access their contents... programatically.
 
  Just for short:
 
  I have an existing, empty SWFLoader object in my MXML code.
 
  After some time, I just want to populate it using SWFLoader.load()
  method with an external SWF movie, that has child MovieClips inside.
 
  Right after call the .load() method, I am insterested (in the same
  function) to access its children to move positions, etc. So, if I do
  something like:
 
  var myloader:SWFLoader= this.swfload;
 
  and then
 
  myloader.load(shelf2.swf);
 
  and then
 
  myloader.content[s2].alpha=0.3;
 
  It does not work at all. I tried myloader.addEventListener(...) with
  several events, does not work.
 
  The only way was to put that myloader.content[s2].alpha...
inside
  a setTimeout function, to allow SWFLoader to take some time to load.
  But you agree with me that this is so dirty.
 
  any ideas? Thanks to everyone!
 


 



[flexcoders] Re: Delays in posts

2008-10-31 Thread Tim Hoff

16,500 unread messages.  Slacker. :-)

-TH

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

 Subscribe to the email list and have it send you individual emails.
Then set
 up a filter in gmail to label all messages from the list and throw em
into a
 folder and automatically out of the inbox. Then just let that sit and
amass
 thousand of messages (my flexcoders label currently has 16,500 unread
 messages).

 Doug

 On Fri, Oct 31, 2008 at 2:01 PM, lagos_tout [EMAIL PROTECTED] wrote:

  Hi,
 
  Thanks for the prompt response.
  I only use the web interface, both for posting and checking for
  responses. I do so by searching by my email address. This should
  should pull up all my posts, right? Yet when I do that, not even
this
  thread shows in the results. Isn't that strange? I see posts, but
  the most recent one is from the 17th of October. And like I
mentioned
  in my original post I posted a couple of new ones a few days ago. Is
  there a better way for me to track my posts?
 
  Thanks.
 
  LT
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  Dimitrios Gianninas
 
  dimitrios.gianninas@ wrote:
  
   I checked your account and it is unmoderated, which is the way it
is
  suppose to be. Maybe you can direct me to the messages offline and I
  check to see where they are?
  
   Can you see them via web interface?
  http://tech.groups.yahoo.com/group/flexcoders/messages
  http://tech.groups.yahoo.com/group/flexcoders/messages
  
   Dimitrios Gianninas
   Flexcoders Moderator
  
  
   
  
   From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
[mailto:
  flexcoders@yahoogroups.com flexcoders%40yahoogroups.com]
  On Behalf Of lagos_tout
   Sent: Friday, October 31, 2008 4:17 PM
   To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
   Subject: [flexcoders] Delays in posts
  
  
  
   You know, I love this group. But the delays suck. I posted 2
   messages at least 3 days ago and they still haven't shown up. I
guess
   if I have an urgent question, I'm going to have to post elsewhere,
as
   much as I'm reluctant to do that - the people on this list are
very
   knowledgeable and generous.
   Thanks.
   LT
  
  
  
  
  
   --
   WARNING
   ---
   This electronic message and its attachments may contain
  confidential, proprietary or legally privileged information, which
is
  solely for the use of the intended recipient. No privilege or other
  rights are waived by any unintended transmission or unauthorized
  retransmission of this message. If you are not the intended
recipient
  of this message, or if you have received it in error, you should
  immediately stop reading this message and delete it and all
  attachments from your system. The reading, distribution, copying or
  other use of this message or its attachments by unintended
recipients
  is unauthorized and may be unlawful. If you have received this
e-mail
  in error, please notify the sender.
  
   AVIS IMPORTANT
   --
   Ce message électronique et ses pièces jointes peuvent
contenir des
  renseignements confidentiels, exclusifs ou légalement
privilégiés
  destinés au seul usage du destinataire visé. L'expéditeur
original ne
  renonce à aucun privilège ou à aucun autre droit si le
présent message
  a été transmis involontairement ou s'il est retransmis sans
son
  autorisation. Si vous n'êtes pas le destinataire visé du
présent
  message ou si vous l'avez reçu par erreur, veuillez cesser
  immédiatement de le lire et le supprimer, ainsi que toutes ses
pièces
  jointes, de votre système. La lecture, la distribution, la copie
ou
  tout autre usage du présent message ou de ses pièces jointes
par des
  personnes autres que le destinataire visé ne sont pas
autorisés et
  pourraient être illégaux. Si vous avez reçu ce courrier
électronique
  par erreur, veuillez en aviser l'expéditeur.
  
 
 
 






[flexcoders] Re: Delays in posts

2008-10-31 Thread markgoldin_2000
Same here. I am searching for my messages by my name but the last one 
I get is a month old.


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

 Hi,
 
 Thanks for the prompt response.
 I only use the web interface, both for posting and checking for
 responses.  I do so by searching by my email address.  This should
 should pull up all my posts, right?  Yet when I do that, not even 
this
 thread shows in the results.  Isn't that strange?  I see posts, but
 the most recent one is from the 17th of October.  And like I 
mentioned
 in my original post I posted a couple of new ones a few days ago.  
Is
 there a better way for me to track my posts?
 
 Thanks.
 
 LT
 
 --- In flexcoders@yahoogroups.com, Dimitrios Gianninas
 dimitrios.gianninas@ wrote:
 
  I checked your account and it is unmoderated, which is the way it 
is
 suppose to be. Maybe you can direct me to the messages offline and I
 check to see where they are?
   
  Can you see them via web interface?
 http://tech.groups.yahoo.com/group/flexcoders/messages
 http://tech.groups.yahoo.com/group/flexcoders/messages 
   
  Dimitrios Gianninas
  Flexcoders Moderator
   
  
  
  
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED]
 On Behalf Of lagos_tout
  Sent: Friday, October 31, 2008 4:17 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Delays in posts
  
  
  
  You know, I love this group. But the delays suck. I posted 2
  messages at least 3 days ago and they still haven't shown up. I 
guess
  if I have an urgent question, I'm going to have to post 
elsewhere, as
  much as I'm reluctant to do that - the people on this list are 
very
  knowledgeable and generous.
  Thanks.
  LT
  
  
  
   
  
  -- 
  WARNING
  ---
  This electronic message and its attachments may contain
 confidential, proprietary or legally privileged information, which 
is
 solely for the use of the intended recipient.  No privilege or other
 rights are waived by any unintended transmission or unauthorized
 retransmission of this message.  If you are not the intended 
recipient
 of this message, or if you have received it in error, you should
 immediately stop reading this message and delete it and all
 attachments from your system.  The reading, distribution, copying or
 other use of this message or its attachments by unintended 
recipients
 is unauthorized and may be unlawful.  If you have received this e-
mail
 in error, please notify the sender.
  
  AVIS IMPORTANT
  --
  Ce message électronique et ses pièces jointes peuvent contenir des
 renseignements confidentiels, exclusifs ou légalement privilégiés
 destinés au seul usage du destinataire visé.  L'expéditeur original 
ne
 renonce à aucun privilège ou à aucun autre droit si le présent 
message
 a été transmis involontairement ou s'il est retransmis sans son
 autorisation.  Si vous n'êtes pas le destinataire visé du présent
 message ou si vous l'avez reçu par erreur, veuillez cesser
 immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces
 jointes, de votre système.  La lecture, la distribution, la copie ou
 tout autre usage du présent message ou de ses pièces jointes par des
 personnes autres que le destinataire visé ne sont pas autorisés et
 pourraient être illégaux.  Si vous avez reçu ce courrier 
électronique
 par erreur, veuillez en aviser l'expéditeur.
 





[flexcoders] How to pass data to popup window?

2008-10-31 Thread markflex2007
Hi ,

I need pass data from main window to popup
window(mx:titlewindow).Please give me a idea how to do this.

Please post here if you have a demo code to do this.

Thanks

Mark



[flexcoders] Re: How to pass data to popup window?

2008-10-31 Thread app.developer
Mark, 

What data are you passing to the popup so I can get an idea of what to 
pass to the window...and do you want to do this with or without a 
framework?

Precia

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

 Hi ,
 
 I need pass data from main window to popup
 window(mx:titlewindow).Please give me a idea how to do this.
 
 Please post here if you have a demo code to do this.
 
 Thanks
 
 Mark





RE: [flexcoders] Re: Center Checkbox in DG Column

2008-10-31 Thread Alex Harui
Maybe:

override public function set data(value:Object):void
{
if(value != null)
{
super.data = value;
selected = ( value.label == true ? true: false);
}


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
markgoldin_2000
Sent: Friday, October 31, 2008 3:35 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Center Checkbox in DG Column


I dont know what I am missing, but still not working for me.
Here is my code:
import flash.events.Event;

import mx.controls.*;
import mx.controls.dataGridClasses.DataGridColumn;
import mx.controls.listClasses.IDropInListItemRenderer;
public class checkBoxGrid extends CheckBox implements
IDropInListItemRenderer
{
public function checkBoxGrid()
{
super();
addEventListener(change, onClick);

}

override public function set data(value:Object):void
{
if(value != null)
{
super.data = value;
selected = value.label;
}

}

//called by click of the checkbox
private function onClick(e:Event):void
{
var dataFieldName:String = DataGrid
(listData.owner).columns[listData.columnIndex].dataField;
data[dataFieldName] = String
(selected); //set the checkbox state into the dataProvider

}
}

mxml implementation:
mx:DataGridColumn headerText=Include into Report
dataField=includeintoreport width=40
textAlign=center
mx:itemRenderer
mx:Component
modulecode:checkBoxGrid/
/mx:Component
/mx:itemRenderer
/mx:DataGridColumn

Data sample: Fragment
vendors
ccompany
A. FEIBUSCH CORP.
/ccompany
includeintoreport
false
/includeintoreport
cvendno
ZIPPER
/cvendno
/vendors

When I run it all chckboxes come checked despite false in
includeintoreport field. So, when I click on a checkbox nothing is
changed, it keeps checked status.

Hope, someone can help.

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex 
Harui [EMAIL PROTECTED] wrote:

 Also see:
http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende.h
tml

 From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On 
Behalf Of markgoldin_2000
 Sent: Friday, October 31, 2008 1:50 PM
 To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
 Subject: [flexcoders] Re: Center Checkbox in DG Column


 You could also potentially use my extended datagrid
 Where can I find it?

 --- In 
 flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.commailto:flexcoders%
40yahoogroups.com, Amy amyblankenship@ wrote:
 
  --- In 
  flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.commailto:flexcoders%
40yahoogroups.com, markgoldin_2000
  markgoldin_2000@ wrote:
  
   I am trying to get a checkbox working properly in my DG column
 when
   it's placed in a HBox in order to center the checkbox.
   I am overriding a few functions in the checkbox but none of them
 gets
   any hit. Do I need also override something in the HBox
container?
 
  You might find this useful:
  http://www.returnundefined.com/2006/11/creating-truly-reusable-
  renderers-with-classfactory
 
  You could also potentially use my extended datagrid to set the
  verticalCenter and horizontalCenter on the checkboxes to 0. In
 that
  case, you could simply use a CheckBox as the itemRenderer. Or, if
  you're only using CheckBoxes in that one place, you could just use
 a
  CheckBox TypeSelector to set the horizontalCenter and
 verticalCenter
  styles.
 
  HTH;
 
  Amy