[flexcoders] Why no scroll bar?

2007-05-16 Thread Ian Skinner
I have my base mx:Application... tag set with a minWidth=1024.  When 
the browser is less this this width no scroll bars are available leaving 
the hidden content unaccessible.  Why is this and how can I allow access 
to the hidden content?

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
   layout=absolute
   creationComplete=getCalendar()
   minWidth=1024
   verticalScrollPolicy=off horizontalScrollPolicy=on
   xmlns:mcViews=Flex.Views.*


RE: [flexcoders] Alpha not fading lable.

2007-05-09 Thread Ian Skinner
Did you embed the font?

Non embedded fonts will not respond to alphas.

The only work around is using a dissolve with the parents background
color.

Peace, Mike

 

Ok, I have now tried to embed some fonts and still can not get the alpha
property to have any effect!

 

mx:Style

@font-face {

  src:url(C:/WINDOWS/Fonts/georgia.ttf);

  fontFamily: mcGeorgia;

  flashType: true;

}

 

...

 

Label {

  fontSize: 12;

  fontFamily: mcGeorgia;

}

/mxStyle

 

mx:Label alpha=.1 

  text={draws.currentItem.R_MOB_MNAME}

 
toolTip={draws.currentItem.R_MDL_MOBLID}#13;{draws.currentItem.R_MOB_M
NAME}#13;AM: {draws.currentItem.R_RCT_NAME}

  width=100% minWidth=0 

  truncateToFit=true/


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---
Did you embed the font?

Non embedded fonts will not respond to alphas.

The only work around is using a dissolve with the parents background color.

Peace, Mike



On 5/8/07, Ian Skinner ian.skinner@ mailto:[EMAIL PROTECTED] 
bloodsource.org wrote:

Am I attempting to use the alpha property incorrectly?

mx:Label alpha=.1
text={draws.currentItem.R_MOB_MNAME}

toolTip={draws.currentItem.R_MDL_MOBLID}#13;{draws.currentItem.R_MOB_MNAME}#13;AM:
 
{draws.currentItem.R_RCT_NAME}
width=100% minWidth=0
truncateToFit=true/

I expected this to produce an almost invisible text. Nothing changed.








-- 
Teoti Graphix
http://www.teotigra http://www.teotigraphix.com phix.com

Blog - Flex2Components
http://www.flex2com http://www.flex2components.com ponents.com 

You can find more by solving the problem then by 'asking the question'. 

 
---End Message---


[flexcoders] I need a display suggestion.

2007-05-09 Thread Ian Skinner
I have been working on a calendar of events flex application as most 
anybody who monitors these flex lists probably has noticed.  This is a 
reworking of an existing [D]HTML/CFML application.  Part of the current 
display is that canceled events are displayed with a strike-through text 
decoration.

I am trying to convey this same information in the flex version.  I have 
tried using a strike-through decoration, but my attempts to use htmlText 
functionality in flex did not produce any results.  I then tried to use 
the alpha property to fade the canceled events.  After embedding a font 
so that the alpha effect would take effect, the results where less then 
desirable, it was just not clear enough.

Any suggestions on a simple but effective way to display the canceled 
events?  It should be noted that the events are color coded to indicate 
which of four areas to which they belong.  This color coded information 
needs to be maintained for canceled events and I am reluctant to try and 
create four canceled colors.  This is a quite a colorful, busy, 
information packed screen as it is.

Is there an easy way I could apply an image/graphic/effect to create 
some kind of diagonal lines mask/background of the box containing the 
canceled drive information?


RE: [flexcoders] I need a display suggestion.

2007-05-09 Thread Ian Skinner
You will soon learn not to listen to carefully to UI advice from me, but
how about an alpha'd  Cancelled diagonally across the text?

 

Well, using the word Cancelled may be a bit of a sell.  But I presume
if I could get the word to be alph'd across the text, I could also do
that with a diagonal line graphic or other options.  

 

What I need is a basic suggestion on how to do this?  How do I
conditionally add something on top | under | through a given event box
based on the status property of the event element in the array
collection.

 

 


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---

You will soon learn not to listen to carefully to UI advice from me, but how 
about an alpha'd  Cancelled diagonally across the text?

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ian 
Skinner
Sent: Wednesday, May 09, 2007 9:28 AM
To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com
Subject: [flexcoders] I need a display suggestion.



I have been working on a calendar of events flex application as most 
anybody who monitors these flex lists probably has noticed. This is a 
reworking of an existing [D]HTML/CFML application. Part of the current 
display is that canceled events are displayed with a strike-through text 
decoration.

I am trying to convey this same information in the flex version. I have 
tried using a strike-through decoration, but my attempts to use htmlText 
functionality in flex did not produce any results. I then tried to use 
the alpha property to fade the canceled events. After embedding a font 
so that the alpha effect would take effect, the results where less then 
desirable, it was just not clear enough.

Any suggestions on a simple but effective way to display the canceled 
events? It should be noted that the events are color coded to indicate 
which of four areas to which they belong. This color coded information 
needs to be maintained for canceled events and I am reluctant to try and 
create four canceled colors. This is a quite a colorful, busy, 
information packed screen as it is.

Is there an easy way I could apply an image/graphic/effect to create 
some kind of diagonal lines mask/background of the box containing the 
canceled drive information?


 
---End Message---


RE: [flexcoders] Re: I need a display suggestion.

2007-05-09 Thread Ian Skinner
I will check out that effect.


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---

Instead of changing the alpha property, what about using something like 
ColorUtil.adjustBrightness() on the color style to fade the canceled events?

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe. http://www.adobe.com/2006/mxml 
com/2006/mxml

mx:Script
![CDATA[
import mx.utils.ColorUtil;
[Bindable]
private var lblColor: uint = 0x202020;
]]
/mx:Script

mx:Label text=Normal text color={lblColor} /
mx:Label text=De-emphasized text 
color={ColorUtil.adjustBrightness(lblColor, 90)}/

/mx:Application

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

 I have been working on a calendar of events flex application as most 
 anybody who monitors these flex lists probably has noticed. This is a 
 reworking of an existing [D]HTML/CFML application. Part of the current 
 display is that canceled events are displayed with a strike-through text 
 decoration.
 
 I am trying to convey this same information in the flex version. I have 
 tried using a strike-through decoration, but my attempts to use htmlText 
 functionality in flex did not produce any results. I then tried to use 
 the alpha property to fade the canceled events. After embedding a font 
 so that the alpha effect would take effect, the results where less then 
 desirable, it was just not clear enough.
 
 Any suggestions on a simple but effective way to display the canceled 
 events? It should be noted that the events are color coded to indicate 
 which of four areas to which they belong. This color coded information 
 needs to be maintained for canceled events and I am reluctant to try and 
 create four canceled colors. This is a quite a colorful, busy, 
 information packed screen as it is.
 
 Is there an easy way I could apply an image/graphic/effect to create 
 some kind of diagonal lines mask/background of the box containing the 
 canceled drive information?



 
---End Message---


[flexcoders] Why can't I read one of these properties?

2007-05-09 Thread Ian Skinner
This is just not the kind of problem I need with my cold fogged brain!

I have this array collection [parentApplication.displayDraw.details]:

(mx.collections::ArrayCollection)#0
   filterFunction = (null)
   length = 1
   list = (mx.collections::ArrayList)#1
 length = 1
 source = (Array)#2
   [0] (Object)#3
 N_LOC_AREA = SM
 N_LOC_DISTNCE = 20
 N_LOC_LOCCD = M009
 N_LOC_NAME = Carmichael Elks
 N_LOC_TRVLTME = 30
 R_MDL_BEDCNT = 0
 R_MDL_COMMENT = Bloodmobile
 R_MDL_DNRCLUB = 2095
 R_MDL_DRAWDTE = 20070504
 R_MDL_LOCTYP = C
 R_MDL_MEMBERS = 5000
 R_MDL_MOBLID = M009
 R_MDL_RDATE = 20061009
 R_MDL_RID = ER2
 R_MDL_STATUS = C
 R_MDL_TYPE = CM
 R_MDO_PROJDRW = 25
 R_MDO_SCDDNR = 23
 R_MDO_TOTDRAW = 27
 R_MDT_DRWFTME = 930
 R_MDT_DRWTTME = 1430
 R_MLT_ABBREV = 1C
 R_MLT_DESC = 1 Coach
 R_MOB_MNAME = Carmichael Elks
 R_RCT_NAME = Rock, Elaine
 uid = 9C88C626-E151-F8C4-8988-72305151BE25
   sort = (null)
   source = (Array)#2

But when I try to output the properties, such as 'R_MDO_MNAME' 
[parentApplication.displayDraw.details.R_MDO_MNAME] I receive an error 
that it can not be found?

Error: Unknown Property: 'R_MDO_MNAME'.
at 
mx.collections::ListCollectionView/http://www.adobe.com/2006/actionscript/flash/proxy::getProperty()
at mx.binding::PropertyWatcher/::updateProperty()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.binding::Watcher/mx.binding:Watcher::wrapUpdate()
at mx.binding::PropertyWatcher/updateParent()
at mx.binding::Watcher/updateChildren()
at mx.binding::PropertyWatcher/::updateProperty()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.binding::Watcher/mx.binding:Watcher::wrapUpdate()
at mx.binding::PropertyWatcher/updateParent()
at mx.binding::Watcher/updateChildren()
at mx.binding::PropertyWatcher/::updateProperty()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.binding::Watcher/mx.binding:Watcher::wrapUpdate()
at mx.binding::PropertyWatcher/eventHandler()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at MobileCalendar/set displayDraw()
at MobileCalendar/MobileCalendar::getDraw_handler()
at MobileCalendar/___Operation5_result()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at 
mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at 
::NetConnectionMessageResponder/NetConnectionChannel.as$40:NetConnectionMessageResponder::resultHandler()
at mx.messaging::MessageResponder/result()



[flexcoders] Re: Why can't I read one of these properties?

2007-05-09 Thread Ian Skinner
Ok, Ok, I said my brain was very foggy today, didn't I?

Even if one is returning a query with only one row in it that is getting 
turned into an array collection, one must reference the index [0] of the 
one record returned to access the properties|fields of said query.

{draw.details[0].R_MOB_MNAME} works just fine.



RE: [flexcoders] Pin a single child element to the bottom of a parent VBox?

2007-05-08 Thread Ian Skinner
If this sounds like something you would want to try, I can be more
specific.

Peace, Mike

 

That does not sound all that simple for my very first, non-tutorial Flex
application and may be overkill for what I want.  But it's good to know
the concepts of what is possible when my skills advance somewhat.

 

Ian

 


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---
Hi,

As it is the Box disregaurds x and y. 

My advice as a component developer is, subclass the Box and create a 
bottomRenderer property that is IFactory. Create a method that overrides 
layoutChrome() and layout the renderer based on your required dimensions. This 
instance would be added to rawChildren. 

Another angle is if you need the box created in mxml for some reason(in the 
content children), override createComponentsFromDescriptors() remove the 
instance you have identified, put it in rawChildren and layout it out in the 
chrome. You will need to override viewMetrics() and add the height of the 
instance to the bottom property. 

If this sounds like something you would want to try, I can be more specific.

Peace, Mike



On 5/7/07, Ian Skinner  mailto:[EMAIL PROTECTED]  [EMAIL PROTECTED] wrote:

Is this possible in a standard 'vertical' layout VBox, or does one have 
to go 'absolute' layout?

I have a VBox displaying 1-N child boxes, and I want one to be pinned to 
the bottom. Is this possible or do I need to wrap an absolute layout 
around this?







-- 
Teoti Graphix
http://www.teotigra http://www.teotigraphix.com phix.com

Blog - Flex2Components
http://www.flex2com http://www.flex2components.com ponents.com 

You can find more by solving the problem then by 'asking the question'. 

 
---End Message---


RE: [flexcoders] Re: Pin a single child element to the bottom of a parent VBox?

2007-05-08 Thread Ian Skinner
Ian,

Let me ask, what are your intentions? What is the purpose of the pinned
instance?

Then I could explain why I over engineered what Doug put so simply :)

Peace, Mike

 

Sure thing Mike, Doug's solution is something I would give a try.

 

I have a series of containers, currently VBoxes, laid out in a grid
consisting of seven columns by four to six rows; a calendar.  Each of
these containers contains 0 to N (a dozen or so max) events with their
details displayed in child containers of the previous day containers.
The height of each row of day containers is determined by the day with
the most events in that row.  At the bottom of each day container,
another child container containing notes for the given day is to be
displayed.  The users want it at the bottom of the container whether
there is 0 events or 14 events.

 

Thanks Ian


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---
Ian,

Let me ask, what are your intentions? What is the purpose of the pinned 
instance?

Then I could explain why I over engineered what Doug put so simply :)

Peace, Mike



On 5/7/07, Michael Schmalle teoti.graphix@ mailto:[EMAIL PROTECTED] 
gmail.com wrote:

 One way you could do this is with a Spacer before the last child box to 
push it to the bottom. Nice 'n' easy in static mxml.

That is an easy way also if you do not have flexible children. When I was 
answering his question I was seeing in my head a layout independent of the view 
children. 

Peace, Mike



On 5/7/07, Doug Lowder  mailto:[EMAIL PROTECTED]  [EMAIL PROTECTED] wrote:

One way you could do this is with a Spacer before the last child box to 
push it to the bottom. Nice 'n' easy in static mxml.

mx:Spacer height=100% /

--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Ian 
Skinner [EMAIL PROTECTED] wrote:

 Is this possible in a standard 'vertical' layout VBox, or does one 
have 
 to go 'absolute' layout?
 
 I have a VBox displaying 1-N child boxes, and I want one to be pinned 
to 
 the bottom. Is this possible or do I need to wrap an absolute layout 
 around this?









-- 
Teoti Graphix
 http://www.teotigraphix.com http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2com http://www.flex2components.com ponents.com 

You can find more by solving the problem then by 'asking the question'. 




-- 
Teoti Graphix
http://www.teotigra http://www.teotigraphix.com phix.com

Blog - Flex2Components
 http://www.flex2components.com http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'. 

 
---End Message---


[flexcoders] Strike through text?

2007-05-08 Thread Ian Skinner
Is it possible to strike (line) through text in Flex?

I tried
mx:Style
   .cancled {text-decoration: line-through;}
/mx:Style

mx:Label
   text={draws.currentItem.R_MOB_MNAME}
   styleName=cancled/

No luck there.


[flexcoders] Total dynamicaly filtered content

2007-05-08 Thread Ian Skinner
I'm displaying lists of events, and need to provide a total of certain 
values contained in each event.  The display also contains controls to 
filter what events are shown and the totals need to honor these filters.

I have the following code that works in initial display, but does not 
update when filters are applied.  How does one dynamically bind to a 
function instead of a discrete value?

protected function staffDayTotal(day:Object):int
{
   var staffTot:int = 0;

   for (var i:int = 0; i  day.drawsQry.length; i++)
   {
 if (parentApplication.filterDraws(day.drawsQry[i]))
   staffTot = staffTot + day.drawsQry[i].R_MDL_STFCNT;
   }

   return staffTot;
}

...

mx:Label paddingLeft=0 paddingRight=0
   text={staffDayTotal(totalCells.currentItem)}
   width=20% minWidth=0 minHeight=0
   toolTip=Daily Total: Staff Count/


[flexcoders] Alpha not fading lable.

2007-05-08 Thread Ian Skinner
Am I attempting to use the alpha property incorrectly?

mx:Label alpha=.1
   text={draws.currentItem.R_MOB_MNAME}
 
toolTip={draws.currentItem.R_MDL_MOBLID}#13;{draws.currentItem.R_MOB_MNAME}#13;AM:
 
{draws.currentItem.R_RCT_NAME}
   width=100% minWidth=0
   truncateToFit=true/

I expected this to produce an almost invisible text.  Nothing changed.





RE: [flexcoders] Remove white space around list items

2007-05-07 Thread Ian Skinner
Using the rowHeight can solve your problem.

 

Ok, that is what I have been using, but it seems to do a poor job of
trimming the space around the list items.  I'm finding the list items
cropped from the bottom, instead a vertically centered in the rowHeight.
Is there anything one can easily do to improve this?


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---
Ian

What exactly you have in mind? to adopt a behavior in this list.

Here's a little approach

mx:List rowHeight=10
mx:Array
mx:StringItem 1/mx:String 
mx:StringItem 2/mx:String
mx:StringItem 3/mx:String
mx:StringItem 4/mx:String
mx:StringItem 5/mx:String
/mx:Array 
/mx:List

Using the rowHeight can solve your problem.



On 5/4/07, Ian Skinner ian.skinner@ mailto:[EMAIL PROTECTED] bloodsource.org 
 wrote:

I have a list control in a fairly small area, I would like to tighten up 
the items in the list by removing some of the whitespace around each 
item, but I'm not getting clear results with what I have tried so far.

mx:List
id=area
height=60
dataProvider={parentApplication.areas}
allowMultipleSelection=true
labelField=text
change=filterDraws()/







-- 

Igor Costa
www.igorcosta. http://www.igorcosta.org org
www.igorcosta. http://www.igorcosta.com com
skype: igorpcosta 

 
---End Message---


[flexcoders] Pin a single child element to the bottom of a parent VBox?

2007-05-07 Thread Ian Skinner
Is this possible in a standard 'vertical' layout VBox, or does one have 
to go 'absolute' layout?

I have a VBox displaying 1-N child boxes, and I want one to be pinned to 
the bottom.  Is this possible or do I need to wrap an absolute layout 
around this?


[flexcoders] filter array collection property.

2007-05-04 Thread Ian Skinner
I have a remote object call that returns an array of elements 
['daysAry'] each with several properties, including one ['drawsQry'] 
that is also an array collection.  I want my display that is built 
showing all the daysAry elements with each drawsQry element to be able 
to filter which drawsQry elements are displayed based on a combobox value.

I understand I use the filterFunction property to assign a function to 
determine which elements to show.  I am not sure how to best set this 
property on each and every drawsQry element in the daysAry array 
collection.

Is it as simple as looping over the daysAry collection in my 
remoteObject handler and assign the function to each array collection 
property.  Could I just assign a filter function to the main daysAry 
collection and inside that function loop over the drawsQry property and 
set something there.  Or is there another more elegant solution I am 
over looking.

Thank You


RE: [flexcoders] Re: filter array collection property.

2007-05-04 Thread Ian Skinner
OK, I get it. Do you always show all daysAry instances or are they
themselves filtered?

 

At this iteration, they are always displayed.  This should be a fairly
solid requirement.


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---
OK, I get it. Do you always show all daysAry instances or are they
themselves filtered?

--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Ian 
Skinner [EMAIL PROTECTED] wrote:

 You appear to have a parent child relationship (or at least a
 one-to-many) between daysAry and drawsQry. Are you rendering this
 parent-child in a tree? I can't quite figure out what you are showing
 where.
 
 
 
 Yes, each parent daysAry element has zero to many drawsQry children
 elements. I am not using a tree, but data wise the concept is similar.
 Each parent daysAry elements renders a VBox inside of which the various
 properties of a daysAry element are displayed, including a series of
 HBoxes for each drawsQry child. It is these HBox children I want
 filtered based on the values of one or another combo box.
 
 
 
 
 
 
 Confidentiality Notice: This message including any
 attachments is for the sole use of the intended
 recipient(s) and may contain confidential and privileged
 information. Any unauthorized review, use, disclosure or
 distribution is prohibited. If you are not the
 intended recipient, please contact the sender and
 delete any copies of this message.
 
 
 You appear to have a parent child relationship (or at least a
 one-to-many) between daysAry and drawsQry. Are you rendering this
 parent-child in a tree? I can't quite figure out what you are showing
 where.
 
 --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com, Ian Skinner ian.skinner@ wrote:
 
  I have a remote object call that returns an array of elements 
  ['daysAry'] each with several properties, including one ['drawsQry'] 
  that is also an array collection. I want my display that is built 
  showing all the daysAry elements with each drawsQry element to be
able 
  to filter which drawsQry elements are displayed based on a combobox
 value.
  
  I understand I use the filterFunction property to assign a
function to 
  determine which elements to show. I am not sure how to best set this 
  property on each and every drawsQry element in the daysAry array 
  collection.
  
  Is it as simple as looping over the daysAry collection in my 
  remoteObject handler and assign the function to each array collection 
  property. Could I just assign a filter function to the main daysAry 
  collection and inside that function loop over the drawsQry
property and 
  set something there. Or is there another more elegant solution I am 
  over looking.
  
  Thank You
 




 
---End Message---


[flexcoders] Remove white space around list items

2007-05-04 Thread Ian Skinner
I have a list control in a fairly small area, I would like to tighten up 
the items in the list by removing some of the whitespace around each 
item, but I'm not getting clear results with what I have tried so far.

mx:List
   id=area
   height=60
   dataProvider={parentApplication.areas}
   allowMultipleSelection=true
   labelField=text
   change=filterDraws()/


RE: [flexcoders] How to constrain child elements within a flexable parent?

2007-05-03 Thread Ian Skinner
I'm curious you're still getting scrollbar and/or no truncation of the
label.

No, I do not have a small example, because the small example works as
expected.  It's when I expand the code into my actual application that
the behavior changes slightly.  

I will say what I have is quite workable.  I am just missing that bit of
extra, nice decoration of the ellipses (...) when the text is larger
then will fit into the container.  The way it is currently working in my
application, the text is 'cropped' at the edge of the container, but it
is not 'truncated' to differentiate the addition of the ellipses and
tool tip to show the entire text on mouse over.  

I have manually added the tool tip, but I don't know how to handle the
ellipses, but I could probably live without them.


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---
On 5/2/07, Ian Skinner [EMAIL PROTECTED] wrote:

 Manish Jethani

 So this is what you want:

  ?xml version=1.0?

 …

 That is close to what I want.  It worked fine when the label itself was
 constrained as I had been testing to simplify my code.  But in my actual
 code, where the label is a child of a custom MXML VBox container it is not
 quite working.  It is no longer stretching the container as it was without
 the minWidth, but it is not truncating to the width of the container
 either.

Okay, let's talk MXML.

  mx:VBox id=outerBox width=200 height=100
mx:VBox id=innerBox width=100% height=100%
  mx:Label width=100% text=The quick brown fox jumped over the wall.
/
/mx:VBox
  /mx:VBox

This causes innerBox to be wider than 200 px. and as a result outerBox
gets a horizontal scrollbar.

  mx:VBox id=outerBox width=200 height=100
mx:VBox id=innerBox width=100% height=100%
  mx:Label width=100% minWidth=0 text=The quick brown fox
jumped over the wall.
/
/mx:VBox
  /mx:VBox

Here I've set minWidth on the label, and now the label is 200 px.,
truncated, and there is no scrollbar.

Let me know if you've managed to simplify your code down to a small
MXML example. I'm curious you're still getting scrollbar and/or no
truncation of the label.


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



---End Message---


[flexcoders] How to stop and start a wipe effect at a specific place?

2007-05-03 Thread Ian Skinner
I assume I use the xFrom, yFrom, xTo, and yTo properties.  But I'm not 
sure I understand how to use them to stop a wipe left effect at 20% the 
width of the container and start the subsequent wipe right effect at the 
same 20% position.



[flexcoders] Synchronizing data between viewStack elements

2007-05-02 Thread Ian Skinner
When a user clicks on a container built with repeated array collection 
elements in one viewStack layer, the selected element needs to be 
utilized to populate the data in a second viewStack layer and 
vice-a-versa.

Conceptually how does one do this?  Do I set some type of global 
variable|pointer or pass the objects from one view to the other somehow 
or can one view layer be aware of another's data?

I suspect this is not a detailed enough description, please feel free to 
ask questions to help me describe the specifics.



[flexcoders] Control scroll bar.

2007-05-02 Thread Ian Skinner
I have a the following MXML line:
mcView:DayBox dayData={displayDay} top=214 bottom=10 
minHeight=0 right=10 left=10 minWidth=0/

displayDay is an Array Collection that will often contain more elements 
then can be vertically displayed in the area provided by the constraints 
on the DayBox container.  When this happens I want the scroll bar to 
just be within this container, not the entire application container.

Nothing I've tried seems to have any effect, how does one do this?


RE: [flexcoders] Synchronizing data between viewStack elements

2007-05-02 Thread Ian Skinner
I'd bind both sets of elements to the same data providers and that
should keep them synchronous without any extra work on your part.

 

Could somebody expand on the specifics on how one could do this?

 

I have an main Array Collection that contains 28, 35 or 42 elements.  In
my default view, I use this as a data provider for a repeater control to
create a serious of boxes displaying the data of each element.  Each
main element also contains a property that is an array collection.  This
array is used in a sub-repeater to vertically display each element
inside the parent box.  When a user clicks on any of these sub-element
boxes I am switching to a detail view based on a HDividedBox.  On the
right I want to display details related to the element clicked on by the
user, on the left I want to display the element in the parent array
including all the elements of the sub array collection. 

 

The vice-a-versa come since users will be able to change which element
and sub-element they are seeing view as well as completely change the
main data collection with a calendar control within the details view.

 

 


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---

I'd bind both sets of elements to the same dataproviders and that should keep 
them synchronous without any extra work on your part.

 

Databinding via dataproviders has, for me anyhow, been really a good thing.   
Use it.  It's not like the bad-old VB 1.0 days when it had promise but was 
totally frustrating.  IT seems to work in Flex.

 

1.  Design visuals.
2.  Make objects that contain the data you want to display
3.  Bind the objects to the visuals via dataproviders
4.  Write some code to fill out the object and the UI will work.

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ian 
Skinner
Sent: Wednesday, May 02, 2007 11:15 AM
To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com
Subject: [flexcoders] Synchronizing data between viewStack elements

 

When a user clicks on a container built with repeated array collection 
elements in one viewStack layer, the selected element needs to be 
utilized to populate the data in a second viewStack layer and 
vice-a-versa.

Conceptually how does one do this? Do I set some type of global 
variable|pointer or pass the objects from one view to the other somehow 
or can one view layer be aware of another's data?

I suspect this is not a detailed enough description, please feel free to 
ask questions to help me describe the specifics.


 
---End Message---


RE: [flexcoders] Control scroll bar.

2007-05-02 Thread Ian Skinner
is DayBox parented by Application?  Any interim parents must also have
minWidth/Height = 0

 

No it is not.  Just to be clear of what a 'parent' is?  Is it any
container between the Application and DayBox, or just the roots my
custom containers?


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---

is DayBox parented by Application?  Any interim parents must also have 
minWidth/Height = 0

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ian 
Skinner
Sent: Wednesday, May 02, 2007 12:47 PM
To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com
Subject: [flexcoders] Control scroll bar.



I have a the following MXML line:
mcView:DayBox dayData={displayDay} top=214 bottom=10 
minHeight=0 right=10 left=10 minWidth=0/

displayDay is an Array Collection that will often contain more elements 
then can be vertically displayed in the area provided by the constraints 
on the DayBox container. When this happens I want the scroll bar to 
just be within this container, not the entire application container.

Nothing I've tried seems to have any effect, how does one do this?


 
---End Message---


[flexcoders] What can one do to format the title of a Panel?

2007-05-02 Thread Ian Skinner
Is it possible to apply style to the title of a Panel?  Size, color, font?


RE: [flexcoders] How to constrain child elements within a flexable parent?

2007-05-01 Thread Ian Skinner
Yes, I did mean HBox, there is a VBox container around the label,
because once I have the layout figured out, there will be more then just
a label in it.

 

Here is the code that did not work for me:

 

mx:Repeater id=weekRows dataProvider={weekStartsAry} 

  mx:HBox width=100%

  mx:Repeater id=dayCells dataProvider={parentApplication.daysAry}
startingIndex={weekRows.currentItem} count=7

  mx:VBox width=14.25% height=200 horizontalScrollPolicy=off

  mx:Label text={dayCells.currentItem} /

  /mx:VBox

  /mx:Repeater

  /mx:HBox

/mx:Repeater

 

The last minute before I had to leave and catch my train home, I worked
up this solution:

mx:Label width={parentDocument.width/7} text={dayCells.currentItem}
includeInLayout=false truncateToFit=true /

 

This works, but I'm a bit confused about the parentDocument, I expected
that to refer to the VBox around the label, but apparently it is
referring to some higher container|control, can somebody provide any
insight to what element this is referring?

 

 

 


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---
Did you mean HBox instead of VBox?

From your description of the layout, it should just work. Can you post
a simple example that doesn't work?

On 4/28/07, Ian Skinner ian.skinner@ mailto:ian.skinner%40bloodsource.org 
bloodsource.org wrote:
 I have a Panel that I have sized to be constrained at 10 pixels top,
 bottom, left and right so that it is flexible and based on the size of
 the browser.

 Inside this I have a VBox that I want to be 100% the width of the Panel.

 Inside this I have Labels that I want to be 20% of the width of the
 VBox, so that they are 5 of them evenly spaced across.

 The text of this label maybe longer then can be displayed within the
 above constraints, that is fine and I want it to be truncated if it can
 not fit into the width equal to ~20% of the browser.

 The trouble is that if I code all the above elements with percentages
 the labels will expand and push the parent VBox beyond the width of the
 Panel and I do not want this.

 How can I constrain the widths of the Labels (or other
 containers|controls I may want to put at this level) so that it will not
 expand, without losing the flexibility of the overall design?



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






 
---End Message---


[flexcoders] Constrain a label to a flexible length.

2007-05-01 Thread Ian Skinner
I desire to constrain the text in a label to its width, but I want that 
width to be flexible when the browser is resized.  When I use a 
percentage for the width of the label the text is not constrained, 
rather the label and any percentage width parent will expand to display 
the full text length.  Am I missing something here.

I have enclosed a small demonstration of this behavior.  If you run this 
MXML, you will notice that in row2 the labels are constrained to a width 
of 150, but of course this width does not adjust if the browser is 
resized.  In row1, the labels are set to be width of 25%, but the third 
label is not constrained, it is stretched to display the entire string 
and is no longer 1/4 of the width of the display.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
mx:Script
![CDATA[
public var dataAry:Array = [A short 
String,ABCDEF,A long string: 
The quick brown fox jumped over the lazy dog.,123456];

]]
/mx:Script
mx:ArrayCollection id=data source={dataAry}/
mx:Panel layout=vertical left=10 top=10 bottom=10 right=10 
title=Relative Sizing
mx:HBox width=100%
mx:Repeater id=row1 dataProvider={data}
mx:Label text={row1.currentItem} width=25% 
truncateToFit=true/
/mx:Repeater
/mx:HBox
mx:HBox width=100%
mx:Repeater id=row2 dataProvider={data}
mx:Label text={row2.currentItem} width=150 
truncateToFit=true/
/mx:Repeater
/mx:HBox
/mx:Panel
/mx:Application


RE: [flexcoders] How to constrain child elements within a flexable parent?

2007-05-01 Thread Ian Skinner
Thanks.  I had just asked this again, providing some code showing this.
I will now give your solution a try.


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---
On 4/30/07, Ian Skinner ian.skinner@ mailto:ian.skinner%40bloodsource.org 
bloodsource.org wrote:

 Yes, I did mean HBox, there is a VBox container around the label, because
 once I have the layout figured out, there will be more then just a label in
 it.

So this is what you want:

?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe. http://www.adobe.com/2006/mxml 
com/2006/mxml
xmlns=* layout=absolute
mx:Panel top=5 bottom=5 left=5 right=5
mx:HBox width=100% height=200
mx:Label minWidth=0 width=20% text=(1) Some very long
piece of text. /
mx:Label minWidth=0 width=20% text=(2) Some very long
piece of text. /
mx:Label minWidth=0 width=20% text=(3) Some very long
piece of text. /
mx:Label minWidth=0 width=20% text=(4) Some very long
piece of text. /
mx:Label minWidth=0 width=20% text=(5) Some very long
piece of text. /
/mx:HBox
/mx:Panel
/mx:Application

Note the setting of minWidth to 0.

percentage width/height is really a percentage of the remaining
width/height *after* all objects have got their minimum
widths/heights. In this case, the labels each want to have as much as
they need -- more than 20% of the HBox. So the parent container just
gives them how much the (say) they need, and, since after that there's
no space left, the percentage-based distribution doesn't kick in at
all.

So in such cases you need to set minWidth/minHeight explicitly. This
is not intuitive and one of the most frequent complaints about
percentage-based layouts in Flex.

 The last minute before I had to leave and catch my train home, I worked up
 this solution:

 mx:Label width={parentDocument.width/7} text={dayCells.currentItem}
 includeInLayout=false truncateToFit=true /

Why are you setting includeInLayout to false? That's not what you
want, really. Try the solution I suggested and you should be okay.

 This works, but I'm a bit confused about the parentDocument, I expected that
 to refer to the VBox around the label, but apparently it is referring to
 some higher container|control, can somebody provide any insight to what
 element this is referring?

parentDocument refers to the parent MXML document. In the application,
it refers to the application class. In an MXML component, it refers to
the root of the MXML document. The documentation for UIComponent
explains this in a better way.


 
---End Message---


RE: [flexcoders] How to constrain child elements within a flexable parent?

2007-05-01 Thread Ian Skinner
Manish Jethani

So this is what you want:

?xml version=1.0?

...

 

That is close to what I want.  It worked fine when the label itself was
constrained as I had been testing to simplify my code.  But in my actual
code, where the label is a child of a custom MXML VBox container it is
not quite working.  It is no longer stretching the container as it was
without the minWidth, but it is not truncating to the width of the
container either.  It is causing the entire container to use scroll
bars.  Using horizontalScrollPolicy=off will suppress the scroll bars,
but the labels are not truncated with the nice ellipses (...) and
automatic tool tip with the full string, they are just cutoff.

 

Close, so close.

 

 


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.

---BeginMessage---
On 4/30/07, Ian Skinner ian.skinner@ mailto:ian.skinner%40bloodsource.org 
bloodsource.org wrote:

 Yes, I did mean HBox, there is a VBox container around the label, because
 once I have the layout figured out, there will be more then just a label in
 it.

So this is what you want:

?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe. http://www.adobe.com/2006/mxml 
com/2006/mxml
xmlns=* layout=absolute
mx:Panel top=5 bottom=5 left=5 right=5
mx:HBox width=100% height=200
mx:Label minWidth=0 width=20% text=(1) Some very long
piece of text. /
mx:Label minWidth=0 width=20% text=(2) Some very long
piece of text. /
mx:Label minWidth=0 width=20% text=(3) Some very long
piece of text. /
mx:Label minWidth=0 width=20% text=(4) Some very long
piece of text. /
mx:Label minWidth=0 width=20% text=(5) Some very long
piece of text. /
/mx:HBox
/mx:Panel
/mx:Application

Note the setting of minWidth to 0.

percentage width/height is really a percentage of the remaining
width/height *after* all objects have got their minimum
widths/heights. In this case, the labels each want to have as much as
they need -- more than 20% of the HBox. So the parent container just
gives them how much the (say) they need, and, since after that there's
no space left, the percentage-based distribution doesn't kick in at
all.

So in such cases you need to set minWidth/minHeight explicitly. This
is not intuitive and one of the most frequent complaints about
percentage-based layouts in Flex.

 The last minute before I had to leave and catch my train home, I worked up
 this solution:

 mx:Label width={parentDocument.width/7} text={dayCells.currentItem}
 includeInLayout=false truncateToFit=true /

Why are you setting includeInLayout to false? That's not what you
want, really. Try the solution I suggested and you should be okay.

 This works, but I'm a bit confused about the parentDocument, I expected that
 to refer to the VBox around the label, but apparently it is referring to
 some higher container|control, can somebody provide any insight to what
 element this is referring?

parentDocument refers to the parent MXML document. In the application,
it refers to the application class. In an MXML component, it refers to
the root of the MXML document. The documentation for UIComponent
explains this in a better way.


 
---End Message---


[flexcoders] How to constrain child elements within a flexable parent?

2007-04-27 Thread Ian Skinner
I have a Panel that I have sized to be constrained at 10 pixels top, 
bottom, left and right so that it is flexible and based on the size of 
the browser.

Inside this I have a VBox that I want to be 100% the width of the Panel.

Inside this I have Labels that I want to be 20% of the width of the 
VBox, so that they are 5 of them evenly spaced across.

The text of this label maybe longer then can be displayed within the 
above constraints, that is fine and I want it to be truncated if it can 
not fit into the width equal to ~20% of the browser.

The trouble is that if I code all the above elements with percentages 
the labels will expand and push the parent VBox beyond the width of the 
Panel and I do not want this.

How can I constrain the widths of the Labels (or other 
containers|controls I may want to put at this level) so that it will not 
expand, without losing the flexibility of the overall design?



[flexcoders] Development/Debugging version of Flash Player.

2007-04-25 Thread Ian Skinner
Somewhere since I installed Flex Builder and did the basic tutorials
some time ago and now I have had my Flash Player reinstalled.
Apparently the version I have now is not the one the Flex Builder
expects.  Every time I run my developing Flex application I get the
following dialog box.

 

---

Flash Player Not Found

 

D:\Program Files\Mozilla Firefox\plugins\NPSWF32.dll

 

Flex Builder cannot locate the required version of the Flash Player.
You may need to install Flash Player 9.0 or reinstall Flex Builder.  Do
you want to try to run your application with the current version?

 

Yes|No

---

 

Now, I have installed Flash Player 9 from the Adobe website, and when I
click 'yes' the application runs correctly.  But I am getting tired of
having to click 'yes' every time I run the Flex application.  Also, I
believe my current version of Flash Player does not work in debugging
mode.  I got strange behavior the one time I tired.

 

Is there someplace I can get the Flex Builder/Debugging version of Flash
Player?  Back in the day when I was playing with the beta's of Flex it
was a separate download and install.  Now I can not find it anywhere.

 

I made one attempt at reinstalling Flex Builder, but I was greeted with
a fairly strongly worded message that this is NOT recommended.

 

Thanks
Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.



[flexcoders] A big newbie flex question.

2007-04-25 Thread Ian Skinner
Where do I put it all?

I've done many of the basic tutorials, I have a pretty good idea on how 
to create simple flex projects.  I am now trying to design a real, 
functioning project based on one of our most important, internal, web 
applications.

I find myself a little over my head.  Any help would be greatly appreciated.

I am building what is basically a calendar of events.  I'm currently 
using flash remoting to pull the event data with ColdFusion from a 
database.  I will have to main 'views' to start with.  One is a full 
calendar display of all the events for a month.  The second is a drill 
down that will display all the details of an individual event, with a 
panel on the left displaying other events on the same date.

I've built most of the pieces of this, but I'm having trouble putting it 
together in a manageable layout.  To date, I've pretty much put 
everything into a single MXML file but this is getting quite unwieldy. 
However when I try to pull pieces out into custom controls I start 
having great difficulty dealing with the data and the various view pieces.

So, one has managed to wade through all that exposition, what is a good 
way to do this?  Where do I put the data access logic.  I presume in my 
root application file.  But, if I do that, how do I access it from my 
various view pieces?  How do I connect all the dots?


RE: [flexcoders] Flex Vs Ajax

2006-12-19 Thread Ian Skinner
Can anyone tell me Flex Advantages over Ajax and Vise-Versa.

 

The one that I know of is that a full Flex implementation has the capability to 
PUSH as well as PULL data, while Ajax only has the ability to PULL.  Probably, 
most of the time, pulling is fine and can get the job done.  But when one 
really wants to push, they want to push.

-
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-

C code. C code run. Run code run. Please!
- Cynthia Dunning

 

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 


---BeginMessage---
Hi All,

Can anyone tell me Flex Advantages over Ajax and Vise-Versa.

And a comparision table, in which, The different functionality, 
components available and enviornment supported by them.

Pls do let me know.

Thanks,
SS



 
---End Message---


[flexcoders] Changing the state of a grid.

2006-08-09 Thread Ian Skinner
Is there some reason that this code would not work to change the state of a 
grid with seven columns each 14.2% wide to a grid with one column 100% wide?

When I run this, I get no errors but I also get no effect when the button to 
change the state is clicked.  Other changes specified in the state do occur but 
not these two.

...

mx:SetProperty target={dayCells} name=count value=1 /
mx:SetProperty target={drawItems} name=width value=100% /

...

mx:Repeater 
id=dayCells 
dataProvider={days} 
startingIndex={weekRows.currentItem} 
count=7

mx:GridItem 
id=drawItems
width=14.2%
borderColor=black 
borderThickness=1 
borderStyle=solid

...

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning


Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




--
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] Help with Flex Store Demo Instalation

2006-07-19 Thread Ian Skinner
I downloaded the Flex Store demo from the Adobe site and tried to install it 
locally.  It seems to be installed, but it does not read the XML data 
correctly.  When the application is launched it displays this error.

TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] 
to mx.collections.ArrayCollection.
at flexstore/::productServiceResultHandler()
at flexstore/__productService_result()
at flash.events::EventDispatcher/dispatchEvent()
at 
mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at ::DirectHTTPMessageResponder/completeHandler()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

Once I dismiss|continue this error, the application runs, but it does not 
display any of the phones.

What have I done wrong?  I am still using Beta 3 as I am trying to put together 
a demo to justify the purchase.

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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: [flex2dev] Help with Flex Store Demo Installation

2006-07-19 Thread Ian Skinner
No help anybody?

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 
---BeginMessage---
I downloaded the Flex Store demo from the Adobe site and tried to install it 
locally.  It seems to be installed, but it does not read the XML data 
correctly.  When the application is launched it displays this error.

TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] 
to mx.collections.ArrayCollection.
at flexstore/::productServiceResultHandler()
at flexstore/__productService_result()
at flash.events::EventDispatcher/dispatchEvent()
at 
mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at ::DirectHTTPMessageResponder/completeHandler()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

Once I dismiss|continue this error, the application runs, but it does not 
display any of the phones.

What have I done wrong?  I am still using Beta 3 as I am trying to put together 
a demo to justify the purchase.

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




--
You are subscribed to flex2dev. To unsubscribe, send an email to [EMAIL 
PROTECTED] with the words 'unsubscribe flex2dev' as the subject of the email.

Flex2Dev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).


---End Message---


[flexcoders] RE: [flex2dev] Help with Flex Store Demo Installation

2006-07-19 Thread Ian Skinner
Ok, I got the store example running on my local machine.  When all else fails, 
reinstall everything!

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 
---BeginMessage---
I downloaded the Flex Store demo from the Adobe site and tried to install it 
locally.  It seems to be installed, but it does not read the XML data 
correctly.  When the application is launched it displays this error.

TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] 
to mx.collections.ArrayCollection.
at flexstore/::productServiceResultHandler()
at flexstore/__productService_result()
at flash.events::EventDispatcher/dispatchEvent()
at 
mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at ::DirectHTTPMessageResponder/completeHandler()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

Once I dismiss|continue this error, the application runs, but it does not 
display any of the phones.

What have I done wrong?  I am still using Beta 3 as I am trying to put together 
a demo to justify the purchase.

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




--
You are subscribed to flex2dev. To unsubscribe, send an email to [EMAIL 
PROTECTED] with the words 'unsubscribe flex2dev' as the subject of the email.

Flex2Dev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).


---End Message---


RE: [flexcoders] Re: No date displaying revisited.

2006-07-03 Thread Ian Skinner










Well actually “Day” is a custom object defined in a Day.as file.  It is
a date property of type Date.  (I guess I should probably come up with more
unique names for all these pieces.)  It seems to work fine in other places. 
When I was calling this formatter in a tilelist with this code, it worked.



!--mx:Binding source=days destination=list.dataProvider/--



…



!--mx:TileList id=list itemRenderer=dayFormat
width=100% maxColumns=7/--



Then I could access the properties of the Day object such with data.date,
data.formatedDate and data.inMonth.

But in my current code this does not seem to be working as I expected,
but is also not throwing any errors.



Your code would work if dayData was a Date, instead of Day. If it's 
just a number, perhaps you should use a number formatter instead.

-TH





--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 | |
- Binary Soduko
| | |
-

C code. C code run. Run code run. Please!
- Cynthia Dunning






Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 


__._,_.___





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



  






__,_._,___



---BeginMessage---









Your code would work if dayData was a Date, instead of Day.  If it's 
just a number, perhaps you should use a number formatter instead.

-TH

--- In [EMAIL PROTECTED]ups.com, Ian Skinner ian.skinner@... 
wrote:

 I have modified my code calling a custom component to pass in the 
entire object rather then just the date property of the object.  
This seems to be working as I get a display of the proper number of 
objects without any error thrown.  But the display of the date of 
the object is a blank space.  
 
 Can somebody explain why passing the entire object, rather then 
one property of the object, is causing me a problem?
 
 ?xml version=1.0 encoding=utf-8?
 mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml width=100%
 	mx:Script
 		![CDATA[
 			import Day;
 
 			//Define public variables
 			[Bindable]
 			public var dayData:Day;
 		]]
 	/mx:Script
 	
 	mx:DateFormatter id=dayNum formatString=DD /
 
 	mx:HBox backgroundColor=0x002649 width=100% 
horizontalAlign=right
 		mx:Label text={dayData.toString()} 
color=white /
 		mx:HBox backgroundColor=0xAF1E2D 
horizontalAlign=center
 			mx:Label text={dayNum.format
(dayData.date)} color=white  /	
 		/mx:HBox
 	/mx:HBox
 /mx:VBox
 
 I call this custom component with the following code.
 
 mx:Repeater id=dayCells dataProvider={days} 
startingIndex={weekRows.currentItem} count=7
 	mx:GridItem width=14%
 		ian:dayFormat2 dayData={dayCells.currentItem as 
Day} /
 	/mx:GridItem
 /mx:Repeater
 
 
 ------
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
 
 -
 | 1 |   |
 -  Binary Soduko
 |   |   |
 -
  
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 
 Confidentiality Notice:  This message including any
 attachments is for the sole use of the intended
 recipient(s) and may contain confidential and privileged
 information. Any unauthorized review, use, disclosure or
 distribution is prohibited. If you are not the
 intended recipient, please contact the sender and
 delete any copies of this message.



  






---End Message---


RE: [flexcoders] Re: Constraining a grid other then with an absolute height.

2006-06-30 Thread Ian Skinner










Yeah Tim, that worked.  height={panel1.height
- 160}  Now the really cool trick would be have the 160 be based on the
height of the two controls above the grid.  But for now, this is great.  



Now I am off to the biggest chalenge  to
date.  Creating some behavious, states and maybe a transition.  Not sure where
to even start.



--
Ian
 Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 | |
- Binary Soduko
| | |
-

C code. C code run. Run code run. Please!
- Cynthia Dunning






Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 


__._,_.___





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



  






__,_._,___



---BeginMessage---













Hi Ian,

The first example was almost correct.  This will work:

mx:DataGrid height={parentPanel.height-50}/

Change parentPanel to the id of your panel.

-TH

--- In [EMAIL PROTECTED]ups.com, Ian Skinner ian.skinner@... 
wrote:

 Iâm not having much luck with this.  If I put it like you 
suggest I get an error about not allowing strings here.
 
 {parentPanel.measuredHeight}-50
 
  
 
 If I move the bracket, the error is not thrown, but my grid does 
not show up.
 
 {parentPanel.measuredHeight-50}
 
  
 
 Ian,
 
 The code should have been:
 
 mx:DataGrid height={parentPanel.measuredHeight}-50/
 
 -TH
 
  
 
  
 
 ------
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
 
 -
 | 1 |   |
 -  Binary Soduko
 |   |   |
 -
 
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 
  
 
 Confidentiality Notice:  This message including any
 attachments is for the sole use of the intended
 recipient(s) and may contain confidential and privileged
 information. Any unauthorized review, use, disclosure or
 distribution is prohibited. If you are not the
 intended recipient, please contact the sender and
 delete any copies of this message. 
 
 
 
 Ian,
 
 The code should have been:
 
 mx:DataGrid height={parentPanel.measuredHeight}-50/
 
 -TH
 
 --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com 
ups.com, Tim Hoff TimHoff@ wrote:
 
  
  Hi Ian,
  
  Still pluggin along I see. I'd be intrested to see your code 
when 
 your
  done.
  
  You could base the height of the grid on the panel container. 
 Adjust
  the height to compensate for the other controls in the panel 
above 
 the
  grid.
  
  mx:DataGrid height={myPanel.Height}-50 /
  
  -TH
  
  
  --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com 
ups.com, Ian Skinner ian.skinner@
  wrote:
  
   I have a calendar of events type application I am building as a
  proposal to redo a venerable application with flex.
  
   I have the basic main page constructed and it work well with 
 just one
  minor annoyance. The main display consists of an absolute 
 application
  containing a single Panel. This panel is constrained to 25 
pixels 
 from
  the top, bottom, left and right edges of the application 
container.
  
   The panel is also configured as an absolute layout, containing 
 an HBox
  container with navigation controls positioned at the top, a 
small 
 grid
  of the days of the week (Monday, Tuesday, ect.) below the HBox. 
 Then
  comes the meat of the display, a second grid containing all the 
 days of
  the displayed month each showing a list of events.
  
   This grid is where I am having difficulty. If I give it an 
 absolute
  height (300) it works the way I want in that a scroll bar is 
 generated
  allowing the user the scroll through all the days and events 
 inside the
  300 pixel high box in the middle of the application. But then it 
 is hard
  coded to 300 pixels high meaning that if the browser display is 
 large
  enough a portion of the panel space is blank because the grid 
can 
 not
  expand to fill it.
  
   But if I give the grid less absolute positioning, either 
 percentages
  or position it's edges (top, bottom, ect) within the panel, the 
 size is
  not enforced. The entire application is expanded to contain all 
 the days
  and events and the entire application then scrolls. Thus losing 
the
  navigation controls off the top of the browser canvas when the 
user
  scrolls down.
  
   Is there some way to constrain the grid to a certain section 
of 
 the
  panel so tha

RE: [flexcoders] Re: Constraining a grid other then with an absolute height.

2006-06-30 Thread Ian Skinner










Easy
enough.
height={panel1.height-control1.height-control2.height}. I
have a simple sample for states, with a transition here:

That is what I tried at first, but it did
not give me the results I expected.  So I did not explore it further, it’s a
minor nicety at this point.  



What I’m really interested in is figuring
out how to link my event containers to my detail state so that I can drill down
into them.  I’ll take a look at your links, thanks.





--
Ian
 Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 | |
- Binary Soduko
| | |
-

C code. C code run. Run code run. Please!
- Cynthia Dunning






Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 


__._,_.___





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



  






__,_._,___



---BeginMessage---













Easy enough. height="{panel1.height-control1.height-control2.height}". I have a simple sample for states, with a transition here:
http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=422
It's based on Cairngorm, but maybe it will give you some ideas. If you ceate a model class, you can easily control state behavior with binding. The help docs have some good examples as well.
Glad to help,Tim--- In flexcoders@yahoogroups.com, "Ian Skinner" [EMAIL PROTECTED] wrote: Yeah Tim, that worked. height="{panel1.height - 160}" Now the really cool trick would be have the 160 be based on the height of the two controls above the grid. But for now, this is great. Now I am off to the biggest chalenge to date. Creating some behavious, states and maybe a transition. Not sure where to even start.-- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA  - | 1 | | - Binary Soduko | | | -  "C code. C code run. Run code run. Please!" - Cynthia DunningConfidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. Hi Ian,  The first example was almost correct. This will work:  mx:DataGrid height="{parentPanel.height-50}"/  Change "parentPanel" to the id of your panel.  -TH  --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, "Ian Skinner" ian.skinner@  wrote:   IâEUR(tm)m not having much luck with this. If I put it like you  suggest I get an error about not allowing strings here."{parentPanel.measuredHeight}-50"If I move the bracket, the error is not thrown, but my grid does  not show up."{parentPanel.measuredHeight-50}"Ian,The code should have been:    mx:DataGrid height="{parentPanel.measuredHeight}-50"/-TH--  Ian Skinner  Web Programmer  BloodSource  www.BloodSource.org  Sacramento, CA-  | 1 | |  - Binary Soduko  | | |  -"C code. C code run. Run code run. Please!"  - Cynthia DunningConfidentiality Notice: This message including any  attachments is for the sole use of the intended  recipient(s) and may contain confidential and privileged  information. Any unauthorized review, use, disclosure or  distribution is prohibited. If you are not the  intended recipient, please contact the sender and  delete any copies of this message. Ian,The code should have been:mx:DataGrid height="{parentPanel.measuredHeight}-50"/-TH--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com  ups.com, "Tim Hoff" TimHoff@ wrote:Hi Ian,  Still pluggin along I see. I'd be intrested to see your code  when   your   done.  You could base the height of the grid on the panel container.   Adjust   the height to compensate for the other controls in the panel  above   the   grid.  mx:DataGrid height="{myPanel.Height}-50" /  -TH --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com  ups.com, "Ian Skinner" ian.skinner@   wrote:   I have a calendar o

[flexcoders] The next level

2006-06-30 Thread Ian Skinner
Ok, I am not even sure what I am looking for here, something built into the 
states functionality, some kind of behavior, some thing I am not even aware of.

I have a basic calendar of events.  I would now like to be able to drill down 
into each event.  Have the user select an event, with some kind of highlight 
effect, and select a Details button and go to my new state, where all the 
details of the event can be viewed and edited.  How do I even start with this?  
What parts of the documentation am I looking for?

Each of my events are contianed in a custom control (drawsRenderer.mxml).  
These draws elements are created in a repeater loop contained in the custom 
control, dayFormat2.mxml which is called in from the grid item control in the 
main application.  Somewhere in there I need to grab the current event object 
and pass it somehow to my details state so that I can display it there.

I would also like to add some kind of hover highlight state for each event.  
What I don't understand is how to identify one event from another to know which 
one to highlight.

Finally, I would like a third state which is for adding a new event.  It would 
be triggered by a control in each instance of dayformat2, but would need to 
modify the controls in the main application file.  How do I reference these 
controls from inside the dayformat2 custom control. 

TIA for all my newby questions.  Suggestions on where in the maunal I should 
read as well is code suggestions most welcome.

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 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/
 




RE: [flexcoders] What is the difference between versions of Flex Data Services

2006-06-30 Thread Ian Skinner










I would love to hear if there is any other similarly priced server
software technology (and I'm not talking ERP or something) on the market.

I am in awe.

Hank



But has anybody bothered to call and ask Adobe what this all means or
are we all relying on speculation and gossip of a news list and based on that
information, judging Adobe to have priced themselves out of the market.  I
suspect a company as experienced as Adobe is very much aware of the market and
what other similar technologies go for.



I would suspect the way it might work is that a large organization
would have a FDS server that many other servers talk to for the FDS tasks. 
This is supposed to be a multi-tier concept is it not?  Do you guys running large
enterprise systems put an Oracle database server on all your web servers?  We
do not. 



That is my uniformed 2cents.  And since I know our organization can get
by for a long time on the free version and maybe, eventually, someday the 6k version;
when and if we get around to using FDS in the first place.  So far what I have
played with works very well with the ColdFusion flash remoting connection,
which is a free upgrade to our ColdFusion license.  I am not too concerned
about the large version for the foreseeable future.







--
Ian
 Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 | |
- Binary Soduko
| | |
-

C code. C code run. Run code run. Please!
- Cynthia Dunning






Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 


__._,_.___





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



  






__,_._,___



---BeginMessage---













Wow. This email list is strange. I am only seeing matts email because jack responded to it which means he already got it but I havent. Strange.But anyway, now that I am fully understanding this. It sounds *insane*.
You are telling me that remoting, which used to cost $500 or $1000 per server now costs $20,000 per server.I repeat this is insane. It is more expensive than cisco routers. It is more expensive than oracle databases. I repeat. This is insane. No one other than perhaps people using the most valuable and narrow pieces of FDS will pay it. You guys are pricing yourselves out of the market, as you always do.
I would love to hear if there is any other similarly priced server software technology (and I'm not talking ERP or something) on the market.I am in awe.HankOn 6/30/06, 
Jack W. Caldwell [EMAIL PROTECTED] wrote:







Matt:

Regarding How many CPUs does your application 
interact with . . .

For example . . .

Are you saying a server where the Flex app resides is 1 CPU 
and the server
that has MySQL is a second CPU? Which means I need 2 
CPU license?

Thanks,

Jack


From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Matt 
ChotinSent: Friday, June 30, 2006 4:25 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] What is the 
difference between versions of Flex Data Services




No, the key here is the 
idea of an application. How many CPUs does your application potentially 
interact with (which often means how many CPUs behind the load-balancer, not how 
many a given app touches). In FDS Express your application can only 
potentially talk to one CPU, and you get that for free. In departmental 
100 concurrent users can interact with your potential CPUs at $6K a CPU. 
Full license is as many users as you want across all the 
CPUs.

We'll be working in an 
improved pricing page that gets into more gory details over the next week 
hopefully.

Matt





From: 
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of hank williamsSent: Friday, June 30, 2006 2:08 
PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] What is the 
difference between versions of Flex Data Services




Ther

[flexcoders] Problem with local installation of the flex store sample.

2006-06-30 Thread Ian Skinner
I've downloaded and installed the flex store sample.  I unpacked the zip file 
into a c:\jrun\servers\cfusion\cfusion-ear\cfusion-war\flexstore directory.  I 
then set up a project in my flex builder (stand alone) IDE and complied the 
application.

This created the \bin\ directory under the above directory.  Then when I run 
http://localhost:8300/flexStore/bin/flexstore.html, I get the following error.  
It looks like it is not seeing the catalog.xml file in the data folder.  The 
file is there, but the application shows no phones when I look at the Products 
tab.  What have I messed up this time?

TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] 
to mx.collections.ArrayCollection.
at flexstore/::productServiceResultHandler()
at flexstore/__productService_result()
at flash.events::EventDispatcher/dispatchEvent()
at 
mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at ::DirectHTTPMessageResponder/completeHandler()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 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] Constraining a grid other then with an absolute height.

2006-06-29 Thread Ian Skinner
I have a calendar of events type application I am building as a proposal to 
redo a venerable application with flex.

I have the basic main page constructed and it work well with just one minor 
annoyance.  The main display consists of an absolute application containing a 
single Panel.  This panel is constrained to 25 pixels from the top, bottom, 
left and right edges of the application container.

The panel is also configured as an absolute layout, containing an HBox 
container with navigation controls positioned at the top, a small grid of the 
days of the week (Monday, Tuesday, ect.) below the HBox.  Then comes the meat 
of the display, a second grid containing all the days of the displayed month 
each showing a list of events.

This grid is where I am having difficulty.  If I give it an absolute height 
(300) it works the way I want in that a scroll bar is generated allowing the 
user the scroll through all the days and events inside the 300 pixel high box 
in the middle of the application.  But then it is hard coded to 300 pixels high 
meaning that if the browser display is large enough a portion of the panel 
space is blank because the grid can not expand to fill it.

But if I give the grid less absolute positioning, either percentages or 
position it's edges (top, bottom, ect) within the panel, the size is not 
enforced.  The entire application is expanded to contain all the days and 
events and the entire application then scrolls.  Thus losing the navigation 
controls off the top of the browser canvas when the user scrolls down.

Is there some way to constrain the grid to a certain section of the panel so 
that it grows and shrinks in relationship to the panel but still not allow it 
to grow in relationship to the number and size of the rows and cells inside it?


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 





RE: [flexcoders] Re: Constraining a grid other then with an absolute height.

2006-06-29 Thread Ian Skinner










I’m not having much luck with this.  If I put it like you suggest I get
an error about not allowing strings here.

{parentPanel.measuredHeight}-50



If I move the bracket, the error is not thrown, but my grid does not
show up.

{parentPanel.measuredHeight-50}



Ian,

The code should have been:

mx:DataGrid height={parentPanel.measuredHeight}-50/

-TH





--
Ian
 Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 | |
- Binary Soduko
| | |
-

C code. C code run. Run code run. Please!
- Cynthia Dunning






Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 


__._,_.___





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



  






__,_._,___



---BeginMessage---













Ian,

The code should have been:

mx:DataGrid height={parentPanel.measuredHeight}-50/

-TH

--- In [EMAIL PROTECTED]ups.com, Tim Hoff [EMAIL PROTECTED] wrote:

 
 Hi Ian,
 
 Still pluggin along I see.  I'd be intrested to see your code when 
your
 done.
 
 You could base the height of the grid on the panel container.  
Adjust
 the height to compensate for the other controls in the panel above 
the
 grid.
 
 mx:DataGrid height={myPanel.Height}-50 /
 
 -TH
 
 
 --- In [EMAIL PROTECTED]ups.com, Ian Skinner ian.skinner@
 wrote:
 
  I have a calendar of events type application I am building as a
 proposal to redo a venerable application with flex.
 
  I have the basic main page constructed and it work well with 
just one
 minor annoyance. The main display consists of an absolute 
application
 containing a single Panel. This panel is constrained to 25 pixels 
from
 the top, bottom, left and right edges of the application container.
 
  The panel is also configured as an absolute layout, containing 
an HBox
 container with navigation controls positioned at the top, a small 
grid
 of the days of the week (Monday, Tuesday, ect.) below the HBox. 
Then
 comes the meat of the display, a second grid containing all the 
days of
 the displayed month each showing a list of events.
 
  This grid is where I am having difficulty. If I give it an 
absolute
 height (300) it works the way I want in that a scroll bar is 
generated
 allowing the user the scroll through all the days and events 
inside the
 300 pixel high box in the middle of the application. But then it 
is hard
 coded to 300 pixels high meaning that if the browser display is 
large
 enough a portion of the panel space is blank because the grid can 
not
 expand to fill it.
 
  But if I give the grid less absolute positioning, either 
percentages
 or position it's edges (top, bottom, ect) within the panel, the 
size is
 not enforced. The entire application is expanded to contain all 
the days
 and events and the entire application then scrolls. Thus losing the
 navigation controls off the top of the browser canvas when the user
 scrolls down.
 
  Is there some way to constrain the grid to a certain section of 
the
 panel so that it grows and shrinks in relationship to the panel but
 still not allow it to grow in relationship to the number and size 
of the
 rows and cells inside it?
 
 
  ----------
  Ian Skinner
  Web Programmer
  BloodSource
  www.BloodSource.org
  Sacramento, CA
 
  -
  | 1 | |
  - Binary Soduko
  | | |
  -
 
  C code. C code run. Run code run. Please!
  - Cynthia Dunning
 
  Confidentiality Notice: This message including any
  attachments is for the sole use of the intended
  recipient(s) and may contain confidential and privileged
  information. Any unauthorized review, use, disclosure or
  distribution is prohibited. If you are not the
  intended recipient, please contact the sender and
  delete any copies of this message.
 



  






---End Message---


[flexcoders] MX:AddChild error

2006-06-29 Thread Ian Skinner
Error: Cannot add a child that is already parented.
at mx.states::AddChild/apply()
at mx.core::UIComponent/::applyState()
at mx.core::UIComponent/::commitCurrentState()
at mx.core::UIComponent/setCurrentState()
at mx.core::UIComponent/set currentState()
at MobileCalendar/__button1_click()

What does this mean?  I am trying to add a VBox to a Panel in my application.  
When I click on the button to add this VBox, I get this error.  But I do not 
understand what it is trying to tell me.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 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: [flex2dev] MX:AddChild error

2006-06-29 Thread Ian Skinner
Ok the lesson here is that some of the beta documentation maybe out of date and 
show examples of AddChild with target, when it should now be relativeTo.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




--
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/
 
---BeginMessage---
Error: Cannot add a child that is already parented.
at mx.states::AddChild/apply()
at mx.core::UIComponent/::applyState()
at mx.core::UIComponent/::commitCurrentState()
at mx.core::UIComponent/setCurrentState()
at mx.core::UIComponent/set currentState()
at MobileCalendar/__button1_click()

What does this mean?  I am trying to add a VBox to a Panel in my application.  
When I click on the button to add this VBox, I get this error.  But I do not 
understand what it is trying to tell me.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




--
You are subscribed to flex2dev. To unsubscribe, send an email to [EMAIL 
PROTECTED] with the words 'unsubscribe flex2dev' as the subject of the email.

Flex2Dev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).


---End Message---


RE: [flexcoders] MX:AddChild error

2006-06-29 Thread Ian Skinner










Actually it was an error of using target
when I should have been using relativeTo.  I was working off of some outdated documentation
examples.





--
Ian
 Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 | |
- Binary Soduko
| | |
-

C code. C code run. Run code run. Please!
- Cynthia Dunning






Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 


__._,_.___





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



  






__,_._,___



---BeginMessage---























This error means the component you are
trying to add is already a child component of some container. In your example Im
sure VBox is already a child of application or any other component. You first
need to remove that child from the existing parent and then add to a new parent.



If the VBox id is V1 and Panels id is P1
then you should write



mx:RemoveChild target={V1}/

mx:AddChild target={V1} relativeTo={P1}/





-Ashish















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ian Skinner
Sent: Thursday, June 29, 2006 3:43
PM
To: flex@houseoffusion.com;
[EMAIL PROTECTED]; flexcoders@yahoogroups.com
Subject: [flexcoders] MX:AddChild
error











Error: Cannot add a child that is already parented.
at mx.states::AddChild/apply()
at mx.core::UIComponent/::applyState()
at mx.core::UIComponent/::commitCurrentState()
at mx.core::UIComponent/setCurrentState()
at mx.core::UIComponent/set currentState()
at MobileCalendar/__button1_click()

What does this mean? I am trying to add a VBox to a Panel in my application.
When I click on the button to add this VBox, I get this error. But I do not
understand what it is trying to tell me.

------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 | |
- Binary Soduko
| | |
-

C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 










  






---End Message---


RE: [flexcoders] Re: [flex2dev] Object type Coercion error.

2006-06-28 Thread Ian Skinner










Thanks, it is good to know I am not
alone.  I will give the final a chance, once I have my basic trial concept
finished.





--
Ian
 Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 | |
- Binary Soduko
| | |
-

C code. C code run. Run code run. Please!
- Cynthia Dunning






Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 


__._,_.___





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



  






__,_._,___



---BeginMessage---









Hi Ian,

I also encountered the same problem with Beta 3  it seemed like a 
bug to not be able to use a custom component inside a repeater.
I also arrived at the same solution as you i.e. not use a custom
component  use Flex components only.

May be this has been fixed in the released version, I haven't 
tried it yet.

Thanks,
Aejaz

--- In [EMAIL PROTECTED]ups.com, Douglas Knudsen
douglasknudsen@... wrote:

 I'm guessing the mapping from your cfc to the as object isn't working.
  Just a hunch.
 
 DK
 
 On 6/27/06, Ian Skinner ian.skinner@... wrote:
  //Define public variables
  [Bindable]
  public var drawData:Object;
 
  Ok, changing the data type of the drawData variable to Object
which is what a repeater currentItem returns worked!  But is this the
way I want this to work?  Just use a generic Object type not my nice
custom Object I create with the drawDay.as file and is returned from
my drawDay.cfc with the remoteObject call?
 
 
  ----------
  Ian Skinner
  Web Programmer
  BloodSource
  www.BloodSource.org
  Sacramento, CA
 
  -
  | 1 |   |
  -  Binary Soduko
  |   |   |
  -
 
  C code. C code run. Run code run. Please!
  - Cynthia Dunning
 
  Confidentiality Notice:  This message including any
  attachments is for the sole use of the intended
  recipient(s) and may contain confidential and privileged
  information. Any unauthorized review, use, disclosure or
  distribution is prohibited. If you are not the
  intended recipient, please contact the sender and
  delete any copies of this message.
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 
  -- Forwarded message --
  From: Ian Skinner ian.skinner@...
  To: [EMAIL PROTECTED], [EMAIL PROTECTED]., [EMAIL PROTECTED]ups.com
  Date: Tue, 27 Jun 2006 15:41:59 -0700
  Subject: [flex2dev] Object type Coercion error.
  I am receiving this error:
  TypeError: Error #1034: Type Coercion failed: cannot convert
[EMAIL PROTECTED] to drawDay.
 
  When I run this code:
  mx:Repeater
  id=dayCells
  dataProvider={days}
  startingIndex={weekRows.currentItem}
  count=7
ian:dayFormat2
 drawData={drawDay(dayCells.currentItem)}
  test={dayCells.currentItem.formatedDate}
/ian:dayFormat2
  /mx:Repeater
 
  How can I figure out what kind of object dayCells.currentItem is
being returned by the Repeater control?  {days} is an arrayCollection
of drawDay objects, how can I get the Repeater currentItem to be an
object of the drawDay type?
 
  ----------
  Ian Skinner
  Web Programmer
  BloodSource
  www.BloodSource.org
  Sacramento, CA
 
  -
  | 1 |   |
  -  Binary Soduko
  |   |   |
  -
 
  C code. C code run. Run code run. Please!
  - Cynthia Dunning
 
  Confidentiality Notice:  This message including any
  attachments is for the sole use of the intended
  recipient(s) and may contain confidential and privileged
  information. Any unauthorized review, use, disclosure or
  distribution is prohibited. If you are not the
  intended recipient, please contact the sender and
  delete any copies of th

RE: [flexcoders] Re: [flex2dev] Object type Coercion error.

2006-06-28 Thread Ian Skinner










it is not a problem to use repeaters and custom components AFAIK. I
will note that sometimes you need to create your own getter/setter
methods for use. I don't thinks that's the issue with Ian though, but
could be.

DK



I suspect it was my latest problem.  Because once I changed my
declaration from var drawData:drawDay to var drawData:Object I could use the
object inside my custom component.  But I suspect this is not the best
solution.  At least it lets me practice other things at the moment though.





--
Ian
 Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 | |
- Binary Soduko
| | |
-

C code. C code run. Run code run. Please!
- Cynthia Dunning






Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 


__._,_.___





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



  






__,_._,___



---BeginMessage---









it is not a problem to use repeaters and custom components AFAIK.  I
will note that sometimes you need to create your own getter/setter
methods for use.  I don't thinks that's the issue with Ian though, but
could be.

DK

On 6/28/06, aejaz_98 [EMAIL PROTECTED]com wrote:
 Hi Ian,

 I also encountered the same problem with Beta 3  it seemed like a
 bug to not be able to use a custom component inside a repeater.
 I also arrived at the same solution as you i.e. not use a custom
 component  use Flex components only.

 May be this has been fixed in the released version, I haven't
 tried it yet.

 Thanks,
 Aejaz

 --- In [EMAIL PROTECTED]ups.com, Douglas Knudsen
 douglasknudsen@... wrote:
 
  I'm guessing the mapping from your cfc to the as object isn't working.
   Just a hunch.
 
  DK
 
  On 6/27/06, Ian Skinner ian.skinner@... wrote:
   //Define public variables
   [Bindable]
   public var drawData:Object;
  
   Ok, changing the data type of the drawData variable to Object
 which is what a repeater currentItem returns worked!  But is this the
 way I want this to work?  Just use a generic Object type not my nice
 custom Object I create with the drawDay.as file and is returned from
 my drawDay.cfc with the remoteObject call?
  
  
   ------
   Ian Skinner
   Web Programmer
   BloodSource
   www.BloodSource.org
   Sacramento, CA
  
   -
   | 1 |   |
   -  Binary Soduko
   |   |   |
   -
  
   C code. C code run. Run code run. Please!
   - Cynthia Dunning
  
   Confidentiality Notice:  This message including any
   attachments is for the sole use of the intended
   recipient(s) and may contain confidential and privileged
   information. Any unauthorized review, use, disclosure or
   distribution is prohibited. If you are not the
   intended recipient, please contact the sender and
   delete any copies of this message.
  
  
  
  
  
   --
   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
  
  
  
  
  
  
  
   -- Forwarded message --
   From: Ian Skinner ian.skinner@...
   To: [EMAIL PROTECTED], [EMAIL PROTECTED]., [EMAIL PROTECTED]ups.com
   Date: Tue, 27 Jun 2006 15:41:59 -0700
   Subject: [flex2dev] Object type Coercion error.
   I am receiving this error:
   TypeError: Error #1034: Type Coercion failed: cannot convert
 [EMAIL PROTECTED] to drawDay.
  
   When I run this code:
   mx:Repeater
   id=dayCells
   dataProvider={days}
   startingIndex={weekRows.currentItem}
   count=7
 ian:dayFormat2
  drawData={drawDay(dayCells.currentItem)}
   test={dayCells.currentItem.formatedDate}
 /ian:dayFormat2
   /mx:Repeater
  
   How can I figure out what kind of object dayCells.currentItem is
 being returned by the Repeater control?  {days} is an arrayCollection
 of drawDay object

[flexcoders] Constraining a flexabile layout.

2006-06-28 Thread Ian Skinner
Hey, I have enough functionality I can now play with display aesthetics.  
Thanks for all the help I have received on these lists.

I have a grid, displaying the days and weeks of a month.  Each day cell 
contains a list of events.  The names of the events can get rather long.  I do 
not want them to stretch the grid and its parent canvas and application 
containers beyond the browser.  But I would like the display to fill the 
browser area if possible.

I have the max diminsion hard coded to be constrained to basicly 1024 by 768.  
It works and I can live with this for now, but it seems a bit constraining, ha 
ha.  I would much rather have the layout flexable to grow and retract with the 
size of the browser, but still have the containers inside the day dataItem 
cells to not be allowed to stretch beyond these flexible max diminsions.

But I do not see how this would work.

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 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] Properly binding an object to a custom component.

2006-06-27 Thread Ian Skinner
I am apparently not doing this.  What am I missing to properly bind an object 
from a repeater looping over an array of object to the custom component called 
in the repeater?

mx:Repeater 
id=dayCells 
dataProvider={days} 
startingIndex={weekRows.currentItem} 
count=7
  mx:GridItem 
  width=14% 
  borderColor=black 
  borderThickness=1 
  borderStyle=solid
mx:Label 
text={dayCells.currentItem.formatedDate} /
ian:dayFormat2 
 drawData={dayCells.currentItem as drawDay}
 test={dayCells.currentItem.formatedDate} /
  /mx:GridItem
/mx:Repeater 

{days} is an array of drawDate.as objects returned with a remoteObject.   I can 
correctly bind properties of these drawDate objects in the lable and the test 
property of the dayFormat2 customComponent.  But I can NOT correctly bind the 
entire object over to dayFormat2.  What am I missing?

My current version of dayFormat2.mxml, I have tried several alternatives for 
this file.

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100%
  mx:Script
  ![CDATA[
import drawDay;

//Define public variables
[Bindable]
public var drawData:drawDay;

[Bindable]
public var test:String;
  ]]
  /mx:Script

  mx:DateFormatter id=dayNum formatString=DD /

  mx:HBox 
  backgroundColor=0x002649 
  width=100% 
  horizontalAlign=right
mx:Label 
text={test} 
color=white /
mx:HBox 
backgroundColor=0xAF1E2D 
horizontalAlign=center
  mx:Label 
  text={dayNum.format(drawData.date)}
  color=white  / 
/mx:HBox
  /mx:HBox

  mx:Label text=foobar /
/mx:VBox

The first label bound to the test String works correctly.  The second label 
bound to the drawData drawDay object date property does not work correctly.

What is the proper way to bind this object?


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 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: [flex2dev] Properly binding an object to a custom component.

2006-06-27 Thread Ian Skinner
I have struggled with this all day and made no headway.  The only strange thing 
I get is with this line:

mx:Label text={dayCells.currentItem.toString()} /

outputs [object Object] 

Not the expected string from this drawDay.as function.

// toString()
public function toString():String
{
  return Date:  + formatedDate;
}   



--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 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/
 
---BeginMessage---
I am apparently not doing this.  What am I missing to properly bind an object 
from a repeater looping over an array of object to the custom component called 
in the repeater?

mx:Repeater 
id=dayCells 
dataProvider={days} 
startingIndex={weekRows.currentItem} 
count=7
  mx:GridItem 
  width=14% 
  borderColor=black 
  borderThickness=1 
  borderStyle=solid
mx:Label 
text={dayCells.currentItem.formatedDate} /
ian:dayFormat2 
 drawData={dayCells.currentItem as drawDay}
 test={dayCells.currentItem.formatedDate} /
  /mx:GridItem
/mx:Repeater 

{days} is an array of drawDate.as objects returned with a remoteObject.   I can 
correctly bind properties of these drawDate objects in the lable and the test 
property of the dayFormat2 customComponent.  But I can NOT correctly bind the 
entire object over to dayFormat2.  What am I missing?

My current version of dayFormat2.mxml, I have tried several alternatives for 
this file.

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100%
  mx:Script
  ![CDATA[
import drawDay;

//Define public variables
[Bindable]
public var drawData:drawDay;

[Bindable]
public var test:String;
  ]]
  /mx:Script

  mx:DateFormatter id=dayNum formatString=DD /

  mx:HBox 
  backgroundColor=0x002649 
  width=100% 
  horizontalAlign=right
mx:Label 
text={test} 
color=white /
mx:HBox 
backgroundColor=0xAF1E2D 
horizontalAlign=center
  mx:Label 
  text={dayNum.format(drawData.date)}
  color=white  / 
/mx:HBox
  /mx:HBox

  mx:Label text=foobar /
/mx:VBox

The first label bound to the test String works correctly.  The second label 
bound to the drawData drawDay object date property does not work correctly.

What is the proper way to bind this object?


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




--
You are subscribed to flex2dev. To unsubscribe, send an email to [EMAIL 
PROTECTED] with the words 'unsubscribe flex2dev' as the subject of the email.

Flex2Dev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).


---End Message---


[flexcoders] Object type Coercion error.

2006-06-27 Thread Ian Skinner
I am receiving this error:
TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] 
to drawDay.

When I run this code:
mx:Repeater 
id=dayCells 
dataProvider={days} 
startingIndex={weekRows.currentItem} 
count=7
  ian:dayFormat2 
   drawData={drawDay(dayCells.currentItem)} 
test={dayCells.currentItem.formatedDate}
  /ian:dayFormat2
/mx:Repeater

How can I figure out what kind of object dayCells.currentItem is being returned 
by the Repeater control?  {days} is an arrayCollection of drawDay objects, how 
can I get the Repeater currentItem to be an object of the drawDay type?

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 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: [flex2dev] Object type Coercion error.

2006-06-27 Thread Ian Skinner
//Define public variables
[Bindable]
public var drawData:Object;

Ok, changing the data type of the drawData variable to Object which is what a 
repeater currentItem returns worked!  But is this the way I want this to work?  
Just use a generic Object type not my nice custom Object I create with the 
drawDay.as file and is returned from my drawDay.cfc with the remoteObject call?


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 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/
 
---BeginMessage---
I am receiving this error:
TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] 
to drawDay.

When I run this code:
mx:Repeater 
id=dayCells 
dataProvider={days} 
startingIndex={weekRows.currentItem} 
count=7
  ian:dayFormat2 
   drawData={drawDay(dayCells.currentItem)} 
test={dayCells.currentItem.formatedDate}
  /ian:dayFormat2
/mx:Repeater

How can I figure out what kind of object dayCells.currentItem is being returned 
by the Repeater control?  {days} is an arrayCollection of drawDay objects, how 
can I get the Repeater currentItem to be an object of the drawDay type?

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




--
You are subscribed to flex2dev. To unsubscribe, send an email to [EMAIL 
PROTECTED] with the words 'unsubscribe flex2dev' as the subject of the email.

Flex2Dev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).


---End Message---


[flexcoders] Why can I pass a string but not a date?

2006-06-26 Thread Ian Skinner
I have this custom component that at the moment just repeats the passed in 
value.  It works if I pass in a string, but if I pass the date I actually want 
it does not work.  I can not figure out why.

dayFormat2 custom component.
mx:Script
  ![CDATA[
//Define public variables
public var dayData:String;
  ]]
/mx:Script

mx:DateFormatter id=dayNum formatString=DD /
mx:Label text={dayData} /

---

This Works.
ns1:dayFormat2 dayData=George /

This does not work.
ns1:dayFormat2 dayData={DayNum.format(dayCells.currentItem.date)} /

And neither does this.  Of course for this version I change the dayData type to 
date in the custom component.
ns1:dayFormat2 dayData={dayCells.currentItem.date} /

Just to make sure that the date exists as I expect.  If I replace the 
dayFormat2 custom comment with a label, I get the dates just fine.
mx:Label text={DayNum.format(dayCells.currentItem.date)} /


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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: Newbie layout help.

2006-06-26 Thread Ian Skinner
Ok, I have a custom control created to handle the formatting inside each of my 
gridItem.  I want to pass the day object that is the current item of the 
Repeater into this custom control.  How do I define the variable in side my 
custom control to accept on object of type Day defined in a Day.as file?  

That is what the repeater current item will pass in if it is looping over an 
array of Day objects correct?

mx:Repeater
   id=dayCells
   dataProvider={testStuff}
   startingIndex={weekRows.currentItem}
   count=7

  mx:GridItem width=14%
ns1:dayFormat2 dayData={dayCells.currentItem} /
  /mx:GridItem
/mx:Repeater

Ian Skinner wrote:
 mx:Grid
   mx:Repeater id=weekRows dataProvider={weeksAry}
 mx:GridRow
   mx:Repeater
   id=dayCells
   dataProvider={testStuff}
   startingIndex={weekRows.currentItem}
   count=7
 mx:GridItem
   mx:Label text={dayCells.currentItem} /   
 /mx:GridItem
   /mx:Repeater
 /mx:GridRow
   /mx:Repeater
 /mx:Grid


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 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/
 
---BeginMessage---
I have this working to the point that I am creating a grid of 7 columns and the 
appropriate number of rows to display all records returned from the 
remoteObject.  

As one might guess this will be an event calendar type display.  Now I just 
need to figure out how I use the dayFormat.mxml file I created when I started 
with the Phones example and use it for the content of the GridItem cells 
instead of the simple label I have in there now.  Or do I just copy that entire 
file's code into the main.mxml file fragment I've included here?

mx:Grid width=100% backgroundColor=yellow
  mx:Repeater id=weekRows dataProvider={weeksAry}
mx:GridRow width=100%
  mx:Repeater 
  id=dayCells 
  dataProvider={days} 
  startingIndex={weekRows.currentItem}
  count=7
mx:GridItem width=14% backgroundColor=blue
  mx:Label text={Day.format(dayCells.currentItem.date)} /
/mx:GridItem
  /mx:Repeater 
/mx:GridRow
  /mx:Repeater
/mx:Grid

I'd stick with using VOs over records, gives you that nice OO warm fuzzy 
feeling.  Columns fixed at 7, it seems.  So return a array of objects that are 
the parents that have the data for the grid.  Note that these have 7 instance 
variables that will populate your grid columns.  Each of these can have a array 
of other objects for your tile list.

DK

On 6/23/06, Ian Skinner [EMAIL PROTECTED] wrote:
 I have an object (coming from a ColdFusion CFC) that contains an array 
 of objects that can be 28, 35 or 42 elements long.  I would like to 
 display this in a grid 7 columns wide and 4, 5 or 6 rows as 
 appropriate.  Each of these objects will contain a record set or 
 another array of objects (I have not decided yet) that I will then 
 want to pass to a tilelist inside each grid cell.

 I can not see how to even start this kind of display.  Any help would 
 be most appreciated.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:37:2849
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/37
Subscription: http

[flexcoders] Hbox 100% width of its GridItem parent

2006-06-26 Thread Ian Skinner
Should this not create a HBox control the entire width of the GridItem it is 
inside?  Even if the HBox is a custom control mxml called from inside the 
GridItem on the main mxml file?

mx:HBox backgroundColor=blue width=100% horizontalAlign=right

It does not, it only creates a HBox that is just as wide as its content.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 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] No date displaying revisited.

2006-06-26 Thread Ian Skinner
I have modified my code calling a custom component to pass in the entire object 
rather then just the date property of the object.  This seems to be working as 
I get a display of the proper number of objects without any error thrown.  But 
the display of the date of the object is a blank space.  

Can somebody explain why passing the entire object, rather then one property of 
the object, is causing me a problem?

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100%
mx:Script
![CDATA[
import Day;

//Define public variables
[Bindable]
public var dayData:Day;
]]
/mx:Script

mx:DateFormatter id=dayNum formatString=DD /

mx:HBox backgroundColor=0x002649 width=100% 
horizontalAlign=right
mx:Label text={dayData.toString()} color=white /
mx:HBox backgroundColor=0xAF1E2D horizontalAlign=center
mx:Label text={dayNum.format(dayData.date)} 
color=white  /
/mx:HBox
/mx:HBox
/mx:VBox

I call this custom component with the following code.

mx:Repeater id=dayCells dataProvider={days} 
startingIndex={weekRows.currentItem} count=7
mx:GridItem width=14%
ian:dayFormat2 dayData={dayCells.currentItem as Day} /
/mx:GridItem
/mx:Repeater


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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] Newbie layout help.

2006-06-23 Thread Ian Skinner
I have an object (coming from a ColdFusion CFC) that contains an array of 
objects that can be 28, 35 or 42 elements long.  I would like to display this 
in a grid 7 columns wide and 4, 5 or 6 rows as appropriate.  Each of these 
objects will contain a record set or another array of objects (I have not 
decided yet) that I will then want to pass to a tilelist inside each grid cell.

I can not see how to even start this kind of display.  Any help would be most 
appreciated.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 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/
 





RE: [flexcoders] Installing Flex 2 beta 2 with flash remoting against multi-home ColdFusion.

2006-05-08 Thread Ian Skinner



Can anybody point me to documentation or explanation of just what one needs to put into the endpoint uri parameter in the flex-enterprise-services.xml file?

I think I am close to getting the phones example running. I can get the Flex frame work to run, I can see the container in the browser. 

But, the ColdFusion connector does not seem to be working. I get the following error.

Error: faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed'
 at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.messaging::MessageAgent/fault()
 at mx.messaging::Producer/fault()
 at mx.messaging::ChannelSet/::faultPendingSends()
 at mx.messaging::ChannelSet/handleChannelFault()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
 at mx.messaging.channels::NetConnectionChannel/mx.messaging.channels:NetConnectionChannel::connectFailed()
 at mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()

Seeing the messages about the AMFChannel apparently failing, I presume the problem is that I do not have the correct parameter in the flex-enterprise-services.xml file.

My system:
Win 2000 server.
IIS 5
ColdFusion MX 7.01 Multi-server configuration.

I have a website named ian-flex defined in IIS pointed to the directory C:\websites\flex. My hosts file is configured to return this directory for the host header of http://ian-flex. The Phones application is installed into this directory. The website is configured to run under the CF instance of Playground.

I have tried many combinations of values for the URI parameter for this line in the C:\JRun4\servers\playground\cfusion.ear\cfusion.war\WEB-INF\flex\flex-enterprise-services.xml file.

endpoint uri=http//ian-flex{context.root}/flex2gateway/ class=flex.messaging.endpoints.AMFEndpoint/

TIA

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 | |
- Binary Soduko
| | |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 








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



  







---BeginMessage---
I am trying to install the new Flex 2 Beta 2 application in order to test it 
out and see what I can do with combining it with Cold Fusion.  To get started, 
I am trying to get the phones example up and running.

My system:
Windows Server 2000.
CFMX 7 Enterprise in Multi-home configuration.
(Mystic Beta 2 installed, I believe)
Flex 2 Builder Beta 2 installed.

I have created an IIS virtual website on my workstation server named Flex 
with its home directory of C:\WebSites\Flex.  I connected this website to a 
ColdFusion instance called Playground.  I have confirmed that the website is 
properly running HTML and CFML.

I then installed the phones example code into the Flex home directory and 
tested the ColdFusion part. Thus I have the following directories.

C:\WebSites\Flex\Phones\CF
C:\WebSites\Flex\Phones\Flex

All this seemed to go find and dandy.  But when I open Flex Builder and try to 
define the phones project I run into trouble.  I select File - New - Flex 
Project.  I select the ColdFusion Flash Remoting Service option and Next.  

I then get the following error. Server root is invalid. Could not locate 
flex-config.xml or flex-enterprise-services.xml.  I am not sure what I am 
supposed to do here.  I have many copies of both of these files.  I have tried 
C:\JRun4\servers\playground\cfusion.ear\cfusion.war\WEB-INF\flex which I know 
contains a flex-enterprise-services.xml file.  And 
C:\JRun4\servers\playground\cfusion.ear\cfusion.war\WEB-INF\cfform which I 
know contains a flex-confi

[flexcoders] Anybody willing to field a Flex2/CF noobs architectural questions?

2006-02-24 Thread Ian Skinner
I am studying the phones example, the documentation, and all web resources I 
know of as fast as I can in order to get my 25 year old procedural head around 
these new Flex/OO concepts.

My goal is to create a working mockup of an existing application I wrote in 
CFML\HTML a few years ago.  I am having trouble finding the information I need 
to get very far in this project.  I do not yet know enough to even know where 
to begin.

My first stumbling block, how does one retrieve multiple pieces of data from 
the CFC backend?  Following the phones example and the documentation I have 
successfully retrieved a simple array and attached it to a tile list, but I 
also want a string label that describes/names the dynamic data in the array.  I 
created a function to return the string, but do not know how to connect this 
string to a label control separately from the array which is connected to a 
tile control at the same time.

I can provide copies of my files to anybody willing to review them.  I am not 
posting them here until I learn whether it is accepted or not to post larger 
code examples to this list.

Pointers to useful sections of the manual or other written resources also 
gratefully accepted.

TIA

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



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




RE: [flexcoders] coldfusion convert formatting query in flex 1.5

2006-02-22 Thread Ian Skinner
CF query -
**
cfquery name=getAllPersonnel datasource=spotDB

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101) FROM 
dbo.PersonnelNeeded WHERE (InterviewDate = '2/20/2005')
  
/cfquery

On all the DBMS that I have experience with, using a function in the select 
statement will cause the name of the column to be changed.  The easiest fix for 
this is to alias the column name.

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101) AS 
InterviewDate

This will alias the column back to its original name.  But you could put any 
legal string after that AS statement and then use that string in the flex code.




--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



--
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/
 
---BeginMessage---
I am working with a query in coldfusion where I am converting the 
date format from the database. 2 of the 3 columns show up in my 
datagrid, but the 3rd  (InterviewDate) does not display. However, it 
does if I take out the convert formatting and just query the column 
name. Is this due to FLEX not recognizing the columnName or somthing 
else?

CF query -
**
cfquery name=getAllPersonnel datasource=spotDB

SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101)
FROM dbo.PersonnelNeeded
WHERE (InterviewDate = '2/20/2005')
  
/cfquery


FLEX - 
***
mx:DataGridColumn headerText=Name columnName=PersonName 
width=225 /
mx:DataGridColumn headerText=Title columnName=PersonTitle 
width=650 wordWrap=true/
mx:DataGridColumn headerText=Date columnName=InterviewDate 
width=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



 


---End Message---


RE: [flexcoders] First time flex2 app Phones Example Failing

2006-02-21 Thread Ian Skinner
Thanks Benoit

Have you added the additional argument in Flex Builder2 to take into account 
flex-enterprise-services.xml?

I have added the following value in the Additional compiler arguments:
--services=C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\flex-enterprise-services.xml

I am running ColdFusion in a multi-home configuration on the native Jrun.  So I 
am not sure this is the correct value.  But I picked the 
flex-enterprise-services.xml that was in the cfusion jrun server.  This is the 
Cf/jrun instance associated with the default website configured in my IIS 
manager.

Have you verified the port number in flex-enterprise-services.xml?
I have tried.  I looked in the flex-enterprise-services.xml file, but I do not 
see a port number, I am not sure which element is supposed to have one and 
whether I should be seing one or not.  I access my defalut website with 
http://localhost without a portnumber.  I've tested the CF code with the 
following url: http://localhost/CFIDE/samples/Phones/CF/test.cfm.

So what port number should I be checking in the flex-enterprise-services.xml?

Thanks
 
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



--
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/
 
---BeginMessage---
You might checked two things.
Have you verified the port number in flex-enterprise-services.xml?
Have you added the additional argument in Flex Builder2 to take into account
flex-enterprise-services.xml?

Benoit Hediard 

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de ianskinnerbs
Envoyé : lundi 20 février 2006 20:42
À : flexcoders@yahoogroups.com
Objet : [flexcoders] First time flex2 app Phones Example Failing

I followed the instructions for the phone sample flex2 app found here:
http://labs.macromedia.com/wiki/index.php/ColdFusion/Flex_Connectivity:Sampl
es:Phone_Selector.

I have confirmed that the CF side is apparently working correctly, but when
I try to run the flex app, I just get an empty container and an endless
loading clock cursor.  What am I missing?  I don't see any errors either
during compilation or runtime.  Just an endless blank app.

TIA
Ian Skinner





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



 


---End Message---


RE: [flexcoders] First time flex2 app Phones Example Failing [SOLVED]

2006-02-21 Thread Ian Skinner
As well as all the other suggestions, I had to add all the MXML files to the 
flex project manually.  Once that was done all was well.

From thinman's post to Ben Forta's blog: 
http://www.forta.com/blog/index.cfm/2006/2/1/ColdFusion-Flex-2-Sample-Application

Needed to add the all 3 mxml files into the Flex Applications panel of the 
Properties for the Phones app:

Right-click the app
Select Properties
Select Flex Applications
Click the 'Add..' button
Select ProductDetails.mxml and Thumb.mxml


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



--
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/
 
---BeginMessage---
You might checked two things.
Have you verified the port number in flex-enterprise-services.xml?
Have you added the additional argument in Flex Builder2 to take into account
flex-enterprise-services.xml?

Benoit Hediard 

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de ianskinnerbs
Envoyé : lundi 20 février 2006 20:42
À : flexcoders@yahoogroups.com
Objet : [flexcoders] First time flex2 app Phones Example Failing

I followed the instructions for the phone sample flex2 app found here:
http://labs.macromedia.com/wiki/index.php/ColdFusion/Flex_Connectivity:Sampl
es:Phone_Selector.

I have confirmed that the CF side is apparently working correctly, but when
I try to run the flex app, I just get an empty container and an endless
loading clock cursor.  What am I missing?  I don't see any errors either
during compilation or runtime.  Just an endless blank app.

TIA
Ian Skinner





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



 


---End Message---


RE: [flexcoders] First time flex2 app Phones Example Failing

2006-02-21 Thread Ian Skinner
I've never tried on a multi-home config, but everything looks fine.

Thanks, a solution was posted to Ben Forta's and now the CF/Flex connector 
forum at labs.adobe.com.  I had to add all the mxml files to the project.

From thinman's post to Ben Forta's blog: 
http://www.forta.com/blog/index.cfm/2006/2/1/ColdFusion-Flex-2-Sample-Application

Needed to add the all 3 mxml files into the Flex Applications panel of the 
Properties for the Phones app:

Right-click the app
Select Properties
Select Flex Applications
Click the 'Add..' button
Select ProductDetails.mxml and Thumb.mxml


After following this, I got the sample app running.  Now I'm trying to learn 
from it to create my own Hello World CF/Flex app.  It would be nice if there 
was a few | a lot more comments in the files on what each piece is doing and 
how one would modify it to use it for one's own purpose.

I'm trying to start with a simple CFC that sends a simple string, then work up 
to arrays, structures and queries.  But I am very unclear on what I am 
modifying and why.  I foresee a lot of frustrating trial and error ahead of me.

Thanks for you help Benoit

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



--
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/
 
---BeginMessage---
I've never tried on a multi-home config, but everything looks fine.

You change the port number in your endpoint URL in
flex-enterprise-services.xml:
Ex. : endpoint uri=http://localhost:8500/flex2gateway/; 
(you must restart your service)

In your case, it should be (default value, I think):
endpoint uri=http://localhost{context.root}/flex2gateway/; 

What you can do : check the cfusion-out.log in the Jrun logs.
If the flex2gateway is correctly called, it will log all the messages in it
with [Flex] flag.
But I suspect that your flex2gateway is never called...

Benoit Hediard

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de Ian Skinner
Envoyé : mardi 21 février 2006 17:50
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] First time flex2 app Phones Example Failing

Thanks Benoit

Have you added the additional argument in Flex Builder2 to take into account
flex-enterprise-services.xml?

I have added the following value in the Additional compiler arguments:
--services=C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\fle
x-enterprise-services.xml

I am running ColdFusion in a multi-home configuration on the native Jrun.
So I am not sure this is the correct value.  But I picked the
flex-enterprise-services.xml that was in the cfusion jrun server.  This is
the Cf/jrun instance associated with the default website configured in my
IIS manager.

Have you verified the port number in flex-enterprise-services.xml?
I have tried.  I looked in the flex-enterprise-services.xml file, but I do
not see a port number, I am not sure which element is supposed to have one
and whether I should be seing one or not.  I access my defalut website with
http://localhost without a portnumber.  I've tested the CF code with the
following url: http://localhost/CFIDE/samples/Phones/CF/test.cfm.

So what port number should I be checking in the
flex-enterprise-services.xml?

Thanks
 
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning



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



 



---End Message---