RE: [flexcoders] Setter question

2008-01-04 Thread Alex Harui
You might find this article helpful:

http://blogs.adobe.com/aharui/2008/01/selecteditem_and_combobox.html

 

That way you can find the item you want to be selected after the DP is
set.  In general the DP must be set first.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mark goldin
Sent: Friday, January 04, 2008 3:42 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Setter question

 

Yes, that's what I fugured.

Here is my code. 

I have a combobox as a form item.:

 

 

 

 

dataModel tag: 

 

 

Data Model:

public

class accidentsGeneralModel 

{

private var _otherrailroa! dinvolved:int = 0; 

[

Bindable] 

public var modelValid:Boolean = false; 

  

[

Bindable] 

public function get otherrailroadinvolved():int 

{

return! _otherrailroadinvolved; 

}

public function set
otherrailroadinvolved(otherrailroadinvolved:int):void 

{

_otherrailroadinvolved = otherrailroadinvolved;

}

Combo's data:

combo.dataProvider = someXML;

 

Form's data:

//reference to main application

mainApp = mx.core.Application.application;

// reference to A! ccidents module 

accidentsModul! e = main App.moduleLoader.child;

accidentsModule.modelGeneral.otherrailroadinvolved =
resultXML.general.otherrailroadinvolved;

 

Here is what happens:

If I am setting up form's data after combo's dropdown has been set then
the combo will show the correct item: item that is driven by the form's
data. But if I do it other way around then the combo does not show the
correct one but always has its selectedIndex = 0.

I am trying to override dataProvider property but dont know what I can
match combo's dropdown data to to set its selectedIndex manually.

 

Thanks


Alex Harui <[EMAIL PROTECTED]> wrote: 

Unless comboItemRenderer is in a List or DataGrid or other
ListBase-derived class, the listData setter function will not be called.

Assigning the combo's dataprovider just tells its dropdown List what to
display.



From: flexcoders@yahoogroups.com [mailto:flex! [EMAIL PROTECTED] ahoogroups.com]
On Behalf Of mark goldin
Sent: Thursday, January 03, 2008 6:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Setter question

Combo:

package! 

CustomComponents 

{

import mx.controls.*; 

import mx.controls.listClasses.*; 

import mx.collections.*; 

import flash.events.Event; 

import mx.events.*; 

public class comboIte! mRenderer extends ComboBox implements
IDropInListItemRenderer 

{

public function! comboItemRenderer() 

{ 

super(); 

}

override public function set listData(value:BaseListData):void 

{

super.listData = value; 

..

Assigning data:

combo.dataProvider = XMLData;

Should I be getting into listData function after that command?


Gordon Smith <[EMAIL PROTECTED]> wrote: 

What do you mean by defining a "set function" for the ComboBox? Can you
show some code?

! 

Gordon Smith

Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Thursday, January 03, 2008 5:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Setter question

I have a combobox in a form. I have also defined a set function for 
that combo. I am assigning data to the control using:
combo.dataProvider = someXML. The data is shown with no problem, but 
set function is not called. Am I doing something wrong?

Thanks

 

 



RE: [flexcoders] Re: How do I make the background fill the whole screen, not just the Application

2008-01-04 Thread Alex Harui
http://blogs.adobe.com/aharui/2008/01/flex_and_scalemodes.html

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kolt_siewerts
Sent: Thursday, December 20, 2007 2:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How do I make the background fill the whole
screen, not just the Application

 

That works in the default "NO_SCALE" scaleMode. 
But I need my app to be "SHOW_ALL". 
So everything gets scaled to the maximum width/height of the window. 

Here is another example: http://kolt-siewerts.com/flexTest/helloWorld/
 
(right-click for source view)

The text scales just like I want it to: according to the window-scale.
But if you scale the 
browser window to an extreme 5:1 ratio, you see a black bar at the
sides. 
And no, setting maxWidth or minWidth does not work ;)

--- In flexcoders@yahoogroups.com 
, Joseph Balderson <[EMAIL PROTECTED]> wrote:
>
> Your Application should stretch with the inner browser width & height
by 
> default, you don't need to monkey with the Stage object like you do in

> Flash.
> 
> If what you want is a background which covers the whole browser
screen, 
> let the Application fill up the space. Then place the rest of your 
> content in another container. For instance, if you want your content
to 
> be centred on the stage but your content to absolutely positioned, use

> the following code:
> 
> 
> http://www.adobe.com/2006/mxml
 "
> layout="vertical"
> horizontalAlign="center"
> verticalAlign="middle"
> backgroundColor="#00"
> backgroundGradientAlphas="[1.0,1.0]"
> backgroundGradientColors="[0x00, 0xAA]">
>  backgroundColor="#FF"
> width="400" height="400">
> 
> 
> 
> 
> 
> The two buttons use constrained layout positioning as opposed to 
> absolute positioning, so they "float" a certain distance from the
sides 
> of the canvas container.
> 
> __
> 
> Joseph Balderson, Flash Platform Developer | http://joeflash.ca
 
> Writing partner, Community MX | http://www.communitymx.com
 
> Abobe Certified Developer & Trainer

 



[flexcoders] Re: Newbie : Flex Hosting Question

2008-01-04 Thread Anas Mughal

How does JSP fit in your architecture?
Let us know and we would try to help.
--
Anas Mughal




--- In flexcoders@yahoogroups.com, "hardikpandya2000" 
<[EMAIL PROTECTED]> wrote:
>
> Hello FlexCoders,
> 
> I am newbie to Flex and have a very basic question
> 
> I need to make Flex Application with Mysql + JSP, what do I need to 
> host this kind of application live.
> 
> What are the options / alternatives ?
> 
> I would really appreciate any help and suggestions.
> 
> Thank you all in advance,
> 
> Hardik
>




RE: [flexcoders] FW: How can I tell length or size of object ( not array ) but object ..

2008-01-04 Thread Gordon Smith
It is probably MUCH faster to use a for-in loop to count the fields.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Dimitrios Gianninas
Sent: Friday, January 04, 2008 1:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FW: How can I tell length or size of object ( not array ) 
but object ..




forwarding

Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.

-Original Message-
From: [EMAIL PROTECTED]   
[mailto:[EMAIL PROTECTED]  ] On 
Behalf Of Jethro Grassie
Sent: Friday, January 04, 2008 4:08 PM
To: [EMAIL PROTECTED]  
Subject: Re: How can I tell length or size of object ( not array ) but object ..

ObjectUtil.getClassInfo(myobj).properties.length;

--- In flexcoders@yahoogroups.com  , 
"helihobby" <[EMAIL PROTECTED]> wrote:
>
> Is there a way to know a size of an object ( hash table ) without 
> doing a for loop ?
> 
> as in:
> 
> var o:Object = new Object();
> o.a = "aa";
> o.b = "bb";
> 
> o.length or o.size does not work ? So how can I know size without 
> doing a loop every time ?
> 
> Regards,
> 
> Sean.
>

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient. No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message. If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system. The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful. If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé. L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système. La lecture, la distribution, la copie ou tout 
autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



 


RE: [flexcoders] Lazy Loading on Tree Component with LCDS

2008-01-04 Thread Jeff Vroom
I have an approach that might help with the 2.x Tree.  It is a subclass
of ArrayCollection you can use to suppress ItemPendingErrors which you
can get here:

 

   http://www.jvroom.com/NotPendingCollection.as

 

You provide it a source collection and this collection will either be
empty or fully populated... it won't throw ItemPendingErrors.   You can
use it with lazy loaded associations or paged collections but if you use
it with paging, the first time someone access an item, it will page in
the entire collection (unless you set startIndex/maxIndex as described
later).   It is still a bit experimental but let me know if you have
problems with it as the code is not too complicated.   

 

To use it you'd put this between your tree and your filled/associated
collection:

 









 

 ...

 

  

 



It also has a startIndex and maxIndex parameters so your collection can
expose a sub-region of the paged collection.  This allows you to use
this more efficiently if the underlying collection is paged.   I've done
some testing on this using a chart (which also does not handle item
pending errors) but haven't tested it with tree.  In my sample, I hooked
up the start and max index to the visible regions of a data grid and
then have the chart display the visible data as you scroll in the grid.


 

Jeff

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Friday, January 04, 2008 2:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Lazy Loading on Tree Component with LCDS

 

We are having trouble with lazy loading and the tree component. We 
get item pending errors all over the place.

Is this to be expected or should the tree component handle lazy 
loading like the DataGrid? We are using LCDS with Hibernate so the 
calls are made internally.

If not, what is the proper way to handle Item Pending errors.

Thanks for the info.

- Kevin

 



[flexcoders] Re: Send event to all objects?

2008-01-04 Thread jrag0n
Point taken about the button versus the stage.  But I wonder if your solution 
is the most 
elegant.  From what I've read, the event hierarchy (capture, target, bubbling) 
should be 
able to handle this for me.

Stepping through the array makes sense if I have to, but I don't think I have 
to.

--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> > I assume I'm going to capture a MouseEvent.CLICK on the stage
>  
> You would do that only if you want to be able to click anywhere on the
> stage.
>  
> If you are only clicking a Button, just put a click handler on the
> Button and have it loop over an array containing the balls you've
> created and call a method on each one:
>  
> 
>  
> private function b_clickHandler(event:MouseEvent):void
> {
> var n:int = balls.length;
> for (var i:int = 0; i < n; i++)
> {
> Ball(balls[i]).doSomething();
> }
> }
>  
> 
>  
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jrag0n
> Sent: Wednesday, January 02, 2008 7:59 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Send event to all objects?
> 
> 
> 
> I get the sense this is very easy, but I haven't been able to make it
> work yet.
> 
> When I click a button, a ball is sent out on the screen and starts
> moving randomly. I want to 
> press a button and have every ball on stage do something, like all get
> twice as large, or all 
> turn white or something.
> 
> I assume I'm going to capture a MouseEvent.CLICK on the stage, which
> then targets all the 
> balls I've dynamically created, and then each ball can respond
> accordingly. But I'm stuck. Any 
> thoughts?
>





RE: [flexcoders] Lazy Loading on Tree Component with LCDS

2008-01-04 Thread Alex Harui
The 2.x Tree does not handle IPEs.  The 3.0 Tree won't either, but by
using the ADG's hierarchicalCollections and some glue, it should work.
I'll be blogging on how to do that right after 3.0 goes out the door or
sooner if I get a chance.

 

You might be able to workaround some of the issues in 2.x.  There are
two kinds of IPE issues with the 2.x tree.  It expects at least one page
of the top level of the hierarchy to be paged in and ready to go.  That
should get you past some of the errors.  Next, it does not expect the
lower levels of the hierarchy to be paged.  You can workaround that by
returning a zero-length children collection via a custom
ITreeDataDescriptor until the actual data arrives.  One clever person
stuck in one entry that said "fetching children..." until the children
arrived.

 

You will get best results in 2.x if the entire top-level is paged in,
and you use the zero-length or single entry trick until the children are
paged in.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Friday, January 04, 2008 2:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Lazy Loading on Tree Component with LCDS

 

We are having trouble with lazy loading and the tree component. We 
get item pending errors all over the place.

Is this to be expected or should the tree component handle lazy 
loading like the DataGrid? We are using LCDS with Hibernate so the 
calls are made internally.

If not, what is the proper way to handle Item Pending errors.

Thanks for the info.

- Kevin

 



[flexcoders] Re: keyboard up down navigating

2008-01-04 Thread Corey Smaller
yup that one worked. almost fell off my chair when it did.

Now i have to figure out a way to move the canvas when i scroll off
the view so that the offscreen buttons are visible when I tab. 



--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> You can try storing every child in an array and scanning the array
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Corey Smaller
> Sent: Friday, January 04, 2008 11:02 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: keyboard up down navigating
> 
>  
> 
> hmm, i am getting the event.currentTarget.x and y coordinates but how
> to move the focus up or down to other targets? each new button object
> created has the same var name so it just goes to the very last one
> created. I tried using a counter for assigning var names but that
> gives me an error, I also tried by ID and by Name to no avail either.
> I am so close. get this one and win a free fruit basket. 
> 
> --- In flexcoders@yahoogroups.com 
> , "Alex Harui"  wrote:
> >
> > I think you'll have to keep your own list of focusable objects and
> sort
> > them by x,y then call setFocus on the right one.
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of Corey Smaller
> > Sent: Thursday, January 03, 2008 5:53 PM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] keyboard up down navigating
> > 
> > 
> > 
> > I need to have my app keyboard navigatable with the up/down/left/right
> > arrows. I have the left/right arrow assignments working but the
> > up/down not so much. 
> > I am also using the constraintRows and constraintColumns instead of
> > the deprecated Grid class. I want to navigate to the object
> > above/below the Focused object (which means changing rows) but I dont
> > get how to do it. 
> > Does anyone have any idea?
> > 
> > here is the method:
> > //this method is the keyboard navigation 
> > private function key_check(event:KeyboardEvent):void{
> > //right 
> > if(event.keyCode==39){
> > focusManager.getNextFocusManagerComponent().setFocus()
> > }
> > //left
> > if(event.keyCode==37){
> > focusManager.getNextFocusManagerComponent(true).setFocus()
> > }
> > //enter
> > if(event.keyCode==13){
> > popUpNav(); 
> > }
> > //UP
> > if(event.keyCode ==38){
> > trace(event.currentTarget.parent );
> > var testU:Number = event.currentTarget.id -5;
> > var testa:String = testU.toString();
> > //focusManager.setFocus(mainCanvas.prog5);
> > }
> > //DOWN
> > if(event.keyCode ==40){
> > //focusManager.
> > }
> > }
> >
>




[flexcoders] Re: Select XML subset

2008-01-04 Thread rueter007
read the docs. it has all the information.

http://livedocs.adobe.com/labs/flex3/html/help.html?content=13_Working_with_XML_02.html

- venkat
http://www.venkatj.com

--- In flexcoders@yahoogroups.com, "markgoldin_2000"
<[EMAIL PROTECTED]> wrote:
>
> I have an element based XML. How can I get a subset of this data 
> where one of the elements value matches some var?
> 
> subdivisions>
>   1
>   22ND STREET YARD
>   37
> 
> 
>   2
>   59TH - 65TH ST. I/L
>   43
> 
> 
>   3
>   59TH - NARRAGANSETT I/L
>   43
> 
> 
> I would want to get subset with division_id = 43.
> 
> Thanks for help.
>




[flexcoders] Select XML subset

2008-01-04 Thread markgoldin_2000
I have an element based XML. How can I get a subset of this data 
where one of the elements value matches some var?

subdivisions>
  1
  22ND STREET YARD
  37


  2
  59TH - 65TH ST. I/L
  43


  3
  59TH - NARRAGANSETT I/L
  43


I would want to get subset with division_id = 43.

Thanks for help.



Re: [flexcoders] enforce "mx:DateField" date selection?

2008-01-04 Thread Muzak
Read the docs..

DateField.disabledRanges
http://livedocs.adobe.com/flex/201/langref/mx/controls/DateField.html

- Original Message - 
From: "markflex2007" <[EMAIL PROTECTED]>
To: 
Sent: Friday, January 04, 2008 7:30 PM
Subject: [flexcoders] enforce "mx:DateField" date selection?


Hi,

I want to use mx:DateField and disable all the dates before today. and 
only can select date after today.

Please give me a hit.

Thanks

Mark




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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


[flexcoders] Lazy Loading on Tree Component with LCDS

2008-01-04 Thread Kevin
We are having trouble with lazy loading and the tree component.  We  
get item pending errors all over the place.

Is this to be expected or should the tree component handle lazy  
loading like the DataGrid?  We are using LCDS with Hibernate so the  
calls are made internally.

If not, what is the proper way to handle Item Pending errors.

Thanks for the info.

- Kevin


[flexcoders] Re: flex meter

2008-01-04 Thread scalenine
You could make one using Degrafa : http://www.degrafa.com or
http://code.degrafa.com .

There's samples here: http://samples.degrafa.com . Check out the clock.

--- In flexcoders@yahoogroups.com, coder3 <[EMAIL PROTECTED]> wrote:
>
> 
> Hi All, 
> 
> i need to implement a real time meter for my web app. does FLEX have
that
> kind of feature? i can't find it.
> 
> thanks
> 
> 
> 
> -- 
> View this message in context:
http://www.nabble.com/flex-meter-tp14623087p14623087.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>




[flexcoders] Re: Newbie : Flex Hosting Question

2008-01-04 Thread Abyss Knight
I'm not sure about the JSP requirement, but I would presume you would
need Tomcat, JBoss or Geronimo to do that. I would recommend taking a
look at WebORB and AMFPHP, as those are easier to set up on shared
hosting. Are you looking to do real-time messaging using push, or
would polling work?

-- William

--- In flexcoders@yahoogroups.com, "hardikpandya2000"
<[EMAIL PROTECTED]> wrote:
>
> Hello FlexCoders,
> 
> I am newbie to Flex and have a very basic question
> 
> I need to make Flex Application with Mysql + JSP, what do I need to 
> host this kind of application live.
> 
> What are the options / alternatives ?
> 
> I would really appreciate any help and suggestions.
> 
> Thank you all in advance,
> 
> Hardik
>




[flexcoders] FW: How can I tell length or size of object ( not array ) but object ..

2008-01-04 Thread Dimitrios Gianninas
 
forwarding

Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jethro Grassie
Sent: Friday, January 04, 2008 4:08 PM
To: [EMAIL PROTECTED]
Subject: Re: How can I tell length or size of object ( not array ) but object ..

ObjectUtil.getClassInfo(myobj).properties.length;

--- In flexcoders@yahoogroups.com, "helihobby" <[EMAIL PROTECTED]> wrote:
>
> Is there a way to know a size of an object ( hash table ) without 
> doing a for loop ?
> 
> as in:
> 
> var o:Object = new Object();
> o.a = "aa";
> o.b = "bb";
> 
> o.length or o.size does not work ? So how can I know size without 
> doing a loop every time ?
> 
> Regards,
> 
> Sean.
>


-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



[flexcoders] Legend font size ignored in Flex Builder 3?

2008-01-04 Thread mr19

Hi all.  Recently imported a project I built with FB2 into FB3.  My Legend is
no longer adhering to the font sizE specified for the Application.  I've
tried adding it to the Legend style, still no luck, always stays a constant
size.  I can change the fontFamily this way, but not the fontSize.  Any
ideas?

TIA
Marc
-- 
View this message in context: 
http://www.nabble.com/Legend-font-size-ignored-in-Flex-Builder-3--tp14624378p14624378.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Yahoo Maps Viewstack & Sandbox Issues

2008-01-04 Thread Aaron Miller
I had to create a "MapLoader" component that has the yahoo map service in
it, then created an actionscript var of that type. When the viewstack
changes for the first time, I instantiated it and added it as a child to the
viewstack container.

# if( idViewTab.selectedIndex == 1 && myMapLoader == null ) {
# myMapLoader = new MapLoader();
# myMapLoader.percentWidth = 100;
# myMapLoader.percentHeight = 100;
#
# idMapView.addChild(myMapLoader);
# }

I'm not sure if your situation is different then mine, but this is what I
had to do for it to work.

Hope this helps,

...aaron

On 1/4/08, Chip Moeser <[EMAIL PROTECTED]> wrote:
>
>   Hello All,
> Anyone ever come up with a solution to the problem that a sandbox
> error comes up when using Yahoo Maps AS3 in a viewstack with
> transitions? Found lots of unsolved threads:(
> Best,
> -Chip
>
>  
>



-- 
Aaron Miller
Chief Technology Officer
Splash Labs, LLC.
[EMAIL PROTECTED]  |  360-255-1145
http://www.splashlabs.com


[flexcoders] Yahoo Maps Viewstack & Sandbox Issues

2008-01-04 Thread Chip Moeser
Hello All,
Anyone ever come up with a solution to the problem that a sandbox
error comes up when using Yahoo Maps AS3 in a viewstack with
transitions? Found lots of unsolved threads:(
Best,
-Chip



[flexcoders] Newbie : Flex Hosting Question

2008-01-04 Thread hardikpandya2000
Hello FlexCoders,

I am newbie to Flex and have a very basic question

I need to make Flex Application with Mysql + JSP, what do I need to 
host this kind of application live.

What are the options / alternatives ?

I would really appreciate any help and suggestions.

Thank you all in advance,

Hardik






RE: [flexcoders] How can I tell length or size of object ( not array ) but object ..

2008-01-04 Thread Gordon Smith
As far as I know, you have to loop.
 
By the way, using Object-literal syntax
 
var o:Object = { a: "aa", b: "bb" };
 
produces more efficient code than what you wrote. And instead of doing
 
var o:Object = new Object();
 
you should just write
 
var o:Object = {};
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of helihobby
Sent: Friday, January 04, 2008 10:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How can I tell length or size of object ( not
array ) but object ..



Is there a way to know a size of an object ( hash table ) without
doing a for loop ?

as in:

var o:Object = new Object();
o.a = "aa";
o.b = "bb";

o.length or o.size does not work ? So how can I know size without
doing a loop every time ?

Regards,

Sean.



 


RE: [flexcoders] The 'right' way to do custom styles

2008-01-04 Thread Gordon Smith
If it doesn't work with getStyle() and setStyle(), I wouldn't call it a
style. That will just confuse your users.
 
You can certainly implement simple properties that affect visual stuff
like colors, but then your developers will wonder why they're not styles
and can't be set in CSS. Styles are much more Flexible; for example, a
single type selector can affect all instances of a class.
 
Have you looked at how our components implement styles? There is usually
very little work, and styles will probably produce a smaller SWF than
properties. Each property requires a storage var, a getter, and a
setter. Each style only requires a little metadata.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Friday, January 04, 2008 2:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] The 'right' way to do custom styles



So, as I see things, there are two ways to do custom styles in a custom 
component.
The first is the quick and easy way: create a public Bindable of type
uint and 
then use data binding inside your custom component. Your component then
has 
properties for the styles.
The second is the more long winded approach of adding meta data, and
writing 
all the code needed to support that. Your component then has actual
styles 
that can be set using setStyle(), but from MXML looks exactly the same
as the 
first way.

Given we don't use setStyle(), and use custom components mostly from
MXML 
(rather than AS), is it very wrong to just do it the first, esp. if
there are 
many styles ?
-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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


 


RE: [flexcoders] Re: keyboard up down navigating

2008-01-04 Thread Alex Harui
You can try storing every child in an array and scanning the array

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Corey Smaller
Sent: Friday, January 04, 2008 11:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: keyboard up down navigating

 

hmm, i am getting the event.currentTarget.x and y coordinates but how
to move the focus up or down to other targets? each new button object
created has the same var name so it just goes to the very last one
created. I tried using a counter for assigning var names but that
gives me an error, I also tried by ID and by Name to no avail either.
I am so close. get this one and win a free fruit basket. 

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> I think you'll have to keep your own list of focusable objects and
sort
> them by x,y then call setFocus on the right one.
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of Corey Smaller
> Sent: Thursday, January 03, 2008 5:53 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] keyboard up down navigating
> 
> 
> 
> I need to have my app keyboard navigatable with the up/down/left/right
> arrows. I have the left/right arrow assignments working but the
> up/down not so much. 
> I am also using the constraintRows and constraintColumns instead of
> the deprecated Grid class. I want to navigate to the object
> above/below the Focused object (which means changing rows) but I dont
> get how to do it. 
> Does anyone have any idea?
> 
> here is the method:
> //this method is the keyboard navigation 
> private function key_check(event:KeyboardEvent):void{
> //right 
> if(event.keyCode==39){
> focusManager.getNextFocusManagerComponent().setFocus()
> }
> //left
> if(event.keyCode==37){
> focusManager.getNextFocusManagerComponent(true).setFocus()
> }
> //enter
> if(event.keyCode==13){
> popUpNav(); 
> }
> //UP
> if(event.keyCode ==38){
> trace(event.currentTarget.parent );
> var testU:Number = event.currentTarget.id -5;
> var testa:String = testU.toString();
> //focusManager.setFocus(mainCanvas.prog5);
> }
> //DOWN
> if(event.keyCode ==40){
> //focusManager.
> }
> }
>

 



RE: [flexcoders] flex meter

2008-01-04 Thread Alex Harui
http://weblogs.macromedia.com/pent/archives/2004/12/gauge_component.cfm

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of coder3
Sent: Friday, January 04, 2008 11:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex meter

 


Hi All, 

i need to implement a real time meter for my web app. does FLEX have
that
kind of feature? i can't find it.

thanks

-- 
View this message in context:
http://www.nabble.com/flex-meter-tp14623087p14623087.html
 
Sent from the FlexCoders mailing list archive at Nabble.com.

 



[flexcoders] flex meter

2008-01-04 Thread coder3

Hi All, 

i need to implement a real time meter for my web app. does FLEX have that
kind of feature? i can't find it.

thanks



-- 
View this message in context: 
http://www.nabble.com/flex-meter-tp14623087p14623087.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Re: DataGridColumn width shrinks when visibility is toggled

2008-01-04 Thread rueter007
I had this problem too when I used the datagrid. The fix I did was to
reassign the columns property on the datagrid instead of toggling the
visibility.

- venkat
http://www.venkatj.com 

--- In flexcoders@yahoogroups.com, "dfalling" <[EMAIL PROTECTED]> wrote:
>
> I've setup a datagrid so that users can toggle the visibility of
> columns, exposing previously hidden ones or hiding currently visible
> ones.  For some reason, if the datagrid is fixed width (100% width of
> parent) it doesn't handle this properly.  If I keep toggling a
> column's visibility, it will continue to shrink, and the column to the
> left of it will grow.  If it's the left-most column, then the column
> to the right of it will grow.  I've tried a number of hacks but none
> of them get around the way the datagrid handles column resizes.  Any
> help is greatly appreciated.
>




Re: [flexcoders] IE cache

2008-01-04 Thread coder3

i tried to set the no-cache header in my jsp, somehow it didn't work. so i
have to use garbage parameter to work around.

thx



Scott Melby-3 wrote:
> 
> Are you using HTTPS?  Check this post  
> on my blog for a workaround.
> 
> hth
> Scott
> 
> Scott Melby
> Founder, Fast Lane Software LLC
> http://www.fastlanesw.com
> 
> 
> 
> coder3 wrote:
>>
>>
>> Hi All,
>>
>> I need an auto refresh feature in my flex application, my code is like 
>> this:
>>
>> var timedProcess:uint = setInterval(refreshResults, 30);
>>
>> it works fine on firefox. but looks like there is a cache problem on 
>> IE. the
>> refreshResults() doesn't get called.
>>
>> i changed the IE cache settings to 1MB(minimum) but it doesn't work.
>>
>> any ideas?
>>
>> thanks
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/IE-cache-tp14591464p14591464.html 
>> 
>> Sent from the FlexCoders mailing list archive at Nabble.com.
>>
>>  
> 
> 

-- 
View this message in context: 
http://www.nabble.com/IE-cache-tp14591464p14623084.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] DataGridColumn width shrinks when visibility is toggled

2008-01-04 Thread dfalling
I've setup a datagrid so that users can toggle the visibility of
columns, exposing previously hidden ones or hiding currently visible
ones.  For some reason, if the datagrid is fixed width (100% width of
parent) it doesn't handle this properly.  If I keep toggling a
column's visibility, it will continue to shrink, and the column to the
left of it will grow.  If it's the left-most column, then the column
to the right of it will grow.  I've tried a number of hacks but none
of them get around the way the datagrid handles column resizes.  Any
help is greatly appreciated.



[flexcoders] Re: keyboard up down navigating

2008-01-04 Thread Corey Smaller
hmm, i am getting the event.currentTarget.x and y coordinates but how
to move the focus up or down to other targets?  each new button object
created has the same var name so it just goes to the very last one
created.  I tried using a counter for assigning var names but that
gives me an error, I also tried by ID and by Name to no avail either.
 I am so close. get this one and win a free fruit basket. 

 



--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> I think you'll have to keep your own list of focusable objects and sort
> them by x,y then call setFocus on the right one.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Corey Smaller
> Sent: Thursday, January 03, 2008 5:53 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] keyboard up down navigating
> 
>  
> 
> I need to have my app keyboard navigatable with the up/down/left/right
> arrows. I have the left/right arrow assignments working but the
> up/down not so much. 
> I am also using the constraintRows and constraintColumns instead of
> the deprecated Grid class. I want to navigate to the object
> above/below the Focused object (which means changing rows) but I dont
> get how to do it. 
> Does anyone have any idea?
> 
> here is the method:
> //this method is the keyboard navigation 
> private function key_check(event:KeyboardEvent):void{
> //right 
> if(event.keyCode==39){
> focusManager.getNextFocusManagerComponent().setFocus()
> }
> //left
> if(event.keyCode==37){
> focusManager.getNextFocusManagerComponent(true).setFocus()
> }
> //enter
> if(event.keyCode==13){
> popUpNav(); 
> }
> //UP
> if(event.keyCode ==38){
> trace(event.currentTarget.parent );
> var testU:Number = event.currentTarget.id -5;
> var testa:String = testU.toString();
> //focusManager.setFocus(mainCanvas.prog5);
> }
> //DOWN
> if(event.keyCode ==40){
> //focusManager.
> }
> }
>




[flexcoders] firstVisibleItem with AdvancedDataGrid, potential bug?

2008-01-04 Thread picklzzz
Hello,

Has anyone attempted to programatically set the firstVisibleItem
property of AdvancedDataGrid and got it to work. I have a plotChart
and an associated ADG populated with a superset of the data used for
the plotChart. I want a click on an item from the plotChart to change
the firstVisibleItem so that the individual's full record is visible
in the first row of the ADG.

At present, I have a function:

private function scatterChartSelect(e:ChartItemEvent):void {
myADG.firstVisibleItem =  
scatterChart.selectedChartItem;
  }

That is triggered using itemClick in the plotChart. When a dot is
clicked, the ADG scrolls to the bottom of the entries, which seems
peculiar. 



[flexcoders] Re: enforce "mx:DateField" date selection?

2008-01-04 Thread rueter007
Look at the disabledRanges property on the DateField. You should
specify a rangeEnd value with yesterday as the value.

- venkat
http://www.venkatj.com

--- In flexcoders@yahoogroups.com, "markflex2007" <[EMAIL PROTECTED]>
wrote:
>
> Hi,
> 
> I want to use mx:DateField and disable all the dates before today. and 
> only can select date after today.
> 
> Please give me a hit.
> 
> Thanks
> 
> Mark
>




[flexcoders] Re: WebORB Installation Error

2008-01-04 Thread Mark Piller
Hi,

Do you use WebORB for Java or .NET? If it is .NET, try to run the
diagnostics page at the following URL and let me know what the page
displays:

http://localhost/weborb30/diagnostics.aspx

Also, the following forum might be a better place to post WebORB
related questions:
http://tech.groups.yahoo.com/group/flashorb/

Cheers,
Mark

--- In flexcoders@yahoogroups.com, "NileAge, Mail" <[EMAIL PROTECTED]> wrote:
>
> Anybody can solve this problem?
> 
> After installing WebORB 3.0  but some tabs in WebORB Management Consol
> (localhost )do not appear a management tab 
> 
> Plz help me
>




[flexcoders] WebORB Installation Error

2008-01-04 Thread NileAge, Mail
Anybody can solve this problem?

After installing WebORB 3.0  but some tabs in WebORB Management Consol
(localhost )do not appear a management tab 

Plz help me

 



[flexcoders] Re: Bug in Date object - setting month increments timezone

2008-01-04 Thread rueter007
It is not a bug. It is the daylight savings that create different
timeZoneOffsets. And this is expected behavior.

- venkat
http://www.venkatj.com

--- In flexcoders@yahoogroups.com, "Collin Peters" <[EMAIL PROTECTED]> wrote:
>
> Can somebody verify this?  When I set the month in the date object the
> timezone increments
> 
> 
> var date:Date = new Date();
> trace("date1: " + date);
> date.setFullYear(1963);
> trace("date2: " + date);
> date.setMonth(6);
> trace("date3: " + date);
> date.setDate(5);
> trace("date4: " + date);
> 
> 
> Output:
> date1: Fri Jan 4 10:15:34 GMT-0800 2008
> date2: Fri Jan 4 10:15:34 GMT-0800 1963
> date3: Thu Jul 4 10:15:34 GMT-0700 1963
> date4: Fri Jul 5 10:15:34 GMT-0700 1963
> 
> 
> This is causing havoc for me for a Swedish client as they are GMT +1.
> Therefore the backend gets the wrong day when trying to save a
> birthdate (which does not have a time component).
>




[flexcoders] How can I tell length or size of object ( not array ) but object ..

2008-01-04 Thread helihobby
Is there a way to know a size of an object ( hash table ) without
doing a for loop ?

as in:

var o:Object = new Object();
o.a = "aa";
o.b = "bb";

o.length or o.size does not work ? So how can I know size without
doing a loop every time ?

Regards,

Sean.



[flexcoders] Re: tabEnabled not enabling

2008-01-04 Thread Corey Smaller
thanks Alex!  I actually went ahead and created my own scheduler using
the constraintRows/Columns in a canvas and each program entry is a
button.  each button is created with its height fixed and width based
upon the length of the program to match the timeline of the scheduler.
it load perfectly the way I need it to but now I have to figure out
how to use the keyboard to navigate (which you so promptly replied to
in another post) the up/down nav and setting focus on application
startup (so you dont have to click into the browser to setFocus). 

thanks again for the help man! you rock




--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Finally got a chance to spend a few minutes on this.  Couple of things:
> 
>  
> 
> 1) setFocusOnFirstProgram is called too soon.  The schedule has the data
> but hasn't created renderers yet.  Probably best to wait for
> updateComplete or creationComplete.
> 
> 2) The scheduler is nested.  It contains a content child that contains
> an entryViewer that contains the renderer.  All layers need to have
> tabChildren = true.  Calling getChild on the schedule just returns an
> internal child and not your renderers.
> 
>  
> 
> HTH,
> 
> -Alex
> 
>  
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Corey Smaller
> Sent: Saturday, December 22, 2007 2:19 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: tabEnabled not enabling
> 
>  
> 
> Here is the link with the viewSource enabled. Hopefully you can help
> me out. Just a refresher: its a TV scheduler not unlike the channel
> guide for your tv. I cannot get the programs (the children of the
> schedule) to be focusEnabled/tabEnabled. The end result has to be
> controllable by a tv remote so i have to be able to use key up/down to
> navigate. 
> 
> http://www.coreysmaller.com/XMLTV/xmltv/bin-release/srcview/index.html
> 
> 
> 
> --- In flexcoders@yahoogroups.com 
> , "Alex Harui"  wrote:
> >
> > Can you post your code with view source enabled?
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of Corey Smaller
> > Sent: Tuesday, December 18, 2007 5:53 PM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] tabEnabled not enabling
> > 
> > 
> > 
> > after much pain and suffering with this Flexlib Schduler, i have set
> > my schedule program objects (entry) to tabEnabled= "true",
> > tabchildren="true", focusEnabled="true" . I have traced the tab index
> > of each item when I click it and the index number shows up so i know
> > the entry is enabled so I figured the tab navigation should work
> > right? um..nope.
> > 
> > in my main mxml my scheduleViewer (which contain the enntries) 
> > focusEnabled="true" tabChildren="true" and tabEnabled="true" . I have
> > tried changing tabEnabled="false" and focusEnabled='false" and several
> > combos of each to no avail. 
> > I need a stiff drink.
> >
>




[flexcoders] embedding a swf file in html

2008-01-04 Thread pateyog
I am trying to embed the generated swf file in an html which lies in
the parent directory and am not able to do so here is the detail

root folder contains main.html
under root folder is en_US which contains main.swf

here is my object tag in the main.html
http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab";>




http://www.adobe.com/go/getflashplayer";>



This does not work.  

However if put the main.html is in en_US and update the path to look
for main.swf from the same folder it works OK.

Any help here will be appreciated.





[flexcoders] enforce "mx:DateField" date selection?

2008-01-04 Thread markflex2007
Hi,

I want to use mx:DateField and disable all the dates before today. and 
only can select date after today.

Please give me a hit.

Thanks

Mark



[flexcoders] Bug in Date object - setting month increments timezone

2008-01-04 Thread Collin Peters
Can somebody verify this?  When I set the month in the date object the
timezone increments


var date:Date = new Date();
trace("date1: " + date);
date.setFullYear(1963);
trace("date2: " + date);
date.setMonth(6);
trace("date3: " + date);
date.setDate(5);
trace("date4: " + date);


Output:
date1: Fri Jan 4 10:15:34 GMT-0800 2008
date2: Fri Jan 4 10:15:34 GMT-0800 1963
date3: Thu Jul 4 10:15:34 GMT-0700 1963
date4: Fri Jul 5 10:15:34 GMT-0700 1963


This is causing havoc for me for a Swedish client as they are GMT +1.
Therefore the backend gets the wrong day when trying to save a
birthdate (which does not have a time component).


[flexcoders] Re: Flex Samples

2008-01-04 Thread javaguru_uk
Hi Stewart,

I have had the same problem. First, I read the getting started user
manual, where I grasped how Flex worked. Since I had already worked
with Openlaszlo before, it was easy to get used to it. The
technologies are quite similar.

Well, I have tried to find examples as well, and found this site
http://www.brightworks.com/technology/adobe_flex/code.html

I studied the source code of those that interested me, and then I was
implementing an application with it. I am in the middle of finishing a
document management system that was implemented in Flex and Java.

I think you should also have a look at Craingorm, which is a nice api
that allows you to organize your code in a proper way.

Well, hope that helps.

All the best,

Fidel.



RE: [flexcoders] Flayer Player minimum requirements Flex 3

2008-01-04 Thread Matt Chotin
We support r28 or greater of Player 9 I think.  Current version is 115
which we can leverage for the cached framework, but don't require.

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Friday, January 04, 2008 9:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flayer Player minimum requirements Flex 3

 

I am wondering what the minimum requirements for the Flash Player 
version are.

Our app is compiled using Flex Beta 3 and is LCDS project run in 
Tomcat.

I have a client having trouble with IE crashing and losing RTMP 
connections. I am wondering if their flash player version is a 
problem. They have Flash Player 9, but not the latest. They are in 
a big corporate environment where downloading is prohibited so before 
I make them go to IT, I want to get some more info.

Thanks,

Kevin

 



[flexcoders] Re: Simulating Flex Client requests using Java?

2008-01-04 Thread Robert Csiki


You are right in your way ... I was trying to analyze how well the
testing of the server code covered (using a Java code coverage tool -
like "Clover" - which works together with JUnit). If I'm using FlexUnit,
I'm testing the client (Actionscript) code, not the server (Java) one.
Of course I can test the service layer hit, but that is still part of
the client code test suite. What I want is to initiate the test from
Java side, to get the Java code coverage reports.

Robert

--- In flexcoders@yahoogroups.com, Jeffry Houser <[EMAIL PROTECTED]> wrote:
>
>
> I'm still speaking for a stance of borderline ignorance here...
>
> I don't think I understand why you want to simulate a Flex call from
> Java + JUnit instead of making an real Flex call, triggered by
FlexUnit.
>
> Instead of trying to simulate a Flex call from the server side,
> wouldn't you want to trigger the remote call from the Client? ( I
> assumed using FlexUnit ). In theory, you use JUnit to test your Java
> Objects, but can use FlexUnit to test hit the "service" layer. Am I
> greatly oversimplifying things? Or just completely wrong?
>
>
>
>
> Robert Csiki wrote:
> >
> >
> > Thanks for your reply Jeffry, yes, we're using FlexUnit too, for
testing
> > the client code. FlexUnit is some kind of JUnit but for Flex code
> > (Actionscript). I was talking about server side testing. What I want
is
> > my Java JUnit test case code to somehow act as a Flex client
simulator
> > and generate requests to Adobe LCDS Server, then interpret the
server
> > response etc.
> >
> > Cheers, Robert
> >
> >
> > --- In flexcoders@yahoogroups.com, Jeffry Houser jeff@ wrote:
> > >
> > >
> > > I'm speaking a bit "off the cuff" here, but...
> > >
> > > Would it make sense to look into FlexUnit (
> > > http://code.google.com/p/as3flexunitlib/ ) for these type of
things?
> > >
> > > Robert Csiki wrote:
> > > >
> > > >
> > > > Hello,
> > > >
> > > > For server-side testing purposes (e.g. testing custom LCDS
> > > > Assemblers, remote service destinations etc) using the JUnit
testing
> > > > framework, I need to somehow simulate Flex Client requests to
LCDS,
> > > > programatically, through Java code (the test cases). Is that
possible,
> > > > if so, *how* please? Basically I need to have access to LCDS's
> > > > FlexSession, FlexClient objects (Java objects) without having to
> > use the
> > > > Flex Client / browser to generate requests to LCDS.
> > > >
> > > > Thanks.
>
> --
> Jeffry Houser, Technical Entrepreneur, Software Developer, Author,
> Recording Engineer
> AIM: Reboog711 | Phone: 1-203-379-0773
> --
> My Company: 
> My Podcast: 
> My Blog: 
>




Re: [flexcoders] Spring Framework with BlazeDS

2008-01-04 Thread James Ward
Check out:
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1035406

and the old test drive has a Spring example:
http://coenraets.org/blog/2007/01/flex-test-drive-server-for-java-developers-tomcat-based/

-James


On Fri, 2008-01-04 at 09:16 -0800, Rodrigo Pereira Fraga wrote:
> hi!
> 
> With OpenAMF, I had a class "SpringBeanInvoker" that drew my beans, 
> exist something similar in BlazeDS that I can to use to call my Beans 
> of Spring?
> 
> Thanks!
> 
> Atenciosamente:
> ---
> | Rodrigo Pereira Fraga |
> http://www.digows.com 
> 
> e-mails: [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> ---
> 
> 
> 
> 
>  


[flexcoders] Flayer Player minimum requirements Flex 3

2008-01-04 Thread Kevin
I am wondering what the minimum requirements for the Flash Player  
version are.

Our app is compiled using Flex Beta 3 and is  LCDS project run in  
Tomcat.

I have a client having trouble with IE crashing and losing RTMP  
connections.  I am wondering if their flash player version is a  
problem.  They have Flash Player 9, but not the latest.  They are in  
a big corporate environment where downloading is prohibited so before  
I make them go to IT, I want to get some more info.

Thanks,

Kevin


[flexcoders] Spring Framework with BlazeDS

2008-01-04 Thread Rodrigo Pereira Fraga
hi!

With OpenAMF, I had a class "SpringBeanInvoker" that drew my beans, 
exist something similar in BlazeDS that I can to use to call my Beans 
of Spring?

Thanks!

Atenciosamente:
---
| Rodrigo Pereira Fraga |
http://www.digows.com 
 
e-mails: [EMAIL PROTECTED]
 [EMAIL PROTECTED]
---



Re: [flexcoders] Re: Simulating Flex Client requests using Java?

2008-01-04 Thread Jeffry Houser

  I'm still speaking for a stance of borderline ignorance here...

  I don't think I understand why you want to simulate a Flex call from 
Java + JUnit instead of making an real Flex call, triggered by FlexUnit.

  Instead of trying to simulate a Flex call from the server side, 
wouldn't you want to trigger the remote call from the Client?  ( I 
assumed using FlexUnit ).  In theory, you use JUnit to test your Java 
Objects, but can use FlexUnit to test hit the "service" layer.  Am I 
greatly oversimplifying things?  Or just completely wrong?




Robert Csiki wrote:
> 
> 
> Thanks for your reply Jeffry, yes, we're using FlexUnit too, for testing 
> the client code. FlexUnit is some kind of JUnit but for Flex code 
> (Actionscript). I was talking about server side testing. What I want is 
> my Java JUnit test case code to somehow act as a Flex client simulator 
> and generate requests to Adobe LCDS Server, then interpret the server 
> response etc.
> 
> Cheers, Robert
> 
> 
> --- In flexcoders@yahoogroups.com, Jeffry Houser <[EMAIL PROTECTED]> wrote:
>  >
>  >
>  > I'm speaking a bit "off the cuff" here, but...
>  >
>  > Would it make sense to look into FlexUnit (
>  > http://code.google.com/p/as3flexunitlib/ ) for these type of things?
>  >
>  > Robert Csiki wrote:
>  > >
>  > >
>  > > Hello,
>  > >
>  > > For server-side testing purposes (e.g. testing custom LCDS
>  > > Assemblers, remote service destinations etc) using the JUnit testing
>  > > framework, I need to somehow simulate Flex Client requests to LCDS,
>  > > programatically, through Java code (the test cases). Is that possible,
>  > > if so, *how* please? Basically I need to have access to LCDS's
>  > > FlexSession, FlexClient objects (Java objects) without having to 
> use the
>  > > Flex Client / browser to generate requests to LCDS.
>  > >
>  > > Thanks.

-- 
Jeffry Houser, Technical Entrepreneur, Software Developer, Author, 
Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: 
My Podcast: 
My Blog: 



[flexcoders] Re: AdvancedDataGrid - how to clear contents?

2008-01-04 Thread mitek17
Hi Greg,

Thanks for the reply!

I've figured out the way how to clear the contents.

I was unable to do it if ADG and group collection and dataprovider were 
in MXML format.
So, I just created independent ArrayCollection, binded it to the 
GroupCollection as source and then after getting query result from 
server manually inserted objects from HTTPService into the 
ArrayCollection. And before fetching the data simply call 
arrayCollection.removeAll();

After debugging the code I would say that the you can't clear the 
contents assigning null to the data provider as code checks everywhere 
if source != null and in this case just doing nothing.

O the contrary, if you generate CollectionChanged event everything is 
fine.

PS I am still wondering how direct binding HttpService & ADG works for 
most of the people - for example when result is just only one object 
XML parser does not generate vector representation of data.
Anyhow, I am avoiding MXML as much as possible.

Cheers,
Dmitri. 
 





--- In flexcoders@yahoogroups.com, Mr Greg Murnock <[EMAIL PROTECTED]> wrote:
>
> Are you sure there isn't another datProvider set somewhere?  I 
use "ADG.dataProvider = null" to clear datagrids out in a couple 
different areas and have never had a problem.  also make sure you 
aren't reasigning the original DP somewhere.
>  
> Greg
>



Re: [flexcoders] WebORB 3.0

2008-01-04 Thread Muzak
Start here:
http://www.themidnightcoders.com/weborb/

- Original Message - 
From: "NileAge, Mail" <[EMAIL PROTECTED]>
To: 
Sent: Friday, January 04, 2008 1:47 PM
Subject: [flexcoders] WebORB 3.0


> Hello all,
> 
> Please help me to understanding (WebORB) in more details such as:
> 
> -  What this technique do?
> 
> -  What the advantages and disadvantages ?
> 
> -  How I can use it with flex?
> 
> Thank you
> 
> Abdullah Sofyan
> 
>


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] Flex Samples

2008-01-04 Thread Mike Chabot
I hope you have checked the Adobe Web site for sample applications.
There are a bunch of samples with full source code there. Flex Store
is a popular one.
You could also get a book like Training From The Source which comes
with a sample application.

-Mike Chabot

On Jan 4, 2008 4:20 AM, Stewart Grainger <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> If anyone can provide any sample flex projects and code for someone to start
> development on a bigger project, I would be greatful…
>
>
>
> Code and sample files can be sent to either the group, so other can benefit,
> or to my email [EMAIL PROTECTED] or [EMAIL PROTECTED]
>
>
>
> I am looking at updating my website to flex, I have the basic layout design,
> but I don't know how to:
>
>
>
> Update forms.
>
> Validate Users against database.
>
> Submit form data.
>
>
>
> Among other things, if I could l look at snippits of code that would fuel my
> excitement about flex more…
>
>
>
> Regards
>
> Stewart Grainger
>
> 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] Adobe Air Error on new install - Unable to locate specified base class

2008-01-04 Thread Tom Chiverton
On Friday 04 Jan 2008, helihobby wrote:
> I think I need to point the app to the SDK I download but tried
> different things and can't seem to point it to the SDK...

In the project properties ?

-- 
Tom Chiverton
Helping to seamlessly harness killer experiences
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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


[flexcoders] Re: Simulating Flex Client requests using Java?

2008-01-04 Thread Robert Csiki

Thanks for your reply Jeffry, yes, we're using FlexUnit too, for testing
the client code. FlexUnit is some kind of JUnit but for Flex code
(Actionscript). I was talking about server side testing. What I want is
my Java JUnit test case code to somehow act as a Flex client simulator
and generate requests to Adobe LCDS Server, then interpret the server
response etc.

Cheers, Robert


--- In flexcoders@yahoogroups.com, Jeffry Houser <[EMAIL PROTECTED]> wrote:
>
>
> I'm speaking a bit "off the cuff" here, but...
>
> Would it make sense to look into FlexUnit (
> http://code.google.com/p/as3flexunitlib/ ) for these type of things?
>
> Robert Csiki wrote:
> >
> >
> > Hello,
> >
> > For server-side testing purposes (e.g. testing custom LCDS
> > Assemblers, remote service destinations etc) using the JUnit testing
> > framework, I need to somehow simulate Flex Client requests to LCDS,
> > programatically, through Java code (the test cases). Is that
possible,
> > if so, *how* please? Basically I need to have access to LCDS's
> > FlexSession, FlexClient objects (Java objects) without having to use
the
> > Flex Client / browser to generate requests to LCDS.
> >
> > Thanks.
>
> --
> Jeffry Houser, Technical Entrepreneur, Software Developer, Author,
> Recording Engineer
> AIM: Reboog711 | Phone: 1-203-379-0773
> --
> My Company: 
> My Podcast: 
> My Blog: 
>




Re: [flexcoders] Simulating Flex Client requests using Java?

2008-01-04 Thread Jeffry Houser

  I'm speaking a bit "off the cuff" here, but...

  Would it make sense to look into FlexUnit ( 
http://code.google.com/p/as3flexunitlib/ ) for these type of things?

Robert Csiki wrote:
> 
> 
> Hello,
> 
> For server-side testing purposes (e.g. testing custom LCDS 
> Assemblers, remote service destinations etc) using the JUnit testing 
> framework, I need to somehow simulate Flex Client requests to LCDS, 
> programatically, through Java code (the test cases).  Is that possible, 
> if so, *how* please? Basically I need to have access to LCDS's 
> FlexSession, FlexClient objects (Java objects) without having to use the 
> Flex Client / browser to generate requests to LCDS.
> 
> Thanks.

-- 
Jeffry Houser, Technical Entrepreneur, Software Developer, Author, 
Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: 
My Podcast: 
My Blog: 



[flexcoders] Simulating Flex Client requests using Java?

2008-01-04 Thread Robert Csiki

Hello,

For server-side testing purposes (e.g. testing custom LCDS Assemblers,
remote service destinations etc) using the JUnit testing framework, I
need to somehow simulate Flex Client requests to LCDS, programatically,
through Java code (the test cases).  Is that possible, if so, how
please? Basically I need to have access to LCDS's FlexSession,
FlexClient objects (Java objects) without having to use the Flex Client
/ browser to generate requests to LCDS.

Thanks.



[flexcoders] Re: Adobe Air Error on new install - Unable to locate specified base class

2008-01-04 Thread helihobby
Anyone ?

--- In flexcoders@yahoogroups.com, "helihobby" <[EMAIL PROTECTED]> wrote:
>
> Any one has an idea why I get the following error when I try to 
start
> a new AIR Desktop Project in Flex Beta Builder 3 ?
> 
> 
> 
> Unable to locate specified base class 'mx.core.WindowedApplication'
> for component class 'MyAir'.  Air/src MyAir.mxml  Unknown
1199416949109   6226
> 
> I think I need to point the app to the SDK I download but tried
> different things and can't seem to point it to the SDK...
> 
> Any help ?
> 
> Thanks,
> 
> Sean.
>




RE: [flexcoders] compc usage

2008-01-04 Thread Gregor Kiddie
There is a couple of steps required to get this working.

Firstly you need to build up the list of files in the directory (plus
subdirectories), and then feed this into the compc task.

This is from one of our build files, I hope you're using ant!

 





  



  

  





  

  



  

 

 





  

  

  





  

  



 

 

It isn't well documented, but this is incredibly useful!

 

Gk.

 

 

 

Can someone point me to a good example of compc command line usage?

I saw a few but the examples always require a manifest file that list
out the files included in the SWC. Is it possible to do it without a
manifest file, i.e. I just point to the folder where the classes are?

In the middle of development, I expect to be adding classes to the SWC
regularly so I don't want to keep updating a manifest file every time.



 

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
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 [EMAIL PROTECTED]





Re: [flexcoders] Re: The 'right' way to do custom styles

2008-01-04 Thread Tom Chiverton
On Friday 04 Jan 2008, Andrew Strader wrote:
> If you like re-usability, you would also want to consider whether
> making a property out of something that is very style-like may be
> very counterintuitive to a later developer.

I do, yes, hmm. 

Vote for #FB-11589 :-)

-- 
Tom Chiverton
Helping to apprehensively deliver intuitive deliverables
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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


[flexcoders] Re: PrintDataGrid variablerowheight issue

2008-01-04 Thread jf317820
https://bugs.adobe.com/jira/browse/SDK-14174

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Please file a bug with a simple test case and post the bug#
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jf317820
> Sent: Wednesday, December 05, 2007 9:59 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: PrintDataGrid variablerowheight issue
> 
>  
> 
> Default
> 
> --- In flexcoders@yahoogroups.com 
> , "Alex Harui"  wrote:
> >
> > Custom or default renderers?
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of jf317820
> > Sent: Wednesday, December 05, 2007 7:28 AM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] PrintDataGrid variablerowheight issue
> > 
> > 
> > 
> > Hi everyone,
> > 
> > I've done my thorough 5 days of documentation research, trial and
> > error, and forum perusing on this subject, but have come to you as a
> > frustrated, nearly broken developer. My printdatagrid will not print
> > correctly, no matter what I try. I am getting rows cut off at the end
> > of pages and extra empty rows added at the end of the printdatagrid.
> > 
> > I have followed the sample code for the printdatagrid, using the
> > validatenow and validnextpage methods, i've created my printdatagrid
> > dynamically in actionscript and in mxml, I've tried adding extra line
> > breaks to my data in an effort to force full rows...but nothing seems
> > to work.
> > 
> > I believe the culprit to be the variablerowheight attribute of my
> > printdatagrid which seems to be throwing off the printing. 
> > 
> > Has anyone figured out a way to print to a printdatagrid
> effectively???
> > 
> > Thanks in advance.
> > 
> > Joe
> >
>




[flexcoders] Flex performance

2008-01-04 Thread nitin15j
Hi,

we have created a dasboard application using flex 2 (eclipse IDE), 
java, sql server(database). The application servers different formats 
of charts built in flash. we are using a remote object which takes the 
data from java and sends back to the flex.

we are deploying the application on production server which has only 
weblogic 10. when we lauch the application using launch.mxml, it opens 
the page after 10 secs or more.

should i need to install flex server on the production server to fast 
the req/responce time?

Any help will be appreciated.

Thanks



[flexcoders] Re: ComboBox itemRenderer scrolling Bug?

2008-01-04 Thread shafram

Has anyone resolved this issue? I'm having a similar problem where I
have different images in a datagrid column based on the data and as
soon as I start scrolling, the images start moving around (i.e the
image that was supposed to be displayed in row 1 with row 1's data is
now displayed in row 2 etc)


--- In flexcoders@yahoogroups.com, "Brendan Meutzner" <[EMAIL PROTECTED]>
wrote:
>
> Is this a bug then?... can somebody tell me if it's been reported on the
> beta list?
> 
> Thanks,
> 
> Brendan
> 
> 
> 
> On 6/20/06, indy_nagpal <[EMAIL PROTECTED]> wrote:
> >
> >   Hi Brendon... I came across exactly the same weirdness when using an
> > itemrenderer that displayed different images in a datagrid column
> > based on specific values.
> >
> > No matter what I do, I continue to get the same weird behaviour where
> > if you scroll down, the values in the rendered column start moving
> > around...
> >
> > I picked up the example code from:
> >
http://www.iepl.net/dataGridItemRendererSample/dgItemRendererSample.html
> > and reduced the height of the datagrid so that scrolling is required.
> > And this weird behaviour occurs there as well.
> >
> > This unexpected behaviour is not listed as a known issue at
> > http://labs.adobe.com/wiki/index.php/Flex:Known_Issues#Item_Renderers.
> >
> > So I don't know if it is bug or it is something that all of us are
> > doing incorrectly.
> >
> > Indy
> > --- In flexcoders@yahoogroups.com ,
"Brendan
> > Meutzner" 
> >
> > wrote:
> > >
> > > Sorry if this is a repost, but i didn't see it showing up after
being
> > > posted this morning..
> > >
> > >
> > >
> > > Hi All,
> > >
> > > I came across some funky behaviour when using a ComboBox as an
> > > itemRenderer for a DataGrid. I've posted the issue at
> > > http://www.visualconcepts.ca/flex2/comboboxrenderer/Tester.html. To
> > > replicated just change one of the combobox items, and then move your
> > > mouse above and below the datagrid. For additional funkiness, go
> > > focus on one of the numbers (NumericStepper renderer used) and move
> > > the mouse above and below the datagrid to see them disappear as the
> > > rows are redrawn... interesting...
> > >
> > > Brendan
> > >
> >
> >  
> >
>




[flexcoders] How to use flexmdi framework in flex builder 2.0.1

2008-01-04 Thread gt_shrikant
hi,

i downloaded the source along with SWC, and i tried to use this 
flexmdi in one mine project. i have flex builder 2.0.1.
i added the flexmdi.swc to library path using "add swc", and added 
namespace defination at tag.

i didnt got any tag which works……… and it shows error like
cannot resolve component implementation.

later i removed the swc and i added the source folder to library path 
…… then also it is not worked ……….

so what might b the reason….

plese post the exact step-by-setp instructions what to do after 
downloaded the .ZIP folder……. so i may help lots of begnniers…

thnx
shrikant 





[flexcoders] FLEX3 Datagrid enabling data paging

2008-01-04 Thread kamiseq
I'm looking for a ready to use component that is able to page data and
load very quickly. I 've only found
http://www.badongers.com/blog/?p=73 but it is just filling datagrid
with nulls to show scrollbar and that is strange approach for me. 

I know that lifecycle should give me such feature but it is not free.
I was looking for such a component in interent but I couldn find
nothing better.

So maybe I should write my own component and I would like make it more
intelligent.
1)it uses amf to comunicate with server
2)it knows about numbers of rows(lines) to display but is taking only few
3)scrollbar should be something like in picasa aplication
4)catch sroll event is catched
5)clickable header enabling sorting and filtering

nothing special but as I am totally new to action script and flex in
general, can you tell me how to draw my own scrollbar and controll it
(can i do it without drawing anything by myself, I dont have
macromedia flash studio), which component use as a base for my own
scrollable like datgri



[flexcoders] Filtering of Grouped data in Advanced DataGrid

2008-01-04 Thread Muhammad Asim Javed
I want to display the Hierarchical Data (groped data) in Advance DataGrid
and at the same time I want the filtering functionality as well. The problem
is if I want grouped view then I have to provide GroupingCollection to the
dataprovider ( that has no filterFunction type functionality ).
Is there any way to solve this issue?

-- 
Muhammad Asim Javed
Software Engineer
Cell: 92-321-4935495


[flexcoders] Re: The 'right' way to do custom styles

2008-01-04 Thread Andrew Strader
It is not always worth the extra effort to make a style rather than a 
regular property. What you lose, then, is the ability to control the 
property with stylesheets, to let the style's value be inherited from 
parent components, and to let its value be overridden from cascading 
style classes.

If you like re-usability, you would also want to consider whether 
making a property out of something that is very style-like may be 
very counterintuitive to a later developer.


--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> 
wrote:
>
> So, as I see things, there are two ways to do custom styles in a 
custom 
> component.
> The first is the quick and easy way: create a public Bindable of 
type uint and 
> then use data binding inside your custom component. Your component 
then has 
> properties for the styles.
> The second is the more long winded approach of adding meta data, 
and writing 
> all the code needed to support that. Your component then has actual 
styles 
> that can be set using setStyle(), but from MXML looks exactly the 
same as the 
> first way.




[flexcoders] Flex Samples

2008-01-04 Thread Stewart Grainger
If anyone can provide any sample flex projects and code for someone to start
development on a bigger project, I would be greatful.

 

Code and sample files can be sent to either the group, so other can benefit,
or to my email [EMAIL PROTECTED] or [EMAIL PROTECTED] 

 

I am looking at updating my website to flex, I have the basic layout design,
but I don't know how to:

 

Update forms.

Validate Users against database.

Submit form data.

 

Among other things, if I could l look at snippits of code that would fuel my
excitement about flex more.

 

Regards

Stewart Grainger



[flexcoders] WebORB 3.0

2008-01-04 Thread NileAge, Mail
Hello all,

Please help me to understanding (WebORB) in more details such as:

-  What this technique do?

-  What the advantages and disadvantages ?

-  How I can use it with flex?

Thank you

Abdullah Sofyan



[flexcoders] Service Browser for GranitedDS

2008-01-04 Thread Frederico Garcia
Hi,

The thing I like the most on AMFPHP is the Service Browser. I'm using 
granite data services (POJO) now, and I'd like to use the Browser from 
AMFPHP. Can anyone tell me how to do it?

Regards,

Frederico Garcia


Re: [flexcoders] Re: print function code for $$ - anyone interested?

2008-01-04 Thread Frederico Garcia
anthony_morsey escreveu:
> This offer is still available -- anyone interested??
>
> --- In flexcoders@yahoogroups.com, "anthony_morsey" <[EMAIL PROTECTED]> wrote:
>   
>> Is anyone interested in building a print function for a small reward -
>> $100 ??
>>
>> I need a function that will take any objects from the current screen
>> (text areas of varying/dynamic size, labels, charts and legends) and
>> place them sequentialy on some type of invisible/hidden container that
>> then can be printed.  I want to arrange these objects in any order and
>> have them print out as if they were placed in a Word document.  I want
>> to either control page breaks or have the function decide based on the
>> object sizes where to break.
>>
>> FYI, This is a financial planning application that has a print option
>> for the user to take away a summary of the analysis which includes
>> descriptive text and bar/line/pie charts with legends.
>>
>> All I'm looking for is the function for printing these objects.  I
>> need this asap - this week.
>>
>> Thanks
>>
>> Tony
>>
>> 
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>
>
>
>
> __ NOD32 2760 (20080102) Information __
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
>
>   
Ok, send me the dataProviders and I do it for you...

(No reward needed)

Regards,

Frederico Garcia


[flexcoders] Re: print function code for $$ - anyone interested?

2008-01-04 Thread anthony_morsey
This offer is still available -- anyone interested??

--- In flexcoders@yahoogroups.com, "anthony_morsey" <[EMAIL PROTECTED]> wrote:
>
> Is anyone interested in building a print function for a small reward -
> $100 ??
> 
> I need a function that will take any objects from the current screen
> (text areas of varying/dynamic size, labels, charts and legends) and
> place them sequentialy on some type of invisible/hidden container that
> then can be printed.  I want to arrange these objects in any order and
> have them print out as if they were placed in a Word document.  I want
> to either control page breaks or have the function decide based on the
> object sizes where to break.
> 
> FYI, This is a financial planning application that has a print option
> for the user to take away a summary of the analysis which includes
> descriptive text and bar/line/pie charts with legends.
> 
> All I'm looking for is the function for printing these objects.  I
> need this asap - this week.
> 
> Thanks
> 
> Tony
>




[flexcoders] Re: Mock objects in AS3

2008-01-04 Thread abdulqabiz3
I heard of reading, in this thread, about ActionScript compiler in
ActionScript. Metal Hurlant has created a library (eval) which is
still being developed, but it does compile ActionScript code, yeah
library is written using ActionScript 3.0

http://metal.hurlant.com/blog/2008/01/02/flash/eval-and-actionscript/

I thought, it might be useful..

-abdul

--- In flexcoders@yahoogroups.com, Drew Bourne <[EMAIL PROTECTED]> wrote:
>
> Hi Christophe,
> 
> Ohh neatness! Thanks for the heads up, I had no idea Haxe had that  
> feature.
> 
> I'm going to spend some time on this tonight & tomorrow.
> 
> cheers,
> Drew
> 
> 
> On 03/01/2008, at 9:53 PM, Christophe Herreman wrote:
> 
> > Hi Drew,
> >
> > just FYI: Adam and I talked about this some days ago. I pointed him  
> > to the fact that you could easily convert the Haxe code to AS3  
> > using a flag for the Haxe compiler. In case you are interested, I  
> > have uploaded the hxasm code and the as3 version here:http:// 
> > www.herrodius.com/upload/hxasm.zip
> >
> > @Adam: Did you make some more progress?
> >
> > regards,
> > Christophe
> >
> >
> >
> > 2008/1/2, Drew Bourne < [EMAIL PROTECTED]>:
> > As the author of that mock framework Adam linked to I thought I
> > should chip in with my thoughts on the issues that have been raised.
> >
> > Regarding having to hand code the implementation of the class you
> > want to mock I have found that with a couple of snippet templates for
> > TextMate I can write them quite quickly.
> >
> > If you are going to hand-code stubs for use in testing without using
> > a framework you are adding behaviour to a class which means you
> > should then be testing that class too.
> >
> > To ease some of the pain until we can generate mock objects from
> > interfaces I intend to bundle a bunch of support classes that provide
> > mocks for many of the core flash class (think URLLoader,
> > EventDispatcher, Socket, etc). Speak up if you've got suggestions for
> > the classes you would like to see included initially.
> >
> > I have a couple of ideas about what we would need to be able to
> > generate the mock classes:
> >
> > 1) Generate the .as for the mock from reflection information at
> > runtime, then compile the generated .as at runtime with a self-hosted
> > compiler (AS3 compiler in AS3) then load it via Loader.loadBytes and
> > flash.utils.getDefinitionByName
> >
> > 2) Write an AS3 Parser in something like Java or Ruby that would
> > provide access to the Abstract Syntax Tree from which we can generate
> > the mock class, then compile the generated .as with mxmlc along with
> > the test suite.
> >
> > By implementing a tool that provides the AST for an AS3 class we open
> > up the doors for lots of fun like generating mocks, AOP, code
> > mutation (think adding hooks for code coverage reporting, mutation
> > testing, additional metadata directives)
> >
> > There is work in the Tamarin project for a self-hosted compiler
> > however last I checked it wasn't far enough along for our purposes.
> >
> > The hxASM library looks interesting and could definately be an avenue
> > worth exploring for this. Adam, I would be interested in
> > collaborating on getting a port of hxASM to AS3 so that we can
> > generate the necessary bytecodes to create mocks from an interface at
> > runtime.
> >
> > cheers,
> > Drew
> >
> >
> >
> >
> > -- 
> > Christophe Herreman
> > http://www.herrodius.com
> > http://www.pranaframework.org
> >
> >
>




RE: [flexcoders] Setter question

2008-01-04 Thread mark goldin
Yes, that's what I fugured.
  Here is my code. 
  I have a combobox as a form item.:
  
  
  
  
  dataModel tag:
  
   
  Data Model:
  public class accidentsGeneralModel
  {
  private var _otherrailroadinvolved:int = 0;
  [Bindable]
  public var modelValid:Boolean = false;
  
   
  [Bindable]
  public function get otherrailroadinvolved():int
  {
  return _otherrailroadinvolved;
  }
  public function set otherrailroadinvolved(otherrailroadinvolved:int):void
  {
  _otherrailroadinvolved = otherrailroadinvolved;
  }
  Combo's data:
  combo.dataProvider = someXML;
   
  Form's data:
  //reference to main application
  mainApp = mx.core.Application.application;
  // reference to Accidents module
  accidentsModule = mainApp.moduleLoader.child;
  accidentsModule.modelGeneral.otherrailroadinvolved = 
resultXML.general.otherrailroadinvolved;
   
  Here is what happens:
  If I am setting up form's data after combo's dropdown has been set then the 
combo will show the correct item: item that is driven by the form's data. But 
if I do it other way around then the combo does not show the correct one but 
always has its selectedIndex = 0.
  I am trying to override dataProvider property but dont know what I can match 
combo's dropdown data to to set its selectedIndex manually.
   
  Thanks
Alex Harui <[EMAIL PROTECTED]> wrote:
  Unless comboItemRenderer is in a List or DataGrid or other 
ListBase-derived class, the listData setter function will not be called.
  
  Assigning the combo’s dataprovider just tells its dropdown List what to 
display.
  
  
-
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mark 
goldin
Sent: Thursday, January 03, 2008 6:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Setter question

  
  Combo:

  package
  CustomComponents 
  {
  import mx.controls.*; 
  import mx.controls.listClasses.*; 
  import mx.collections.*; 
  import flash.events.Event; 
  import mx.events.*; 
  public class comboIte! mRenderer extends ComboBox implements 
IDropInListItemRenderer 
  {
  public function comboItemRenderer() 
  { 
  super(); 
  }
  override public function set listData(value:BaseListData):void 
  {
  super.listData = value; 
..



Assigning data:

combo.dataProvider = XMLData;

Should I be getting into listData function after that command?

  
Gordon Smith <[EMAIL PROTECTED]> wrote: 
  What do you mean by defining a "set function" for the ComboBox? Can you 
show some code?


Gordon Smith

Adobe Flex SDK Team

  

-
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
markgoldin_2000
Sent: Thursday, January 03, 2008 5:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Setter question
  I have a combobox in a form. I have also defined a set function for 
that combo. I am assigning data to the control using:
combo.dataProvider = someXML. The data is shown with no problem, but 
set function is not called. Am I doing something wrong?

Thanks




  

  



  

 


[flexcoders] The 'right' way to do custom styles

2008-01-04 Thread Tom Chiverton
So, as I see things, there are two ways to do custom styles in a custom 
component.
The first is the quick and easy way: create a public Bindable of type uint and 
then use data binding inside your custom component. Your component then has 
properties for the styles.
The second is the more long winded approach of adding meta data, and writing 
all the code needed to support that. Your component then has actual styles 
that can be set using setStyle(), but from MXML looks exactly the same as the 
first way.

Given we don't use setStyle(), and use custom components mostly from MXML 
(rather than AS), is it very wrong to just do it the first, esp. if there are 
many styles ?
-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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


RE: [flexcoders] RTE hide panel

2008-01-04 Thread Kevin Aebig
Since the early days of FlashCoders, you've been making me feel like an
idiot with these simple solutions... =]

Cheers and thanks!

!k

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Muzak
Sent: Friday, January 04, 2008 1:11 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] RTE hide panel

   

- Original Message - 
From: "Kevin Aebig" <[EMAIL PROTECTED]>
To: 
Sent: Friday, January 04, 2008 6:27 AM
Subject: [flexcoders] RTE hide panel


> Hey all,
> 
> 
> 
> I've been trying to figure out a way to get rid of the panel that's shown
> with the RichTextEditor either by:
> 
> 
> 
> -  Changing the inheritance, which seems unlikely
> 
> -  Disabling the Panel from showing, which seems difficult given
the
> fact that the core controls are embedded inside it
> 
> 
> 
> I'm sure someone has tried to accomplish this before, but a la google
finds
> nothing.
> 
> 
> 
> Anyone shed some light on this?
> 
> 
> 
> Cheers,
> 
> 
> 
> !k
> 
>


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links






Re: [flexcoders] Distributed compilation in FlexBuilder?

2008-01-04 Thread Tom Chiverton
On Friday 04 Jan 2008, Lachlan Cotter wrote:
> This may be wishful thinking, but does anyone know if there is any
> way to set up parallel, distributed compiles in FlexBuilder? or

Why would you want to do that ? What problem are you having that this would 
solve ?

-- 
Tom Chiverton
Helping to proactively expedite slick portals
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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


[flexcoders] Re: Solutions for provide a secure access to a Web-Service using Flex

2008-01-04 Thread João
Frederico, www.riapt.org is an open community. Everyone can post on
the blog. More important than the blog, is the Mailing List. We have a
ML with 123 members. The interest in Portugal is still small, but it's
growing fast. I think you should try joining the ML. :)
We are also promoting some events, and making efforts to bring Adobe
speakers to Portugal, probably on February. Stay tuned. 

João Saleiro