[flexcoders] Flex4 ASDOC Problems

2010-06-25 Thread Shawn
I'm trying to document a project with ASDOC and am running into the following 
problems:

1) All that displays when I click on the Top Level link in the left hand top 
frame all that is displayed is   
_3521dbd1ca8bd2ceefec17f3754a166458f4cf964e51a39f254d17f563ff534d_mx_core_FlexModuleFactory.
  My classes do not display.

2) My package descriptions are not displaying.  I had to guess on the Ant Task 
syntax for this because I cannot find any documentation but it compiles ok (if 
the properties are wrong then I get an error message).  

I've tried both doc-classes and doc-sources with the same result.  I have not 
tried a straight command-line compile, perhaps I should try that.

The relevant task from my build.xml is shown below.

Thanks in advance,

Shawn

target name=asdocs description=Create ASDOCS
delete includeemptydirs=true
fileset dir=${ASDOCS_OUTPUT} includes=**/* /
/delete
asdoc output=${ASDOCS_OUTPUT} lenient=true failonerror=true 
main-titleMTZAuto API Documentation/main-title
window-titleMTZAuto API Documentation/window-title

source-path path-element=${SOURCE_DIR}/
doc-classes class = testapp.TestApp/
doc-classes class = mtzauto.MTZAuto/
!-- doc-sources path-element=${SOURCE_DIR}/ 
-- 

!--
package name=com.schurchcomputers.flex 
description=General Purpose Flex Library./
--
package name=com.schurchcomputers.flex.gateway 
description=NetConnection based AMF Gateway based on Twisted 
deferred model./
package name=com.schurchcomputers.flex.swiz 
description=Utilities for Swiz Framework./
package name=mtzauto 
description=Main MTZAuto application./
package name=mtzauto.config 
description=MTZAuto swiz configuration./
package name=mtzauto.controller 
description=MTZAuto controler classes./
!--
package name=mtzauto.model 
description=Proxy classes for SQLAlchemy tables./
--
!--
package name=mtzauto.view 
description=MTZAuto views, refer to mtzauto.controller for 
application logic./
--
package name=testapp 
description=Application providing unittests for MTZAuto./
package name=testapp.assets.skins 
description=Component skin classes./
package name=testapp.config 
description=Swiz configuration files./
package name=testapp.controller 
description=TestApp controller classes./
package name=testapp.event 
description=TestApp event classes./
package name=testapp.suites 
description=FlexUnit4 test suites/
package name=testapp.suites.tests 
description=FlexUnit4 test classes./
package name=testapp.view 
description=TestApp views, refer to testapp.controller for 
application login./
!-- 
package name= 
description=/
--

library-path dir=${FLEX} append=true
include name=/${SDK}/framework/libs /
include name=libs /
/library-path
/asdoc
/target
  



[flexcoders] Memory leak in Spring BlazeDS Integration 1.0.3.RELEASE due to AsyncMessage

2010-06-25 Thread vascoace2002
I'm getting an AsyncMessage memory leak. This leak fills the Tomcat JVM tenured 
space after a few hours of heavy load operation and it crashes with an out of 
memory (OOM) error. I'm using the Spring BlazeDS Integration 1.0.3.RELEASE., 
Spring 3.0.1, Tomcat 6.0.26, ActiveMQ 5.3.1, SUN JDK 1.6.0_20. I first supected 
a slow JVM garbage collector (GC) so I tried many conbination of JVM settings 
with no luck. I'm setting the AsyncMessage to null, set the message time to 
live to 5000 (5 seconds) , set the message timestamp, and the AsyncMessage keep 
having some weak references that is preventing the GC from collecting the 
objects. I also tried by not setting the message time to live. Have anybody 
found a workaround to this issue? I'm going to try with a nightly build of 
blazeds or the Spring BlazeDS Integration to see if this issue is solved. Any 
ideas please let me know. This bug is delaying the release of our Flex 
application. There is a Adobe Blazeds Jira issue already submitted about the 
same issue with Jprofiler snapshots:

http://bugs.adobe.com/jira/browse/BLZ-502

Thanks,

Alberto Acevedo 



[flexcoders] Re: BlazeDS | AsyncMessages and not being consumed | No Client

2010-06-25 Thread vascoace2002
Did you find any solution to this problem?. I'm having a similar issue. There 
is a Blazeds Jira
 issue about your problem and this is the link:

http://bugs.adobe.com/jira/browse/BLZ-502

Thanks,

Alberto 


--- In flexcoders@yahoogroups.com, ilikeflex ilikef...@... wrote:

 Hi
 
 I am using the blazeds server. I have created the destination and i am able 
 to recieve the messages.
 
 The issue i am facing is that i have my java program which keep sending the 
 messages to the blazeds server. At this point i have no client(browser) to 
 consume the messages.So all the messages are accumulated at blazeds. At one 
 point there are so many messages that my weblogic server goes out of memmory. 
 So my question is how to destroy those messages which are not consume. I am 
 using the message-time-to-live tag but this does not seem to work. Please 
 see the configuration below.
 
 Snippet of Java program:
   AsyncMessage msg = new AsyncMessage();
   msg.setDestination(destinationNameFlex);
   try
   {
   
 msg.setMessageId(objectMessage.getJMSMessageID());
   }
   catch(JMSException e)
   {
   }
   msg.setBody(data);
 
   
 MessageBroker.getMessageBroker(null).routeMessageToService(msg, null);
 
 Messaging-config.xml
 ?xml version=1.0 encoding=UTF-8?
 service id=message-service 
 class=flex.messaging.services.MessageService
 messageTypes=flex.messaging.messages.AsyncMessage
 
 adapters
 adapter-definition id=actionscript 
 class=flex.messaging.services.messaging.adapters.ActionScriptAdapter 
 default=true /
   !-- adapter-definition id=jms 
 class=flex.messaging.services.messaging.adapters.JMSAdapter/ --
 /adapters
 
   default-channels
   channel ref=my-polling-amf /
 /default-channels
 
 
   destination id=destICL
   adapter ref=actionscript /
   properties
   server
   message-time-to-live15/message-time-to-live
   /server
   /properties
   /destination 
 /service
 
 Services-config.xml
 ?xml version=1.0 encoding=UTF-8?
 services-config
 
 services
 service-include file-path=remoting-config.xml /
 service-include file-path=proxy-config.xml /
 service-include file-path=messaging-config.xml /
 /services
 
 security
 
 /security
 
 channels
 
 channel-definition id=my-amf 
 class=mx.messaging.channels.AMFChannel
 endpoint 
 url=http://{server.name}:{server.port}/{context.root}/messagebroker/amf; 
 class=flex.messaging.endpoints.AMFEndpoint/
   properties
   polling-enabledfalse/polling-enabled
serialization
   legacy-maptrue/legacy-map 
/serialization
   /properties
 /channel-definition
 
 channel-definition id=my-secure-amf 
 class=mx.messaging.channels.SecureAMFChannel
 endpoint 
 url=https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure;
  class=flex.messaging.endpoints.SecureAMFEndpoint/
 properties
 add-no-cache-headersfalse/add-no-cache-headers
 /properties
 /channel-definition
 
 channel-definition id=my-polling-amf 
 class=mx.messaging.channels.AMFChannel
 endpoint 
 url=http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling;
  class=flex.messaging.endpoints.AMFEndpoint/
 properties
 polling-enabledtrue/polling-enabled
 polling-interval-seconds1/polling-interval-seconds
 /properties
 /channel-definition
 /channels
 
 logging
 target class=flex.messaging.log.ConsoleTarget level=Error
 properties
 prefix[BlazeDS] /prefix
 includeDatefalse/includeDate
 includeTimefalse/includeTime
 includeLevelfalse/includeLevel
 includeCategoryfalse/includeCategory
 /properties
 filters
 patternEndpoint.*/pattern
 patternService.*/pattern
 patternConfiguration/pattern
 /filters
 /target
 /logging
 
 system
 redeploy
 enabledfalse/enabled
 /redeploy
 /system
 
 /services-config
 
 Any pointers are highly appreciated.
 
 thanks
 ilikeflex





[flexcoders] How to Convert FLV files to DVD on Mac OS X ?

2010-06-25 Thread Ahmed Ismail
Question: 
I have downloaded 20 videos from YouTube,  
all the files are .flv, and now I want to convert it into a format  
that’ll allow me to burn it into a DVD disc so I can play it on my DVD player 
at home. Does  
anyone know any good software  
that I can download for free to do this ?




Answer : enter here http://carnivalsofts.blogspot.com/





  

[flexcoders] Debug button launching wrong file.

2010-06-25 Thread Clark Stevenson
Hey all,

I have a habit of hitting the debug tool button in FB4, lastnight i
right clicked on a MXML component and hit set as default
application.

However, i didnt mean to do that. I have set the default app back to
Main.mxml but when i click the debug button, Main.mxml never runs. I
need to select the arrow, select Main.mxml and click that.

This morning i have debugged 10 times and 6 of those times i used the
debug button by habit So incredibly frustrating.

Where i can stop this from happening? So i can set debug button back
to Main.mxml

Cheers,

Clark.


Re: [flexcoders] Flex4 ASDOC Problems

2010-06-25 Thread Oleg Sivokon
Hi.

Regarding that class, you are welcome to vote:
http://bugs.adobe.com/jira/browse/SDK-26196

I didn't have those other problems you describe though, this is what our Ant
task looks like for creating documentation:

target name=generate-documentation
mkdir dir=${basedir}/docs/
delete
fileset dir=${basedir}/docs includes=**/*.*/
/delete
asdoc output=${basedir}/docs
lenient=true
failonerror=true
fork=true
left-frameset-width=300
main-title=Exemplars Documentation
window-title=Exemplars API Documentation
compiler.show-binding-warnings=false
compiler.show-unused-type-selector-warnings=false
!--
keep-xml=true
skip-xsl=true
--
compiler.source-path path-element=${SRC_DIR}/
doc-sources path-element=${SRC_DIR}/
define name=CONFIG::local value=true/
define name=CONFIG::remote value=false/
define name=CONFIG::debug value=false/
define name=CONFIG::getaway value='localhost'/
external-library-path dir=${FLEX_HOME}/frameworks/libs
include name=spark.swc/
include name=sparkskins.swc/
include name=flex.swc/
include name=framework.swc/
include name=rpc.swc/
/external-library-path
external-library-path dir=${LIBS_DIR}
include name=Cairngorm.swc/
include name=as3crypto.swc/
include name=assets.swc/
include name=away3d__340.swc/
include name=DegrafaLibrary.swc/
/external-library-path
exclude-sources path-element=${SRC_DIR}/com/
!-- long list of excludes --
exclude-classesorg.axiis.utils.NumericExpression/exclude-classes

exclude-classesorg.openzoom.flash.utils.ExternalMouseWheel/exclude-classes
!--doc-classes class=FrameworkClasses/--
!--doc-namespaces uri=http://www.adobe.com/2006/mxml/
namespace uri=http://www.adobe.com/2006/mxml;
manifest=${basedir}/manifest.xml/--
jvmarg line=-Xms64m -Xmx384m/
/asdoc
/target


Re: [flexcoders] Debug button launching wrong file.

2010-06-25 Thread dorkie dork from dorktown
You can go into your project properties and remove all the applications
except the main one. You can add them back later. Also go into the menu Run
 Debug  Other. Remove or modify those as well. You may want to restart and
clean as well. If it still persists post back. If you do post back I'd say
go into the Flex project properties and check for rogue application
references in the XML. I'd then say clean and restart. These files are in
the project root and hidden. If it still persists post back. If you do post
back I'd then say you're wasting too much time tracking down a project
properties related problem. In that case create a NEW blank project and copy
the original files (not folders) into it. Recreate any folders. If it's in
SVN copy the files out and try reverting back to an earlier version. Then
recheck out the project again. Then of course paste in your local files. DO
NOT COPY or PASTE directories from your original project if it is using SVN.
Doing so will copy the hidden svn folders.

On Fri, Jun 25, 2010 at 3:31 AM, Clark Stevenson a.scots...@gmail.comwrote:



 Hey all,

 I have a habit of hitting the debug tool button in FB4, lastnight i
 right clicked on a MXML component and hit set as default
 application.

 However, i didnt mean to do that. I have set the default app back to
 Main.mxml but when i click the debug button, Main.mxml never runs. I
 need to select the arrow, select Main.mxml and click that.

 This morning i have debugged 10 times and 6 of those times i used the
 debug button by habit So incredibly frustrating.

 Where i can stop this from happening? So i can set debug button back
 to Main.mxml

 Cheers,

 Clark.
  



Re: [flexcoders] Debug button launching wrong file.

2010-06-25 Thread Clark Stevenson
Hey mate.

Thanks for your help!

I decided to go for the boring... copy and paste option but finally it works
:D

I wont be setting a new default application again any time soon!

Clark.

On 25 June 2010 10:05, dorkie dork from dorktown 
dorkiedorkfromdorkt...@gmail.com wrote:



 You can go into your project properties and remove all the applications
 except the main one. You can add them back later. Also go into the menu Run
  Debug  Other. Remove or modify those as well. You may want to restart and
 clean as well. If it still persists post back. If you do post back I'd say
 go into the Flex project properties and check for rogue application
 references in the XML. I'd then say clean and restart. These files are in
 the project root and hidden. If it still persists post back. If you do post
 back I'd then say you're wasting too much time tracking down a project
 properties related problem. In that case create a NEW blank project and copy
 the original files (not folders) into it. Recreate any folders. If it's in
 SVN copy the files out and try reverting back to an earlier version. Then
 recheck out the project again. Then of course paste in your local files. DO
 NOT COPY or PASTE directories from your original project if it is using SVN.
 Doing so will copy the hidden svn folders.


 On Fri, Jun 25, 2010 at 3:31 AM, Clark Stevenson a.scots...@gmail.comwrote:



 Hey all,

 I have a habit of hitting the debug tool button in FB4, lastnight i
 right clicked on a MXML component and hit set as default
 application.

 However, i didnt mean to do that. I have set the default app back to
 Main.mxml but when i click the debug button, Main.mxml never runs. I
 need to select the arrow, select Main.mxml and click that.

 This morning i have debugged 10 times and 6 of those times i used the
 debug button by habit So incredibly frustrating.

 Where i can stop this from happening? So i can set debug button back
 to Main.mxml

 Cheers,

 Clark.


  



[flexcoders] Wheres my scrollbars gone? mx:Application to s:Application

2010-06-25 Thread Clark Stevenson
Hey everyone.

A second post in a single day!

I have been working with the Flex SDK again although i have only
really been experimenting this week.

I managed to finish off a current module and its working great but the
main thing concerning me is no scrollbars.

mx:Application would just created scrollbars if the content required
it. However Spark does not have this functionality.

I wrapped my component in a

s:Group clipAndEnableScrolling=true

And now i get a little 300x200ish window with scrollbars which has
destroyed my comonent layout..

Killed with frustration, i attempted to change back to mx:Application
but of course, s:DropDownList is a spark component and so if i go back
to mx:application then i break my component.


How does one simply make s:Application contain scrollbars for the
browser ala mx:Application style?

Thanks.

Clark.


[flexcoders] Can DataGrids multiply columns

2010-06-25 Thread Stephen
I have a dataGrid as bellow and need to have the total of each row be 
calculated as the quantity and price are typed in.

mx:DataGrid editable=true
  mx:DataGridColumn headerText=Quantity/
  mx:DataGridColumn headerText=Price/
  mx:DataGridColumn headerText=Total editable=false/
/mx:DataGrid

How would I do this?

- Stephen



Re: [flexcoders] Flex4 ASDOC Problems

2010-06-25 Thread Shawn Church
Well, I will try copying and changing your template and see what happens.

Thanks for your response,

Shawn


 



[flexcoders] Re: How to Convert FLV files to DVD on Mac OS X ?

2010-06-25 Thread valdhor
If you were on a PC I would not hesitate to recommend MediaCoder - 
http://www.mediacoderhq.com.

For Mac, you may like to look at 
http://www.any-video-converter.com/products/mac_video_converter_freeware/

--- In flexcoders@yahoogroups.com, Ahmed Ismail som3a...@... wrote:

 Question: 
 I have downloaded 20 videos from YouTube,  
 all the files are .flv, and now I want to convert it into a format  
 that’ll allow me to burn it into a DVD disc so I can play it on my DVD 
 player at home. Does  
 anyone know any good software  
 that I can download for free to do this ?
 
 
 
 
 Answer : enter here http://carnivalsofts.blogspot.com/





[flexcoders] Re: Can DataGrids multiply columns

2010-06-25 Thread valdhor
One way might be (Caveat: I haven't tried this and I'm just thinking off the 
top of my head) to add itemEditEnd listeners that update and refresh the 
dataprovider,

--- In flexcoders@yahoogroups.com, Stephen sd_br...@... wrote:

 I have a dataGrid as bellow and need to have the total of each row be 
 calculated as the quantity and price are typed in.
 
 mx:DataGrid editable=true
   mx:DataGridColumn headerText=Quantity/
   mx:DataGridColumn headerText=Price/
   mx:DataGridColumn headerText=Total editable=false/
 /mx:DataGrid
 
 How would I do this?
 
 - Stephen





[flexcoders] Read from DB Write to DB

2010-06-25 Thread Minister of Defense
Hi,

I m new to Flex and i wonder if any tutorial about RIA on reading data from DB 
and write data to DB?

any help would be great.

thanks in advance.



[flexcoders] Data Import Web Service... Where has it gonein FB4?

2010-06-25 Thread Nick Middleweek
Hi,

Does anyone know where I can get FB3's Import Web Service feature in FB4?

I just want to import all the Value Objects from my WSDL but the FB4 Connect
to Web Service feature seems to create a load of bloated code. Perhaps I'm
just used to the FB3 version and I need to adjust my thinking but what are
other peoples thoughts on this?

It was quite easier previously, import the WSDL, copy the value objects and
plumb in the SchemeType declarations...


Cheers,
Nick


[flexcoders] Re: RadioButton as DataGrid item editor

2010-06-25 Thread Amy


--- In flexcoders@yahoogroups.com, Dave Glasser dglas...@... wrote:

 --- On Thu, 6/24/10, Amy amyblankens...@... wrote:
 
  
  What logic are you using to transfer the value of the
  RadioButtonGroup to the appropriate properties?
 
 None, actually. I would expect the DataGrid to handle that, since it is 
 creating the RadioButtonGroup and my code would not have easy access to it. 
 Plus, I would expect that behavior to be part of the IListItemRenderer 
 contract, which RadioButton implements.
 
 If you know a way to make it work, I would be very grateful if would share it.


What is your itemRenderer code?



Re: [flexcoders] Data Import Web Service... Where has it gonein FB4?

2010-06-25 Thread claudiu ursica
Data Services Tab, usually near Problems one or Data Button /Connect to Web 
Service

C






From: Nick Middleweek n...@middleweek.co.uk
To: flexcoders@yahoogroups.com
Sent: Fri, June 25, 2010 4:11:51 PM
Subject: [flexcoders] Data  Import Web Service... Where has it gonein FB4?

  
Hi,

Does anyone know where I can get FB3's Import Web Service feature in FB4?

I just want to import all the Value Objects from my WSDL but the FB4 Connect to 
Web Service feature seems to create a load of bloated code. Perhaps I'm just 
used to the FB3 version and I need to adjust my thinking but what are other 
peoples thoughts on this?

It was quite easier previously, import the WSDL, copy the value objects and 
plumb in the SchemeType declarations. ..


Cheers,
Nick

 


  

[flexcoders] Re: Can DataGrids multiply columns

2010-06-25 Thread Amy


--- In flexcoders@yahoogroups.com, Stephen sd_br...@... wrote:

 I have a dataGrid as bellow and need to have the total of each row be 
 calculated as the quantity and price are typed in.
 
 mx:DataGrid editable=true
   mx:DataGridColumn headerText=Quantity/
   mx:DataGridColumn headerText=Price/
   mx:DataGridColumn headerText=Total editable=false/
 /mx:DataGrid
 
 How would I do this?
 
 - Stephen


labelFunction



[flexcoders] STOP selection of header row while selecting by keyboard up arrow key

2010-06-25 Thread DevSachin

Hi, 
I want to STOP selection of header row while selecting by keyboard up arrow
key. I mean to say, when i am in 0th row index of the ADG then i dont want
to allow user to press up key and go focus to header(rowIndex=-1).
I am trying to use following code..But focus is not removing from the header
although selectedIndex is 0 all the time.

private function handle_selectionChangeEvent(event:ListEvent):void {

if(event.rowIndex == -1){
event.preventDefault();
event.stopImmediatePropagation();
event.stopPropagation();
}
-- 
View this message in context: 
http://old.nabble.com/STOP-selection-of-header-row-while-selecting-by-keyboard-up-arrow-key-tp28993175p28993175.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Data Import Web Service... Where has it gonein FB4?

2010-06-25 Thread Nick Middleweek
Hi,

Unless I'm mistaken but I think that is the same as selecting Connect to
Web Service... from the Data menu ?

I was hoping to get to the FB3 import Web Service feature...


Cheers,
Nick



On 25 June 2010 15:29, claudiu ursica the_bran...@yahoo.com wrote:



 Data Services Tab, usually near Problems one or Data Button /Connect to
 Web Service

 C





Re: [flexcoders] Read from DB Write to DB

2010-06-25 Thread Brendan Meutzner
Flex doesn't read or write to databases directly.  You will need to
implement an intermediary technology like PHP, ColdFusion, Java, etc
 You will utilize RemoteObject, HTTPService, WebService tags with these
technologies within Flex.

I'm not going to point out any tutorials directly because they're all over
the place to be found with a little googling.

Brendan



On Fri, Jun 25, 2010 at 8:27 AM, Minister of Defense cenk1...@yahoo.comwrote:



 Hi,

 I m new to Flex and i wonder if any tutorial about RIA on reading data from
 DB and write data to DB?

 any help would be great.

 thanks in advance.

  



[flexcoders] Wheel Scroll on Mac Buggy

2010-06-25 Thread Brendan Meutzner
Hi All,

I was very happy to see wheel scrolling implemented on Mac in Player 10.1...
however, I've found it's kind of buggy.


Essentially, if I use it to scroll a list based component, it works great.
 If I use it to scroll a container based component it jumps around a lot.
 For example, a roll/swipe down will move it down, but it will partially
jump back up after the event is completed.  I see this activity on Safari
and Chrome on Mac, while Firefox on mac doesn't even work at all (yes i'm
sure I've got the latest player version).  It occurs with both magic mouse
swiping, and trackbar swiping.

Firing up VMWare on Mac in Win7, it works just fine with both of these
methods, so I know it's not my hardware.


Has anybody else seen this odd behavior before I post a bug?


Brendan


Re: [flexcoders] Wheel Scroll on Mac Buggy

2010-06-25 Thread dorkie dork from dorktown
I've seen it as well. Are you manually adding mouse wheel support through
one of the numerous javascript patches? Try disabling it and see if it
works.

Note: There is no support for mouse wheel natively in Firefox browsers on
Mac.

On Fri, Jun 25, 2010 at 11:15 AM, Brendan Meutzner bmeutz...@gmail.comwrote:



 Hi All,

 I was very happy to see wheel scrolling implemented on Mac in Player
 10.1... however, I've found it's kind of buggy.


 Essentially, if I use it to scroll a list based component, it works great.
  If I use it to scroll a container based component it jumps around a lot.
  For example, a roll/swipe down will move it down, but it will partially
 jump back up after the event is completed.  I see this activity on Safari
 and Chrome on Mac, while Firefox on mac doesn't even work at all (yes i'm
 sure I've got the latest player version).  It occurs with both magic mouse
 swiping, and trackbar swiping.

 Firing up VMWare on Mac in Win7, it works just fine with both of these
 methods, so I know it's not my hardware.


 Has anybody else seen this odd behavior before I post a bug?


 Brendan


  



Re: [flexcoders] Wheel Scroll on Mac Buggy

2010-06-25 Thread Brendan Meutzner
No, no javascript hack in place... just the default index template file.

Good to know re: firefox, thx.


Brendan


On Fri, Jun 25, 2010 at 12:10 PM, dorkie dork from dorktown 
dorkiedorkfromdorkt...@gmail.com wrote:



 I've seen it as well. Are you manually adding mouse wheel support through
 one of the numerous javascript patches? Try disabling it and see if it
 works.

 Note: There is no support for mouse wheel natively in Firefox browsers on
 Mac.

 On Fri, Jun 25, 2010 at 11:15 AM, Brendan Meutzner bmeutz...@gmail.comwrote:



 Hi All,

 I was very happy to see wheel scrolling implemented on Mac in Player
 10.1... however, I've found it's kind of buggy.


 Essentially, if I use it to scroll a list based component, it works great.
  If I use it to scroll a container based component it jumps around a lot.
  For example, a roll/swipe down will move it down, but it will partially
 jump back up after the event is completed.  I see this activity on Safari
 and Chrome on Mac, while Firefox on mac doesn't even work at all (yes i'm
 sure I've got the latest player version).  It occurs with both magic mouse
 swiping, and trackbar swiping.

 Firing up VMWare on Mac in Win7, it works just fine with both of these
 methods, so I know it's not my hardware.


 Has anybody else seen this odd behavior before I post a bug?


 Brendan



  



[flexcoders] IME position problem

2010-06-25 Thread bsyyu
with flex 4 mx mode only, I create a Tile component with TextInput wrapped 
insides Canvas. Under IME with mode Chinese,  I set TextInput to be on focus at 
start,Chinese text can be typed into the TextInput as usual, but the IME is 
positioned at the top of left hand corner of the screen. It is supposed to be 
at the same position as with the TextInput.
It seems IME is lost on the focus on where the TextInput to be. 
I set TextInput.parentDrawsFocus = true, still can not solve the problem. Any 
idea ? thanks



Re: [flexcoders] IME position problem

2010-06-25 Thread Alex Harui
I believe IME requires FP 10.1.


On 6/25/10 10:19 AM, bsyyu ben.s...@gmail.com wrote:






with flex 4 mx mode only, I create a Tile component with TextInput wrapped 
insides Canvas. Under IME with mode Chinese,  I set TextInput to be on focus at 
start,Chinese text can be typed into the TextInput as usual, but the IME is 
positioned at the top of left hand corner of the screen. It is supposed to be 
at the same position as with the TextInput.
It seems IME is lost on the focus on where the TextInput to be.
I set TextInput.parentDrawsFocus = true, still can not solve the problem. Any 
idea ? thanks






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


Re: [flexcoders] Wheres my scrollbars gone? mx:Application to s:Application

2010-06-25 Thread Alex Harui
You have to add a Scroller to get scrollbars.


On 6/25/10 3:09 AM, Clark Stevenson a.scots...@gmail.com wrote:






Hey everyone.

A second post in a single day!

I have been working with the Flex SDK again although i have only
really been experimenting this week.

I managed to finish off a current module and its working great but the
main thing concerning me is no scrollbars.

mx:Application would just created scrollbars if the content required
it. However Spark does not have this functionality.

I wrapped my component in a

s:Group clipAndEnableScrolling=true

And now i get a little 300x200ish window with scrollbars which has
destroyed my comonent layout..

Killed with frustration, i attempted to change back to mx:Application
but of course, s:DropDownList is a spark component and so if i go back
to mx:application then i break my component.

How does one simply make s:Application contain scrollbars for the
browser ala mx:Application style?

Thanks.

Clark.





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


Re: [flexcoders] Re: RadioButton as DataGrid item editor

2010-06-25 Thread Dave Glasser
--- On Fri, 6/25/10, Amy amyblankens...@bellsouth.net wrote:


 What is your itemRenderer code?


I'm just using the RadioButton, out of the box. I'm setting the itemRenderer 
property on the DataGridColumn to 
new ClassFactory(RadioButton).




[flexcoders] ASDOC - Error: '' is not a directory

2010-06-25 Thread atomilux
I know others have encountered this problem. My question is has anyone 
conquered it? 
I found a workaround but nothing that addressed my specific bug:

1. With Flash Builder 4:
- fails with a custom External Tools Configuration
- fails running via Terminal
- fails running ANT version

- ALWAYS returns:  Error: '' is not a directory


2. With the FLEX 3.5 SDK
- runs fine with Terminal invocation of ASDOC

I checked to see if the flex-config.xml files were different in any way but 
couldn't
see anything obvious. 



Re: [flexcoders] Wheres my scrollbars gone? mx:Application to s:Application

2010-06-25 Thread Technusiast
I did that, by adding the Scroller in a skin file.  Scrollbar appears, but not 
responsive to mouse wheel.  Where should I look?

On Jun 25, 2010, at 10:28 AM, Alex Harui aha...@adobe.com wrote:

You have to add a Scroller to get scrollbars.


On 6/25/10 3:09 AM, Clark Stevenson a.scots...@gmail.com wrote:



 
 
   

Hey everyone.

A second post in a single day!

I have been working with the Flex SDK again although i have only
really been experimenting this week.

I managed to finish off a current module and its working great but the
main thing concerning me is no scrollbars.

mx:Application would just created scrollbars if the content required
it. However Spark does not have this functionality.

I wrapped my component in a

s:Group clipAndEnableScrolling=true

And now i get a little 300x200ish window with scrollbars which has
destroyed my comonent layout..

Killed with frustration, i attempted to change back to mx:Application
but of course, s:DropDownList is a spark component and so if i go back
to mx:application then i break my component.

How does one simply make s:Application contain scrollbars for the
browser ala mx:Application style?

Thanks.

Clark.
 
   



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





Re: [flexcoders] Wheres my scrollbars gone? mx:Application to s:Application

2010-06-25 Thread Alex Harui
If you are on a mac, see the other thread about Mouse Wheel on mac.


On 6/25/10 12:53 PM, Technusiast technusi...@yahoo.com wrote:






I did that, by adding the Scroller in a skin file.  Scrollbar appears, but not 
responsive to mouse wheel.  Where should I look?

On Jun 25, 2010, at 10:28 AM, Alex Harui aha...@adobe.com wrote:




You have to add a Scroller to get scrollbars.


On 6/25/10 3:09 AM, Clark Stevenson a.scots...@gmail.com wrote:






Hey everyone.

A second post in a single day!

I have been working with the Flex SDK again although i have only
really been experimenting this week.

I managed to finish off a current module and its working great but the
main thing concerning me is no scrollbars.

mx:Application would just created scrollbars if the content required
it. However Spark does not have this functionality.

I wrapped my component in a

s:Group clipAndEnableScrolling=true

And now i get a little 300x200ish window with scrollbars which has
destroyed my comonent layout..

Killed with frustration, i attempted to change back to mx:Application
but of course, s:DropDownList is a spark component and so if i go back
to mx:application then i break my component.

How does one simply make s:Application contain scrollbars for the
browser ala mx:Application style?

Thanks.

Clark.





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


Re: [flexcoders] ASDOC - Error: '' is not a directory

2010-06-25 Thread Jeffry Houser


 I think I had the same error; and eventually just rolled back to using 
the Flex 3.5 ASDoc tool.  If you file a bug, let us know.


On 6/25/2010 3:20 PM, atomilux wrote:


I know others have encountered this problem. My question is has anyone 
conquered it?

I found a workaround but nothing that addressed my specific bug:

1. With Flash Builder 4:
- fails with a custom External Tools Configuration
- fails running via Terminal
- fails running ANT version

- ALWAYS returns: Error: '' is not a directory

2. With the FLEX 3.5 SDK
- runs fine with Terminal invocation of ASDOC

I checked to see if the flex-config.xml files were different in any 
way but couldn't

see anything obvious.





--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust



[flexcoders] Get all styles at runtime of specific component

2010-06-25 Thread dorkie dork from dorktown
How do you get a list of all styles that a component supports?

var buttonStyles:Array = getStyles(buttonComponent);
var containerStyles:Array = getStyles(borderContainer);

The follow up question to this is there a recommended api to get the
computed style for that component instance?

JP


[flexcoders] Re: Scrolling a Popup in IE leads to UI distortion

2010-06-25 Thread LathaM
Thanks Alex.
That was the problem actually. The wmode was set to 'transparent'; Setting it 
to 'window' fixed the problem. 
Thanks for the help.

- Latha


--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 If you have a non-default wmode all bets are off.
 
 
 On 6/24/10 8:54 AM, Latha prema...@... wrote:
 
 
 
 
 
 
 Hi Flex Experts,
 
 I am Latha, I am relatively new to the group.
 I need your help in fixing a problem in the application I am working on.
 
 We have a pop-up and it may or may not have vertical scroll bars.
 When there is a vertical scroll and we scroll fast, the UI gets distorted.
 Some parts of it becomes invisible; some control merges with the next control 
 and so on..
 
 Basically the Pop-up contains a form and I have not used any ItemRenderer in 
 it.
 This problem is seen only in IE, not in Firefox
 
 Any help/suggestion in this matter would be greatly appreciated.
 
 Thanks
 Latha
 
 
 
 
 
 
 
 --
 Alex Harui
 Flex SDK Team
 Adobe System, Inc.
 http://blogs.adobe.com/aharui





Re: [flexcoders] Get all styles at runtime of specific component

2010-06-25 Thread Alex Harui
Styles are defined by metadata and further controlled by the theme and skin.  
You’d probably have to retain metadata to introspect at runtime.

I’m not sure I understand the last question.  getStyle() would return the 
computed style.


On 6/25/10 5:38 PM, dorkiedorkfromdorkt...@gmail.com 
dorkiedorkfromdorkt...@gmail.com wrote:






How do you get a list of all styles that a component supports?

var buttonStyles:Array = getStyles(buttonComponent);
var containerStyles:Array = getStyles(borderContainer);

The follow up question to this is there a recommended api to get the
computed style for that component instance?

JP





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