Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

2011-09-19 Thread jitendra jain
Hi Alex, 

  Thanks again for your kind reply.. Iam posting some code..  Look here the 
scroller is not appearing and the area where the components are dynamically 
added the background should be clickable.  But if you add height=90% to the 
scoller then scroller will appear but background is not clickable..


?xml version=1.0 encoding=utf-8?

   xmlns:s=library://ns.adobe.com/flex/spark 
   xmlns:mx=library://ns.adobe.com/flex/mx 
creationComplete=creationComplete()
fx:Declarations
!-- Place non-visual elements (e.g., services, value objects) here --
/fx:Declarations

fx:Script
![CDATA[
import mx.controls.Alert;
private function creationComplete():void{
var timer:Timer = new Timer(5000);
timer.addEventListener(TimerEvent.TIMER, 
function(event:TimerEvent):void{
var grp:Group = new Group();
grp.addElement(new TextArea());
container.addElement(grp);
});
timer.start();
}
]]
/fx:Script
s:Group  height=100% width=100%  click=Alert.show('clicked');
s:TextArea text=Hello Everybody/
/s:Group
s:Scroller right=0 top=40
s:Group id=container right=5 top=40
s:layout
s:VerticalLayout/
/s:layout
/s:Group
/s:Scroller

/s:WindowedApplication


 Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798





From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Mon, 19 September, 2011 10:32:54 AM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
You will probably get better answers if you can post a 20-line test case we can 
copy paste and run, with explicit and unambiguous explanation as to what the 
problem is


On 9/16/11 11:24 PM, jitendra jain jitendra_jain_2...@yahoo.com wrote:



 
 
   

Looks like it reserves 90% of height for the scoller.. How can I overcome with 
this problem?
 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798




From:jitendra jain jitendra_jain_2...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Sat, 17 September, 2011 11:52:05 AM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
   

Alex thanks a lot.. But even it is not working. I made 
mouseEnabledWhereTransparent=false, it is not working..
The below components are clickable only when i remove the absolute height from 
the scroller that is 90%,.But scroller doesn't appear.

 I created a skin class also and that is also not helpful by setting the 
mouseEnabledWhereTransparent property..
 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798




From:Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Fri, 16 September, 2011 9:02:25 PM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
   

If mouseEnabledWhereTransparent=true, you can’t click on things below


On 9/16/11 6:17 AM, jitendra jain jitendra_jain_2...@yahoo.com wrote:



 
 
   

Hi Group,

Can anyone throw light on this.. Any clues?
 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798


- Forwarded Message 
From:jitendra jain jitendra_jain_2...@yahoo.com
To: flex group flex flexcoders@yahoogroups.com
Sent: Mon, 12 September, 2011 8:23:33 PM
Subject: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
   

Hi Coders,

   I have one group component in which the children are added dynamically. 
 There 
is also some components on which it is overlapping
. But when i apply the scroller with height 90%. No area below this component 
is 
clickable even though its height is not 90%. Even i tried with 
mouseEnabledWhereTransparent =true. But nothing seems working.



public function showElement(comp :*):void{
container.addElement(comp);
}


s:Group id=parentGrp includeInLayout=true 
 top=10 right=10 bottom=10 
 mouseEnabledWhereTransparent=true
   
   
s:Scroller right=0 top=40  height=90%
s:Group id=container right=5 bottom=2 width=100% 
mouseEnabled=true mouseEnabledWhereTransparent=true 
includeInLayout=true
s:layout
s:VerticalLayout /
/s:layout
/s:Group
/s:Scroller
/s:Group

Any help is highly appreciated..
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798

 
 

   



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

[flexcoders] ActionScript.it invites you to Flash Camp Italy (Sep 23, 2011)

2011-09-19 Thread ActionScript.it
Tickets are now again available on the web site!!!
The Flash Camp will take place in Rimini the 23rd Sept 2011. The venue is the 
Hotel Sporting Rimini Viale Vespucci, 20 47921 Rimini, Italy. You can easily 
get the directions from google map, open this link and get the fastest route to 
the event. The...
  Read More
  
  We hope you can make it!Cheers,ActionScript.it

-- 
Event Summary:
-- 

Event: Flash Camp Italy
Date: Friday, September 23, 2011 from 9:00 AM to 6:30 PM (GMT+0100)
Location: bHotel Sporting/bbr /Viale Vespucci, 20br /47900 Riminibr 
/Italybr /

-- 
Event Details:
-- 

pThe Flash Camp will take place in Rimini the 23rd Sept 2011. The venue is 
the a href=http://www.hotelsportingrimini.com/; target=_blankHotel 
Sporting/a Rimini Viale Vespucci, 20 47921 Rimini, Italy. You can easily get 
the directions from google map, open this a 
href=http://maps.google.com/maps/place?oe=utf-8amp;um=1amp;ie=UTF-8amp;q=hotel+sporting+riminiamp;fb=1amp;hq=hotel+sportingamp;hnear=0x132cc22bfe23c325:0x4079b0bfcbc73a0,Rimini,+Italyamp;cid=11588743280031399275amp;ei=bHM7TvH6FYephAf4yeGwAwamp;sa=Xamp;oi=local_resultamp;ct=map-marker-linkamp;resnum=1amp;ved=0CDMQrwswAA;
 target=_blanklink/a and get the fastest route to the event./p
pThe event will start at 9:00 AM and will end at 6:00 PM, during the 
meeting you will have the opportunity to discuss with other developers 
about the most hot topic of the moment (take a look to the planned 
sessions!), get a breakfast, a nice lunch and some gadgets./p
pThe agenda of the meeting is/p
ul
li9:00 am – 10:00 am: registration and welcome breakfast/li
li10:00 am – 1:00 pm: sessions/li
li1:00 pm – 2:30 pm: lunch and networking/li
li2:30 pm – 6:00 pm: sessions/li
li6:00 pm – till late: evening dinner and party/li
/ul
pDuring the meeting you will have also a chance to discuss about the 
following topics/p
ul
liMobile development with the Flash Platform/li
liOpen source from emforma mentis/em to emde iure condendo/em/li
/ul
pThe discussion will take place in the same meeting room into two 
unconferences lounges driven by experts.br /
So far there are six sessions planned but we are getting new proposals 
to the e-mail address admin [AT] actionscript [DOT] it so the sessions 
will be updated often./p
pPlanned sessions (last update 2nd August 2011)/p
pstrongPlanet of the AOPs presentation/strong (Michael Labriola and James 
Ward)br /
Learn about ways you can runtime modify Flex and ActionScript code to 
provide new features not available to Flex Developers at compile time. 
Come and learn this ludicrous technique which pushes the limits of the 
platform just one step farther. Discussion of aspects, proxies and other
 techniques will ensue opening up toward the idea of aspect oriented 
programming in ActionScript./p
pstrongComing soon to a player near you/strong (Michelle Yaiser)br /
Come to learn about new and possible future features of Flash Player and 
AIR./p
pstrongReal Time programming in Flex with Arduinos/strong (Justin 
McLean)br /
This session looks at the revolution in low cost, easy to program 
embedded computing and connecting it to Flex. Focusing on the Arduino 
open source hardware and software platform and how it can be easily 
connected both directly and via ethernet. Topics covered range from 
digital and analogue input and output to creating your own web server 
(in under 20 lines of code). Session will include code samples and 
several hardware demos that turn LEDs on and off, show senors 
measurements and more. This session will show that it’s easier than you 
realize to interface Flex with hardware and with a little knowledge you 
too can can do this./p
pstrongShouting flashplayer /strong(Marco Fusetti aka jaco)br /
How to have fun with AIR and sound, play a drumkit engine using android 
device/p
pstrongFlex Puzzler/strong (Michael Labriola and James Ward)br /
A puzzler is a piece of code that does something unexpected.br /
During the session we will show the code, then ask the audience what the output 
it. Then tellbr /
the the surprising answer and why./p
pstrongThe war of canvases /strong(Giorgio Natili)br /
During the session we will analyze the main differences and similarities
 between the Flex Canvas and the HTML5 canvas. This analysis will help 
us to provide a (possible) answer to a couple of very hot questions:/p
p- Which is the right technology to use for a mobile project?br /
- Which are the considerations to do before starting a mobile project? (cross 
technology)/p
pWe would love to say thank you to Adobe that helped 
us a lot to make possible this event./p



-- 
Register Online:
-- 

More information and online registration are available here:
http://flashcampitaly.eventbrite.com/?ref=enivteamp;invite=MTI3MjQwNC9mbGV4Y29kZXJzQHlhaG9vZ3JvdXBzLmNvbS8w


[flexcoders] Flex 3 air application with windows 7

2011-09-19 Thread markflex2007
Hi

I am developing a air application with Flex Builder 3. I am working on windows 
7 64 bit system.

The problem is I can not access remote site with http service in Air app. but 
the same app works in Windows XP.

Please help me to fix this. which windows 7 setting affect this.


Thanks

Mark





Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

2011-09-19 Thread Alex Harui
I added a click handler to the container group, and height=”90%” to the 
scroller.  I can click in the TextAreas and space between and it shows the 
Alert.  That isn’t happening for you?


On 9/18/11 11:03 PM, jitendra jain jitendra_jain_2...@yahoo.com wrote:






Hi Alex,

  Thanks again for your kind reply.. Iam posting some code..  Look here the 
scroller is not appearing and the area where the components are dynamically 
added the background should be clickable.  But if you add height=90% to the 
scoller then scroller will appear but background is not clickable..


?xml version=1.0 encoding=utf-8?

   xmlns:s=library://ns.adobe.com/flex/spark
   xmlns:mx=library://ns.adobe.com/flex/mx 
creationComplete=creationComplete()
fx:Declarations
!-- Place non-visual elements (e.g., services, value objects) here --
/fx:Declarations

fx:Script
![CDATA[
import mx.controls.Alert;
private function creationComplete():void{
var timer:Timer = new Timer(5000);
timer.addEventListener(TimerEvent.TIMER, 
function(event:TimerEvent):void{
var grp:Group = new Group();
grp.addElement(new TextArea());
container.addElement(grp);
});
timer.start();
}
]]
/fx:Script
s:Group  height=100% width=100%  click=Alert.show('clicked');
s:TextArea text=Hello Everybody/
/s:Group
s:Scroller right=0 top=40
s:Group id=container right=5 top=40
s:layout
s:VerticalLayout/
/s:layout
/s:Group
/s:Scroller

/s:WindowedApplication


Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798



From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Mon, 19 September, 2011 10:32:54 AM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues




You will probably get better answers if you can post a 20-line test case we can 
copy paste and run, with explicit and unambiguous explanation as to what the 
problem is


On 9/16/11 11:24 PM, jitendra jain jitendra_jain_2...@yahoo.com wrote:






Looks like it reserves 90% of height for the scoller.. How can I overcome with 
this problem?

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798



From: jitendra jain jitendra_jain_2...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Sat, 17 September, 2011 11:52:05 AM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues




Alex thanks a lot.. But even it is not working. I made 
mouseEnabledWhereTransparent=false, it is not working..
The below components are clickable only when i remove the absolute height from 
the scroller that is 90%,.But scroller doesn't appear.

 I created a skin class also and that is also not helpful by setting the 
mouseEnabledWhereTransparent property..

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798



From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Fri, 16 September, 2011 9:02:25 PM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues




If mouseEnabledWhereTransparent=true, you can’t click on things below


On 9/16/11 6:17 AM, jitendra jain jitendra_jain_2...@yahoo.com wrote:






Hi Group,

Can anyone throw light on this.. Any clues?

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798


- Forwarded Message 
From: jitendra jain jitendra_jain_2...@yahoo.com
To: flex group flex flexcoders@yahoogroups.com
Sent: Mon, 12 September, 2011 8:23:33 PM
Subject: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues




Hi Coders,

   I have one group component in which the children are added dynamically. 
There is also some components on which it is overlapping
. But when i apply the scroller with height 90%. No area below this component 
is clickable even though its height is not 90%. Even i tried with 
mouseEnabledWhereTransparent =true. But nothing seems working.



public function showElement(comp :*):void{
container.addElement(comp);
}


s:Group id=parentGrp includeInLayout=true
 top=10 right=10 bottom=10
 mouseEnabledWhereTransparent=true

   
s:Scroller right=0 top=40  height=90%
s:Group id=container right=5 bottom=2 width=100% 
mouseEnabled=true mouseEnabledWhereTransparent=true includeInLayout=true
s:layout
s:VerticalLayout /
/s:layout
/s:Group
/s:Scroller
/s:Group

Any help is highly appreciated..
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798








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


[flexcoders] Re: ViewNavigatorApplication not passing strongly-type firstViewData property.

2011-09-19 Thread nagaofthesea
Hi-

Thanks, but the AS operator results in a NULL because the conversion fails(!!).

Bottom line: AS operator does not work for this problem ...

Naga

--- In flexcoders@yahoogroups.com, Chuck Preston itsmechuckjr@... wrote:

 I don't know the reason why objects lose their type sometimes, but I know 
 that when it does happen, the solution is to retype them. In your case, you'd 
 have to do something in your first view like: var modelLocator:ModelLocator = 
 data as ModelLocator;
 
 
 --- In flexcoders@yahoogroups.com, nagaofthesea nagaofthesea@ wrote:
 
  Howdy-
  
  I have used (my customized) Cairngorm 2.0 and Flex 4.5.1 to build my first 
  iOS + Andorid app.  Launched and available at iTunes and Android Market 
  without a hitch.
  
  I am building another flavor of the same app and BAM! type conversion error 
  with the passing of the data object!!  What??
  
  ViewNavigatorApplication.firstViewData is passed the ModelLocator when the 
  app starts.  When I inspect the variables, the parentDocument.firstViewData 
  is strongly typed to ModelLocator.
  
  HOWEVER, when the View gets finally gets passed the data, View.data is 
  typed as Object -- not strongly-typed ModelLocator.
  
  I double-checked with my published app and the View.data is always the 
  strongly-typed ModelLocator -- which is the expected behavior.
  
  Anybody know what gives / how to correct this fluky behavior?  
  
  The error output is worthless - just the generic #1034 pointing to the 
  addHandler that tries to cast the View.data to the ModelLocator.  As the 
  app is just starting up, all of the preceding lines are pointing to 
  framework code only.
  
  This is kindofa pain in the arse, because I just can't see why the data 
  property looses its strong type
  
  Regards,
  Naga
 





[flexcoders] Re: ViewNavigatorApplication not passing strongly-type firstViewData property.

2011-09-19 Thread nagaofthesea
Howdy-

Follow up for all.

Solution: Delete the view component and rebuild it from scratch.

Explanation:  I do not know why object deep copy fails sometimes in Flex, but 
after rooting around searches for two days I remembered something from the days 
of Flex 2 -- when all else false, delete and rebuild.

Well, that's what I did and it worked.  Cut my View code and pasted it to 
notepad, and then created a new View component with a different name.  Pasted 
in my code from notepad.  Integrated this new differently-named component in 
the app
et voila!: Problem Solved.

BTW - the cut  paste operation was to assure myself that the problem was *NOT* 
coder error

Sheesh! I RAlly hate cheesy fixes like this.
Naga


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

 Hi-
 
 Thanks, but the AS operator results in a NULL because the conversion 
 fails(!!).
 
 Bottom line: AS operator does not work for this problem ...
 
 Naga
 
 --- In flexcoders@yahoogroups.com, Chuck Preston itsmechuckjr@ wrote:
 
  I don't know the reason why objects lose their type sometimes, but I know 
  that when it does happen, the solution is to retype them. In your case, 
  you'd have to do something in your first view like: var 
  modelLocator:ModelLocator = data as ModelLocator;
  
  
  --- In flexcoders@yahoogroups.com, nagaofthesea nagaofthesea@ wrote:
  
   Howdy-
   
   I have used (my customized) Cairngorm 2.0 and Flex 4.5.1 to build my 
   first iOS + Andorid app.  Launched and available at iTunes and Android 
   Market without a hitch.
   
   I am building another flavor of the same app and BAM! type conversion 
   error with the passing of the data object!!  What??
   
   ViewNavigatorApplication.firstViewData is passed the ModelLocator when 
   the app starts.  When I inspect the variables, the 
   parentDocument.firstViewData is strongly typed to ModelLocator.
   
   HOWEVER, when the View gets finally gets passed the data, View.data is 
   typed as Object -- not strongly-typed ModelLocator.
   
   I double-checked with my published app and the View.data is always the 
   strongly-typed ModelLocator -- which is the expected behavior.
   
   Anybody know what gives / how to correct this fluky behavior?  
   
   The error output is worthless - just the generic #1034 pointing to the 
   addHandler that tries to cast the View.data to the ModelLocator.  As the 
   app is just starting up, all of the preceding lines are pointing to 
   framework code only.
   
   This is kindofa pain in the arse, because I just can't see why the data 
   property looses its strong type
   
   Regards,
   Naga
  
 





[flexcoders] Re: ViewNavigatorApplication not passing strongly-type firstViewData property.

2011-09-19 Thread nagaofthesea
... one more thing I discovered (accidentally):

Right-click your mobile application file, select Run/Debug Settings, select 
your application file name, click Edit and make sure the Clear application 
data on each launch box is checked...

I don't no how it got un-checked, but apparently when the application data is 
NOT cleared with each launch weird 1034 errors happen ...

Naga

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

 Howdy-
 
 Follow up for all.
 
 Solution: Delete the view component and rebuild it from scratch.
 
 Explanation:  I do not know why object deep copy fails sometimes in Flex, but 
 after rooting around searches for two days I remembered something from the 
 days of Flex 2 -- when all else false, delete and rebuild.
 
 Well, that's what I did and it worked.  Cut my View code and pasted it to 
 notepad, and then created a new View component with a different name.  Pasted 
 in my code from notepad.  Integrated this new differently-named component in 
 the app
 et voila!: Problem Solved.
 
 BTW - the cut  paste operation was to assure myself that the problem was 
 *NOT* coder error
 
 Sheesh! I RAlly hate cheesy fixes like this.
 Naga
 
 
 --- In flexcoders@yahoogroups.com, nagaofthesea nagaofthesea@ wrote:
 
  Hi-
  
  Thanks, but the AS operator results in a NULL because the conversion 
  fails(!!).
  
  Bottom line: AS operator does not work for this problem ...
  
  Naga
  
  --- In flexcoders@yahoogroups.com, Chuck Preston itsmechuckjr@ wrote:
  
   I don't know the reason why objects lose their type sometimes, but I know 
   that when it does happen, the solution is to retype them. In your case, 
   you'd have to do something in your first view like: var 
   modelLocator:ModelLocator = data as ModelLocator;
   
   
   --- In flexcoders@yahoogroups.com, nagaofthesea nagaofthesea@ wrote:
   
Howdy-

I have used (my customized) Cairngorm 2.0 and Flex 4.5.1 to build my 
first iOS + Andorid app.  Launched and available at iTunes and Android 
Market without a hitch.

I am building another flavor of the same app and BAM! type conversion 
error with the passing of the data object!!  What??

ViewNavigatorApplication.firstViewData is passed the ModelLocator when 
the app starts.  When I inspect the variables, the 
parentDocument.firstViewData is strongly typed to ModelLocator.

HOWEVER, when the View gets finally gets passed the data, View.data 
is typed as Object -- not strongly-typed ModelLocator.

I double-checked with my published app and the View.data is always the 
strongly-typed ModelLocator -- which is the expected behavior.

Anybody know what gives / how to correct this fluky behavior?  

The error output is worthless - just the generic #1034 pointing to the 
addHandler that tries to cast the View.data to the ModelLocator.  As 
the app is just starting up, all of the preceding lines are pointing to 
framework code only.

This is kindofa pain in the arse, because I just can't see why the 
data property looses its strong type

Regards,
Naga
   
  
 





[flexcoders] Invitation to connect on LinkedIn

2011-09-19 Thread Jeremy Mitchell via LinkedIn
LinkedIn





Jeremy Mitchell requested to add you as a connection on LinkedIn:
  
--

Pravin,

I'd like to add you to my professional network on LinkedIn.

- Jeremy

Accept invitation from Jeremy Mitchell
http://www.linkedin.com/e/8rwm1a-gssael45-i/fiymbY4ggGKTWPEnxEvAY74sxG8r0Y-wfECPCWkI/blk/I243847425_20/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYMcBYRczgTd3wPd399bRlVsS5JpmFFbPcPdjgVe3gTczgLrCBxbOYWrSlI/EML_comm_afe/?hs=falsetok=2jLOTn5OjbP4U1

View invitation from Jeremy Mitchell
http://www.linkedin.com/e/8rwm1a-gssael45-i/fiymbY4ggGKTWPEnxEvAY74sxG8r0Y-wfECPCWkI/blk/I243847425_20/30OnPkOd3sQe3cQcAALqnpPbOYWrSlI/svi/?hs=falsetok=1pILWyMIrbP4U1

--

Why might connecting with Jeremy Mitchell be a good idea?

Have a question? Jeremy Mitchell's network will probably have an answer:
You can use LinkedIn Answers to distribute your professional questions to 
Jeremy Mitchell and your extended network. You can get high-quality answers 
from experienced professionals.

http://www.linkedin.com/e/8rwm1a-gssael45-i/ash/inv19_ayn/?hs=falsetok=1i9t0RYBDbP4U1
 
-- 
(c) 2011, LinkedIn Corporation

Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

2011-09-19 Thread jitendra jain
Yes that is happening but i want the below container to respond to the click 
events when clicked on empty space.

 Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798





From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Tue, 20 September, 2011 1:40:07 AM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
I added a click handler to the container group, and height=”90%” to the 
scroller.  I can click in the TextAreas and space between and it shows the 
Alert.  That isn’t happening for you?


On 9/18/11 11:03 PM, jitendra jain jitendra_jain_2...@yahoo.com wrote:



 
 
   

Hi Alex, 

  Thanks again for your kind reply.. Iam posting some code..  Look here the 
scroller is not appearing and the area where the components are dynamically 
added the background should be clickable.  But if you add height=90% to the 
scoller then scroller will appear but background is not clickable..


?xml version=1.0 encoding=utf-8?

   xmlns:s=library://ns.adobe.com/flex/spark 
   xmlns:mx=library://ns.adobe.com/flex/mx 
creationComplete=creationComplete()
fx:Declarations
!-- Place non-visual elements (e.g., services, value objects) here --
/fx:Declarations

fx:Script
![CDATA[
import mx.controls.Alert;
private function creationComplete():void{
var timer:Timer = new Timer(5000);
timer.addEventListener(TimerEvent.TIMER, 
function(event:TimerEvent):void{
var grp:Group = new Group();
grp.addElement(new TextArea());
container.addElement(grp);
});
timer.start();
}
]]
/fx:Script
s:Group  height=100% width=100%  click=Alert.show('clicked');
s:TextArea text=Hello Everybody/
/s:Group
s:Scroller right=0 top=40
s:Group id=container right=5 top=40
s:layout
s:VerticalLayout/
/s:layout
/s:Group
/s:Scroller

/s:WindowedApplication

 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798




From:Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Mon, 19 September, 2011 10:32:54 AM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
   

You will probably get better answers if you can post a 20-line test case we 
can 
copy paste and run, with explicit and unambiguous explanation as to what the 
problem is


On 9/16/11 11:24 PM, jitendra jain jitendra_jain_2...@yahoo.com wrote:



 
 
   

Looks like it reserves 90% of height for the scoller.. How can I overcome 
with 
this problem?
 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798




From:jitendra jain jitendra_jain_2...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Sat, 17 September, 2011 11:52:05 AM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
   

Alex thanks a lot.. But even it is not working. I made 
mouseEnabledWhereTransparent=false, it is not working..
The below components are clickable only when i remove the absolute height 
from 
the scroller that is 90%,.But scroller doesn't appear.

 I created a skin class also and that is also not helpful by setting the 
mouseEnabledWhereTransparent property..
 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798




From:Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Fri, 16 September, 2011 9:02:25 PM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
   

If mouseEnabledWhereTransparent=true, you can’t click on things below


On 9/16/11 6:17 AM, jitendra jain jitendra_jain_2...@yahoo.com wrote:



 
 
   

Hi Group,

Can anyone throw light on this.. Any clues?
 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798


- Forwarded Message 
From:jitendra jain jitendra_jain_2...@yahoo.com
To: flex group flex flexcoders@yahoogroups.com
Sent: Mon, 12 September, 2011 8:23:33 PM
Subject: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
   

Hi Coders,

   I have one group component in which the children are added dynamically. 
 There 
is also some components on which it is overlapping
. But when i apply the scroller with height 90%. No area below this 
component is 
clickable even though its height is not 90%. Even i tried with 
mouseEnabledWhereTransparent =true. But nothing seems working.



public function showElement(comp :*):void{
container.addElement(comp);
}


s:Group id=parentGrp includeInLayout=true 
 top=10 right=10 bottom=10 
 mouseEnabledWhereTransparent=true
   

Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

2011-09-19 Thread jitendra jain
In short, Alert should not be displayed.

 Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798





From: jitendra jain jitendra_jain_2...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Tue, 20 September, 2011 10:54:06 AM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
Yes that is happening but i want the below container to respond to the click 
events when clicked on empty space.

 Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798





From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Tue, 20 September, 2011 1:40:07 AM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
I added a click handler to the container group, and height=”90%” to the 
scroller.  I can click in the TextAreas and space between and it shows the 
Alert.  That isn’t happening for you?


On 9/18/11 11:03 PM, jitendra jain jitendra_jain_2...@yahoo.com wrote:



 
 
   

Hi Alex, 

  Thanks again for your kind reply.. Iam posting some code..  Look here the 
scroller is not appearing and the area where the components are dynamically 
added the background should be clickable.  But if you add height=90% to the 
scoller then scroller will appear but background is not clickable..


?xml version=1.0 encoding=utf-8?

   xmlns:s=library://ns.adobe.com/flex/spark 
   xmlns:mx=library://ns.adobe.com/flex/mx 
creationComplete=creationComplete()
fx:Declarations
!-- Place non-visual elements (e.g., services, value objects) here --
/fx:Declarations

fx:Script
![CDATA[
import mx.controls.Alert;
private function creationComplete():void{
var timer:Timer = new Timer(5000);
timer.addEventListener(TimerEvent.TIMER, 
function(event:TimerEvent):void{
var grp:Group = new Group();
grp.addElement(new TextArea());
container.addElement(grp);
});
timer.start();
}
]]
/fx:Script
s:Group  height=100% width=100%  click=Alert.show('clicked');
s:TextArea text=Hello Everybody/
/s:Group
s:Scroller right=0 top=40
s:Group id=container right=5 top=40
s:layout
s:VerticalLayout/
/s:layout
/s:Group
/s:Scroller

/s:WindowedApplication

 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798




From:Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Mon, 19 September, 2011 10:32:54 AM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
   

You will probably get better answers if you can post a 20-line test case we 
can 
copy paste and run, with explicit and unambiguous explanation as to what the 
problem is


On 9/16/11 11:24 PM, jitendra jain jitendra_jain_2...@yahoo.com wrote:



 
 
   

Looks like it reserves 90% of height for the scoller.. How can I overcome 
with 
this problem?
 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798




From:jitendra jain jitendra_jain_2...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Sat, 17 September, 2011 11:52:05 AM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
   

Alex thanks a lot.. But even it is not working. I made 
mouseEnabledWhereTransparent=false, it is not working..
The below components are clickable only when i remove the absolute height 
from 
the scroller that is 90%,.But scroller doesn't appear.

 I created a skin class also and that is also not helpful by setting the 
mouseEnabledWhereTransparent property..
 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798




From:Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Fri, 16 September, 2011 9:02:25 PM
Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
   

If mouseEnabledWhereTransparent=true, you can’t click on things below


On 9/16/11 6:17 AM, jitendra jain jitendra_jain_2...@yahoo.com wrote:



 
 
   

Hi Group,

Can anyone throw light on this.. Any clues?
 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798


- Forwarded Message 
From:jitendra jain jitendra_jain_2...@yahoo.com
To: flex group flex flexcoders@yahoogroups.com
Sent: Mon, 12 September, 2011 8:23:33 PM
Subject: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues

  
   

Hi Coders,

   I have one group component in which the children are added dynamically. 
 There 
is also some components on which it is overlapping
. But when i apply the scroller with height 90%. No area below this 
component is 
clickable even