Re: [flexcoders] removePopUp on rollout, but not if rollOver popup itself?

2009-01-23 Thread Haykel BEN JEMIA
I had the same problem with a component I developed and the only solution I
found was to track rollOver and rollOut on both components (in your case for
the day and the popUp). For every component I set a flag to true on
rollOver. On rollOut I set it to false then only if both flags are false I
remove the popUp and clean the event listeners.

Haykel Ben Jemia

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




On Fri, Jan 23, 2009 at 3:12 AM, Tracy Spratt tspr...@lariatinc.com wrote:

I have a calendar component.  When I rollOver a day that has a 
 calendarevent, I pop-up a panel with the event
 's detail.

 I want to hide the detail popup when the user rolls out of the day.

 But if I roll over the currently displayed popup, flex registers a rollout
 of the day, hides the pop-up, but then the cursor is still over the day so
 the popup tries to display, which registers a rollout, so my UI just blinks.

 I looked for a rollInto property I could check, but didn't find anyting
 useful.

 Any suggestions?

 Maybe I need to track rollOver on the popUp, and set a flag and check that
 in the day rollOver handler?

 Tracy Spratt

 Lariat Services

 Flex development bandwidth available

  



RE: [flexcoders] Announcing a Flex Community Feedback Forum

2009-01-23 Thread Gregor Kiddie
Hey Matt,

 

This sounds like it could be pretty interesting! But is there any guidance on 
what questions are off limits, area's to focus on, etc, as I think a lot of 
people will come wanting to talk about AIR / Flash Player rather than the SDK 
strictly.

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ 

The information in this internet email is confidential and is intended solely 
for the addressee. Access, copying or re-use of information in it by anyone 
else is not authorised. Any views or opinions presented are solely those of the 
author and do not necessarily represent those of INPS or any of its affiliates. 
If you are not the intended recipient please contact is.helpd...@inps.co.uk



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Matt Chotin
Sent: 23 January 2009 05:46
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Announcing a Flex Community Feedback Forum

 

WHEN: January 28th ­ 10:00am PT / 1:00pm ET / 6:00pm GMT (duration 1 hour)

Come speak with the Flex SDK team to voice your interests and concerns. This
session will be an opportunity for the community to talk about the Flex SDK
itself and discuss our management of the SDK open source project. Please
bring your questions and feedback as the session will primarily be led by
you (and could be short if there's not a lot of input).

The meeting will be broadcast via Connect:
http://adobedev.adobe.acrobat.com/techweds 
http://adobedev.adobe.acrobat.com/techweds 
** enter the room as a Oguest¹ using your First and Last name **

If you¹re unable to attend, the meeting will be recorded and posted on the
Flex Open Source site
(http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK 
http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK ) afterward.

We look forward to hearing from you!

 



Re: [flexcoders] Re: Navigational Design Patterns?

2009-01-23 Thread nwebb
Johannes, does slide Slide work well with modules as this project is
modular?

On Fri, Jan 23, 2009 at 7:46 AM, Johannes Nel johannes@gmail.comwrote:

   kind of off topic now.

 i would actually look at slide, even for an existing app (if it uses
 viewstacks and states) for navigation. it makes life much much easier.

 Slide uri's map to paths inside a display tree so the url
 /app/state/stateb/statec tells you that you have set the selected child for
 3 viewstacks (thus making complex nav easier). also these uri's are really
 xpath statements so /app/*/*/state will only filter on the last one. you can
 even use xpath functions to make decisions on your navigation.

 this is a gross simplification, but ping me offline, i have a plugin which
 generates the slide app structure for you.

 back to navigation. i also have a simple plugin which generates my nav
 commands for me (slightly slide specific, but easily modifiable), either
 with mememto or sans, which could help you in this. I use JET to generate
 code a lot at the moment (i need an abstract factory, i need a set of
 commands, i need an enum etc etc) which has kind of removed me from the
 doldrums of implenting paterns to more thinking about the application as a
 whole. of course generation is not a answer to all (i refuse to generate
 actual implementation for long and arguable reasons).



 On Thu, Jan 22, 2009 at 2:18 PM, nwebb neilw...@gmail.com wrote:

   Thanks v much Johannes - Command was the only pattern I had considered
 thus far because I know it's often used for history/undo functionality -
 interested to look at memento in conjunction. Useful info as always :)

 On Thu, Jan 22, 2009 at 12:08 PM, Johannes Nel johannes@gmail.comwrote:

   Depending on the application type, the command pattern works quite
 nicely with navigation. You can then also implement a memento more easily
 and have the command support an undo function allowing you to go back and
 forth.

 we use slide (obviously) and the uri based navigation (based on states)
 work really well with this approach as well.



 On Thu, Jan 22, 2009 at 11:02 AM, nwebb neilw...@gmail.com wrote:

   Thanks guys for all your responses so far.
 To clarify, it is a multi-step process (with a few possible branches).

 Tracy/Jim, for the most part I agree. Ideal if I was given the scope to
 re-design the application, but I've just been handed the task of re-writing
 the step-process logic. The client is very happy with what they have, so it
 is a decision that is out of my hands.

 I am mainly looking for suggestions for (code) design
 patterns/micro-architectures out there that handle this sort of thing - not
 a fully-fledged framework.

 I did like the look of the book Haykel recommended, even though it was
 not code-based so I may well purchase it too - thanks.

 Cheers,
 Neil







 On Wed, Jan 21, 2009 at 9:02 PM, jim.abbott45 
 jim.abbot...@yahoo.comwrote:


 FWIW, I have to concur with the advice that Tracy gave you and I can
 also recommend--HIGHLY--the content at the link that Haykel gave you.

 In short, use Wizard-style navigation for
 infrequent/complex/inherently multi-step tasks. For the rest of
 (usually, most of) your tasks, use a more fluid navigational
 mechanism, such as Hub-and-Spoke.

 --Jim


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 nwebb neilw...@... wrote:
 
  Hi,
 
  We have a modular Flex project.
  Each screen has back and next  buttons.
 
  There are various routes through the application and I'm about to
 re-write
  the logic which determines where the buttons take the user when they
 are
  pressed (what is already in place is overly complex).
 
  I'm guessing that there are fairly established methods for achieving
 this
  and would be interested to see what exists, rather than roll out a
 bespoke
  solution. Can anyone point me in the direction of a good resource?
 
  Cheers,
  Neil
 





 --
 j:pn
 \\no comment





 --
 j:pn
 \\no comment
  



Re: [flexcoders] Re: itemRenderer data question (recycling)

2009-01-23 Thread nwebb
Yes, doing that already - thanks :)

On Thu, Jan 22, 2009 at 4:45 PM, ross_w_henderson pub...@rwebdev.comwrote:

   Hi.

 Are you updating super.data in your set data function?

 If you aren't, give this a try:

 public override function set data(value:Object):void
 {
 super.data = value;
 if(value == null) return;

 .
 }

  



Re: [flexcoders] itemRenderer data question (recycling)

2009-01-23 Thread nwebb
At the moment not sure - my test data only has the same 4 items in, but I
think it's going to vary.

On Thu, Jan 22, 2009 at 6:34 PM, Tracy Spratt tspr...@lariatinc.com wrote:

How many items?  This might be easier with Repeater.



 Tracy Spratt
 Lariat Services

 Flex development bandwidth available
   --

 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *nwebb
 *Sent:* Thursday, January 22, 2009 7:14 AM
 *To:* flexcoders
 *Subject:* [flexcoders] itemRenderer data question (recycling)



 Hi,

 I have 2 List components on a page.
 The one on the left displays the names of some  bundles - e.g. *Bundle
 1*
 The one on the right displays the items in the selected bundle, plus a
 percentage value - e.g. *item1 - 10%* *item2 - 55%*  *item3 -
 61%*

 The items are the same for all bundles, but their percentages may change as
 the user selects different bundles. If that happens I want to highlight that
 itemRenderer. (eg when the percentage changes, highlight renderer)


 I looked at a similar example from Alex Harui - he compares a DataGrid's
 listData.UID to the previous UID (stored as a property on the renderer). If
 they match, he knows he has the same item and changes that value.

 I have implemented IDropInListItemRenderer (so I have access to the UID)
 but the renderer-recycling of the List means that even when the UID's match,
 the oldPercent value I stored doesn't actually match up to item being
 displayed - in other words, the renderer which previously displayed *item1
 - 10%* may now be displaying *item3 - 61%* , so the percentage HAS
 changed, but that's because it's displaying a different item!

 Is my only option to send both the new% and old% in via the dataprovider,
 or is there another way to get around this issue?

 Cheers







Re: [flexcoders] itemRenderer data question (recycling)

2009-01-23 Thread nwebb
Yes sorry - I was scant with the details because I know people don't read
long posts.

I'm just using a standard array for the dp rather than an ArrayCollection
and I am overwriting the array each time. Eventually I think that each
bundle may have completely different items (they are actually funds - this
is a financial app) , but in my test data I just have 4 funds. It was a
question out of curiosity more than anything else. I was trying to knock
something together quickly as this is just a prototype screen.

at the moment (in the test data) I have the same 4 funds for each
bundle. From the UIDs I get, it looks like the renderers get recycled and
always in the same order - ie the renderer that was last used to display
item4 is then used to display item1 the next time around. If you knew your
List would never scroll, and you had the same four items, I wondered if
there was a way to turn off recycling, or at least get the renderer in
position1 to be in position1 again after a refresh.


n.b. Currently I send in the old percent  new percent, the override set
data and determine the state using those values, so the uissue is solved,
but curious to know if there is a way to get the same renderers being reused
in the same order for a scenario like i described.

On Thu, Jan 22, 2009 at 6:43 PM, Alex Harui aha...@adobe.com wrote:

That didn't quite make sense.  What is the dataprovider for the %
 list?  Why would different bundles have data items with the same UID?  Are
 you resetting the dataProvider when someone selects a different bundle?



 If the dp for the % list is a set of fields computed from the selected
 bundle, don't reset the dp and have those items in the dp dispatch change
 events.  That should keep recycling to a minimum.  If that doesn't work, try
 using a DataGrid with 1 column and headers turned off.  It is possible that
 List has a different recycling algorithm than DG



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *nwebb
 *Sent:* Thursday, January 22, 2009 4:14 AM
 *To:* flexcoders
 *Subject:* [flexcoders] itemRenderer data question (recycling)



 Hi,

 I have 2 List components on a page.
 The one on the left displays the names of some  bundles - e.g. *Bundle
 1*
 The one on the right displays the items in the selected bundle, plus a
 percentage value - e.g. *item1 - 10%* *item2 - 55%*  *item3 -
 61%*

 The items are the same for all bundles, but their percentages may change as
 the user selects different bundles. If that happens I want to highlight that
 itemRenderer. (eg when the percentage changes, highlight renderer)


 I looked at a similar example from Alex Harui - he compares a DataGrid's
 listData.UID to the previous UID (stored as a property on the renderer). If
 they match, he knows he has the same item and changes that value.

 I have implemented IDropInListItemRenderer (so I have access to the UID)
 but the renderer-recycling of the List means that even when the UID's match,
 the oldPercent value I stored doesn't actually match up to item being
 displayed - in other words, the renderer which previously displayed *item1
 - 10%* may now be displaying *item3 - 61%* , so the percentage HAS
 changed, but that's because it's displaying a different item!

 Is my only option to send both the new% and old% in via the dataprovider,
 or is there another way to get around this issue?

 Cheers



 



Re: [flexcoders] Re: Navigational Design Patterns?

2009-01-23 Thread Johannes Nel
we have never had a problem with modules, there are no singletons,
controllers and models cascade through the display tree (with the ability
overwrite these references anywhere down the display tree) and modules are
just new children on the display tree.
it is not a framework in the sense of cairngorm or puremvc which defines the
way you communicate to the server as well.
think of it as a navgitaion system based on best practises and gives you
debug tools.
we can take this offline if you want.


On Fri, Jan 23, 2009 at 10:35 AM, nwebb neilw...@gmail.com wrote:

   Johannes, does slide Slide work well with modules as this project is
 modular?


 On Fri, Jan 23, 2009 at 7:46 AM, Johannes Nel johannes@gmail.comwrote:

   kind of off topic now.

 i would actually look at slide, even for an existing app (if it uses
 viewstacks and states) for navigation. it makes life much much easier.

 Slide uri's map to paths inside a display tree so the url
 /app/state/stateb/statec tells you that you have set the selected child for
 3 viewstacks (thus making complex nav easier). also these uri's are really
 xpath statements so /app/*/*/state will only filter on the last one. you can
 even use xpath functions to make decisions on your navigation.

 this is a gross simplification, but ping me offline, i have a plugin which
 generates the slide app structure for you.

 back to navigation. i also have a simple plugin which generates my nav
 commands for me (slightly slide specific, but easily modifiable), either
 with mememto or sans, which could help you in this. I use JET to generate
 code a lot at the moment (i need an abstract factory, i need a set of
 commands, i need an enum etc etc) which has kind of removed me from the
 doldrums of implenting paterns to more thinking about the application as a
 whole. of course generation is not a answer to all (i refuse to generate
 actual implementation for long and arguable reasons).



 On Thu, Jan 22, 2009 at 2:18 PM, nwebb neilw...@gmail.com wrote:

   Thanks v much Johannes - Command was the only pattern I had considered
 thus far because I know it's often used for history/undo functionality -
 interested to look at memento in conjunction. Useful info as always :)

 On Thu, Jan 22, 2009 at 12:08 PM, Johannes Nel 
 johannes@gmail.comwrote:

   Depending on the application type, the command pattern works quite
 nicely with navigation. You can then also implement a memento more easily
 and have the command support an undo function allowing you to go back and
 forth.

 we use slide (obviously) and the uri based navigation (based on states)
 work really well with this approach as well.



 On Thu, Jan 22, 2009 at 11:02 AM, nwebb neilw...@gmail.com wrote:

   Thanks guys for all your responses so far.
 To clarify, it is a multi-step process (with a few possible branches).

 Tracy/Jim, for the most part I agree. Ideal if I was given the scope to
 re-design the application, but I've just been handed the task of 
 re-writing
 the step-process logic. The client is very happy with what they have, so 
 it
 is a decision that is out of my hands.

 I am mainly looking for suggestions for (code) design
 patterns/micro-architectures out there that handle this sort of thing - 
 not
 a fully-fledged framework.

 I did like the look of the book Haykel recommended, even though it was
 not code-based so I may well purchase it too - thanks.

 Cheers,
 Neil







 On Wed, Jan 21, 2009 at 9:02 PM, jim.abbott45 
 jim.abbot...@yahoo.comwrote:


 FWIW, I have to concur with the advice that Tracy gave you and I can
 also recommend--HIGHLY--the content at the link that Haykel gave you.

 In short, use Wizard-style navigation for
 infrequent/complex/inherently multi-step tasks. For the rest of
 (usually, most of) your tasks, use a more fluid navigational
 mechanism, such as Hub-and-Spoke.

 --Jim


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 nwebb neilw...@... wrote:
 
  Hi,
 
  We have a modular Flex project.
  Each screen has back and next  buttons.
 
  There are various routes through the application and I'm about to
 re-write
  the logic which determines where the buttons take the user when they
 are
  pressed (what is already in place is overly complex).
 
  I'm guessing that there are fairly established methods for achieving
 this
  and would be interested to see what exists, rather than roll out a
 bespoke
  solution. Can anyone point me in the direction of a good resource?
 
  Cheers,
  Neil
 





 --
 j:pn
 \\no comment





 --
 j:pn
 \\no comment


  




-- 
j:pn
\\no comment


Re: [flexcoders] Re: itemRenderer data question (recycling)

2009-01-23 Thread nwebb
Nice idea - thanks :)


 Could you use a static Dictionary on the itemRenderer class, with the
 key being the UID?

 That way you can get the old% value regardless of whether you're in
 the same renderer instance?

  



[flexcoders] Files converted in Mac not recognizable

2009-01-23 Thread Joy
Hi
  I have a Flex-app MP3 uploader, which works fine in Windows-OS. But
when I 'convert' some MP3 files in Mac using some Mac-app-converter,
it says File not supported (custom err msg).
Is it something to do with the file-extension, when converted in
Mac-based-app? M not sure.

How do I overcome this issue? Any suggestions?

My code goes something like this:
common:FileUploader id=musicUploader width=100%
fileUploaderFilter={new Array(new FileFilter('Audio Files(.mp3, .m4a,
.wma, .wav, .aac)', '*.mp3;*.m4a;*.wma;*.wav;*.aac'))}
fileUploadURL=uploadAudio.php fileTypeName=audiofile/

Suggest please.
Thanks in advance...



Re: [flexcoders] Visible issue

2009-01-23 Thread Tom Chiverton
On Thursday 22 Jan 2009, lehaianh1986 wrote:
 var systray:SystemTrayIcon = NativeApplication.nativeApplication.icon;
 systray.addEventListener(ScreenMouseEvent.CLICK,function(event:Event):void{
   stage.nativeWindow.visible = true;
 });

 but it error. The message is TypeError: Error #1009: Cannot access a
 property or method of a null object reference.

I've got something like
creationCompleteHandler:
var sysTrayIcon:SystemTrayIcon =
NativeApplication.nativeApplication.icon as 
SystemTrayIcon;
sysTrayIcon.addEventListener(MouseEvent.CLICK,undock);

undock:
if (!stage.nativeWindow.visible){
stage.nativeWindow.visible = true;
stage.nativeWindow.activate();

}else{
stage.nativeWindow.visible=false;   
}
and it works here to show/hide the main application window.

Where are you assigning the event handler, and why are you using the funny 
inline function syntax ? 
If you stop it in the debugger, what is the bit that is actually null ?

-- 
Tom Chiverton
Helping to advantageously repurpose dot-com fourth-generation 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 together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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.

Re: [flexcoders] 3.2 plus datavisualization

2009-01-23 Thread Tom Chiverton
On Wednesday 21 Jan 2009, Richard Rodseth wrote:
 flexbuilder. But I need the datavisualization classes. Is it OK to copy
 datavisualization.swc to the libs folder of my 3.2 SDK? It looks as though
 there is also stuff in dataviz stuff in locales. Anything else?

Yes, it'll work fine.
There are steps here: 
http://rachaelandtom.info/content/using-flex-3-data-visualisation-components-with-flex-3-sdk
 
to copy all the required files, and a link to the Adobe instructions for 
unpacking the source too.

-- 
Tom Chiverton
Helping to biannually monetize magnetic third-generation prospective 
m-commerce



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 together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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] very odd error

2009-01-23 Thread nwebb
Erm

TypeError: Error #1034: Type Coercion failed: cannot convert
Tools.dal.dataObjects::dataoutsourcedmod...@9f82091 to
Tools.dal.dataObjects.dataOutsourcedModels

Done all the basic checks (classname, package, constructor). There are no
two objects of the same name . Anyone else seen Flex do something like this
before?


RE: [flexcoders] very odd error

2009-01-23 Thread Gregor Kiddie
Check the names of the objects you are using... have you got an object
named the same as a class (different case is what usually catches people
out) and then used the classname rather than the object name when
passing a parameter?

 

If it genuinely is a class cast between same types, it looks like an
application domain issue. In which case, check Alex's blog for more
details.

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
blocked::http://www.inps.co.uk/ 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of nwebb
Sent: 23 January 2009 12:56
To: flexcoders
Subject: [flexcoders] very odd error

 

Erm

TypeError: Error #1034: Type Coercion failed: cannot convert
Tools.dal.dataObjects::dataoutsourcedmod...@9f82091 to
Tools.dal.dataObjects.dataOutsourcedModels

Done all the basic checks (classname, package, constructor). There are
no two objects of the same name . Anyone else seen Flex do something
like this before?

 



[flexcoders] needed help...

2009-01-23 Thread venkatesh murali
hi all..

 i need a help in adobe flex 3..

 requirement:

  i have a datechooser.. in which i can select dates.. this is in
built in it..

  now i need to drag n select some dates n save it in an array..

 i have made a custom component of selecting multiple dates from a
datechooser without using ctrl key...

but i dont get logic to do dragging though i tried with drag events adn
mouse events...
 can anyone help me ..

plz reply to this mail..

thanks in advance...

Regards,
Venky..


[flexcoders] Problem with ModuleLoder

2009-01-23 Thread madhu_bmk
Hi Every One


In my application am using ModuleLoder to load multiple no of
modules, ok no problem with loading, its working cool and loading
all the modules, but the child property is not handling all the
modules. it just handling the last module only

if am trying to do any modifications to my first module , its
effecting to my last module

How to over come this problem ?



Regards
-
MadhuFlex



[flexcoders] NetStatusEvent.NET_STATUS not triggered on linux

2009-01-23 Thread Abdul Hakkim

Hi,

Flash player version: 9.
OS: Ubuntu 8.0.4
Browser: FF 3

I am working on a custom player for flv videos and I am noticing this
strange  behavior on Linux. When internet connection is lost, the
NetStatusEvent.NET_STATUS event does not appear to triggered at all.
I am basically listening for a 'NetConnection.Connect.Closed' type net
status event and need to handle lost connections.

but in windows machine the event listener is perfectly triggered when
the NetConnection.Connect.Closed event occurs. 

Any body have experience it? Is there any work around for it?

Thanks,
Abdul Hakkim




[flexcoders] Re: Problem with ModuleLoder

2009-01-23 Thread ilikeflex


If you want to do some modification to the first modules then you 
have to create different module loader for different modules. You 
cannot manipulate all the modules with the same module loder.


--- In flexcoders@yahoogroups.com, madhu_bmk madhu_...@... wrote:

 Hi Every One
 
 
 In my application am using ModuleLoder to load multiple no of
 modules, ok no problem with loading, its working cool and loading
 all the modules, but the child property is not handling all the
 modules. it just handling the last module only
 
 if am trying to do any modifications to my first module , its
 effecting to my last module
 
 How to over come this problem ?
 
 
 
 Regards
 -
 MadhuFlex





[flexcoders] Re: Problem with ModuleLoder

2009-01-23 Thread handitan
Hi Madhu,

What do you mean by child property? 
What does the child property need to do with all the modules?
What are the effects to the last module when you made modifications to
the 1st module?

--- In flexcoders@yahoogroups.com, madhu_bmk madhu_...@... wrote:

 Hi Every One
 
 
 In my application am using ModuleLoder to load multiple no of
 modules, ok no problem with loading, its working cool and loading
 all the modules, but the child property is not handling all the
 modules. it just handling the last module only
 
 if am trying to do any modifications to my first module , its
 effecting to my last module
 
 How to over come this problem ?
 
 
 
 Regards
 -
 MadhuFlex





[flexcoders] Help - Wierd Problem when putting Flex app into webpage

2009-01-23 Thread brucewhealton
Hello all,
  I've run into a rather strange situation with a website where I
am placing some flex applications, the swf files.  I've done this
before without any problems.  I've taken a Flex output, the
application and opened in Dreamweaver and then selected TemplateApply
Template, and the template used for the consistent look of the site is
applied without any problems.  
  However, with this new site I am working on, I move the
bin-release into a subfolder on the site.  Then I open the page in
Dreamweaver and select TemplateApply Template.  When I do that, the
site, which has every other page appear centered in the browser, now
is showing the page in the browser moved over to the left.  I've
scoured through the code and found nothing in the code for the Flex
application, the swf file that would over-ride the template that is
telling it to center the webpage in the browser.  I put the swf file,
and the code that goes with it into the mainContent editable area.
 I've not seen this happen ever before, where adding a file that
has flex on the page, (well, actually it is the output swf file and
the javascript that is added to the page) would force the page to
change it's centered position.  I've tried putting CSS code into that
page itself that would force it to center the content in the browser
window, like every other page on the site, but that did no good.
  The Flex application is set to Vertical and it does center the
content within the flex application.
 Here's the file location:
http://futurewave.biz/sandbox/ContactUs/ContactForm.html
 Could someone look at the code to see if you see what might do
this? View source would work.  Or suggest what I might want to check
to figure out why this is happening.  I have run into the same problem
when placing an entirely different application into the template for
this site.  This other example is
http://futurewave.biz/sandbox/AboutBMWhealton/
The pages should be centered like here: http://futurewave.biz/sandbox/

I'm baffled!
Please help,
Bruce
You c



[flexcoders] Re: XML Filtering

2009-01-23 Thread ilikeflex
Few months back i have the same requirement. I created function

getUniqueElements(workListErrorFlag,flag).

This function takes the XMLList and the xml node name for which you 
want the unique elements.In your case it should be filter .It may 
be possible that you have to make some small chnages.


private function getUniqueElements
(list:XMLList,xmlTag:String):XMLListCollection
{
var xmlCollection:XMLListCollection = new 
XMLListCollection();
var uniqueEvents:ArrayCollection = new 
ArrayCollection();

for each( var systemxml:XML in list)
{
var system:String = systemxml.children
().length()  1 ? systemxml[xmlTag].toString():String
(systemxml.toString());
if ( !uniqueEvents.contains(system) )
{
uniqueEvents.addItem(system);
xmlCollection.addItem(new XML
({xmlTag}{system}/{xmlTag}));
} 
}
return xmlCollection;

}


HTH
ilikeflex

--- In flexcoders@yahoogroups.com, markgoldin_2000 
markgoldin_2...@... wrote:

 For this simple XML:
 root
   data
filterf1/filter
value1/value
   /data
   data
filterf1/filter
value2/value
   /data
   data
filterf2/filter
value3/value
   /data
 /root
 is it possible to retrieve unique values of an element filter?
 
 Thanks





[flexcoders] Requesting images says its non secure?

2009-01-23 Thread tchredeemed
I was wondering if anyone could help me here..

We have a site that is SSL encrypted, and I embed a flex app inside
the html of it.

When I launch the app, it gives a popup (only in IE) saying a secure
site is requesting non secure information.  However, the only images I
request are requested by the url: https://www.oursite.com/files/.  

When I look at it in firebug, all requests are sent over https.

Anyone know why this might be happening?

/files/ is a symbolic link to http://files.gladhandle.com, which is
not secure.  However, in HTML, the popup is gone when we go to the
symbolic link, it is still there in the flash.



Re: [flexcoders] Pop-up Window issue

2009-01-23 Thread Eric Dunn
Any suggestions on how to stay out of this hole. I am using a button with a 
click and not using KEY_UP or KEY_DOWN or ENTER. This thing is driving me to 
drinking... 



Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 

- Original Message - 
From: Alex Harui aha...@adobe.com 
To: flexcoders@yahoogroups.com 
Sent: Friday, January 23, 2009 12:03:04 AM GMT -06:00 US/Canada Central 
Subject: RE: [flexcoders] Pop-up Window issue 









I’ve seen something like this where the events in the pipeline get sent to the 
underlying app and result in dispatching an event that opens the dialog. For 
example, if you used ENTER to close the window, if someone leans on the ENTER 
key too long it repeats and the second ENTER goes to the app that activates the 
button that opened the dialog. You can also get in this hole if you use 
KEY_DOWN and KEY_UP 





From: flexcoders@yahoogroups.com [ mailto:flexcoders@yahoogroups.com ] On 
Behalf Of Eric Dunn 
Sent: Thursday , January 22, 2009 12:21 PM 
To: flexcoders 
Subject: [flexcoders] Pop-up Window issue 







Not sure what is going on.. maybe someone can help .. 

Here is the set up: 

Main app with a manage button. The button opens a pop up TitleWindow where a 
user can add, update or delete schedules. Once a schedule has been added, 
updated or deleted, the hanged is pushed to the database and the window should 
close. I am passing variables in from the parent app. 

The Issue: The first schedule I delete works fine, the database gets updated 
and the window closes. Now if I try to open it again and delete another 
schedule, the window opens, the delete function works but the window does not 
close. While debugging, I see the correct varaibles passed in on window open, 
the delete function processes and then the variables revert to the orginal and 
the window never closes. I watch the code process the commands of close window 
but it never closes. The! thing that puzzles me most is the variables 
reverting... 

Anyone seen this or have an idea on how to resolve? 

Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 





[flexcoders] Re: Highlighted Portion of Tree Control on mouseOver

2009-01-23 Thread Amy
--- In flexcoders@yahoogroups.com, ilikeflex ilikef...@... wrote:

 Hi
 
 I have customized Tree Control using TreeItemRenderer. I want to 
show 
 disclosureClosedIcon and disclosureOpenIcon after the label. By 
 default these icons are displayed before the label. In the 
 updateDisplayList method of TreeItemRenderer i have the code below. 
 Using this code disclosureClosedIcon and disclosureOpenIcon are 
 displayed after label.
 
 override protected function updateDisplayList(unscaledWidth:Number, 
 unscaledHeight:Number):void{
   super.updateDisplayList(unscaledWidth, unscaledHeight);
   if (disclosureIcon)
   {
 disclosureIcon.x = (label.x+label.textWidth+20);
   } 
 }
 
 
 
 Now the problem i am facing is that when i put the mouse over the 
 tree control then the portion where the deafult icons were is also 
 selected( shows blue ). I do not want to have that portion blue. I 
 just want label,disclosureClosedIcon and disclosureOpenIcon to be 
 highlighted blue. 

You can draw something opaque there, but the problem would be in 
figuring out what color to make it.  Personally, I'd add a 
backgroundColor style property to the renderer and then use a CSS 
style declaration to set it if it's not the same as the component's 
background.  That backgroundColor will drive the color of your opaque 
shape.  If you have code like this:

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

Then when you use a CSS typeSelector, you'll get the color from that--
otherwise, you'll get the color from the parent Tree.

Your other choice is to extend Tree to change how it draws the 
rollovers.  I'm not sure how practical that is, given that the tree 
would have to look into your renderers and see how they're laid out.

HTH;

Amy



[flexcoders] Re: XML Filtering

2009-01-23 Thread Amy
--- In flexcoders@yahoogroups.com, ilikeflex ilikef...@... wrote:

 Few months back i have the same requirement. I created function
 
 getUniqueElements(workListErrorFlag,flag).
 
 This function takes the XMLList and the xml node name for which you 
 want the unique elements.In your case it should be filter .It may 
 be possible that you have to make some small chnages.
 
 
 private function getUniqueElements
 (list:XMLList,xmlTag:String):XMLListCollection
   {
   var xmlCollection:XMLListCollection = new 
 XMLListCollection();
   var uniqueEvents:ArrayCollection = new 
 ArrayCollection();
   
   for each( var systemxml:XML in list)
   {
   var system:String = systemxml.children
 ().length()  1 ? systemxml[xmlTag].toString():String
 (systemxml.toString());
   if ( !uniqueEvents.contains(system) )
   {
   uniqueEvents.addItem(system);
   xmlCollection.addItem(new XML
 ({xmlTag}{system}/{xmlTag}));
   } 
   }
   return xmlCollection;
   
   }
 
 
 HTH
 ilikeflex

Here's another take that uses an AS function in an e4X expression:
http://joshblog.net/2007/05/17/filter-xml-data-with-e4x-in-flash-part-
2/



[flexcoders] Re: Help - Wierd Problem when putting Flex app into webpage

2009-01-23 Thread valdhor
Your problem is with the style declaration:

style
body { margin: 0px; overflow:hidden }
/style

Removing this style declaration makes it centered again.


--- In flexcoders@yahoogroups.com, brucewhealton br...@... wrote:

 Hello all,
   I've run into a rather strange situation with a website where I
 am placing some flex applications, the swf files.  I've done this
 before without any problems.  I've taken a Flex output, the
 application and opened in Dreamweaver and then selected TemplateApply
 Template, and the template used for the consistent look of the site is
 applied without any problems.  
   However, with this new site I am working on, I move the
 bin-release into a subfolder on the site.  Then I open the page in
 Dreamweaver and select TemplateApply Template.  When I do that, the
 site, which has every other page appear centered in the browser, now
 is showing the page in the browser moved over to the left.  I've
 scoured through the code and found nothing in the code for the Flex
 application, the swf file that would over-ride the template that is
 telling it to center the webpage in the browser.  I put the swf file,
 and the code that goes with it into the mainContent editable area.
  I've not seen this happen ever before, where adding a file that
 has flex on the page, (well, actually it is the output swf file and
 the javascript that is added to the page) would force the page to
 change it's centered position.  I've tried putting CSS code into that
 page itself that would force it to center the content in the browser
 window, like every other page on the site, but that did no good.
   The Flex application is set to Vertical and it does center the
 content within the flex application.
  Here's the file location:
 http://futurewave.biz/sandbox/ContactUs/ContactForm.html
  Could someone look at the code to see if you see what might do
 this? View source would work.  Or suggest what I might want to check
 to figure out why this is happening.  I have run into the same problem
 when placing an entirely different application into the template for
 this site.  This other example is
 http://futurewave.biz/sandbox/AboutBMWhealton/
 The pages should be centered like here: http://futurewave.biz/sandbox/
 
 I'm baffled!
 Please help,
 Bruce
 You c





Re: [flexcoders] Files converted in Mac not recognizable

2009-01-23 Thread Howard Fore
I'm confused where the error is occurring, several questions:

- Is the Mac-app-converter giving you an error or is your FileUploader
class giving it?
- What is the FileUploader class in your code below, what's it doing?
- What application are you using to convert the files on the Mac and what is
the format it is converting from/to?

If the error is simply something about the file extension, you can just
change that on the Mac-processed file to test it. On the other hand if your
code is properly receiving the file but the internal format of it is
different that expected (which why I asked about the tool you're using for
conversion and the from/to formats) changing the extension should have no
effect.

On Fri, Jan 23, 2009 at 4:56 AM, Joy joy9...@gmail.com wrote:

 Hi
  I have a Flex-app MP3 uploader, which works fine in Windows-OS. But
 when I 'convert' some MP3 files in Mac using some Mac-app-converter,
 it says File not supported (custom err msg).
 Is it something to do with the file-extension, when converted in
 Mac-based-app? M not sure.

 How do I overcome this issue? Any suggestions?

 My code goes something like this:
 common:FileUploader id=musicUploader width=100%
 fileUploaderFilter={new Array(new FileFilter('Audio Files(.mp3, .m4a,
 .wma, .wav, .aac)', '*.mp3;*.m4a;*.wma;*.wav;*.aac'))}
 fileUploadURL=uploadAudio.php fileTypeName=audiofile/

 Suggest please.
 Thanks in advance...


 

 --
 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






-- 
Howard Fore, howard.f...@hofo.com
The universe tends toward maximum irony. Don't push it. - Jeff Atwood


[flexcoders] Structuring a medium sized application

2009-01-23 Thread Sceneshift

Hey guys,

I'm creating a fairly sizable, modular application which is great, I really
love modules. One problem I am having is how to go about structuring my
projects, right down to the folder structure.

Can anyone share their insight into how they structure their applications,
whats the norm and what to avoid? 

I'm staying away from Cairngorm, because I feel it's a little overkill for
an application like this.

Thanks!
-- 
View this message in context: 
http://www.nabble.com/Structuring-a-medium-sized-application-tp21627498p21627498.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Re: Extending the DataGrid so it supports an editable row

2009-01-23 Thread Amy
--- In flexcoders@yahoogroups.com, João joao.sale...@... wrote:

 Hi,
 
 it seems that currently a DataGrid only supports one itemEditor
 simultaneously, applied to one cell. We are currently in need to 
have
 one item editor for each cell in one line.
 
 In our application it makes complete sense that the DataGrid rows 
have
 the state being edited, so when clicked/rollover, every cell on 
that
 row turns into a specific Flex control (combo, datefield, etc). 
 This means that we need to extend the DataGrid and implement this 
feature.
 Apparently, it seems that the DataGrid is composed of an array of
 DataGridColumns, so it's not aware of rows - which complicates 
things.
 I am a bit stuck with this... can someone point me a direction?

I would think that if you just had an isBeingEdited property on your 
Value Objects, that would update the data property of all the 
renderers that are accessing that row's information (i.e. the entire 
row).

HTH;

Amy



Re: [flexcoders] New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Jon Bradley


On Jan 23, 2009, at 11:16 AM, Sajid Hussain wrote:

please review our company profile looking for favorable response   
as we are start up with tough time


Hour Rate : $12+ US


... no wonder a lot of developers are having a tough time finding  
work in the US (not all, but a lot).


- j

Re: [flexcoders] New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Sajid Hussain


Yup ,I cant say about us but here now every developer  guy is calling him as 
flex guy  ;)



From: Jon Bradley jbrad...@postcentral.com
To: flexcoders@yahoogroups.com
Sent: Friday, January 23, 2009 8:23:01 AM
Subject: Re: [flexcoders] New Web 2.0 Company looking for Chalnging work 
(www.dacoders.com)




On Jan 23, 2009, at 11:16 AM, Sajid Hussain wrote:

please review our company profile looking for favorable response  as we are 
start up with tough time

Hour Rate : $12+ US

... no wonder a lot of developers are having a tough time finding work in the 
US (not all, but a lot).

- j


  

Re: [flexcoders] Announcing a Flex Community Feedback Forum

2009-01-23 Thread Alan K
My impression is that this meeting will be about how the open source  
Flex SDK 'works'.  If anyone here is interested in contributing to the  
SDK, or has input on making the open source SDK more successful, this  
is the place to go.


The meeting is open, free and it will cool to hear people's thought on  
improving Flex.


Alan


On Jan 23, 2009, at 3:23 AM, Gregor Kiddie wrote:

 But is there any guidance on what questions are off limits, area’s  
to focus on, etc, as I think a lot of people will come wanting to  
talk about AIR / Flash Player rather than the SDK strictly.




[flexcoders] ArrayCollection COLLECTION_CHANGE event doesn't fire right away?

2009-01-23 Thread Keith Hughitt
Hi all,

I'm trying to detect changes in an ArrayCollection which is bound to a
DataGrid with some editable components. For some reason, however, the
event only seems to fire when the focus is change. For example, I
check a check-box, and nothing happens. When I then click somewhere
outside of the checkbox, the event is fired. Furthermore, If I check
the box twice before changing focus, nothing at all happens.

Is is possible that the event is only fired when the DataCollection is
refreshed, and that the refresh is not occurring until the focus changes?

Here is an example of what I'm doing (colors is the id for the
DataGrid associated with the colors ArrayC:

import mx.collections.ArrayCollection;
import mx.events.CollectionEvent;
import mx.controls.Alert;

[Bindable]
private var colors:ArrayCollection = new ArrayCollection([
{color:Red, display: true},
{color:Blue, display: true},
{color:Green, display: true}
]);

// Watch for changes to DataGrid CheckBox's
private function init():void {
colors.addEventListener(
CollectionEvent.COLLECTION_CHANGE, onChange
);
}

public function onChange(evt:Event):void {
Alert.show(Datagrid altered!);
}

Any ideas? Any advice would be greatly appreciated.


Thanks!
Keith






re: [flexcoders] New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Wally Kolcz

Social-Networking,
Real Estate, E-Learning Applications, E-Commerce, Financial
Applications and Real Time Communication Applications as Live
Audio/Video Streaming and Broadcasting for E-Learning or Business
Meetings, Instant Messengers and Web Phone...wow, that a very broad scope of 
specialty. Which 'Web 2.0' are you referring to? 

Doesn't $12/hr seem kinda low? 
 Is that you pay rate or bill rate?

Well, Good luck with all that!



From: Sajid Hussain enchanter_...@yahoo.com
Sent: Friday, January 23, 2009 8:16 AM
To: Code flexcoders@yahoogroups.com, sajidun...@gmail.com, 
a...@evolutionstaffing.com, Andrew Guldman aguld...@fluid.com, natasha baden 
natasha.ba...@explorerec.com, Bill Schultz b...@sandhillsearch.com, Evelyn 
Bui evelyn@genp.com, aaron.lu...@oxford-consulting.com, 
de...@jellybarn.com, Hilary Douwes hdou...@enforme.com, Evelyn Bui 
evelyn@genp.com, Greg email83...@yahoo.com, gomrond 
z...@zackford.com, matthewrand...@computerpeople.co.uk, Morten William 
Märcher i...@deluxemedia.dk, Reza Sadafi rsad...@deepblueworlds.com, 
Sailaja Velisetty svelise...@gemscorp.com, tom.chiverton 
tom.chiver...@halliwells.com, Ti, i...@joppweb.nl, 
patrick.mcdonn...@hudson.com, paul p...@pulsoft.co.uk, Abdul Hafiz Ibrahim 
ab...@hafeezsystems.com, hir...@digitalprimates.net
Subject: [flexcoders] New Web 2.0 Company looking for Chalnging work 
(www.dacoders.com) 


Hi ,

With this email you will find my company profile , here is my company summary 
www.dacoders.com (Coming Soon )
 DACODERS is a team of professionals with Information Technology expertise 
ranging from Software Engineers, Web 2.0 Developers, Web Designers and Graphic 
Artists having experience of developing software solutions for Web, Desktop and 
Mobile Applications.DACODERS is especially teamed up with professional Gurus of 
Rich Internet Applications (RIA) developers who take benefit of major RIA 
solutions for Social-Networking, Real Estate, E-Learning Applications, 
E-Commerce,
 Financial Applications and Real Time Communication Applications as Live 
Audio/Video Streaming and Broadcasting for E-Learning or Business Meetings, 
Instant Messengers and Web Phone.

Our Technical Skills are Flex , Flash , Red5 ,Amfphp ,PRADO , Propel , ZendAMF 
etc ..

please review our company profile looking for favorable response  as we are 
start up with tough time

Hour Rate : $12+ US






Re: [flexcoders] New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Fotis Chatzinikos
Wally, hourly rate depends on the country the developers are based...

In some countries 12$ will get you fine for a month or more... :-)

On Fri, Jan 23, 2009 at 6:39 PM, Wally Kolcz wko...@isavepets.com wrote:

Social-Networking, Real Estate, E-Learning Applications, E-Commerce,
 Financial Applications and Real Time Communication Applications as Live
 Audio/Video Streaming and Broadcasting for E-Learning or Business Meetings,
 Instant Messengers and Web Phone...wow, that a very broad scope of
 specialty. Which 'Web 2.0' are you referring to?

 Doesn't $12/hr seem kinda low? Is that you pay rate or bill rate?

  Well, Good luck with all that!

  --
 *From*: Sajid Hussain enchanter_...@yahoo.com
 *Sent*: Friday, January 23, 2009 8:16 AM
 *To*: Code flexcoders@yahoogroups.com, sajidun...@gmail.com,
 a...@evolutionstaffing.com, Andrew Guldman aguld...@fluid.com, natasha
 baden natasha.ba...@explorerec.com, Bill Schultz 
 b...@sandhillsearch.com, Evelyn Bui evelyn@genp.com,
 aaron.lu...@oxford-consulting.com, de...@jellybarn.com, Hilary Douwes 
 hdou...@enforme.com, Evelyn Bui evelyn@genp.com, Greg 
 email83...@yahoo.com, gomrond z...@zackford.com,
 matthewrand...@computerpeople.co.uk, Morten William Märcher 
 i...@deluxemedia.dk, Reza Sadafi rsad...@deepblueworlds.com, Sailaja
 Velisetty svelise...@gemscorp.com, tom.chiverton 
 tom.chiver...@halliwells.com, Ti, i...@joppweb.nl,
 patrick.mcdonn...@hudson.com, paul p...@pulsoft.co.uk, Abdul Hafiz
 Ibrahim ab...@hafeezsystems.com, hir...@digitalprimates.net
 *Subject*: [flexcoders] New Web 2.0 Company looking for Chalnging work (
 www.dacoders.com)

Hi ,

 With this email you will find my company profile , here is my company
 summary
 www.dacoders.com (Coming Soon )
 DACODERS is a team of professionals with Information Technology expertise
 ranging from Software Engineers, Web 2.0 Developers, Web Designers and
 Graphic Artists having experience of developing software solutions for Web,
 Desktop and Mobile Applications.
 DACODERS is especially teamed up with professional Gurus of Rich Internet
 Applications (RIA) developers who take benefit of major RIA solutions for
 Social-Networking, Real Estate, E-Learning Applications, E-Commerce,
 Financial Applications and Real Time Communication Applications as Live
 Audio/Video Streaming and Broadcasting for E-Learning or Business Meetings,
 Instant Messengers and Web Phone.

 Our Technical Skills are Flex , Flash , Red5 ,Amfphp ,PRADO , Propel ,
 ZendAMF etc ..

 please review our company profile looking for favorable response  as we are
 start up with tough time

 Hour Rate : $12+ US


  




-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,


Re: [flexcoders] New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Wally Kolcz
Ahhh, good point. Damn me and my American attitude... lol


From: Fotis Chatzinikos fotis.chatzini...@gmail.com
Sent: Friday, January 23, 2009 8:46 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] New Web 2.0 Company looking for Chalnging work  
(www.dacoders.com) 

Wally, hourly rate depends on the country the developers are based...

In some countries 12$ will get you fine for a month or more... :-)

On Fri, Jan 23, 2009 at 6:39 PM, Wally Kolcz wko...@isavepets.com wrote:

Social-Networking,
Real Estate, E-Learning Applications, E-Commerce, Financial
Applications and Real Time Communication Applications as Live
Audio/Video Streaming and Broadcasting for E-Learning or Business
Meetings, Instant Messengers and Web Phone...wow, that a very broad scope of 
specialty. Which 'Web 2.0' are you referring to? 

Doesn't $12/hr seem kinda low?  Is that you pay rate or bill rate?

 Well, Good luck with all that!


From: Sajid Hussain enchanter_...@yahoo.com
Sent: Friday, January 23, 2009 8:16 AM
To: Code flexcoders@yahoogroups.com, sajidun...@gmail.com, 
a...@evolutionstaffing.com, Andrew Guldman aguld...@fluid.com, natasha baden 
natasha.ba...@explorerec.com, Bill Schultz b...@sandhillsearch.com, Evelyn 
Bui evelyn@genp.com, aaron.lu...@oxford-consulting.com, 
de...@jellybarn.com, Hilary Douwes hdou...@enforme.com, Evelyn Bui 
evelyn@genp.com, Greg email83...@yahoo.com, gomrond 
z...@zackford.com, matthewrand...@computerpeople.co.uk, Morten William 
Märcher i...@deluxemedia.dk, Reza Sadafi rsad...@deepblueworlds.com, 
Sailaja Velisetty svelise...@gemscorp.com, tom.chiverton 
tom.chiver...@halliwells.com, Ti, i...@joppweb.nl, 
patrick.mcdonn...@hudson.com, paul p...@pulsoft.co.uk, Abdul Hafiz Ibrahim 
ab...@hafeezsystems.com, hir...@digitalprimates.net
Subject: [flexcoders] New Web 2.0 Company looking for Chalnging work 
(www.dacoders.com) 

Hi ,

With this email you will find my company profile , here is my company summary 
www.dacoders.com (Coming Soon )
 DACODERS is a team of professionals with Information Technology expertise 
ranging from Software Engineers, Web 2.0 Developers, Web Designers and Graphic 
Artists having experience of developing software solutions for Web, Desktop and 
Mobile Applications.DACODERS is especially teamed up with professional Gurus of 
Rich Internet Applications (RIA) developers who take benefit of major RIA 
solutions for Social-Networking, Real Estate, E-Learning Applications, 
E-Commerce,
 Financial Applications and Real Time Communication Applications as Live 
Audio/Video Streaming and Broadcasting for E-Learning or Business Meetings, 
Instant Messengers and Web Phone.

Our Technical Skills are Flex , Flash , Red5 ,Amfphp ,PRADO , Propel , ZendAMF 
etc ..

please review our company profile looking for favorable response  as we are 
start up with tough time

Hour Rate : $12+ US

-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com, 





Re: [flexcoders] very odd error

2009-01-23 Thread Maciek Sakrejda
This can also happen when you link against a certain class, but the
version of that class supplied at runtime has changed. E.g.,

1. you build module foo.swf against application bar.swf with
load-externs
2. your module uses class Baz from bar.swf
3. you rebuild bar.swf, changing Baz slightly
4. without rebuilding foo.swf, you run bar.swf (which loads foo.swf)

When foo.swf attempts to use Baz, you'll get that error, because Baz
does not look like what bar.swf thinks it looks like.

(Disclaimer: I'm not sure if this exact sequence replicates this issue--
I'm extrapolating from my Java experience here--but I've run into this
in Flex previously under similar circumstances)

-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: nwebb neilw...@gmail.com
Reply-To: flexcoders@yahoogroups.com
To: flexcoders flexcoders@yahoogroups.com
Subject: [flexcoders] very odd error
Date: Fri, 23 Jan 2009 12:55:50 +

Erm

TypeError: Error #1034: Type Coercion failed: cannot convert
Tools.dal.dataObjects::dataoutsourcedmod...@9f82091 to
Tools.dal.dataObjects.dataOutsourcedModels

Done all the basic checks (classname, package, constructor). There are
no two objects of the same name . Anyone else seen Flex do something
like this before?




 




Re: [flexcoders] New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Fotis Chatzinikos
Yap, this is the advantage of outsourcing in India, or elsewere...

The cons? Many... If you ever tried it you know all the problems involved,
and usually from prior experience, there are many...


On Fri, Jan 23, 2009 at 6:49 PM, Wally Kolcz wko...@isavepets.com wrote:

   Ahhh, good point. Damn me and my American attitude... lol

 --
 *From*: Fotis Chatzinikos fotis.chatzini...@gmail.com
 *Sent*: Friday, January 23, 2009 8:46 AM
 *To*: flexcoders@yahoogroups.com
 *Subject*: Re: [flexcoders] New Web 2.0 Company looking for Chalnging work
 (www.dacoders.com)

 Wally, hourly rate depends on the country the developers are based...

 In some countries 12$ will get you fine for a month or more... :-)

 On Fri, Jan 23, 2009 at 6:39 PM, Wally Kolcz wko...@isavepets.com wrote:

 Social-Networking, Real Estate, E-Learning Applications, E-Commerce,
 Financial Applications and Real Time Communication Applications as Live
 Audio/Video Streaming and Broadcasting for E-Learning or Business Meetings,
 Instant Messengers and Web Phone...wow, that a very broad scope of
 specialty. Which 'Web 2.0' are you referring to?

 Doesn't $12/hr seem kinda low? Is that you pay rate or bill rate?

 Well, Good luck with all that!

 --
 *From*: Sajid Hussain enchanter_...@yahoo.com
 *Sent*: Friday, January 23, 2009 8:16 AM
 *To*: Code flexcoders@yahoogroups.com, sajidun...@gmail.com,
 a...@evolutionstaffing.com, Andrew Guldman aguld...@fluid.com, natasha
 baden natasha.ba...@explorerec.com, Bill Schultz 
 b...@sandhillsearch.com, Evelyn Bui evelyn@genp.com,
 aaron.lu...@oxford-consulting.com, de...@jellybarn.com, Hilary Douwes 
 hdou...@enforme.com, Evelyn Bui evelyn@genp.com, Greg 
 email83...@yahoo.com, gomrond z...@zackford.com,
 matthewrand...@computerpeople.co.uk, Morten William Märcher 
 i...@deluxemedia.dk, Reza Sadafi rsad...@deepblueworlds.com, Sailaja
 Velisetty svelise...@gemscorp.com, tom.chiverton 
 tom.chiver...@halliwells.com, Ti, i...@joppweb.nl,
 patrick.mcdonn...@hudson.com, paul p...@pulsoft.co.uk, Abdul Hafiz
 Ibrahim ab...@hafeezsystems.com, hir...@digitalprimates.net
 *Subject*: [flexcoders] New Web 2.0 Company looking for Chalnging work (
 www.dacoders.com)

 Hi ,

 With this email you will find my company profile , here is my company
 summary
 www.dacoders.com (Coming Soon )
 DACODERS is a team of professionals with Information Technology expertise
 ranging from Software Engineers, Web 2.0 Developers, Web Designers and
 Graphic Artists having experience of developing software solutions for Web,
 Desktop and Mobile Applications.
 DACODERS is especially teamed up with professional Gurus of Rich Internet
 Applications (RIA) developers who take benefit of major RIA solutions for
 Social-Networking, Real Estate, E-Learning Applications, E-Commerce,
 Financial Applications and Real Time Communication Applications as Live
 Audio/Video Streaming and Broadcasting for E-Learning or Business Meetings,
 Instant Messengers and Web Phone.

 Our Technical Skills are Flex , Flash , Red5 ,Amfphp ,PRADO , Propel ,
 ZendAMF etc ..

 please review our company profile looking for favorable response  as we
 are start up with tough time

 Hour Rate : $12+ US





 --
 Fotis Chatzinikos, Ph.D.
 Founder,
 Phinnovation
 fotis.chatzini...@gmail.com,


  




-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,


Re: [flexcoders] New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Paul Andrews
So, should we all be submitting adverts here?  ;-)

I'll prepare my 2GB PDF right now..

Re: [flexcoders] New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Sajid Hussain
well that was not my idea behind this posting , I was like to be part of some 
experience team .its very clear this group is specifically for flex developers 

-s



From: Paul Andrews p...@ipauland.com
To: flexcoders@yahoogroups.com
Sent: Friday, January 23, 2009 8:56:31 AM
Subject: Re: [flexcoders] New Web 2.0 Company looking for Chalnging work 
(www.dacoders.com)


So, should we all be submitting adverts here?  
;-)
 
I'll prepare my 2GB PDF right 
now..


  

Re: [flexcoders] Pop-up Window issue

2009-01-23 Thread Haykel BEN JEMIA
Any code to test this behavior?

Haykel Ben Jemia

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




On Fri, Jan 23, 2009 at 3:52 PM, Eric Dunn ed...@adpt-tech.com wrote:

   Any suggestions on how to stay out of this hole. I am using a button
 with a click and not using KEY_UP or KEY_DOWN or ENTER. This thing is
 driving me to drinking...



 Eric W Dunn
 Adaption Technologies
 281-465-3326
 ed...@adpt-tech.com

 - Original Message -
 From: Alex Harui aha...@adobe.com
 To: flexcoders@yahoogroups.com
 Sent: Friday, January 23, 2009 12:03:04 AM GMT -06:00 US/Canada Central
 Subject: RE: [flexcoders] Pop-up Window issue

I've seen something like this where the events in the pipeline get sent
 to the underlying app and result in dispatching an event that opens the
 dialog.  For example, if you used ENTER to close the window, if someone
 leans on the ENTER key too long it repeats and the second ENTER goes to the
 app that activates the button that opened the dialog.  You can also get in
 this hole if you use KEY_DOWN and KEY_UP



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Eric Dunn
 *Sent:* Thursday, January 22, 2009 12:21 PM
 *To:* flexcoders
 *Subject:* [flexcoders] Pop-up Window issue



 Not sure what is going on.. maybe someone can help ..

 Here is the set up:

 Main app with a manage button. The button opens a pop up TitleWindow
 where a user can add, update or delete schedules.  Once a schedule has been
 added, updated or deleted,  the hanged is pushed to the database and the
 window should close. I am passing variables in from the parent app.

 The Issue:  The first schedule I delete works fine, the database gets
 updated and the window closes. Now if I try to open it again and delete
 another  schedule, the window opens, the delete function works but the
 window does not close.  While debugging, I see the correct varaibles passed
 in on window open, the delete function processes and then the variables
 revert to the orginal and the window never closes. I watch the code process
 the commands of close window but it never closes. The! thing that puzzles me
 most is the variables reverting...

 Anyone seen this or have an idea on how to resolve?

 Eric W Dunn
 Adaption Technologies
 281-465-3326 callto:+1281-465-3326
 ed...@adpt-tech.com

 



Re: [flexcoders] New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Wally Kolcz
That's why we don't outsource.


From: Fotis Chatzinikos fotis.chatzini...@gmail.com
Sent: Friday, January 23, 2009 8:54 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] New Web 2.0 Company looking for Chalnging work  
(www.dacoders.com) 

Yap, this is the advantage of outsourcing in India, or elsewere...

The cons? Many... If you ever tried it you know all the problems involved, and 
usually from prior experience, there are many...

On Fri, Jan 23, 2009 at 6:49 PM, Wally Kolcz wko...@isavepets.com wrote:

Ahhh, good point. Damn me and my American attitude... lol


From: Fotis Chatzinikos fotis.chatzini...@gmail.com
Sent: Friday, January 23, 2009 8:46 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] New Web 2.0 Company looking for Chalnging work  
(www.dacoders.com) 

Wally, hourly rate depends on the country the developers are based...

In some countries 12$ will get you fine for a month or more... :-)

On Fri, Jan 23, 2009 at 6:39 PM, Wally Kolcz wko...@isavepets.com wrote:

Social-Networking,
Real Estate, E-Learning Applications, E-Commerce, Financial
Applications and Real Time Communication Applications as Live
Audio/Video Streaming and Broadcasting for E-Learning or Business
Meetings, Instant Messengers and Web Phone...wow, that a very broad scope of 
specialty. Which 'Web 2.0' are you referring to? 

Doesn't $12/hr seem kinda low?  Is that you pay rate or bill rate?

 Well, Good luck with all that!


From: Sajid Hussain enchanter_...@yahoo.com
Sent: Friday, January 23, 2009 8:16 AM
To: Code flexcoders@yahoogroups.com, sajidun...@gmail.com, 
a...@evolutionstaffing.com, Andrew Guldman aguld...@fluid.com, natasha baden 
natasha.ba...@explorerec.com, Bill Schultz b...@sandhillsearch.com, Evelyn 
Bui evelyn@genp.com, aaron.lu...@oxford-consulting.com, 
de...@jellybarn.com, Hilary Douwes hdou...@enforme.com, Evelyn Bui 
evelyn@genp.com, Greg email83...@yahoo.com, gomrond 
z...@zackford.com, matthewrand...@computerpeople.co.uk, Morten William 
Märcher i...@deluxemedia.dk, Reza Sadafi rsad...@deepblueworlds.com, 
Sailaja Velisetty svelise...@gemscorp.com, tom.chiverton 
tom.chiver...@halliwells.com, Ti, i...@joppweb.nl, 
patrick.mcdonn...@hudson.com, paul p...@pulsoft.co.uk, Abdul Hafiz Ibrahim 
ab...@hafeezsystems.com, hir...@digitalprimates.net
Subject: [flexcoders] New Web 2.0 Company looking for Chalnging work 
(www.dacoders.com) 

Hi ,

With this email you will find my company profile , here is my company summary 
www.dacoders.com (Coming Soon )
 DACODERS is a team of professionals with Information Technology expertise 
ranging from Software Engineers, Web 2.0 Developers, Web Designers and Graphic 
Artists having experience of developing software solutions for Web, Desktop and 
Mobile Applications.DACODERS is especially teamed up with professional Gurus of 
Rich Internet Applications (RIA) developers who take benefit of major RIA 
solutions for Social-Networking, Real Estate, E-Learning Applications, 
E-Commerce,
 Financial Applications and Real Time Communication Applications as Live 
Audio/Video Streaming and Broadcasting for E-Learning or Business Meetings, 
Instant Messengers and Web Phone.

Our Technical Skills are Flex , Flash , Red5 ,Amfphp ,PRADO , Propel , ZendAMF 
etc ..

please review our company profile looking for favorable response  as we are 
start up with tough time

Hour Rate : $12+ US

-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com, 

-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com, 





Re: [flexcoders] New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Wally Kolcz
I don't have a business to promote. :-(

I feel left out.


From: Paul Andrews p...@ipauland.com
Sent: Friday, January 23, 2009 8:57 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] New Web 2.0 Company looking for Chalnging work 
(www.dacoders.com) 

So, should we all be submitting adverts here?  
;-)   I'll prepare my 2GB PDF right 
now.. 





RE: [flexcoders] needed help...

2009-01-23 Thread Tracy Spratt
First, please use a descriptive subject for all posts.  need help is
just noise, 99% of posts need help.  Many of us use the subject to
decide whether or not we can help with a post.

 

Now, are you having trouble with drag and drop?  What trouble?  How far
have you gotten, what is and is not working?

 

Have you looked at the documents for the Adding Drag and Drop
manually?

 

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of venkatesh murali
Sent: Thursday, January 22, 2009 11:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] needed help...

 

hi all.. 

 i need a help in adobe flex 3.. 

 requirement: 

  i have a datechooser.. in which i can select dates.. this is in 
built in it.. 

  now i need to drag n select some dates n save it in an array.. 

 i have made a custom component of selecting multiple dates from a
datechooser without using ctrl key...

but i dont get logic to do dragging though i tried with drag events adn
mouse events...

 can anyone help me ..

plz reply to this mail..

thanks in advance...

Regards,
Venky.. 

 



RE: [flexcoders] New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Tracy Spratt
Personally, a single post about a new Flex company or opportunity or
product does not bother me, and is sometimes useful.  And I am now
putting a little marketing note in my signature these days!

 

We shoud point out to the OP that the yahoogroups flexjobs is
specially intended for such use.

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Wally Kolcz
Sent: Friday, January 23, 2009 12:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] New Web 2.0 Company looking for Chalnging work
(www.dacoders.com)

 

I don't have a business to promote. :-(

I feel left out.



From: Paul Andrews p...@ipauland.com
Sent: Friday, January 23, 2009 8:57 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] New Web 2.0 Company looking for Chalnging work
(www.dacoders.com)

So, should we all be submitting adverts here?  ;-)

 

I'll prepare my 2GB PDF right now..

 

 



RE: [flexcoders] ArrayCollection COLLECTION_CHANGE event doesn't fire right away?

2009-01-23 Thread Alex Harui
DG editing is session and row-based by default.  Data isn't written back to the 
data object until you change cells, and notifications are blocked until you 
change rows.

For click-based cells like checkbox, I usually add a change handler that sets 
the field right away.

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Keith Hughitt
Sent: Friday, January 23, 2009 8:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ArrayCollection COLLECTION_CHANGE event doesn't fire 
right away?


Hi all,

I'm trying to detect changes in an ArrayCollection which is bound to a
DataGrid with some editable components. For some reason, however, the
event only seems to fire when the focus is change. For example, I
check a check-box, and nothing happens. When I then click somewhere
outside of the checkbox, the event is fired. Furthermore, If I check
the box twice before changing focus, nothing at all happens.

Is is possible that the event is only fired when the DataCollection is
refreshed, and that the refresh is not occurring until the focus changes?

Here is an example of what I'm doing (colors is the id for the
DataGrid associated with the colors ArrayC:

import mx.collections.ArrayCollection;
import mx.events.CollectionEvent;
import mx.controls.Alert;

[Bindable]
private var colors:ArrayCollection = new ArrayCollection([
{color:Red, display: true},
{color:Blue, display: true},
{color:Green, display: true}
]);

// Watch for changes to DataGrid CheckBox's
private function init():void {
colors.addEventListener(
CollectionEvent.COLLECTION_CHANGE, onChange
);
}

public function onChange(evt:Event):void {
Alert.show(Datagrid altered!);
}

Any ideas? Any advice would be greatly appreciated.

Thanks!
Keith





[flexcoders] Re: removePopUp on rollout, but not if rollOver popup itself? - solved

2009-01-23 Thread Amy
--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote:

 Yeak, setting flags works, so problem solved, but I'd like to hear any
 other suggestions.

Could you set mouseEnabled to false on the popup?



[flexcoders] Flex Builder debugger problems

2009-01-23 Thread Curtis Barrett
I'm running into an odd problem with the Flex Builder debugger.  About
4/5ths of the times that I click the debug button I get a nice, white IE
page.  It has the loading icon down at the bottom and aside from that,
nothing.  When I click stop in flex builder the page goes away and when I
click disconnect then the page finishes loading my flex app.  It is starting
to get particularly frustrating when I have to stop it and relaunch it 5-9
times before I get a working window.  Once it comes up all is fine and
dandy.

Has anyone had anything similar happen?  I am on a trial version of flex
builder and I have reinstalled it to see if it would help at all.


Thanks in advanced,
Curtis Barrett


RE: [flexcoders] very odd error

2009-01-23 Thread Alex Harui
More likely, the shared code problem as described in the modules presentation 
on my blog.   It can be the very same bits, but in a different appdomain and 
then you'll see problems like this.

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Maciek Sakrejda
Sent: Friday, January 23, 2009 8:55 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] very odd error


This can also happen when you link against a certain class, but the
version of that class supplied at runtime has changed. E.g.,

1. you build module foo.swf against application bar.swf with
load-externs
2. your module uses class Baz from bar.swf
3. you rebuild bar.swf, changing Baz slightly
4. without rebuilding foo.swf, you run bar.swf (which loads foo.swf)

When foo.swf attempts to use Baz, you'll get that error, because Baz
does not look like what bar.swf thinks it looks like.

(Disclaimer: I'm not sure if this exact sequence replicates this issue--
I'm extrapolating from my Java experience here--but I've run into this
in Flex previously under similar circumstances)

--
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: nwebb neilw...@gmail.commailto:neilwebb%40gmail.com
Reply-To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
To: flexcoders flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
Subject: [flexcoders] very odd error
Date: Fri, 23 Jan 2009 12:55:50 +

Erm

TypeError: Error #1034: Type Coercion failed: cannot convert
Tools.dal.dataObjects::dataoutsourcedmod...@9f82091 to
Tools.dal.dataObjects.dataOutsourcedModels

Done all the basic checks (classname, package, constructor). There are
no two objects of the same name . Anyone else seen Flex do something
like this before?



RE: [flexcoders] Pop-up Window issue

2009-01-23 Thread Alex Harui
Have a drink, then set break points on the method that pops up the dialog to 
make sure it is in fact being re-launched on close and examine the call stack 
to see why.  Once we know why it will be easier to suggest fixes.

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Eric Dunn
Sent: Friday, January 23, 2009 6:52 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Pop-up Window issue

Any suggestions on how to stay out of this hole. I am using a button with a 
click and not using KEY_UP or KEY_DOWN or ENTER. This thing is driving me to 
drinking...



Eric W Dunn
Adaption Technologies
281-465-3326
ed...@adpt-tech.com

- Original Message -
From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com
Sent: Friday, January 23, 2009 12:03:04 AM GMT -06:00 US/Canada Central
Subject: RE: [flexcoders] Pop-up Window issue
I’ve seen something like this where the events in the pipeline get sent to the 
underlying app and result in dispatching an event that opens the dialog.  For 
example, if you used ENTER to close the window, if someone leans on the ENTER 
key too long it repeats and the second ENTER goes to the app that activates the 
button that opened the dialog.  You can also get in this hole if you use 
KEY_DOWN and KEY_UP

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Eric Dunn
Sent: Thursday, January 22, 2009 12:21 PM
To: flexcoders
Subject: [flexcoders] Pop-up Window issue

Not sure what is going on.. maybe someone can help ..

Here is the set up:

Main app with a manage button. The button opens a pop up TitleWindow where a 
user can add, update or delete schedules.  Once a schedule has been added, 
updated or deleted,  the hanged is pushed to the database and the window should 
close. I am passing variables in from the parent app.

The Issue:  The first schedule I delete works fine, the database gets updated 
and the window closes. Now if I try to open it again and delete another  
schedule, the window opens, the delete function works but the window does not 
close.  While debugging, I see the correct varaibles passed in on window open, 
the delete function processes and then the variables revert to the orginal and 
the window never closes. I watch the code process the commands of close window 
but it never closes. The! thing that puzzles me most is the variables 
reverting...

Anyone seen this or have an idea on how to resolve?

Eric W Dunn
Adaption Technologies
281-465-3326callto:+1281-465-3326
ed...@adpt-tech.com



RE: [flexcoders] itemRenderer data question (recycling)

2009-01-23 Thread Alex Harui
If there aren't going to me more than a few dozen funds you can use repeater 
and avoid recycling.  Otherwise, you'll have to live with recycling and add 
other data like when it changed last so you can determine whether to color it 
or not.

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of nwebb
Sent: Friday, January 23, 2009 12:54 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] itemRenderer data question (recycling)


Yes sorry - I was scant with the details because I know people don't read long 
posts.

I'm just using a standard array for the dp rather than an ArrayCollection and I 
am overwriting the array each time. Eventually I think that each bundle may 
have completely different items (they are actually funds - this is a financial 
app) , but in my test data I just have 4 funds. It was a question out of 
curiosity more than anything else. I was trying to knock something together 
quickly as this is just a prototype screen.

at the moment (in the test data) I have the same 4 funds for each bundle. 
From the UIDs I get, it looks like the renderers get recycled and always in the 
same order - ie the renderer that was last used to display item4 is then used 
to display item1 the next time around. If you knew your List would never 
scroll, and you had the same four items, I wondered if there was a way to turn 
off recycling, or at least get the renderer in position1 to be in position1 
again after a refresh.


n.b. Currently I send in the old percent  new percent, the override set data 
and determine the state using those values, so the uissue is solved, but 
curious to know if there is a way to get the same renderers being reused in the 
same order for a scenario like i described.
On Thu, Jan 22, 2009 at 6:43 PM, Alex Harui 
aha...@adobe.commailto:aha...@adobe.com wrote:

That didn't quite make sense.  What is the dataprovider for the % list?  Why 
would different bundles have data items with the same UID?  Are you resetting 
the dataProvider when someone selects a different bundle?



If the dp for the % list is a set of fields computed from the selected bundle, 
don't reset the dp and have those items in the dp dispatch change events.  That 
should keep recycling to a minimum.  If that doesn't work, try using a DataGrid 
with 1 column and headers turned off.  It is possible that List has a different 
recycling algorithm than DG



From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com] On 
Behalf Of nwebb
Sent: Thursday, January 22, 2009 4:14 AM
To: flexcoders
Subject: [flexcoders] itemRenderer data question (recycling)



Hi,

I have 2 List components on a page.
The one on the left displays the names of some  bundles - e.g. Bundle 1
The one on the right displays the items in the selected bundle, plus a 
percentage value - e.g. item1 - 10% item2 - 55%  item3 - 61%

The items are the same for all bundles, but their percentages may change as the 
user selects different bundles. If that happens I want to highlight that 
itemRenderer. (eg when the percentage changes, highlight renderer)


I looked at a similar example from Alex Harui - he compares a DataGrid's 
listData.UID to the previous UID (stored as a property on the renderer). If 
they match, he knows he has the same item and changes that value.

I have implemented IDropInListItemRenderer (so I have access to the UID) but 
the renderer-recycling of the List means that even when the UID's match, the 
oldPercent value I stored doesn't actually match up to item being displayed - 
in other words, the renderer which previously displayed item1 - 10% may now 
be displaying item3 - 61% , so the percentage HAS changed, but that's because 
it's displaying a different item!

Is my only option to send both the new% and old% in via the dataprovider, or is 
there another way to get around this issue?

Cheers






RE: [flexcoders] removePopUp on rollout, but not if rollOver popup itself?

2009-01-23 Thread Alex Harui
The event should have a relatedObject property that is “rollInto”

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Haykel BEN JEMIA
Sent: Friday, January 23, 2009 12:07 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] removePopUp on rollout, but not if rollOver popup 
itself?

I had the same problem with a component I developed and the only solution I 
found was to track rollOver and rollOut on both components (in your case for 
the day and the popUp). For every component I set a flag to true on rollOver. 
On rollOut I set it to false then only if both flags are false I remove the 
popUp and clean the event listeners.

Haykel Ben Jemia

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



On Fri, Jan 23, 2009 at 3:12 AM, Tracy Spratt 
tspr...@lariatinc.commailto:tspr...@lariatinc.com wrote:

I have a calendar component.  When I rollOver a day that has a calendar event, 
I pop-up a panel with the event's detail.

I want to hide the detail popup when the user rolls out of the day.

But if I roll over the currently displayed popup, flex registers a rollout of 
the day, hides the pop-up, but then the cursor is still over the day so the 
popup tries to display, which registers a rollout, so my UI just blinks.

I looked for a rollInto property I could check, but didn't find anyting 
useful.

Any suggestions?

Maybe I need to track rollOver on the popUp, and set a flag and check that in 
the day rollOver handler?

Tracy Spratt

Lariat Services

Flex development bandwidth available




[flexcoders] Guidance Needed about the organization of flex project and MXML Componenets

2009-01-23 Thread anuj181
Hi Flex Coders,
I have been taken over one project started by some other programmer,
The project asks user to login and after user logs in , different custom
MXML Components are loaded. Thats the bigger picture what the project
needs to do.
  The way this project was organized that the developer created the login
component , and other custom MXML Component and put them in different
canvases and then put login in one ViewStack and the other MXML
Componenets in another stack, By default on the load of the application,
ViewStack with login Canvas is set to true and if user enter right
password then the visibility of other stack having different custom
components are set to true and login was set to false.
The ToggleButtonBar was used whose data provider is second view stack
having 3 other custom MXML component, and depending upon the button of
the toggle bar selected the components are being loaded. All the
viewstacks with the canvases are being loaded on the main app on the
load of the application.

  I am  not sure thats the right way. In ideal world I like whenever user
loads the page, only the login page will be loaded and once the correct
credentials are entered, only the default MXML Component will be added
with the ToggleButtonBar's default selection, I have to reorganize the
structure of the project, I was thinking of adding and removing child
depending upon the tab changed, Is there any better way to organize this
project, Ideally I like to refresh the page while loading different MXML
components on the tab selection so that we might get the component
totally in synchronization with the server, Anyone has nice and better
way of organizing Project without setting the visibility true and false
and also fulfilling my requirement.
Any Help and guidance will be appreciated
Thanks
Anuj


[flexcoders] Re: ArrayCollection COLLECTION_CHANGE event doesn't fire right away?

2009-01-23 Thread Keith Hughitt
Hi Alex,

Thanks for the suggestion. I was already trying to set the value using
the click-handler, but even using change, I still am not having any luck:

change=cbSelected = displayCheckBox.selected;

(The data-binding is somewhat indirect: the checkbox sits inside a
HBox, which I've given a cbSelected property that is then set as the
columns editorDataField field, similar to the last example from the
Returning data from an item editor section:
http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_1.html
in the Flex 3 Help pages.)

Am I setting the change handler properly?

Thanks,
Keith




RE: [flexcoders] Re: ArrayCollection COLLECTION_CHANGE event doesn't fire right away?

2009-01-23 Thread Alex Harui
Click should be just as good, but usually the code looks like:

Click=data.someProperty = displayCheckBox.selected because data is the 
arraycollection item you are editing.  If the data objects are not [bindable], 
then you further have to call arrayCollection.itemUpdated() to force a 
collection change event.

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Keith Hughitt
Sent: Friday, January 23, 2009 11:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ArrayCollection COLLECTION_CHANGE event doesn't fire 
right away?


Hi Alex,

Thanks for the suggestion. I was already trying to set the value using
the click-handler, but even using change, I still am not having any luck:

change=cbSelected = displayCheckBox.selected;

(The data-binding is somewhat indirect: the checkbox sits inside a
HBox, which I've given a cbSelected property that is then set as the
columns editorDataField field, similar to the last example from the
Returning data from an item editor section:
http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_1.html
in the Flex 3 Help pages.)

Am I setting the change handler properly?

Thanks,
Keith



[flexcoders] Having trouble with qtp automation

2009-01-23 Thread whatabrain
My app contains a subclassed AdvancedDataGrid, with a few custom 
itemRenderers and headerRenderers. When I look at it using qtp, I can 
see the AdvancedDataGrid, but I can't reach into individual cells. The 
only object qtp detects there is Flash itself -- it doesn't even see 
the ADG. Between cells, it detects the ADG.

If I put a standard ADG into the same app, I don't have any problems. 
qtp can detect the contents of every cell.

Any idea of the kinds of things I should be looking for?



Re: [flexcoders] Flex Builder debugger problems

2009-01-23 Thread John McCormack
If the SWF takes a long time to build you will see that.
I sometimes got that when it couldn't find the debugger, but not recently.
It's sometimes slow waiting for something to be loaded/decoded, or  even 
when waiting at a breakpoint.
Because the two programs don't run independently IE may show no content 
when interrupted by Flash/Flex.

John

Curtis Barrett wrote:
 I'm running into an odd problem with the Flex Builder debugger.  About 
 4/5ths of the times that I click the debug button I get a nice, white 
 IE page.  It has the loading icon down at the bottom and aside from 
 that, nothing.  When I click stop in flex builder the page goes away 
 and when I click disconnect then the page finishes loading my flex 
 app.  It is starting to get particularly frustrating when I have to 
 stop it and relaunch it 5-9 times before I get a working window.  Once 
 it comes up all is fine and dandy. 
  
 Has anyone had anything similar happen?  I am on a trial version of 
 flex builder and I have reinstalled it to see if it would help at all.
  
  
 Thanks in advanced,
 Curtis Barrett
  




[flexcoders] Rotate array to invert datagrid

2009-01-23 Thread johngag6969
I have a datagrid that needs to be turned around (Columns as Rows and
Rows as Columns).  I am sending flex a structured array from
ColdFusion.  Much help would be appreciated.  Thanks



Re: [flexcoders] Pop-up Window issue

2009-01-23 Thread Eric Dunn
I set break points on the method that launches the pop up. The break point 
never hits. 

I delete a schedule, pop up closes. I then try to delete another schedule and 
the schedule is deleted, I see the confirmation result (alert) and the window 
does not close and the breakpoint never stops the code. 
I am seeing that if I select another schedule, the deletion function is still 
active... meaning, that once I select another schedule, it is automatically 
deleted. Looks like I am not cleaning up, leaving event listeners active... 

Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 

- Original Message - 
From: Alex Harui aha...@adobe.com 
To: flexcoders@yahoogroups.com 
Sent: Friday, January 23, 2009 12:29:42 PM GMT -06:00 US/Canada Central 
Subject: RE: [flexcoders] Pop-up Window issue 









Have a drink, then set break points on the method that pops up the dialog to 
make sure it is in fact being re-launched on close and examine the call stack 
to see why. Once we know why it will be easier to suggest fixes. 





From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Eric Dunn 
Sent: Friday, January 23, 2009 6:52 AM 
To: flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] Pop-up Window issue 







Any suggestions on how to stay out of this hole. I am using a button with a 
click and not using KEY_UP or KEY_DOWN or ENTER. This thing is driving me to 
drinking... 



Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 

- Original Message - 
From: Alex Harui aha...@adobe.com 
To: flexcoders@yahoogroups.com 
Sent: Friday, January 23, 2009 12:03:04 AM GMT -06:00 US/Canada Central 
Subject: RE: [flexcoders] Pop-up Window issue 





I’ve seen something like this where the events in the pipeline get sent to the 
underlying app and result in dispatching an event that opens the dialog. For 
example, if you used ENTER to close the window, if someone leans on the ENTER 
key too long it repeats and the second ENTER goes to the app that activates the 
button that opened the dialog. You can also get in this hole if you use 
KEY_DOWN and KEY_UP 





From: flexcoders@yahoogroups.com [ mailto:flexcoders@yahoogroups.com ] On 
Behalf Of Eric Dunn 
Sent: Thursday , January 22, 2009 12:21 PM 
To: flexcoders 
Subject: [flexcoders] Pop-up Window issue 







Not sure what is going on.. maybe someone can help .. 

Here is the set up: 

Main app with a manage button. The button opens a pop up TitleWindow where a 
user can add, update or delete schedules. Once a schedule has been added, 
updated or deleted, the hanged is pushed to the database and the window should 
close. I am passing variables in from the parent app. 

The Issue: The first schedule I delete works fine, the database gets updated 
and the window closes. Now if I try to open it again and delete another 
schedule, the window opens, the delete function works but the window does not 
close. While debugging, I see the correct varaibles passed in on window open, 
the delete function processes and then the variables revert to the orginal and 
the window never closes. I watch the code process the commands of close window 
but it never closes. The! thing that puzzles me most is the variables 
reverting... 

Anyone seen this or have an idea on how to resolve? 

Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 





[flexcoders] Re: New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Amy
--- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:

 So, should we all be submitting adverts here?  ;-)
 
 I'll prepare my 2GB PDF right now..


I think that flexJobs is failing, because it seems to queue up posts 
for weeks at a time and then they all go out in a batch.  This means 
that any job postings are stale by the time anyone sees them.

What's the point of having a separate list for job postings, if there's 
no way to read or post to it in a timely manner?



Re: [flexcoders] Re: New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Paul Andrews
- Original Message - 
From: Amy amyblankens...@bellsouth.net
To: flexcoders@yahoogroups.com
Sent: Friday, January 23, 2009 8:36 PM
Subject: [flexcoders] Re: New Web 2.0 Company looking for Chalnging work 
(www.dacoders.com)
snip

 I think that flexJobs is failing, because it seems to queue up posts
 for weeks at a time and then they all go out in a batch.  This means
 that any job postings are stale by the time anyone sees them.

 What's the point of having a separate list for job postings, if there's
 no way to read or post to it in a timely manner?

I think that 2G iphone users will be more upset by the 650MB attachment.

Paul 



[flexcoders] Re: Applying a style GroupingFields in an AdvancedDataGrid

2009-01-23 Thread Bill
Where would I call that function?

--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:

 --- In flexcoders@yahoogroups.com, Bill bill.franklin@ wrote:
 
  is there any way to apply a styleFunction to a Grouping Field, so 
 that, 
  for instance, the row is a different color based on which level 
of 
  grouping it is?
  
  For Example
  
  Level 0  - Red
  =Level 1- Green
  ==Level 2  - Blue
  ==-Item 1 - default style
  ==-Item 2 - default style
  =Level 1- Green
 
 
 You should be able to cast the dataProvider of the ADG to 
 HierarchicalCollectionView and then use getNodeDepth:
 
 private function styleFields(data:Object, 
 column:AdvancedDataGridColumn):Object {
var dataProvider:HierarchicalCollectionView = 
 HierarchicalCollectionView(yourADG.dataProvider);
var depth:int = dataProvider.getNodeDepth(data);
switch(depth) {
   case 0:
  return {color:0xFF};
   case 1:
  return {color:0x00FF00};
   case 2:
  return {color:0xFF};
   default:
  return null;
}
 }
 
 HTH;
 
 Amy
   
 }





Re: [flexcoders] Re: New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Fotis Chatzinikos
Do not do that :-p (from a 2G iphone user)

On Fri, Jan 23, 2009 at 10:47 PM, Paul Andrews p...@ipauland.com wrote:

   - Original Message -
 From: Amy amyblankens...@bellsouth.net amyblankenship%40bellsouth.net
 
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Sent: Friday, January 23, 2009 8:36 PM
 Subject: [flexcoders] Re: New Web 2.0 Company looking for Chalnging work
 (www.dacoders.com)
 snip

  I think that flexJobs is failing, because it seems to queue up posts
  for weeks at a time and then they all go out in a batch. This means
  that any job postings are stale by the time anyone sees them.
 
  What's the point of having a separate list for job postings, if there's
  no way to read or post to it in a timely manner?

 I think that 2G iphone users will be more upset by the 650MB attachment.

 Paul

  



[flexcoders] Re: ArrayCollection COLLECTION_CHANGE event doesn't fire right away?

2009-01-23 Thread Keith Hughitt
I was able to get it working  in one case using itemUpdated. I had to
change the ArrayCollection to public, and then set the handler:

[Bindable]
public var colors:ArrayCollection = new ArrayCollection([
 {color:Red, display: true},
 {color:Blue, display: true},
 {color:Green, display: true}
]);

  private function init():void {
  colors.addEventListener(CollectionEvent.COLLECTION_CHANGE,
onChange);
  }
.
.
.
mx:DataGridColumn dataField=display rendererIsEditor=true
editorDataField=selected
 mx:itemRenderer
 mx:Component
 mx:CheckBox label={data.color} selected=true
click=data.display = selected; outerDocument.colors.itemUpdated(data);
/
 /mx:Component
 /mx:itemRenderer
/mx:DataGridColumn


I still cannot get it working in the more complex case where I have a
more complex component item renderer:


 mx:DataGrid id=colorDG dataProvider={colors} editable=true
 mx:columns
 mx:DataGridColumn headerText=Color dataField=display
rendererIsEditor=true editorDataField=cbSelected
 mx:itemRenderer
 mx:Component
 mx:HBox horizontalAlign=left paddingLeft=5
 mx:Script
 ![CDATA[
 [Bindable]
 public var cbSelected:Boolean;
 ]]
 /mx:Script

 mx:CheckBox id=displayCheckBox
selected=true change=cbSelected = displayCheckBox.selected;
outerDocument.colors.itemUpdated(data); /
 mx:Label text={data.color} /
 /mx:HBox
 /mx:Component
 /mx:itemRenderer
 /mx:DataGridColumn
 /mx:columns
 /mx:DataGrid


When I click the checkbox in the above example, the COLLECTION_CHANGE
event is fired three times: the 1st and 3rd time with the prior (wrong)
value and the middle time with the updated (correct) value. When I use
data.selected = displayCheckBox.selected the event is fired anywhere
between once and three times and the wrong values end up being stored in
ArrayCollection.

The version I got working is good enough for the time being, but If
anyone can tell what I'm doing wrong in the later example, I would love
to find out so I can understand the SDK better.

Thanks for your help Alex!
Keith




Re: [flexcoders] Re: New Web 2.0 Company looking for Chalnging work (www.dacoders.com)

2009-01-23 Thread Paul Andrews
- Original Message - 
  From: Fotis Chatzinikos 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, January 23, 2009 9:18 PM
  Subject: Re: [flexcoders] Re: New Web 2.0 Company looking for Chalnging work 
(www.dacoders.com)


  Do not do that :-p (from a 2G iphone user) 

LOL, too late, it was already posted earlier today..


  On Fri, Jan 23, 2009 at 10:47 PM, Paul Andrews p...@ipauland.com wrote:


- Original Message - 
From: Amy amyblankens...@bellsouth.net
To: flexcoders@yahoogroups.com
Sent: Friday, January 23, 2009 8:36 PM
Subject: [flexcoders] Re: New Web 2.0 Company looking for Chalnging work 
(www.dacoders.com)

snip

 I think that flexJobs is failing, because it seems to queue up posts
 for weeks at a time and then they all go out in a batch. This means
 that any job postings are stale by the time anyone sees them.

 What's the point of having a separate list for job postings, if there's
 no way to read or post to it in a timely manner?


I think that 2G iphone users will be more upset by the 650MB attachment.

Paul 






   

[flexcoders] Re: Applying a style GroupingFields in an AdvancedDataGrid

2009-01-23 Thread Amy
--- In flexcoders@yahoogroups.com, Bill bill.frank...@... wrote:

 Where would I call that function?

styleFunctions, when present, just get called automatically by the ADG 
itself.  Do a search on styleFunction in the Help.

HTH;

Amy



RE: [flexcoders] Re: ArrayCollection COLLECTION_CHANGE event doesn't fire right away?

2009-01-23 Thread Alex Harui
Well, I don't know for sure if this is the issue, but an HBox is not an 
IFocusManagerComponent and thus probably doesn't get focus handled correctly.  
Editable renderers should implement IFocusManagerComponent.

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Keith Hughitt
Sent: Friday, January 23, 2009 1:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ArrayCollection COLLECTION_CHANGE event doesn't fire 
right away?


I was able to get it working  in one case using itemUpdated. I had to change 
the ArrayCollection to public, and then set the handler:
[Bindable]
public var colors:ArrayCollection = new ArrayCollection([
{color:Red, display: true},
{color:Blue, display: true},
{color:Green, display: true}
]);
! private function init():void {
 colors.addEventListener(CollectionEvent.COLLECTION_CHANGE, onChange);
 }
.
.
.
mx:DataGridColumn dataField=display rendererIsEditor=true 
editorDataField=selected
mx:itemRenderer
mx:Component
mx:CheckBox label={data.color} selected=true 
click=data.display = selected; outerDocument.colors.itemUpdated(data); /
   ! ; /mx:Component
/mx:itemRend! erer
/mx:DataGridColumn


I still cannot get it working in the more complex case where I have a more 
complex component item renderer:

mx:DataGrid id=colorDG dataProvider={colors} editable=true
mx:columns
mx:DataGridColumn headerText=Color dataField=display 
rendererIsEditor=true editorDataField=cbSelected
mx:itemRenderermx:Component
mx:HBox horizontalAlign=left paddingLeft=5
mx:Script
![CDATA[
[Bindable]
public var cbSelected:Boolean;
]]
  n! bsp; /mx:Script

mx:CheckBox id=displayCheckBox selected=true 
change=cbSelected = displayCheckBox.selected; 
outerDocument.colors.itemUpdated(data); /
 nb! sp;  mx:Label text={data.color} /
/mx:HBox
/mx:Component
/mx:itemRenderer
/mx:DataGridColumn
/mx:columns
! /mx:DataGrid


When I click the checkbox in the above example, the COLLECTION_CHANGE event is 
fired three times: the 1st and 3rd time with the prior (wrong) value and the 
middle time with the updated (correct) value. When I use data.selected = 
displayCheckBox.selected the event is fired anywhere between once and three 
times and the wrong values end up being stored in ArrayCollection.

The version I got working is good enough for the time being, but If anyone can 
tell what I'm doing wrong in the later example, I would love to find out so I 
can understand the SDK better.

Thanks for your help Alex!
Keith



[flexcoders] Re: Hslider and Vslider (Fx 3.2) causing issues OR is it my code?

2009-01-23 Thread flexaustin
I guess nobody knows?  I submitted a bug report to Adobe.

J

--- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote:

 Is this just for bitmaps/bitmapdata objects or does this limit include
 the Flash player stage as well, as I am not trying to create a
 bitmapdata object. I am simply trying to spread out my components 4000
 pixels apart on the stage.
 
 TIA, J
 
 
 --- In flexcoders@yahoogroups.com, Kyle Quevillon kquevill@ wrote:
 
  These may help understand what is going on:
  
  http://www.bit-101.com/blog/?p=1426
  http://underdevelopment.maravillaclan.net/?p=7
  
  And a forum post:
 

http://groups.google.com/group/macromedia.flash/browse_thread/thread/69c5c668117d26af/26a38122dd97720f?lnk=raot
  
   In FP 10, bitmaps are no longer restricted to a max size of
 2880x2800.  Now
  they can be 4096*4096 with a max of 8192 for any dimension.
  
   Flash authoring has always, and still, restricts the stage size to
 2880x2880.
  HTH
  
  -Kyle
  
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
 On Behalf Of flexaustin
  Sent: Wednesday, January 21, 2009 4:40 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Hslider and Vslider (Fx 3.2) causing
 issues OR is it my code?
  
  
  UPDATE: Ok it looks like the stage runs out of display room. Does the
  Flash player stage have a maximum size? My app is a diagram that can
  go as large as 10,000 pixels wide. If I scale up to 1.75 while viewing
  the right side of my diagram all is good, but when I go to the left
  side of the diagram, thus placing it in center of the screen, and zoom
  to 1.75 its like all graphics disappear and only textfields are shown.
  
  If anyone knows of any screen capture software I can create a video
  and post it.
  
  TIA, J
  
  --- In
 flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com,
 flexaustin flexaustin@ wrote:
  
   I have this code in my custom component that contains a slider and
   when my slider is set to a scale of 1.75 (yes things are scaled very
   large in my app) my custom components on the stage disappear? What I
   mean by disappear is that my components scale as they should but
when
   it hits 1..75 scale everything in my component disappears except for
   the any textfields.
  
   I can't seem to find any issues. Not sure if this a bug or my code.
   Here is the code.
  
   ?xml version=1.0 encoding=utf-8?
  
   mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;
   click=stopProp(event)
   creationComplete=init()
   horizontalAlign=center
   width=35
  
   mx:Script
   ![CDATA[
   import com.spiceworks.networkmap.ui.components.SliderTrack;
   import com.spiceworks.networkmap.ui.components.CSpSliderThumb;
   import com.spiceworks.networkmap.ui.views.SubNode;
  
   private function init():void {
  
   }
  
  
   public static const ZOOM_MIN:Number = 25;
   public static const ZOOM_MAX:Number = 525;
   public static const ZOOM_MIN_PERCENT:Number = .25;
   public static const ZOOM_MAX_PERCENT:Number = 5.25;
  
  
   ]]
   /mx:Script
  
   !-- mx:Label
   toolTip=Use this to zoom the map.
   text=Zoom
   fontSize=9
   textAlign=center
   click=stopProp(event)
   /--
   mx:Style source=assets/styles/main.css/
   mx:Canvas width=99% verticalScrollPolicy=off height=190
   horizontalScrollPolicy=off top=3
   mx:Spacer height=1 /
   mx:VSlider
   styleName={getStyle('sliderStyle')}
   height=95%
   id=bzoom
   values=[25]
   maxHeight=140
   minimum={ZOOM_MIN}
   maximum={ZOOM_MAX}
   tickInterval=25
   tickLength=0
   snapInterval=25
   liveDragging=true
   change=updateVScale(event)
   click=stopProp(event)
   mouseDown=stopProp(event)
   sliderThumbClass={CSpSliderThumb}
   thumbCount=1
   showDataTip=true
   left=4
   top=25/
   mx:Button
   id=plusZoom
   alpha=0
   icon={EmbeddedIcons.zoominIcon}
   cornerRadius=2
   width=16
   height=16
   left=9
   click=handleZoomButtonClick(ZoomSlider.ZOOM_UP);stopProp(event);
   top=6/
   mx:Button
   id=minusZoom
   alpha=0
   icon={EmbeddedIcons.zoomoutIcon}
   cornerRadius=2
   width=16
   height=16
   left=9
   click=handleZoomButtonClick(ZoomSlider.ZOOM_DOWN);stopProp(event);
   top={bzoom.y + bzoom.height + 3}/
   /mx:Canvas
  
   mx:Script
   ![CDATA[
   import org.un.cava.birdeye.ravis.utils.events.VGraphEvent;
   import org.un.cava.birdeye.ravis.graphLayout.visual.VisualGraph;
   import org.un.cava.birdeye.ravis.assets.icons.EmbeddedIcons;
   import flash.events.Event;
  
   private var _vgraph:VisualGraph;
  
   public static const ZOOM_UP:String = zoomup;
   public static const ZOOM_DOWN:String = zoomdown;
  
   /**
   * Provides access to the registered vgraph object.
   * */
   public function set vgraph(v:VisualGraph):void {
   _vgraph = v;
   registerListeners();
   }
  
   public function stopProp(e:MouseEvent):void {
   //e.stopImmediatePropagation();
   }
   /**
   * @private
   * */
   public function get vgraph():VisualGraph {
   return _vgraph;
   }
  
   public function 

[flexcoders] TreeItemRenderer giving me problems

2009-01-23 Thread malik_robinson
Hi,

I am getting an error trying to create my own TreeItemRenderer. I get an
error saying Error: 1023 Incompatible override. This is a compile time
error. It points to my override function at least in FlexBuilder.

My renderer is just a skeleton as of now but this error is preventing me
from going on.

Anyone seen this? I am using Flex 3

package
{
   import mx.controls.treeClasses.TreeItemRenderer;

   import mx.controls.Image;
   import mx.controls.Tree;

   public class CustomTreeItemRenderer extends TreeItemRenderer  {
 protected var _tree:Tree;
 protected var iconImage:Image;

 public function CustomTreeItemRenderer(){
   super();
   mouseEnabled = false;
 }

 override protected function createChildren():void{
   super.createChildren();
  }

}

} // close package



[flexcoders] Re: Flex Builder debugger problems

2009-01-23 Thread arieljake
I having been having a very difficult time debugging AIR programs. 
2/3 of the time, the app will load but the debugger will not connect 
unless I quit FlexBuilder.

--- In flexcoders@yahoogroups.com, John McCormack j...@... wrote:

 If the SWF takes a long time to build you will see that.
 I sometimes got that when it couldn't find the debugger, but not 
recently.
 It's sometimes slow waiting for something to be loaded/decoded, or  
even 
 when waiting at a breakpoint.
 Because the two programs don't run independently IE may show no 
content 
 when interrupted by Flash/Flex.
 
 John
 
 Curtis Barrett wrote:
  I'm running into an odd problem with the Flex Builder debugger.  
About 
  4/5ths of the times that I click the debug button I get a nice, 
white 
  IE page.  It has the loading icon down at the bottom and aside 
from 
  that, nothing.  When I click stop in flex builder the page goes 
away 
  and when I click disconnect then the page finishes loading my 
flex 
  app.  It is starting to get particularly frustrating when I have 
to 
  stop it and relaunch it 5-9 times before I get a working window.  
Once 
  it comes up all is fine and dandy. 
   
  Has anyone had anything similar happen?  I am on a trial version 
of 
  flex builder and I have reinstalled it to see if it would help at 
all.
   
   
  Thanks in advanced,
  Curtis Barrett
 





Re: [flexcoders] Flex Builder debugger problems

2009-01-23 Thread Mark Carter

I also experience this though it only happens about 5% of the time for me.
I'm debugging my Flex app running in the standalone Flash Player 10.

* Usually, my flex app takes a couple of seconds to launch once the
workspace has finished building.

* About 20% of the time, the flash player window comes up and the app then
takes about 10 seconds to actually start.

* But about 5% of the time, the flash player window comes up and then the
app never actually starts (waiting at least a couple of minutes). If I then
disconnect the debugger, the app then immediately starts as normal.

Its like the debugger is blocking something.

So no need to quit Flex Builder. Just disconnect the debugger.

-- 
View this message in context: 
http://www.nabble.com/Flex-Builder-debugger-problems-tp21630232p21637075.html
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] Re: removePopUp on rollout, but not if rollOver popup itself? - solved

2009-01-23 Thread Tracy Spratt
That was a good idea, and I tried it, but it seems that even with
mouseEnabled=false' on the pop-up, rolling over it registers a rollOut
on the dayComponent, which starts the loop.  I am looking into the
rollOver property alex mentioned.

 

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Amy
Sent: Friday, January 23, 2009 1:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: removePopUp on rollout, but not if rollOver
popup itself? - solved

 

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Tracy Spratt tspr...@... wrote:

 Yeak, setting flags works, so problem solved, but I'd like to hear any
 other suggestions.

Could you set mouseEnabled to false on the popup?

 



RE: [flexcoders] Re: removePopUp on rollout, but not if rollOver popup itself? - solved

2009-01-23 Thread Tracy Spratt
I take it back. When I code it right, that does work.  

 

But it results in the popup being hidden when I roll off the day, even
though I am still over the popup.

 

Great idea though, thanks!

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Tracy Spratt
Sent: Friday, January 23, 2009 11:49 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: removePopUp on rollout, but not if
rollOver popup itself? - solved

 

That was a good idea, and I tried it, but it seems that even with
mouseEnabled=false' on the pop-up, rolling over it registers a rollOut
on the dayComponent, which starts the loop.  I am looking into the
rollOver property alex mentioned.

 

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Amy
Sent: Friday, January 23, 2009 1:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: removePopUp on rollout, but not if rollOver
popup itself? - solved

 

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Tracy Spratt tspr...@... wrote:

 Yeak, setting flags works, so problem solved, but I'd like to hear any
 other suggestions.

Could you set mouseEnabled to false on the popup?

 



RE: [flexcoders] TreeItemRenderer giving me problems

2009-01-23 Thread Alex Harui
Clean the project.  Try overriding some other function

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of malik_robinson
Sent: Friday, January 23, 2009 6:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TreeItemRenderer giving me problems


Hi,

I am getting an error trying to create my own TreeItemRenderer. I get an error 
saying Error: 1023 Incompatible override. This is a compile time error. It 
points to my override function at least in FlexBuilder.

My renderer is just a skeleton as of now but this error is preventing me from 
going on.

Anyone seen this? I am using Flex 3

package
{
  import mx.controls.treeClasses.TreeItemRenderer;

  import mx.controls.Image;
  import mx.controls.Tree;

  public class CustomTreeItemRenderer extends TreeItemRenderer  {
protected var _tree:Tree;
protected var iconImage:Image;

public function CustomTreeItemRenderer(){
  super();
  mouseEnabled = false;
}

override protected function createChildren():void{
  super.createChildren();
 }

}

} // close package