Re: [flexcoders] Re: sqlite insert issue

2008-11-04 Thread Johannes Nel
thanks. I recalled last night that insert constraints are not enforced, the
schema i took was taken directly from a postgre dump and all this work will
be thrown out as soon as i create my db directly in java. but yeah, i will
alter the schema. thanks for all the help from both of you.

On Tue, Nov 4, 2008 at 8:22 AM, jason_williams_mm
[EMAIL PROTECTED]wrote:

   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 Johannes Nel [EMAIL PROTECTED]

 The confusion here is due to the affinities that you have selected.
 When the AIR embedded db cannot find the affinity specified it
 defaults to NUMERIC. There is no affinity called timestamp (or
 bigint for that matter) and you are left with a NUMERIC affinity.
 In this case the string value of 2008-08... is being inserted into a
 field in which a NUMERIC value is expected. The embedded db in the
 AIR runtime makes an attempt to convert that string into the desired
 value, however, a conversion isn't possible, and the result is the
 error you see. Why does this work in SQLite? In the SQLite db
 affinities are not enforced, so when the attempt to convert fails the
 string value is inserted as is.

 If you change the affinity specified here to DATE you will get what
 you expect, and additionally, when you select the value back out you
 will get an AS3 Date object.

 jw

 wrote:

 
  Hi All
  I have a sql statement which runs sans any issues in my sqlite
 viewer, but
  when executed from within air it gives me the error
  SQLError: 'Error #3132: Data type mismatch.', details:'could not convert
  text value to numeric value.'
  this is the table schema
  CREATE TABLE category (
  id bigint NOT NULL,
  version integer NOT NULL,
  name character varying(255),
  ordering integer NOT NULL,
  external boolean NOT NULL,
  createddate timestamp without time zone,
  modifieddate timestamp without time zone,
  createdby_id bigint,
  modifiedby_id bigint
  );
  and here is the sql statement
  insert into category(id, version, name, ordering, external, createddate,
  modifieddate, createdby_id, modifiedby_id) values
  (477,14,'Leads',0,'false',NULL,'2008-08-19 16:46:54.26',NULL,1109);
 
  any ideas?
  i find it really weird that this works on a SQLite level, but not
 from AS.
 
  johan
 
 
  --
  j:pn
  \\no comment
 

  




-- 
j:pn
\\no comment


[flexcoders] Re: Research - Flex Metatags useable in F.C.K.

2008-11-04 Thread florian.salihovic
The Bindbale Metatag will be compiled into the bytecode so when u implement 
accessors 
by hand and dispatch the events yourself, the designer can already implement 
the whole 
basecomponent. The developer just has to subclass when logic get involved.

Best regards.

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

 Ah ok,
 
 Don't know that answer. :)
 
 Mike
 
 On Thu, Sep 18, 2008 at 8:37 AM, florian.salihovic 
 [EMAIL PROTECTED] wrote:
 
Hi, that would be if i used MXMLC for compilation. What i was asking for
  is, when the
  *.swc gets compiled in Flash with the FCK.
 
  Best regards.
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael
  Schmalle teoti.graphix@ wrote:
  
   Hi,
  
   you would use;
  
   -keep-as3-metadata MetaTagName
  
   to keep any meta data tags at compile time. If you look in the build.xml
   file for the framework the keep;
  
   target name=framework description=Builds libs/framework.swc
   compc include-classes=FrameworkClasses
   output=${basedir}/libs/framework.swc locale= accessible=true
   include-namespaces uri=http://www.adobe.com/2006/mxml/
   namespace uri=http://www.adobe.com/2006/mxml;
   manifest=${framework.dir}/manifest.xml/
   source-path path-element=${framework.dir}/src/
   external-library-path dir=${basedir}/libs/player
   includes=playerglobal.swc/
   library-path/
   include-file name=defaults.css
   path=${framework.dir}/defaults.css/
   include-file name=defaults-2.0.0.css
   path=${framework.dir}/defaults-2.0.0.css/
   include-file name=defaults-2.0.1.css
   path=${framework.dir}/defaults-2.0.1.css/
   include-file name=Assets.swf
   path=${framework.dir}/assets/Assets.swf/
   keep-as3-metadata name=Bindable /
   keep-as3-metadata name=Managed /
   keep-as3-metadata name=ChangeEvent /
   keep-as3-metadata name=NonCommittingChangeEvent /
   keep-as3-metadata name=Transient /
   /compc
   /target
  
   Mike
  
   On Thu, Sep 18, 2008 at 5:51 AM, florian.salihovic 
   florian.salihovic@ wrote:
  
I'm currently doing a research on the Flex Component Kit. I need to
outsource some custom
components to a designer. The baseclasses are defined, but will the
metatags (custom events
used for the databinding) also be recognized/compiled into the source?
   
Best regards.
   
   
   
  
  
  
   --
   Teoti Graphix, LLC
   http://www.teotigraphix.com
  
   Teoti Graphix Blog
   http://www.blog.teotigraphix.com
  
   You can find more by solving the problem then by 'asking the question'.
  
 
   
 
 
 
 
 -- 
 Teoti Graphix, LLC
 http://www.teotigraphix.com
 
 Teoti Graphix Blog
 http://www.blog.teotigraphix.com
 
 You can find more by solving the problem then by 'asking the question'.






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

2008-11-04 Thread César Mendoza
Can give us an example?

On Thu, Oct 30, 2008 at 4:45 PM, Michael Schmalle
[EMAIL PROTECTED] wrote:
 This wasn't a personal challenge. I didn't say you were wrong, I noted that
 the mxml interface method had a d on the end. I then said UIComponent has
 an initialized property like the method in the mxml interface.

 Writing emails to a forum is kind of relaxing compared to the rest of the
 day. Maybe you should ask me to clarify better before adding paragraphs
 unrelated to what I was trying to convey.
 If I interpreted the question wrong and you can see it (leading a developer
 down the wrong road), try to clarify the misinterpretation with a question.
 Mike

 On Thu, Oct 30, 2008 at 2:22 PM, Amy [EMAIL PROTECTED] wrote:

 --- In flexcoders@yahoogroups.com, Michael Schmalle

 [EMAIL PROTECTED] wrote:
 
  Note ::
  The IMXMLObject method signature is (d);
 
 
 initializedhttp://127.0.0.1:49487/help/topic/com.adobe.flexbuilder.he
 lp/langref/mx/core/IMXMLObject.html#initialized()
 
 (document:Objecthttp://127.0.0.1:49487/help/topic/com.adobe.flexbuild
 er.help/langref/Object.html,
 
 id:Stringhttp://127.0.0.1:49487/help/topic/com.adobe.flexbuilder.help
 /langref/String.html
  ):voidhttp://127.0.0.1:49487/help/topic/com.adobe.flexbuilder.help/
 langref/specialTypes.html#void
 
  the UIComponent's initializer is not initialized(), it's;
 
  initialize():void
 
  The UIComponent.initialized is a property not a method.

 It's a setter, which is a method. IOW, you can't implement this
 interface with anything that inherits from UIComponent. Not sure why
 you take everything I say as a personal challenge, but feel free to
 try it if you don't believe me.



 



-- 
Saludos.
César Javier Mendoza.


[flexcoders] Re: MultipleEvents

2008-11-04 Thread bisht_mech
Thanks a lott paul. Really got a good learning from this. :)



[flexcoders] Re: Advanced Data Grid with Grouped Columns

2008-11-04 Thread grg_blls
Hi Tom, hi all.
Thanks for coming back and please excuse me for not including the RTE 
message in the first place.
Well I have it here now.
Thanks in advance for any reply
George

TypeError: Error #1009: Cannot access a property or method of a null 
object reference.
at 
mx.controls::AdvancedDataGridBaseEx/http://www.adobe.com/2006/flex/mx/
internal::getMeasuringRenderer()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2001]
at 
mx.controls::AdvancedDataGridBaseEx/adjustVerticalScrollPositionDownwa
rd()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2541]
at mx.controls::AdvancedDataGridBaseEx/configureScrollBars()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2416]
at mx.controls.listClasses::AdvancedListBase/set 
verticalScrollPosition()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\listClasses\AdvancedListBase.as:1198]
at mx.controls::AdvancedDataGridBaseEx/set 
verticalScrollPosition()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:942]
at mx.controls::AdvancedDataGrid/set verticalScrollPosition()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGrid.as:1149]
at mx.controls::AdvancedDataGridBaseEx/scrollHandler()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2317]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:9051]
at 
mx.controls.scrollClasses::ScrollBar/http://www.adobe.com/2006/flex/mx
/internal::dispatchScrollEvent()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\scrollClas
ses\ScrollBar.as:1257]
at mx.controls.scrollClasses::ScrollThumb/mouseMoveHandler()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\scrollClas
ses\ScrollThumb.as:219]





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

 On Thursday 30 Oct 2008, grg_blls wrote:
  vertical scroll, it always throws a RTE.
 
 Guess: It's your customer editors.
 As this code self-evidently won't run as-is, and you've not 
included the full 
 text of the RTE, it's hard to help.
 
 -- 
 Tom Chiverton
 Helping to dynamically e-enable sticky turn-key users
 
 
 
 
 
 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] Issue with Mac/FF2.0 :video's is freezed on clicking the any of the menu button or scroll bar

2008-11-04 Thread Soniya, Mariya
Hi,

We are using the FSVideo Display component for the video.
Only in Mac/FF2.0 we are facing these issue.

Steps to reproduce

1. Launch the URL http://www.sreesiya.com/fxpm/
http://www.sreesiya.com/fxpm/  on Mac/FF2.0
2. let the playback start
3. keep a mouse press on the vertical scroll of the fire bug. keep the
mouse pressed and observe the playback

Errors:

1. Video is halted/freezed
2. Timer also comes to halt
3. Audio continues to play. on completion of asset, playback continues
to next asset/ad without Video

 
Thanks
Soniya


Re: [flexcoders] Panel as an itemrenderer in List ?

2008-11-04 Thread Jon Bradley


On Nov 4, 2008, at 8:48 AM, Nik Derewianka wrote:


1) The Panel does not display it's title bar or drop shadow bordering,
but seem to be displaying more as standard Box elements.

2) Trying to drag select text on a TextInput child in the panel item
renderer causes the containing List dragMove to trigger causing it to
try and drag the entire panel in the list, rather than just stay with
selecting the text.



For #1, I'm not sure what your code looks like so I don't know if I  
could offer any suggestions.


For #2, it sounds like you might need to add an event listener to  
dragMove and use preventDefault on the event, then use the Selection  
classes to set focus on the text instance and select it. Or, if  
possible, set dragMoveEnabled = false ?


best,

jon

[flexcoders] alivePdf create.php file

2008-11-04 Thread Gustavo Duenas
Does anyone have ever tried the Alive PDF on coldfusion  and if yes,  
do you have an alternate file for the .PHP one?, because I'm trying  
to use it on my file but it seems that I need extra help.


Regards,


Gustavo D.








Re: [flexcoders] Getting all the fired events in flex application.

2008-11-04 Thread Paul Andrews

- Original Message - 
From: jasbir_dadyal [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, November 04, 2008 1:40 PM
Subject: [flexcoders] Getting all the fired events in flex application.


 Hi,
In my application I am working on session management.On session
 timeout i want to get all fired events(events that are currently
 running in a application) and stop them.

 Approach that I have implemented for session management.

 There is a timer on web layer which listens to every mouse click.
 For every mouse click anywhere in a application it checks the
 idleTimeout.if it exceeds the specified time it dispatches
 LogOutEvent which hits the service layer and invalidate the
 session.At the same time on web layer all the dictionaries that are
 stored in ModelLocator are set to null.

You should have a timer set to the timeout period and leave that running. If 
the user makes a mouse click, then either reset the timer, or set a 
mouseclick flag.

If you reset the timer on each mouseclick: if the timer ever runs to 
completion issue the logogout event.
If you record the mouseclick by setting a flag to say the user is active: 
When the timer runs out  look for a mouse click during the timeout period 
(flag set). If the flag is set, clear the flag and start the timer again. If 
the flag is unset, issue a timeout event.

You may wish to reset the application state to 'LoggedOut' when the logout 
event is handled to prevent further unwanted user interactions.

Paul

 Problem:
 Suppose user leaves system for a specified time and comes back and
 clicks on some button.By clicking on that button it fires a custom
 event and at the same time it checks for idleTimeOut.If it exceeds
 that time then it dispatches another event i.e Logout event.

 Now here two events are dispatched on one click of button.

 Logout event will invalidate session on service layer and nullify all
 the web dictionaries.At this time if another event which was
 dispathced with logout event is accessing some dictionary will throw
 a nullpointer exception.

 Question:

 Is there any way through which I can get all the fired events.With
 this on Logout event I can get all those events and Cancel them
 manually.

 OR

 Is there any better approach.

 Any thoughts on this will be very helpful for me.
 Thanks in advance
 Jasbir Singh






 

 --
 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] FP plugin for debugging in Firefox/Chrome

2008-11-04 Thread markgoldin_2000
Do you user Firefox/Chrome with Flex Builder to run with debugging 
option?

Thanks



Re: [flexcoders] Panel as an itemrenderer in List ?

2008-11-04 Thread Nik Derewianka


On 05/11/2008, at 1:02 AM, Jon Bradley wrote:

On Nov 4, 2008, at 8:48 AM, Nik Derewianka wrote:

1) The Panel does not display it's title bar or drop shadow  
bordering,

but seem to be displaying more as standard Box elements.

2) Trying to drag select text on a TextInput child in the panel item
renderer causes the containing List dragMove to trigger causing it to
try and drag the entire panel in the list, rather than just stay with
selecting the text.



For #1, I'm not sure what your code looks like so I don't know if I  
could offer any suggestions.


I've stripped it right back of extraneous stuff and posted it:

http://artofmultimedia.com.au/flex/test.html

Click add a few times, no Panel chrome.  On top of that, move your  
mouse over the list and only the last item added gets highlighted,  
dragging an item shows the drag proxy from the bottom item and the  
dropping is completely screwy.


For #2, it sounds like you might need to add an event listener to  
dragMove and use preventDefault on the event, then use the Selection  
classes to set focus on the text instance and select it. Or, if  
possible, set dragMoveEnabled = false ?


I need the dragMoveEnabled functionality of the list so that the user  
can re-order the panels.  Going to have a crack at the preventDefault,  
I am assuming you mean listen on the dragMove event of the List,  
detect if the drag target is the panel and allow the drag, otherwise  
if it is one of the child display objects then call preventDefault on  
the event ??


Thanks,
Nik

[flexcoders] Re: AdvancedDataGrid not redrawing properly

2008-11-04 Thread Randy Martin
Anyone?? This is really driving me crazy!

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

  
 
 I have an AdvancedDataGrid in an application in one of the states. 
The first
 time I display it, everything is fine. If I subsequently enter 
another state
 and then redisplay the AdvancedDataGrid, it shows up without any 
borders or
 grid lines. As soon as I populate it (assign a data provider), the 
borders
 and grid lines reappear.
 
  
 
 Anyone have any idea what's going on here?
 
  
 
 TIA,
 
 ~randy





[flexcoders] Re: Getting all the fired events in flex application.

2008-11-04 Thread jasbir_dadyal
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote:

 
 - Original Message - 
 From: jasbir_dadyal [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, November 04, 2008 1:40 PM
 Subject: [flexcoders] Getting all the fired events in flex 
application.
 
 
  Hi,
 In my application I am working on session management.On session
  timeout i want to get all fired events(events that are currently
  running in a application) and stop them.
 
  Approach that I have implemented for session management.
 
  There is a timer on web layer which listens to every mouse click.
  For every mouse click anywhere in a application it checks the
  idleTimeout.if it exceeds the specified time it dispatches
  LogOutEvent which hits the service layer and invalidate the
  session.At the same time on web layer all the dictionaries that 
are
  stored in ModelLocator are set to null.
 
 You should have a timer set to the timeout period and leave that 
running. If 
 the user makes a mouse click, then either reset the timer, or set a 
 mouseclick flag.
 
 If you reset the timer on each mouseclick: if the timer ever runs 
to 
 completion issue the logogout event.
 If you record the mouseclick by setting a flag to say the user is 
active: 
 When the timer runs out  look for a mouse click during the timeout 
period 
 (flag set). If the flag is set, clear the flag and start the timer 
again. If 
 the flag is unset, issue a timeout event.
 
 You may wish to reset the application state to 'LoggedOut' when the 
logout 
 event is handled to prevent further unwanted user interactions.
 
 Paul
 
  Problem:
  Suppose user leaves system for a specified time and comes back and
  clicks on some button.By clicking on that button it fires a custom
  event and at the same time it checks for idleTimeOut.If it exceeds
  that time then it dispatches another event i.e Logout event.
 
  Now here two events are dispatched on one click of button.
 
  Logout event will invalidate session on service layer and nullify 
all
  the web dictionaries.At this time if another event which was
  dispathced with logout event is accessing some dictionary will 
throw
  a nullpointer exception.
 
  Question:
 
  Is there any way through which I can get all the fired events.With
  this on Logout event I can get all those events and Cancel them
  manually.
 
  OR
 
  Is there any better approach.
 
  Any thoughts on this will be very helpful for me.
  Thanks in advance
  Jasbir Singh
 
 
 
 
 
 
  
 
  --
  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
 
 
 


Hi Paul,

  I am doing the same thing.On every mouse click it checks 
the idleTimeout.If it is under the specified time then it restarts 
the timer again.

Problem arises when logout event is fired.Here Logout event get fired 
correctly but with logout event if there is some other event get 
fired then that other event causes a problem.

What I want is when logout event get fired all other events should be 
stopped/canceled.



[flexcoders] Anyone come across this bug in opening a new window in air

2008-11-04 Thread djhatrick
Type Coercion failed: cannot convert
mx.managers::[EMAIL PROTECTED] to mx.managers.ISystemManager2.



[flexcoders] UM Extension

2008-11-04 Thread Darrin Kay
I am trying to learn the UM extensions within Cairngorm, but there are no
good examples of how this is done.  Here is what I am trying to do, I have a
view and when a user clicks a button an event is called.   Then off to the
command, and if the execute passes, I go to the result function in the
command file.  In the result function I load the data into the model, and
change my view.  On the new view I need to call a function after I know I
have the data back.  That is what I can not figure out.

 

Please help.



Re: [flexcoders] Re: Getting all the fired events in flex application.

2008-11-04 Thread Paul Andrews

- Original Message - 
From: jasbir_dadyal [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, November 04, 2008 3:41 PM
Subject: [flexcoders] Re: Getting all the fired events in flex application.


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


 - Original Message - 
 From: jasbir_dadyal [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, November 04, 2008 1:40 PM
 Subject: [flexcoders] Getting all the fired events in flex
 application.


  Hi,
 In my application I am working on session management.On session
  timeout i want to get all fired events(events that are currently
  running in a application) and stop them.
 
  Approach that I have implemented for session management.
 
  There is a timer on web layer which listens to every mouse click.
  For every mouse click anywhere in a application it checks the
  idleTimeout.if it exceeds the specified time it dispatches
  LogOutEvent which hits the service layer and invalidate the
  session.At the same time on web layer all the dictionaries that
 are
  stored in ModelLocator are set to null.

 You should have a timer set to the timeout period and leave that
 running. If
 the user makes a mouse click, then either reset the timer, or set a
 mouseclick flag.

 If you reset the timer on each mouseclick: if the timer ever runs
 to
 completion issue the logogout event.
 If you record the mouseclick by setting a flag to say the user is
 active:
 When the timer runs out  look for a mouse click during the timeout
 period
 (flag set). If the flag is set, clear the flag and start the timer
 again. If
 the flag is unset, issue a timeout event.

 You may wish to reset the application state to 'LoggedOut' when the
 logout
 event is handled to prevent further unwanted user interactions.

 Paul

  Problem:
  Suppose user leaves system for a specified time and comes back and
  clicks on some button.By clicking on that button it fires a custom
  event and at the same time it checks for idleTimeOut.If it exceeds
  that time then it dispatches another event i.e Logout event.
 
  Now here two events are dispatched on one click of button.
 
  Logout event will invalidate session on service layer and nullify
 all
  the web dictionaries.At this time if another event which was
  dispathced with logout event is accessing some dictionary will
 throw
  a nullpointer exception.
 
  Question:
 
  Is there any way through which I can get all the fired events.With
  this on Logout event I can get all those events and Cancel them
  manually.
 
  OR
 
  Is there any better approach.
 
  Any thoughts on this will be very helpful for me.
  Thanks in advance
  Jasbir Singh
 
 
 
 
 
 
  
 
  --
  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
 
 
 


 Hi Paul,

  I am doing the same thing.

Err.. you are not!

On every mouse click it checks
 the idleTimeout.

No. Don't do that!

If it is under the specified time then it restarts
 the timer again.

Don't bother. Read my suggestion  again. With my suggestion there won't be 
multiple events.

Paul



 Problem arises when logout event is fired.Here Logout event get fired
 correctly but with logout event if there is some other event get
 fired then that other event causes a problem.

 What I want is when logout event get fired all other events should be
 stopped/canceled.


 

 --
 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] SWFLoader problems!

2008-11-04 Thread tchredeemed
I have a .swf that I load into my flex app...

like this:

[Embed(source=swfloader.swf)]
[Bindable]
private var swfLoaderAnimation:Class;



mx:SWFLoader id=loader source={swfLoaderAnimation}
horizontalCenter=0 verticalCenter=0 /



---

The problem(s):

1- Sometimes this swfloader is bigger than the actual swf, and if i
scaleX and scaleY to 0.5, it is the appropriate size.  Other times,
however, it is the correct size, and scaling it makes it far too
small...  This even happens on the same custom component sometimes :(

2- I do not believe that flex actually knows how tall/wide this swf
is, because the horizontalCenter and verticalCenter seem to center the
top left pixel of the swf instead of the entire swf... if I put it
inside of a hbox with a border, and center that, it shows that the swf
runs off the bottom/right edges of the hbox...


Any help? Thanks :)



Re: [flexcoders] Re: Flex developer and their hourly rate

2008-11-04 Thread Rich Rodecker
that's how it goes...you're talking about a much different cost of living
than say, Arkansas.
On Tue, Nov 4, 2008 at 6:37 AM, nathanpdaniel [EMAIL PROTECTED] wrote:

   $100/hour Man, I'm gonna have to move to SF! HAHAHA :D

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

 
  That's always a hard question, and mostly depends on a few major
 points:
  location, experience, and additional skill set. SF, and just about
 every
  major city is definitely going to get you a higher rate than say,
 Tennessee.
  How is your portfolio? If you have an impressive body of work
 that will
  also increase your value. On top of that, if your a flex developer
 that is
  highly skilled in additional areas, or have alot of experience
 building
  enterprise-level apps, that will also increase your value.
  All that being said, I don't know :) Though I'd esitmate you're
 going to be
  somewhere around $100/hr.
 
 
 
  On Mon, Nov 3, 2008 at 12:56 PM, hworke [EMAIL PROTECTED] wrote:
 
  
  
   Hi Devs,
  
   I do not have any idea about the market hourly
   rate that a Flex developer with 3 years experience
   charges in San Francisco bay area charges. Can
   someone please give me some idea?
  
   Best regards,
  
  
  
 

  



[flexcoders] callLater calls from framework / validation after instances are already removed

2008-11-04 Thread christian.menzinger
Hi all,

I have a very special problem:

By selecting an item in my navigation I start rendering my view with
several display objects (container, components, ...).

Every time I select an other item, I remove all stuff from display list
(destroying all bindings, remove all listeners, setting everything to
null).

If I do very quick changes, after a while I receive null-pointer
exceptions in different classes in different validation methods (measure
/ updateDisplayList) like

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
 at package::ClassName/updateDisplayList()[ClassName.as:490]
 at
mx.core::UIComponent/validateDisplayList()[framework\src\mx\core\UICompo\
nent.as:6293]
 at
mx.managers::LayoutManager/validateDisplayList()[framework\src\mx\manage\
rs\LayoutManager.as:605]
 at
mx.managers::LayoutManager/doPhasedInstantiation()[framework\src\mx\mana\
gers\LayoutManager.as:660]
 at Function/http://adobe.com/AS3/2006/builtin::apply()
 at
mx.core::UIComponent/callLaterDispatcher2()[framework\src\mx\core\UIComp\
onent.as:8565]
 at
mx.core::UIComponent/callLaterDispatcher()[framework\src\mx\core\UICompo\
nent.as:8508]

The exception stack trace starts always by callLaterDispatcher like
above.

I think the null-pointer happen because the render engine applies a call
later for rendering in the next frame, unfortunately I removed the
instanced in time between and so all my component children are null.

That brings me to the following questions:
- Could it be true that flex forces validation via callLater even if the
instance is removed? How could this be?
- If so, how can I solve the problem proper (e.g. remove all callLaters
in my destroy functions - btw: there is a mx_internal function
cancelAllCallLaters() in UIComponent but that is not working for me -
no effect if I call this function in my destroy functions)
- Or am I completely wrong and the problem is part of my custom
components development?

If you have any ideas or solutions which can guide me in the right
direction would be very cool.

Thanks a lot
Chris


[flexcoders] how to retrieve sorted subset of an arraycollection?

2008-11-04 Thread blc187
Hi,
I have an arraycollection of about a dozen or so items.
I am applying a sort to that collection and I usually end up with 
about 3-4 items after the sort is applied.

Is there a way I can grab just the sorted subset of those 3-4 items 
from that arraycollection?
If I clone the array or grab the source it includes the entire 
collection instead of just the subset.



[flexcoders] Recursively get all the childreen

2008-11-04 Thread timgerr
How can I get a list of all the childreen?

mx:Tile id=TileTop width=333 height=197
mx:Form
mx:FormItem label=Part 1
mx:TextInput id=One/
/mx:FormItem
mx:FormItem label=Part 2
mx:TextInput id=two/
/mx:FormItem
mx:FormItem label=Part 3
mx:TextInput id=three/
/mx:FormItem
/mx:Form
/mx:Tile


Thanks,
Timgerr



[flexcoders] How to use anchor and caret selection of a chart?

2008-11-04 Thread cox.blair
Everyone,

I want to be able to select within a chart and pass the anchor and
caret result to a variable. Specifically by selecting an area within
the chart, the xValue being a date range will pass the begining and
end date, as a string to any value I choose. I may just want to output
the anchor and caret to a text field, doesn't matter.

What I need to know how to do is out the anchor and caret while
defining that the xValue is to be used. I've gone through the Adobe
manual examples and can output the selection to a datagrid, but I need
a little more control. Entering Flex anchor or caret into Google
yields three results. It is a poorly documented function.

Thanks,
--
Blair



[flexcoders] Re: sound.isBuffering true until 100% loaded?

2008-11-04 Thread burttram
Ahh, much improved after placing the progress event listener on the
Sound object instead of the loader object, but I still feel like Flex
is buffering the entire .mp3 before the isLoading property is flipped
to false.  

Maybe I'm not considering something here, but seems like all things
being equal, buffering 1sec of audio should take the same amount of
time regardless of file size, but it seems that particularly with
larger files buffering 1sec takes significantly longer.  

I'm actually still using Flex 2 and the documentation for the
SoundLoaderContext says that the bufferTime property is the number of
seconds (vs Milliseconds) to buffer and defaults to 1000 (~17mins?). 
Even if I change this property to 2, I still don't notice any change
in the time it takes to buffer each sound and begin playing...

Any thoughts?  tips?  hints?

Thanks in advance.




[flexcoders] Compare text and highlight the differences

2008-11-04 Thread nhid
Hello,

We're trying to do a text comparision between 2 paragraphs and highlight
only the words that are different in the paragraphs.  How we are trying to
accomplish this is by comparing the words from paragraph 1 to those in
paragraph 2, keeping track of the matches as in a matrix, then use the
sentence with the highest matches as the base sentence, then highlight the
remaining words in that sentence in paragraph 2.  This method seems to be
cumbersome and not working properly at the moment.

Any other suggestions how or has anyone seen a sample to do this?

Thank you.


[flexcoders] Re: Panel as an itemrenderer in List ?

2008-11-04 Thread Amy
--- In flexcoders@yahoogroups.com, Nik Derewianka [EMAIL PROTECTED] wrote:

 Hi,
 
 I am trying to create a list of re-orderable panels, I have set it 
up  
 so that the Panel is the itemrenderer,  but seem to be running into 
a  
 few issues:
 
 1) The Panel does not display it's title bar or drop shadow 
bordering,  
 but seem to be displaying more as standard Box elements.
 
 2) Trying to drag select text on a TextInput child in the panel 
item  
 renderer causes the containing List dragMove to trigger causing it 
to  
 try and drag the entire panel in the list, rather than just stay 
with  
 selecting the text.
 
 Any thoughts or suggestions ?

Try this:

http://flexdiary.blogspot.com/2008/06/using-css-typeselector-with.html



[flexcoders] Re: how to retrieve sorted subset of an arraycollection?

2008-11-04 Thread blc187
What I meant to say is that I am applying a filter, not a sort to the 
arraycollection. Applying the filter results in a subset of the items 
being shown.

There is an internal property called localIndex that holds just the 
filtered items, but I am not sure if there is any way to access or 
manipulate this?



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

 Hi,
 I have an arraycollection of about a dozen or so items.
 I am applying a sort to that collection and I usually end up with 
 about 3-4 items after the sort is applied.
 
 Is there a way I can grab just the sorted subset of those 3-4 items 
 from that arraycollection?
 If I clone the array or grab the source it includes the entire 
 collection instead of just the subset.




[flexcoders] Different Itemrenderer in ComoBox

2008-11-04 Thread florian.salihovic
Is it possible to set an itemrenderer and itemeditor in a ComboBox depending on 
the type of 
object which is displayed?

Or do is have to use one renderer for all items and determine in the renderer 
itself how it 
should be displayed - same goes for the itemeditor.

Best regards



[flexcoders] Soap webservice and authentication

2008-11-04 Thread ernoaapa
Hi everyone!
I'm begging for help. 

I'm trying to get data from Microsoft virtual earth web service.
But all the time I get ioError, Error #2032: Stream Error.

So please, PLEASE could someone just point me right direction? how to
connect from flex? I promise to give beer if you come finland :D

I try to use Flex Builder import wsdl tool and allso try
mx:WebService. I'm not sure is problem in authentication because if I
go to wsdl url by browser I get authentication prompt. 

I really hope that someone help me to get start.

get developement account:
https://mappoint-css.live.com/CSCV3

wsdl:
http://staging.mappoint.net/standard-30/mappoint.wsdl





[flexcoders] Panel as an itemrenderer in List ?

2008-11-04 Thread Nik Derewianka
Hi,

I am trying to create a list of re-orderable panels, I have set it up  
so that the Panel is the itemrenderer,  but seem to be running into a  
few issues:

1) The Panel does not display it's title bar or drop shadow bordering,  
but seem to be displaying more as standard Box elements.

2) Trying to drag select text on a TextInput child in the panel item  
renderer causes the containing List dragMove to trigger causing it to  
try and drag the entire panel in the list, rather than just stay with  
selecting the text.

Any thoughts or suggestions ?

Thanks,
Nik



[flexcoders] Memory Leak and SuperImage

2008-11-04 Thread Alexander Baetz
Hi,

i'm new to flex and have the following problem.
When i run my application firefox and IE require nearly 5mb per second 
more memory and run on 100% cpu.

Are there common mistakes i could have made?

The only data i load are images with the help of the super image component.
( 
http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/
 
)

i'm changing this images for mouseover effects and stuff but use allways 
the same.

I hope anybody has an idea what could go wrong.

Greetings,
Alexander



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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

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

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

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



RE: [flexcoders] format code in FB3

2008-11-04 Thread matt wicks
If you use  enterprise ide this will do it ... www.idefactory.com 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: 04 November 2008 10:25
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] format code in FB3

On Tuesday 04 Nov 2008, vuthecuong wrote:
 in eclipse (develop java), I just press ctrl+shift+F to format code.
 So what is the equavalent one in FF3 IDE?

I don't think that feature is in there yet. Have you checked bugs.adobe.com
?

--
Tom Chiverton
Helping to authoritatively envisioneer slick dynamic world-class 24/365
communities





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

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

CONFIDENTIALITY

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

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



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







[flexcoders] Re: Advanced Data Grid with Grouped Columns

2008-11-04 Thread grg_blls
Hi again,

As it seems by another RTE message, there are more ways to crash the 
adg while using Grouped Columns. (The previous posted RTE is thrown 
inconsistently while playing with the vertical scroll bar)
The new RTE is thrown when the canvas container of the adg is 
vertically resized.
Any ideas?
Thank you all for any replies.
George

The new RTE (while resizing the container)

TypeError: Error #1009: Cannot access a property or method of a null 
object reference.
at 
mx.controls::AdvancedDataGridBaseEx/http://www.adobe.com/2006/flex/mx/
internal::getMeasuringRenderer()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2001]
at 
mx.controls::AdvancedDataGridBaseEx/adjustVerticalScrollPositionDownwa
rd()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2541]
at mx.controls::AdvancedDataGridBaseEx/configureScrollBars()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:2416]
at mx.controls.listClasses::AdvancedListBase/updateDisplayList
()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\listClasses\AdvancedListBase.as:3512]
at mx.controls::AdvancedDataGridBaseEx/updateDisplayList()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGridBaseEx.as:1758]
at mx.controls::AdvancedDataGrid/updateDisplayList()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\AdvancedDataGrid.as:5924]
at 
mx.controls.listClasses::AdvancedListBase/validateDisplayList()
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
s\listClasses\AdvancedListBase.as:3071]
at mx.managers::LayoutManager/validateDisplayList()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutMana
ger.as:602]
at mx.managers::LayoutManager/doPhasedInstantiation()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutMana
ger.as:675]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:8460]
at mx.core::UIComponent/callLaterDispatcher()
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
:8403]


The first RTE (while using the vertical scroll bar)
--- In flexcoders@yahoogroups.com, grg_blls [EMAIL PROTECTED] wrote:

 Hi Tom, hi all.
 Thanks for coming back and please excuse me for not including the 
RTE 
 message in the first place.
 Well I have it here now.
 Thanks in advance for any reply
 George
 
 TypeError: Error #1009: Cannot access a property or method of a 
null 
 object reference.
   at 
 
mx.controls::AdvancedDataGridBaseEx/http://www.adobe.com/2006/flex/mx/
 internal::getMeasuringRenderer()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\AdvancedDataGridBaseEx.as:2001]
   at 
 
mx.controls::AdvancedDataGridBaseEx/adjustVerticalScrollPositionDownwa
 rd()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\AdvancedDataGridBaseEx.as:2541]
   at mx.controls::AdvancedDataGridBaseEx/configureScrollBars()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\AdvancedDataGridBaseEx.as:2416]
   at mx.controls.listClasses::AdvancedListBase/set 
 verticalScrollPosition()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\listClasses\AdvancedListBase.as:1198]
   at mx.controls::AdvancedDataGridBaseEx/set 
 verticalScrollPosition()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\AdvancedDataGridBaseEx.as:942]
   at mx.controls::AdvancedDataGrid/set verticalScrollPosition()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\AdvancedDataGrid.as:1149]
   at mx.controls::AdvancedDataGridBaseEx/scrollHandler()
 
[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\control
 s\AdvancedDataGridBaseEx.as:2317]
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at mx.core::UIComponent/dispatchEvent()
 
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as
 :9051]
   at 
 
mx.controls.scrollClasses::ScrollBar/http://www.adobe.com/2006/flex/mx
 /internal::dispatchScrollEvent()
 
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\scrollClas
 ses\ScrollBar.as:1257]
   at mx.controls.scrollClasses::ScrollThumb/mouseMoveHandler()
 
[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\scrollClas
 ses\ScrollThumb.as:219]
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@ 
 wrote:
 
  On Thursday 30 Oct 2008, grg_blls wrote:
   vertical scroll, it always throws a RTE.
  
  Guess: It's your customer editors.
  As this code self-evidently won't run as-is, 

Re: [flexcoders] Re: Panel as an itemrenderer in List ?

2008-11-04 Thread Nik Derewianka

On 05/11/2008, at 4:20 AM, Amy wrote:

 Try this:
 http://flexdiary.blogspot.com/2008/06/using-css-typeselector-with.html

Heh, I don't care that my brain is slightly retarded from working on  
this most of the night - but there is no way I would have found that  
one any time soon.

Many thanks Amy,

Nik


Re: [flexcoders] How to access ADG mx_internal _dropData values: Was -- Identifying which node is the drop target on Grouped ADG

2008-11-04 Thread Adrian Williams
Thanks Alex...this is close but not going to work as is...it provides 
the drop index relative to the currently displayed ADG...so if the first 
2 nodes are closed and the 3 is expanded and the row is dropped into the 
second position of the 3rd node, then the index is 4, which then leaves 
me still clueless on how to identify the node I am in.


In looking through all of the possible datapoints of the ADG, I've found 
what I am looking for but it is in the internal _dropData area...and I 
haven't found any good flex 3 examples out there on how to access the 
internal namespace for the ADGthere's a lot of flex 2 stuff for 
plenty of other container and lists, but not the ADGand it looks 
like the import of the core.mx_internal is no longer needed so am 
wondering about the rest of the manipulations I've found...


So long and short...

How do I access the _dropData internal values?  I've tried the following 
with error:


   var ns:Namespace = mx_internal;
   var dropData:Object = currentSubgroups::ns._dropData;
  
   var subgroupName:String = dropData.parent.GroupLabel;


the error being that my currentSubgroups is the id for my ADG which 
conflicts with my associating it to a namespace. 


Keeping fingers crossed...
Adrian



Alex Harui wrote:


I don't have time to see if ADG overrode this, but for regular DG, you 
could call calculateDropIndex


 

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
*On Behalf Of *Adrian Williams

*Sent:* Monday, November 03, 2008 2:55 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Identifying which node is the drop target on 
Grouped ADG


 


Hi All,

Having a fun one here...I have two ADG's that each have a list of 
individuals, in a hierarchical grouping collection and have drag drop 
enabled between the two ADG's.  Basically the grouped ADG on the left 
shows people grouped by which project they are in...the one of the 
right shows people who haven't been added to any project.  The user is 
allowed to drag a person from the unassigned ADG on the right and drop 
them into a specific group (node) on the left. 

The challenge I am having is identifying the drop target on the 
grouped collection.  Have tried everything from looking at 
event.currentTarget to checking the underlying dataprovider for the 
ADG to even assigning specific listeners to the grouped ADG all to 
no avail.  I can identify the information about the individual being 
moved into the groups via the dataprovider.selectedItem just fine. 

How in the world do I identify which node of the grouped 
collection the person is being dropped into as well as their drop index?


Any help here is appreciated
Adrian

 


Re: [flexcoders] Re: Flex developer and their hourly rate

2008-11-04 Thread César Mendoza
I'm starting to learn Flex. I'll be happy with just $ 20/hour. And I'm
from Argentina.


On Tue, Nov 4, 2008 at 2:40 PM, Rich Rodecker [EMAIL PROTECTED] wrote:
 that's how it goes...you're talking about a much different cost of living
 than say, Arkansas.

 On Tue, Nov 4, 2008 at 6:37 AM, nathanpdaniel [EMAIL PROTECTED] wrote:

 $100/hour Man, I'm gonna have to move to SF! HAHAHA :D

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

 
  That's always a hard question, and mostly depends on a few major
 points:
  location, experience, and additional skill set. SF, and just about
 every
  major city is definitely going to get you a higher rate than say,
 Tennessee.
  How is your portfolio? If you have an impressive body of work
 that will
  also increase your value. On top of that, if your a flex developer
 that is
  highly skilled in additional areas, or have alot of experience
 building
  enterprise-level apps, that will also increase your value.
  All that being said, I don't know :) Though I'd esitmate you're
 going to be
  somewhere around $100/hr.
 
 
 
  On Mon, Nov 3, 2008 at 12:56 PM, hworke [EMAIL PROTECTED] wrote:
 
  
  
   Hi Devs,
  
   I do not have any idea about the market hourly
   rate that a Flex developer with 3 years experience
   charges in San Francisco bay area charges. Can
   someone please give me some idea?
  
   Best regards,
  
  
  
 


 



-- 
Saludos.
César Javier Mendoza.


[flexcoders] UM extensions

2008-11-04 Thread Darrin Kay
Where can I download the swc for just the UM extensions.  I would like to
add them to a app I am working on, that is using cairngorm 2.2.

 

Thanks



Re: [flexcoders] SOLVED - How to access ADG mx_internal _dropData values: Was -- Identifying which node is the drop target on Grouped ADG

2008-11-04 Thread Adrian Williams

I finally figured it out

Here's the solution

   use namespace mx_internal;
   var dropData:Object = 
currentSubgroups.mx_internal::_dropData;
  
   var subgroupName:String = dropData.parent.GroupLabel;


This gives me the label of my parent node which I can then use to write 
the data back to my db.


Wahoo!
Adrian

Adrian Williams wrote:


Thanks Alex...this is close but not going to work as is...it provides 
the drop index relative to the currently displayed ADG...so if the 
first 2 nodes are closed and the 3 is expanded and the row is dropped 
into the second position of the 3rd node, then the index is 4, which 
then leaves me still clueless on how to identify the node I am in.


In looking through all of the possible datapoints of the ADG, I've 
found what I am looking for but it is in the internal _dropData 
area...and I haven't found any good flex 3 examples out there on how 
to access the internal namespace for the ADGthere's a lot of flex 
2 stuff for plenty of other container and lists, but not the 
ADGand it looks like the import of the core.mx_internal is no 
longer needed so am wondering about the rest of the manipulations I've 
found...


So long and short...

How do I access the _dropData internal values?  I've tried the 
following with error:


var ns:Namespace = mx_internal;
var dropData:Object = currentSubgroups::ns._dropData;
   
var subgroupName:String = dropData.parent.GroupLabel;


the error being that my currentSubgroups is the id for my ADG which 
conflicts with my associating it to a namespace. 


Keeping fingers crossed...
Adrian



Alex Harui wrote:

I don't have time to see if ADG overrode this, but for regular DG, 
you could call calculateDropIndex


 

*From:* flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] *On Behalf Of *Adrian Williams

*Sent:* Monday, November 03, 2008 2:55 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Identifying which node is the drop target on 
Grouped ADG


 


Hi All,

Having a fun one here...I have two ADG's that each have a list of 
individuals, in a hierarchical grouping collection and have drag drop 
enabled between the two ADG's.  Basically the grouped ADG on the left 
shows people grouped by which project they are in...the one of the 
right shows people who haven't been added to any project.  The user 
is allowed to drag a person from the unassigned ADG on the right and 
drop them into a specific group (node) on the left. 

The challenge I am having is identifying the drop target on the 
grouped collection.  Have tried everything from looking at 
event.currentTarget to checking the underlying dataprovider for the 
ADG to even assigning specific listeners to the grouped ADG all to 
no avail.  I can identify the information about the individual being 
moved into the groups via the dataprovider.selectedItem just fine. 

How in the world do I identify which node of the grouped 
collection the person is being dropped into as well as their drop index?


Any help here is appreciated
Adrian

 


RE: [flexcoders] Re: how to retrieve sorted subset of an arraycollection?

2008-11-04 Thread Alex Harui
toArray()

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of blc187
Sent: Tuesday, November 04, 2008 9:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: how to retrieve sorted subset of an arraycollection?


What I meant to say is that I am applying a filter, not a sort to the
arraycollection. Applying the filter results in a subset of the items
being shown.

There is an internal property called localIndex that holds just the
filtered items, but I am not sure if there is any way to access or
manipulate this?

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

 Hi,
 I have an arraycollection of about a dozen or so items.
 I am applying a sort to that collection and I usually end up with
 about 3-4 items after the sort is applied.

 Is there a way I can grab just the sorted subset of those 3-4 items
 from that arraycollection?
 If I clone the array or grab the source it includes the entire
 collection instead of just the subset.




RE: [flexcoders] callLater calls from framework / validation after instances are already removed

2008-11-04 Thread Alex Harui
You're probably wrong.  Anything registered with callLater is kept alive by its 
registration.  The call stack indicates that code in your class at line 490 is 
using anull reference.  That could be because you cleaned up something before 
callLater came through.  A simple null check there should solve the problem

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
christian.menzinger
Sent: Tuesday, November 04, 2008 8:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] callLater calls from framework / validation after 
instances are already removed


Hi all,

I have a very special problem:

By selecting an item in my navigation I start rendering my view with several 
display objects (container, components, ...).

Every time I select an other item, I remove all stuff from display list 
(destroying all bindings, remove all listeners, setting everything to null).

If I do very quick changes, after a while I receive null-pointer exceptions in 
different classes in different validation methods (measure / updateDisplayList) 
like

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
at package::ClassName/updateDisplayList()[ClassName.as:490]
at 
mx.core::UIComponent/validateDisplayList()[framework\src\mx\core\UIComponent.as:6293]
at 
mx.managers::LayoutManager/validateDisplayList()[framework\src\mx\managers\LayoutManager.as:605]
at 
mx.managers::LayoutManager/doPhasedInstantiation()[framework\src\mx\managers\LayoutManager.as:660]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at 
mx.core::UIComponent/callLaterDispatcher2()[framework\src\mx\core\UIComponent.as:8565]
at 
mx.core::UIComponent/callLaterDispatcher()[framework\src\mx\core\UIComponent.as:8508]

The exception stack trace starts always by callLaterDispatcher like above.

I think the null-pointer happen because the render engine applies a call later 
for rendering in the next frame, unfortunately I removed the instanced in time 
between and so all my component children are null.

That brings me to the following questions:
- Could it be true that fl! ex forces validation via callLater even if the 
instance is rem! oved? Ho w could this be?
- If so, how can I solve the problem proper (e.g. remove all callLaters in my 
destroy functions - btw: there is a mx_internal function cancelAllCallLaters() 
in UIComponent but that is not working for me - no effect if I call this 
function in my destroy functions)
- Or am I completely wrong and the problem is part of my custom components 
development?

If you have any ideas or solutions which can guide me in the right direction 
would be very cool.

Thanks a lot
Chris



RE: [flexcoders] SWFLoader problems!

2008-11-04 Thread Alex Harui
If the SWF has more than one frame, or draws outside of its reported screen 
size, you can have issues like this.  Once you know how big the SWF is, try 
calling invalidateDisplayList on the SWFLoader.  If that doesn't help, then try 
centering the SWFLoader in some other container

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
tchredeemed
Sent: Tuesday, November 04, 2008 8:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SWFLoader problems!


I have a .swf that I load into my flex app...

like this:

[Embed(source=swfloader.swf)]
[Bindable]
private var swfLoaderAnimation:Class;

mx:SWFLoader id=loader source={swfLoaderAnimation}
horizontalCenter=0 verticalCenter=0 /

---

The problem(s):

1- Sometimes this swfloader is bigger than the actual swf, and if i
scaleX and scaleY to 0.5, it is the appropriate size. Other times,
however, it is the correct size, and scaling it makes it far too
small... This even happens on the same custom component sometimes :(

2- I do not believe that flex actually knows how tall/wide this swf
is, because the horizontalCenter and verticalCenter seem to center the
top left pixel of the swf instead of the entire swf... if I put it
inside of a hbox with a border, and center that, it shows that the swf
runs off the bottom/right edges of the hbox...

Any help? Thanks :)



[flexcoders] Re: Write data to print stream

2008-11-04 Thread andrii_olefirenko
why not to use Printing API?

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

 
   Hi ,
 
 I am developing an AIR application.How can i write data to print
 stream(communicating to local printer /lpt)?...
 
   Thanks in advance.
Abdul Jaleel C





RE: [flexcoders] Anyone come across this bug in opening a new window in air

2008-11-04 Thread Alex Harui
Yeah, if you have an old build of 3.x.  Make sure you're on the latest, and if 
you are, post the whole stacktrace

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
djhatrick
Sent: Tuesday, November 04, 2008 7:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Anyone come across this bug in opening a new window in air


Type Coercion failed: cannot convert
mx.managers::[EMAIL PROTECTED] to mx.managers.ISystemManager2.



RE: [flexcoders] Different Itemrenderer in ComoBox

2008-11-04 Thread Alex Harui
ComboBox doesn't have an itemEditor.  If you want to change the text display 
widget, you have to subclass.

You can attempt to mix itemRenderers by providing a custom subclass of List as 
the dropdown and overriding its createItemRenderer method

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
florian.salihovic
Sent: Tuesday, November 04, 2008 2:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Different Itemrenderer in ComoBox


Is it possible to set an itemrenderer and itemeditor in a ComboBox depending on 
the type of
object which is displayed?

Or do is have to use one renderer for all items and determine in the renderer 
itself how it
should be displayed - same goes for the itemeditor.

Best regards



[flexcoders] Re: Flex developer and their hourly rate

2008-11-04 Thread nathanpdaniel
$100/hour  Man, I'm gonna have to move to SF! HAHAHA :D  

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

 That's always a hard question, and mostly depends on a few major 
points:
  location, experience, and additional skill set. SF, and just about 
every
 major city is definitely going to get you a higher rate than say, 
Tennessee.
  How is your portfolio?  If you have an impressive body of work 
that will
 also increase your value. On top of that, if your a flex developer 
that is
 highly skilled in additional areas, or have alot of experience 
building
 enterprise-level apps, that will also increase your value.
 All that being said, I don't know :) Though I'd esitmate you're 
going to be
 somewhere around $100/hr.
 
 
 
 On Mon, Nov 3, 2008 at 12:56 PM, hworke [EMAIL PROTECTED] wrote:
 
 
 
  Hi Devs,
 
  I do not have any idea about the market hourly
  rate that a Flex developer with 3 years experience
  charges in San Francisco bay area charges. Can
  someone please give me some idea?
 
  Best regards,
 
   
 





[flexcoders] Re: Recursively get all the childreen

2008-11-04 Thread timgerr
I am trying to do something like this:
public function PerformaGetChild(ui:Object):void {
if(ui.childDescriptors.length  0){
for (var i:int = 0; i  ui.childDescriptors.length; 
i++) {
var c:ComponentDescriptor = ui.childDescriptors[i];
var d:Object = c.properties;
PerformaGetChild(d.id);
} 
} else {
trace(ui.id);
}
}  

PerformaGetChild(TileTop);

But it does not work, any ideas?

Thanks,
timgerr


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

 How can I get a list of all the childreen?
 
 mx:Tile id=TileTop width=333 height=197
 mx:Form
   mx:FormItem label=Part 1
   mx:TextInput id=One/
   /mx:FormItem
   mx:FormItem label=Part 2
   mx:TextInput id=two/
   /mx:FormItem
   mx:FormItem label=Part 3
   mx:TextInput id=three/
   /mx:FormItem
 /mx:Form
 /mx:Tile
 
 
 Thanks,
 Timgerr





RE: [flexcoders] Re: adding (none) option to comboboxes

2008-11-04 Thread Alex Harui
Hmm.  What prompted that?

My blog has this post: 
http://blogs.adobe.com/aharui/2008/03/custom_ilists_combobox_prompts.html

Most of my posts I hope are like pre-mixed dough.  It gets you most or all of 
the way there, I think.

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
Sent: Tuesday, November 04, 2008 1:00 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: adding (none) option to comboboxes


Just subclass.

With all humble respect, most developers do not have the time, and sometimes 
the ability, to extend the framework quickly to meet simple requirements like 
this.  I say this only to point out the different perspectives between a flex 
framework engineer and an average or beginner flex developer.  Sure, the power 
of flex is that you can always roll your own; when necessary.  All for that!!!  
The problem though, is that this may be  too much to ask from a developer with 
a deadline.  Before flex, I came from the Microsoft camp.   I absolutely 
appreciate the freedom that flex affords, to extend the framework and/or create 
components from scratch.  But, the built-in properties and styles that flex 
offers is not quite as comprehensive as what I was previously used to.  That 
being said, I'd love to see the best of both worlds in the next generation of! 
flex.  I guess it boils down to the budget and scope of each release of flex.  
Of course, the framework can't account for every possible use-case.  However, 
there are quite a few common functions and styles, that could be considered to 
be included.  I've had to do something like all or none many times with a 
ComboBox.  For a cleanly coded application, I'd much rather just be able to set 
a property, like prompt (but more like reset), instead of adding a sub classed 
control or hacking a solution through the dataProvider.  Just .02 and a pseudo 
rant. :)

-TH

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

 An example of such on my blog

 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim 
 Hoff
 Sent: Monday, November 03, 2008 2:08 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: adding (none) option to comboboxes


 Hi Derrick,

 The ComboBox prompt will not solve your problem here. It only appears
 when the selectedIndex==-1; Unless you want to subclass ComboBox,
 you're going to have to add none to the dataProvider, and implement
 custom logic to account for it. Since you're using the same
 dataProvider elsewhere, I suggest that you use the object utility copy
 function, to make a deep copy of the collection; to be used for the ComboBox 
 with none added.

 -TH

 --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
 Derrick Anderson
 no.way.this.is.in.use@ wrote:
 
  nevermind, i discovered the 'prompt' property :)
 
  On Mon, Nov 3, 2008 at 3:04 PM, Derrick Anderson 
  no.way.this.is.in.use@ wrote:
 
   hi, i know this is probably a simple question- but what's the best
 way of
   adding a (none) label to a combobox. i have a setter for the
 dataprovider
   where I add an option for (None) in the list, but I don't actually
 want it
   in the dataprovider if that makes sense. Basically, I want (None) to
 always
   be a selectable item in comboboxes, but I don't actually want to put
 that
   option in the arraycoll! ection combobox dataprovider. here is the
 setter for  gt;  the combobox dataprovider
  
   public function set segmentList(list:ArrayCollection):void
   {
   _segmentList = list;
   var item:DataSegmentVO = new DataSegmentVO();
   item.dataSegmentID = 0;
   item.dataSegmentName = '(None)';
  
   if(_segmentList[0].dataSegmentID != 0)
   _segmentList.addItemAt(item,0);
  
  
   dispatchEvent(new Event(segmentsChanged));
   }
  
   the problem is that same segmentList arraycollection is used in the
 place I
   manage segments, and it puts a (none) option in there and it doesn't
 make
   sense there.
  
   thanks,
   derrick anderson
  
! ; 




RE: [flexcoders] Re: Recursively get all the childreen

2008-11-04 Thread Alex Harui
If the children are already created, just loop using getChildAt() and 
numChildren

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of timgerr
Sent: Tuesday, November 04, 2008 10:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Recursively get all the childreen


I am trying to do something like this:
public function PerformaGetChild(ui:Object):void {
if(ui.childDescriptors.length  0){
for (var i:int = 0; i  ui.childDescriptors.length; i++) {
var c:ComponentDescriptor = ui.childDescriptors[i];
var d:Object = c.properties;
PerformaGetChild(d.id);
}
} else {
trace(ui.id);
}
}

PerformaGetChild(TileTop);

But it does not work, any ideas?

Thanks,
timgerr

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

 How can I get a list of all the childreen?

 mx:Tile id=TileTop width=333 height=197
 mx:Form
 mx:FormItem label=Part 1
 mx:TextInput id=One/
 /mx:FormItem
 mx:FormItem label=Part 2
 mx:TextInput id=two/
 /mx:FormItem
 mx:FormItem label=Part 3
 mx:TextInput id=three/
 /mx:FormItem
 /mx:Form
 /mx:Tile


 Thanks,
 Timgerr




RE: [flexcoders] Re: Flex developer and their hourly rate

2008-11-04 Thread Tracy Spratt
And understand, this is an independent contractor rate for billable
hours.

 

One rule-of-thumb I have heard is that an independent hourly rate should
be one thousandth of what the annual salary would be for the same level
of developer.

 

For example if an annual salary is 100K per year, then the hourly rate
should be $100 per hour.  I am sure 100K is not an unusual salary for an
experienced developer in SF.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rich Rodecker
Sent: Tuesday, November 04, 2008 11:40 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex developer and their hourly rate

 

that's how it goes...you're talking about a much different cost of
living than say, Arkansas.  

 

On Tue, Nov 4, 2008 at 6:37 AM, nathanpdaniel [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

$100/hour Man, I'm gonna have to move to SF! HAHAHA :D 

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



 That's always a hard question, and mostly depends on a few major 
points:
 location, experience, and additional skill set. SF, and just about 
every
 major city is definitely going to get you a higher rate than say, 
Tennessee.
 How is your portfolio? If you have an impressive body of work 
that will
 also increase your value. On top of that, if your a flex developer 
that is
 highly skilled in additional areas, or have alot of experience 
building
 enterprise-level apps, that will also increase your value.
 All that being said, I don't know :) Though I'd esitmate you're 
going to be
 somewhere around $100/hr.
 
 
 

 On Mon, Nov 3, 2008 at 12:56 PM, hworke [EMAIL PROTECTED] wrote:
 
 
 
  Hi Devs,
 
  I do not have any idea about the market hourly
  rate that a Flex developer with 3 years experience
  charges in San Francisco bay area charges. Can
  someone please give me some idea?
 
  Best regards,
 
  
 


 

 



RE: [flexcoders] Recursively get all the childreen

2008-11-04 Thread Tracy Spratt
descendants()?

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of timgerr
Sent: Tuesday, November 04, 2008 11:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Recursively get all the childreen

 

How can I get a list of all the childreen?

mx:Tile id=TileTop width=333 height=197
mx:Form
mx:FormItem label=Part 1
mx:TextInput id=One/
/mx:FormItem
mx:FormItem label=Part 2
mx:TextInput id=two/
/mx:FormItem
mx:FormItem label=Part 3
mx:TextInput id=three/
/mx:FormItem
/mx:Form
/mx:Tile

Thanks,
Timgerr

 



Re: [flexcoders] Re: Flex developer and their hourly rate

2008-11-04 Thread Vivian Richard
   But should not an independent consultant get more than the
   salary, since he/she does not get and benefits and also the
   employer does not have any obligations like the regular employee?




On Tue, Nov 4, 2008 at 12:14 PM, Tracy Spratt [EMAIL PROTECTED] wrote:
 And understand, this is an independent contractor rate for billable hours.



 One rule-of-thumb I have heard is that an independent hourly rate should be
 one thousandth of what the annual salary would be for the same level of
 developer.



 For example if an annual salary is 100K per year, then the hourly rate
 should be $100 per hour.  I am sure 100K is not an unusual salary for an
 experienced developer in SF.



 Tracy



 

 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Rich Rodecker
 Sent: Tuesday, November 04, 2008 11:40 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Flex developer and their hourly rate



 that's how it goes...you're talking about a much different cost of living
 than say, Arkansas.



 On Tue, Nov 4, 2008 at 6:37 AM, nathanpdaniel [EMAIL PROTECTED] wrote:

 $100/hour Man, I'm gonna have to move to SF! HAHAHA :D

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


 That's always a hard question, and mostly depends on a few major
 points:
 location, experience, and additional skill set. SF, and just about
 every
 major city is definitely going to get you a higher rate than say,
 Tennessee.
 How is your portfolio? If you have an impressive body of work
 that will
 also increase your value. On top of that, if your a flex developer
 that is
 highly skilled in additional areas, or have alot of experience
 building
 enterprise-level apps, that will also increase your value.
 All that being said, I don't know :) Though I'd esitmate you're
 going to be
 somewhere around $100/hr.




 On Mon, Nov 3, 2008 at 12:56 PM, hworke [EMAIL PROTECTED] wrote:

 
 
  Hi Devs,
 
  I do not have any idea about the market hourly
  rate that a Flex developer with 3 years experience
  charges in San Francisco bay area charges. Can
  someone please give me some idea?
 
  Best regards,
 
 
 




 


[flexcoders] my first flex website

2008-11-04 Thread Gustavo Duenas
HI, finally I've done my first flex web siteit is done, or at  
least is that what I think...maybe tomorrow I'll add something else.


please check it at:

http://leftandrightsolutions.com/lrsad/bin/lrsad.html

please don't be so hard in critics, is ok to be criticized but don't  
be offensive.


I hope you like, is not the big deal, but is something that did by  
myself, I thank in advance to all of you who help me out

with your advices.

regards,

Gustavo



Gustavo A. Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS
904.  265 0330 - 904. 386 7958
www.leftandrightsolutions.com
Jacksonville - Florida






RE: [flexcoders] Recursively get all the childreen

2008-11-04 Thread Tracy Spratt
Doh, nevermind, read that entirely wrong.

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Tuesday, November 04, 2008 2:16 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Recursively get all the childreen

 

descendants()?

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of timgerr
Sent: Tuesday, November 04, 2008 11:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Recursively get all the childreen

 

How can I get a list of all the childreen?

mx:Tile id=TileTop width=333 height=197
mx:Form
mx:FormItem label=Part 1
mx:TextInput id=One/
/mx:FormItem
mx:FormItem label=Part 2
mx:TextInput id=two/
/mx:FormItem
mx:FormItem label=Part 3
mx:TextInput id=three/
/mx:FormItem
/mx:Form
/mx:Tile

Thanks,
Timgerr

 



RE: [flexcoders] Re: Flex developer and their hourly rate

2008-11-04 Thread Tracy Spratt
Yes, hello, do the math. ;)

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Vivian Richard
Sent: Tuesday, November 04, 2008 2:05 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex developer and their hourly rate

 

But should not an independent consultant get more than the
salary, since he/she does not get and benefits and also the
employer does not have any obligations like the regular employee?

On Tue, Nov 4, 2008 at 12:14 PM, Tracy Spratt [EMAIL PROTECTED]
mailto:tspratt%40lariatinc.com  wrote:
 And understand, this is an independent contractor rate for billable
hours.



 One rule-of-thumb I have heard is that an independent hourly rate
should be
 one thousandth of what the annual salary would be for the same level
of
 developer.



 For example if an annual salary is 100K per year, then the hourly rate
 should be $100 per hour. I am sure 100K is not an unusual salary for
an
 experienced developer in SF.



 Tracy



 

 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of Rich Rodecker
 Sent: Tuesday, November 04, 2008 11:40 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: Re: [flexcoders] Re: Flex developer and their hourly rate



 that's how it goes...you're talking about a much different cost of
living
 than say, Arkansas.



 On Tue, Nov 4, 2008 at 6:37 AM, nathanpdaniel [EMAIL PROTECTED]
mailto:ndaniel%40bsi-scs.com  wrote:

 $100/hour Man, I'm gonna have to move to SF! HAHAHA :D

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


 That's always a hard question, and mostly depends on a few major
 points:
 location, experience, and additional skill set. SF, and just about
 every
 major city is definitely going to get you a higher rate than say,
 Tennessee.
 How is your portfolio? If you have an impressive body of work
 that will
 also increase your value. On top of that, if your a flex developer
 that is
 highly skilled in additional areas, or have alot of experience
 building
 enterprise-level apps, that will also increase your value.
 All that being said, I don't know :) Though I'd esitmate you're
 going to be
 somewhere around $100/hr.




 On Mon, Nov 3, 2008 at 12:56 PM, hworke [EMAIL PROTECTED] wrote:

 
 
  Hi Devs,
 
  I do not have any idea about the market hourly
  rate that a Flex developer with 3 years experience
  charges in San Francisco bay area charges. Can
  someone please give me some idea?
 
  Best regards,
 
 
 




 

 



[flexcoders] changing displayObject parent dynamically throws error...

2008-11-04 Thread Durres76
Hi, i have a simple test project and the sudo code is below:

application
 panel id=redPanel
   panel id=greenPanel /
 /panel
 button label=Move To Stage click=stage.addChild(greenPanel);/
 button label=Move to Red Panel 
click=redPanel.addChild(greenPanel);/
/application

the idea is to move the 'greenPanel' to and from the stage. I can move 
it from the redPanel and into the stage without any problems but when 
the other button is clicked to move it back from the stage to the 
redPanel i get the error below. does anyone have an idea as to what 
might be causing this error.

ERROR: supplied displayobject must be a child of the caller



re: [flexcoders] my first flex website

2008-11-04 Thread wkolcz
Interesting. They only thing I have to critique is that the 'contact us' is 
difficult to read on the background image. Other than that, not too shabby for 
the first time :-D


From: Gustavo Duenas [EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 11:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] my first flex website 

HI, finally I've done my first flex web siteit is done, or at least is that 
what I think...maybe tomorrow I'll add something else.
please check it at:
http://leftandrightsolutions.com/lrsad/bin/lrsad.html
please don't be so hard in critics, is ok to be criticized but don't be 
offensive.
I hope you like, is not the big deal, but is something that did by myself, I 
thank in advance to all of you who help me out with your advices.
regards,
Gustavo

Gustavo A. DuenasCreative DirectorLEFT AND RIGHT SOLUTIONS904.  265 0330 - 904. 
386 7958www.leftandrightsolutions.comJacksonville - Florida





Re: [flexcoders] my first flex website

2008-11-04 Thread Blair Cox
Hi, sorry doesn¹t fit on my screen and I cannot scroll down. Mac OSX 10.4,
Firefox 3.03 17² screen, 1440x960 res. Looks good at the top ;)

-- 
Blair 





From: Gustavo Duenas [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
Date: Tue, 4 Nov 2008 14:06:12 -0500
To: flexcoders@yahoogroups.com
Subject: [flexcoders] my first flex website

 
 

HI, finally I've done my first flex web siteit is done, or at least is
that what I think...maybe tomorrow I'll add something else.

please check it at:

http://leftandrightsolutions.com/lrsad/bin/lrsad.html

please don't be so hard in critics, is ok to be criticized but don't be
offensive.

I hope you like, is not the big deal, but is something that did by myself, I
thank in advance to all of you who help me out 
with your advices.

regards,

Gustavo



Gustavo A. Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS
904.  265 0330 - 904. 386 7958
www.leftandrightsolutions.com
Jacksonville - Florida




Re: [flexcoders] Re: Getting all the fired events in flex application.

2008-11-04 Thread Paul Andrews
Here's a quick example. Every ten seconds the application checks to see if 
the button has been  pressed. If it hasn't it times the application out. It 
takes at least ten seconds of non clicking for a timeout to occur and may 
take up to 20 seconds to trigger the timeout. This is a simple scheme - for 
more exact timing the timer period could be reduced and the boolean replaced 
by a timestamp. The timer would then check against the timestamp and would 
be more accurate - if (timenow - timeOfLastClick)  timeoutPeriod ) { 
timeout the session } .

Paul

?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical 
applicationComplete=init()

mx:Script

![CDATA[

private var timer:Timer;

private var clicked:Boolean;

[Bindable]

private var checkedCount:uint;


private function init():void{

timer = new Timer(1);

clicked = false;

checkedCount =0;

timer.addEventListener(TimerEvent.TIMER, checkTimeout);

timer.start();

}


private function checkTimeout(event:Event):void {

if (clicked){

clicked = false;

checkedCount++;

} else {

currentState = timeout;

timer.removeEventListener(TimerEvent.TIMER,checkTimeout);

timer = null;

}

}

]]

/mx:Scriptmx:states

mx:State name=timeout

mx:AddChild

mx:Label text=TIMED OUT /

/mx:AddChild

mx:RemoveChild target={button} /

mx:RemoveChild target={lab1} /

mx:RemoveChild target={lab2} /

/mx:State

/mx:states

mx:Label id=lab1 text=Press click every ten seconds or so, or risk 
timeout /

mx:Button id=button label=CLICK ME SOON click=clicked=true /

mx:Text id=lab2 text={checkedCount} /

/mx:Application



Re: [flexcoders] Getting the selected text from HTML control

2008-11-04 Thread Tom Chiverton
On Monday 03 Nov 2008, b_alen wrote:
 option. Is it possible to achieve the same by clicking on any button
 and copy the selection to clipboard?

Have you checked the live docs for the clipboard-related objects ?

-- 
Tom Chiverton
Helping to heterogeneously develop bleeding-edge cutting-edge turn-key 
internet experiences





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

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

CONFIDENTIALITY

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

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



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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

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

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

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: {Disarmed} [flexcoders] Using Flex for Webcast site

2008-11-04 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
I am currently upgrading one of my webcasting sites to use Flex and
Adobe Air. Currently it was wrote with Flash 8 and Flash Communication
Server and I will be moving to Flex and Flash Media Server or Red5.
Basically you will need two flex applications which could be modules
or stages. The first one would be the broadcasting location and the
second one would be the listening location. Then you connect to a
Stream and you are off and running.

candysmate wrote:

 Does anyone have experiences with using Flex as a client for
 webcasting, or know on any resouces I can refer to please?

 
 --
 This message has been scanned for viruses and
 dangerous content by *MailScanner* http://www.mailscanner.info/,
 and is
 believed to be clean. !-- #ygrp-mkp{ border: 1px solid #d8d8d8;
 font-family: Arial; margin: 14px 0px; padding: 0px 14px; } #ygrp-mkp
 hr{ border: 1px solid #d8d8d8; } #ygrp-mkp #hd{ color: #628c2a;
 font-size: 85%; font-weight: bold; line-height: 122%; margin: 10px
 0px; } #ygrp-mkp #ads{ margin-bottom: 10px; } #ygrp-mkp .ad{
 padding: 0 0; } #ygrp-mkp .ad a{ color: #ff; text-decoration:
 none; } -- !-- #ygrp-sponsor #ygrp-lc{ font-family: Arial; }
 #ygrp-sponsor #ygrp-lc #hd{ margin: 10px 0px; font-weight: bold;
 font-size: 78%; line-height: 122%; } #ygrp-sponsor #ygrp-lc .ad{
 margin-bottom: 10px; padding: 0 0; } -- !-- #ygrp-mlmsg
 {font-size:13px; font-family:
 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}
 #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select,
 input, textarea {font:99% arial,helvetica,clean,sans-serif;}
 #ygrp-mlmsg pre, code {font:115% monospace;*font-size:100%;}
 #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:
 Georgia; } #ygrp-text p{ margin: 0 0 1em 0; } #ygrp-tpmsgs{
 font-family: Arial; clear: both; } #ygrp-vitnav{ padding-top: 10px;
 font-family: Verdana; font-size: 77%; margin: 0; } #ygrp-vitnav a{
 padding: 0 1px; } #ygrp-actbar{ clear: both; margin: 25px 0;
 white-space:nowrap; color: #666; text-align: right; } #ygrp-actbar
 .left{ float: left; white-space:nowrap; } .bld{font-weight:bold;}
 #ygrp-grft{ font-family: Verdana; font-size: 77%; padding: 15px 0; }
 #ygrp-ft{ font-family: verdana; font-size: 77%; border-top: 1px
 solid #666; padding: 5px 0; } #ygrp-mlmsg #logo{ padding-bottom:
 10px; } #ygrp-reco { margin-bottom: 20px; padding: 0px; } #ygrp-reco
 #reco-head { font-weight: bold; color: #ff7900; } #reco-grpname{
 font-weight: bold; margin-top: 10px; } #reco-category{ font-size:
 77%; } #reco-desc{ font-size: 77%; } #ygrp-vital{ background-color:
 #e0ecee; margin-bottom: 20px; padding: 2px 0 8px 8px; } #ygrp-vital
 #vithd{ font-size: 77%; font-family: Verdana; font-weight: bold;
 color: #333; text-transform: uppercase; } #ygrp-vital ul{ padding:
 0; margin: 2px 0; } #ygrp-vital ul li{ list-style-type: none; clear:
 both; border: 1px solid #e0ecee; } #ygrp-vital ul li .ct{
 font-weight: bold; color: #ff7900; float: right; width: 2em;
 text-align:right; padding-right: .5em; } #ygrp-vital ul li .cat{
 font-weight: bold; } #ygrp-vital a{ text-decoration: none; }
 #ygrp-vital a:hover{ text-decoration: underline; } #ygrp-sponsor
 #hd{ color: #999; font-size: 77%; } #ygrp-sponsor #ov{ padding: 6px
 13px; background-color: #e0ecee; margin-bottom: 20px; }
 #ygrp-sponsor #ov ul{ padding: 0 0 0 8px; margin: 0; } #ygrp-sponsor
 #ov li{ list-style-type: square; padding: 6px 0; font-size: 77%; }
 #ygrp-sponsor #ov li a{ text-decoration: none; font-size: 130%; }
 #ygrp-sponsor #nc{ background-color: #eee; margin-bottom: 20px;
 padding: 0 8px; } #ygrp-sponsor .ad{ padding: 8px 0; } #ygrp-sponsor
 .ad #hd1{ font-family: Arial; font-weight: bold; color: #628c2a;
 font-size: 100%; line-height: 122%; } #ygrp-sponsor .ad a{
 text-decoration: none; } #ygrp-sponsor .ad a:hover{ text-decoration:
 underline; } #ygrp-sponsor .ad p{ margin: 0; } o{font-size: 0; }
 .MsoNormal{ margin: 0 0 0 0; } #ygrp-text tt{ font-size: 120%; }
 blockquote{margin: 0 0 0 4px;} .replbq{margin:4} --

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFJED8t3GqPAgBSy90RAmIuAJ0VblRyBIr86qDKEQx1u4k3uuv47wCfU07o
FmVOi0l5D4leEb8uOwaW3gw=
=p9lB
-END PGP SIGNATURE-



[flexcoders] itemRenderer optimization: replacing VBoxes containing Buttons?

2008-11-04 Thread Thierry Thelliez
Hello,

I have implemented my first FLEX page! But I am having performance
problems when my AdvancedDataGrid contains a larger number of rows and
columns.

I am trying to generate some sort of Gantt Chart, with the difference
that the cells are drawn vertically. Each cell contains a dynamic
number of buttons. And each buttons have a dynamic height representing
some data (like a bar chart). Each button links to a different URL to
drill down the data (in a separate page). This also means that the
rows height is dynamic.

My first (naive) implementation used an itemRenderer implemented in
MXML with a VBox and some dynamically generated Buttons. It works
great with few rows and columns. But with real data (~ 20 rows and ~
50 columns) the whole page is too slow. In average, there is about 200
buttons to be generated. Many cells are empty, while some contains one
or more buttons.

I read the canvas should be avoided
(http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html).

What should I do in my case? Do I need to manually draw some
rectangles and catch click events?


Thanks,
Thierry



[flexcoders] Re: adding (none) option to comboboxes

2008-11-04 Thread Tim Hoff

Just subclass.

With all humble respect, most developers do not have the time, and
sometimes the ability, to extend the framework quickly to meet simple
requirements like this.  I say this only to point out the different
perspectives between a flex framework engineer and an average or
beginner flex developer.  Sure, the power of flex is that you can always
roll your own; when necessary.  All for that!!!  The problem though, is
that this may be  too much to ask from a developer with a deadline. 
Before flex, I came from the Microsoft camp.   I absolutely appreciate
the freedom that flex affords, to extend the framework and/or create
components from scratch.  But, the built-in properties and styles that
flex offers is not quite as comprehensive as what I was previously used
to.  That being said, I'd love to see the best of both worlds in the
next generation of flex.  I guess it boils down to the budget and scope
of each release of flex.  Of course, the framework can't account for
every possible use-case.  However, there are quite a few common
functions and styles, that could be considered to be included.  I've had
to do something like all or none many times with a ComboBox.  For a
cleanly coded application, I'd much rather just be able to set a
property, like prompt (but more like reset), instead of adding a sub
classed control or hacking a solution through the dataProvider.  Just
.02 and a pseudo rant. :)

-TH


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

 An example of such on my blog

 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Tim Hoff
 Sent: Monday, November 03, 2008 2:08 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: adding (none) option to comboboxes


 Hi Derrick,

 The ComboBox prompt will not solve your problem here. It only appears
 when the selectedIndex==-1; Unless you want to subclass ComboBox,
 you're going to have to add none to the dataProvider, and implement
 custom logic to account for it. Since you're using the same
 dataProvider elsewhere, I suggest that you use the object utility copy
 function, to make a deep copy of the collection; to be used for the
 ComboBox with none added.

 -TH

 --- In
flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com,
Derrick Anderson
 no.way.this.is.in.use@ wrote:
 
  nevermind, i discovered the 'prompt' property :)
 
  On Mon, Nov 3, 2008 at 3:04 PM, Derrick Anderson 
  no.way.this.is.in.use@ wrote:
 
   hi, i know this is probably a simple question- but what's the best
 way of
   adding a (none) label to a combobox. i have a setter for the
 dataprovider
   where I add an option for (None) in the list, but I don't actually
 want it
   in the dataprovider if that makes sense. Basically, I want (None)
to
 always
   be a selectable item in comboboxes, but I don't actually want to
put
 that
   option in the arraycollection combobox dataprovider. here is the
 setter for
   the combobox dataprovider
  
   public function set segmentList(list:ArrayCollection):void
   {
   _segmentList = list;
   var item:DataSegmentVO = new DataSegmentVO();
   item.dataSegmentID = 0;
   item.dataSegmentName = '(None)';
  
   if(_segmentList[0].dataSegmentID != 0)
   _segmentList.addItemAt(item,0);
  
  
   dispatchEvent(new Event(segmentsChanged));
   }
  
   the problem is that same segmentList arraycollection is used in
the
 place I
   manage segments, and it puts a (none) option in there and it
doesn't
 make
   sense there.
  
   thanks,
   derrick anderson
  
 





[flexcoders] Re: adding (none) option to comboboxes

2008-11-04 Thread Tim Hoff

Yeah, it wasn't personal Alex.  I guess I just felt like giving some
commentary/feedback from the developer point of view.  Sorry if it was
taken the wrong way.

-TH

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

 Hmm. What prompted that?

 My blog has this post:
http://blogs.adobe.com/aharui/2008/03/custom_ilists_combobox_prompts.htm\
l

 Most of my posts I hope are like pre-mixed dough. It gets you most or
all of the way there, I think.

 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Tim Hoff
 Sent: Tuesday, November 04, 2008 1:00 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: adding (none) option to comboboxes


 Just subclass.

 With all humble respect, most developers do not have the time, and
sometimes the ability, to extend the framework quickly to meet simple
requirements like this. I say this only to point out the different
perspectives between a flex framework engineer and an average or
beginner flex developer. Sure, the power of flex is that you can always
roll your own; when necessary. All for that!!! The problem though, is
that this may be too much to ask from a developer with a deadline.
Before flex, I came from the Microsoft camp. I absolutely appreciate the
freedom that flex affords, to extend the framework and/or create
components from scratch. But, the built-in properties and styles that
flex offers is not quite as comprehensive as what I was previously used
to. That being said, I'd love to see the best of both worlds in the next
generation of! flex. I guess it boils down to the budget and scope of
each release of flex. Of course, the framework can't account for every
possible use-case. However, there are quite a few common functions and
styles, that could be considered to be included. I've had to do
something like all or none many times with a ComboBox. For a cleanly
coded application, I'd much rather just be able to set a property, like
prompt (but more like reset), instead of adding a sub classed control or
hacking a solution through the dataProvider. Just .02 and a pseudo rant.
:)

 -TH

 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
 
  An example of such on my blog
 
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Tim Hoff
  Sent: Monday, November 03, 2008 2:08 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: adding (none) option to comboboxes
 
 
  Hi Derrick,
 
  The ComboBox prompt will not solve your problem here. It only
appears
  when the selectedIndex==-1; Unless you want to subclass ComboBox,
  you're going to have to add none to the dataProvider, and
implement
  custom logic to account for it. Since you're using the same
  dataProvider elsewhere, I suggest that you use the object utility
copy
  function, to make a deep copy of the collection; to be used for the
ComboBox with none added.
 
  -TH
 
  --- In
flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com,
Derrick Anderson
  no.way.this.is.in.use@ wrote:
  
   nevermind, i discovered the 'prompt' property :)
  
   On Mon, Nov 3, 2008 at 3:04 PM, Derrick Anderson 
   no.way.this.is.in.use@ wrote:
  
hi, i know this is probably a simple question- but what's the
best
  way of
adding a (none) label to a combobox. i have a setter for the
  dataprovider
where I add an option for (None) in the list, but I don't
actually
  want it
in the dataprovider if that makes sense. Basically, I want
(None) to
  always
be a selectable item in comboboxes, but I don't actually want to
put
  that
option in the arraycoll! ection combobox dataprovider. here is
the
  setter for  gt;  the combobox dataprovider
   
public function set segmentList(list:ArrayCollection):void
{
_segmentList = list;
var item:DataSegmentVO = new DataSegmentVO();
item.dataSegmentID = 0;
item.dataSegmentName = '(None)';
   
if(_segmentList[0].dataSegmentID != 0)
_segmentList.addItemAt(item,0);
   
   
dispatchEvent(new Event(segmentsChanged));
}
   
the problem is that same segmentList arraycollection is used in
the
  place I
manage segments, and it puts a (none) option in there and it
doesn't
  make
sense there.
   
thanks,
derrick anderson
   
 ! ; 
 






[flexcoders] Re: Compare text and highlight the differences

2008-11-04 Thread valdhor
I would search for a Diff algorithm (There is a wikipedia entry at
http://en.wikipedia.org/wiki/Diff) and either try to implement it in
Flex or send the texts to a backend Diff processor and just display
the results (There are a lot of scripts available in multiple
languages so I see no point in re-inventing the wheel in Flex -
unless, of course, you want to)

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

 Hello,
 
 We're trying to do a text comparision between 2 paragraphs and highlight
 only the words that are different in the paragraphs.  How we are
trying to
 accomplish this is by comparing the words from paragraph 1 to those in
 paragraph 2, keeping track of the matches as in a matrix, then use the
 sentence with the highest matches as the base sentence, then
highlight the
 remaining words in that sentence in paragraph 2.  This method seems
to be
 cumbersome and not working properly at the moment.
 
 Any other suggestions how or has anyone seen a sample to do this?
 
 Thank you.





[flexcoders] Write data to print stream

2008-11-04 Thread Jackson

  Hi ,

I am developing an AIR application.How can i write data to print
stream(communicating to local printer /lpt)?...

  Thanks in advance.
   Abdul Jaleel C



[flexcoders] Re: error border on custom itemRenderer

2008-11-04 Thread Amy
--- In flexcoders@yahoogroups.com, Glenn Jones [EMAIL PROTECTED] 
wrote:

 I'm having a problem with red borders drawn around a cell in the 
DataGrid.
 
 I have a custom itemRenderer which extends HBox and impements
 IDropInListItenRenderer
 
 In the set data() method, I set errorString based on conditions in 
the data.
 The errorString is either set to null or a non-blank string.
 In the same set data() method, I also call the super class
 invalidateProperties and invalidateDisplayList methods.
 
 For reasons, I don't understand teh parent HBox class does not draw 
the
 border when the borderColor is set to errorColor. So I modified
 the updateDisplayList() method of my custom renderer to say - if (
 getStyle(borderColor) == getStyle(errorColor) ) then draw a 
border
 myself using the errorColor (defaults to red).
 
 So far so good.
 
 But I have two problem symptoms:
 
 1. If I correct the error in the underlying data, the red border 
remains
 around the cell even though I've verified that my code is NOT 
drawing
 it, and the borderColor style is no longer red
 
 2. If I start scrolling around in the grid, other cells without 
errors are
 getting a red border.
 
 I understand that the grid recycles instances of itemRenderers for
 performance reasons, so I suspect that fixing root cause of #1 will 
fix #2.
 But I'm at a loss as to what to do about #1.

Probably the simplest way to handle this is when you set data() if 
your error string is  then you call graphics.clear() and 
invalidateDisplayList().

HTH;

Amy



Re: [flexcoders] Re: Flex developer and their hourly rate

2008-11-04 Thread Vivian Richard
   OOPS, :-)



On Tue, Nov 4, 2008 at 12:23 PM, Tracy Spratt [EMAIL PROTECTED] wrote:
 Yes, hello, do the math. ;)

 Tracy



 

 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Vivian Richard
 Sent: Tuesday, November 04, 2008 2:05 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Flex developer and their hourly rate



 But should not an independent consultant get more than the
 salary, since he/she does not get and benefits and also the
 employer does not have any obligations like the regular employee?

 On Tue, Nov 4, 2008 at 12:14 PM, Tracy Spratt [EMAIL PROTECTED] wrote:
 And understand, this is an independent contractor rate for billable hours.



 One rule-of-thumb I have heard is that an independent hourly rate should
 be
 one thousandth of what the annual salary would be for the same level of
 developer.



 For example if an annual salary is 100K per year, then the hourly rate
 should be $100 per hour. I am sure 100K is not an unusual salary for an
 experienced developer in SF.



 Tracy



 

 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Rich Rodecker
 Sent: Tuesday, November 04, 2008 11:40 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Flex developer and their hourly rate



 that's how it goes...you're talking about a much different cost of living
 than say, Arkansas.



 On Tue, Nov 4, 2008 at 6:37 AM, nathanpdaniel [EMAIL PROTECTED] wrote:

 $100/hour Man, I'm gonna have to move to SF! HAHAHA :D

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


 That's always a hard question, and mostly depends on a few major
 points:
 location, experience, and additional skill set. SF, and just about
 every
 major city is definitely going to get you a higher rate than say,
 Tennessee.
 How is your portfolio? If you have an impressive body of work
 that will
 also increase your value. On top of that, if your a flex developer
 that is
 highly skilled in additional areas, or have alot of experience
 building
 enterprise-level apps, that will also increase your value.
 All that being said, I don't know :) Though I'd esitmate you're
 going to be
 somewhere around $100/hr.




 On Mon, Nov 3, 2008 at 12:56 PM, hworke [EMAIL PROTECTED] wrote:

 
 
  Hi Devs,
 
  I do not have any idea about the market hourly
  rate that a Flex developer with 3 years experience
  charges in San Francisco bay area charges. Can
  someone please give me some idea?
 
  Best regards,
 
 
 






 


[flexcoders] Re: my first flex website

2008-11-04 Thread florian.salihovic
Sorry, imho it's hard to believe that this website is used to present yourself 
on the market.
- pictures simply appear randomly... load first the content, then show it.
- pictures aren't antialiased, the pictures in pricing don't look nice.
- pictures and icons don't work well together (simple gradients, 3d icons... ), 
the visual 
impression is not that nice since the colors don't work.
- i miss the concept of the site

Sorry, just my opinion...

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

 HI, finally I've done my first flex web siteit is done, or at  
 least is that what I think...maybe tomorrow I'll add something else.
 
 please check it at:
 
 http://leftandrightsolutions.com/lrsad/bin/lrsad.html
 
 please don't be so hard in critics, is ok to be criticized but don't  
 be offensive.
 
 I hope you like, is not the big deal, but is something that did by  
 myself, I thank in advance to all of you who help me out
 with your advices.
 
 regards,
 
 Gustavo
 
 
 
 Gustavo A. Duenas
 Creative Director
 LEFT AND RIGHT SOLUTIONS
 904.  265 0330 - 904. 386 7958
 www.leftandrightsolutions.com
 Jacksonville - Florida






RE: [flexcoders] itemRenderer optimization: replacing VBoxes containing Buttons?

2008-11-04 Thread Alex Harui
I would use UIComponent instead of VBox and create and layout your Buttons 
using custom code.  200 buttons should be ok.  You're probably being killed by 
the overhead of containers thinking about all of those Buttons.  With 
UIComponent you'll have to write a bit more code, but only the code you need, 
so it should be faster.  See ListItemRenderer.as for example of 
UIComponent-based renderer

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thierry 
Thelliez
Sent: Tuesday, November 04, 2008 11:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] itemRenderer optimization: replacing VBoxes containing 
Buttons?


Hello,

I have implemented my first FLEX page! But I am having performance
problems when my AdvancedDataGrid contains a larger number of rows and
columns.

I am trying to generate some sort of Gantt Chart, with the difference
that the cells are drawn vertically. Each cell contains a dynamic
number of buttons. And each buttons have a dynamic height representing
some data (like a bar chart). Each button links to a different URL to
drill down the data (in a separate page). This also means that the
rows height is dynamic.

My first (naive) implementation used an itemRenderer implemented in
MXML with a VBox and some dynamically generated Buttons. It works
great with few rows and columns. But with real data (~ 20 rows and ~
50 columns) the whole page is too slow. In average, there is about 200
buttons to be generated. Many cells are empty, while some contains one
or more buttons.

I read the canvas should be avoided
(http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html).

What should I do in my case? Do I need to manually draw some
rectangles and catch click events?

Thanks,
Thierry



Re: [flexcoders] Re: my first flex website

2008-11-04 Thread Brendan Meutzner
Design/purpose/intent aside, for a first crack at Flex this isn't so bad.
 You've used a good number of the components/effects/etc... available, and
the content loads/displays well.
Beyond the technical aspect, I agree with Florian on the fact that it's a
bit overwhelming with colors and layout.  I'm of the opinion that Flex is
not the solution of choice for traditional sites like this... did it offer
any advantages of traditional HTML or Flash?  If this was a learning
experience then take it as such and go from here, but I wouldn't use it as
your corporate image... IMHO.


Brendan


On Tue, Nov 4, 2008 at 1:30 PM, florian.salihovic 
[EMAIL PROTECTED] wrote:

   Sorry, imho it's hard to believe that this website is used to present
 yourself on the market.
 - pictures simply appear randomly... load first the content, then show it.
 - pictures aren't antialiased, the pictures in pricing don't look nice.
 - pictures and icons don't work well together (simple gradients, 3d
 icons... ), the visual
 impression is not that nice since the colors don't work.
 - i miss the concept of the site

 Sorry, just my opinion...


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Gustavo
 Duenas [EMAIL PROTECTED] wrote:
 
  HI, finally I've done my first flex web siteit is done, or at
  least is that what I think...maybe tomorrow I'll add something else.
 
  please check it at:
 
  http://leftandrightsolutions.com/lrsad/bin/lrsad.html
 
  please don't be so hard in critics, is ok to be criticized but don't
  be offensive.
 
  I hope you like, is not the big deal, but is something that did by
  myself, I thank in advance to all of you who help me out
  with your advices.
 
  regards,
 
  Gustavo
 
 
 
  Gustavo A. Duenas
  Creative Director
  LEFT AND RIGHT SOLUTIONS
  904. 265 0330 - 904. 386 7958
  www.leftandrightsolutions.com
  Jacksonville - Florida
 

  




-- 
Brendan Meutzner
http://www.meutzner.com/blog/


Re: [flexcoders] format code in FB3

2008-11-04 Thread Tom Chiverton
On Tuesday 04 Nov 2008, vuthecuong wrote:
 in eclipse (develop java), I just press ctrl+shift+F to format code.
 So what is the equavalent one in FF3 IDE?

I don't think that feature is in there yet. Have you checked bugs.adobe.com ?

-- 
Tom Chiverton
Helping to authoritatively envisioneer slick dynamic world-class 24/365 
communities





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

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

CONFIDENTIALITY

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

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



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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

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

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

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [flexcoders] Re: my first flex website

2008-11-04 Thread wkolcz
I too agree that Flex is probably not the best choice for an information type 
site. I am using it to develop working applications for clients/work that 
stress less information and more functionality. Using Flex as a Flash-based web 
application platform is probably the better way to go and leave the fluff-sites 
to HTML or Flash.


From: Brendan Meutzner [EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 11:49 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: my first flex website 

Design/purpose/intent aside, for a first crack at Flex this isn't so bad.  
You've used a good number of the components/effects/etc... available, and the 
content loads/displays well.  
Beyond the technical aspect, I agree with Florian on the fact that it's a bit 
overwhelming with colors and layout.  I'm of the opinion that Flex is not the 
solution of choice for traditional sites like this... did it offer any 
advantages of traditional HTML or Flash?  If this was a learning experience 
then take it as such and go from here, but I wouldn't use it as your corporate 
image... IMHO.

Brendan 

On Tue, Nov 4, 2008 at 1:30 PM, florian.salihovic [EMAIL PROTECTED] wrote:

Sorry, imho it's hard to believe that this website is used to present yourself 
on the market.

- pictures simply appear randomly... load first the content, then show it.

- pictures aren't antialiased, the pictures in pricing don't look nice.

- pictures and icons don't work well together (simple gradients, 3d icons... ), 
the visual 

impression is not that nice since the colors don't work.

- i miss the concept of the site

Sorry, just my opinion...

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



 HI, finally I've done my first flex web siteit is done, or at  

 least is that what I think...maybe tomorrow I'll add something else.

 

 please check it at:

 

 http://leftandrightsolutions.com/lrsad/bin/lrsad.html

 

 please don't be so hard in critics, is ok to be criticized but don't  

 be offensive.

 

 I hope you like, is not the big deal, but is something that did by  

 myself, I thank in advance to all of you who help me out

 with your advices.

 

 regards,

 

 Gustavo

 

 

 

 Gustavo A. Duenas

 Creative Director

 LEFT AND RIGHT SOLUTIONS

 904.  265 0330 - 904. 386 7958

 www.leftandrightsolutions.com

 Jacksonville - Florida



-- 
Brendan Meutzner
http://www.meutzner.com/blog/





[flexcoders] Re: Recursively get all the childreen

2008-11-04 Thread valdhor
Like this?:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
 creationComplete=onComplete()
 mx:Script
 ![CDATA[
 import mx.events.FlexEvent;

 private function onComplete():void
 {
 PerformaGetChild(TileTop);
 }

 public function PerformaGetChild(ui:*):void
 {
 try
 {
 var uiChildren:Array = ui.getChildren();
 for (var i:int = 0; i  uiChildren.length; i++)
 {
 PerformaGetChild(uiChildren[i]);
 }
 trace(ui.id);
 }
 catch (err:Error)
 {
 //TextInput does not have a getChildren method so
catch here
 trace(ui.id);
 }
 }
 ]]
 /mx:Script
 mx:Tile id=TileTop width=333 height=197
 mx:Form id=myForm
 mx:FormItem id=FormItem1 label=Part 1
 mx:TextInput id=TextInputItem1/
 /mx:FormItem
 mx:FormItem id=FormItem2 label=Part 2
 mx:TextInput id=TextInputItem2/
 /mx:FormItem
 mx:FormItem id=FormItem3 label=Part 3
 mx:TextInput id=TextInputItem3/
 /mx:FormItem
 /mx:Form
 /mx:Tile
/mx:Application


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

 How can I get a list of all the childreen?

 mx:Tile id=TileTop width=333 height=197
 mx:Form
  mx:FormItem label=Part 1
   mx:TextInput id=One/
  /mx:FormItem
  mx:FormItem label=Part 2
   mx:TextInput id=two/
  /mx:FormItem
  mx:FormItem label=Part 3
   mx:TextInput id=three/
  /mx:FormItem
 /mx:Form
 /mx:Tile


 Thanks,
 Timgerr




[flexcoders] Re: Recursively get all the childreen

2008-11-04 Thread valdhor
Like This?:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
 creationComplete=onComplete()
 mx:Script
 ![CDATA[
 private function onComplete():void
 {
 PerformaGetChild(TileTop);
 }

 public function PerformaGetChild(ui:*):void
 {
 try
 {
 var uiChildren:Array = ui.getChildren();
 for (var i:int = 0; i  uiChildren.length; i++)
 {
 PerformaGetChild(uiChildren[i]);
 }
 trace(ui.id);
 }
 catch (err:Error)
 {
 //TextInput does not have a getChildren method so
catch here
 trace(ui.id);
 }
 }
 ]]
 /mx:Script
 mx:Tile id=TileTop width=333 height=197
 mx:Form id=myForm
 mx:FormItem id=FormItem1 label=Part 1
 mx:TextInput id=TextInputItem1/
 /mx:FormItem
 mx:FormItem id=FormItem2 label=Part 2
 mx:TextInput id=TextInputItem2/
 /mx:FormItem
 mx:FormItem id=FormItem3 label=Part 3
 mx:TextInput id=TextInputItem3/
 /mx:FormItem
 /mx:Form
 /mx:Tile
/mx:Application

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

 How can I get a list of all the childreen?

 mx:Tile id=TileTop width=333 height=197
 mx:Form
  mx:FormItem label=Part 1
   mx:TextInput id=One/
  /mx:FormItem
  mx:FormItem label=Part 2
   mx:TextInput id=two/
  /mx:FormItem
  mx:FormItem label=Part 3
   mx:TextInput id=three/
  /mx:FormItem
 /mx:Form
 /mx:Tile


 Thanks,
 Timgerr




[flexcoders] Re: my first flex website

2008-11-04 Thread valdhor
Gustavo

Found a bug:
Clicked on Porfolio at the bottom and then on the right scroll
arrow. This gives an error:

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at lrsAd/openWindow()
at lrsAd/__myPortaFolio_click()


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

 HI, finally I've done my first flex web siteit is done, or at  
 least is that what I think...maybe tomorrow I'll add something else.
 
 please check it at:
 
 http://leftandrightsolutions.com/lrsad/bin/lrsad.html
 
 please don't be so hard in critics, is ok to be criticized but don't  
 be offensive.
 
 I hope you like, is not the big deal, but is something that did by  
 myself, I thank in advance to all of you who help me out
 with your advices.
 
 regards,
 
 Gustavo
 
 
 
 Gustavo A. Duenas
 Creative Director
 LEFT AND RIGHT SOLUTIONS
 904.  265 0330 - 904. 386 7958
 www.leftandrightsolutions.com
 Jacksonville - Florida





[flexcoders] Re: Using an IFrame in an MDIWindow

2008-11-04 Thread lynnkuh
I also have an IFrame.js class I call in the index.template.html file
and here's the code for the ExternalInterface:

?xml version=1.0 encoding=utf-8?
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml;
   resize=callLater(moveIFrame)
move=callLater(moveIFrame)
   
mx:Script
![CDATA[

import flash.external.ExternalInterface;
import flash.geom.Point;
import flash.net.navigateToURL;

private var __source: String;

private function moveIFrame(): void {

var localPt:Point = new Point(10, 10);
var globalPt:Point = this.localToGlobal(localPt);
ExternalInterface.call(moveIFrame, globalPt.x,
globalPt.y, this.width, this.height);
}

public function set source(source: String): void {
if (source) {

   // if (! ExternalInterface.available)
   // {
   //   // TODO: determine if this Error is actually
needed.  The debugger 
   //   // build gives the error below.  Assuming that this
error will not show
   //   // up in the release build but haven't checked.
   // throw new Error(The ExternalInterface is not
available in this container. Internet Explorer ActiveX, Firefox,
Mozilla 1.7.5 and greater, or other browsers that support NPRuntime
are required.);
   // }
__source = source;
ExternalInterface.call(loadIFrame, source);
 
}
}

public function get source(): String {
return __source;
}

override public function set visible(visible: Boolean): void {
super.visible=visible;
if (visible)
{
ExternalInterface.call(showIFrame);
}
else
{
ExternalInterface.call(hideIFrame);
}
}

]]
/mx:Script

/mx:Canvas


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

 Lynn,
 Do you have the proper hooks setup in the external browser window to
update
 the iFrame position via JavaScript when you move the MDIWindow instance?
 
 I haven't setup an IFrame within MDI, but have in the past used
Panel popups
 to do this (which is basically the same thing), and the tricky part was
 using ExternalInterface to update the IFrame content position
getting loaded
 by the browser.
 
 
 Brendan
 
 
 
 On Mon, Nov 3, 2008 at 3:35 PM, lynnkuh [EMAIL PROTECTED] wrote:
 
Has anyone gotten this work? If so, how did you do it? It doesn't
  position the IFrame in the correct place and when I move the IFrame,
  the window doesn't move with it. I also tried using URLRequest but
  that pops up a browser window only - it will not add it to the stage
  or addChild() for either IFrame or URLRequest. Am thinking maybe I
  should modify the updateDisplayList method in
MDIWindowControlsContainer?
 
  Thanks,
  Lynn
 
   
 
 
 
 
 -- 
 Brendan Meutzner
 http://www.meutzner.com/blog/





[flexcoders] Re: Flex developer and their hourly rate

2008-11-04 Thread Amy
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:

 And understand, this is an independent contractor rate for billable
 hours.
 
  
 
 One rule-of-thumb I have heard is that an independent hourly rate 
should
 be one thousandth of what the annual salary would be for the same 
level
 of developer.
 
  
 
 For example if an annual salary is 100K per year, then the hourly rate
 should be $100 per hour.  I am sure 100K is not an unusual salary for 
an
 experienced developer in SF.

Considering the COL in the Bay Area, someone earning $100K is living 
like a college student.  That's one reason I don't live there ;-).

-Amy



[flexcoders] Re: SWFLoader problems!

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

 If the SWF has more than one frame, or draws outside of its reported 
screen size, you can have issues like this.  Once you know how big the 
SWF is, try calling invalidateDisplayList on the SWFLoader.  If that 
doesn't help, then try centering the SWFLoader in some other container

The Flex Component kit lets you set up a MC that says what the bounds 
of the component are.

HTH;

Amy



Re: [flexcoders] Re: Flex developer and their hourly rate

2008-11-04 Thread Doug McCune
Right, so as a very rough rule of thumb, take your hourly rate and double
it, then multiply by 1,000 to get the equitable annual salary. So an hourly
rate of $100/hour is roughly equal to $200,000/year. And then obviously you
need to factor in stuff like the cost of benefits, overhead (stuff like
office rent or equipment, etc), and the cost of unbillable hours (you've
gotta do unpaid work just to get paying work).

So figure out what kind of annual salary you would want, then subtract the
cost of benefits (do some research about benefit costs), then subtract any
other expenses you have that you wouldn't have with a regular job (make sure
to think about tax rate differences). Then try to think about how many hours
a week you think you're going to have to spend just to get work (soliciting
clients, bending over backwards with unpaid proof of concepts or wireframes,
unbillable phone meetings to go over initial specs, etc).

If you figure all that out then you end up with the amount of $$ you want to
make per year and the number of hours per week you are hoping to bill. Then
just do the math and figure out what you need to charge to make that.

So yeah, if you can bill $100/hour for a solid 40 hours a week for a year
(with 2 weeks vacation I think) you end up making about the equivalent of
$200k/year minus benefits, overhead, and potential tax differences (of
course you can write more shit off now too). But just be sure to be honest
about the number of billing hours per week you can really pull off. The
additional work of just getting billable contracting work, plus the added
cost of benefits and overhead, is probably why Tracy quoted the general rule
of thumb that he did.

Doug


On Tue, Nov 4, 2008 at 11:23 AM, Tracy Spratt [EMAIL PROTECTED] wrote:

Yes, hello, do the math. ;)

 Tracy


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Vivian Richard
 *Sent:* Tuesday, November 04, 2008 2:05 PM

 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Re: Flex developer and their hourly rate



 But should not an independent consultant get more than the
 salary, since he/she does not get and benefits and also the
 employer does not have any obligations like the regular employee?

 On Tue, Nov 4, 2008 at 12:14 PM, Tracy Spratt [EMAIL 
 PROTECTED]tspratt%40lariatinc.com
 wrote:
  And understand, this is an independent contractor rate for billable
 hours.
 
 
 
  One rule-of-thumb I have heard is that an independent hourly rate should
 be
  one thousandth of what the annual salary would be for the same level of
  developer.
 
 
 
  For example if an annual salary is 100K per year, then the hourly rate
  should be $100 per hour. I am sure 100K is not an unusual salary for an
  experienced developer in SF.
 
 
 
  Tracy
 
 
 
  
 
  From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
 flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
  Behalf Of Rich Rodecker
  Sent: Tuesday, November 04, 2008 11:40 AM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: Re: [flexcoders] Re: Flex developer and their hourly rate
 
 
 
  that's how it goes...you're talking about a much different cost of living
  than say, Arkansas.
 
 
 
  On Tue, Nov 4, 2008 at 6:37 AM, nathanpdaniel [EMAIL 
  PROTECTED]ndaniel%40bsi-scs.com
 wrote:
 
  $100/hour Man, I'm gonna have to move to SF! HAHAHA :D
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Rich
 Rodecker [EMAIL PROTECTED]
  wrote:
 
 
  That's always a hard question, and mostly depends on a few major
  points:
  location, experience, and additional skill set. SF, and just about
  every
  major city is definitely going to get you a higher rate than say,
  Tennessee.
  How is your portfolio? If you have an impressive body of work
  that will
  also increase your value. On top of that, if your a flex developer
  that is
  highly skilled in additional areas, or have alot of experience
  building
  enterprise-level apps, that will also increase your value.
  All that being said, I don't know :) Though I'd esitmate you're
  going to be
  somewhere around $100/hr.
 
 
 
 
  On Mon, Nov 3, 2008 at 12:56 PM, hworke [EMAIL PROTECTED] wrote:
 
  
  
   Hi Devs,
  
   I do not have any idea about the market hourly
   rate that a Flex developer with 3 years experience
   charges in San Francisco bay area charges. Can
   someone please give me some idea?
  
   Best regards,
  
  
  
 
 
 
 
 

  



Re: [flexcoders] Re: Flex developer and their hourly rate

2008-11-04 Thread Rich Rodecker

 And understand, this is an independent contractor rate for billable hours.


yes, I should have pointed that out.  And yes you'll get less of an hourly
rate for full time employment.



On Tue, Nov 4, 2008 at 12:33 PM, Amy [EMAIL PROTECTED] wrote:

   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tracy
 Spratt [EMAIL PROTECTED] wrote:
 
  And understand, this is an independent contractor rate for billable
  hours.
 
 
 
  One rule-of-thumb I have heard is that an independent hourly rate
 should
  be one thousandth of what the annual salary would be for the same
 level
  of developer.
 
 
 
  For example if an annual salary is 100K per year, then the hourly rate
  should be $100 per hour. I am sure 100K is not an unusual salary for
 an
  experienced developer in SF.

 Considering the COL in the Bay Area, someone earning $100K is living
 like a college student. That's one reason I don't live there ;-).

 -Amy

  



Re: [flexcoders] Re: MultipleEvents

2008-11-04 Thread Paul Andrews
- Original Message - 
From: bisht_mech [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, November 04, 2008 5:36 AM
Subject: [flexcoders] Re: MultipleEvents


 Thanks a lott paul. Really got a good learning from this. :)

You're welcome.

Paul



[flexcoders] Cairngen UM Extensions on Vista

2008-11-04 Thread Jake Churchill
I am trying to use Cairngen with UM Extensions to create-sequence on 
Windows Vista. I am getting an error saying:
java.lang.UnsatisfiedLinkError: no swt-win32-3346.

The other build.xml targets work fine but this one has prompting. 
Everything I find indicates this is related to Vista but I have yet to 
find a fix. I've tried all of the different packages that they recommend 
installing and moving the swt DLL file to the system32 directory but 
still no luck. 

Does anyone have any ideas? 

Thanks!

-Jake Churchill


[flexcoders] error border on custom itemRenderer

2008-11-04 Thread Glenn Jones
I'm having a problem with red borders drawn around a cell in the DataGrid.

I have a custom itemRenderer which extends HBox and impements
IDropInListItenRenderer

In the set data() method, I set errorString based on conditions in the data.
The errorString is either set to null or a non-blank string.
In the same set data() method, I also call the super class
invalidateProperties and invalidateDisplayList methods.

For reasons, I don't understand teh parent HBox class does not draw the
border when the borderColor is set to errorColor. So I modified
the updateDisplayList() method of my custom renderer to say - if (
getStyle(borderColor) == getStyle(errorColor) ) then draw a border
myself using the errorColor (defaults to red).

So far so good.

But I have two problem symptoms:

1. If I correct the error in the underlying data, the red border remains
around the cell even though I've verified that my code is NOT drawing
it, and the borderColor style is no longer red

2. If I start scrolling around in the grid, other cells without errors are
getting a red border.

I understand that the grid recycles instances of itemRenderers for
performance reasons, so I suspect that fixing root cause of #1 will fix #2.
But I'm at a loss as to what to do about #1.

Suggestions appreciated.

Thanks,
Glenn


[flexcoders] Error compiling flex library using a Ant task

2008-11-04 Thread smadyastha

I am trying to compile a Flex Library project using the 'compc' ant task and
I get the following error: 

[compc] Error: Inconsistant linkage in C:\Program Files\Adobe\Flex
Builder 3\sdks\3.0.0\frameworks\libs\air\airglobal.swc(Camera) - 
'flash.media:Camera' is marked as extern, but 'flash.media:scanHardware' is
not. 

I am using Flex sdk 3.0.0. 

Does anyone know why I am getting this error  Any help will be appreciated. 
Below is portion of the ANT script I am using: 

taskdef resource=flexTasks.tasks
classpath=${FLEX_HOME}/ant/lib/flexTasks.jar / 
target name=compile-flex-lib depends=clean-flex-lib 
description=Builds flexBaseAir.swc 
fileset id=flex.lib.files 
dir=${flex.dir}/${flex.lib.name} 
include name=**/*.as/ 
include name=**/*.mxml/ 
/fileset 
pathconvert property=classes pathsep= 
refid=flex.lib.files 
compositemapper 
packagemapper handledirsep=true
from=${flex.dir}/${flex.lib.name}/src/*.as to=*/ 
packagemapper handledirsep=true
from=${flex.dir}/${flex.lib.name}/src/*.mxml to=*/ 
packagemapper handledirsep=true
from=${flex.dir}/${flex.lib.name}/resources/*.as to=*/ 
packagemapper handledirsep=true
from=${flex.dir}/${flex.lib.name}/resources/*.mxml to=*/ 
/compositemapper 
/pathconvert 

compc include-classes=${classes} directory=false 
   
output=${flex.dir}/${flex.lib.name}/bin/${flex.lib.name}.swc 
locale=${flex.sdk.locale} 
accessible=true 
debug=${flex.compiler.debug.mode} 
actionscript-file-encoding=UTF-8 
incremental=false 
dump-config=config.xml 

source-path
path-element=${flex.dir}/${flex.lib.name}/src/ 

compiler.library-path
dir=${FLEX_HOME}/frameworks/libs append=true 
include name=air / 
/compiler.library-path 
compiler.library-path
dir=${FLEX_HOME}/frameworks/locale append=true 
include name=${flex.sdk.locale} / 
/compiler.library-path 

compiler.library-path dir=${flexlib-base.dir}
append=true 
include name=bin / 
/compiler.library-path 
/compc 

/target 

Thanks, 
Sudhir Madyastha
-- 
View this message in context: 
http://www.nabble.com/Error-compiling-flex-library-using-a-Ant-task-tp20329867p20329867.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] unable to bind to property 'width' on class 'Object'

2008-11-04 Thread Juan Carlos M.
Hi... may this is weird

I´ve extended a Canvas component using mxml. When I use that component
inside a titlewindow it works...
but it doesn´t work inside other components and flex's console shows
this error:

warning: unable to bind to property 'width' on class 'Object' (class
is not an IEventDispatcher)

(it seems that measure method is in an infinite loop... )






[flexcoders] Re: Soap webservice and authentication

2008-11-04 Thread valdhor
I'd love to help but I have not tried to access Web Services directly
from Flex - I use PHP as a client and return the data I want via AMF.

Do you have a back end you can use?

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

 Hi everyone!
 I'm begging for help. 
 
 I'm trying to get data from Microsoft virtual earth web service.
 But all the time I get ioError, Error #2032: Stream Error.
 
 So please, PLEASE could someone just point me right direction? how to
 connect from flex? I promise to give beer if you come finland :D
 
 I try to use Flex Builder import wsdl tool and allso try
 mx:WebService. I'm not sure is problem in authentication because if I
 go to wsdl url by browser I get authentication prompt. 
 
 I really hope that someone help me to get start.
 
 get developement account:
 https://mappoint-css.live.com/CSCV3
 
 wsdl:
 http://staging.mappoint.net/standard-30/mappoint.wsdl





Re: [flexcoders] Re: Flex developer and their hourly rate

2008-11-04 Thread Daniel Thompson
I've also heard take your yearly salary, say $100k. Determine the  
hourly rate: $100k / 2000, which results in an hourly rate of  $50.  
Now triple that to find your contracted rate. 33.3% for salary and  
healthcare (same amount taken home), 33.3% for capital (office space,  
computers, software, car) and 33.3% for taxes (you are responsible for  
more as an independent contractor).

So, if you were making $100k and decide to contract, you should charge  
$150 per hour to enjoy the same standard of living.


On Nov 4, 2008, at 11:14 AM, Tracy Spratt wrote:


 And understand, this is an independent contractor rate for billable  
 hours.



 One rule-of-thumb I have heard is that an independent hourly rate  
 should be one thousandth of what the annual salary would be for the  
 same level of developer.



 For example if an annual salary is 100K per year, then the hourly  
 rate should be $100 per hour.  I am sure 100K is not an unusual  
 salary for an experienced developer in SF.



 Tracy



 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]  
 On Behalf Of Rich Rodecker
 Sent: Tuesday, November 04, 2008 11:40 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Flex developer and their hourly rate



 that's how it goes...you're talking about a much different cost of  
 living than say, Arkansas.



 On Tue, Nov 4, 2008 at 6:37 AM, nathanpdaniel [EMAIL PROTECTED]  
 wrote:

 $100/hour Man, I'm gonna have to move to SF! HAHAHA :D

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


 
  That's always a hard question, and mostly depends on a few major
 points:
  location, experience, and additional skill set. SF, and just about
 every
  major city is definitely going to get you a higher rate than say,
 Tennessee.
  How is your portfolio? If you have an impressive body of work
 that will
  also increase your value. On top of that, if your a flex developer
 that is
  highly skilled in additional areas, or have alot of experience
 building
  enterprise-level apps, that will also increase your value.
  All that being said, I don't know :) Though I'd esitmate you're
 going to be
  somewhere around $100/hr.
 
 
 

  On Mon, Nov 3, 2008 at 12:56 PM, hworke [EMAIL PROTECTED] wrote:
 
  
  
   Hi Devs,
  
   I do not have any idea about the market hourly
   rate that a Flex developer with 3 years experience
   charges in San Francisco bay area charges. Can
   someone please give me some idea?
  
   Best regards,
  
  
  
 





 





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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

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

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

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



RE: [flexcoders] Re: Soap webservice and authentication

2008-11-04 Thread Tracy Spratt
Yes, this would be my advice also.  Use a back end to proxy all your
your data service calls.

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of valdhor
Sent: Tuesday, November 04, 2008 5:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Soap webservice and authentication

 

I'd love to help but I have not tried to access Web Services directly
from Flex - I use PHP as a client and return the data I want via AMF.

Do you have a back end you can use?

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

 Hi everyone!
 I'm begging for help. 
 
 I'm trying to get data from Microsoft virtual earth web service.
 But all the time I get ioError, Error #2032: Stream Error.
 
 So please, PLEASE could someone just point me right direction? how to
 connect from flex? I promise to give beer if you come finland :D
 
 I try to use Flex Builder import wsdl tool and allso try
 mx:WebService. I'm not sure is problem in authentication because if I
 go to wsdl url by browser I get authentication prompt. 
 
 I really hope that someone help me to get start.
 
 get developement account:
 https://mappoint-css.live.com/CSCV3
https://mappoint-css.live.com/CSCV3 
 
 wsdl:
 http://staging.mappoint.net/standard-30/mappoint.wsdl
http://staging.mappoint.net/standard-30/mappoint.wsdl 


 



[flexcoders] Getting all the fired events in flex application.

2008-11-04 Thread jasbir_dadyal
Hi,
In my application I am working on session management.On session 
timeout i want to get all fired events(events that are currently 
running in a application) and stop them.

 Approach that I have implemented for session management.

 There is a timer on web layer which listens to every mouse click.
 For every mouse click anywhere in a application it checks the 
idleTimeout.if it exceeds the specified time it dispatches 
LogOutEvent which hits the service layer and invalidate the 
session.At the same time on web layer all the dictionaries that are 
stored in ModelLocator are set to null.

Problem:
 Suppose user leaves system for a specified time and comes back and   
clicks on some button.By clicking on that button it fires a custom 
event and at the same time it checks for idleTimeOut.If it exceeds 
that time then it dispatches another event i.e Logout event.

Now here two events are dispatched on one click of button.

Logout event will invalidate session on service layer and nullify all 
the web dictionaries.At this time if another event which was 
dispathced with logout event is accessing some dictionary will throw  
a nullpointer exception.

Question:

Is there any way through which I can get all the fired events.With 
this on Logout event I can get all those events and Cancel them 
manually.

OR

Is there any better approach.

Any thoughts on this will be very helpful for me.
Thanks in advance
Jasbir Singh







[flexcoders] New Chart Type - Horizontal Chart

2008-11-04 Thread pratikshah83
Hi Guys, 

I need to implement a new chart type. Something like a bubble chart
having 3 dimensions. But represent it as a area chart. 

I am planning to write a custom renderer for bubble chart and draw a
line instead of a bubble, get the coordinated for the line and fill
the area with the color to show it as a area chart. 

It may be a bit confusing, you can check out this link, which shows
what I am planning to implement. 

http://www.enterprise-dashboard.com/2008/06/19/the-horizon-graph/

Please give comments or suggestions regarding the same.

Your help would be appreciated.

Thanks
Pratik 



[flexcoders] Reduce the height of sortItemRenderer ( AdvancedDataGridHeaderRenderer )

2008-11-04 Thread Vijay Anand Mareddy
I extended the AdvDataGridHeaderRenderer and added a TextInput for 
displaying column totals.
All is fine except that i want my TextInput to occupy the complete 
column width (=100%) and push the sortItemRenderer down.
Any comments anybody?
===
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:AdvancedDataGrid 
id=advancedDataGrid 
headerRenderer=SimpleADGHeaderRenderer 
variableRowHeight=true
mx:columns
mx:AdvancedDataGridColumn  dataField=index 
width=180  textAlign=right/
mx:AdvancedDataGridColumn  dataField=food  
width=180/
mx:AdvancedDataGridColumn  dataField=type  
width=180/
/mx:columns
mx:dataProvider
mx:Array
mx:Object index=1 food=Apple 
type=Fruit/
mx:Object index=2 food=Pear 
type=Fruit/
mx:Object index=3 food=Banana 
type=Fruit/
mx:Object index=4 food=Chicken 
type=Meat/
mx:Object index=5 food=Beef type=Meat/
mx:Object index=6 food=Milk 
type=Dairy/
/mx:Array
/mx:dataProvider  
/mx:AdvancedDataGrid
/mx:Application
=
package  {  

import mx.controls.TextInput;   
import 
mx.controls.advancedDataGridClasses.AdvancedDataGridHeaderRenderer;

public class SimpleADGHeaderRenderer extends 
AdvancedDataGridHeaderRenderer{

protected var headerLabel:TextInput;

public function SimpleADGHeaderRenderer(){
super();
setStyle(verticalAlign,bottom); 

}

/**
 * @protected
 */
override protected function createChildren():void {

super.createChildren();
if(!headerLabel){   

headerLabel = new TextInput();  

headerLabel.styleName = this;
headerLabel.setStyle
(editable,false); 
headerLabel.setStyle
(borderSides,bottom);
headerLabel.setStyle
(borderStyle,solid);
headerLabel.setStyle
(fontWeight,bold);  
headerLabel.setStyle
(backgroundAlpha,0);
headerLabel.setStyle
(themeColor,getStyle(backgroundColor)); 
headerLabel.text = $11.734699; 
addChild(headerLabel);
}   
}
/**
 * @protected
 */
override protected function commitProperties():void {

super.commitProperties();   

}
/**
 * @protected
 */
override protected function measure():void {

super.measure();
measuredHeight = measuredHeight + 
headerLabel.getExplicitOrMeasuredHeight();  

}

/**
 * @protected
 */
override protected function updateDisplayList 
(unscaledWidth:Number, unscaledHeight:Number):void{ 
super.updateDisplayList(unscaledWidth, 
unscaledHeight);
headerLabel.setActualSize
(headerLabel.getExplicitOrMeasuredWidth
(),headerLabel.getExplicitOrMeasuredHeight());  
//sortItemRenderer.setActualSize
(sortItemRenderer.getExplicitOrMeasuredWidth(),);   
}

}
}
=



Re: [flexcoders] Soap webservice and authentication

2008-11-04 Thread Daniel Thompson
You will need Microsoft to provide a crossdomain.xml (or proxy the  
call as others have suggested). I quickly checked and got a 404 here:

http://staging.mappoint.net/crossdomain.xml



On Nov 4, 2008, at 1:52 AM, ernoaapa wrote:

 Hi everyone!
 I'm begging for help.

 I'm trying to get data from Microsoft virtual earth web service.
 But all the time I get ioError, Error #2032: Stream Error.

 So please, PLEASE could someone just point me right direction? how to
 connect from flex? I promise to give beer if you come finland :D

 I try to use Flex Builder import wsdl tool and allso try
 mx:WebService. I'm not sure is problem in authentication because if I
 go to wsdl url by browser I get authentication prompt.

 I really hope that someone help me to get start.

 get developement account:
 https://mappoint-css.live.com/CSCV3

 wsdl:
 http://staging.mappoint.net/standard-30/mappoint.wsdl


 





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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

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

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

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [flexcoders] format code in FB3

2008-11-04 Thread Josh McDonald
It's in Fx4 from what I hear ;-)

On Wed, Nov 5, 2008 at 1:04 AM, matt wicks [EMAIL PROTECTED] wrote:

 If you use  enterprise ide this will do it ... www.idefactory.com

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Tom Chiverton
 Sent: 04 November 2008 10:25
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] format code in FB3

 On Tuesday 04 Nov 2008, vuthecuong wrote:
  in eclipse (develop java), I just press ctrl+shift+F to format code.
  So what is the equavalent one in FF3 IDE?

 I don't think that feature is in there yet. Have you checked
 bugs.adobe.com
 ?

 --
 Tom Chiverton
 Helping to authoritatively envisioneer slick dynamic world-class 24/365
 communities



 

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

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

 CONFIDENTIALITY

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

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

 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:

 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62
 079f6847https://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






-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

Like the cut of my jib? Check out my Flex blog!

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]
:: http://flex.joshmcdonald.info/
:: http://twitter.com/sophistifunk


Re: [flexcoders] Re: my first flex website

2008-11-04 Thread Gustavo Duenas
thanks, noted, how could I load first the content and then show  
it...if you know how, please point me it.

I'd appreciate your help.
I'm not perfect, but I'd really like to do perfect.

Regards,

Gustavo
On Nov 4, 2008, at 2:30 PM, florian.salihovic wrote:

Sorry, imho it's hard to believe that this website is used to  
present yourself on the market.
- pictures simply appear randomly... load first the content, then  
show it.
- pictures aren't antialiased, the pictures in pricing don't look  
nice.
- pictures and icons don't work well together (simple gradients, 3d  
icons... ), the visual

impression is not that nice since the colors don't work.
- i miss the concept of the site

Sorry, just my opinion...

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

 HI, finally I've done my first flex web siteit is done, or at
 least is that what I think...maybe tomorrow I'll add something else.

 please check it at:

 http://leftandrightsolutions.com/lrsad/bin/lrsad.html

 please don't be so hard in critics, is ok to be criticized but don't
 be offensive.

 I hope you like, is not the big deal, but is something that did by
 myself, I thank in advance to all of you who help me out
 with your advices.

 regards,

 Gustavo



 Gustavo A. Duenas
 Creative Director
 LEFT AND RIGHT SOLUTIONS
 904. 265 0330 - 904. 386 7958
 www.leftandrightsolutions.com
 Jacksonville - Florida








Re: [flexcoders] format code in FB3

2008-11-04 Thread Matt Chotin
It's something we certainly want to do but definitely not committed for FB4.


On 11/4/08 3:27 PM, Josh McDonald [EMAIL PROTECTED] wrote:




It's in Fx4 from what I hear ;-)

On Wed, Nov 5, 2008 at 1:04 AM, matt wicks [EMAIL PROTECTED] wrote:
If you use  enterprise ide this will do it ... www.idefactory.com 
http://www.idefactory.com

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: 04 November 2008 10:25
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] format code in FB3

On Tuesday 04 Nov 2008, vuthecuong wrote:
 in eclipse (develop java), I just press ctrl+shift+F to format code.
 So what is the equavalent one in FF3 IDE?

I don't think that feature is in there yet. Have you checked bugs.adobe.com 
http://bugs.adobe.com
?

--
Tom Chiverton
Helping to authoritatively envisioneer slick dynamic world-class 24/365
communities





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



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

2008-11-04 Thread Michael VanDaniker
All you have to do is extend the right classes :)

Your event class should extend UMEvent. UMEvent has a callbacks
property, and within that Callbacks object you'll specify the
functions you want called when your delegate finishes (successfully or
otherwise).  Like so:

private function submit():void
{
   var callbacks:Callbacks = new Callbacks(r);
   var myEvent:MyEvent = new MyEvent(MyEvent.MY_EVENT,callbacks);
   submitEvent.dispatch();
}

private function r(o:Object):void
{
   trace(o);
}

You should make the base class for your command
com.universalmind.cairngorm.commands.Command.  You need to call the
super method within execute to set up view notification.  When you
call super in result or fault, the respective methods you specified in
your Callbacks object will be called.

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

 I am trying to learn the UM extensions within Cairngorm, but there
are no
 good examples of how this is done.  Here is what I am trying to do,
I have a
 view and when a user clicks a button an event is called.   Then off
to the
 command, and if the execute passes, I go to the result function in the
 command file.  In the result function I load the data into the
model, and
 change my view.  On the new view I need to call a function after I
know I
 have the data back.  That is what I can not figure out.
 
  
 
 Please help.





Re: [flexcoders] format code in FB3

2008-11-04 Thread Josh McDonald
Nuts! I've gotta figure out how to do Eclipse plugins

On Wed, Nov 5, 2008 at 9:38 AM, Matt Chotin [EMAIL PROTECTED] wrote:

 It's something we certainly want to do but definitely not committed for
 FB4.


 On 11/4/08 3:27 PM, Josh McDonald [EMAIL PROTECTED] wrote:




 It's in Fx4 from what I hear ;-)

 On Wed, Nov 5, 2008 at 1:04 AM, matt wicks [EMAIL PROTECTED] wrote:
 If you use  enterprise ide this will do it ... www.idefactory.com 
 http://www.idefactory.com

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Tom Chiverton
 Sent: 04 November 2008 10:25
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] format code in FB3

 On Tuesday 04 Nov 2008, vuthecuong wrote:
  in eclipse (develop java), I just press ctrl+shift+F to format code.
  So what is the equavalent one in FF3 IDE?

 I don't think that feature is in there yet. Have you checked
 bugs.adobe.com http://bugs.adobe.com
 ?

 --
 Tom Chiverton
 Helping to authoritatively envisioneer slick dynamic world-class 24/365
 communities



 

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

 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:

 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62
 079f6847 
 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 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






-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

Like the cut of my jib? Check out my Flex blog!

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]
:: http://flex.joshmcdonald.info/
:: http://twitter.com/sophistifunk


[flexcoders] updating display of GroupingCollection on AdvancedDataGrid with refresh

2008-11-04 Thread poweribo
Hi All,

I have an AdvancedDataGrid, a GroupingCollection and an 
ArrayCollection as a source of GroupingCollection. 

I update the display by setting a filter on arraycollection and 
calling refresh. But the AdvancedDataGrid doesnt reflect the changes 
unless I call GroupingCollection.refresh(). Bad.

My ArrayCollection contains only 450+ items but 
GroupingCollection.refresh() takes too long time to re-render the 
list.

Is there any other way that I can do this faster? and without waiting 
and repopulating the WHOLE list? for example I just want to hide 1 
item by adding it on my filter, the list should simply adjust by 
deleting that row only (just like how a normal List 
UIComp+ArrayCollection behaves). Any ideas?

-Stephen

p.s. I have seen the 
http://flexpearls.blogspot.com/2008/06/groupingcollection-with-some-
better.html but it still re-draw the whole thing and doesnt keep the 
state of the list (expanded/collapsed).




[flexcoders] Re: FP plugin for debugging in Firefox/Chrome

2008-11-04 Thread Dmitri Girski
Sure, white not?

Actually, I used IE before, now I use Chrome. The reason for this is
that when the application is stopped in the debugger all Firefox
windows are stopped as well. IE  Chrome run every browser window in a
separate process.

Cheers,
Dmitri.


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

 Do you user Firefox/Chrome with Flex Builder to run with debugging 
 option?
 
 Thanks





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

2008-11-04 Thread Dmitri Girski
Hi Louise,

Why not to use good old callbacks? I see that everyone is obsessed now
with the events, but this is so simple just to pass the value to the
popup and when popup finishes, it will call the function. Simple.

To do this, simply add the function to the popup window code.
public function fMyInit(val1:uint, val2:uint, callback:Function):void
{
  m_val1 = val1;
  m_val2 = val2;
  m_callback = callback;
}


Then, after you create a popup

var popup:YourPopupCLass =
YourPopupCLass(PopUpManager.createPopUp(YourPopupClass, parent, etc));

initialise it.
popup.fMyInit(1, 2, fOnPopupExit);


and then define function fOnPopupExit(). You can even pass the
parameters to it.


In the YourPopupClass before closing the window, just make the call of
the function  m_callback();


Cheers,
Dmitri.









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

 I need to pass data back from a popup window.  How is this done?
 
  
 
 The data consists of 2 numbers.
 
  
 
 Thanks,
 
 Louise





[flexcoders] Re: unable to bind to property 'width' on class 'Object'

2008-11-04 Thread Vijay Anand Mareddy
dont worry its only a warning. 
You can get ride of it by typecasting your Object into an XML like this:
{  XML(object).width  }

--- In flexcoders@yahoogroups.com, Juan Carlos M. [EMAIL PROTECTED] wrote:

 Hi... may this is weird
 
 I´ve extended a Canvas component using mxml. When I use that component
 inside a titlewindow it works...
 but it doesn´t work inside other components and flex's console shows
 this error:
 
 warning: unable to bind to property 'width' on class 'Object' (class
 is not an IEventDispatcher)
 
 (it seems that measure method is in an infinite loop... )




  1   2   >