Re: [flexcoders] genie effect, i need help

2008-10-19 Thread Carlos Rovira
Hi Carlo,

I'll put in contact with Raul offline. He could respond to your question and
you can report bugs so he can update his code

Best,

C

2008/10/19 Carlo Gulliani [EMAIL PROTECTED]

   ok, no problems, but can you help me to solve question?

 - Original Message 
 From: Carlos Rovira [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Cc: Raul Diaz Torres [EMAIL PROTECTED]
 Sent: Saturday, October 18, 2008 7:49:47 PM
 Subject: Re: [flexcoders] genie effect, i need help

  Hi Carlos

 This effect was developed by Raul Diaz, a team member of Made In Flex, the
 Spanish Flex/AIR Community.
 You can get the code here:

 http://www.madeinfl ex.com/2008/ 01/29/efecto- aladino-genie- 
 effect/http://www.madeinflex.com/2008/01/29/efecto-aladino-genie-effect/

 other related links:

 http://www.madeinfl ex.com/team/ #toc-raul- diazhttp: //www.madeinflex
 .com/team/ #toc-raul- 
 diazhttp://www.madeinflex.com/team/#toc-raul-diazhttp://www.madeinflex.com/team/%23toc-raul-diaz
 http://blog. diaztorres. com/ http://blog.diaztorres.com/

 Please, remove the file and point to our web site to get the source files.

 Thanks in advanced

 Carlos Rovira

 2008/10/17 Carlo Gulliani carlogulliani@ yahoo.com[EMAIL PROTECTED]
 

   really i don't remember who's wrote this code, i have downloaded it
 earlier. I have uploaded mini-project https://download. yousendit.
 com/TTdIS3hkQ1I3 
 N0N4dnc9PQhttps://download.yousendit.com/TTdIS3hkQ1I3N0N4dnc9PQif 
 mx:ApplicationContr olBar it's below, then it work, if above then it
 doesn't work

 - Original Message 
 From: Tom Chiverton tom.chiverton@ halliwells. com[EMAIL PROTECTED]
 
 To: [EMAIL PROTECTED] ups.com flexcoders@yahoogroups.com
 Sent: Friday, October 17, 2008 5:18:13 PM
 Subject: Re: [flexcoders] genie effect, i need help

 On Friday 17 Oct 2008, Carlo Gulliani wrote:
  hi all, does somebody knows how to make 'genie effect' like on macosx?
 i've
  found example for flex, but i can't understand how it work((( and i've
  found bug, it work only if my workspace is  preview panel. maybe
 somebody
  could tell me how to think and how to make it. thanks in advance

 Well, for starters:
 Who's code are you using ? Show us your working code example, and also
 your
 non working code example ?

 --
 Tom Chiverton
 Helping to conveniently cluster viral end-to-end visionary data



  * * * * 

 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. 
 comhttp://www.halliwells.com
 .

  - - --

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




  _ _ _ _ __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam protection around
 http://mail. yahoo.com http://mail.yahoo.com




 __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
  



[flexcoders] Caching state of a module

2008-10-19 Thread Abdul Razak PM
Hi, 
  I have an application which using a module loader.

   I want to go back to the first module after seeing second module. I
used browser history for this, but it could not keep the state of the
first module(i could keep only the module url and reload it). have any
other way..?

regards, 
Razak



Re: [flexcoders] genie effect, i need help

2008-10-19 Thread Carlo Gulliani
ow, thanks


- Original Message 
From: Carlos Rovira [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, October 19, 2008 11:31:28 AM
Subject: Re: [flexcoders] genie effect, i need help

 
Hi Carlo,

I'll put in contact with Raul offline. He could respond to your question and 
you can report bugs so he can update his code

Best,

C


2008/10/19 Carlo Gulliani carlogulliani@ yahoo.com

ok, no problems, but can you help me to solve question?


- Original Message 
From: Carlos Rovira carlos.rovira@ gmail.com
To: [EMAIL PROTECTED] ups.com

Cc: Raul Diaz Torres raul.diaztorres@ gmail.com
Sent: Saturday, October 18, 2008 7:49:47 PM
Subject: Re: [flexcoders] genie effect, i need help


Hi Carlos

This effect was developed by Raul Diaz, a team member of Made In Flex, the 
Spanish Flex/AIR Community.
You can get the code here:

http://www.madeinfl ex.com/2008/ 01/29/efecto- aladino-genie- effect/

other related links:

http://www.madeinfl ex.com/team/ #toc-raul- diazhttp: //www.madeinflex 
.com/team/ #toc-raul- diaz

http://blog. diaztorres. com/

Please, remove the file and point to our web site to get the source files.

Thanks in advanced

Carlos Rovira


2008/10/17 Carlo Gulliani carlogulliani@ yahoo.com

really i don't remember who's wrote this code, i have downloaded it earlier. I 
have uploaded mini-project https://download. yousendit. com/TTdIS3hkQ1I3 
N0N4dnc9PQ if mx:ApplicationContr olBar it's below, then it work, if above 
then it doesn't work


- Original Message 
From: Tom Chiverton tom.chiverton@ halliwells. com

To: [EMAIL PROTECTED] ups.com
Sent: Friday, October 17, 2008 5:18:13 PM
Subject: Re: [flexcoders] genie effect, i need help

On Friday 17 Oct 2008, Carlo Gulliani wrote:
 hi all, does somebody knows how to make 'genie effect' like on macosx? i've
 found example for flex, but i can't understand how it work((( and i've
 found bug, it work only if my workspace is  preview panel. maybe somebody
 could tell me how to think and how to make it. thanks in advance

Well, for starters:
Who's code are you using ? Show us your working code example, and also your 
non working code example ?

-- 
Tom Chiverton
Helping to conveniently cluster viral end-to-end visionary data



 * * * * 

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/flexcoder sFAQ.txt

Alternative FAQ location: https://share. acrobat.com/ adc/document. do?docid= 
942dbdc8- e469-446f- b4cf-1e62079f684 7
Search Archives: http://www.mail- archive.com/ flexcoders% 40yahoogroups. 
comYahoo! Groups Links


mailto:flexcoders-fullfeat [EMAIL PROTECTED] .com





 _ _ _ _ __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail. yahoo.com  



 _ _ _ _ __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail. yahoo.com  

 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[flexcoders] Which style name control the color

2008-10-19 Thread itdanny2002
Which style name control the color
of bullet / checkmark in menu control ?



[flexcoders] z property in mx.core.UIComponent

2008-10-19 Thread gwangdesign
I was trying to set z property for a Button and expected to see it
either get bigger or smaller. But despite my expectation, nothing
seemed to happen (nor did the compiler complain)...

So is this 3D thing only working with rotationX/Y/Z for UIComponent as
someone mentioned a while ago?

I was using gumbo sdk and targeting fp10. Thanks.



[flexcoders] Re: My Flex Form - please help

2008-10-19 Thread brucewhealton
Thanks for the tips.  I did finally get a slightly different Contact
Form working.  So, I still want to get this approach to work as well.
I do see some of the obvious errors like not even giving the input
fields on the form an id.  Similarly, I get it...  one should not have
the custom component rely upon what is in the application.  The other
application I found in a tutorial online used XML to package the data
which is a little different from my use of an Object data type.  Would
there be any benefits to doing things one way or the other?

I think things are closer to working now, having followed your
suggestions.  I am also going based on the other design I found that
did work for me also.  So, hopefully I have this.

Is name a reserved word in Flex?  It was having a problem with the
variable name, but when I capitalized it, the error went away.

Lastly, in a longer form that I want to use I will have combo boxes
and check boxes.  I understand that php needs these to be arrays.  How
would I setup the Object to handle this?  On the right side of the =
sign in the Object, I am still grabbing data from a text field on the
form, correct?  So, any tips/advice on this, please?
Bruce



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

 A quick look.
 
 You have in sendMyData::
 
 obj.Name = Name.text;
obj.Email = Email.text;
obj.Message = Message.text;
 
 Yet FormComp has:
 
 mx:FormItem label=Name:
   mx:TextInput/
  /mx:FormItem
  mx:FormItem label=Email:
   mx:TextInput/
  /mx:FormItem
  mx:FormItem label=Message:
   mx:TextArea/
  /mx:FormItem
 
 None of the form fields has an id..
 
 Also,
 
 mx:Button label=Contact Us fontSize=16 click=sendMyData()/
 
 shows a click handler function sendMyData(), yet there's no function 
 called that in FormComp. sendMydata() is part of the parent
application. You 
 can probably get away with referring to
Application.application.sendMyData, 
 but that's really bad practice.
 
 The coupling of these components is really not as it should be try
and build 
 components that can be used standalone without having to refer
directly to 
 what is happeining outside. The formComp shouldn't be accessing a
handler in 
 the parent application.
 
 The form should dispatch a custom event saying that the form has
been filled 
 in and that event should include a payload of the form content. The 
 application should listen for that event and despatch a message
using the 
 event payload.
 
 I would suggest recapping some of your classes.
 
 Paul
 
 
 
 
 
 - Original Message - 
 From: brucewhealton [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Friday, October 17, 2008 1:34 AM
 Subject: [flexcoders] Re: My Flex Form - please help
 
 
  Hi,
  I have to ask something else... when you said change the
  reference to Name, I wasn't sure that you meant on the left of the =
  or right.
  I have taken a class on AS 3.0 and two on Flex 3 and it was very
  extensive... getting into OOP.  I thought I had things figured out.
  Could you or someone please look at my code and specifically edit it
  to work.  It is very small and I only need to have one field in the
  form for demonstration purposes.  It might be only a line or two that
  needs to be changed or added.  There are only two files so far.
   Here's the link:
  http://fwweb.biz/ContactForm.zip
  Please email me directly or post the fixed code specifically as
  it would need to be for this to work.
  I'll reproduce the code below as well.  It's not long.  As a
  note, I did find a free Flex/PHP application that does this.  However,
  I want to figure out how to get the very basic application that I
  started, working right, instead of just taking something else.  I want
  to figure out the exact logic that would work to accomplish what I am
  trying.  By being real basic, I can focus mainly on the details and
  concepts that I am getting wrong.
   The instructor in the two classes I took on Flex Builder 3,
  stated that I needed an HTTPService tag which calls the php form
  processing script that emails form results to a specified email
  address - setting the method to POST.  In the form component, I would
  call an AS 3.0 function that creates the object, obj:Object = new
  Object(); - then in the function sendMyData, I call the HTTPService
  send method.
 
   It sounds like you are saying that I shouldn't use obj but
  should use something like this:
forms:FormComp id=form/
 Then, in the function sendMyData(, I just do it like this:
  form.Name = Name.text;
  No, that doesn't work.  It still gives me an error saying:
  Access to undefined property Name.
I really didn't follow that either.  I thought I would need an
  object that would have properties sent to the HTTPService request
  which calls the php form processor which will email me the results.
 
  Please, check out the code I include and if you or someone else would,
  please replace 

Re: [flexcoders] Re: My Flex Form - please help

2008-10-19 Thread Paul Andrews
- Original Message - 
From: brucewhealton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, October 19, 2008 8:52 PM
Subject: [flexcoders] Re: My Flex Form - please help


 Thanks for the tips.  I did finally get a slightly different Contact
 Form working.  So, I still want to get this approach to work as well.
 I do see some of the obvious errors like not even giving the input
 fields on the form an id.  Similarly, I get it...  one should not have
 the custom component rely upon what is in the application.  The other
 application I found in a tutorial online used XML to package the data
 which is a little different from my use of an Object data type.  Would
 there be any benefits to doing things one way or the other?

 I think things are closer to working now, having followed your
 suggestions.  I am also going based on the other design I found that
 did work for me also.  So, hopefully I have this.

 Is name a reserved word in Flex?  It was having a problem with the
 variable name, but when I capitalized it, the error went away.

 Lastly, in a longer form that I want to use I will have combo boxes
 and check boxes.  I understand that php needs these to be arrays.  How
 would I setup the Object to handle this?  On the right side of the =
 sign in the Object, I am still grabbing data from a text field on the
 form, correct?  So, any tips/advice on this, please?

My suggestion would be to follow flex in a week on the adobe site, then 
you'd know most of the answers to these these questions. For the moment I 
think you're trying to run before you've got to grips with walking.

Paul.



 Bruce



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

 A quick look.

 You have in sendMyData::

 obj.Name = Name.text;
obj.Email = Email.text;
obj.Message = Message.text;

 Yet FormComp has:

 mx:FormItem label=Name:
   mx:TextInput/
  /mx:FormItem
  mx:FormItem label=Email:
   mx:TextInput/
  /mx:FormItem
  mx:FormItem label=Message:
   mx:TextArea/
  /mx:FormItem

 None of the form fields has an id..

 Also,

 mx:Button label=Contact Us fontSize=16 click=sendMyData()/

 shows a click handler function sendMyData(), yet there's no function
 called that in FormComp. sendMydata() is part of the parent
 application. You
 can probably get away with referring to
 Application.application.sendMyData,
 but that's really bad practice.

 The coupling of these components is really not as it should be try
 and build
 components that can be used standalone without having to refer
 directly to
 what is happeining outside. The formComp shouldn't be accessing a
 handler in
 the parent application.

 The form should dispatch a custom event saying that the form has
 been filled
 in and that event should include a payload of the form content. The
 application should listen for that event and despatch a message
 using the
 event payload.

 I would suggest recapping some of your classes.

 Paul





 - Original Message - 
 From: brucewhealton [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Friday, October 17, 2008 1:34 AM
 Subject: [flexcoders] Re: My Flex Form - please help


  Hi,
  I have to ask something else... when you said change the
  reference to Name, I wasn't sure that you meant on the left of the =
  or right.
  I have taken a class on AS 3.0 and two on Flex 3 and it was very
  extensive... getting into OOP.  I thought I had things figured out.
  Could you or someone please look at my code and specifically edit it
  to work.  It is very small and I only need to have one field in the
  form for demonstration purposes.  It might be only a line or two that
  needs to be changed or added.  There are only two files so far.
   Here's the link:
  http://fwweb.biz/ContactForm.zip
  Please email me directly or post the fixed code specifically as
  it would need to be for this to work.
  I'll reproduce the code below as well.  It's not long.  As a
  note, I did find a free Flex/PHP application that does this.  However,
  I want to figure out how to get the very basic application that I
  started, working right, instead of just taking something else.  I want
  to figure out the exact logic that would work to accomplish what I am
  trying.  By being real basic, I can focus mainly on the details and
  concepts that I am getting wrong.
   The instructor in the two classes I took on Flex Builder 3,
  stated that I needed an HTTPService tag which calls the php form
  processing script that emails form results to a specified email
  address - setting the method to POST.  In the form component, I would
  call an AS 3.0 function that creates the object, obj:Object = new
  Object(); - then in the function sendMyData, I call the HTTPService
  send method.
 
   It sounds like you are saying that I shouldn't use obj but
  should use something like this:
forms:FormComp id=form/
 Then, in the function sendMyData(, I just do it like this:
  

Re: [flexcoders] [ANN Class] 3D Interactive UI, Papervision w/ Flex for Games and more

2008-10-19 Thread Igor Costa
Come on.

Isn't the right place for spam.

On Fri, Oct 17, 2008 at 4:38 PM, v.cekvenich [EMAIL PROTECTED] wrote:

   A 10 hour bootcamp in Flex to learn 3D using Papervision. Taught by
 professional trainer Vic Cekvenich. In SF on 11/20 after Max,more info
 at: http://papervision.proj.com $200-400.

 We will cover hands on labs from scratch:

 * Setting up the SDK
 * Warm up: 2D Motion
 * 3D Primitives
 * 3D Math
 * Materials
 * Make a complex objects (Collada)
 * Interactions
 * Shadows/Reflection
 * Flash 10
 * Calling a remote (web java/data ) service
 * and more.

 This is an intensive all day class stressing techniques useful for
 gaming and traditional 3D. You will walk out comfortable creating
 simple 3D games or a Rich UI Web site.

 You must provide your own laptop, over 1 GB ram recommended. Power
 will be provided for each laptop. We will mail you class prep
 materials on a usb stick 10 days before the class. You will also have
 support after the class.

 .V

 




-- 

Igor Costa
www.igorcosta.com
www.igorcosta.org


[flexcoders] Re: My Flex Form - it works!

2008-10-19 Thread brucewhealton
Hi Paul and others,
 Having followed your directions and seeing my own faults, I
finally got this working, using the simple design that I chose from
the beginning.  I had covered OOP and AS 3.0 but until you do
different things, it's not the same as learning it in a class. 
Learning to think in an OOP way is what I am developing as a skill.  
  I did get it though when you mentioned the idea of not having
the custom component rely on methods or properties in the application.  
 The only problem I have is how to handle the Fault Event from the
HTTPService.  If the php form mailer had a problem then we would
handle that with the fault_handler method.  I was wondering if someone
here knew php enough to be able to tell me how I could return a value
to the component if something goes wrong.  I have the function
fault_handler(event:ResultEvent):void and that will get called from
resultHandler if the code returns: event.result == ERROR.
   My php form does this:
$OK = mail ($mail_to, $subject, $message, $headers);

if ($OK)
{
echo 'sent=OK';
} 
else 
{
echo 'sent=ERROR';
}


Will this work in the php?  If so, do I just check for ERROR as the
value of event.result?
Thanks in advance,
Bruce  

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

 A quick look.
 
 You have in sendMyData::
 
 obj.Name = Name.text;
obj.Email = Email.text;
obj.Message = Message.text;
 
 Yet FormComp has:
 
 mx:FormItem label=Name:
   mx:TextInput/
  /mx:FormItem
  mx:FormItem label=Email:
   mx:TextInput/
  /mx:FormItem
  mx:FormItem label=Message:
   mx:TextArea/
  /mx:FormItem
 
 None of the form fields has an id..
 
 Also,
 
 mx:Button label=Contact Us fontSize=16 click=sendMyData()/
 
 shows a click handler function sendMyData(), yet there's no function 
 called that in FormComp. sendMydata() is part of the parent
application. You 
 can probably get away with referring to
Application.application.sendMyData, 
 but that's really bad practice.
 
 The coupling of these components is really not as it should be try
and build 
 components that can be used standalone without having to refer
directly to 
 what is happeining outside. The formComp shouldn't be accessing a
handler in 
 the parent application.
 
 The form should dispatch a custom event saying that the form has
been filled 
 in and that event should include a payload of the form content. The 
 application should listen for that event and despatch a message
using the 
 event payload.
 
 I would suggest recapping some of your classes.
 
 Paul
 
 
 
 
 
 - Original Message - 
 From: brucewhealton [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Friday, October 17, 2008 1:34 AM
 Subject: [flexcoders] Re: My Flex Form - please help
 
 
  Hi,
  I have to ask something else... when you said change the
  reference to Name, I wasn't sure that you meant on the left of the =
  or right.
  I have taken a class on AS 3.0 and two on Flex 3 and it was very
  extensive... getting into OOP.  I thought I had things figured out.
  Could you or someone please look at my code and specifically edit it
  to work.  It is very small and I only need to have one field in the
  form for demonstration purposes.  It might be only a line or two that
  needs to be changed or added.  There are only two files so far.
   Here's the link:
  http://fwweb.biz/ContactForm.zip
  Please email me directly or post the fixed code specifically as
  it would need to be for this to work.
  I'll reproduce the code below as well.  It's not long.  As a
  note, I did find a free Flex/PHP application that does this.  However,
  I want to figure out how to get the very basic application that I
  started, working right, instead of just taking something else.  I want
  to figure out the exact logic that would work to accomplish what I am
  trying.  By being real basic, I can focus mainly on the details and
  concepts that I am getting wrong.
   The instructor in the two classes I took on Flex Builder 3,
  stated that I needed an HTTPService tag which calls the php form
  processing script that emails form results to a specified email
  address - setting the method to POST.  In the form component, I would
  call an AS 3.0 function that creates the object, obj:Object = new
  Object(); - then in the function sendMyData, I call the HTTPService
  send method.
 
   It sounds like you are saying that I shouldn't use obj but
  should use something like this:
forms:FormComp id=form/
 Then, in the function sendMyData(, I just do it like this:
  form.Name = Name.text;
  No, that doesn't work.  It still gives me an error saying:
  Access to undefined property Name.
I really didn't follow that either.  I thought I would need an
  object that would have properties sent to the HTTPService request
  which calls the php form processor which will email me the results.
 
  Please, check out the code I include and if you or someone else 

Re: [flexcoders] [ANN Class] 3D Interactive UI, Papervision w/ Flex for Games and more

2008-10-19 Thread Paul Andrews
Where would be the right place for something like this?
  - Original Message - 
  From: Igor Costa 
  To: flexcoders@yahoogroups.com 
  Sent: Sunday, October 19, 2008 9:28 PM
  Subject: Re: [flexcoders] [ANN Class] 3D Interactive UI, Papervision w/ Flex 
for Games and more


  Come on.

  Isn't the right place for spam.


  On Fri, Oct 17, 2008 at 4:38 PM, v.cekvenich [EMAIL PROTECTED] wrote:

A 10 hour bootcamp in Flex to learn 3D using Papervision. Taught by
professional trainer Vic Cekvenich. In SF on 11/20 after Max,more info
at: http://papervision.proj.com $200-400.

We will cover hands on labs from scratch:

* Setting up the SDK
* Warm up: 2D Motion
* 3D Primitives
* 3D Math
* Materials
* Make a complex objects (Collada)
* Interactions
* Shadows/Reflection
* Flash 10
* Calling a remote (web java/data ) service
* and more.

This is an intensive all day class stressing techniques useful for
gaming and traditional 3D. You will walk out comfortable creating
simple 3D games or a Rich UI Web site.

You must provide your own laptop, over 1 GB ram recommended. Power
will be provided for each laptop. We will mail you class prep
materials on a usb stick 10 days before the class. You will also have
support after the class.

.V






  -- 
  
  Igor Costa
  www.igorcosta.com
  www.igorcosta.org

   

[flexcoders] Re: Why is This Video Showing Up Distorted in my FLV Player?

2008-10-19 Thread jwebbsuccess
Just a little clean up here... I figured out why the video was 
distorted.  When playing an FLV inside a player that has a width and 
height smaller than the FLV's default sizes, you must set the 
video.smoothing property to true.  If you are using a player component 
that does not expose the video object, you have to go into the 
component's source somehow or build your own player.  I chose the 
latter and had success.


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

 Thanks for reading.
 I'm using an open source video player found
 here: http://www.fxcomponents.com/flex-video-player/
 http://www.fxcomponents.com/flex-video-player/
 
 The video in this player shows up distorted even though I've 
verified
 that maintainAspectRatio is set to true, the ratio between the FLV
 default size (360 x 270) and the video screen size (300 x 225) has 
been
 preserved.  This player is calling an FLV on a separate server.
 http://www.law.com/jsp/nylj/PubArticleNY.jsp?
hubtype=TopStoriesid=12024\
 25167541
 http://www.law.com/jsp/nylj/PubArticleNY.jsp?
hubtype=TopStoriesid=1202\
 425167541
 
 The player below is displaying the same FLV file.  In this case, the
 player is playing an FLV on the same server:
 http://www.gcnewyork.com/display.php/file=/video/nyljStory10
 http://www.gcnewyork.com/display.php/file=/video/nyljStory10
 
 
 Do you have any idea on what I have to do to make the 1st player's
 playback crystal clear like the 2nd player?






[flexcoders] How Do I Programatically Make Flash Movie's Stage Expand Over its Container Div?

2008-10-19 Thread jwebbsuccess
http://www.futurewebstudios.com/clientspace/OMCC/ohpws_preview/index.p
hp

In the animation on the page above, notice the toy soldier spinning 
the candy cane.  The candy cane gets cut off by the bottom of the 
stage as it spins.  I'd like to grow the stage height to reveal the 
whole candy cane as it spins, then shink it back to it's starting 
height once the cane stops spinning.  

Does anyone know how to make the flash movie expand over the HTML div 
it is contained inside without changing the div's size?  I've seen 
Flash ads on websites like Yahoo.com and Huffingtonpost.com where 
mousing over the ad makes the ad expand to an arbitrary size without 
moving any of the page elements, as if the flash movie suddenly 
overlaps the rest of the page.  Once you mouseout, the movie returns 
to its original size/state inside the div.

I've already got the code that fires an event when the toy solider 
starts and stops the spin.  Now I need the code to resize the 
animation without without moving any HTML elements.  





Re: [flexcoders] How Do I Programatically Make Flash Movie's Stage Expand Over its Container Div?

2008-10-19 Thread Paul Andrews

- Original Message - 
From: jwebbsuccess [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, October 19, 2008 11:58 PM
Subject: [flexcoders] How Do I Programatically Make Flash Movie's Stage 
Expand Over its Container Div?


 http://www.futurewebstudios.com/clientspace/OMCC/ohpws_preview/index.p
 hp

 In the animation on the page above, notice the toy soldier spinning
 the candy cane.  The candy cane gets cut off by the bottom of the
 stage as it spins.  I'd like to grow the stage height to reveal the
 whole candy cane as it spins, then shink it back to it's starting
 height once the cane stops spinning.

 Does anyone know how to make the flash movie expand over the HTML div
 it is contained inside without changing the div's size?  I've seen
 Flash ads on websites like Yahoo.com and Huffingtonpost.com where
 mousing over the ad makes the ad expand to an arbitrary size without
 moving any of the page elements, as if the flash movie suddenly
 overlaps the rest of the page.  Once you mouseout, the movie returns
 to its original size/state inside the div.

I think the movie is always at the full size, but has a transparent 
background. Then you just mask the contents and change the size of the 
mask..



 I've already got the code that fires an event when the toy solider
 starts and stops the spin.  Now I need the code to resize the
 animation without without moving any HTML elements.




 

 --
 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] Re: How Do I Programatically Make Flash Movie's Stage Expand Over its Container

2008-10-19 Thread jwebbsuccess
I don't think that's the case.  When I've seen those ads - like the 
UPS Brown ad for example, I've been able to select the HTML elements 
surrounding the Flash div just like normal HTML.  If the Flash movie 
overlapped the other HTML elements to begin with, you wouldn't be able 
to select the text underneath it, transparent or not.

Any other ideas?


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

 
 - Original Message - 
 From: jwebbsuccess [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Sunday, October 19, 2008 11:58 PM
 Subject: [flexcoders] How Do I Programatically Make Flash Movie's 
Stage 
 Expand Over its Container Div?
 
 
  
http://www.futurewebstudios.com/clientspace/OMCC/ohpws_preview/index.p
  hp
 
  In the animation on the page above, notice the toy soldier 
spinning
  the candy cane.  The candy cane gets cut off by the bottom of the
  stage as it spins.  I'd like to grow the stage height to reveal 
the
  whole candy cane as it spins, then shink it back to it's starting
  height once the cane stops spinning.
 
  Does anyone know how to make the flash movie expand over the HTML 
div
  it is contained inside without changing the div's size?  I've seen
  Flash ads on websites like Yahoo.com and Huffingtonpost.com where
  mousing over the ad makes the ad expand to an arbitrary size 
without
  moving any of the page elements, as if the flash movie suddenly
  overlaps the rest of the page.  Once you mouseout, the movie 
returns
  to its original size/state inside the div.
 
 I think the movie is always at the full size, but has a transparent 
 background. Then you just mask the contents and change the size of 
the 
 mask..
 
 
 
  I've already got the code that fires an event when the toy solider
  starts and stops the spin.  Now I need the code to resize the
  animation without without moving any HTML elements.
 
 
 
 
  
 
  --
  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] Re: How Do I Programatically Make Flash Movie's Stage Expand Over its Container

2008-10-19 Thread Paul Andrews

- Original Message - 
From: jwebbsuccess [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, October 20, 2008 12:21 AM
Subject: [flexcoders] Re: How Do I Programatically Make Flash Movie's Stage 
Expand Over its Container


I don't think that's the case.  When I've seen those ads - like the
 UPS Brown ad for example, I've been able to select the HTML elements
 surrounding the Flash div just like normal HTML.  If the Flash movie
 overlapped the other HTML elements to begin with, you wouldn't be able
 to select the text underneath it, transparent or not.

 Any other ideas?

My memory is slightly wrong - I did do an advert as you describe using Flash 
and the technique was as I explained, but the flash html publishing 
properties were set so that the dimensions were 'match movie' (I remember 
that the actual move stage was larger, but the only movie on the timeline 
was using a mask for the content).




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


 - Original Message - 
 From: jwebbsuccess [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Sunday, October 19, 2008 11:58 PM
 Subject: [flexcoders] How Do I Programatically Make Flash Movie's
 Stage
 Expand Over its Container Div?


 
 http://www.futurewebstudios.com/clientspace/OMCC/ohpws_preview/index.p
  hp
 
  In the animation on the page above, notice the toy soldier
 spinning
  the candy cane.  The candy cane gets cut off by the bottom of the
  stage as it spins.  I'd like to grow the stage height to reveal
 the
  whole candy cane as it spins, then shink it back to it's starting
  height once the cane stops spinning.
 
  Does anyone know how to make the flash movie expand over the HTML
 div
  it is contained inside without changing the div's size?  I've seen
  Flash ads on websites like Yahoo.com and Huffingtonpost.com where
  mousing over the ad makes the ad expand to an arbitrary size
 without
  moving any of the page elements, as if the flash movie suddenly
  overlaps the rest of the page.  Once you mouseout, the movie
 returns
  to its original size/state inside the div.

 I think the movie is always at the full size, but has a transparent
 background. Then you just mask the contents and change the size of
 the
 mask..


 
  I've already got the code that fires an event when the toy solider
  starts and stops the spin.  Now I need the code to resize the
  animation without without moving any HTML elements.
 
 
 
 
  
 
  --
  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



 



[flexcoders] Re: Help with FlexBook: was Help with Flex Component

2008-10-19 Thread brucewhealton
Hello,
As I am still painfully aware of the fact that I am still new to Flex,
I was wondering if you or anyone for that matter, would want to help
me to do this for my the Poetry Magazine that I publish online. 
It would be so great to have this kind of thing for the presentation
of a poetry magazine online.  I would gladly give full credit to
anyone who would help make this happen.  Our magazine shows up in
position 4-6 of the generic results on yahoo.com when searching on
poetry magazine.  Maybe generic is not the word but I mean not on
the paid listings on the search engine.

It would thus be good exposure and if anyone here enjoyss poetry, that
would be another incentive (I hope).

I'm referring to the FlexBook component that is available under an
Open-Source license.  I could just stick the text on the first example
use of this component, where we use somewhat transparent slides. 
Transparency is good at times but probably not needed for my poetry
magazine.


Thanks in advance,
Bruce
--- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote:

 This is what I did..
 
 Went to the URI you provided.
 Clicked on Example 1.
 Right Clicked on the page and selected view source.
 Saved the Book.zip file it asked me to save.
 Opened Flex Builder - File-Import-Flex Project...
 Clicked Browse and opened the Book.zip file downloaded previously.
 Clicked Finish (The project was imported)
 
 There are some problems with the imported project. This is what I did
 to fix them...
 
 Right click the Book project and select properties.
 Click Flex Build Path.
 Click on the folder C:\dev\qs\lib (At the top) and click Remove.
 Change Output Folder from C:\dev\qs\web\public\book to bin-debug.
 Remove http://localhost:3000/book from Output folder URL (Leave blank)
 Click Apply.
 Click OK.
 Click OK to the warning about upgrading the project.
 
 I do not have the Pro version of Flex Builder so I do not have the
 charting stuff so I had further work to do:
 
 In CompanyPage.mxml, remove the entire section with the component
 ColumnChart.
 In app.mxml, remove the entire section with the component BarChart.
 
 Now you can run any of the six demos included. There are some runtime
 errors but these seem to be security sandbox problems that I have not
 looked into.
 
 
 
 --- In flexcoders@yahoogroups.com, brucewhealton bruce@ wrote:
 
  Hello all,
 I sure hope someone can help me with this.  I stumbled upon a 
  great Flex component that will fit a need I have.  Actually, it was 
  only when I found this that I realized I need this.  It's the 
  FlexBook, PageFlip component that is available from Quietly Scheming 
  here: 
  http://www.quietlyscheming.com/blog/components/flexbook/
  This is free too!
  Now, this takes me to a page with a few different examples.  You can 
  do this with a List or as a container.  Instead of looking at the 
  code for each of these example or possible ways of doing it, we just 
  see a demo and there is one link to Download Source, which basically 
  downloads everything including content that probably has little to do 
  with the FlexBook.
  I don't know.  I'm missing something here.  I thought I could 
  start with a particular design and put some text on it and then later 
  I could make more detailed modifications and customizations.
   I tried opening up one of the projects in Flex Builder 3 and 
  got an error.  I thought I'd start with the FlipControls and so I 
  imported that into Flex using File  Import and selecting the 
  directory.  It didn't like that.  So, I tried to import the entire 
  zip file that is available, but that didn't work either.  It only 
  tried to import the first project in there and refused to continue on 
  to Flex, unless I hit Cancel.
   Any tips or help would be very appreciated.
  This is freely available so, it would be so useful to have for my 
  publications.
  Thanks,
  Bruce
 





[flexcoders] Re: z property in mx.core.UIComponent

2008-10-19 Thread gwangdesign
I think I found the answer myself:) Here:

http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/DisplayObject.html

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

 I was trying to set z property for a Button and expected to see it
 either get bigger or smaller. But despite my expectation, nothing
 seemed to happen (nor did the compiler complain)...
 
 So is this 3D thing only working with rotationX/Y/Z for UIComponent as
 someone mentioned a while ago?
 
 I was using gumbo sdk and targeting fp10. Thanks.





[flexcoders] Re: [Solved] [LCDS] Using where in in the SQL assembler

2008-10-19 Thread benjidudu
Hi William,
You are right, it works perfectly as you wrote it. I guess I
overthought it while it is simple and easy.
Thank you for your help,

Benjamin.

P.S.: as a side note, the in clause will only work from LCDS 2.6.


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

 Hi Benjamin,
 
 I also tried 
 select * from 
 employee where lastname in (123)
 directly on database console. I got an empty result instead of sql 
 error
 
 William
 
 --- In flexcoders@yahoogroups.com, kwbillchan wchan@ wrote:
 
  Hi Benjamin, 
  
  I tried the in clause statement without any problem. Here are what 
 I 
  did
  fill
  namegetSomeEmployees/name
  sql
  select id as id, firstname as firstname, 
  lastname as lastname, phonenumber as phonenumber 
  from employee 
  where id in (#ids#)
  and
  phonenumber like concat(#areacode#,'%')
  /sql
  /fill
  fill
  namegetSomeEmployeesWithSameLastName/name
  sql
  select id as id, firstname as firstname, 
  lastname as lastname, phonenumber as phonenumber
  from employee
  where lastname in (#lastNames#)
  /sql
  /fill
  
  fill using number array:
  var ids: Array = [1,3,5,7,9];
  var token: AsyncToken = ds.fill
  (people, getSomeEmployees, {ids:ids,areacode:617});
  fill using String array:
  var lastnames: Array = [Cattel];
  var token: AsyncToken = ds.fill
  (people, getSomeEmployeesWithSameLastName, 
 {lastNames:lastnames});
  
  
  
  
  William
  
  --- In flexcoders@yahoogroups.com, benjidudu benjamin.durin@ 
  wrote:
  
   I am unsuccesfully trying using a
   SELECT index_id, vpn_id  FROM circuit WHERE index_id in 
  ('123', '234')
   sql statement with LCDS' SQL assembler.
   
   In my data-management-config.xml, I configured the sql as
   SELECT index_id, vpn_id  FROM circuit WHERE index_id in 
 (#list#).
   And in Flex, I tried sending 'list' as an Array, a String (with 
 and
   without quotes) but without success. It always return an empty 
 set 
  but
   does not return a fault.
   
   Does anybody know how I should code this?
   
   Thanks,
   Benjamin.
  
 





[flexcoders] Dispatching the itemEditEnd event from a custom item editor

2008-10-19 Thread Randy Martin
I have a custom item editor for a cell in a DataGrid that consists of two
ComboBoxes. Everything works perfectly, except I'd like a way to exit the
item editor as soon as the user selects from the second combo box.

 

That is, I'd like the item editor to dispatch the itemEditEnd event as if
the use had removed the focus from the column being edited.

 

I tried just having the 2nd combo box dispatch the event in response to its
change event, but that didn't work.

 

Anyone have any suggestions?

 

TIA,

~randy 



[flexcoders] Re: How Do I Programatically Make Flash Movie's Stage Expand Over its Container Div?

2008-10-19 Thread fotis.chatzinikos
It is usually done but setting the wmode to transparent (or simething
similar cannot remember - google for it) instead of opaque (flash
objects in an html page are rendered on top of everything else this way)

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

 
 - Original Message - 
 From: jwebbsuccess [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Sunday, October 19, 2008 11:58 PM
 Subject: [flexcoders] How Do I Programatically Make Flash Movie's Stage 
 Expand Over its Container Div?
 
 
  http://www.futurewebstudios.com/clientspace/OMCC/ohpws_preview/index.p
  hp
 
  In the animation on the page above, notice the toy soldier spinning
  the candy cane.  The candy cane gets cut off by the bottom of the
  stage as it spins.  I'd like to grow the stage height to reveal the
  whole candy cane as it spins, then shink it back to it's starting
  height once the cane stops spinning.
 
  Does anyone know how to make the flash movie expand over the HTML div
  it is contained inside without changing the div's size?  I've seen
  Flash ads on websites like Yahoo.com and Huffingtonpost.com where
  mousing over the ad makes the ad expand to an arbitrary size without
  moving any of the page elements, as if the flash movie suddenly
  overlaps the rest of the page.  Once you mouseout, the movie returns
  to its original size/state inside the div.
 
 I think the movie is always at the full size, but has a transparent 
 background. Then you just mask the contents and change the size of the 
 mask..
 
 
 
  I've already got the code that fires an event when the toy solider
  starts and stops the spin.  Now I need the code to resize the
  animation without without moving any HTML elements.
 
 
 
 
  
 
  --
  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] Re: z property in mx.core.UIComponent

2008-10-19 Thread fotis.chatzinikos
Not sure, but did you try to put two objects (ie buttons) in an semi-
overlapping area and change their z to see if they switch between
them? in 2d systems z (z-order) is the 'hight' of the object on the 2d
screen...ie which object hides what...

Check and let us know ;-)
--- In flexcoders@yahoogroups.com, gwangdesign [EMAIL PROTECTED] wrote:

 I was trying to set z property for a Button and expected to see it
 either get bigger or smaller. But despite my expectation, nothing
 seemed to happen (nor did the compiler complain)...
 
 So is this 3D thing only working with rotationX/Y/Z for UIComponent as
 someone mentioned a while ago?
 
 I was using gumbo sdk and targeting fp10. Thanks.





[flexcoders] Creating custom components in flex using actionscript 3.0

2008-10-19 Thread ashok
Hi,
I am sorry if this is a repeat question. have read through the
articles time and again from the adobe docs and some posts in this
forum, but could not resolve my issue.

My class extends a VBox and I try to create components in it. To
simplify and debug the issue, got down to only creating a simple hbox
inside the class and adding a button to it. So the steps are

1. create a class which extends vbox.
2. override createChildren method and set the height, width, and other
styles of the vbox and then call super.createChildren()

3. create a new HBox inside the createChildren method and then add a
button to it.I am setting the verticalScrollPolicy and
horizontalScrollPolicy to off, inside the createChildren method before
calling addchild.

On doing this I always see the horizontal scrollbar enabled. How do we
debug such an issue. i traced through the code and found that the
width and the height of the hbox is much lesser than the height and
width of the vbox.  Is there any reason why this should be happening.

I also implemented the commitProperties method and I tried setting the
properties for the hbox in there but that did not help either.

the code is as shown below. i am working on getting the layout right
for quiet a while without any luck. so please gurus of flex help me
out here.


//


package edu.csula.cairngorm_emulator.view.fileupload
{

import mx.collections.ArrayCollection;
import mx.containers.HBox;
import mx.containers.VBox;
import mx.controls.Button;

public class TestCoreVocabCompAS extends VBox
{


private var _coreContainer:HBox = new HBox();

public function TestCoreVocabCompAS():void
{
super();
}


public function get coreContainer():HBox
{
return this._coreContainer;
}

public function set  coreContainer(coreContainer:HBox):void
{
this._coreContainer = coreContainer;
}

override protected function createChildren():void {

this.width = 228;
this.height = 130;
this.setStyle(verticalGap, 0);
this.setStyle(verticalScrollPolicy, off);
this.setStyle(horizontalScrollPolicy, off);
this.setStyle(horizontalAlign, center);
this.setStyle(verticalAlign, middle);
this.setStyle(paddingTop, 0);
this.setStyle(paddingBottom, 0);
this.creationPolicy = all;

super.createChildren();
trace (this height =  + this.height);
trace (this width =  + this.width);

// set the poperties of the hbox 
 if(this._coreContainer != null)
{
//set the styles.

this._coreContainer.setStyle(paddingLeft, 2.0);

this._coreContainer.setStyle(paddingRight, 2.0);

this._coreContainer.setStyle(verticalScrollPolicy, off);

this._coreContainer.setStyle(horizontalScrollPolicy, off);
this._coreContainer.explicitHeight = 93;
this._coreContainer.width = 200;
//set the properties
this.addChild(_coreContainer);

trace (_coreContainer height =  + this._coreContainer.height);
trace (_coreContainer widtd =  + this._coreContainer.width);

//add the child components
if(this.img != null)
{
var button:Button = new Button();
 
this._coreContainer.addChild(button);
button.percentHeight = 100;
button.width = 94;
trace (button height =  + button.height);
trace (button widtd =  + button.width);
this.img.percentHeight = 100;
this.img.width = 94;
}




}

// Implement the commitProperties() method.
override protected function commitProperties():void {
super.commitProperties();

this._coreContainer.setStyle(paddingLeft, 2.0);

this._coreContainer.setStyle(paddingRight, 2.0);

this._coreContainer.setStyle(verticalScrollPolicy, off);

this._coreContainer.setStyle(horizontalScrollPolicy, off);



}





[flexcoders] Select cell in AdvancedDataGrid

2008-10-19 Thread m.iwaniec
Hello,
I have a problem with using AdvancedDataGrid, but I don#8217;t know how to
explain this. I try to show you.
Example of XML data:

row
  col1Name/col1
  col2 country=#8221;Poland#8221; zipcode=#8221;54000#8221;CityName/col2
  Etc #8230;
/row

I fill by dataProvider attribute. Next, I would like to have message
alert, when I click City cell (like: CityName is a city in Poland
etc). I have more cols and every one have others attributes.

Ps. I try user itemClick function, but I don#8217;t know exactly how to get
data.

Thanks for any advice.
Regards
Marcin 



[flexcoders] Listem to an event sent by a DataGrid ItemRenderer

2008-10-19 Thread Sébastien Tromp
Hello,

I am stuck with an issue whose solution I cannot find on the Internet.

I have an application with a DataGrid:

mx:DataGrid id=currentConstructions
   mx:columns
 mx:DataGridColumn dataField=buildingType/
 mx:DataGridColumn dataField=endDate id=remainingTime  
 
itemRenderer=org.feilun.renderer.CountDownRenderer /
   /mx:columns
/mx:DataGrid

where CountDownRenderer is a custom ItemRenderer that can dispatch a 
TimerEvent.TIMER_COMPLETE event.

I would like to listen in my main application (where the DataGrid is 
defined) to this TIMER_COMPLETE event, but I have not managed to do it.

I have tried things like:
currentConstructions.addEventListener(TimerEvent.TIMER_COMPLETE, 
handleTimerComplete);
or
remainingTime.addEventListener(TimerEvent.TIMER_COMPLETE, 
handleTimerComplete);

but in neither case is the event caught.

Do you have any idea on how this could be achieved?

Thanks a lot,
Sébastien



[flexcoders] Compile error with flex sdk 3.1

2008-10-19 Thread Pankaj Arora
Hi,

I just upgraded to Flex SDK 3.1.0 and it gives me error :

 

] Error: Unable to resolve resource bundle datamanagement for locale
en_US.

 

 

It is coming when I use mx.controls.AdvancedDataGrid.

 

Any ideas on how this can be resolved. This was working fine with Flex
SDK 3.0

 

Also in the 3.1 SDK release I don't see datavisualization.swc file
needed for compiling advancedDataGrid. Any ideas where I can download
the swc file.

 

 

Thanks,

Pankaj Arora

 



[flexcoders] Tilelist and lists in general minimum height is always 2 rendered children?

2008-10-19 Thread fotis.chatzinikos
It seems that a tilelist (or any list in general) with a percent
height = 100% does not respect this but automatically makes its
minimum height equal to the height of two display items (using a
custom renderer.

Is there a way to fix this?

Example:

Canvas[300x600] (width-height)
   canvas[100%x100]
   tilelist[100%x100%]  -- using custom item renderer with 100x100 item 

displays ok on a large browser window (600 height) showing 5-6 items
in the tile list

when the browser is resized the components jeight gets smaller and
smaller UNTIL 2 children as shown... THEN, the list stays @ 200 pixels
height and the parent canvas gets smaller, making the vertical scroll
bars broken (you can not see the bottom arrow and part of the bar)

If you need screenshots i would be happy to submit some...

Thanks,
Fotis



[flexcoders] AIR+VISTA+SSL - #2032StreamError

2008-10-19 Thread vaidotas P
Hi,

I know,  this error is very generic. I have read huge amount of posts, comments 
about this, but still I don't have a solution.

I start our AIR application, enter login and username trying to login to 
https://192.168.3.38/flex.cgi. I get two security alerts about untrusted issuer 
and not matching to name of website, but flex lets to continue.

I get error after issue of request:
Error: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 
text=Error #2032: Stream Error. URL: https://192.168.3.38/flex.cgi; 
errorID=2032]. URL: https://192.168.3.38/flex.cgi

On server, in root dir I have crossdomain.xml file:

?xml version=1.0?

!DOCTYPE cross-domain-policy SYSTEM 
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd;

cross-domain-policy 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLoca
allow-access-from domain=* secure=false/
site-control permitted-cross-domain-policies=all/
allow-http-request-headers-from domain=* headers=* 
secure=false/
/cross-domain-policy


My https request looks like this:
{
var params:Object = new Object();
params.username = username;
params.password = password;

var http:HTTPService = new HTTPService();
http.url = https://192.168.3.38;;
http.contentType = application/xml;
http.method = POST;
http.addEventListener(ResultEvent.RESULT, handleRes);
http.addEventListener(FaultEvent.FAULT, handleFault);
http.send(params);
}

This login request works fine on IE and FF (win vista). But not on the AIR.
On XP I dont have such issue, login on AIR works fine.

May somebody has an idea, what is wrong with my code/configuration?

thanks in advice,
vaidotas


  

[flexcoders] VISTA plus SSL plus AIR - error 2032 stream error

2008-10-19 Thread vaidotas P
 
Hi,

I know,  this error is very generic. I have read huge amount of posts, comments 
about this, but still I don't have a solution.

I start our AIR application, enter login and username trying to login to 
https://192.168.3.38/flex.cgi. I get two security alerts about untrusted issuer 
and not matching to name of website, but flex lets to continue.

I get error after issue of request:
Error: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 
text=Error #2032: Stream Error. URL: https://192.168.3.38/flex.cgi; 
errorID=2032]. URL: https://192.168.3.38/flex.cgi

On server, in root dir I have crossdomain.xml file:

?xml version=1.0?

!DOCTYPE cross-domain-policy SYSTEM 
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd;

cross-domain-policy 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLoca
allow-access-from domain=* secure=false/
site-control permitted-cross-domain-policies=all/
allow-http-request-headers-from domain=* headers=* 
secure=false/
/cross-domain-policy


My https request looks like this:
{
var params:Object = new Object();
params.username = username;
params.password = password;

var http:HTTPService = new HTTPService();
http.url = https://192.168.3.38;;
http.contentType = application/xml;
http.method = POST;
http.addEventListener(ResultEvent.RESULT, handleRes);
http.addEventListener(FaultEvent.FAULT, handleFault);
http.send(params);
}

This login request works fine on IE and FF (win vista). But not on the AIR.
On XP I dont have such issue, login on AIR works fine.

May somebody has an idea, what is wrong with my code/configuration?

thanks in advice,
vaidotas

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[flexcoders] Clean the system and install FP

2008-10-19 Thread markgoldin_2000
How do I perform a clean FP 10 installation? Something has happened and 
I cannot run from Builder anymore.

Thanks for help.



[flexcoders] Re: Problem with scaleX for system fonts!

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

 --- In flexcoders@yahoogroups.com, akila_ksri akila_ksri@ wrote:
 
  Hi,
  
  I need to apply horizontal scaling for a text with 'Arial' font.
  lbl.scaleX = 0.70 simply does not work . I can only see that there is 
 a 
  change in the width of the label.
  
  Is there anything i am missing out to scale the text?? Is scaling not 
  applicable for system fonts? ( I tried the same with font 'Verdana', 
  but again, no luck!)
  
  Any help would be greatly appreciated.
 
 Try one of the following:
 
 1)  Set the blendMode to layer
 2)  Set the container's cacheAsBitmap to true
 3)  Embed the font
 
 HTH;
 
 Amy

Hi Amy,

Thanks for your response. I tried what you suggested, embedding the
font and then applying scaleX to the text.
This works fine if the font is just 'Arial'. It does not work if i
make the text bold/italic. It is necessary for the font to be bold and
 in italics. I cant get it to work:(

akila