Re: SPAM-LOW: [flexcoders] Flex TFTS lesson 8

2007-02-06 Thread Roger Ross
I'll give it a try thanks...

--- In flexcoders@yahoogroups.com, CF <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> >  Compiled mxml files clean up to the point where you display the
> >  horizontal list bar with categories and images.
> >  Problem is, NO images no text display just a white area where images
> >  and text should display
> >  
> >  Checked the code over and over, matches lesson code.
> >  Anyone have this problem when they did this lesson???
> 
> 
> not in this lesson, but before. Make some minor changes, maybe
> something like inserting a comment, save the file in Flex Builder and
> re-run it. Worked for me.
> 
> HTH,
> 
> Chris
>




[flexcoders] Flex TFTS lesson 8

2007-02-06 Thread Roger Ross
Hello,

Compiled mxml files clean up to the point where you display the
horizontal list bar with categories and images.
Problem is, NO images no text display just a white area where images
and text should display

Checked the code over and over, matches lesson code.
Anyone have this problem when they did this lesson???

Thanks,

Roger



[flexcoders] Re: form item and text input control alignment

2007-02-01 Thread Roger Ross
Looks like I figured it out... I replaced the VBox with a form and it
lines up they way I expect it to now.

Roger

--- In flexcoders@yahoogroups.com, "Roger Ross" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> When you use a text input control it adds the form item as well for
> the field label, this is good. 
> 
> When you place the form item and text input control in a VBox how come
> the text input controls do not line up to the left and the form items
> line up to the right.
> 
> They seem to set their alignment on the length of text in the label of
> the form item.
> 
> Any Idea's???
> 
> Thanks,
> 
> Roger
>




[flexcoders] form item and text input control alignment

2007-02-01 Thread Roger Ross
Hello,

When you use a text input control it adds the form item as well for
the field label, this is good. 

When you place the form item and text input control in a VBox how come
the text input controls do not line up to the left and the form items
line up to the right.

They seem to set their alignment on the length of text in the label of
the form item.

Any Idea's???

Thanks,

Roger



[flexcoders] Re: date formating

2007-01-31 Thread Roger Ross
Thank you Brian, that worked.

starting to understand this stuff a litte more each day...


--- In flexcoders@yahoogroups.com, "Brian Holmes" <[EMAIL PROTECTED]> wrote:
>
> Roger,
>  Use the following function.
> 
> 
> 
>   public function
> gridDateFormatter(item:Object,column:DataGridColumn):String 
>   {   
>   var f:DateFormatter = new DateFormatter();
>   f.formatString = "DD-MMM-"; 
>   return f.format(item[column.dataField]);
>   } 
> 
> 
> 
> Then on your grid column set the labelfucntion like:
> 
>  labelFunction="gridDateFormatter" />
> 
> 
> 
> Change the format string to match the format you need.
> 
> 
> B.
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Roger Ross
> Sent: Wednesday, January 31, 2007 2:30 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] date formating
> 
> Hello,
> 
> I have a date field in a grid.
> what is the correct syntax to get it to display MM/DD/ right now it
> displays as Wed Jan 30 00:00:00 GMT
> 
> I have  as my date
> format and I added the syntax to the datafield
> dataField="{df.format(entrydate)}"
> 
> But this just gives me an error.
> 
> I found how to do it on a label but I need it formated in a grid
> column..
> 
> Thank you 
> 
> Roger
> 
> 
> 
> 
> 
> --
> 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
> 
> 
> 
> 
> 
> ***
> The information in this e-mail is confidential and intended solely
for the individual or entity to whom it is addressed.  If you have
received this e-mail in error please notify the sender by return
e-mail delete this e-mail and refrain from any disclosure or action
based on the information.
> ***
>




[flexcoders] date formating

2007-01-31 Thread Roger Ross
Hello,

I have a date field in a grid.
what is the correct syntax to get it to display MM/DD/
right now it displays as Wed Jan 30 00:00:00 GMT

I have 
as my date format and I added the syntax to the datafield
dataField="{df.format(entrydate)}"

But this just gives me an error.

I found how to do it on a label but I need it formated in a grid column..

Thank you 

Roger





[flexcoders] text input controls

2007-01-31 Thread Roger Ross
Hello,

New to Flex and still getting use to everything. 

When using a text input control why does the width of the text input
field change as you scroll through records displayed in a grid control?
Also can you right justify the label on the form item that is created
when you add a text input control to the form?

Thank You,

Roger



[flexcoders] Syntax Error: A string literal must be terminated before the line break.

2007-01-26 Thread Roger Ross
Hello,

What does this error mean?
I have compared my code to the code in the tutorial files and it looks
the same.

Syntax Error: A string literal must be terminated before the line break.

I get the error for this code as well;





 other code


any idea's...

Thanks

Roger



[flexcoders] Re: Cannot access a property or method of a null object reference

2007-01-25 Thread Roger Ross
THANK YOU..
its always nice to have another pair of eyes when dealing with this
syntax!!!

My current dev. tool is nothing like this...

Roger



--- In flexcoders@yahoogroups.com, Doug McCune <[EMAIL PROTECTED]> wrote:
>
> Is catalog misspelled?
> 
> categories = event.result.catelog.category;
> 
> If there's no catelog child of the XML root, then trying to access a 
> child of that node will probably throw the error.
> 
> Doug
> 
> Roger Ross wrote:
> >
> > Hello,
> >
> > Working my way throught the "Training From the Source" turorial and
> > ran into this error message.
> >
> > Not sure why I am getting it. I compared my code to the completed code
> > for the lesson and it looks the same with no problems when I
compile it.
> >
> > TypeError: Error #1009: Cannot access a property or method of a null
> > object reference.
> > at Dashboard/::catHandler()
> > at Dashboard/__catRPC_result()
> > at
> >
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at
> >
mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent

> > <http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent>()
> > at
> >
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler

> > <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/flash.events:EventDispatcher::dispatchEventFunction()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at flash.net::URLLoader/flash.net:URLLoader::onComplete()
> >
> > Here is a copy of the code that it has me write with the comboBox that
> > is to receive the data:
> >
> >
> > 
> > http://www.adobe.com/2006/mxml 
> > <http://www.adobe.com/2006/mxml>"
> > layout="horizontal"
> > creationComplete="catRPC.send()">
> >
> > 
> > 
> > 
> >
> >  > url="http://www.flexgrocer.com/category.xml 
> > <http://www.flexgrocer.com/category.xml>"
> > result="catHandler(event)"/>
> >
> >  > dataProvider="{categories}"
> > labelField="name"/>
> >
> > Any Idea's...
> >
> > Thanks,
> >
> > Roger
> >
> >
>




[flexcoders] Cannot access a property or method of a null object reference

2007-01-25 Thread Roger Ross
Hello,

Working my way throught the "Training From the Source" turorial and
ran into this error message.

Not sure why I am getting it. I compared my code to the completed code
for the lesson and it looks the same with no problems when I compile it.


TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at Dashboard/::catHandler()
at Dashboard/__catRPC_result()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
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/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()


Here is a copy of the code that it has me write with the comboBox that
is to receive the data:
 


http://www.adobe.com/2006/mxml";
layout="horizontal"
creationComplete="catRPC.send()">





http://www.flexgrocer.com/category.xml";
result="catHandler(event)"/>





Any Idea's…

Thanks,

Roger





[flexcoders] Re: binding a data grid column to a text input control

2007-01-19 Thread Roger Ross
I got it... I had to ad the i{d of the data grid to expression.
{MyLtGrid.selectedItem.Company} 
then it worked...




--- In flexcoders@yahoogroups.com, "Roger Ross" <[EMAIL PROTECTED]> wrote:
>
> I remember the dg.selectedItem.comlumnname now, but I can't remember
> wher it needs to go.
> When I put it on the line with the text input field as
> text="{dg.selectedItem.company}" I get an error, so I don't think that
> is right. I think it goes in a  block but I am not sure of
> the syntax for it.
> 
> The column name in the data grid is Company and I want to display that
> value in a text input field that is also on the same form...
> 
> Still very new to Flex and trying to understand all of the syntax that
> goes with it!!!
> 
> Thanks,
> 
> Roger
> 
> 
> --- In flexcoders@yahoogroups.com, "James T. Riffe"  wrote:
> >
> > You will need to bind it to the dg.selectedItem.
> > 
> >  
> > 
> >   _  
> > 
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of Roger Ross
> > Sent: Friday, January 19, 2007 10:07 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] binding a data grid column to a text input
control
> > 
> >  
> > 
> > Hello,
> > 
> > Flex Newbie!
> > 
> > I found an example of data binding from text input to a label, but I
> > need to bind the data from a column in a data grid to a text input
> > control!
> > 
> > Any examples?
> > 
> > Thank you,
> > 
> > Roger
> >
>




[flexcoders] Re: binding a data grid column to a text input control

2007-01-19 Thread Roger Ross
I remember the dg.selectedItem.comlumnname now, but I can't remember
wher it needs to go.
When I put it on the line with the text input field as
text="{dg.selectedItem.company}" I get an error, so I don't think that
is right. I think it goes in a  block but I am not sure of
the syntax for it.

The column name in the data grid is Company and I want to display that
value in a text input field that is also on the same form...

Still very new to Flex and trying to understand all of the syntax that
goes with it!!!

Thanks,

Roger


--- In flexcoders@yahoogroups.com, "James T. Riffe" <[EMAIL PROTECTED]> wrote:
>
> You will need to bind it to the dg.selectedItem.
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Roger Ross
> Sent: Friday, January 19, 2007 10:07 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] binding a data grid column to a text input control
> 
>  
> 
> Hello,
> 
> Flex Newbie!
> 
> I found an example of data binding from text input to a label, but I
> need to bind the data from a column in a data grid to a text input
> control!
> 
> Any examples?
> 
> Thank you,
> 
> Roger
>




[flexcoders] binding a data grid column to a text input control

2007-01-19 Thread Roger Ross
Hello,

Flex Newbie!

I found an example of data binding from text input to a label, but I
need to bind the data from a column in a data grid to a text input
control!

Any examples?

Thank you,

Roger 





[flexcoders] Re: Setting up new project that will us CF to access data

2007-01-19 Thread Roger Ross
Yes,I am using the built in CF server.
I think leaving the url blank when setting up my the project might be
causing the problem!

Yes I have complied my project.

Let me add the path to the url and see what happens.
I notices that they did this in the dvd Beyond the basics, but I was
following an other example of an app that currently up and running and
I did not see a path in the url??? Still new to all of this, but
understanding it once I get a good explanation.

Thank you for the help,

Roger






--- In flexcoders@yahoogroups.com, "Clint Tredway" <[EMAIL PROTECTED]> wrote:
>
> There are few things to check,
> are you using the built in web server with CF or another webserver?
If you
> are using the built in server, make sure you are putting the port
number in
> the URL..
> 
> is the html file in the bin directory?
> Have you compiled the flex project yet?
> 
> If you are going to use remoting, then select the remoting project,
> otherwise select the Basic project.
> 
> We will help you get going... :)
> 
> On 1/19/07, Roger Ross <[EMAIL PROTECTED]> wrote:
> >
> >   Hello,
> > Newbie to Flex...
> > I want to create a test application in Flex that will get its data
> > using CF via an ODBC connection to the data source. I have already set
> > this up in CF and the connection has been verified by CF.
> >
> > My question is, in Flex when creating the new project should I select
> > Basic or Cold Fusion Flash remoting service? I think I should select
> > Cold Fusion, but When I do that and try to open the newly created
> > main.mxml page(project name is LeadTrack)I get a JRun Servlet Error in
> > the browser and the page just displays the path of my project.
> >
> > 404 /LeadTrack/bin/LeadTrack.html
> > /LeadTrack/bin/LeadTrack.html
> >
> > Any idea's
> >
> > Thank You,
> >
> > Roger
> >
> >  
> >
> 
> 
> 
> -- 
> http://indeegrumpee.spaces.live.com/
>




[flexcoders] Setting up new project that will us CF to access data

2007-01-19 Thread Roger Ross
Hello,
Newbie to Flex...
I want to create a test application in Flex that will get its data
using CF via an ODBC connection to the data source. I have already set
this up in CF and the connection has been verified by CF.

My question is, in Flex when creating the new project should I select
Basic or Cold Fusion Flash remoting service? I think I should select
Cold Fusion, but When I do that and try to open the newly created
main.mxml page(project name is LeadTrack)I get a JRun Servlet Error in
the browser and the page just displays the path of my project.

404 /LeadTrack/bin/LeadTrack.html
/LeadTrack/bin/LeadTrack.html

Any idea's

Thank You,

Roger