[flexcoders] Re: Please explain the Tree to me!!!!! Before I die waiting!

2008-10-29 Thread digital_eyezed
Thanks for your help, I think I was close to giving up there, was even
considering returning to the java and returning an arraylist instead
of the XML.

Your a star!

Thanks again.

Iain



--- In flexcoders@yahoogroups.com, "Ryan Graham" <[EMAIL PROTECTED]> wrote:
>
> 
> Instead of going through the index, you could iterate the selectedItems
> and use e4x syntax to get the attribute you're looking for. selectedItem
> and selectedItems are a direct link to the object in the dataprovider,
> in this case XML objects:
>  
> private function onItemClick(event:ListEvent):void
>   {
> trace("**");
> for each (var item in tree1.selectedItems)
> {
>   trace([EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> );
> }
>   }
>  
> For your sample XMLListCollection, selecting a single item (in this
> example the 1st) will yield:
>  
> **
> 1
>  
> And selecting all will yield:
>  
> **
> 76
> 3
> 1
>  
> HTH,
> Ryan
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Wednesday, October 29, 2008 8:42 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Please explain the Tree to me! Before I die
> waiting!
> 
> 
> 
> Hi,
> 
> I have a tree filled with an XMLListCollection, all nodes are named
> .
> 
> The structure is like this:
> 
> 
> 
> 
> 
> 
> 
> but on a much greater scale.
> 
> Now I have set the Tree component to allowMultipleSelection=true so
> that the user can select multiple nodes, that works no problem. I have
> also set an itemClick function to trigger when the user selects the
> item or items. By doing this I can work out if one item is selected
> or multiple:
> 
> if(Tree(event.target).selectedItem){
> dosomethingforoneselection; //this works ok
> }else if(Tree(event.target).selectedIndicies){
> for(var i:int = 0;i var h:int = int(Tree(event.target).selectedIndicies[i];
> }
> }
> 
> Ok, now I have the index of each item selected on the Tree, so how do
> I get the locationid from the index?
> 
> Completely mind boggled!
> 
> Thanks ever so much if you can help!
> 
> Kind Regards,
> 
> Iain
> 
> 
> 
>  
> 
> 
> This message is private and confidential. If you have received it in
error, please notify the sender and remove it from your system.
>




[flexcoders] Please explain the Tree to me!!!!! Before I die waiting!

2008-10-29 Thread digital_eyezed
Hi,

I have a tree filled with an XMLListCollection, all nodes are named
.

The structure is like this:







but on a much greater scale.

Now I have set the Tree component to allowMultipleSelection=true so
that the user can select multiple nodes, that works no problem.  I have
also set an itemClick function to trigger when the user selects the
item or items.  By doing this I can work out if one item is selected
or multiple:

if(Tree(event.target).selectedItem){
dosomethingforoneselection; //this works ok
}else if(Tree(event.target).selectedIndicies){
for(var i:int = 0;i

[flexcoders] FLEX 2: SelectedIndicies in mx:tree with allowmultipleSelection

2008-10-28 Thread digital_eyezed
Hi,

I have a tree which is populated from an XML doc returned from a
remote object.  I assign this to the tree object and all is well.  I
have enabled allowmultipleselection as I want to get the data from a
number of nodes when they are selected, so I have an itemClick
function on the tree that triggers the whole thing off.

My problem is that I cant get any further than getting the individual
indexes of the selected nodes, so to be brief:

I have a function that uses a for loop and goes through the
selectedindicies array and extracts the individual indexes of the tree
nodes, but what then?  I can't get the data I need which is on the
[EMAIL PROTECTED] attribute of the node.

Can you help please, I've been at this for 3 days now!

Thanks in advance,

Iain 



[flexcoders] Checkbox in Celrenderer Problem

2007-03-12 Thread digital_eyezed
Hi,

I have a cellrenderer for a datagrid which has a simple checkbox in it.

My problem is, when I click the checkbox, another checkbox (which is
outside the scroll area of the datagrid) is also checked and so on
every row which is equal to the rowcount of the datagrid.

Is this a bug?

How do I get around this problem?

Best Regards,

Iain (Flex 1.5)



[flexcoders] Change the header color of one column (1.5)

2007-02-23 Thread digital_eyezed
Hi,

Can I change the header color of one column on a datagrid?

I thought I could do this through a headerrenderer, but it seems not?

Regards,

Iain



[flexcoders] Custom Event handling from cellRender (1.5)

2007-02-22 Thread digital_eyezed
Hi,

I can dispatch an event (custom) from a cellrenderer
dispatchEvent({type:"enableCommit",bb2:siteSelected.selected});
how can I add an event listener to the dataGridColumn or DataGrid to
capture that event then trigger a function call?

I thought this would work (the datagrid id is statusGrid):
statusGrid.addEventListener("enableCommit",test);
Where test is the name of the function to call and this is set in the
initialize of the parent.

Regards,

Iain



[flexcoders] Re: Oh the headerrenderer of death

2007-02-22 Thread digital_eyezed
Hi,

I'm not using the variableRowHeight attribute so that didn't work,
this is soo hard to dubug.

Any other suggestions?

Cheers,

Iain

--- In flexcoders@yahoogroups.com, "bobrene07" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> I had the same bug, when my datagrid had variableRowHeight="true", my
> headerrender wouldn't work. if you have try without it.
> 
> 
> good day
> 
> bob
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> wrote:
> >
> > Hi,
> > 
> > Having a bit of a nightmare with a headerrenderer, it simply doesn't
> > work for me, ahh I hear you say.
> > 
> > This is what I have:
> > 
> >  > backgroundColor="#C0C0C0" width="75" textAlign="center"
> > headerText="black"/>
> > 
> > The Renderer is this:
> > 
> > 
> > http://www.macromedia.com/2003/mxml"; xmlns="*"
> > marginTop="0" marginBottom="0" hScrollPolicy="off" verticalGap="0"
> > horizontalGap="0" backgroundColor="#dd" vScrollPolicy="off"
> > verticalAlign="top" borderStyle="none">
> > 
> > 
> > 
> > 
> > 
> > 
> > All I want to show is the headerText with a backgroundColor in the
> header.
> > 
> > Can anyone help please?
> > 
> > All I get at the moment is a blank header, with nothing in it and the
> > same as the default header colors.
> > 
> > Cheers,
> > 
> > Iain
> >
>




[flexcoders] Oh the headerrenderer of death

2007-02-22 Thread digital_eyezed
Hi,

Having a bit of a nightmare with a headerrenderer, it simply doesn't
work for me, ahh I hear you say.

This is what I have:



The Renderer is this:


http://www.macromedia.com/2003/mxml"; xmlns="*"
marginTop="0" marginBottom="0" hScrollPolicy="off" verticalGap="0"
horizontalGap="0" backgroundColor="#dd" vScrollPolicy="off"
verticalAlign="top" borderStyle="none">






All I want to show is the headerText with a backgroundColor in the header.

Can anyone help please?

All I get at the moment is a blank header, with nothing in it and the
same as the default header colors.

Cheers,

Iain



[flexcoders] Re: flex 1.5 numericstepper problem

2006-12-06 Thread digital_eyezed
That worked, thanks very much!

Iain

--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> I guess you could go straight to the dataProvider and instead of 
> listOwner.editField() use:
> 
> listOwner.dataProvider[getCellIndex().itemIndex].stepper = val;
> 
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
>  wrote:
> >
> > Thanks,
> > 
> > I tried this, but the numericStepper just stops stepping.
> > 
> > Any other ideas?
> > 
> > CHeers,
> > 
> > Iain
> > 
> > New Renderer code:
> > 
> >  > xmlns:mx="http://www.macromedia.com/2003/mxml";>
> > 
> > 
> > 
> >  > maximum="{labelData.fill}"/>
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Doug Lowder"  
> wrote:
> > >
> > > 
> > > Hi Iain,
> > > 
> > > You need to update the grid's data field in your change 
> handler.  Try
> > > the following:
> > > 
> > >var listOwner : MovieClip; // the reference we receive to the 
> list
> > > 
> > >var getCellIndex : Function; // the function we receive from 
> the list
> > > 
> > >var getDataLabel : Function; // the function we receive from 
> the list
> > > 
> > >function changeVal() {
> > > 
> > >val = changed.value;
> > > 
> > >listOwner.editField(getCellIndex().itemIndex, getDataLabel
> (),
> > > val);
> > > 
> > >}
> > > 
> > > 
> > > 
> > > Relevant links:
> > > 
> > > 
> http://weblogs.macromedia.com/pent/archives/2004/12/cell_renderers.cf
> m
> > > 
> <http://weblogs.macromedia.com/pent/archives/2004/12/cell_renderers.c
> fm>
> > > 
> > >
> > 
> http://weblogs.macromedia.com/pent/archives/flex/solutions/cellrender
> ers\
> > > .zip
> > >
> > 
> <http://weblogs.macromedia.com/pent/archives/flex/solutions/cellrende
> rer\
> > > s.zip>  (source)
> > > 
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> 
> > > wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I have a problem with a numeric stepper in a cellrenderer of a
> > > > dataGridColumn.
> > > >
> > > > When the cell loses focus, it goes back to the value set 
> initially, so
> > > > I lose all the changes.
> > > >
> > > > Here is the cellrenderer code:
> > > >
> > > >  > > > xmlns:mx="http://www.macromedia.com/2003/mxml";>
> > > > 
> > > > 
> > > > 
> > > >  > > > maximum="{labelData.fill}"/>
> > > > 
> > > >
> > > > I need the numericStepper to keep the value I change it to in 
> each of
> > > > the rows I change it.
> > > >
> > > > Cheers,
> > > >
> > > > Iain
> > > >
> > >
> >
>




[flexcoders] Re: flex 1.5 numericstepper problem

2006-12-06 Thread digital_eyezed
Thanks,

I tried this, but the numericStepper just stops stepping.

Any other ideas?

CHeers,

Iain

New Renderer code:

http://www.macromedia.com/2003/mxml";>






--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> 
> Hi Iain,
> 
> You need to update the grid's data field in your change handler.  Try
> the following:
> 
>var listOwner : MovieClip; // the reference we receive to the list
> 
>var getCellIndex : Function; // the function we receive from the list
> 
>var getDataLabel : Function; // the function we receive from the list
> 
>function changeVal() {
> 
>val = changed.value;
> 
>listOwner.editField(getCellIndex().itemIndex, getDataLabel(),
> val);
> 
>}
> 
> 
> 
> Relevant links:
> 
> http://weblogs.macromedia.com/pent/archives/2004/12/cell_renderers.cfm
> <http://weblogs.macromedia.com/pent/archives/2004/12/cell_renderers.cfm>
> 
>
http://weblogs.macromedia.com/pent/archives/flex/solutions/cellrenderers\
> .zip
>
<http://weblogs.macromedia.com/pent/archives/flex/solutions/cellrenderer\
> s.zip>  (source)
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> wrote:
> >
> > Hi all,
> >
> > I have a problem with a numeric stepper in a cellrenderer of a
> > dataGridColumn.
> >
> > When the cell loses focus, it goes back to the value set initially, so
> > I lose all the changes.
> >
> > Here is the cellrenderer code:
> >
> >  > xmlns:mx="http://www.macromedia.com/2003/mxml";>
> > 
> > 
> > 
> >  > maximum="{labelData.fill}"/>
> > 
> >
> > I need the numericStepper to keep the value I change it to in each of
> > the rows I change it.
> >
> > Cheers,
> >
> > Iain
> >
>



[flexcoders] flex 1.5 numericstepper problem

2006-12-06 Thread digital_eyezed
Hi all,

I have a problem with a numeric stepper in a cellrenderer of a
dataGridColumn.

When the cell loses focus, it goes back to the value set initially, so
I lose all the changes.

Here is the cellrenderer code:

http://www.macromedia.com/2003/mxml";>






I need the numericStepper to keep the value I change it to in each of
the rows I change it.

Cheers,

Iain



[flexcoders] Unable to access UserTransaction in DataService

2006-09-21 Thread digital_eyezed
Hi all,

I am trying to use data services on a JBoss4 application server but
keep getting the following error,

 

[RPC Fault faultString="Unable to access UserTransaction in
DataService." faultCode="Server.Processing" faultDetail="null"]

  at
mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()

  at mx.data::CommitResponder/fault()

  at
mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\AsyncRequest.as:107]

  at
NetConnectionChannel.as$37::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder::statusHandler()[C:\dev\enterprise_gmc\frameworks\mx\messaging\channels\NetConnectionChannel.as:458]

  at
mx.messaging::MessageResponder/status()[C:\dev\enterprise_gmc\frameworks\mx\messaging\MessageResponder.as:225]

 

Is there some other configuration needed for JBoss to work with the
transactions?

Many thanks in advance.

Iain





--
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: Issue when I close a TitleWindow 1.5

2006-08-18 Thread digital_eyezed
--- In flexcoders@yahoogroups.com, "digital_eyezed" <[EMAIL PROTECTED]>
wrote:
>
> Hi,
> 
> I am closing a TitleWindow with this function:
> public function handleClick(event){
>   doLater(this, "deletePopUp");
>}
> 
> It closes the window but then the dubug spews out this:
> 
> Info: Request sent to http://localhost:8080/webapp/amfgateway from
> 127.0.0.1 received at 15:43:42.710 2006-08-18 
> Info: Deserializing request
>   (Message #0 targetURI=com.myCompany.GetStuff.removeEventListener,
> responseURI=/4)
> (Array #0)
>   [0] = "__NoChangeEvent__"
>   [1] = (Object #1)
> _children = (Array #2)
>   [0] = (Object #3)
> _children = (Array #4)
>   [0] = (Object #5)
> _children = null
> _value = undefined
> _listeners = (Array #6)
>   [0] = (Object #7)
> _document = undefined
> _destString = "column7.horizontalAxis.dataProvider"
> _bindIsExecuting = false
> _isHandlingEvent = false
> _hasHadValue = false
> uiComponentWatcher = -1.0
> twoWayCounterpart = null
>   [1] = (Object #8)
> _document = undefined
> _destString = "column7.dataProvider"
> _bindIsExecuting = false
> _isHandlingEvent = false
> _hasHadValue = false
> uiComponentWatcher = -1.0
> twoWayCounterpart = null
>   [2] = (Object #9)
> _document = undefined
> _destString = "skuGrid2.dataProvider"
> _bindIsExecuting = false
> _isHandlingEvent = false
> _hasHadValue = false
> uiComponentWatcher = -1.0
> twoWayCounterpart = null
> _propertyName = "result"
> _events = (Object #10)
>   resultForBinding = true
> _mangledPropertyName = "__watcher__result"
> _parentObj = (Object #11)
>   __service = (Object #12)
> log = (Object #13)
>   level = 1.0
>   name = "RemoteObject_AMF"
> __conn = UNSUPPORTED
> (Message #1 targetURI=_allowRes, responseURI=
> 
> and some unprintable character(squares and things) and then the
> stacktrace:
> 
> UNKNOWN TYPE
> 
> Error: Request received was not Flash-based (not of the binary AMF
> protocol).
> flashgateway.io.NotAMFException: Request received was not Flash-based
> (not of the binary AMF protocol).
>   at
>
flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:71)
>   at flashgateway.Gateway.invoke(Gateway.java:217)
>   at
flashgateway.controller.GatewayServlet.service(GatewayServlet.java:69)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>   at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>   at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>   at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>   at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>   at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>   at
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>   at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>   at
>
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
>   at
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>   at
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>   at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>   at java.lang.Thread.run(Thread.java:595)
> 
> It doesn't seem to affect the app any, but it's just a bit messy, any
> ideas?
> 
> Cheers,
> 
> Iain
>






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

<*> 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] Issue when I close a TitleWindow 1.5

2006-08-18 Thread digital_eyezed
Hi,

I am closing a TitleWindow with this function:


It closes the window but then the dubug spews out this:

Info: Request sent to http://localhost:8080/webapp/amfgateway from
127.0.0.1 received at 15:43:42.710 2006-08-18 
Info: Deserializing request
  (Message #0 targetURI=com.myCompany.GetStuff.removeEventListener,
responseURI=/4)
(Array #0)
  [0] = "__NoChangeEvent__"
  [1] = (Object #1)
_children = (Array #2)
  [0] = (Object #3)
_children = (Array #4)
  [0] = (Object #5)
_children = null
_value = undefined
_listeners = (Array #6)
  [0] = (Object #7)
_document = undefined
_destString = "column7.horizontalAxis.dataProvider"
_bindIsExecuting = false
_isHandlingEvent = false
_hasHadValue = false
uiComponentWatcher = -1.0
twoWayCounterpart = null
  [1] = (Object #8)
_document = undefined
_destString = "column7.dataProvider"
_bindIsExecuting = false
_isHandlingEvent = false
_hasHadValue = false
uiComponentWatcher = -1.0
twoWayCounterpart = null
  [2] = (Object #9)
_document = undefined
_destString = "skuGrid2.dataProvider"
_bindIsExecuting = false
_isHandlingEvent = false
_hasHadValue = false
uiComponentWatcher = -1.0
twoWayCounterpart = null
_propertyName = "result"
_events = (Object #10)
  resultForBinding = true
_mangledPropertyName = "__watcher__result"
_parentObj = (Object #11)
  __service = (Object #12)
log = (Object #13)
  level = 1.0
  name = "RemoteObject_AMF"
__conn = UNSUPPORTED
(Message #1 targetURI=_allowRes, responseURI=

and some unprintable character(squares and things) and then the
stacktrace:

UNKNOWN TYPE

Error: Request received was not Flash-based (not of the binary AMF
protocol).
flashgateway.io.NotAMFException: Request received was not Flash-based
(not of the binary AMF protocol).
at
flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:71)
at flashgateway.Gateway.invoke(Gateway.java:217)
at 
flashgateway.controller.GatewayServlet.service(GatewayServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

It doesn't seem to affect the app any, but it's just a bit messy, any
ideas?

Cheers,

Iain






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

<*> 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: Flex Timeout issue

2006-08-15 Thread digital_eyezed
For info, this is how I fixed this issue:

It turns out that MSIE has a TCP receive timeout set in the registry:

This ReceiveTimeout can be found at 
HKEY_CURRENT_USER/SOFTWARE/MICROSOFT/WINDOWS/CURRENTVERSION/INTERNET 
SETTINGS

If it is set to 6000 the the client (browser) will timeout waiting 
for the reply from the AMF Gateway.

This stumbled me as I was using a built in browser to eclipse 
through the myEclipse plugin, however I have since found out that 
this is actually just an embedded IE browser.

I only found the resolution to the issue after testing with firefox 
and the problem disapeared.

Weird but true, I'll just have to write off those four days pulling 
my hair out then!

Cheers All.

--- In flexcoders@yahoogroups.com, "Mika Kiljunen" 
<[EMAIL PROTECTED]> wrote:
>
> Yeah, well my guess is that it won't help if Array works under 60
> secs... it should work after 60 secs too :-)
> 
> BTW, I have always used ArrayList instead of Array.
> 
>  
> 
> -Mika
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: 11. elokuuta 2006 16:02
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex Timeout issue
> 
>  
> 
> Hi,
> 
> Yeah, I've tried to strip it down to the minimum (as you can see 
> from the extremely bare app below, but it is tied to the 1 minute 
> barrier as I have increased the t value by one day at a time until 
I 
> get to a second return time and it fails exactly at 60 seconds, 
> although the debuh shows the return being thrown back to the 
client.
> 
> I'll try changing the return object from an Array of objects to an 
> ArrayList to see if that makes any difference.
> 
> Cheers!
> 
> Iain
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%
40yahoogroups.com>
> , "Mika Kiljunen" 
>  wrote:
> >
> > That's really weird. I would suggest to strip down the code to 
> minimum.
> > Drop out the showBusyCursor (set it to false), try to call 
service
> > several times with different params and see what happens. On
> > faulthandler I believe you should have
> > mx.core.Application.alert(event.fault) instead of event.result.
> > 
> > 
> > 
> > If that does not help anything, then I would change the data 
> returned by
> > the server to minimum (ie to just a String) to see if it's a data
> > convert error (from Java to flex) and try to work from there up 
to 
> the
> > problem.
> > 
> > 
> > 
> > I have worked with remote objects for over a year now and only 
> problems
> > that I've encountered have been some conversion errors (that 
> sometimes
> > fail silently!) and some problems with responder objects that 
were
> > actually a bug in my code. And we do run long methods too, some 
> may take
> > as much as 5 minutes and they do return results and come back 
> alive.
> > 
> > 
> > 
> > -Mika
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com <mailto:flexcoders%
40yahoogroups.com>
> 
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%
40yahoogroups.com>
> ] On
> > Behalf Of digital_eyezed
> > Sent: 11. elokuuta 2006 14:18
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%
40yahoogroups.com> 
> > Subject: [flexcoders] Flex Timeout issue
> > 
> > 
> > 
> > Hi,
> > 
> > I've been working on this issue now for 3 days and I am at a 
> > complete loss.
> > 
> > I have a simple request which uses a remoteObject, this works 
fine 
> > if the result is returned in under 1 minute, however if the 
result 
> > takes longer than 1 miinute to return the client doesn't recive 
> the 
> > result and the busy cusror just keeps on showing.
> > 
> > Here is the page (stripped down to focus on the problem):
> > 
> > http://www.macromedia.com/2003/mxml
> <http://www.macromedia.com/2003/mxml> 
> > <http://www.macromedia.com/2003/mxml
> <http://www.macromedia.com/2003/mxml> > " 
> > width="100%" height="100%">
> > 
> > 
> > 
> >  result="hello
> > (event)" fault="onRemObjError(event)" showBusyCursor="true"/>
> > 
> > 
> >
>






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

<*> 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: Asynchronous calls in Flex 1.5

2006-08-14 Thread digital_eyezed
Thanks a lot, I thought something strange was going on!

Cheers,

Iain

--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> 
> Tricky stuff there.  Peter Ent has a really helpful article on 
this:
> 
http://weblogs.macromedia.com/pent/archives/2005/02/operating_in_pa.c
fm
> 
<http://weblogs.macromedia.com/pent/archives/2005/02/operating_in_pa.
cfm\
> >
> 
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> wrote:
> >
> > Hi,
> >
> > Silly question really,
> >
> > I have an app that does this in a function:
> >
> > getTheData.method1(datef,datet,accessGroups,1,1);
> > getTheData.method2(datef,datet,accessGroups,1,1);
> >
> > However, when you look at the dubug, method2 doesn't start until
> > method1 is finished, I thought that they were meant to be
> asynchronous?
> >
> > Have I got this all wrong?
> >
> > These are remoteObject calls on a POJO.
> >
> > Thanks for keeping me straight (who ever answers first!).
> >
> > Cheers,
> >
> > Iain
> >
>







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

<*> 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] Asynchronous calls in Flex 1.5

2006-08-14 Thread digital_eyezed
Hi,

Silly question really,

I have an app that does this in a function:

getTheData.method1(datef,datet,accessGroups,1,1);
getTheData.method2(datef,datet,accessGroups,1,1);

However, when you look at the dubug, method2 doesn't start until 
method1 is finished, I thought that they were meant to be asynchronous?

Have I got this all wrong?

These are remoteObject calls on a POJO.

Thanks for keeping me straight (who ever answers first!).

Cheers,

Iain






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

<*> 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: Flex Timeout issue

2006-08-11 Thread digital_eyezed
Hi,

Yeah, I've tried to strip it down to the minimum (as you can see 
from the extremely bare app below, but it is tied to the 1 minute 
barrier as I have increased the t value by one day at a time until I 
get to a second return time and it fails exactly at 60 seconds, 
although the debuh shows the return being thrown back to the client.

I'll try changing the return object from an Array of objects to an 
ArrayList to see if that makes any difference.

Cheers!

Iain


--- In flexcoders@yahoogroups.com, "Mika Kiljunen" 
<[EMAIL PROTECTED]> wrote:
>
> That's really weird. I would suggest to strip down the code to 
minimum.
> Drop out the showBusyCursor (set it to false), try to call service
> several times with different params and see what happens. On
> faulthandler I believe you should have
> mx.core.Application.alert(event.fault) instead of event.result.
> 
>  
> 
> If that does not help anything, then I would change the data 
returned by
> the server to minimum (ie to just a String) to see if it's a data
> convert error (from Java to flex) and try to work from there up to 
the
> problem.
> 
>  
> 
> I have worked with remote objects for over a year now and only 
problems
> that I've encountered have been some conversion errors (that 
sometimes
> fail silently!) and some problems with responder objects that were
> actually a bug in my code. And we do run long methods too, some 
may take
> as much as 5 minutes and they do return results and come back 
alive.
> 
>  
> 
> -Mika
> 
>  
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: 11. elokuuta 2006 14:18
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex Timeout issue
> 
>  
> 
> Hi,
> 
> I've been working on this issue now for 3 days and I am at a 
> complete loss.
> 
> I have a simple request which uses a remoteObject, this works fine 
> if the result is returned in under 1 minute, however if the result 
> takes longer than 1 miinute to return the client doesn't recive 
the 
> result and the busy cusror just keeps on showing.
> 
> Here is the page (stripped down to focus on the problem):
> 
> http://www.macromedia.com/2003/mxml
> <http://www.macromedia.com/2003/mxml> " 
> width="100%" height="100%">
> 
> 
> 
> 
> 
> 
>







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

<*> 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] Flex Timeout issue

2006-08-11 Thread digital_eyezed
Hi,

I've been working on this issue now for 3 days and I am at a 
complete loss.

I have a simple request which uses a remoteObject, this works fine 
if the result is returned in under 1 minute, however if the result 
takes longer than 1 miinute to return the client doesn't recive the 
result and the busy cusror just keeps on showing.

Here is the page (stripped down to focus on the problem):

http://www.macromedia.com/2003/mxml"; 
width="100%" height="100%">












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

<*> 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: Timeout on RemoteObject (flex 1.5)

2006-08-10 Thread digital_eyezed
Tried that, still does nothing, it's just the most annoying thing 
ever, even worse than that frog. Here is the main code from the page:


http://www.macromedia.com/2003/mxml"; width="100%" 
height="100%">










I can't see any errors here.

Kind Regards,

Iain
--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> A fault handler on your RO may help.
> 
> 
> 
> Then define the handler function and maybe show an alert containing
> event.fault.faultstring to let you know a fault occurred.
> 
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> wrote:
> >
> > Ok how weird is this:
> > 
> > In the remote object debug you can see the return with all the 
data 
> > being sent:
> > 
> > Info: Completed 'uk.co.mycompany.dao.GetSalesDAO.getData' with 
reply 
> > method 'onResult' in 96295ms
> > Info: Serializing response
> >   (Message #0 targetURI=/1/onResult, responseURI=null)
> > (Array #0)
> >   [0] = (Typed Object #1 'uk.co.mycompany.dao.SalesVO')
> > mtotal = 143.0
> > avgevnt = 9.569930076599121
> > total = 1173.0
> > paffected = 0.2663846015930176
> > hrspermac = 36.56489562988281
> > lostsales = 24.324005126953125
> > _remoteClass = "uk.co.mycompany.dao.SalesVO"
> > affected = 19.83356475830078
> > lostunits = 25.21294403076172
> > hrsout = 5228.7802734375
> > rosaff = 115.84265899658203
> > 
> > But the showbusy cursor just keeps on going and no data is 
shown!
> > 
> > Where am I going wrong?
> > 
> > I have even taken out the binding to the dataProvider and just 
have 
> > the result handler showing an alert, but no alert shows, just 
the 
> > blinking showBusyCursor!
> > 
> > Any suggestions would be greatly received,
> > 
> > Thanks in advance.
> > 
> > Iain
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> >  wrote:
> > >
> > > Hi,
> > > 
> > > here it is:
> > > 
> > >  > source="uk.co.mycompany.SalesDAO" 
> > > showBusyCursor="true">
> > >   
> > > 
> > > 
> > > public function setDataProvider(event){
> > >   summaryGrid.dataProvider = event.result;
> > > }
> > > 
> > > I will try to see what the remoteObject debug shows.
> > > 
> > > Regards,
> > > 
> > > Iain
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com, "Doug Lowder"  
> > > wrote:
> > > >
> > > > Can you post the RemoteObject declaration?
> > > > 
> > > > If you haven't already done so, try setting  > debug> 
> > > > to true in WEB-INF/flex/flex-config.xml, just to see if 
there's 
> > > any 
> > > > debug info that might be useful.
> > > > 
> > > > 
> > > > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> > > >  wrote:
> > > > >
> > > > > Actually it's the same amount of data being returned, it 
just 
> > > > takes 
> > > > > longer to return it because the data that the database has 
to 
> > > > check 
> > > > > over is a larger set because of the increase in the from 
and 
> > to 
> > > > > dates.
> > > > > 
> > > > > I.E.
> > > > > 
> > > > > I have a sales summary report which sends the date from 
and 
> > the 
> > > > date 
> > > > > to as arguments to a remoteObject, it uses this to do a 
query 
> > on 
> > > > the 
> > > > > database, then returns the result as an ArrayList to the 
flex 
> > app
> > > > > (there is only ever 1 array in the list) and it then 
> > represents 
> > > > this 
> > > > > in a datagrid as a single row.
> > > > > 
> > > > > If I run the sales query for 1 week, it fills in the 
datagrid 
> > > > > without any issues.
> > > > > 
> > > > > If I run the query for a month then the busy cursor stays 
on 
> > > > forever 
> > > > > and the result is not shown. I know that the database 
returns 
> > > the 
> > > > > data and that the java function

[flexcoders] Re: Timeout on RemoteObject (flex 1.5)

2006-08-10 Thread digital_eyezed
Ok how weird is this:

In the remote object debug you can see the return with all the data 
being sent:

Info: Completed 'uk.co.mycompany.dao.GetSalesDAO.getData' with reply 
method 'onResult' in 96295ms
Info: Serializing response
  (Message #0 targetURI=/1/onResult, responseURI=null)
(Array #0)
  [0] = (Typed Object #1 'uk.co.mycompany.dao.SalesVO')
mtotal = 143.0
avgevnt = 9.569930076599121
total = 1173.0
paffected = 0.2663846015930176
hrspermac = 36.56489562988281
lostsales = 24.324005126953125
_remoteClass = "uk.co.mycompany.dao.SalesVO"
affected = 19.83356475830078
lostunits = 25.21294403076172
hrsout = 5228.7802734375
rosaff = 115.84265899658203

But the showbusy cursor just keeps on going and no data is shown!

Where am I going wrong?

I have even taken out the binding to the dataProvider and just have 
the result handler showing an alert, but no alert shows, just the 
blinking showBusyCursor!

Any suggestions would be greatly received,

Thanks in advance.

Iain


--- In flexcoders@yahoogroups.com, "digital_eyezed" 
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> here it is:
> 
>  showBusyCursor="true">
>   
> 
> 
> public function setDataProvider(event){
>   summaryGrid.dataProvider = event.result;
> }
> 
> I will try to see what the remoteObject debug shows.
> 
> Regards,
> 
> Iain
> 
> 
> --- In flexcoders@yahoogroups.com, "Doug Lowder"  
> wrote:
> >
> > Can you post the RemoteObject declaration?
> > 
> > If you haven't already done so, try setting  
> > to true in WEB-INF/flex/flex-config.xml, just to see if there's 
> any 
> > debug info that might be useful.
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> >  wrote:
> > >
> > > Actually it's the same amount of data being returned, it just 
> > takes 
> > > longer to return it because the data that the database has to 
> > check 
> > > over is a larger set because of the increase in the from and 
to 
> > > dates.
> > > 
> > > I.E.
> > > 
> > > I have a sales summary report which sends the date from and 
the 
> > date 
> > > to as arguments to a remoteObject, it uses this to do a query 
on 
> > the 
> > > database, then returns the result as an ArrayList to the flex 
app
> > > (there is only ever 1 array in the list) and it then 
represents 
> > this 
> > > in a datagrid as a single row.
> > > 
> > > If I run the sales query for 1 week, it fills in the datagrid 
> > > without any issues.
> > > 
> > > If I run the query for a month then the busy cursor stays on 
> > forever 
> > > and the result is not shown. I know that the database returns 
> the 
> > > data and that the java function also returns the ArrayList 
> because 
> > I 
> > > can see it doing so in the console, the result handler just 
> seems 
> > to 
> > > miss it and therfore nothing happens.
> > > 
> > > I really don't know where to go next ;-(
> > > 
> > > Cheers,
> > > 
> > > Iain
> > > 
> > > --- In flexcoders@yahoogroups.com, "Doug Lowder"  
> > > wrote:
> > > >
> > > > Yes, sounds like there is something different going on.
> > > > 
> > > > So the same result handler that works for a smaller query 
> hangs 
> > on 
> > > a 
> > > > large query, where the only difference is the amount of data 
> > being 
> > > > returned by the service?
> > > > 
> > > > 
> > > > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> > > >  wrote:
> > > > >
> > > > > Thanks,
> > > > > 
> > > > > I 've tried all what you have suggested and I do get a 
> return 
> > in 
> > > a 
> > > > > JSP app. I also tried changing the connectionTimout value, 
> but 
> > > > that 
> > > > > didn't work either. It's really weird as I can see Tomcat 
> > > > returning 
> > > > > the object (an ArrayList)in the console (eclipse) but flex 
> > just 
> > > > sits 
> > > > > their saying "well, where is my return then?".
> > > > > 
> > > > > 
> > > > > 
> > > > > --- In flexcoders@yahoogroups.com, 

[flexcoders] Re: Timeout on RemoteObject (flex 1.5)

2006-08-10 Thread digital_eyezed
Hi,

here it is:





public function setDataProvider(event){
summaryGrid.dataProvider = event.result;
}

I will try to see what the remoteObject debug shows.

Regards,

Iain


--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> Can you post the RemoteObject declaration?
> 
> If you haven't already done so, try setting  
> to true in WEB-INF/flex/flex-config.xml, just to see if there's 
any 
> debug info that might be useful.
> 
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
>  wrote:
> >
> > Actually it's the same amount of data being returned, it just 
> takes 
> > longer to return it because the data that the database has to 
> check 
> > over is a larger set because of the increase in the from and to 
> > dates.
> > 
> > I.E.
> > 
> > I have a sales summary report which sends the date from and the 
> date 
> > to as arguments to a remoteObject, it uses this to do a query on 
> the 
> > database, then returns the result as an ArrayList to the flex app
> > (there is only ever 1 array in the list) and it then represents 
> this 
> > in a datagrid as a single row.
> > 
> > If I run the sales query for 1 week, it fills in the datagrid 
> > without any issues.
> > 
> > If I run the query for a month then the busy cursor stays on 
> forever 
> > and the result is not shown. I know that the database returns 
the 
> > data and that the java function also returns the ArrayList 
because 
> I 
> > can see it doing so in the console, the result handler just 
seems 
> to 
> > miss it and therfore nothing happens.
> > 
> > I really don't know where to go next ;-(
> > 
> > Cheers,
> > 
> > Iain
> > 
> > --- In flexcoders@yahoogroups.com, "Doug Lowder"  
> > wrote:
> > >
> > > Yes, sounds like there is something different going on.
> > > 
> > > So the same result handler that works for a smaller query 
hangs 
> on 
> > a 
> > > large query, where the only difference is the amount of data 
> being 
> > > returned by the service?
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> > >  wrote:
> > > >
> > > > Thanks,
> > > > 
> > > > I 've tried all what you have suggested and I do get a 
return 
> in 
> > a 
> > > > JSP app. I also tried changing the connectionTimout value, 
but 
> > > that 
> > > > didn't work either. It's really weird as I can see Tomcat 
> > > returning 
> > > > the object (an ArrayList)in the console (eclipse) but flex 
> just 
> > > sits 
> > > > their saying "well, where is my return then?".
> > > > 
> > > > 
> > > > 
> > > > --- In flexcoders@yahoogroups.com, "Doug Lowder" 
 
> > > > wrote:
> > > > >
> > > > > The underlying HTTP connection may be timing out.  You can 
> try 
> > > > > writing a test JSP page that executes the same large sql 
> > query - 
> > > > if 
> > > > > that times out as well, then the problem is not specific 
to 
> > Flex.
> > > > > 
> > > > > Or, if you're running Tomcat as your server you can just 
> take 
> > a 
> > > > look 
> > > > > at server.xml and bump the connectionTimeout value of the 
> > > > >  tag up to something higher.
> > > > > 
> > > > > Hope that helps,
> > > > > Doug
> > > > > 
> > > > > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> > > > >  wrote:
> > > > > >
> > > > > > Hi,
> > > > > > 
> > > > > > I have a simple remoteObject that returns no problem 
> unless 
> > > the 
> > > > > > remoteObject takes longer than 1 minute to return, then 
> flex 
> > > > never 
> > > > > > picks up the return. Has anyone seen this before?
> > > > > > 
> > > > > > i.e. If I run a query over a time period  of 2 weeks it 
> > return 
> > > > no 
> > > > > > problem in about 35 seconds (it's a big sql query at the 
> > Java 
> > > > > side). 
> > > > > > If I increase the time period to a 1 month period for 
the 
> > > query 
> > > > > then 
> > > > > > return from the Java side is not pcked up by Flex, it 
just 
> > > sits 
> > > > > there 
> > > > > > in the busy Cursor state. Is there an underlying timer 
> that 
> > > > gives 
> > > > > up 
> > > > > > waiting for a return?
> > > > > > 
> > > > > > Cheers,
> > > > > > 
> > > > > > Iain
> > > > > >
> > > > >
> > > >
> > >
> >
>






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

<*> 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: Timeout on RemoteObject (flex 1.5)

2006-08-09 Thread digital_eyezed
Actually it's the same amount of data being returned, it just takes 
longer to return it because the data that the database has to check 
over is a larger set because of the increase in the from and to 
dates.

I.E.

I have a sales summary report which sends the date from and the date 
to as arguments to a remoteObject, it uses this to do a query on the 
database, then returns the result as an ArrayList to the flex app
(there is only ever 1 array in the list) and it then represents this 
in a datagrid as a single row.

If I run the sales query for 1 week, it fills in the datagrid 
without any issues.

If I run the query for a month then the busy cursor stays on forever 
and the result is not shown. I know that the database returns the 
data and that the java function also returns the ArrayList because I 
can see it doing so in the console, the result handler just seems to 
miss it and therfore nothing happens.

I really don't know where to go next ;-(

Cheers,

Iain

--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> Yes, sounds like there is something different going on.
> 
> So the same result handler that works for a smaller query hangs on 
a 
> large query, where the only difference is the amount of data being 
> returned by the service?
> 
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
>  wrote:
> >
> > Thanks,
> > 
> > I 've tried all what you have suggested and I do get a return in 
a 
> > JSP app. I also tried changing the connectionTimout value, but 
> that 
> > didn't work either. It's really weird as I can see Tomcat 
> returning 
> > the object (an ArrayList)in the console (eclipse) but flex just 
> sits 
> > their saying "well, where is my return then?".
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Doug Lowder"  
> > wrote:
> > >
> > > The underlying HTTP connection may be timing out.  You can try 
> > > writing a test JSP page that executes the same large sql 
query - 
> > if 
> > > that times out as well, then the problem is not specific to 
Flex.
> > > 
> > > Or, if you're running Tomcat as your server you can just take 
a 
> > look 
> > > at server.xml and bump the connectionTimeout value of the 
> > >  tag up to something higher.
> > > 
> > > Hope that helps,
> > > Doug
> > > 
> > > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> > >  wrote:
> > > >
> > > > Hi,
> > > > 
> > > > I have a simple remoteObject that returns no problem unless 
> the 
> > > > remoteObject takes longer than 1 minute to return, then flex 
> > never 
> > > > picks up the return. Has anyone seen this before?
> > > > 
> > > > i.e. If I run a query over a time period  of 2 weeks it 
return 
> > no 
> > > > problem in about 35 seconds (it's a big sql query at the 
Java 
> > > side). 
> > > > If I increase the time period to a 1 month period for the 
> query 
> > > then 
> > > > return from the Java side is not pcked up by Flex, it just 
> sits 
> > > there 
> > > > in the busy Cursor state. Is there an underlying timer that 
> > gives 
> > > up 
> > > > waiting for a return?
> > > > 
> > > > Cheers,
> > > > 
> > > > Iain
> > > >
> > >
> >
>







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

<*> 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: Timeout on RemoteObject (flex 1.5)

2006-08-09 Thread digital_eyezed
Thanks,

I 've tried all what you have suggested and I do get a return in a 
JSP app. I also tried changing the connectionTimout value, but that 
didn't work either. It's really weird as I can see Tomcat returning 
the object (an ArrayList)in the console (eclipse) but flex just sits 
their saying "well, where is my return then?".



--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> The underlying HTTP connection may be timing out.  You can try 
> writing a test JSP page that executes the same large sql query - 
if 
> that times out as well, then the problem is not specific to Flex.
> 
> Or, if you're running Tomcat as your server you can just take a 
look 
> at server.xml and bump the connectionTimeout value of the 
>  tag up to something higher.
> 
> Hope that helps,
> Doug
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
>  wrote:
> >
> > Hi,
> > 
> > I have a simple remoteObject that returns no problem unless the 
> > remoteObject takes longer than 1 minute to return, then flex 
never 
> > picks up the return. Has anyone seen this before?
> > 
> > i.e. If I run a query over a time period  of 2 weeks it return 
no 
> > problem in about 35 seconds (it's a big sql query at the Java 
> side). 
> > If I increase the time period to a 1 month period for the query 
> then 
> > return from the Java side is not pcked up by Flex, it just sits 
> there 
> > in the busy Cursor state. Is there an underlying timer that 
gives 
> up 
> > waiting for a return?
> > 
> > Cheers,
> > 
> > Iain
> >
>







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

<*> 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] Timeout on RemoteObject (flex 1.5)

2006-08-09 Thread digital_eyezed
Hi,

I have a simple remoteObject that returns no problem unless the 
remoteObject takes longer than 1 minute to return, then flex never 
picks up the return. Has anyone seen this before?

i.e. If I run a query over a time period  of 2 weeks it return no 
problem in about 35 seconds (it's a big sql query at the Java side). 
If I increase the time period to a 1 month period for the query then 
return from the Java side is not pcked up by Flex, it just sits there 
in the busy Cursor state. Is there an underlying timer that gives up 
waiting for a return?

Cheers,

Iain






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

<*> 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: Popup deletion and memory issue in 1.5

2006-06-27 Thread digital_eyezed
Hi, the only events are fired on creation (go get the remote objects
etc). I do have a change on the tab navigator which refreshes the data
for the corresponding tab though, I will look into that.

It seems to be linked to the firing of multiple different remote objects.

i.e. if I go to remoteobect1 and get a return from method 1 thats
fine, however as soon as i add remoteObject2 it causes this issue
although all the remote objects fire and provide results as expected,
its just when I close the Popup I see the busy cursor etc.

Really weird!

Iain

--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Tuesday 27 June 2006 14:24, digital_eyezed wrote:
> > I cannot understand why when you delete a popup suddenly the Busy
> > Cursor is shown and the the whole app comes to a grinding halt!
> 
> Maybe you are firing some event during the hide/close event in a
handler 
> somewhere, and this is causing a blow up ?
> 
> -- 
> 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 St James's Court Brown Street Manchester M2 2JF.
 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 Law Society.
> 
> 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 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
> 
> We are pleased to announce that Halliwells LLP has been voted AIM
Lawyer of the Year at the 2005 Growth Company Awards
>






 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~-> 

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

<*> 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: Popup deletion and memory issue in 1.5

2006-06-27 Thread digital_eyezed
I tried to make a simple version but can't recreate the issue.

I put all the contents of the tabs into the first tab and removed the
others tabs but the issue was not fixed so it has nothing to do with
the other tabs.

The TitleWindow has 7(seven) remote object calls, all of which return
without an issue. Each tab contains a datagrid and graph for each
return from their corrosponding remote calls.

It is soo difficult to debug this.

I cannot understand why when you delete a popup suddenly the Busy
Cursor is shown and the the whole app comes to a grinding halt!

I guess I could just pray that it goes away!

Any other suggestions would be greatfully received.

Regards,

Iain

--- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
<[EMAIL PROTECTED]> wrote:
>
> Yep, but it was just a shot in the dark.
> I'm not sure what really happens in your app.
> Maybe you can create a minmal version of your source to reproduce
your problem.
> 
> Cheers,
> Ralf.
> 
> On 6/27/06, digital_eyezed <[EMAIL PROTECTED]> wrote:
> > Hi Ralf,
> >
> > Thanks for the help, I tried to call destroyAllChildren() on the
> > TabNavigator, but this did not help. Is that what you mean?
> >
> > Cheers,
> >
> > Iain
> >
> > --- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
> >  wrote:
> > >
> > > Hi Iain
> > > What if you remove items from the tabnavigator just before closing?
> > > Cheers,
> > > Ralf.
> > >
> > > On 6/27/06, digital_eyezed  wrote:
> > > > Ok,
> > > >
> > > > I think I have narrowed the issue down to the components
within the
> > > > TitleWindow. I have a TabNavigator within the popup and when
there is
> > > > more than one tab this issue is seen. If I remove all but one tabs
> > > > from the tabnavigator the popup deletes without issue.
> > > >
> > > > However, I can't work out why!
> > > >
> > > > Is this something to do with the creationpolicy? Being that the
> > > > underlying tabs contents have not been drawn yet?
> > > >
> > > > I tried clicking on all the tabs before I closed the
tabnavigator to
> > > > ensure they were all initialized but this didn't cure the problem.
> > > >
> > > > Any thoughts would be greatly appreciated.
> > > >
> > > > Regards,
> > > >
> > > > Iain
> > > >
> > > > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> > > > wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I have a standard popup using:
> > > > >
> > > > > mx.managers.PopUpManager.createPopUp
> > > > > (this,myTitlewindow,isModal,init);
> > > > >
> > > > > where myTitlewindow is a custom TitleWindow component.
> > > > >
> > > > > This all works fine and within the TitleWindow I have a
number of
> > > > > RemoteObjects which gather data from the server, all of this
works
> > > > > fine.
> > > > >
> > > > > When I click the close button for the TitleWindow using
> > > > > click="handleClick();"
> > > > >
> > > > > function handleClick(event){
> > > > >  doLater(this, "deletePopUp");
> > > > > }
> > > > > The popup deletes as expected, however the showBusy cursor
appears
> > > > > and suddenly everything starts to slow down and eventually
it looks
> > > > > like someone has stolen at least 512Mb Ram out my PC! I have
checked
> > > > > the RemoteObject calls and none of them are being called on
deletion
> > > > > of the popup.
> > > > >
> > > > > Please help, this is really doing my head in!
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Iain
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
>







 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~-> 

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

<*> 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: Popup deletion and memory issue in 1.5

2006-06-27 Thread digital_eyezed
I tried to make a simple version but can't recreate the issue.

I put all the contents of the tabs into the first tab and removed the
others tabs but the issue was not fixed so it has nothing to do with
the other tabs.

The TitleWindow has 7(seven) remote object calls, all of which return
without an issue. Each tab contains a datagrid and graph for each
return from their corrosponding remote calls.

It is soo difficult to debug this.

I cannot understand why when you delete a popup suddenly the Busy
Cursor is shown and the the whole app comes to a grinding halt!

I guess I could just peay that it goes away!

Any other suggestions would be greatfully received.

Regards,

Iain

--- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
<[EMAIL PROTECTED]> wrote:
>
> Yep, but it was just a shot in the dark.
> I'm not sure what really happens in your app.
> Maybe you can create a minmal version of your source to reproduce
your problem.
> 
> Cheers,
> Ralf.
> 
> On 6/27/06, digital_eyezed <[EMAIL PROTECTED]> wrote:
> > Hi Ralf,
> >
> > Thanks for the help, I tried to call destroyAllChildren() on the
> > TabNavigator, but this did not help. Is that what you mean?
> >
> > Cheers,
> >
> > Iain
> >
> > --- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
> >  wrote:
> > >
> > > Hi Iain
> > > What if you remove items from the tabnavigator just before closing?
> > > Cheers,
> > > Ralf.
> > >
> > > On 6/27/06, digital_eyezed  wrote:
> > > > Ok,
> > > >
> > > > I think I have narrowed the issue down to the components
within the
> > > > TitleWindow. I have a TabNavigator within the popup and when
there is
> > > > more than one tab this issue is seen. If I remove all but one tabs
> > > > from the tabnavigator the popup deletes without issue.
> > > >
> > > > However, I can't work out why!
> > > >
> > > > Is this something to do with the creationpolicy? Being that the
> > > > underlying tabs contents have not been drawn yet?
> > > >
> > > > I tried clicking on all the tabs before I closed the
tabnavigator to
> > > > ensure they were all initialized but this didn't cure the problem.
> > > >
> > > > Any thoughts would be greatly appreciated.
> > > >
> > > > Regards,
> > > >
> > > > Iain
> > > >
> > > > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> > > > wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I have a standard popup using:
> > > > >
> > > > > mx.managers.PopUpManager.createPopUp
> > > > > (this,myTitlewindow,isModal,init);
> > > > >
> > > > > where myTitlewindow is a custom TitleWindow component.
> > > > >
> > > > > This all works fine and within the TitleWindow I have a
number of
> > > > > RemoteObjects which gather data from the server, all of this
works
> > > > > fine.
> > > > >
> > > > > When I click the close button for the TitleWindow using
> > > > > click="handleClick();"
> > > > >
> > > > > function handleClick(event){
> > > > >  doLater(this, "deletePopUp");
> > > > > }
> > > > > The popup deletes as expected, however the showBusy cursor
appears
> > > > > and suddenly everything starts to slow down and eventually
it looks
> > > > > like someone has stolen at least 512Mb Ram out my PC! I have
checked
> > > > > the RemoteObject calls and none of them are being called on
deletion
> > > > > of the popup.
> > > > >
> > > > > Please help, this is really doing my head in!
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Iain
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
>






 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~-> 

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

<*> 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: Popup deletion and memory issue in 1.5

2006-06-27 Thread digital_eyezed
Hi Ralf,

Thanks for the help, I tried to call destroyAllChildren() on the
TabNavigator, but this did not help. Is that what you mean?

Cheers,

Iain

--- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
<[EMAIL PROTECTED]> wrote:
>
> Hi Iain
> What if you remove items from the tabnavigator just before closing?
> Cheers,
> Ralf.
> 
> On 6/27/06, digital_eyezed <[EMAIL PROTECTED]> wrote:
> > Ok,
> >
> > I think I have narrowed the issue down to the components within the
> > TitleWindow. I have a TabNavigator within the popup and when there is
> > more than one tab this issue is seen. If I remove all but one tabs
> > from the tabnavigator the popup deletes without issue.
> >
> > However, I can't work out why!
> >
> > Is this something to do with the creationpolicy? Being that the
> > underlying tabs contents have not been drawn yet?
> >
> > I tried clicking on all the tabs before I closed the tabnavigator to
> > ensure they were all initialized but this didn't cure the problem.
> >
> > Any thoughts would be greatly appreciated.
> >
> > Regards,
> >
> > Iain
> >
> > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> > wrote:
> > >
> > > Hi,
> > >
> > > I have a standard popup using:
> > >
> > > mx.managers.PopUpManager.createPopUp
> > > (this,myTitlewindow,isModal,init);
> > >
> > > where myTitlewindow is a custom TitleWindow component.
> > >
> > > This all works fine and within the TitleWindow I have a number of
> > > RemoteObjects which gather data from the server, all of this works
> > > fine.
> > >
> > > When I click the close button for the TitleWindow using
> > > click="handleClick();"
> > >
> > > function handleClick(event){
> > >  doLater(this, "deletePopUp");
> > > }
> > > The popup deletes as expected, however the showBusy cursor appears
> > > and suddenly everything starts to slow down and eventually it looks
> > > like someone has stolen at least 512Mb Ram out my PC! I have checked
> > > the RemoteObject calls and none of them are being called on deletion
> > > of the popup.
> > >
> > > Please help, this is really doing my head in!
> > >
> > > Cheers,
> > >
> > > Iain
> > >
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
>






 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~-> 

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

<*> 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: Popup deletion and memory issue in 1.5

2006-06-27 Thread digital_eyezed
Ok,

I think I have narrowed the issue down to the components within the
TitleWindow. I have a TabNavigator within the popup and when there is
more than one tab this issue is seen. If I remove all but one tabs
from the tabnavigator the popup deletes without issue.

However, I can't work out why!

Is this something to do with the creationpolicy? Being that the
underlying tabs contents have not been drawn yet?

I tried clicking on all the tabs before I closed the tabnavigator to
ensure they were all initialized but this didn't cure the problem.

Any thoughts would be greatly appreciated.

Regards,

Iain

--- In flexcoders@yahoogroups.com, "digital_eyezed" <[EMAIL PROTECTED]>
wrote:
>
> Hi,
> 
> I have a standard popup using:
> 
> mx.managers.PopUpManager.createPopUp
> (this,myTitlewindow,isModal,init);
> 
> where myTitlewindow is a custom TitleWindow component.
> 
> This all works fine and within the TitleWindow I have a number of 
> RemoteObjects which gather data from the server, all of this works 
> fine.
> 
> When I click the close button for the TitleWindow using 
> click="handleClick();"
> 
> function handleClick(event){
>  doLater(this, "deletePopUp");
> }
> The popup deletes as expected, however the showBusy cursor appears 
> and suddenly everything starts to slow down and eventually it looks 
> like someone has stolen at least 512Mb Ram out my PC! I have checked 
> the RemoteObject calls and none of them are being called on deletion 
> of the popup.
> 
> Please help, this is really doing my head in!
> 
> Cheers,
> 
> Iain
>






 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~-> 

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

<*> 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] Popup deletion and memory issue in 1.5

2006-06-26 Thread digital_eyezed
Hi,

I have a standard popup using:

mx.managers.PopUpManager.createPopUp
(this,myTitlewindow,isModal,init);

where myTitlewindow is a custom TitleWindow component.

This all works fine and within the TitleWindow I have a number of 
RemoteObjects which gather data from the server, all of this works 
fine.

When I click the close button for the TitleWindow using 
click="handleClick();"

function handleClick(event){
   doLater(this, "deletePopUp");
}
The popup deletes as expected, however the showBusy cursor appears 
and suddenly everything starts to slow down and eventually it looks 
like someone has stolen at least 512Mb Ram out my PC! I have checked 
the RemoteObject calls and none of them are being called on deletion 
of the popup.

Please help, this is really doing my head in!

Cheer,

Iain





 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~-> 

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

<*> 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] Viewing a base64Binary image in flex1.5

2006-04-21 Thread digital_eyezed



Hi,

I am accessing a web service which returns a base64Binary image.

Can I convert this to a PNG or GIF in flex?

This is the part of the return which includes the image:


   base64Binary
   string


Cheers,

Iain










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] Simple Question (Flex 1.5) about LinkBar

2006-03-26 Thread digital_eyezed
Is there any wy to have the LinkBar color with a gradient like the 
headerColors of a panel? Or is it only single color fills without 
having to extend it?

Cheers,

Iain






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

<*> 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] Accessing a custom cellrenderer

2006-03-21 Thread digital_eyezed
Hi,

I have a simple cellrenderer in a List which contains a checkbox.

I want to check through the list to see which items are checked.

Here is the cellrenderer:


http://www.macromedia.com/2003/mxml"; width="100%" 
height="100%">








Here is the list:



There is a Submit button below this which when clicked I want to 
check through the list to see which items have been checked. Each 
object in the list has a data and label attribute from the 
dataProvider, ideally I would like to get an array of the data 
attributes of those checked.

Cheers,

Iain





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

<*> 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] I don't want a binding!

2006-03-20 Thread digital_eyezed
HI,

I have an issue with an array which created on the result of a 
remoteObject call. The result is set to an array like this inside 
the result function:

array = new Array();
array = mx.utils.ArrayUtil.toArray(event.result);

The array is substantiated outside this function like so:

var array:Array;

The result from the remoteObject is also used as a dataProvider to a 
List, which has drag and drop functionality and the dataProvider is 
assigned as such:

dataProvider="{service.getMethod.result}"

Now, this lists' dataProvider can enlarge as objects are added to it 
through dragging and dropping, irrelevant I hear you say.

The problem is, I set the array when the result is received in order 
for me to check it against the datProvider of the List before I 
return it to the server (i.e. I do a diff on the array from the 
result and the dataProvider on the List and I get a new array of the 
new Objects dragged to the List), like this:

public function addNewObjects(){
var newArray:Array = new Array();
var newArray2:Array = new Array();
arrayOfListObjects = mx.utils.ArrayUtil.toArray(list.dataProvider);
newArray = NotInB(arrayOfListObjects,array);
if(newArray.length != 0){
for(var k = 0;khttp://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/

<*> 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: I don't want a binding!

2006-03-20 Thread digital_eyezed
Thanks very much, that worked a treat.

Best Regards,

Iain

--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> Sorry for the typo - 
> 
>editableArray = originalArray.slice();
> 
> should be
> 
>editableArray = array.slice();
> 
> 
> --- In flexcoders@yahoogroups.com, "Doug Lowder"  
wrote:
> >
> > What you are doing is accessing two different references to the 
same
> > array object.  The mx.utils.ArrayUtil.toArray() function simply
> > returns a reference to the parameter if it is already an array, 
so in
> > that case it will always contain the same data as your list's
> > dataprovider.
> > 
> > What you can do instead is the following:
> > 
> > // within the result function
> > array = mx.utils.ArrayUtil.toArray(event.result);
> > editableArray = originalArray.slice();
> > 
> > // outside the function
> > var array:Array;
> > var editableArray:Array;
> > 
> > And for your list's dataprovider:
> > 
> > dataProvider="{editableArray}"
> > 
> > Now you will have two different Array objects, array and
> > editableArray, that you can compare with your existing code.
> > 
> > Hope that helps,
> > Doug
> > 
> > --- In flexcoders@yahoogroups.com, "digital_eyezed" 

> > wrote:
> > >
> > > HI,
> > > 
> > > I have an issue with an array which created on the result of a 
> > > remoteObject call. The result is set to an array like this 
inside 
> > > the result function:
> > > 
> > > array = new Array();
> > > array = mx.utils.ArrayUtil.toArray(event.result);
> > > 
> > > The array is substantiated outside this function like so:
> > > 
> > > var array:Array;
> > > 
> > > The result from the remoteObject is also used as a 
dataProvider to a 
> > > List, which has drag and drop functionality and the 
dataProvider is 
> > > assigned as such:
> > > 
> > > dataProvider="{service.getMethod.result}"
> > > 
> > > Now, this lists' dataProvider can enlarge as objects are added 
to it 
> > > through dragging and dropping, irrelevant I hear you say.
> > > 
> > > The problem is, I set the array when the result is received in 
order 
> > > for me to check it against the datProvider of the List before 
I 
> > > return it to the server (i.e. I do a diff on the array from 
the 
> > > result and the dataProvider on the List and I get a new array 
of the 
> > > new Objects dragged to the List), like this:
> > > 
> > > public function addNewObjects(){
> > > var newArray:Array = new Array();
> > > var newArray2:Array = new Array();
> > > arrayOfListObjects = mx.utils.ArrayUtil.toArray
(list.dataProvider);
> > > newArray = NotInB(arrayOfListObjects,array);
> > >   if(newArray.length != 0){
> > >   for(var k = 0;k > >   var newObjectVO:ObjectVO = new ObjectVO();
> > >   newObjectVO.label = newArray[k].label;
> > >   newObjectVO.data = newArray[k].data;
> > >   newArray2.push(newObjectVO);
> > >   }
> > >   service.addObjects(newArray2);
> > >   }else{
> > >   mx.core.Application.alert("Complain a lot about not adding 
> > > anything!");
> > >}
> > > }
> > > 
> > > for clarity the NotInB function does this:
> > > 
> > > public function NotInB(arrayA,arrayB) {
> > >   var tempAry= new Array();
> > >   var i,j;
> > >   for (i=0; i > >   for (j=0; j > >   if (arrayA[i].data==arrayB[j].data) {
> > >   break;
> > >   }
> > >   }
> > >   if (j==arrayB.length) {
> > >   tempAry.push(arrayA[i]);
> > >   }
> > >   }
> > >   return tempAry;
> > > }
> > > 
> > > No problem, this all works first time without an issue, and 
the 
> > > objects are passed to the server as expected, then everything 
goes 
> > > wrong. From then on the array which is set from the result 
object is 
> > > set ok (I have traced out the array when it is created every 
time 
> > > and it is correct), but when I drag objects to the List they 
are 
> > > also added to this array, why? there is no binding to it! so 
every 
> > > time after the first time I add the new objects I 'Complain a 
lot 
> > > about not adding anything!'.
> > > 
> > > Please help.
> > > 
> > > Cheers,
> > > 
> > > Iain
> > >
> >
>






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

<*> 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] I don't want a binding!

2006-03-20 Thread digital_eyezed
HI,

I have an issue with an array which created on the result of a 
remoteObject call. The result is set to an array like this inside 
the result function:

array = new Array();
array = mx.utils.ArrayUtil.toArray(event.result);

The array is substantiated outside this function like so:

var array:Array;

The result from the remoteObject is also used as a dataProvider to a 
List, which has drag and drop functionality and the dataProvider is 
assigned as such:

dataProvider="{service.getMethod.result}"

Now, this lists' dataProvider can enlarge as objects are added to it 
through dragging and dropping, irrelevant I hear you say.

The problem is, I set the array when the result is received in order 
for me to check it against the datProvider of the List before I 
return it to the server (i.e. I do a diff on the array from the 
result and the dataProvider on the List and I get a new array of the 
new Objects dragged to the List), like this:

public function addNewObjects(){
var newArray:Array = new Array();
var newArray2:Array = new Array();
arrayOfListObjects = mx.utils.ArrayUtil.toArray(list.dataProvider);
newArray = NotInB(arrayOfListObjects,array);
if(newArray.length != 0){
for(var k = 0;khttp://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/

<*> 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] How to refresh a component

2006-03-17 Thread digital_eyezed
Hi,

I have a tree component with which I change the label dynamically 
through a label function. The labelfunction works fine when the tree 
loads, but if a change the value of the the reference to this 
labelfunction the value of the tree label doesn't change.

However, the label does change when I move my mouse over it.

Is there any way I can make this happen immediately?

Cheers,

Iain





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

<*> 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: LabelFunction for a Tree (flex 1.5)

2006-03-17 Thread digital_eyezed
STOP: I found it:

Should be item.getProperty('label').

Cheers,

Iain


--- In flexcoders@yahoogroups.com, "digital_eyezed" 
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I am having some issues with a labelFunction for a tree component.
> 
> The dataProvider for my tree is a result of a RemoteObject call, 
> which returns an Embedded Array of VO objects.
> 
> The tree displays without any issues.
> 
> Within the VO there is a label attribute which is automatically 
> chosen as the field for the label, however my app is multilingual 
> and I have to format that label for different languages, so I want 
> to build a labelFunction to check the value of the label then 
return 
> the correct String from the current language model. No probs I 
hear 
> you say.
> 
> Ok, on the tree I have this: labelFunction="checkLanguage"
> 
> The function looks like this:
> 
> public function checkLanguage(item):String{
>   if(item.label == "1"){
>   return language.1;
>   }else if(item.label == "2"){
>   return language.2;
>   }else if(item.label == "3"){
>   return language.3;
>   }else if(item.label == "4"){
>   return language.4;
>   }else if(item.label == "5"){
>   return language.5;
>   }else if(item.label == "6"){
>   return language.6;
>   }else if(item.label == "7"){
>   return language.7;
>   }else{
>   return item.label;
>   }
> }
>  Now this returns nothing, I have also checked to see what 
> item.label is and it is undefined, so where am I going wrong?
> 
> Thanks in advance.
> 
> Iain
>






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

<*> 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] LabelFunction for a Tree (flex 1.5)

2006-03-17 Thread digital_eyezed
Hi,

I am having some issues with a labelFunction for a tree component.

The dataProvider for my tree is a result of a RemoteObject call, 
which returns an Embedded Array of VO objects.

The tree displays without any issues.

Within the VO there is a label attribute which is automatically 
chosen as the field for the label, however my app is multilingual 
and I have to format that label for different languages, so I want 
to build a labelFunction to check the value of the label then return 
the correct String from the current language model. No probs I hear 
you say.

Ok, on the tree I have this: labelFunction="checkLanguage"

The function looks like this:

public function checkLanguage(item):String{
if(item.label == "1"){
return language.1;
}else if(item.label == "2"){
return language.2;
}else if(item.label == "3"){
return language.3;
}else if(item.label == "4"){
return language.4;
}else if(item.label == "5"){
return language.5;
}else if(item.label == "6"){
return language.6;
}else if(item.label == "7"){
return language.7;
}else{
return item.label;
}
}
 Now this returns nothing, I have also checked to see what 
item.label is and it is undefined, so where am I going wrong?

Thanks in advance.

Iain





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

<*> 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: Flex 1.5 popup issue

2006-03-17 Thread digital_eyezed
Correct, I had a problem with MyEclipse, it wasn't refreshing the 
context when I changed the location of the Wizard.mxml.

It works now, thanks for your help.

Iain

--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" 
<[EMAIL PROTECTED]> wrote:
>
> So you should have a Wizard.mxml under the /components folder 
right? At
> the main application lies in the root called app.mxml or something?
>  
> Dimitrios Gianninas
> RIA Developer
> Optimal Payments Inc.
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Thursday, March 16, 2006 11:35 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex 1.5 popup issue
> 
> 
> It complains:
> 
> There is no class or package with the name 'components.Wizard' 
found 
> in package 'components'.
> 
> The TitleWindow is an mxml file not an AS file.
> 
> Any more ideas??
> 
> Cheers,
> 
> Iain
> 
> 
> --- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" 
>  wrote:
> >
> > use the fully qualified name:
> >  
> > PopUpManager.createdPopUp( parent, some.folder.Wizard, isModal, 
> initObj
> > );
> >  
> > Dimitrios Gianninas
> > RIA Developer
> > Optimal Payments Inc.
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of digital_eyezed
> > Sent: Thursday, March 16, 2006 10:29 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Flex 1.5 popup issue
> > 
> > 
> > Ok, the problem lies with the location of the popup TitleWindow.
> > 
> > How do I reference the TitleWindow in the createPopUp function 
> when 
> > it's in a sub-directory called components?
> > 
> > Cheers,
> > 
> > Iain
> > 
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> >  wrote:
> > >
> > > Hi,
> > > 
> > > I have an application with a number of custom components. In 
one 
> > of 
> > > these components I have an image, which when clicked on I want 
a 
> > > popup to open.
> > > 
> > > I have a mouseDown event which dispataches an event to the 
> parent 
> > > application container mouseDown="dispatchEvent
> > > ({type:'wizard'})"
> > > 
> > > The event is handled in the Application container by a 
function:
> > > 
> > > import mx.managers.PopUpManager;
> > > 
> > > public function routeWizard(event){
> > >   var parent = this;
> > >   var isModal:Boolean = true;
> > >   var initObj = {};
> > >   var rWiz = PopUpManager.createPopUp(parent, Wizard, 
> > > isModal, initObj);
> > >   }
> > > The Wizard.mxml component is a TitleWindow component and is 
held 
> > > with all my other components in my /components directory.
> > > 
> > > When I click the image nothing happens, when I click it again 
> the 
> > > whole page goes white.
> > > 
> > > hhh!
> > > 
> > > Cheers,
> > > 
> > > Iain
> > >
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > 
> > 
> > 
> > 
> > SPONSORED LINKS 
> > Web site design development
> > <http://groups.yahoo.com/gads?
> t=ms&k=Web+site+design+development&w1=Web+
> > 
> 
site+design+development&w2=Computer+software+development&w3=Software+
> des
> > 
> 
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+p
> rac
> > tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>Computer 
software
> > development
> > <http://groups.yahoo.com/gads?
> t=ms&k=Computer+software+development&w1=We
> > 
> 
b+site+design+development&w2=Computer+software+development&w3=Softwar
> e+d
> > 
> 
esign+and+development&w4=Macromedia+flex&w5=Software+development+best
> +pr
> > actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>Software 
> design and
> > development
> > <http://groups.yahoo.com/gads?
> t=ms&k=Software+design+and+development&w1=
> > 

[flexcoders] Re: Flex 1.5 popup issue

2006-03-16 Thread digital_eyezed
It complains:

There is no class or package with the name 'components.Wizard' found 
in package 'components'.

The TitleWindow is an mxml file not an AS file.

Any more ideas??

Cheers,

Iain


--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" 
<[EMAIL PROTECTED]> wrote:
>
> use the fully qualified name:
>  
> PopUpManager.createdPopUp( parent, some.folder.Wizard, isModal, 
initObj
> );
>  
> Dimitrios Gianninas
> RIA Developer
> Optimal Payments Inc.
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Thursday, March 16, 2006 10:29 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex 1.5 popup issue
> 
> 
> Ok, the problem lies with the location of the popup TitleWindow.
> 
> How do I reference the TitleWindow in the createPopUp function 
when 
> it's in a sub-directory called components?
> 
> Cheers,
> 
> Iain
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
>  wrote:
> >
> > Hi,
> > 
> > I have an application with a number of custom components. In one 
> of 
> > these components I have an image, which when clicked on I want a 
> > popup to open.
> > 
> > I have a mouseDown event which dispataches an event to the 
parent 
> > application container mouseDown="dispatchEvent
> > ({type:'wizard'})"
> > 
> > The event is handled in the Application container by a function:
> > 
> > import mx.managers.PopUpManager;
> > 
> > public function routeWizard(event){
> >   var parent = this;
> >   var isModal:Boolean = true;
> >   var initObj = {};
> >   var rWiz = PopUpManager.createPopUp(parent, Wizard, 
> > isModal, initObj);
> >   }
> > The Wizard.mxml component is a TitleWindow component and is held 
> > with all my other components in my /components directory.
> > 
> > When I click the image nothing happens, when I click it again 
the 
> > whole page goes white.
> > 
> > hhh!
> > 
> > Cheers,
> > 
> > Iain
> >
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
> 
> 
> 
> SPONSORED LINKS 
> Web site design development
> <http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+
> 
site+design+development&w2=Computer+software+development&w3=Software+
des
> 
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+p
rac
> tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>   Computer software
> development
> <http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=We
> 
b+site+design+development&w2=Computer+software+development&w3=Softwar
e+d
> 
esign+and+development&w4=Macromedia+flex&w5=Software+development+best
+pr
> actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software 
design and
> development
> <http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=
> 
Web+site+design+development&w2=Computer+software+development&w3=Softw
are
> 
+design+and+development&w4=Macromedia+flex&w5=Software+development+be
st+
> practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>   
> Macromedia flex
> <http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+
> 
development&w2=Computer+software+development&w3=Software+design+and+d
eve
> 
lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&
s=1
> 66&.sig=OO6nPIrz7_EpZI36cYzBjw>   Software development best
> practice
> <http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&
> 
w1=Web+site+design+development&w2=Computer+software+development&w3=So
ftw
> 
are+design+and+development&w4=Macromedia+flex&w5=Software+development
+be
> st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
> 
> 
> 
> YAHOO! GROUPS LINKS 
> 
> 
>   
> *  Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
> 
> *  To unsubscribe from this group, send an email to:
>[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe> 
> 
> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> . 
> 
> 
> 
>






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

<*> 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: Flex 1.5 popup issue

2006-03-16 Thread digital_eyezed
Ok, the problem lies with the location of the popup TitleWindow.

How do I reference the TitleWindow in the createPopUp function when 
it's in a sub-directory called components?

Cheers,

Iain




--- In flexcoders@yahoogroups.com, "digital_eyezed" 
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I have an application with a number of custom components. In one 
of 
> these components I have an image, which when clicked on I want a 
> popup to open.
> 
> I have a mouseDown event which dispataches an event to the parent 
> application container mouseDown="dispatchEvent
> ({type:'wizard'})"
> 
> The event is handled in the Application container by a function:
> 
> import mx.managers.PopUpManager;
> 
> public function routeWizard(event){
>   var parent = this;
>   var isModal:Boolean = true;
>   var initObj = {};
>   var rWiz = PopUpManager.createPopUp(parent, Wizard, 
> isModal, initObj);
>   }
> The Wizard.mxml component is a TitleWindow component and is held 
> with all my other components in my /components directory.
> 
> When I click the image nothing happens, when I click it again the 
> whole page goes white.
> 
> hhh!
> 
> Cheers,
> 
> Iain
>






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

<*> 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] Flex 1.5 popup issue

2006-03-16 Thread digital_eyezed
Hi,

I have an application with a number of custom components. In one of 
these components I have an image, which when clicked on I want a 
popup to open.

I have a mouseDown event which dispataches an event to the parent 
application container mouseDown="dispatchEvent
({type:'wizard'})"

The event is handled in the Application container by a function:

import mx.managers.PopUpManager;

public function routeWizard(event){
var parent = this;
var isModal:Boolean = true;
var initObj = {};
var rWiz = PopUpManager.createPopUp(parent, Wizard, 
isModal, initObj);
}
The Wizard.mxml component is a TitleWindow component and is held 
with all my other components in my /components directory.

When I click the image nothing happens, when I click it again the 
whole page goes white.

hhh!

Cheers,

Iain





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

<*> 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: Get Parent on the Tree

2006-03-12 Thread digital_eyezed
Thanks,

I'm using 1.5, I tried to use the rowIndex as it returned the parent 
row, but this is a bit unpredictable. I'll try the getParent, how 
would I use this? On a cellPress event?

Cheers,

Iain

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> 1.5 or 2.0?  In 1.5 the TreeDataProvider interface (which your
> dataProvider will implement) has a getParent method.  In 2.0 we 
don't
> have an abstracted way of getting the parent.  If you have XML 
then you
> can just use the parent() method.
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Friday, March 10, 2006 7:00 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Get Parent on the Tree
> 
> Hi All,
> 
> If I click on a node in a tree, how can I get the parent of that 
> node?
> 
> The tree dataProvider is filled from a result object of which the 
> attributes are label and data (it only goes down one level in a 
> hierarchy):
> 
> 
>
>
>
> 
> 
>
>
>
>
>
> 
> 
> 
> If I click on one of the child nodes, I want to know the data or 
> label of its parent, that's all, sounds easy but I'm pulling what 
> hair I have left out!
> 
> Cheers,
> 
> Iain
> 
> 
> 
> 
> 
> --
> 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
>







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

<*> 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] Get Parent on the Tree

2006-03-10 Thread digital_eyezed
Hi All,

If I click on a node in a tree, how can I get the parent of that 
node?

The tree dataProvider is filled from a result object of which the 
attributes are label and data (it only goes down one level in a 
hierarchy):


   
   
   


   
   
   
   
   



If I click on one of the child nodes, I want to know the data or 
label of its parent, that's all, sounds easy but I'm pulling what 
hair I have left out!

Cheers,

Iain





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

<*> 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: SSL and IE using flex 1.5

2006-03-07 Thread digital_eyezed
OK, thanks I'll look into this.

Cheers for your help.

Iain

--- In flexcoders@yahoogroups.com, "Carson Hager" <[EMAIL PROTECTED]> 
wrote:
>
> Hey Iain,
> 
> I would be willing to be anything this is caused by a header from
> Tomcat.  IE is particularly finicky about this.  The fix to 
context.xml
> for basic/form auth turns off a particular header that IE chokes on
> under SSL with binary content such as SWF, PDF, etc.  If you're 
familiar
> with J2EE filters, that's the best way to deal with this since you 
can't
> intercept the http header using SSL with any tools like tcptunnel, 
etc.
> 
> 
> Carson
> 
> 
>  
> Carson Hager
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
>  
> Email:  [EMAIL PROTECTED]
> Office:  866-CYNERGY
> Mobile: 1.703.489.6466
>  
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Tuesday, March 07, 2006 9:07 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: SSL and IE using flex 1.5
> 
> I dont receive the swf it just stays white, it shows the url in 
the 
> address bar and in the status bar at the bottom of the page it 
reads:
> 
> /flex-internal/?action=history_html_secure.
> 
> And it just hangs around like that forever.
> 
> Maybe I should go look into Tomcat and see if there is a way to 
> disable the caching of the headers in 5.5.15
> 
> Cheers,
> 
> Iain
> 
> 
> --- In flexcoders@yahoogroups.com, "Carson Hager"  
> wrote:
> >
> > Got it. At what point does this happen?  Does the swf load or is 
> this
> > upon the initial page load? I know you're using remote objects 
so 
> I want
> > to make sure I know what the context is - page load or remote 
> object
> > invocation over amf.  I reread your message and it's not 
entirely 
> clear
> > what behavior you're seeing.
> > 
> > 
> > Carson
> > 
> > 
> >  
> > Carson Hager
> > Cynergy Systems, Inc.
> > http://www.cynergysystems.com
> >  
> > Email:  carson.hager@
> > Office:  866-CYNERGY
> > Mobile: 1.703.489.6466
> >  
> > 
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of digital_eyezed
> > Sent: Tuesday, March 07, 2006 8:50 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: SSL and IE using flex 1.5
> > 
> > I'm using neither, I'm using a  within the 
> > web.xml to redirect the context to https.
> > 
> > Like this:
> > 
> > 
> > 
> > Test Context
> > /*
> > GET
> > POST
> > 
> > 
> > CONFIDENTIAL
> > 
> >  
> > It works fine on firefox, just IE goes into an infinite loop.
> > 
> > I guess the answer to your question is CONFIDENTIAL.
> > 
> > Cheers,
> > 
> > Iain
> > 
> > --- In flexcoders@yahoogroups.com, "Carson Hager" 
 
> > wrote:
> > >
> > > What do you have in your content.xml file?  What kind of auth 
> are 
> > you
> > > using? Basic or Form? 
> > > 
> > > 
> > > Carson
> > > 
> > > 
> > >  
> > > Carson Hager
> > > Cynergy Systems, Inc.
> > > http://www.cynergysystems.com
> > >  
> > > Email:  carson.hager@
> > > Office:  866-CYNERGY
> > > Mobile: 1.703.489.6466
> > >  
> > > 
> > > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of digital_eyezed
> > > Sent: Tuesday, March 07, 2006 8:37 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] SSL and IE using flex 1.5
> > > 
> > > Is their a known issue with IE and Flex 1.5 when using Tomcat 
> and 
> > SSL?
> > > 
> > > It seems that Firefox works fine, but when using IE 6 flex 
just 
> > > redirects to /flex-internal/?action=history_html_secure.
> > > 
> > > and sits their forever.
> > > 
> > > Anyone seen this issue?
> > > 
> > > I have tried using the context.xml file in the Meta-Inf 
> directory, 
> > but 
> > > this doesn'

[flexcoders] Re: SSL and IE using flex 1.5

2006-03-07 Thread digital_eyezed
I dont receive the swf it just stays white, it shows the url in the 
address bar and in the status bar at the bottom of the page it reads:

/flex-internal/?action=history_html_secure.

And it just hangs around like that forever.

Maybe I should go look into Tomcat and see if there is a way to 
disable the caching of the headers in 5.5.15

Cheers,

Iain


--- In flexcoders@yahoogroups.com, "Carson Hager" <[EMAIL PROTECTED]> 
wrote:
>
> Got it. At what point does this happen?  Does the swf load or is 
this
> upon the initial page load? I know you're using remote objects so 
I want
> to make sure I know what the context is - page load or remote 
object
> invocation over amf.  I reread your message and it's not entirely 
clear
> what behavior you're seeing.
> 
> 
> Carson
> 
> 
>  
> Carson Hager
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
>  
> Email:  [EMAIL PROTECTED]
> Office:  866-CYNERGY
> Mobile: 1.703.489.6466
>  
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Tuesday, March 07, 2006 8:50 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: SSL and IE using flex 1.5
> 
> I'm using neither, I'm using a  within the 
> web.xml to redirect the context to https.
> 
> Like this:
> 
> 
> 
> Test Context
> /*
> GET
> POST
> 
> 
> CONFIDENTIAL
> 
>  
> It works fine on firefox, just IE goes into an infinite loop.
> 
> I guess the answer to your question is CONFIDENTIAL.
> 
> Cheers,
> 
> Iain
> 
> --- In flexcoders@yahoogroups.com, "Carson Hager"  
> wrote:
> >
> > What do you have in your content.xml file?  What kind of auth 
are 
> you
> > using? Basic or Form? 
> > 
> > 
> > Carson
> > 
> > 
> >  
> > Carson Hager
> > Cynergy Systems, Inc.
> > http://www.cynergysystems.com
> >  
> > Email:  carson.hager@
> > Office:  866-CYNERGY
> > Mobile: 1.703.489.6466
> >  
> > 
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of digital_eyezed
> > Sent: Tuesday, March 07, 2006 8:37 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] SSL and IE using flex 1.5
> > 
> > Is their a known issue with IE and Flex 1.5 when using Tomcat 
and 
> SSL?
> > 
> > It seems that Firefox works fine, but when using IE 6 flex just 
> > redirects to /flex-internal/?action=history_html_secure.
> > 
> > and sits their forever.
> > 
> > Anyone seen this issue?
> > 
> > I have tried using the context.xml file in the Meta-Inf 
directory, 
> but 
> > this doesn't work.
> > 
> > Tomcat Version 5.5.15
> > 
> > Cheers,
> > 
> > Iain
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > 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
> >
> 
> 
> 
> 
> 
> 
> --
> 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
>






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

<*> 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: SSL and IE using flex 1.5

2006-03-07 Thread digital_eyezed
I'm using neither, I'm using a  within the 
web.xml to redirect the context to https.

Like this:



Test Context
/*
GET
POST


CONFIDENTIAL

 
It works fine on firefox, just IE goes into an infinite loop.

I guess the answer to your question is CONFIDENTIAL.

Cheers,

Iain

--- In flexcoders@yahoogroups.com, "Carson Hager" <[EMAIL PROTECTED]> 
wrote:
>
> What do you have in your content.xml file?  What kind of auth are 
you
> using? Basic or Form? 
> 
> 
> Carson
> 
> 
>  
> Carson Hager
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
>  
> Email:  [EMAIL PROTECTED]
> Office:  866-CYNERGY
> Mobile: 1.703.489.6466
>  
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Tuesday, March 07, 2006 8:37 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] SSL and IE using flex 1.5
> 
> Is their a known issue with IE and Flex 1.5 when using Tomcat and 
SSL?
> 
> It seems that Firefox works fine, but when using IE 6 flex just 
> redirects to /flex-internal/?action=history_html_secure.
> 
> and sits their forever.
> 
> Anyone seen this issue?
> 
> I have tried using the context.xml file in the Meta-Inf directory, 
but 
> this doesn't work.
> 
> Tomcat Version 5.5.15
> 
> Cheers,
> 
> Iain
> 
> 
> 
> 
> 
> 
> --
> 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
>






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

<*> 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] SSL and IE using flex 1.5

2006-03-07 Thread digital_eyezed
Is their a known issue with IE and Flex 1.5 when using Tomcat and SSL?

It seems that Firefox works fine, but when using IE 6 flex just 
redirects to /flex-internal/?action=history_html_secure.

and sits their forever.

Anyone seen this issue?

I have tried using the context.xml file in the Meta-Inf directory, but 
this doesn't work.

Tomcat Version 5.5.15

Cheers,

Iain






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

<*> 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: Why Java 1.4?????

2006-03-07 Thread digital_eyezed
No ranting...

Didn't work

It just redirects me to the flex-internal/?
action=history_html_secure

Iain

--- In flexcoders@yahoogroups.com, "Roger Gonzalez" <[EMAIL PROTECTED]> 
wrote:
>
> So, not to get in the way of your rant, but perhaps instead of 
assuming
> the worst and going ballistic, you could first see if perhaps 
there -is-
> a solution.  Did you contact support?
> 
> -rg
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed
> > Sent: Tuesday, March 07, 2006 4:41 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Why Java 1.4?
> > 
> > Why wont flex 1.5 work with anything other than 1.4 JDK?
> > 
> > It doesn't even work with the latest Tomcat, why would anyone 
> > constrain an application to a version of JRE, JDK or tomcat 
version?
> > 
> > This is useless if the rest of the environment want to move on 
to 
> > pastures new and Flex is left behind dragging everyone back.
> > 
> > I guess this is going to be the same problem with Flex 2, as 
soon as 
> > it's released it's stuck in a timewarp of 'old java'.
> > 
> > It doesn't work with the latest JBOSS either or for that matter 
the 
> > last 14 versions, that's how sanboxed a technology it is.
> > 
> > Maybe they should have spent time thinking about how to suppport 
it 
> > rather than how to price it, it only makes life difficult for us 
in 
> > a lose lose situation.
> > 
> > Please remember that Flex 2 is still in beta and they should be 
> > supporting their existing release, without trying to hype 
everyone 
> > up about what the future brings..
> > 
> > Iain
> > 
> > 
> > 
> > 
> > 
> > --
> > 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
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> >
>






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

<*> 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: Why Java 1.4?????

2006-03-07 Thread digital_eyezed
Great, I'll try this now on an app and see if it works, we tried 
with jdk1.5 and tomcat 4.1.34 and it failed.

Cheers,

Iain

--- In flexcoders@yahoogroups.com, "Dave Wolf" <[EMAIL PROTECTED]> wrote:
>
> Yes really.  RemoteObject, HttpService, WebService, all of it.  
We've
> written several applications for major clients in production 
today. 
> Works like an absolute champ with JDK 1.5 and Tomcat 5.5.15.
> 
> That said, we very much prefer WebService and HttpService over
> RemoteObject, but it works just dandy.
> 
> -- 
> Dave Wolf
> Cynergy Systems, Inc.
> Macromedia Flex Alliance Partner
> http://www.cynergysystems.com
> 
> Email:  [EMAIL PROTECTED]
> Office: 866-CYNERGY
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> wrote:
> >
> > Really?
> > 
> > We tried this and got Java Class Adapter errors on every service 
> > call that uses Remote Objects.
> > 
> > Are you using Remote Object calls?
> > 
> > Cheers,
> > 
> > Iain
> > 
> > --- In flexcoders@yahoogroups.com, "Dave Wolf"  wrote:
> > >
> > > Your statements are not accurate.  We run under Tomcat 5.5.15 
> > (latest
> > > release) and under JDK 1.5. in development and in production 
for
> > > several clients.
> > > 
> > > -- 
> > > Dave Wolf
> > > Cynergy Systems, Inc.
> > > Macromedia Flex Alliance Partner
> > > http://www.cynergysystems.com
> > > 
> > > Email:  dave.wolf@
> > > Office: 866-CYNERGY
> > > 
> > > --- In flexcoders@yahoogroups.com, "digital_eyezed" 

> > > wrote:
> > > >
> > > > Why wont flex 1.5 work with anything other than 1.4 JDK?
> > > > 
> > > > It doesn't even work with the latest Tomcat, why would 
anyone 
> > > > constrain an application to a version of JRE, JDK or tomcat 
> > version?
> > > > 
> > > > This is useless if the rest of the environment want to move 
on 
> > to 
> > > > pastures new and Flex is left behind dragging everyone back.
> > > > 
> > > > I guess this is going to be the same problem with Flex 2, as 
> > soon as 
> > > > it's released it's stuck in a timewarp of 'old java'.
> > > > 
> > > > It doesn't work with the latest JBOSS either or for that 
matter 
> > the 
> > > > last 14 versions, that's how sanboxed a technology it is.
> > > > 
> > > > Maybe they should have spent time thinking about how to 
suppport 
> > it 
> > > > rather than how to price it, it only makes life difficult 
for us 
> > in 
> > > > a lose lose situation.
> > > > 
> > > > Please remember that Flex 2 is still in beta and they should 
be 
> > > > supporting their existing release, without trying to hype 
> > everyone 
> > > > up about what the future brings..
> > > > 
> > > > Iain
> > > >
> > >
> >
>







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

<*> 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: Why Java 1.4?????

2006-03-07 Thread digital_eyezed
For your information, we have spent over 9 months developing on Flex 
1.5 and are now being forced to deploy with a newer Tomcat and Java 
JDK due to Security issues and developement requirements of 'other 
technologies' by out clients.

We are not new to this and have probably been contributing to this 
group for longer than you care to know.

I am not looking for the answer "change to Flex2", it doesn't help 
nor is it feasible, I'm looking for experiences and knowledge, which 
you have none of in Flex 1.5, self confessed.

Please allow others who care about the current technology to support 
it and others in getting the best from it, rather than having the 
Microsoft answer of 'It'll be avaialable in Office 2030'.

Regards and Peace,

Iain


--- In flexcoders@yahoogroups.com, "Michael Schmalle" 
<[EMAIL PROTECTED]> wrote:
>
> Nick,
> 
> "
> hmm...that aint helping dude.  if someone is doing an 
implementation with
> 1.5, then its a pretty big bitch if it doesnt work as expected, 
oui?
>  "
> My post maybe was not clear enough, I understand he is trying to 
implement a
> concrete 1.5 version using JAVA. Why not inquire about the Java 
support
> instead of going off on a tangent about a beta technology oh and 
even a
> nuclear technology for that matter.
> 
> Don't miss my point but there was static in his post.
> 
> Peace, Mike
> 
> 
> 
> On 3/7/06, Dave Wolf <[EMAIL PROTECTED]> wrote:
> >
> >  Your statements are not accurate.  We run under Tomcat 5.5.15 
(latest
> > release) and under JDK 1.5. in development and in production for
> > several clients.
> >
> > --
> > Dave Wolf
> > Cynergy Systems, Inc.
> > Macromedia Flex Alliance Partner
> > http://www.cynergysystems.com
> >
> > Email:  [EMAIL PROTECTED]
> > Office: 866-CYNERGY
> >
> > --- In flexcoders@yahoogroups.com, "digital_eyezed" 

> >
> > wrote:
> > >
> > > Why wont flex 1.5 work with anything other than 1.4 JDK?
> > >
> > > It doesn't even work with the latest Tomcat, why would anyone
> > > constrain an application to a version of JRE, JDK or tomcat 
version?
> > >
> > > This is useless if the rest of the environment want to move on 
to
> > > pastures new and Flex is left behind dragging everyone back.
> > >
> > > I guess this is going to be the same problem with Flex 2, as 
soon as
> > > it's released it's stuck in a timewarp of 'old java'.
> > >
> > > It doesn't work with the latest JBOSS either or for that 
matter the
> > > last 14 versions, that's how sanboxed a technology it is.
> > >
> > > Maybe they should have spent time thinking about how to 
suppport it
> > > rather than how to price it, it only makes life difficult for 
us in
> > > a lose lose situation.
> > >
> > > Please remember that Flex 2 is still in beta and they should be
> > > supporting their existing release, without trying to hype 
everyone
> > > up about what the future brings..
> > >
> > > Iain
> > >
> >
> >
> >
> >
> >
> >
> >
> >  --
> > Flexcoders Mailing List
> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> >
> >
> >
> >  SPONSORED LINKS
> >   Web site design development<http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=
Computer+software+development&w3=Software+design+and+development&w4=M
acromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L
-4QTvxB_quFDtMyhrQaHQ>  Computer
> > software development<http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=Web+site+design+development&w
2=Computer+software+development&w3=Software+design+and+development&w4
=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig
=lvQjSRfQDfWudJSe1lLjHw>  Software
> > design and development<http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=Web+site+design+development
&w2=Computer+software+development&w3=Software+design+and+development&
w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.s
ig=1pMBCdo3DsJbuU9AEmO1oQ>   Macromedia
> > flex<http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+sof
tware+development&w3=Software+design+and+development&w4=Ma

[flexcoders] Re: Why Java 1.4?????

2006-03-07 Thread digital_eyezed
Really?

We tried this and got Java Class Adapter errors on every service 
call that uses Remote Objects.

Are you using Remote Object calls?

Cheers,

Iain

--- In flexcoders@yahoogroups.com, "Dave Wolf" <[EMAIL PROTECTED]> wrote:
>
> Your statements are not accurate.  We run under Tomcat 5.5.15 
(latest
> release) and under JDK 1.5. in development and in production for
> several clients.
> 
> -- 
> Dave Wolf
> Cynergy Systems, Inc.
> Macromedia Flex Alliance Partner
> http://www.cynergysystems.com
> 
> Email:  [EMAIL PROTECTED]
> Office: 866-CYNERGY
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> wrote:
> >
> > Why wont flex 1.5 work with anything other than 1.4 JDK?
> > 
> > It doesn't even work with the latest Tomcat, why would anyone 
> > constrain an application to a version of JRE, JDK or tomcat 
version?
> > 
> > This is useless if the rest of the environment want to move on 
to 
> > pastures new and Flex is left behind dragging everyone back.
> > 
> > I guess this is going to be the same problem with Flex 2, as 
soon as 
> > it's released it's stuck in a timewarp of 'old java'.
> > 
> > It doesn't work with the latest JBOSS either or for that matter 
the 
> > last 14 versions, that's how sanboxed a technology it is.
> > 
> > Maybe they should have spent time thinking about how to suppport 
it 
> > rather than how to price it, it only makes life difficult for us 
in 
> > a lose lose situation.
> > 
> > Please remember that Flex 2 is still in beta and they should be 
> > supporting their existing release, without trying to hype 
everyone 
> > up about what the future brings..
> > 
> > Iain
> >
>







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

<*> 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: Why Java 1.4?????

2006-03-07 Thread digital_eyezed
Just knew it..


Can't talk about anything else other than Flex2, hasn't even been 
released yet.

Guess what, Flex3 is Nuclear, let's talk about that now.

Iain


--- In flexcoders@yahoogroups.com, "Michael Schmalle" 
<[EMAIL PROTECTED]> wrote:
>
> Sorry for your bad day,
> 
> Remeber this,
> 
> Flex2 does not have to be java. Ironically, I probably never will 
use Flex2
> with java and for the most part, there can be an infinate amount of
> applications without Java and Flex2.
> 
> Maybe you should refrase and say, Adobe isn't supporting their Java
> developers well but, Flex2 is a breath of fresh air for those who 
don't use
> java.
> 
> Peace, Mike
> 
> On 3/7/06, digital_eyezed <[EMAIL PROTECTED]> wrote:
> >
> >  Why wont flex 1.5 work with anything other than 1.4 JDK?
> >
> > It doesn't even work with the latest Tomcat, why would anyone
> > constrain an application to a version of JRE, JDK or tomcat 
version?
> >
> > This is useless if the rest of the environment want to move on to
> > pastures new and Flex is left behind dragging everyone back.
> >
> > I guess this is going to be the same problem with Flex 2, as 
soon as
> > it's released it's stuck in a timewarp of 'old java'.
> >
> > It doesn't work with the latest JBOSS either or for that matter 
the
> > last 14 versions, that's how sanboxed a technology it is.
> >
> > Maybe they should have spent time thinking about how to suppport 
it
> > rather than how to price it, it only makes life difficult for us 
in
> > a lose lose situation.
> >
> > Please remember that Flex 2 is still in beta and they should be
> > supporting their existing release, without trying to hype 
everyone
> > up about what the future brings..
> >
> > Iain
> >
> >
> >
> >
> >
> >  --
> > Flexcoders Mailing List
> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> >
> >
> >
> >  SPONSORED LINKS
> >   Web site design development<http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=
Computer+software+development&w3=Software+design+and+development&w4=M
acromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L
-4QTvxB_quFDtMyhrQaHQ>  Computer
> > software development<http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=Web+site+design+development&w
2=Computer+software+development&w3=Software+design+and+development&w4
=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig
=lvQjSRfQDfWudJSe1lLjHw>  Software
> > design and development<http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=Web+site+design+development
&w2=Computer+software+development&w3=Software+design+and+development&
w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.s
ig=1pMBCdo3DsJbuU9AEmO1oQ>   Macromedia
> > flex<http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+sof
tware+development&w3=Software+design+and+development&w4=Macromedia+fl
ex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZ
I36cYzBjw>  Software
> > development best practice<http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&w1=Web+site+design+developm
ent&w2=Computer+software+development&w3=Software+design+and+developme
nt&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166
&.sig=f89quyyulIDsnABLD6IXIw>
> >  --
> > YAHOO! GROUPS LINKS
> >
> >
> >-  Visit your 
group "flexcoders<http://groups.yahoo.com/group/flexcoders>"
> >on the web.
> >
> >-  To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> >
> >-  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> >  --
> >
> 
> 
> 
> --
> What goes up, does come down.
>







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

<*> 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] Why Java 1.4?????

2006-03-07 Thread digital_eyezed
Why wont flex 1.5 work with anything other than 1.4 JDK?

It doesn't even work with the latest Tomcat, why would anyone 
constrain an application to a version of JRE, JDK or tomcat version?

This is useless if the rest of the environment want to move on to 
pastures new and Flex is left behind dragging everyone back.

I guess this is going to be the same problem with Flex 2, as soon as 
it's released it's stuck in a timewarp of 'old java'.

It doesn't work with the latest JBOSS either or for that matter the 
last 14 versions, that's how sanboxed a technology it is.

Maybe they should have spent time thinking about how to suppport it 
rather than how to price it, it only makes life difficult for us in 
a lose lose situation.

Please remember that Flex 2 is still in beta and they should be 
supporting their existing release, without trying to hype everyone 
up about what the future brings..

Iain





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

<*> 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: It's simple but.......

2005-12-02 Thread digital_eyezed
Great thanks!

--- In flexcoders@yahoogroups.com, Jeff Tapper <[EMAIL PROTECTED]> wrote:
>
> Format the incoming data into an ArrayCollection of an array of 
objects, 
> and set that array as the dataProvider of the chart.  Something 
like this
> 
> http://www.macromedia.com/2005/mxml"; 
> creationComplete="initApp()">
> 
>
> 
> 
>
>  
>
>  
>
> 
> 
> 
> At 11:38 AM 12/1/2005, you wrote:
> >I have a returned VO from a remote Object call which contains 
these
> >values:
> >
> >firstValue = 150.0
> >secondValue = 3670.27001953125
> >
> >Ok, I want to put this into a pie Chart, how do I do it?
> >
> >The VO is called myRatio.
> >
> >
> >Thanks in advance.
> >
> >Iain
> >
> >
> >
> >
> >
> >
> >--
> >Flexcoders Mailing List
> >FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> >Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> >
> >
> >
> >SPONSORED LINKS
> >Web site design development Computer software development 
Software design 
> >and development
> >Macromedia flex Software development best practice
> >
> >
> >YAHOO! GROUPS LINKS
> >
> >  Visit your group "flexcoders" on the web.
> >
> >  To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> >
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.
>






 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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] It's simple but.......

2005-12-01 Thread digital_eyezed
I have a returned VO from a remote Object call which contains these 
values:

firstValue = 150.0
secondValue = 3670.27001953125

Ok, I want to put this into a pie Chart, how do I do it?

The VO is called myRatio.


Thanks in advance.

Iain






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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] Style of a DataTip

2005-11-29 Thread digital_eyezed
Hi,

Is there any way to style the dataTip of a Chart? At the moment the 
dataTip has a slight alpha to it, which is really annoying if you 
have a background with elements in it. Can I make it opaque?

I am using a dataTipFunction: dataTipFunction="formatDataTip"

function formatDataTip(obj) {
var name=obj.hitData.element.name;
var month=df.format(obj.hitData.item.dateOfSale);
var value=cf2.format(obj.hitData.item.totalSalesValue);
return ""+name+""+month+""+value;
}

Where is the style of this dataTip set? Somehow it has a red border 
and a slight alpha on a white background with black text.


Cheers,

Iain





 Yahoo! Groups Sponsor ~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
~-> 

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

<*> 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] Popup Issue

2005-10-27 Thread digital_eyezed
I have a popup which works ok:

function testTable(){var cReports:TitleWindow = TitleWindow(popupWindow
(MyTest,false));}

The problem is: It's meant to be Modal but it's not, and when I close 
it (it has a handled close button in the TitleWindow) the underlying 
main application is frozen. 


Any Help would be most appreciated.

Iain







 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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] Create an Object with Custom event.

2005-10-27 Thread digital_eyezed
Hi,

I'm creating an object dynamically (a tab of a tabNavigator) and 
that object has a Custom event ('myEvent'), how do I initialize the 
handler for this when I create it dynamically?

Normally you would do this:



But I am creating it dynamically like this (but it doesn't work!):

var printThing;
reportVO = new ReportVO();
reportVO = mainService.getReportVO.result;
var cReports:VBox = null;
var init:Object = null;
init = new Object();
init.id="cnvReports"+printThing;
init.label="Report Output "+printThing;
init.myReportVO = reportVO;
init.myEvent = "doPrintForm(event)";
cReports=VBox(myTabNavigator.createChild
(SalesQuery2,"cnvReports",init));
myTabNavigator.selectedIndex = printThing;
printThing++;

Any help would be most appreciated.

Regards,

Iain





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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] Close a Tab on a TabNavigator

2005-10-27 Thread digital_eyezed
Hi,

Is it posible to have an 'x' on the Tab Navigator tabs to close them? 
I want to have them all capable of being closed apart from index 0.

Regards,

Iain





 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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: Datagrid columns resize

2005-09-13 Thread digital_eyezed
For Clarity:


http://www.macromedia.com/2003/mxml"; 
backgroundColor="#FF">





  

  
  
  

  


  

  
  
  

  



And the XML:




name 1
32
200
Total Weight
780


name 2
40
100




name 3
23
150




name 2
55
330






--- In flexcoders@yahoogroups.com, "digital_eyezed" 
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I tend to do this by adding another element to the dataprovider 
> which has the totals, then you use the same dataprovider for the 
> second dataGrid but use the columnName of the totals to display 
them.
> 
> I have modified your code below to show this.
> 
> --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
> > I have a data grid with three columns.  NAME  AGE and WEIGHT. I 
> want to be 
> > able to get the total of the age and weight columns and place 
them 
> in the 
> > bottom row which you showed me how to do 
> > previously. Thanks.
> > 
> > 
> > http://www.macromedia.com/2003/mxml";>
> >  
> >  
> > 
> > 
> > 
> > 
> >  
> >   > >
> >  
> >  
> >   {TestSource.testinfo}
> > 
> >   
> >   
> >> textAlign="right" />
> >> textAlign="right"/>
> >   
> > 
> >   
> >  
>  vGridLineColor="#FF" hGridLineColor="#FF" id="myGrid2" 
> columnStretch="setWidth(event);" headerHeight="0" rowCount="1">
> > {TestSource.totals}
> > 
> >   
> > 
> > 
> > 
> >   
> > 
> >   
> >  
> > 
> > 
> > 
> > 
> > 
> > 
> > name 1 
> > 32 
> > 200 
> > 
> > 
> > name 2 
> > 40 
> > 100 
> > 
> > 
> > name 3 
> > 23 
> > 150 
> > 
> > 
> > name 2 
> > 55 
> > 330 
> > 
> > 
> > Total Weight:
> > 780
> > 
> > 
> >  
> > 
> > 
> > CONFIDENTIALITY STATEMENT - This message and any files or text 
> attached to 
> > it are intended only for the recipients named above, and contain 
> > information that may be confidential or privileged.  If you are 
> not an 
> > intended recipient, you must not read, copy, use, or disclose 
this 
> > communication.  Please also notify the sender by replying to 
this 
> message, 
> > and then delete all copies of it from your system.  Thank you.
> > 
> > 
> > 
> > "digital_eyezed" <[EMAIL PROTECTED]> 
> > Sent by: flexcoders@yahoogroups.com
> > 09/13/2005 12:50 AM
> > Please respond to
> > flexcoders@yahoogroups.com
> > 
> > 
> > To
> > flexcoders@yahoogroups.com
> > cc
> > 
> > Subject
> > [flexcoders] Re: Datagrid columns resize
> > 
> > 
> > 
> > 
> > 
> > 
> > Can you explain a bit more about what you need?
> > 
> > Thanks
> > 
> > Iain
> > 
> > --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
> > > Thank you, that's perfect. Would you be able to tell me the 
> > correct syntax 
> > > to get compute the colums in the datagrid? thanks
> > > 
> > > 
> > > 
> > > 
> > > CONFIDENTIALITY STATEMENT - This message and any files or text 
> > attached to 
> > > it are intended only for the recipients named above, and 
contain 
> > > information that may be confidential or privileged.  If you 
are 
> > not an 
> > > intended recipient, you must not read, copy, use, or disclose 
> this 
> > > communication.  Please also notify the sender by replying to 
> this 
> > message, 
> > > and then delete all copies of it from your system.  Thank you.
> > > 
> > > 
> > > 
> > > "digital_eyezed" <[EMAIL PROTECTED]> 
> > > Sent by: flexcoders@yahoogroups.com
> > > 09/12/2005 03:26 PM
> > > Please respond to
&g

[flexcoders] Re: Datagrid columns resize

2005-09-13 Thread digital_eyezed
Hi,

I tend to do this by adding another element to the dataprovider 
which has the totals, then you use the same dataprovider for the 
second dataGrid but use the columnName of the totals to display them.

I have modified your code below to show this.

--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
> I have a data grid with three columns.  NAME  AGE and WEIGHT. I 
want to be 
> able to get the total of the age and weight columns and place them 
in the 
> bottom row which you showed me how to do 
> previously. Thanks.
> 
> 
> http://www.macromedia.com/2003/mxml";>
>  
>  
> 
> 
> 
> 
>  
>   >
>  
>  
>   {TestSource.testinfo}
> 
>   
>   
>textAlign="right" />
>textAlign="right"/>
>   
> 
>   
>  

> {TestSource.totals}
> 
>   
> 
> 
> 
>   
> 
>   
>  
> 
> 
> 
> 
> 
> 
> name 1 
> 32 
> 200 
> 
> 
> name 2 
> 40 
> 100 
> 
> 
> name 3 
> 23 
> 150 
> 
> 
> name 2 
> 55 
> 330 
> 
> 
> Total Weight:
> 780
> 
> 
>  
> 
> 
> CONFIDENTIALITY STATEMENT - This message and any files or text 
attached to 
> it are intended only for the recipients named above, and contain 
> information that may be confidential or privileged.  If you are 
not an 
> intended recipient, you must not read, copy, use, or disclose this 
> communication.  Please also notify the sender by replying to this 
message, 
> and then delete all copies of it from your system.  Thank you.
> 
> 
> 
> "digital_eyezed" <[EMAIL PROTECTED]> 
> Sent by: flexcoders@yahoogroups.com
> 09/13/2005 12:50 AM
> Please respond to
> flexcoders@yahoogroups.com
> 
> 
> To
> flexcoders@yahoogroups.com
> cc
> 
> Subject
> [flexcoders] Re: Datagrid columns resize
> 
> 
> 
> 
> 
> 
> Can you explain a bit more about what you need?
> 
> Thanks
> 
> Iain
> 
> --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
> > Thank you, that's perfect. Would you be able to tell me the 
> correct syntax 
> > to get compute the colums in the datagrid? thanks
> > 
> > 
> > 
> > 
> > CONFIDENTIALITY STATEMENT - This message and any files or text 
> attached to 
> > it are intended only for the recipients named above, and contain 
> > information that may be confidential or privileged.  If you are 
> not an 
> > intended recipient, you must not read, copy, use, or disclose 
this 
> > communication.  Please also notify the sender by replying to 
this 
> message, 
> > and then delete all copies of it from your system.  Thank you.
> > 
> > 
> > 
> > "digital_eyezed" <[EMAIL PROTECTED]> 
> > Sent by: flexcoders@yahoogroups.com
> > 09/12/2005 03:26 PM
> > Please respond to
> > flexcoders@yahoogroups.com
> > 
> > 
> > To
> > flexcoders@yahoogroups.com
> > cc
> > 
> > Subject
> > [flexcoders] Re: Datagrid columns resize
> > 
> > 
> > 
> > 
> > 
> > 
> > Sorry, remove the cellrenderer:
> > 
> > 
> > http://www.macromedia.com/2003/mxml"; 
> > backgroundColor="#FF">
> > 
> > 
> > 
> >  > alternatingRowColors="[#CC,#FF]" columnStretch="setWidth
> > (event);" marginBottom="0">
> >   
> > 
> >   
> >   
> >   
> >   
> > 
> >   
> > 
> >  > vGridLineColor="#FF" hGridLineColor="#FF" id="myGrid2" 
> > columnStretch="setWidth(event);" headerHeight="0" rowCount="1">
> >   
> > 
> >   
> >   
> >   
> >   
> > 
> >   
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> > <[EMAIL PROTECTED]> wrote:
> > > This does it:
> > > 
> > > 
> > > http://www.macromedia.com/2003/mxml"; 
> > > backgroundColor="#FF">
> > > 
> > > 
> > > 
> > >  > > alternatingRowColors="[#CC,#FF]" 
columnStretch="setWidth
> > > (event);" marginBottom="0">
> > >   
> > > 
> &g

[flexcoders] Re: Datagrid columns resize

2005-09-13 Thread digital_eyezed
Can you explain a bit more about what you need?

Thanks

Iain

--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
> Thank you, that's perfect. Would you be able to tell me the 
correct syntax 
> to get compute the colums in the datagrid? thanks
> 
> 
> 
> 
> CONFIDENTIALITY STATEMENT - This message and any files or text 
attached to 
> it are intended only for the recipients named above, and contain 
> information that may be confidential or privileged.  If you are 
not an 
> intended recipient, you must not read, copy, use, or disclose this 
> communication.  Please also notify the sender by replying to this 
message, 
> and then delete all copies of it from your system.  Thank you.
> 
> 
> 
> "digital_eyezed" <[EMAIL PROTECTED]> 
> Sent by: flexcoders@yahoogroups.com
> 09/12/2005 03:26 PM
> Please respond to
> flexcoders@yahoogroups.com
> 
> 
> To
> flexcoders@yahoogroups.com
> cc
> 
> Subject
> [flexcoders] Re: Datagrid columns resize
> 
> 
> 
> 
> 
> 
> Sorry, remove the cellrenderer:
> 
> 
> http://www.macromedia.com/2003/mxml"; 
> backgroundColor="#FF">
> 
> 
> 
>  alternatingRowColors="[#CC,#FF]" columnStretch="setWidth
> (event);" marginBottom="0">
>   
> 
>   
>   
>   
>   
> 
>   
> 
>  vGridLineColor="#FF" hGridLineColor="#FF" id="myGrid2" 
> columnStretch="setWidth(event);" headerHeight="0" rowCount="1">
>   
> 
>   
>   
>   
>   
> 
>   
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> <[EMAIL PROTECTED]> wrote:
> > This does it:
> > 
> > 
> > http://www.macromedia.com/2003/mxml"; 
> > backgroundColor="#FF">
> > 
> > 
> > 
> >  > alternatingRowColors="[#CC,#FF]" columnStretch="setWidth
> > (event);" marginBottom="0">
> >   
> > 
> >> cellRenderer="MyTotal"/>
> >   
> >   
> >   
> > 
> >   
> > 
> >  > vGridLineColor="#FF" hGridLineColor="#FF" id="myGrid2" 
> > columnStretch="setWidth(event);" headerHeight="0" rowCount="1">
> >   
> > 
> >   
> >   
> >   
> >   
> > 
> >   
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Joe" <[EMAIL PROTECTED]> 
wrote:
> > > I have a datagrid on top of another datagrid. The bottom grid 
is 
> > for 
> > > totals of the top grid. When I resize the a column in the top 
> grid 
> > I 
> > > want the bottom grid to adopt the new column width. Is this 
> > possible to 
> > > do? I know I can call a function using columnStretch. So I 
guess 
> I 
> > > would need to know the correct actionscript syntax. Thanks
> 
> 
> 
> 
> 
> 
> --
> 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




 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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: Datagrid columns resize

2005-09-12 Thread digital_eyezed
Sorry, remove the cellrenderer:


http://www.macromedia.com/2003/mxml"; 
backgroundColor="#FF">




  

  
  
  
  

  


  

  
  
  
  

  



--- In flexcoders@yahoogroups.com, "digital_eyezed" 
<[EMAIL PROTECTED]> wrote:
> This does it:
> 
> 
> http://www.macromedia.com/2003/mxml"; 
> backgroundColor="#FF">
> 
> 
> 
>  alternatingRowColors="[#CC,#FF]" columnStretch="setWidth
> (event);" marginBottom="0">
>   
> 
>cellRenderer="MyTotal"/>
>   
>   
>   
> 
>   
> 
>  vGridLineColor="#FF" hGridLineColor="#FF" id="myGrid2" 
> columnStretch="setWidth(event);" headerHeight="0" rowCount="1">
>   
> 
>   
>   
>   
>   
> 
>   
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Joe" <[EMAIL PROTECTED]> wrote:
> > I have a datagrid on top of another datagrid. The bottom grid is 
> for 
> > totals of the top grid. When I resize the a column in the top 
grid 
> I 
> > want the bottom grid to adopt the new column width. Is this 
> possible to 
> > do? I know I can call a function using columnStretch. So I guess 
I 
> > would need to know the correct actionscript syntax. Thanks





 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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: Datagrid columns resize

2005-09-12 Thread digital_eyezed
This does it:


http://www.macromedia.com/2003/mxml"; 
backgroundColor="#FF">




  

  
  
  
  

  


  

  
  
  
  

  



--- In flexcoders@yahoogroups.com, "Joe" <[EMAIL PROTECTED]> wrote:
> I have a datagrid on top of another datagrid. The bottom grid is 
for 
> totals of the top grid. When I resize the a column in the top grid 
I 
> want the bottom grid to adopt the new column width. Is this 
possible to 
> do? I know I can call a function using columnStretch. So I guess I 
> would need to know the correct actionscript syntax. Thanks




 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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: Bug in tabNavigator

2005-09-12 Thread digital_eyezed
It has a repeater in it:






















I'm confused!

--- In flexcoders@yahoogroups.com, "Patrick" <[EMAIL PROTECTED]> wrote:
> Hard to say what's going wrong there, I can see what's happening in
> your sample, but I wasn't able to reproduce something which behaves
> the same way on my side ;)
> 
> Can you paste the mxml of your "about"-tab?
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
<[EMAIL PROTECTED]>
> wrote:
> > Hi,
> > 
> > I think I have found a bug in the tabNavigator.
> > 
> > I have created a tabNavigator as per the documentation:
> > 
> > It all works fine when it first compiles, but after you click 
the 
> > tabs a few times, the contents in the vBox start to scroll over 
> > the whole of the application.
> > 
> > View an example here:
> > 
> > http://www.shortbreadandhaggis.com:8080/panmure/home.mxml
> > 
> > Instructions:
> > 
> > Look at the about tab, scroll it , no problem, it's content is 
all 
> > contained within the VBox, now...
> > 
> > click all the tabs once (quickly) from left to right, then go 
back 
> > to the about tab, now the text scrolls all the way down and up 
the 
> > page! (need to be above 800x600 res to see the bottom). I've 
changed 
> > the colors to black to make it more noticeable.
> > 
> > Any ideas about this
> > 
> > Iain





 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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] Bug in tabNavigator

2005-09-12 Thread digital_eyezed
Hi,

I think I have found a bug in the tabNavigator.

I have created a tabNavigator as per the documentation:

It all works fine when it first compiles, but after you click the 
tabs a few times, the contents in the vBox start to scroll over 
the whole of the application.

View an example here:

http://www.shortbreadandhaggis.com:8080/panmure/home.mxml

Instructions:

Look at the about tab, scroll it , no problem, it's content is all 
contained within the VBox, now...

click all the tabs once (quickly) from left to right, then go back 
to the about tab, now the text scrolls all the way down and up the 
page! (need to be above 800x600 res to see the bottom). I've changed 
the colors to black to make it more noticeable.

Any ideas about this

Iain




 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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: Using a Repeater tag with an Array of VO's

2005-09-12 Thread digital_eyezed
Yip found it,

it was a problem in the extraction from the database (forgot to put 
a teamVO.setPlayer(rs.getString("player")) and put a teamVO.setPlayer
("player") instead, doh!

All works now, but

A repeater inside a tabNavigator VBox, why does the repeater fill 
the whole page and when you scroll down the repeater elements scroll 
up the whole page instead of inside the VBox of the tabNavigator

Cheers,

Iain



--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> 
wrote:
> Doublecheck the data in the VO.
> 
> In a result handler, try something like:
> trace(myPojo.getTeams.result[0].players[0].player)
> 
> Tracy
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Monday, September 12, 2005 3:47 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Using a Repeater tag with an Array of 
VO's
> 
> yeah, I tried that, but all I got was:
> 
> Players: 
> player 
> player 
> player 
> player 
> player.
> 
> hmmmph.
> 
> --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> 
> wrote:
> > How about:
> > 
> > 
> > Tracy
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of digital_eyezed
> > Sent: Monday, September 12, 2005 3:14 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Using a Repeater tag with an Array of VO's
> > 
> > Hi,
> > 
> > I have a return from a remoteObject wich is an Array of VO's, 
the 
> > VO's have objects in them of which one is another Array of Vo's 
> (the 
> > main Array is called TeamVO and the TeamVO has a variable inside 
> it 
> > called players which is an array of playerVO's).
> > 
> > I want to use a repeater to display the Managers and Players so 
I 
> > have done this:
> > 
> > 
> > 
> >   
> >   
> >   
> >   
> > 
> >   
> > 
> > 
> > What do I put in the "" bit to get the players?
> > The playerVO has one variable called player and it is a String 
> (his 
> > name).
> > 
> > Regards,
> > 
> > Iain
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > 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
> 
> 
> 
> 
> 
> --
> 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





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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: Using a Repeater tag with an Array of VO's

2005-09-12 Thread digital_eyezed
yeah, I tried that, but all I got was:

Players: 
player 
player 
player 
player 
player.

hmmmph.

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> 
wrote:
> How about:
> 
> 
> Tracy
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Monday, September 12, 2005 3:14 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Using a Repeater tag with an Array of VO's
> 
> Hi,
> 
> I have a return from a remoteObject wich is an Array of VO's, the 
> VO's have objects in them of which one is another Array of Vo's 
(the 
> main Array is called TeamVO and the TeamVO has a variable inside 
it 
> called players which is an array of playerVO's).
> 
> I want to use a repeater to display the Managers and Players so I 
> have done this:
> 
> 
> 
>   
>   
>   
>   
> 
>   
> 
> 
> What do I put in the "" bit to get the players?
> The playerVO has one variable called player and it is a String 
(his 
> name).
> 
> Regards,
> 
> Iain
> 
> 
> 
> 
> 
> 
> --
> 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




 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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] Using a Repeater tag with an Array of VO's

2005-09-12 Thread digital_eyezed
Hi,

I have a return from a remoteObject wich is an Array of VO's, the 
VO's have objects in them of which one is another Array of Vo's (the 
main Array is called TeamVO and the TeamVO has a variable inside it 
called players which is an array of playerVO's).

I want to use a repeater to display the Managers and Players so I 
have done this:



  
  
  
  

  


What do I put in the "" bit to get the players?
The playerVO has one variable called player and it is a String (his 
name).

Regards,

Iain





 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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: Make a PopUp non-draggable

2005-09-06 Thread digital_eyezed
Thanks, that worked a treat!


--- In flexcoders@yahoogroups.com, Manish Jethani 
<[EMAIL PROTECTED]> wrote:
> On 9/6/05, digital_eyezed <[EMAIL PROTECTED]> wrote:
> 
> > How do I make a popUp TitleWindow non-draggable (i.e. fixed in
> > position so that trying to drag it around the parent container 
is not
> > allowed)
> 
> There's no documented way to do this, AFAIK.
> 
> [undocumented]
> 
> Here's a little hack:
> 
>  
>
>  public function createChildren():Void
>  {
>super.createChildren();
> 
>back_mc.onPress = back_mc.onRelease = null;
>  }
>
>  
> 
> Remove the onPress and onRelease handlers.  Should work, I haven't 
tried.
> 
> [/undocumented]




 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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] Make a PopUp non-draggable

2005-09-06 Thread digital_eyezed
Hi,

How do I make a popUp TitleWindow non-draggable (i.e. fixed in 
position so that trying to drag it around the parent container is not 
allowed)

Thanks in advance,

Iain





 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> 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: Set Icon on tree

2005-08-16 Thread digital_eyezed
Sorry, I fixed it:

just changed the first line to:

var type:Number = item.getProperty('percent_full');

Doh!


--- In flexcoders@yahoogroups.com, "digital_eyezed" 
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm trying to set the icon of the nodes on my tree based on some 
> logic and am using the iconFunction tag to do this but it doesn't 
> seem to work. The tree is populated from a returned Array of Value 
> objects from a remoteObject call. One of the variables within each 
> Value Object is called percent_full and is a number between 0 and 
> 100 inclusive. Here is the icon function I have used:
> 
>   [Embed("assets/vgreen.png")] 
>   var greenIcon:String; 
>   [Embed("assets/vamber.png")] 
>   var amberIcon:String;
>   [Embed("assets/vred.png")] 
>   var redIcon:String;  
> public function setIcon(item){
>   var type:Number = item.percent_full;
>   if (type >= 0 && type < 33){
>   return redIcon;
>   }else if(type >= 33 && type < 66){
>   return amberIcon;
>   }else if(type >= 66 && type <= 100){
>   return greenIcon;
>   }
> }
> 
> I get green Icons for ever node!
> 
> Regards,
> 
> Iain




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h06a4n3/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124193505/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

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

<*> 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] Set Icon on tree

2005-08-16 Thread digital_eyezed
Hi,

I'm trying to set the icon of the nodes on my tree based on some 
logic and am using the iconFunction tag to do this but it doesn't 
seem to work. The tree is populated from a returned Array of Value 
objects from a remoteObject call. One of the variables within each 
Value Object is called percent_full and is a number between 0 and 
100 inclusive. Here is the icon function I have used:

  [Embed("assets/vgreen.png")] 
  var greenIcon:String; 
  [Embed("assets/vamber.png")] 
  var amberIcon:String;
  [Embed("assets/vred.png")] 
  var redIcon:String;  
public function setIcon(item){
var type:Number = item.percent_full;
if (type >= 0 && type < 33){
return redIcon;
}else if(type >= 33 && type < 66){
return amberIcon;
}else if(type >= 66 && type <= 100){
return greenIcon;
}
}

I get green Icons for ever node!

Regards,

Iain





 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h72a7ed/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124193327/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

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

<*> 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: scrolling a tree to a selected node.

2005-08-10 Thread digital_eyezed
Thanks, I did it with this:

tree.firstVisibleNode=tree.selectedNode;

Cheers,

Iain

--- In flexcoders@yahoogroups.com, Niklas Richardson 
<[EMAIL PROTECTED]> wrote:
> Try using vPosition.
> 
> 
> On 10/08/05, digital_eyezed <[EMAIL PROTECTED]> wrote:
> > If I select a node on a tree dynamically (by clicking somewhere 
else
> > in the application), how do I scroll the tree automatically to 
see
> > the
> > selected item (it's a long list).
> > 
> > Cheers,
> > 
> > Iain
> > 
> > 
> > 
> > 
> > 
> > --
> > 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
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> Niklas Richardson
> Prismix Ltd
> 
> Flex and ColdFusion Experts!




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hum1ctr/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123693514/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

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

<*> 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] scrolling a tree to a selected node.

2005-08-10 Thread digital_eyezed
If I select a node on a tree dynamically (by clicking somewhere else 
in the application), how do I scroll the tree automatically to see
the 
selected item (it's a long list).

Cheers,

Iain




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hk7217m/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123690055/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

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

<*> 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: Charting from a TreeNode

2005-08-08 Thread digital_eyezed
Ok,

I have a tree on the left of the app, which is populated from the 
returned InfoVO Array, this works no problem. On the right of the 
app is a panel with two columncharts, the top one takes the same 
dataProvider as the tree on the left and it shows the data okay for 
all infoVO's. Under that chart is another chart (a kind of drill 
down chart) which when you click on the infoVO in the tree should 
show the data specific to that infoVO, thats about it. Each info VO 
has seven data elements (sales associated to each day of the week) 
and a label (the Id of each infoVO). I can't get the infoVO 
(drilldown) to show the data on the bottom chart.

Sorry for not making it clear enough before.




--- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> 
wrote:
> 
> 
> Still not quite clear on what you're trying to do here. You have 
an array of InfoVO objects...but you don't want to display the 
entire array, just a subset of the array? Is that correct?
> 
> Ely.
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed
> Sent: Monday, August 08, 2005 9:28 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Charting from a TreeNode
> Importance: High
> 
> This is the VO:
> 
> class uk.co.company.InfoVO
> {
>   public function InfoVO()
>   {
>   _remoteClass = "uk.co.company.InfoVO";
>   }
> public var _remoteClass : String;
> 
> public var label:String;
> public var sevensales:Number;
> public var sixsales:Number;
> public var fivesales:Number;
> public var foursales:Number;
> public var threesales:Number;
> public var twosales:Number;
> public var onesales:Number;
> 
> 
> public function setLabel(lab:String):Void{
>   this.label = lab;
> }
> public function setSevenSales(sales:Number):Void{
>   this.sevensales = sales;
> }
> public function setSixSales(sales:Number):Void{
>   this.sixsales = sales;
> }
> public function setFiveSales(sales:Number):Void{
>   this.fivesales = sales;
> }
> public function setFourSales(sales:Number):Void{
>   this.foursales = sales;
> }
> public function setThreeSales(sales:Number):Void{
>   this.threesales = sales;
> }
> public function setTwoSales(sales:Number):Void{
>   this.twosales = sales;
> }
> public function setOneSales(sales:Number):Void{
>   this.onesales = sales;
> }
> }
> 
> The RemoteObject returns an array of these. I want to show the 
data from the onesales ... sevensales with the label as the 
categoryfield label.
> 
> 
> Cheers,
> 
> Iain
> 
> --- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]>
> wrote:
> > 
> > 
> > Can you send a sample of the data you're loading from the RO? And
> point
> > out which sub-section you want to display in the chart.
> > 
> > 
> > Thanks,
> > Ely.
> >  
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of digital_eyezed
> > Sent: Monday, August 08, 2005 9:20 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Charting from a TreeNode
> > 
> > I have a tree which is populated from a return from a 
RemoteObject
> call.
> > The returned object is an array of VO objects. The tree populates
> no
> > problem. I also have a chart which is populated from the the 
same 
> > RemoteObject Result. This chart is a simple column chart which
> shows
> > seven elements of each VO in the array.
> > 
> > What I want to do now is populate another chart (chart2) with 
just
> the
> > seven elements of the VO from the selected node in the tree. I 
have 
> > tried to set the dataProvider of the chart2 to tree.selectedItem
> and
> > even tried to build another VO object based on the tree change
> event and
> > set that as the dataProvider, no matter what I try the second
> chart will
> > not populate.
> > 
> > Here is the mxml:
> > 
> >  > panelBorderStyle="roundCorners">
> >  > dataProvider="{getEverything.getSites.result}" width="100%" 
> > height="100%" cellPress="showStuff(event)"/>
> > 
> > 
> > 
> >  > marginBottom="1"  marginLeft="1" marginRight="1">
> > 
> >  > dataTipFunction="forma

[flexcoders] Re: Charting from a TreeNode

2005-08-08 Thread digital_eyezed
This is the VO:

class uk.co.company.InfoVO
{
public function InfoVO()
{
_remoteClass = "uk.co.company.InfoVO";
}
public var _remoteClass : String;

public var label:String;
public var sevensales:Number;
public var sixsales:Number;
public var fivesales:Number;
public var foursales:Number;
public var threesales:Number;
public var twosales:Number;
public var onesales:Number;


public function setLabel(lab:String):Void{
this.label = lab;
}
public function setSevenSales(sales:Number):Void{
this.sevensales = sales;
}
public function setSixSales(sales:Number):Void{
this.sixsales = sales;
}
public function setFiveSales(sales:Number):Void{
this.fivesales = sales;
}
public function setFourSales(sales:Number):Void{
this.foursales = sales;
}
public function setThreeSales(sales:Number):Void{
this.threesales = sales;
}
public function setTwoSales(sales:Number):Void{
this.twosales = sales;
}
public function setOneSales(sales:Number):Void{
this.onesales = sales;
}
}

The RemoteObject returns an array of these. I want to show the data 
from the onesales ... sevensales with the label as the categoryfield 
label.


Cheers,

Iain

--- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> 
wrote:
> 
> 
> Can you send a sample of the data you're loading from the RO? And 
point
> out which sub-section you want to display in the chart.
> 
> 
> Thanks,
> Ely.
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Monday, August 08, 2005 9:20 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Charting from a TreeNode
> 
> I have a tree which is populated from a return from a RemoteObject 
call.
> The returned object is an array of VO objects. The tree populates 
no
> problem. I also have a chart which is populated from the the same
> RemoteObject Result. This chart is a simple column chart which 
shows
> seven elements of each VO in the array.
> 
> What I want to do now is populate another chart (chart2) with just 
the
> seven elements of the VO from the selected node in the tree. I have
> tried to set the dataProvider of the chart2 to tree.selectedItem 
and
> even tried to build another VO object based on the tree change 
event and
> set that as the dataProvider, no matter what I try the second 
chart will
> not populate.
> 
> Here is the mxml:
> 
>  panelBorderStyle="roundCorners">
>  dataProvider="{getEverything.getSites.result}" width="100%" 
> height="100%" cellPress="showStuff(event)"/>
> 
> 
> 
>  marginBottom="1"  marginLeft="1" marginRight="1">
> 
>dataTipFunction="formatDataTipSales" showDataTips="true" 
> width="100%" height="100%">
>   
>   
>dataProvider="{results}" categoryField="label"/>
>   
>   
>   
>   
>name="Sales -7"/>
>name="Sales -6"/>
>name="Sales -5"/>
>name="Sales -4"/>
>name="Sales -3"/>
>name="Sales -2"/>
>name="Sales -1"/>
>   
>   
>   
>   
>dataProvider="{tree.selectedItem}" 
> dataTipFunction="formatDataTipSales" showDataTips="true" 
> width="100%" height="100%">
>   
>   
>dataProvider="{tree.selectedItem}" categoryField="label"/>
>   
>   
>   
>   
>name="Sales -7"/>
>name="Sales -6"/>
>name="Sales -5"/>
>name="Sales -4"/>
>name="Sales -3"/>
>name="Sales -2"/>
>name="Sales -1"/>
>   
>   
>   
>   

[flexcoders] Charting from a TreeNode

2005-08-08 Thread digital_eyezed
I have a tree which is populated from a return from a RemoteObject 
call. The returned object is an array of VO objects. The tree 
populates no problem. I also have a chart which is populated from 
the the same RemoteObject Result. This chart is a simple column 
chart which shows seven elements of each VO in the array.

What I want to do now is populate another chart (chart2) with just 
the seven elements of the VO from the selected node in the tree. I 
have tried to set the dataProvider of the chart2 to 
tree.selectedItem and even tried to build another VO object based on 
the tree change event and set that as the dataProvider, no matter 
what I try the second chart will not populate.

Here is the mxml:

















































Thanks,

Iain




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hn822fb/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123525200/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

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

<*> 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: My Head is in a bin, getUrl with javascript.

2005-08-05 Thread digital_eyezed
Your right!

That's it, had enough, Friday afternoon I'm going home!

Best Regards,

Iain

--- In flexcoders@yahoogroups.com, "Geoffrey Williams" <[EMAIL PROTECTED]> 
wrote:
> Perhaps you were missing the single quotes around the variable?:
> 
> function set aler (aler:String):Void {
>   if (aler) {
>   __aler = aler;
>   getURL ("javascript:myFrame.myTest ('" + aler 
+ "');");
>   }
>   }
> }
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Friday, August 05, 2005 11:57 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] My Head is in a bin, getUrl with javascript.
> 
> Hi,
> 
> I'm working with an IFrame in html and I am passing info from an 
> mxml custom component to an IFrame which contains a javascript 
> function called 'myTest', when I use getUrl with static text in my 
> mxml to call the javascript function in the IFrame it works, this 
is 
> the function in the mxml page:
> 
> function set aler(aler:String):Void {
>   if (aler) {
>   __aler = aler;
>   getURL("javascript:myFrame.myTest
> ('hrjhgjhfhkgfhgfh')");
>   }
>   }
> 
> This works fine, but I really want to send the value of 'aler', 
how 
> do I do this, I have tried everything from quotes to concatenation.
> 
> Thanks in advance.
> 
> Iain
> 
> 
> 
> 
> 
> --
> 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




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hpj9f4j/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123265986/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

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

<*> 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] My Head is in a bin, getUrl with javascript.

2005-08-05 Thread digital_eyezed
Hi,

I'm working with an IFrame in html and I am passing info from an 
mxml custom component to an IFrame which contains a javascript 
function called 'myTest', when I use getUrl with static text in my 
mxml to call the javascript function in the IFrame it works, this is 
the function in the mxml page:

function set aler(aler:String):Void {
if (aler) {
__aler = aler;
getURL("javascript:myFrame.myTest
('hrjhgjhfhkgfhgfh')");
}
}

This works fine, but I really want to send the value of 'aler', how 
do I do this, I have tried everything from quotes to concatenation.

Thanks in advance.

Iain




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h2do8gb/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123265719/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

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

<*> 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] My Head is in a bin, getUrl with javascript.

2005-08-05 Thread digital_eyezed
Hi,

I'm working with an IFrame in html and I am passing info from an 
mxml custom component to an IFrame which contains a javascript 
function called 'myTest', when I use getUrl with static text in my 
mxml to call the javascript function in the IFrame it works, this is 
the function in the mxml page:

function set aler(aler:String):Void {
if (aler) {
__aler = aler;
getURL("javascript:myFrame.myTest
('hrjhgjhfhkgfhgfh')");
}
}

This works fine, but I really want to send the value of 'aler', how 
do I do this, I have tried everything from quotes to concatenation.

Thanks in advance.

Iain




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12ht7camu/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123264629/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

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

<*> 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: Dynamic Tree and VO's

2005-08-05 Thread digital_eyezed
Yip, that did it.

Thanks,

Iain

--- In flexcoders@yahoogroups.com, "Michael Herron" <[EMAIL PROTECTED]> 
wrote:
> How about 
> 
>  
> 
> event.selectedItem.attributes.postcode?
> 
>  
> 
> I guess label works as its kind of native to the tree..
> 
>  
> 
> Mike.
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972
> Sent: 05 August 2005 13:09
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Dynamic Tree and VO's
> 
>  
> 
> try
> 
> event.selectedItem.postcode
> or
> event.selectedItem.POSTCODE
> or
> event.selectedItem['postcode']
> 
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> <[EMAIL PROTECTED]> wrote:
> > Sorry, that didn't work either.
> > 
> > Any other ideas??
> > 
> > --- In flexcoders@yahoogroups.com, João Fernandes 
> > <[EMAIL PROTECTED]> wrote:
> > > Hi Iain,
> > > 
> > >  
> > > 
> > > Try with selectedNode instead selectedItem.
> > > 
> > >  
> > > 
> > > João Fernandes
> > > 
> > > Secção de Desenvolvimento
> > > 
> > > Departamento de Informática
> > > 
> > > 
> > > 
> > > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed
> > > Sent: sexta-feira, 5 de Agosto de 2005 12:03
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Dynamic Tree and VO's
> > > 
> > >  
> > > 
> > > Hi,
> > > 
> > > I have a tree which is populated (through the dataProvider) 
from 
> a 
> > > returned array of VO's from a RemoteObject Call. Within the VO 
> is 
> > a 
> > > number of attributes, two of the attributes are called data 
and 
> > label. 
> > > The tree shows ok. I want to be able to extract the other 
> > attributes 
> > > that are associated with this selectedItem and can't seem to 
get 
> > the 
> > > data out. How do I do this? For example, another attribute is 
> > > call 'postcode' so I tried to use change="myVariable = 
> > > event.selectedItem.getProperty('postcode')" but this did not 
> work, 
> > > although if I change the 'postcode' to 'label' then I get the 
> > label.
> > > 
> > > Can you help?
> > > 
> > > Regards,
> > > 
> > > Iain
> > > 
> > > 
> > > 
> > > 
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives: http://www.mail-archive.com/flexcoders% 
<http://www.mail-archive.com/flexcoders%25> 
> > 40yahoogroups.com 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > YAHOO! GROUPS LINKS 
> > > 
> > >  
> > > 
> > > *  Visit your group "flexcoders 
> > <http://groups.yahoo.com/group/flexcoders> " on the web.
> > > 
> > > *  To unsubscribe from this group, send an email to:
> > >   [EMAIL PROTECTED] 
<mailto:flexcoders-
> > [EMAIL PROTECTED]> 
> > > 
> > > *  Your use of Yahoo! Groups is subject to the Yahoo! 
Terms of 
> > Service <http://docs.yahoo.com/info/terms/> . 
> > > 
> > >  
> > > 
> > > 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com 
> 
> 
> 
> 
> SPONSORED LINKS 
> 
> Computer software testing <http://groups.yahoo.com/gads?
t=ms&k=Computer+software+testing&w1=Computer+software+testing&w2=Macr
omedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.sig=kh2Cgu
JwmatU5oBXjFo9Rg>  
> 
> Macromedia flex <http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Computer+software+testing&w2=Macromedia+fle
x&w3=Development&w4=Software+developer&c=4&s=93&.sig=dAUcEV7do91-
wrRtVS641g>  
> 
> Development <http://groups.yahoo.com/gads?
t=ms&k=Development&w1=Computer+software+testing&w2=Macromedia+flex&w3
=Development&w4=Software+developer&c=4&s=93&

[flexcoders] Re: Dynamic Tree and VO's

2005-08-05 Thread digital_eyezed
Sorry, that didn't work either.

Any other ideas??

--- In flexcoders@yahoogroups.com, João Fernandes 
<[EMAIL PROTECTED]> wrote:
> Hi Iain,
> 
>  
> 
> Try with selectedNode instead selectedItem.
> 
>  
> 
> João Fernandes
> 
> Secção de Desenvolvimento
> 
> Departamento de Informática
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed
> Sent: sexta-feira, 5 de Agosto de 2005 12:03
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Dynamic Tree and VO's
> 
>  
> 
> Hi,
> 
> I have a tree which is populated (through the dataProvider) from a 
> returned array of VO's from a RemoteObject Call. Within the VO is 
a 
> number of attributes, two of the attributes are called data and 
label. 
> The tree shows ok. I want to be able to extract the other 
attributes 
> that are associated with this selectedItem and can't seem to get 
the 
> data out. How do I do this? For example, another attribute is 
> call 'postcode' so I tried to use change="myVariable = 
> event.selectedItem.getProperty('postcode')" but this did not work, 
> although if I change the 'postcode' to 'label' then I get the 
label.
> 
> Can you help?
> 
> Regards,
> 
> Iain
> 
> 
> 
> 
> --
> 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 
> 
>  
> 
> *  Visit your group "flexcoders 
<http://groups.yahoo.com/group/flexcoders> " on the web.
> 
> *  To unsubscribe from this group, send an email to:
>[EMAIL PROTECTED] <mailto:flexcoders-
[EMAIL PROTECTED]> 
> 
> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service <http://docs.yahoo.com/info/terms/> . 
> 
>  
> 
> 




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hrprttc/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123250262/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

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

<*> 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] Dynamic Tree and VO's

2005-08-05 Thread digital_eyezed
Hi,

I have a tree which is populated (through the dataProvider) from a 
returned array of VO's from a RemoteObject Call. Within the VO is a 
number of attributes, two of the attributes are called data and label. 
The tree shows ok. I want to be able to extract the other attributes 
that are associated with this selectedItem and can't seem to get the 
data out. How do I do this? For example, another attribute is 
call 'postcode' so I tried to use change="myVariable = 
event.selectedItem.getProperty('postcode')" but this did not work, 
although if I change the 'postcode' to 'label' then I get the label.

Can you help?

Regards,

Iain




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h8he5ib/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123247052/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

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

<*> 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: How to make two seperate grid columns equal

2005-07-31 Thread digital_eyezed
Full code with logic:


http://www.macromedia.com/2003/mxml";>

























--- In flexcoders@yahoogroups.com, "digital_eyezed" 
<[EMAIL PROTECTED]> wrote:
> Ok I did it:
> 
> create a columnStretch event handler which uses this function:
> 
>   public function setWidth(event){
>   myGrid.getColumnAt(event.columnIndex).width = 
> myGrid2.getColumnAt(event.columnIndex).width ;
>   }
> 
> Needs some logic to make it work both ways but it's nearly there.
> 
> Iain
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > How do I make the column of one datarid equal in width to that 
of 
> a 
> > different datagrid?
> > 
> > So if a user stretches a column on one datagrid, the same column 
> on 
> > the second datagrid also resizes to the same width dynamically.
> > 
> > Thanks in advance.
> > 
> > Iain




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h7lirk3/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122855253/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

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

<*> 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: How to make two seperate grid columns equal

2005-07-31 Thread digital_eyezed
Ok I did it:

create a columnStretch event handler which uses this function:

public function setWidth(event){
myGrid.getColumnAt(event.columnIndex).width = 
myGrid2.getColumnAt(event.columnIndex).width ;
}

Needs some logic to make it work both ways but it's nearly there.

Iain

--- In flexcoders@yahoogroups.com, "digital_eyezed" 
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> How do I make the column of one datarid equal in width to that of 
a 
> different datagrid?
> 
> So if a user stretches a column on one datagrid, the same column 
on 
> the second datagrid also resizes to the same width dynamically.
> 
> Thanks in advance.
> 
> Iain




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hn4m9km/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122854257/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

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

<*> 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] How to make two seperate grid columns equal

2005-07-31 Thread digital_eyezed
Hi,

How do I make the column of one datarid equal in width to that of a 
different datagrid?

So if a user stretches a column on one datagrid, the same column on 
the second datagrid also resizes to the same width dynamically.

Thanks in advance.

Iain





 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h3nu7vd/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122849919/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

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

<*> 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: ComboBox 'Please Select' first Item

2005-06-29 Thread digital_eyezed
I've tried that and it didn't work.

Cheers,

Iain


--- In flexcoders@yahoogroups.com, "alex_harui" <[EMAIL PROTECTED]> wrote:
> 
> 
> --- In flexcoders@yahoogroups.com, Clint Modien <[EMAIL PROTECTED]> 
wrote:
> > Should be 
> > 
> > function addSelect(event){
> > var theTarget = event.target <http://event.target.id/>;
> > theTarget.addItemsAt(0,new Array([{label:"Please 
Select",data:0}]);
> > }
> > 
> > Or the easiest way would be to add the Item to the result when 
you 
> get it 
> > back
> > 
> > event.result.push({label:"Please Select", data:0});
> > 
> > the "label" and "data" properties of the object should coincide 
> with the 
> > properties of your VO
> > 
> > if you can give me the definition of the VO maybe I can elaborate
> > 
> > On 6/29/05, digital_eyezed <[EMAIL PROTECTED]> wrote:
> > > 
> > > Hi,
> > > 
> > > How do I have the first item in the combobox read 'please 
select'
> > > with a corrosponding data value of 0(zero). The rest of the 
> combobox
> > > should be filled with a return from a remote object call and 
the
> > > resulting VO objects (with label / Data pairs).
> > > 
> > > I can fill the comboBox with the VO's no problem, but How do I 
add
> > > the 'Please Select'?
> > > 
> > > I have tried this function on the creationComplete event of the
> > > Combobox:
> > > 
> > > function addSelect(event){
> > > var theTargetId = event.target.id <http://event.target.id>;
> > > theTargetId.addItemAt(0,"Please Select",0);
> > > }
> > > 
> > > any help most appreciated.
> > > 
> > > Regards,
> > > 
> > > Iain
> > > 
> > > 
> > > 
> > > 
> > > --
> > > 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
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > >




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

<*> 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: ComboBox 'Please Select' first Item

2005-06-29 Thread digital_eyezed
Thanks,

Added this and it worked:

function addSelect(event){
 var theTargetId = event.target;
 theTargetId.addItemAt(0,"Please Select",0);
 theTargetId.selectedIndex = 0;
}

Small typo in yours, its addItemAt not addItemsAt, took me a wee 
while to notice it.

Best Regards,

Iain



--- In flexcoders@yahoogroups.com, Clint Modien <[EMAIL PROTECTED]> wrote:
> Should be 
> 
> function addSelect(event){
> var theTarget = event.target <http://event.target.id/>;
> theTarget.addItemsAt(0,new Array([{label:"Please Select",data:0}]);
> }
> 
> Or the easiest way would be to add the Item to the result when you 
get it 
> back
> 
> event.result.push({label:"Please Select", data:0});
> 
> the "label" and "data" properties of the object should coincide 
with the 
> properties of your VO
> 
> if you can give me the definition of the VO maybe I can elaborate
> 
> On 6/29/05, digital_eyezed <[EMAIL PROTECTED]> wrote:
> > 
> > Hi,
> > 
> > How do I have the first item in the combobox read 'please select'
> > with a corrosponding data value of 0(zero). The rest of the 
combobox
> > should be filled with a return from a remote object call and the
> > resulting VO objects (with label / Data pairs).
> > 
> > I can fill the comboBox with the VO's no problem, but How do I 
add
> > the 'Please Select'?
> > 
> > I have tried this function on the creationComplete event of the
> > Combobox:
> > 
> > function addSelect(event){
> > var theTargetId = event.target.id <http://event.target.id>;
> > theTargetId.addItemAt(0,"Please Select",0);
> > }
> > 
> > any help most appreciated.
> > 
> > Regards,
> > 
> > Iain
> > 
> > 
> > 
> > 
> > --
> > 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
> > 
> > 
> > 
> > 
> > 
> > 
> >




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

<*> 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] ComboBox 'Please Select' first Item

2005-06-29 Thread digital_eyezed
Hi,

How do I have the first item in the combobox read 'please select' 
with a corrosponding data value of 0(zero). The rest of the combobox 
should be filled with a return from a remote object call and the 
resulting VO objects (with label / Data pairs).

I can fill the comboBox with the VO's no problem, but How do I add 
the 'Please Select'?

I have tried this function on the creationComplete event of the 
Combobox:

function addSelect(event){
var theTargetId = event.target.id;
theTargetId.addItemAt(0,"Please Select",0);
}

any help most appreciated.

Regards,

Iain




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

<*> 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] Layering content

2005-06-28 Thread digital_eyezed
Hi,

I want to have an image layered over the top of an HBox, but the image 
will overlap the corners of the HBox. Is there anyway I can achieve 
this? maybe by alpha on a viewstack or such like?

Regards,

Iain




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

<*> 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] HTTPService Fails

2005-06-17 Thread digital_eyezed
Hi,

I'm doing something really simple,

Calling an HTTPservice and showing it in a grid. The code for the 
mxml is:


http://www.macromedia.com/2003/mxml"; 
creationComplete="myService.send();">
http://tiger:8080/simple/props"; 
showBusyCursor="true"/>



The Servlet returns this:

 
- 
  java.vendor=Sun Microsystems Inc. 
  catalina.base=C:\ProgramFiles\jboss\jboss-3.2.7
\server\default 
  catalina.useNaming=false 
  os.name=Windows XP 
  sun.boot.class.path=C:\ProgramFiles\jboss\jboss-3.2.7
\bin\\..\lib\endorsed\xercesImpl.jar;C:\ProgramFiles\jboss\jboss-
3.2.7\bin\\..\lib\endorsed\xml-
apis.jar;c:\programfiles\j2se\jre\lib\rt.jar;c:\programfiles\j2se\jre
\lib\i18n.jar;c:\programfiles\j2se\jre\lib\sunrsasign.jar;c:\programf
iles\j2se\jre\lib\jsse.jar;c:\programfiles\j2se\jre\lib\jce.jar;c:\pr
ogramfiles\j2se\jre\lib\charsets.jar;c:\programfiles\j2se\jre\classes
 
  sun.java2d.fontpath= 
  java.vm.specification.vendor=Sun Microsystems Inc. 


But it wont show in the dataGrid!

What am I doing wrong?

Redards,

Iain




 
Yahoo! Groups Links

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

<*> 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: Using a drag proxy

2005-05-26 Thread digital_eyezed
Thanks for your help so far:

Where is the documentation on this kind of class extension, where do 
I find the constructor for dragProxy in order for me to know how to 
add the image in the createChilren function?

Do I just add: 

var image1 = createClassObject(mx.controls.image, something, 
something, something


Thanks

Iain


--- In flexcoders@yahoogroups.com, Manish Jethani 
<[EMAIL PROTECTED]> wrote:
> On 5/26/05, digital_eyezed <[EMAIL PROTECTED]> wrote:
> 
> > I have a fully functioning drag and drop operation going on. All 
I
> > want to do is add an image using the drag proxy functionality to 
the
> > application.
> > 
> > Here is the tree I drag from:
> > 
> >  > height="100%" dragEnabled="true"/>
> [...]
> 
> You can do it by making your own drag proxy.  See example below.
> 
> 
> http://www.macromedia.com/2003/mxml";
>   xmlns="*" backgroundColor="white">
>   
> 
>   
> 
> 
>   
> 
>   
> 
> 
> // MyTree.as
> class MyTree extends mx.controls.Tree
> {
>   function get dragImage()
>   {
>   return MyDragProxy;
>   }
> }
> 
> //MyDragProxy.as
> class MyDragProxy extends mx.controls.listclasses.DragProxy
> {
>   public function createChildren():Void
>   {
>   super.createChildren();
> 
>   var label = createClassObject(mx.controls.Label, "",
> getNextHighestDepth(), {text: "Watch me move"});
>   label.y += 20;
>   }
> }
> 
> You can put your image in createChildren()




 
Yahoo! Groups Links

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

<*> 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] Using a drag proxy

2005-05-26 Thread digital_eyezed
Hi,

I have a fully functioning drag and drop operation going on. All I 
want to do is add an image using the drag proxy functionality to the 
application.

Here is the tree I drag from:



And here is the List I drag to:



Where do I put the code to add the drag Proxy? I have already 
embedded an image (image1) in my actionscript and want to allow that 
image to show, with an offset (which is coded to offsetX and 
offsetY) of 0 and no initialization paramaters.

Normally I would have thought that creating a mouseDown even on the 
tree would enable me to create a dragsource and doDrag method but 
this seems to screw up the rest of the drag operation as it is 
mostly handled in the doDragDrop(event)(and it completely froze IE6).

Thanks in advance for any help!

Iain





 
Yahoo! Groups Links

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

<*> 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: Drag and Drop from tree to List

2005-05-26 Thread digital_eyezed
That worked! Thanks.

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> 
wrote:
> Use the TreeDataProvider methods to get the label,
> myObj[0].getProperty('label')
> 
>  
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Wednesday, May 25, 2005 7:31 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Drag and Drop from tree to List
> 
>  
> 
> This seems to work fine when the dataProvider for the tree is a 
> static 
> mx:XML node list, but when the node list is the result of a 
> remoteObject, the dataForFormat("treeItems") returns an undefined. 
I 
> think what I am trying to do is very simple.
> 
> I have a tree which is populated by a remoteObject call, this 
works 
> fine.
> 
> The XML returned from the remoteObject Call is in this format:
> 
> 
> 
> 
> Tree now works fine.
> 
> Now, in the doDragDrop(event) function I call another method 
(after 
> clearing the List and populating it with this dragsource object) 
> called: sendFile(event)
> Which does this:
> var myObj:Object = event.dragSource.dataForFormat("treeItems");
> var fileName:String = String(myObj[0]);
> mx.core.Application.alert(fileName);
> 
> All i get is undefined. If I try a .label or .node I also get an 
> undefined.
> 
> How can I get the label?
> 
> Regards,
> 
> Iain
> 
> --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> 
> wrote:
> > Yep, dataForFormat("treeItems") I think is what you want.  As 
for 
> only
> > having one item in the destination List, you could simply clear 
> the list
> > before adding in the treeItems in the dragDrop handler.
> > 
> >  
> > 
> > Matt
> > 
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of digital_eyezed
> > Sent: Wednesday, May 25, 2005 8:45 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Drag and Drop from tree to List
> > 
> >  
> > 
> > Hi,
> > 
> > I'm dragging and dropping from a tree to a list.
> > 
> > All the functionality works fine, but I'm trying to call another 
> > method when the item is dropped with the name of the file from 
the 
> > tree as the argument to that method.
> > 
> > Example: Tree has two objects in a folder node called files:
> > 
> > File1.txt and File2.txt
> > 
> > When I drag from the tree and drop into the List container 
(List1) 
> I 
> > want to call a method which has the File1.txt or File2.txt as 
the 
> > argument. Can I use the dataForFormat?
> > 
> > Also if I want to restrict this list to only having 1 file in it 
> how 
> > can I have it to only have the last item that I dropped into it, 
> > thus removing the previous item, if there was one there.
> > 
> > I tried to put a change event handler on the list, but when you 
> drop 
> > an Item into the list this event is not called, which I find 
> > extremely wierd being that the list has in fact 'changed'. 
Explain 
> > that one!
> > 
> > Regards,
> > 
> > Iain
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Yahoo! Groups Links
> > 
> > *  To visit your group on the web, go to:
> >   http://groups.yahoo.com/group/flexcoders/
> > 
> > *  To unsubscribe from this group, send an email to:
> >   [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]
> subject=Unsubscribe> 
> > 
> > *  Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of
> > Service <http://docs.yahoo.com/info/terms/> .
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> * To visit your group on the web, go to:
>   http://groups.yahoo.com/group/flexcoders/
> 
> * To unsubscribe from this group, send an email to:
>   [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe> 
> 
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> .




 
Yahoo! Groups Links

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

<*> 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: Drag and Drop from tree to List

2005-05-25 Thread digital_eyezed
This seems to work fine when the dataProvider for the tree is a 
static 
mx:XML node list, but when the node list is the result of a 
remoteObject, the dataForFormat("treeItems") returns an undefined. I 
think what I am trying to do is very simple.

I have a tree which is populated by a remoteObject call, this works 
fine.

The XML returned from the remoteObject Call is in this format:




Tree now works fine.

Now, in the doDragDrop(event) function I call another method (after 
clearing the List and populating it with this dragsource object) 
called: sendFile(event)
Which does this:
var myObj:Object = event.dragSource.dataForFormat("treeItems");
var fileName:String = String(myObj[0]);
mx.core.Application.alert(fileName);

All i get is undefined. If I try a .label or .node I also get an 
undefined.

How can I get the label?

Regards,

Iain

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> 
wrote:
> Yep, dataForFormat("treeItems") I think is what you want.  As for 
only
> having one item in the destination List, you could simply clear 
the list
> before adding in the treeItems in the dragDrop handler.
> 
>  
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Wednesday, May 25, 2005 8:45 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Drag and Drop from tree to List
> 
>  
> 
> Hi,
> 
> I'm dragging and dropping from a tree to a list.
> 
> All the functionality works fine, but I'm trying to call another 
> method when the item is dropped with the name of the file from the 
> tree as the argument to that method.
> 
> Example: Tree has two objects in a folder node called files:
> 
> File1.txt and File2.txt
> 
> When I drag from the tree and drop into the List container (List1) 
I 
> want to call a method which has the File1.txt or File2.txt as the 
> argument. Can I use the dataForFormat?
> 
> Also if I want to restrict this list to only having 1 file in it 
how 
> can I have it to only have the last item that I dropped into it, 
> thus removing the previous item, if there was one there.
> 
> I tried to put a change event handler on the list, but when you 
drop 
> an Item into the list this event is not called, which I find 
> extremely wierd being that the list has in fact 'changed'. Explain 
> that one!
> 
> Regards,
> 
> Iain
> 
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> * To visit your group on the web, go to:
>   http://groups.yahoo.com/group/flexcoders/
> 
> * To unsubscribe from this group, send an email to:
>   [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe> 
> 
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> .




 
Yahoo! Groups Links

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

<*> 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] Drag and Drop from tree to List

2005-05-25 Thread digital_eyezed
Hi,

I'm dragging and dropping from a tree to a list.

All the functionality works fine, but I'm trying to call another 
method when the item is dropped with the name of the file from the 
tree as the argument to that method.

Example: Tree has two objects in a folder node called files:

File1.txt and File2.txt

When I drag from the tree and drop into the List container (List1) I 
want to call a method which has the File1.txt or File2.txt as the 
argument. Can I use the dataForFormat?

Also if I want to restrict this list to only having 1 file in it how 
can I have it to only have the last item that I dropped into it, 
thus removing the previous item, if there was one there.

I tried to put a change event handler on the list, but when you drop 
an Item into the list this event is not called, which I find 
extremely wierd being that the list has in fact 'changed'. Explain 
that one!

Regards,

Iain





 
Yahoo! Groups Links

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

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




  1   2   >