[flexcoders] Regenerating service calls

2010-07-09 Thread Scott
In the beta, I seem to remember the service calls automatically
regenerating themselves if something was updated in the .CFC.  Now, the
calls are not regenerating and if I add in a new DB field I have to
delete the .AS service call files and remove the objects from my code
then re-create the service call.

 

Is anyone aware of a quicker/easier way than this?

 

 Thanks

  Scott



RE: [flexcoders] How to print full content of TextArea component ?

2010-07-09 Thread Scott
I don't know the resolution but I can see why this is happening.

 

The sprite capture will just capture the screen area and what was within
the rectangle during the snapshot.  It doesn't care or know what
components are under the sprite rectangle.

 

This guy talks about the issue a bit:
http://mildlyannoyedaussie.wordpress.com/2007/11/27/flex-printing-breakt
hrough-and-more/

 

I've been thinking about printing since this is something I will have to
do in the future as well.  I'm actually considering building a .PDF file
which could be printed or downloaded.

 

 sj

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ramalingam G
Sent: Thursday, July 08, 2010 9:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to print full content of TextArea component ?

 

  

Hello everyone,
I am re-posting this. The print() function listed below prints only the
visible area (scrolled somewhere) of the TextArea component. But, I want
to print full contents of the TextArea.

private function print():void{
var printResult:PrintJob = new PrintJob();
var output:Sprite = new Sprite();
var rect1:Rectangle = new Rectangle(0, 0, 0, 0);

output = Sprite(Result);
if(printResult.start()){
printResult.addPage(output, rect1);
printResult.send();
}
else printResult = null;
}

s:TextArea id=Result height=327 width=290 fontSize=18
paddingBottom=6 fontFamily=Arial x=13 y=28 editable=false
contentBackgroundColor=#A8C6AE borderVisible=false textAlign=right
fontWeight=normal/

s:Button x=13 y=366 id=Print label=Print width=49 height=30
click=print(); toolTip=CTRL + P/

Any one can help me?
Thanks in advance.
Ramalingam




-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean. 


[flexcoders] Re: Flex Project Management App

2010-07-09 Thread valdhor
I would create a custom component that has all of the features of the milestone 
encapsulated. ie. The plus button, the label, the datagrid, the add and remove 
tasks buttons etc.

I would also have a custom component comprising of the datagrid and its sub 
components.

All you would need to do when someone clicks the add milestone button is to 
create a new instance of the custom component and add it to the display list.

--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:

 Hi FlexCoders,
 
 I came across a Flex PM site and I would like to ask what are the necessary 
 controls / things I need to do to achieve the same application.
 
 The site's page is:
 
 http://www.radscientist.com/flexpm/demo/index.html
 
 I am having problems re-creating those items which expands when the plus sign 
 is 
 clicked as well as adding new items when the Add Milestone button is clicked. 
  How do I achieve adding controls on the fly on the application?
 
 I hope you could provide some guidance on this.
 
 Thanks.
 
 Angelo





Re: [flexcoders] Re: Flex Project Management App

2010-07-09 Thread Johannes Nel
i would guess the person used a tree with custom itemrederer or a custom
component

for http://www.seenowdo.com we use a custom component for the taskboard

On Fri, Jul 9, 2010 at 3:59 PM, valdhor valdhorli...@embarqmail.com wrote:



 I would create a custom component that has all of the features of the
 milestone encapsulated. ie. The plus button, the label, the datagrid, the
 add and remove tasks buttons etc.

 I would also have a custom component comprising of the datagrid and its sub
 components.

 All you would need to do when someone clicks the add milestone button is to
 create a new instance of the custom component and add it to the display
 list.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Angelo
 Anolin angelo_ano...@... wrote:
 
  Hi FlexCoders,
 
  I came across a Flex PM site and I would like to ask what are the
 necessary
  controls / things I need to do to achieve the same application.
 
  The site's page is:
 
  http://www.radscientist.com/flexpm/demo/index.html
 
  I am having problems re-creating those items which expands when the plus
 sign is
  clicked as well as adding new items when the Add Milestone button is
 clicked.
  How do I achieve adding controls on the fly on the application?
 
  I hope you could provide some guidance on this.
 
  Thanks.
 
  Angelo
 

  




-- 
j:pn
\\no comment


[flexcoders] Re: Can't get FlexUnit results to show up

2010-07-09 Thread malabriola

Nate-

I am assuming that you are on Flash Builder 4 Premium as you have the FlexUnit 
result view. If that is not the case, let me know.

Open the FlexUnitApplication.mxml, which is one of the two files that Adobe's 
plugin generates on your behalf.

There should be a function which specifies which tests are going to be run... 
sounds like that is fine as you are hitting breakpoints, but double check. Then 
look at the line that calls runWithFlexUnit4Runner(). It should pass in the 
name of your project as a string. Make sure that is the case and it is correct.

Finally, if none of this helps, post this whole file for me.

Mike



--- In flexcoders@yahoogroups.com, napearson99 napearso...@... wrote:

 I have a flex 4 air project and I've set up a class with a simple method, a 
 test class and a test suit class.
 
 When I try to run my test cases nothing shows up in the FlexUnit results in 
 the bottom.  I can get break points to hit in my test class, so I know it's 
 hitting.
 
 I also have an assert statement in my class.  
 
 I've spent about 3 hours on this googling around.  I must be missing 
 something simple.
 
 Any ideas? Thanks!
 
 -Nate





[flexcoders] Flashbuilder hang loading workbench

2010-07-09 Thread Richard Rodseth
This is happening again this morning, and I don't remember how I got past it
before.

Flashbuilder hangs at the start up splash screen (before workspace selection
even) while displaying Loading  workbench. OS X spinning beachball. Must
force quit. Launching with -clean didn't help.

Anyone else?


[flexcoders] Re: Flashbuilder hang loading workbench

2010-07-09 Thread Richard Rodseth
Deleting the .snap file mentioned here did the trick:

http://www.michaellabieniec.com/?p=51

On Fri, Jul 9, 2010 at 10:08 AM, Richard Rodseth rrods...@gmail.com wrote:

 This is happening again this morning, and I don't remember how I got past
 it before.

 Flashbuilder hangs at the start up splash screen (before workspace
 selection even) while displaying Loading  workbench. OS X spinning
 beachball. Must force quit. Launching with -clean didn't help.

 Anyone else?



[flexcoders] Re: reuse paths shapes in skins

2010-07-09 Thread arocheking
Would using the library and definition tags be the way to go?
Anyone?

http://sherifabdou.com/2008/09/creating-symbols-in-flex-4/





Re: [flexcoders] Re: reuse paths shapes in skins

2010-07-09 Thread dorkie dork from dorktown
hi, wanted to get to this but was busy,

that's exactly what you want to use. do u have flash catalyst? get the
trial. then add some path or rectangle content to the stage and select all
of them. right click and choose group. look at code. then right click again
and select optimize graphics. then look at code again. walla. presto chango.
u have code for reuse. library i think is inline while fxg can be inline or
an external document.

you can put components in ur skins.

On Fri, Jul 9, 2010 at 2:35 PM, arocheking rochek...@gmail.com wrote:



 Would using the library and definition tags be the way to go?
 Anyone?

 http://sherifabdou.com/2008/09/creating-symbols-in-flex-4/

  



Re: [flexcoders] Re: Flex Project Management App

2010-07-09 Thread Angelo Anolin
Care to share some of the codes you used for the custom component?  I will 
explore further the site you mentioned.

Thanks.




From: Johannes Nel johannes@gmail.com
To: flexcoders@yahoogroups.com
Sent: Fri, 9 July, 2010 9:36:00
Subject: Re: [flexcoders] Re: Flex Project Management App

  
i would guess the person used a tree with custom itemrederer or a custom 
component

for http://www.seenowdo .com we use a custom component for the taskboard


On Fri, Jul 9, 2010 at 3:59 PM, valdhor valdhorlists@ embarqmail. com wrote:

  
I would create a custom component that has all of the features of the 
milestone 
encapsulated. ie. The plus button, the label, the datagrid, the add and remove 
tasks buttons etc.

I would also have a custom component comprising of the datagrid and its sub 
components.

All you would need to do when someone clicks the add milestone button is to 
create a new instance of the custom component and add it to the display list.


--- In flexcod...@yahoogro ups.com, Angelo Anolin angelo_anolin@ ... wrote:

 Hi FlexCoders,
 
 I came across a Flex PM site and I would like to ask what are the necessary 
 controls / things I need to do to achieve the same application.
 
 The site's page is:
 
 http://www.radscien tist.com/ flexpm/demo/ index.html
 
 I am having problems re-creating those items which expands when the plus 
 sign 
is 

 clicked as well as adding new items when the Add Milestone button is 
 clicked. 

  How do I achieve adding controls on the fly on the application?
 
 I hope you could provide some guidance on this.
 
 Thanks.
 
 Angelo





-- 
j:pn 
\\no comment

 


  

[flexcoders] Getting Started with AMFPHP and PureMVC

2010-07-09 Thread Jeremy Mitchell
Is anyone else using PureMVC with AMFPHP?  I'm have a few questions to
clarify my understanding of the framework that maybe one could
answer...thank you!!!

jeremy m.


[flexcoders] DateTimeAxis - day + hour:minute

2010-07-09 Thread Richard Rodseth
I have a Flex 3 LineChart which displays data for one day or one week, in
15-minute increments. In the week version I need the axis labels to include
day name (not specific date) + hour:minute, or perhaps someway to indicate
the day only on the 0:00 hour:minute label.

Thanks for any suggestions.


[flexcoders] any word on smooth mouse wheel scrolling?

2010-07-09 Thread dorkie dork from dorktown
does anyone have a fix for a smooth mouse wheel scroll in datagroups or lists?

right now it's jumping by 40px per scroll. it looks awful.