[flexcoders] Upload component

2010-07-08 Thread Christophe
Hello, 

I am searching a reliable component to upload images from a FlashBuilder 4 
application. 

Thank you,
Christophe,




[flexcoders] Re: TabNavigator styles not being applied (flex4)

2010-07-08 Thread Amy
It looks like you're not using the mx namespace you've declared in your 
stylesheet.

--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:

 Anyone know why styling is not being applied to this Flex4 example (a 
 modified example from livedocs)?
 
 thanks
 
 
 s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; 
   xmlns:s=library://ns.adobe.com/flex/spark 
   xmlns:mx=library://ns.adobe.com/flex/mx
   s:layout
   s:VerticalLayout verticalAlign=middle horizontalAlign=center/
   /s:layout
   
   fx:Style
 @namespace s library://ns.adobe.com/flex/spark;
 @namespace mx library://ns.adobe.com/flex/mx;
   
 .myTabs 
 {
   cornerRadius: 4;
   fillColors: #99, #cc;
 }
   /fx:Style
   
   s:Panel title=TabNavigator Container Example height=90% width=90%
 s:layout
s:VerticalLayout paddingTop=10 paddingLeft=10 paddingRight=10 
 paddingBottom=10/
 /s:layout
   
 mx:TabNavigator id=tn  width=100% height=100% 
 tabStyleName=myTabs
   
s:NavigatorContent label=Panel 1
s:Label text=TabNavigator container panel 1/
/s:NavigatorContent
   
s:NavigatorContent label=Panel 2
 s:Label text=TabNavigator container panel 2/
/s:NavigatorContent
   
s:NavigatorContent label=Panel 3
  mx:Label text=TabNavigator container panel 3/
/s:NavigatorContent
 /mx:TabNavigator
   
   /s:Panel
 /s:Application





[flexcoders] Source view files not generated

2010-07-08 Thread lanekelly5
Apologies if this has been covered, but the group's search feature isn't 
working for me (it's throwing server too busy errors).

I have one project that isn't cooperating when I try to export a release build 
and enable source view.  I have the box checked and it creates the srcview 
folder, but all the required files are not generated.  When you load up the 
index.html file it attempts to load a main.mxml.html file into the right hand 
frame.  That main.mxml.html file was not generated by the Flex IDE.  (Yes, my 
main application file is indeed called main.mxml.)  For several of my other 
projects I'm not having this problem and all the view source components are 
generated.  I still get the ZIP file for this poroblem project and some of the 
other folders, but there are NO files in the base srcview/source folder (just 
some subfolders).

Any ideas?  I need to get this resolved as I'm hoping to use this code sample 
as part of an interview. 

Thanks.



[flexcoders] Re: TabNavigator styles not being applied (flex4)

2010-07-08 Thread bhaq1972
They look the same to me.
I just added another style ...

fontWeight:bold 

and that is being applied.

Maybe I will use a skin

Thanks


--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:

 It looks like you're not using the mx namespace you've declared in your 
 stylesheet.
 
 --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
 
  Anyone know why styling is not being applied to this Flex4 example (a 
  modified example from livedocs)?
  
  thanks
  
  
  s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; 
xmlns:s=library://ns.adobe.com/flex/spark 
xmlns:mx=library://ns.adobe.com/flex/mx
s:layout
s:VerticalLayout verticalAlign=middle horizontalAlign=center/
/s:layout
  
fx:Style
  @namespace s library://ns.adobe.com/flex/spark;
  @namespace mx library://ns.adobe.com/flex/mx;
  
  .myTabs 
  {
  cornerRadius: 4;
  fillColors: #99, #cc;
  }
/fx:Style
  
s:Panel title=TabNavigator Container Example height=90% width=90%
  s:layout
 s:VerticalLayout paddingTop=10 paddingLeft=10 paddingRight=10 
  paddingBottom=10/
  /s:layout
  
  mx:TabNavigator id=tn  width=100% height=100% 
  tabStyleName=myTabs
  
 s:NavigatorContent label=Panel 1
   s:Label text=TabNavigator container panel 1/
 /s:NavigatorContent
  
 s:NavigatorContent label=Panel 2
s:Label text=TabNavigator container panel 2/
 /s:NavigatorContent
  
 s:NavigatorContent label=Panel 3
 mx:Label text=TabNavigator container panel 3/
 /s:NavigatorContent
  /mx:TabNavigator
  
/s:Panel
  /s:Application
 





Re: [flexcoders] Upload component

2010-07-08 Thread claudiu ursica
What do you use as back end service? 
Takes tops 1day to write 1 from scratch though...
C







From: Christophe christophe_jacque...@yahoo.fr
To: flexcoders@yahoogroups.com
Sent: Thu, July 8, 2010 10:36:14 AM
Subject: [flexcoders] Upload component

  
Hello, 

I am searching a reliable component to upload images from a FlashBuilder 4 
application. 


Thank you,
Christophe,


 


  

[flexcoders] Re: Loading animation between LCDS page fetched

2010-07-08 Thread Aasim
I think i found the answer, need to look at the ItemPendingError

-Aasim

--- In flexcoders@yahoogroups.com, Aasim aasimmo...@... wrote:

 Hi,
 
 I need to show a loading animation while scrolling in a LCDS paging enabled 
 datagrid. Is there a way to know when a new page is requested in flex while 
 scrolling? and when data is returned back?
 
 Regards,
 Aasim





Re: [flexcoders] Re: Loading animation between LCDS page fetched

2010-07-08 Thread Jeffrey Vroom
Depending on your use case, you may not see that error.   If you are
scrolling through a list or grid, it gets caught and handled by the
DataGrid.

My memory on this is a little hazy now but I think you can listen to events
on the DataService and see all of the traffic from the data service to the
server.   You'll see events of type page or page_items come through
which indicate the start of a page operation.   Keep count of them and
display your busy cursor when the count goes from 0-1.   I am forgetting
exactly how you get the responder/call for when those events complete (to
decrement the outstanding count) but I think it's accessible off of that
event or maybe you listen for result events?   Hope this helps.

Jeff

On Thu, Jul 8, 2010 at 9:32 AM, Aasim aasimmo...@gmail.com wrote:



 I think i found the answer, need to look at the ItemPendingError

 -Aasim


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Aasim
 aasimmo...@... wrote:
 
  Hi,
 
  I need to show a loading animation while scrolling in a LCDS paging
 enabled datagrid. Is there a way to know when a new page is requested in
 flex while scrolling? and when data is returned back?
 
  Regards,
  Aasim
 

  



[flexcoders] reuse paths shapes in skins

2010-07-08 Thread arocheking
Hi, I've used the common examples to skin my components. So that's going ok. 
But now I want to be able to centralize and reuse pieces.

The most simple thing I may want to do is reuse a shape. 
Like:

s:Path data=V 20 L 20 10 Z horizontalCenter=0 verticalCenter=0
s:fill
s:LinearGradient rotation=90
s:GradientEntry color=0x00 alpha=.9/
s:GradientEntry color=0x00 alpha=.9/
/s:LinearGradient
/s:fill
/s:Path

Can I save that path in some way? Do I need to make it it's own skin?

It looks like I can put components in my skins... is that true?

Thanks, I've looked around a bit and am trying to understand some of the finer 
points of skinning.

John



[flexcoders] Flex Project Management App

2010-07-08 Thread Angelo Anolin
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] Flex Project Management App

2010-07-08 Thread Brendan Meutzner
You posted on this a few weeks ago, and I replied with some suggestions a
few weeks ago.  If you need additional help, reply to your original thread.



On Thu, Jul 8, 2010 at 3:47 PM, Angelo Anolin angelo_ano...@yahoo.comwrote:



 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

  



[flexcoders] what flex can not catch event from Flash

2010-07-08 Thread markflex2007
Hi,

My flex app load a flash swf like following

mx:SWFLoader   id=mySwf source=assets/question.swf/

I catch event like this in flex

mySwf.addEventListener(test1,doStep1);

 private function doStep1():void{
trace(step1);
 }



In the question.fla ,I use a bttoun to dispathch a event like

dispatchEvent(new Event(test1));


My question is why I can not catch the event in flex after flash send the event 
out.

any suggestion?

Thanks for help


Marks



[flexcoders] focusrect on custom components?

2010-07-08 Thread Nick Middleweek
Hi,

Does anyone know the right way of applying the focusrect to a composite
component, instead of the individual components that make it up?

I've got a custom comp made up of about 4 basic UI objects and when I click
inside it I want the whole component to look as if it's received the focus
and not the individual component...

I've just started looking into the NumericStepper for an example but it
seems quite involved... Do I carry on hunting or is there an easy way? :-)


Cheers,
Nick


Re: [flexcoders] User Interface Design Groups

2010-07-08 Thread Nick Middleweek
Hi,

I wil get it compiled an upload to a site and post a follow up - thanks for
the message :)


Cheers,
NIck



On 7 July 2010 22:21, dorkie dork from dorktown 
dorkiedorkfromdorkt...@gmail.com wrote:



 nick,
 i know the perfect group, its called flexcoders. ...or flashcoders. most
 flash platform developers come from a design background and have a passion
 for the best UI experience.

 so post it here!! :)

 design and UI xp IS part of the flash platform...





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

2010-07-08 Thread Ramalingam G
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



Re: [flexcoders] Flex Project Management App

2010-07-08 Thread Angelo Anolin


It was a different topic.  If I recall correctly, I was asking on the effects 
used on it.

I was now asking on the controls which were used.  Sort of AddChild for each 
component.

Thanks.



From: Brendan Meutzner bmeutz...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Thu, 8 July, 2010 13:56:55
Subject: Re: [flexcoders] Flex Project Management App

  
You posted on this a few weeks ago, and I replied with some suggestions a few 
weeks ago.  If you need additional help, reply to your original thread.




On Thu, Jul 8, 2010 at 3:47 PM, Angelo Anolin angelo_anolin@ yahoo.com 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


 


  

[flexcoders] Re: reuse paths shapes in skins

2010-07-08 Thread arocheking
I have seen info on skinning subcomponents.
That's easy enough but just doesn't seem very efficient.
I would create a component and a skin for it... just to get a reusable graphic.





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

2010-07-08 Thread napearson99
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