[flexcoders] Multiple developer environment setup with subversion and all offsite

2009-02-28 Thread Link Mckinney

We are currently looking to start using subversion for our flex
application and other web applications and would like to get some
feedback on how you would set our environment up.
We all work from home, and we have a dedicated production/development
server. It is currently only me who is developing all the web and flex
applications, but my boss has told me we are getting way too busy now
for just one developer.  I have a local development environment that I
develop and test locally, then when I am finished with my tasks given
and want my boss to finally look and test my work, I upload it to the
test server. When the test is completed, we then promote to the
production server.

My problem lies at,

1). if we go to multiple developers, then they would also have to set up
their local environment like mine and keep our code in their
environment.

2). If we created the remote developer server then you are really
depending on your internet connection. if that goes then you cannot
develop. But on the flip side, all of our code would rest on our
development server and not in their environment.

  We currently use Flex Builder 3 and Dreamweaver.

if we choose option 1 then this would be the developers requirements

Flex Builder 3 with Tasktop connector for bugzilla and subversive for
subversion
ColdFusion 8.1 developer edition
MYSQL 5.1 with schema that we provide
Apache 2.2 if developer is on mulitple projects with us.

I would like to get some input on how you would solve this problem.

Thanks Link



[flexcoders] Re: Need a Flex 3, using local cfc server, tutorial

2009-02-28 Thread Link Mckinney
Hey guys, All we do mostly is develop in Flex with ColdFusion and 
using MYSQL, so I created a blog to pretty much connect those three

http://blog.tygate.com/ 



--- In flexcoders@yahoogroups.com, Brad Bueche b...@... wrote:

 Tariq and Valdhor..I just NEED to say thanks AGAIN.
  
 Tariq you had an hello world article by the flex doc team on your 
site
 for flex 2 that broke the ice for me and enabled me to understand 
the
 directory layout that I needed.  Valdhor, that flexcf.com site
 absolutely rocks!  I went from not knowing cold fusion at all this
 afternoon to being able to pull a data set down from oracle into a 
grid
 this evening.  I'll tackle the advanced data grid tomorrow.
  
 HIGHLY recomended!
  
 brad
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:flexcod...@yahoogroups.com] On
 Behalf Of Brad Bueche
 Sent: Tuesday, January 13, 2009 12:07 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Need a Flex 3, using local cfc server,
 tutorial
 
 
 
 
 
 Thanks Tariq and Valdhor.
  
 Yes, actually if there was some detailed documentation on what the
 wizard was doing that would be quite helpful I guess.  And, I think 
I
 spoke to rashly about the demos, they ARE impressive and the quick 
CRUD
 stuff seemed to be very beneficial to the Ruby on Rails 
phenomenon.   I
 think if the documentation explained what the demo's were doing (in
 detail) and explained how the resulting code could be changed, then
 they'd be much more useful to people just starting out with remoting
 (like me).
  
 I'll look at the simple demo/applications (and hope they have good
 explanations!).  Once  I understand how to bring a few rows back and
 format them, then I'll be good to go.
  
 brad
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:flexcod...@yahoogroups.com] On
 Behalf Of Tariq Ahmed
 Sent: Tuesday, January 13, 2009 11:31 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Need a Flex 3, using local cfc server,
 tutorial
 
 
 
 Hi Brad.
 
 You're probably better off just making things from scratch - or 
using
 simple demos/sample applications like you mentioned.
 
 I've collected various CF+Flex articles here:
 http://www.cflex.
 http://www.cflex.net/showfiledetails.cfm?
ChannelID=1Object=Fileobject
 ID=618 net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=618
 
 And Dan Vegas recently posted an 11 part series on CF+Flex.
 http://www.danvega. http://www.danvega.org/blog/ org/blog/
 
 
 
 
 Brad Bueche wrote: 
 
 
 
 
 Ok, finally getting back into flex (TO STAY) after almost a year.  I
 even purchased Flex 3 professional with my own money!  And I'm 
going to
 make another attempt to get flex apps into my area of the company.
  
 I tried the wizard but wizards are a Catch-22:
  
 If you need the wizard to create your code, you'll get something 
that is
 essentially nothing more than a demo and you wont understand how it 
did
 what it did or where to go from there.  If you understand what the
 wizard does and it could actually use a wizard to speed things up, 
you
 dont need it because you'd rather do it your own way.  (They really 
seem
 to only be useful for impressing people who dont actually code).
  
 The tutorials that I have found so far assume you are using a J2EE
 implementation..or they are for Flex 2.  So I need one for Flex 
3
 that walks through using the local cf server.  I have cf hooked up 
to
 the db's (data sources work).  And the wizard demo app works.  
However,
 I dont need what the wizard does and I dont understand how its 
laying
 out all the files.  I need an explanation of that so that.  If 
anybody
 knows of some good walk throughs or tutorials on this pleas let me 
know.
 
 
 
 -- 
 
 Tariq Ahmed :: tariq [(at)] cflex.net
 Manager, Product Development
 Amcom Technology :: www.amcomtech. http://www.amcomtech.net net
 http://www.adobe.com/communities/experts/members/tariq_ahmed.html
 Adobe Community Expert  http://www.cflex.net Community Adobe 
Flex
 http://www.dopejam.com Tariq's Home Page





[flexcoders] local date is wrong

2009-01-20 Thread Link Mckinney
I am just simply trying to set a simple date

var longdate:Date = new Date(2030,12,30);

this suppose to set longdate to 2030-12-30 but insead it creates

Thu Jan 30 00:00:00 GMT-500 2031

Why can't I just create a simple date based on what values I give it?wtf

thanks Link



[flexcoders] Re: local date is wrong

2009-01-20 Thread Link Mckinney
--- In flexcoders@yahoogroups.com, Link Mckinney lmckin...@... 
wrote:

 I am just simply trying to set a simple date
 
 var longdate:Date = new Date(2030,12,30);
 
 this suppose to set longdate to 2030-12-30 but insead it creates
 
 Thu Jan 30 00:00:00 GMT-500 2031
 
 Why can't I just create a simple date based on what values I give it?
wtf
 
 thanks Link



Never mind, I see my screw up month is zero based, so its 0 to 11, 11  
being december. which is kicking my year over too



[flexcoders] Modules, CFC and the second load

2009-01-05 Thread Link Mckinney
I have a module that I call a remote Object to a cfc. the cfc is a 
basic CRUD built with the CF wizard in Flex 3 Builder. I have 
bindable data variables in the main application that I use in this 
module by using the parentApplication.myVariable. now my 
application saves the form the first time it is loaded and will save 
it as many times as you want to, but if you close the module and 
reload it. it gives me this error when I try to save to the db again.

[RPC Fault faultString=Unable to invoke CFC - Variable OBJ is 
undefined. faultCode=Server.Processing faultDetail=]
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::fa
ultHandler()[C:\autobuild\3.2.0
\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:220
at mx.rpc::Responder/fault()[C:\autobuild\3.2.0
\frameworks\projects\rpc\src\mx\rpc\Responder.as:53]
at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0
\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]
at NetConnectionMessageResponder/statusHandler()[C:\autobuild\3.2.0
\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChanne
l.as:569]
at mx.messaging::MessageResponder/status()[C:\autobuild\3.2.0
\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:222]


Now I have debugged it to the point that is is sending out the obj 
that I create and it IS there.

Is there something that I suppose to do like flip a switch such as 
creationPolicy=all or somthing.

Thanks guys,

Link




[flexcoders] unsubscribe is not working

2008-09-10 Thread Link Mckinney
I don't know what to do know, I have been trying to unsubscribe to the
fucking group for the past 2-3 days with no luck! I am getting a little
impatient now. Don't get me wrong, I love this group but I do not want to
use this email address anymore with this group. I am now wanting to use a
feedreader instead of outlook to read these messages considering it is
overloading my email. Can anyone help me at all? Who is the moderator?
Should I contact yahoo for this or what?

 

Thanks Link



Re: Re: [flexcoders] Web-based Sync data - Flex/Air VS.NET

2008-08-15 Thread Link Mckinney

Okay, first off I choose what gets the job done.

that said -- you should know I am a huge fan of FLEX, especially Flex 3 and
AS 3.0
My choice is ColdFusion and Flex Combination. My choice
But given what Guy said, I can certainly see his point, smokey!

Scott, you have not much claim in the RIA world with SilverLight compared to
Flex 3, I have seen what it can do and cannot do. Now give if Microsoft
stays with it, then eventually you can say some good stuff, maybe.

I would try my best to stay in the Flex world

P.S Scott, I am pretty sure that was a statement that guy madelol


Link




Scott Barnes wrote:
 
 Is this a question or statement? :)
 
 All the best.
 
 On Thu, Aug 14, 2008 at 10:56 PM, Guy Morton [EMAIL PROTECTED] wrote:
 
   Oh and the way MS has stiffed SVG as a standard by refusing to support
 it in IE definitely pushes them into the category of evil. They even
 embraced and extended the acronym when they named their competing
 product
 SilVerliGht.
 I choose Flex because I don't want to live in a world dominated by MS
 technology, given their prior behaviour towards competitors and
 standards.
 It's the same reason I encourage the use of open source software whenever
 I
 can.  YMMV, but I'd urge all developers to consider the ethics behind the
 tech they choose to support.


  On 15/08/2008, at 2:56 PM, Scott Barnes wrote:



- Cross Platform
   - Silverlight is x-platform.
- Much more traction and an established user base.
   - Depends on which brochure you want to read (Adobe/Microsoft), but
   we've got approx 20,000 folks registered on Silverlight.NET forums
 and
   there's approx 9,000+ here on this forum. Furthermore, Adobe's
 entire
   development population is measured in thousands, where as .NET
 folks are
   measured in millions. Given the industry is in what we'd call an
 upgrade
   phase, it will be interesting to see how this pans out in the near
 future
   and how the desktop vs web converge. We've not tapped into how many
 folks
   are using the Dynamic Language Runtime and given projects like the
 PHP
   community, may also swell the numbers further etc..(
   http://www.infoq.com/news/2008/01/Silverlight-PHP) we have more
   plans to grow Silverlight beyond the .NET way of life, its about
 standards
   and open source with us as well :) but hey, which brochure you want
 to
   believe in is up to you.. no harm no foul.
- Standard (client-side) libraries are allegedly a lot broader in Flex
than Silverlight.
   - Again, depends on who's brochure you want to believe. We've got
   more third party vendors producing Silverlight/WPF related controls
 today,
   and Codeplex.com has 98 Silverlight specific projects available
 that we know
   of. WPF and Silverlight have the ability share and re-use the same
 code base
   depending on specific features and so, this is kind of an open
 debate with
   an unlikely definitive outcome in terms of a definition of win.
- Not evil.
   - Microsoft isn't evil, its just me :) .. Evil is a typical term
   that at times is associated with the brand, but given half the
 people I work
   with came from Apple/Adobe/Macromedia/IBM/Sun/Google? does that
 make them
   evil as well in that when they handed in their identity badges at
 companies
   like Macromedia/Adobe did they pass through some gate which sprayed
 them
   with Evil? ..
- Price.
   - Silverlight is Free as in beer, you can code in Visual Studio
   Express for free today and produce Silverlight. We're also seeing
 folks
   spin-up Eclipse like editors (eg:
  
 http://arstechnica.com/journals/linux.ars/2007/09/03/lunar-eclipse-open-source-silverlight-design-tool-for-linux)
   for Silverlight and there are more and more being developed today
 (in fact
   I'm meeting with someone on Monday about his editor + Silverlight
 and other
   languages)

 Adobe AIR's actual use in the mainstream is open for debate, but we
 believe
 with Silverlight and WPF we've got all areas covered. We're also ensuring
 Silverlight runtime works on the mobile in the future and at MIX we
 joined
 forces with Nokia to make this a reality. The same runtime will work on
 the
 desktop and device, and this means there will not be a Silverlight lite
 vs
 Silverlight (as we've heard from customers around the problems of
 having
 Flash lite vs Flash).

 HTH.

 On Thu, Jul 24, 2008 at 9:34 PM, Josh McDonald [EMAIL PROTECTED] wrote:


 Well the benefits (assuming silverlight as the other option) become:

 * Cross platform
 * Much more traction and an established user base
 * Standard (client-side) libraries are allegedly a lot broader in Flex
 than Silverlight. Just repeating what I've heard here though, I don't
 know
 for sure.
 * Not evil - IMHO of course, but this _is_ a Flex list ;-)
 * Don't quote me on this, but probably substantially cheaper (for a
 

RE: [flexcoders] Upload file component

2008-08-11 Thread Link Mckinney
There is no file uploader, you have to make one, Take a look at this example

 

You use the flash.net.FileReference

 

 

 

[Bindable] private var resume:FileReference = new FileReference();

[Bindable] private var textTypes:FileFilter = new FileFilter(Text Files
(*.txt, *.rtf, *.doc, *.docx), *.txt; *.rtf; *.doc; *.docx);

[Bindable] private var pdfTypes:FileFilter = new FileFilter(PDF Files
(*.pdf), *.pdf);

[Bindable] private var allTypes:Array = new Array(textTypes, pdfTypes);

[Bindable] private var resumeName:String = ;

[Bindable] public var FileUpload:TitleWindow;

 

 

//remove complete when the resume is completely uploaded. }

 

private function browseFiles():void{

resume.browse(allTypes);

}

 

private function selectHandler(evt:Event):void{

//Apply name to text field to allow user to know the file
has been attached to the form

//returns full name with extension

resumeName = resume.name;



 

 }

 

//IF FORM IS VALIDATED

//Upload resume

var request:URLRequest = new
URLRequest(/yourdocumentpath/fileupload.cfm);



try

{



resume.upload(request);

}

catch (error:Error)

{

   var errorMessage:String = ERROR: Cannot Upload the file. Please
contact [EMAIL PROTECTED] for further support;

   var errorTitle:String = UPLOAD ERROR; 

   alert = Alert.show(errorMessage, errorTitle);

}

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Joshua Jackson
Sent: Monday, August 11, 2008 10:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Upload file component

 

Dear all,

How do I upload file with Flex? Is there any file uploader component?
I could not find any in the documentation, perhaps I have missed
anything. Could anyone give me some hints?

Best regards,

-- 
Setting a new landmark.
Blog: http://joshuajava.wordpress.com/
Twitter: http://twitter.com/thejavafreak

 



RE: re[flexcoders] peater checkbox width is alway 0

2008-08-11 Thread Link Mckinney
Sorry about that tracy, I think the reason for me getting 0 on my width and
height is the controls are not created on screen yet, and the width and
height will change when they are displayed. I was trying to get the natural
width and height. So once checkbox could be 160 while another would be 250.

 

The reason is I wanted to make a checkbox selection list based on combobox
selection and each section has their own topic section: see below

 

I tried tile, tilelist, grid, etc. The only one that could make this was the
Canvas. 

 

module 1

[ ] submodule  [ ]submodule [ ]submodule

[ ]submodule   [ ]submodule [ ]submodule

 

Module 2

[ ] submodule  [ ]submodule [ ]submodule

[ ]submodule   [ ]submodule [ ]submodule

 

Just to let everyone know, I kind have a solution. But the reason for me
needing my width was to position my checkboxes closer to the previous one.
The would compact my layout better.

 

Thanks Link

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Monday, August 11, 2008 12:36 PM
To: flexcoders@yahoogroups.com
Subject: RE: re[flexcoders] peater checkbox width is alway 0

 

I don't have a suggestion to your question directly, but.

 

Repeater is a great tool, but using it like that can be difficult.  I
suggest you create a custom component, implementing a public property into
which you pass the entire currentItem.  This allows you to code the repeated
content much more normally.  For example, you can use the normal component
lifecycle events like creationComplete, and can dispatch events, and the
handler can access the dataProvider item without that silly getRepeaterItem
stuff.  Internal code can access child components by normal id references.

 

You don't say what you need to width for or why you are looping, but
consider this technique and it might solve one or more of your problems.

 

Tracy

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Link Mckinney
Sent: Sunday, August 10, 2008 4:06 PM
To: flexcoders@yahoogroups.com
Subject: re[flexcoders] peater checkbox width is alway 0

 


Hi, 
I am trying to get the width of my checkboxes in a repeater either during
the repeatEnd, where I create a loop over my items or during the repeat.

Here is my code

mx:Canvas id=rpForm width=720 height=500
mx:Repeater id=rp dataProvider={A00Skills} repeat=removeLabel(event)
 mx:Label id=fhSkill text={rp.currentItem.Module} fontWeight=bold/
mx:Spacer id=spc height=0/
mx:CheckBox id=cx label={rp.currentItem.SubModule} y=20 x=0
minWidth=50/
/mx:Repeater 
/mx:Canvas

now I have tried in my function during repeatEnd or repeat to access my
checkbox width and it is always 0. When I debug in flex builder I can go to
cx -- inherited -- [0] -- x is 101 in with a green icon, but there is a
yellow icon underneath it with 0, which is what I am getting. 

So how do I get the width of cx[1].width ? 

please help, Do I have a bug

-- 
View this message in context:
http://www.nabble.com/repeater-checkbox-width-is-alway-0-tp18915199p18915199
.html
Sent from the FlexCoders mailing list archive at Nabble.com.

 



re[flexcoders] peater checkbox width is alway 0

2008-08-10 Thread Link Mckinney

Hi, 
I am trying to get the width of my checkboxes in a repeater either during
the repeatEnd, where I create a loop over my items or during the repeat.

Here is my code

mx:Canvas id=rpForm width=720 height=500
mx:Repeater id=rp dataProvider={A00Skills} repeat=removeLabel(event)
 mx:Label id=fhSkill text={rp.currentItem.Module} fontWeight=bold/
mx:Spacer id=spc height=0/
mx:CheckBox id=cx label={rp.currentItem.SubModule} y=20 x=0
minWidth=50/
/mx:Repeater 
/mx:Canvas


now I have tried in my function during repeatEnd or repeat to access my
checkbox width and it is always 0. When I debug in flex builder I can go to
cx -- inherited -- [0] -- x is 101 in with a green icon, but there is a
yellow icon underneath it with 0, which is what I am getting. 

So how do I get the width of cx[1].width ? 

please help, Do I have a bug

-- 
View this message in context: 
http://www.nabble.com/repeater-checkbox-width-is-alway-0-tp18915199p18915199.html
Sent from the FlexCoders mailing list archive at Nabble.com.