[flexcoders] privacy settings popup

2012-02-08 Thread Csomák Gábor
How to listen if a user already clicked accept, when the camera access
popup showed up?


[flexcoders] external debugger

2012-02-08 Thread Wouter Schreuders
Hi All

Can anyone recommend a debugger for flex that allows you to inspect and
changed properties at runtime? Something like Flex-Spy or x-ray(for as2),
but I'm looking for something that is not obsolete.

Any recommendations?

Thanks

Wouter


Re: [flexcoders] privacy settings popup

2012-02-08 Thread claudiu ursica
You can't, FP does not provide a close event for that panel. There was a 
request in Jira but I am not sure what the status of this is  You need to 
listen for camera events and guess. There is activity and status events. In 
addition what I do I start a timer and monitor for a couple of seconds the 
camera.currentFps. if that is 0, something is wrong, if is constant there is 
also a chance that the camera delivered frames but stopped, otherwise camera is 
fine.


HTH,
Claudiu




 From: Csomák Gábor csom...@gmail.com
To: flexcoders flexcoders@yahoogroups.com 
Sent: Wednesday, February 8, 2012 12:46 PM
Subject: [flexcoders] privacy settings popup
 

  
How to listen if a user already clicked accept, when the camera access popup 
showed up?

 

Re: [flexcoders] privacy settings popup

2012-02-08 Thread Csomák Gábor
thanks

On Wed, Feb 8, 2012 at 2:52 PM, claudiu ursica the_bran...@yahoo.comwrote:


  You can't, FP does not provide a close event for that panel. There was a
 request in Jira but I am not sure what the status of this is  You need
 to listen for camera events and guess. There is activity and status events.
 In addition what I do I start a timer and monitor for a couple of seconds
 the camera.currentFps. if that is 0, something is wrong, if is constant
 there is also a chance that the camera delivered frames but stopped,
 otherwise camera is fine.

 HTH,
 Claudiu

   --
 *From:* Csomák Gábor csom...@gmail.com
 *To:* flexcoders flexcoders@yahoogroups.com
 *Sent:* Wednesday, February 8, 2012 12:46 PM
 *Subject:* [flexcoders] privacy settings popup


 How to listen if a user already clicked accept, when the camera access
 popup showed up?


   



[flexcoders] Re: Divider line for s:splitViewNavigator

2012-02-08 Thread markflex2007
anyone can help me for this issue.Thanks

Mark

--- In flexcoders@yahoogroups.com, markflex2007 markflex2007@... wrote:

  Hi,
  
  I have the following questions for s:splitViewNavigator.
  
  How to change color,width for Divider line for s:splitViewNavigator?
  How to hide the Divider line?
  
  Thanks
  
  Mark





[flexcoders] Re: Flex 3 - 4 migration and s:States - SOLUTION

2012-02-08 Thread bu4fred
OK, I think I've got it although I don't really know why.  The base mxml 
component and all of its children are in a package/directory called sections 
so the code needs to be in EACH child as follows:

sections:_section xmlns:fx=http://ns.adobe.com/mxml/2009; 
xmlns:s=library://ns.adobe.com/flex/spark 
xmlns:mx=library://ns.adobe.com/flex/mx
xmlns:com=components.*
xmlns:sections=sections.*
xmlns:mds=mds.*   
creationComplete=_section1_creationCompleteHandler(event)


sections:states
s:State id=Oct2010 name=Oct2010/
s:State id=Oct2011 name=Oct2011/
s:State id=Apr2012 name=Apr2012/
s:State id=Everything name=Everything/
/sections:states

FYI, I have different versions of this app that must be supported 
simultaneously and based on a few fields in the app, the actual version can 
change in mid stream.  Everything is just there to help me with initial 
debugging.



[flexcoders] Displaying spark scrollbars for mx components wrapped in a scroller

2012-02-08 Thread method_air
Is it possible to hide the mx scrollbars for an mx component, and show the 
spark scrollbars of the spark 'scroller' component wrapping it instead? How can 
I get this example to work:

s:Scroller width=100%
height=100%
verticalScrollPolicy=on

   s:Group width=100%
height=100%
mx:Container width=100%
  verticalScrollPolicy=off
   horizontalScrollPolicy=off
  height=100% /
   /s:Group
/s:Scroller /

Cheers,

Philip



[flexcoders] Advantages and Disadvantages of skinning

2012-02-08 Thread Myadi H
Hello folks,

Today I have been asked to explain advantages and disadvantages of skinning in 
flex. I thought of asking this to all experienced flexers, and here it is.

I hope this discussion will help everybody in future. So please input/share 
your knowledge.

Thank you.





Re: [flexcoders] external debugger

2012-02-08 Thread Alex Harui
FDB comes with the SDK.  It is command-line, but I use it 99% of the time as it 
is way faster than the GUI debugger in FlashBuilder for most problems I have to 
solve.


On 2/7/12 11:06 PM, Wouter Schreuders wschreud...@gmail.com wrote:






Hi All

Can anyone recommend a debugger for flex that allows you to inspect and changed 
properties at runtime? Something like Flex-Spy or x-ray(for as2), but I'm 
looking for something that is not obsolete.

Any recommendations?

Thanks

Wouter





--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Advantages and Disadvantages of skinning

2012-02-08 Thread James Ong
There only 3's advatanages and disadvantages:

Pros:
Customizable to distingish itself; ex, cancel button is red in color.
More personalize for different applications  rather than using boring theme
style.
Unique-ness

Cons:
Incurred more CPU processing
Increase memory consumption for using Bitmap images.
FXG is too verbose, complicated skinning code. It's better to use AS3.
On Thu, Feb 9, 2012 at 12:32 PM, Myadi H myad...@gmail.com wrote:

 **


 Hello folks,

 Today I have been asked to explain advantages and disadvantages of
 skinning in flex. I thought of asking this to all experienced flexers, and
 here it is.

 I hope this discussion will help everybody in future. So please
 input/share your knowledge.

 Thank you.

 



Re: [flexcoders] Displaying spark scrollbars for mx components wrapped in a scroller

2012-02-08 Thread Haykel BEN JEMIA
The child of the Scroller (called viewport) must resize freely for
scrolling to work. If you set its size to '100%' then it will always have
the size of the scroller and scrolling will never be required. Try this
(not tested):

s:Scroller width=100% height=100% verticalScrollPolicy=on
  s:Group
mx:Container verticalScrollPolicy=off horizontalScrollPolicy=off /
  /s:Group
/s:Scroller /

Haykel Ben Jemia

Allmas
Web  Mobile Development
http://www.allmas-tn.com




On 9 February 2012 02:15, method_air loudj...@hotmail.com wrote:

 **


 Is it possible to hide the mx scrollbars for an mx component, and show the
 spark scrollbars of the spark 'scroller' component wrapping it instead? How
 can I get this example to work:

 s:Scroller width=100%
 height=100%
 verticalScrollPolicy=on
 
 s:Group width=100%
 height=100%
 mx:Container width=100%
 verticalScrollPolicy=off
 horizontalScrollPolicy=off
 height=100% /
 /s:Group
 /s:Scroller /

 Cheers,

 Philip