Re: [flexcoders] Vidoe Tutorials Needed

2009-04-07 Thread Shabir Gilkar
HI! Brad
 
Thank you very much dear. I hope this may help me as well and thanks for being 
there as good helpers. 


With High Regards 

Shabir Ahmad Gilkar

--- On Tue, 7/4/09, Brad Bueche  wrote:


From: Brad Bueche 
Subject: Re: [flexcoders] Vidoe Tutorials Needed
To: flexcoders@yahoogroups.com
Date: Tuesday, 7 April, 2009, 4:41 PM






You can also try lynda.com.  They have excellent video's.  They even have Joey 
Lott teaching ActionScript 3.0 (and not framework specific at that!).  They 
have about 50 hours of flex traning alone. They also have Flash CS4 (CS3 and 
older) training. Dreamweaver training.  ColdFusion 8 training. etc.  Very good 
and high quality video.


$25 a month though.   However, I was  watching the free ones last night (approx 
first 5 lessons of each course are free) and they are  very good. lynda.com 
covers  all the Adobe CS software (even older versions)


designprovideo's also has some adobe cs4 training but not nearly as  much as  
lynda.com does.


brad


On Mon, Apr 6, 2009 at 11:59 PM, Shabir Gilkar  
wrote:










Thanks You very much Mr Jeffry Houser.

I hope the links provided by you may help me.

Currently i am learning flash cs3 and after that i would like to take ADOBE 
FLEX 3 and that is why i am collecting materials for that.

Thanks for being there!

With High Regards 

Shabir Ahmad Gilkar

--- On Mon, 6/4/09, Jeffry Houser  wrote:


From: Jeffry Houser 
Subject: Re: [flexcoders] Vidoe Tutorials Needed
To: flexcod...@yahoogro ups.com
Date: Monday, 6 April, 2009, 5:57 PM




Adobe's Learn Flex in a Week: http://www.adobe. com/devnet/ flex/videotraini ng/
The Flex Show Podcast ScreenShots: http://www.theflexs how.com/blog/ index.cfm/ 
Fifteen-Minutes- With-Flex

Shabir Gilkar wrote: 





Dear Friends,
 
I am fresher in Flex Builder 3 and i want to learn Flex. Can any buddy help me 
in getting best explinatory video tutorials for that.
 
I hope some buddy will definatley help me. 

With High Regards 

Shabir Ahmad Gilkar
 
>From Kashmir the Heaven!


Add more friends to your messenger and enjoy! Invite them now. 

-- 
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl. com/684b5h
http://www.twitter. com/reboog711  | Phone: 203-379-0773

--
Easy to use Interface Components for Flex Developers
http://www.flextras .com?c=104
--
http://www.theflexs how.com

http://www.jeffryho user.com
--
Part of the DotComIt Brain Trust


Unlimited freedom, unlimited storage. Get it now


















  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

RE: [flexcoders] help me - sent request to automatically search

2009-04-07 Thread Tracy Spratt
Does that site expose an API?

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of btc132
Sent: Tuesday, April 07, 2009 11:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] help me - sent request to automatically search

 

Hello all
I want sent a request to an other web and send a request to click "Search"
button of the web. i done
private function send_request( ):void{
var request:URLRequest = new URLRequest("http://thesaurus. reference.
com/");
var variables:URLVariab les = new URLVariables( );
variables.sometext = "patent";
request.data = variables;
sendToURL(request) ;
click_search( );
}
private function click_search( ):void{
var loader:URLLoader = null;
loader = new URLLoader();
var variables:URLVariab les = new URLVariables( )
variables.clicksearch = 'sbut';
variables.textvalue = 'qleft';

}

how does it? when i want post value that i want to search to text of the web
and click "search" button
Can you help me?
Thanks





RE: [flexcoders] FLEX defaut xml parser issue with Auto Exponential conversion issue

2009-04-07 Thread Tracy Spratt
You have left the resultFormat at its default value which is "object".  This
causes Flex to convert your xml into a tree of dynamic objects.  This has
many side effects, among which is attempting to guess at the data type from
the content, and it often guesses wrong.

 

Set resultFormat="e4x" and get your data unmodified, and handle the
datatyping yourself.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ramabhadra Reddy
Sent: Tuesday, April 07, 2009 11:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FLEX defaut xml parser issue with Auto Exponential
conversion issue

 

7898778E345
if you see above xml tag value, that is having E char. this E is causing the
issue.
above value(7898778E345) displaying as Infinite When i display this value on
flex grid. the reason is this value has E. so the flex parser is implecitly
convertion is faling.

7898778E345 = 7898778 * 10 Power of 345 = too big value = Infinite.

Is there any way to instruct flex defalut xml parser to stopping auto
conversion into expaning exponential value?.
Any help is appriciated.

Thanks,
Rama





RE: [flexcoders] Combox Issue with Flex

2009-04-07 Thread Tracy Spratt
Look at this example, it might get you started.

http://www.cflex.net/showFileDetails.cfm?ObjectID=555
 &Object=File&ChannelID=1

 

Tracy

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Jeffry Houser
Sent: Tuesday, April 07, 2009 10:53 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Combox Issue with Flex

 


Just have two lists; with buttons between them. I assume you can deal 
with the layout.

When the "move left" button is clicked do something like this in the 
click handler:

list2.dataProvider.addItem(list1.dataProvider.getItemAt(list1.selectedIndex)
)
list1.dataProvider.removeItemAt(list1.selectedIndex);

Basically, just add the item to the destination list and remove it from 
the source list. 

Does this help? 

myworld100us wrote:
> Folks ,
>
> Everyone must have seen this kind of thing working in HTML . You have two
multi slect box in html and then in between the boxes you would have add,
add all , remove remove all buttons which would pull and push elements from
and to into the two boxes , 
>
> I am struggling for weeks to implement something in flex. Can someone give
me an example for the same in flex . 
>
>
>
>
>
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.

yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: https://share.

acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: http://www.mail-

archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>
>
>
>
> 

-- 
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl. 
com/684b5h
http://www.twitter.  com/reboog711 |
Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras  .com?c=104
--
http://www.theflexs  how.com
http://www.jeffryho  user.com
--
Part of the DotComIt Brain Trust





RE: [flexcoders] override "commitSelectedIndex" for ViewStack component

2009-04-07 Thread Tracy Spratt
There is a component that does this quite well.  It is by "tink", called the
"PairedStackEffect", check it out first.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of gwangdesign
Sent: Tuesday, April 07, 2009 7:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] override "commitSelectedIndex" for ViewStack component

 






Hi,

I am sure this has been discussed somewhere by someone before. So excuse me
if this is an old topic. But what I want is when the selectedIndex changes
in a ViewStack component, instead of the default behavior of waiting until
the current selected child completes its hideEffect to start the showEffect
of the new selected child, I would like to play both effects concurrently
(as a compound parallel effect).

So I guess what I need to do is to override the "commitSelectedIndex" method
in ViewStack for my subclass. But by looking at the code, I am convinced
it's a little bit over my head at least for now. So I'd love some lead (the
more detailed the better;)) as to how I should override the method. Sample
code is much appreciated. 

Thanks a lot.

-geng





[flexcoders] help me - sent request to automatically search

2009-04-07 Thread btc132
Hello all
I want sent a request to an other web and send a request to click "Search" 
button of the web. i done
private function send_request( ):void{
var request:URLRequest = new URLRequest("http://thesaurus. reference. com/");
var variables:URLVariab les = new URLVariables( );
variables.sometext = "patent";
request.data = variables;
sendToURL(request) ;
click_search( );
}
private function click_search( ):void{
var loader:URLLoader = null;
loader = new URLLoader();
var variables:URLVariab les = new URLVariables( )
variables.clicksearch = 'sbut';
variables.textvalue = 'qleft';

}

how does it? when i want post value that i want to search to text of the web 
and click "search" button
Can you help me?
Thanks




[flexcoders] Animated Flash Component Resizing when used as Button Skin

2009-04-07 Thread flexcoder1969
I am trying to skin the overSkin of a Flex Button component with an animated 
Flash .swc component. (Actually, an Accordion Header, but for all practical 
purposes the same.)

All works completely fine, in most cases.  The problem I run into is when I 
have any objects in the Flash animation moving on and off stage.  When this 
happens, although the objects cannot be seen when moved off-stage, the viewable 
area of the Flash animation scales down in either direction, or both, to make 
room in the button for the objects off stage.

If I play the animation directly in the application, or a Canvas, everything 
works fine and no scaling occurs.  But for a Button, where I really need it, I 
get the constant scaling back and forth as the Flash movie runs.  This can be 
REALLY annoying when trying to click on a button! (Or you find that you are no 
longer "over" the button (because it scaled down) so you get flicker back and 
forth between the Up and Over states.)

Any ideas on how I can keep this from happening, either on the Flash or Flex 
side would be much appreciated.

Pertinant Code:

[Bindable]
[Embed(source="assets//btn_StaticHollywood.jpg")]
private var Film:Class;

[Bindable]
[Embed(skinClass="fc.HollywoodWithSearchlights")]
private var FilmOver:Class;

animatedButton.setStyle("upSkin", Film);
animatedButton.setStyle("overSkin", FilmOver);


Note: I tried all assortments of setting dimensions I believe.

Remember, the Flash component has objects that move in and off the stage from 
both directions, and this is the cause of the automatic resizing of the Button 
when it runs.



Re: [flexcoders] Combox Issue with Flex

2009-04-07 Thread Jeffry Houser

 Just have two lists; with buttons between them.  I assume you can deal 
with the layout.

 When the "move left" button is clicked do something like this in the 
click handler:

list2.dataProvider.addItem(list1.dataProvider.getItemAt(list1.selectedIndex))
list1.dataProvider.removeItemAt(list1.selectedIndex);
 
 Basically, just add the item to the destination list and remove it from 
the source list. 

 Does this help? 

myworld100us wrote:
> Folks ,
>
> Everyone must have seen this kind of thing working in HTML . You have two 
> multi slect box in html and then in between the boxes you would have add, add 
> all , remove remove all buttons which  would pull and push elements from and 
> to into the two boxes , 
>
> I am struggling for weeks to implement something in flex. Can someone give me 
> an example for the same in flex . 
>
>
>
>
>
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: 
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>
>
>
>
>   

-- 
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust




[flexcoders] Alert Control help

2009-04-07 Thread lehaianh1986
Hi every one. I need your help. I create an Alert like "Wait to update..." I 
show it for user when I do some work from inside. After I finish it, I want 
remove an Alert by code.

I search and see some guide. Here is my code follow it

private var msg:Alert = new Alert;
private function Load():void
{
  msg = Alert.show("Wait to update...");
  ...
}
// then call remove when finish work
private function handleWorkDone(event:ResultEvent):void
{
  msg.deletePopUp();
  ...
}

But it is error in msg.deletePopUp();

How do I do in this case? Or if I don't use Alert message, what the component I 
can use in order to have the same function.



[flexcoders] FLEX defaut xml parser issue with Auto Exponential conversion issue

2009-04-07 Thread Ramabhadra Reddy
7898778E345
if you see above xml tag value, that is having E char. this E is causing the 
issue.
above value(7898778E345) displaying as Infinite When i display this value on 
flex grid. the reason is this value has E. so the flex parser is implecitly 
convertion is faling.

7898778E345 = 7898778 * 10 Power of 345 = too big value = Infinite.

Is there any way to instruct flex defalut xml parser to stopping auto 
conversion into expaning exponential value?.
Any help is appriciated.

Thanks,
Rama



[flexcoders] Unrecognized binding style 'null'

2009-04-07 Thread skywalkr42
Hi all,

Apologies if this is a daft question, however I've searched high and low, and 
no-one appears to have a conclusive answer, so, here goes.

In a nutshell, when attempting to use my webservice, I always get the error 
message

Unrecognized binding style 'null'. Only 'document' and 'rpc' styles are 
supported.

This occurs at the initial wsdl pullback.

Here's a trimmed version of my wsdl :


http://schemas.xmlsoap.org/wsdl/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:tns="http://blah/soap/wsdl?model=orders"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
targetNamespace="http://blah/soap/wsdl?model=orders"; name="ordersModel">
































http://schemas.xmlsoap.org/wsdl/soap/"; 
style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
http://schemas.xmlsoap.org/wsdl/soap/"; name="getOrder">
http://schemas.xmlsoap.org/wsdl/soap/";>
http://schemas.xmlsoap.org/wsdl/soap/"; use="encoded" 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

http://schemas.xmlsoap.org/wsdl/soap/";>
http://schemas.xmlsoap.org/wsdl/soap/"; use="encoded" 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>




http://schemas.xmlsoap.org/wsdl/soap/"; 
name="ordersModelPort" binding="tns:ordersModelBinding">
http://schemas.xmlsoap.org/wsdl/soap/"; 
location="http://blah/soap/?model=orders"/>





AS is very simple

public function go():void {
   WS = new WebService();
   WS.wsdl = 
"http://max.shoon.blucommerce.beta.blubolt.com/oversight/soap/wsdl?model=orders";
   WS.getOrder.addEventListener("result", resultHandler);
   WS.getOrder.addEventListener("fault", faultHandler);
   WS.addEventListener("load", loadHandler);
   WS.loadWSDL();
}

public function loadHandler(event:LoadEvent):void {
WS.getOrder();
}

and the result handler just spits the raw result in xml into a textarea. Or at 
any rate it should.

I've tested using a proxy etc., and can see that the WSDL is being returned 
correctly, but am utterly stumped as to why flex dislikes it quite so much.

Any help would be hugely appreciated!

Cheers,

Max




[flexcoders] LogAxis and custom ticks

2009-04-07 Thread floriandresser
Hello.

I need a chart that has a vertical LogAxis but labels in linear steps, ie the 
ticks get closer together as you move up the y axis. Is it possible to 
overwrite the AxisRenderer in this way to have it display ticks every 100 for 
example? 

Any pointers in the right direction would be much appreciated.

Florian.





[flexcoders] speech to text API

2009-04-07 Thread Sridhar Polisetti
Hi
Does any body know is there any API for speech to text in flex or adobe?



[flexcoders] HttpSession in Flex

2009-04-07 Thread myworld100us
I have a mxml file which talks to the the server . On the Server i get the user 
id and password and do vaidation and stuff. Some values I store from the server 
in session object. Http Session .
So esentialy if i do 
session.setAttribute("userid",xxx) on the server 

how can i retrive in my mxml session.getAttrinute("userid").
Can anynone give me an example 



[flexcoders] Combox Issue with Flex

2009-04-07 Thread myworld100us
Folks ,

Everyone must have seen this kind of thing working in HTML . You have two multi 
slect box in html and then in between the boxes you would have add, add all , 
remove remove all buttons which  would pull and push elements from and to into 
the two boxes , 

I am struggling for weeks to implement something in flex. Can someone give me 
an example for the same in flex . 






[flexcoders] override "commitSelectedIndex" for ViewStack component

2009-04-07 Thread gwangdesign
Hi,

I am sure this has been discussed somewhere by someone before. So excuse me if 
this is an old topic. But what I want is when the selectedIndex changes in a 
ViewStack component, instead of the default behavior of waiting until the 
current selected child completes its hideEffect to start the showEffect of the 
new selected child, I would like to play both effects concurrently (as a 
compound parallel effect).

So I guess what I need to do is to override the "commitSelectedIndex" method in 
ViewStack for my subclass. But by looking at the code, I am convinced it's a 
little bit over my head at least for now. So I'd love some lead (the more 
detailed the better;)) as to how I should override the method. Sample code is 
much appreciated. 

Thanks a lot.

-geng



[flexcoders] Re: Context Menu Bug in FlashPlayer ?

2009-04-07 Thread jmfillman
I did file a bug with Adobe. Hopefully it'll be addressed soon.

Interesting that it was encountered in FlashPlayer 9. I don't recall which 
version of 9 I had, but I did not encounter this error until I went to 
FlashPlayer 10.

For my application, it is critical that particular conectMenu items only appear 
when right-clicking on certain display items. Once the mouse moves off of the 
item, that custom item should no longer be available. If there is a better way 
to accomplish this, I would be very interested in exploring it.

-JF
--- In flexcoders@yahoogroups.com, "valdhor"  wrote:
>
> I think I know why it crashes (Although it should not crash the browser - it 
> should fail with a Flash null object error. You should file a bug).
> 
> When a right click event happens, a mouse out event happens first (Why? I 
> don't know. Maybe this is a bug too) so your mouseOt function gets called 
> which removes the context menu item. I assume, at this point, that the 
> eventlistener is no longer valid but the event has already fired and is 
> trying to find somewhere to go. This is what causes the crash.
> 
> The moral of this is that you should not remove something willy nilly like 
> this. First make sure you do not need it any more and then remove it.
> 
> 
> --- In flexcoders@yahoogroups.com, "valdhor"  wrote:
> >
> > Not here. I am still using Flash Player 9.0.124.
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "jmfillman"  wrote:
> > >
> > > Thank you for the follow-up. The blankMenu is actually a left over from 
> > > my actual application and wasn't needed for this sample code.
> > > 
> > > This worked fine in FlashPlayer 9, so must be a bug with 10.
> > > 
> > > JF
> > > 
> > > --- In flexcoders@yahoogroups.com, "valdhor"  wrote:
> > > >
> > > > I tried your code and it crashes my browser here. I could not find a 
> > > > way to stop that behavior in my (Admittedly short) testing.
> > > > 
> > > > The only thing that jumped out at me was that your blankMenu is a null 
> > > > object as it is never instantiated. Unfortunately, even if it is 
> > > > instantiated, the crashing continues.
> > > > 
> > > > The one question I have is why you are assigning a blank menu on 
> > > > mouseout? There is no reason to do this. If the mouse is no longer over 
> > > > the button, there is no context menu. I would just ignore a mouseout 
> > > > entirely.
> > > > 
> > > > If I get some more time I will have another look. Other that that, 
> > > > maybe someone else has a suggestion.
> > > > 
> > > > 
> > > > Steve
> > > > 
> > > > 
> > > > --- In flexcoders@yahoogroups.com, "jmfillman"  wrote:
> > > > >
> > > > > Any suggestions? Am I doing something wrong?
> > > > > 
> > > > > JF
> > > > > --- In flexcoders@yahoogroups.com, "jmfillman"  wrote:
> > > > > >
> > > > > > The code below causes both IE and Firefox to crash (haven't tried 
> > > > > > others). The problem seems to occure when removing an item from a 
> > > > > > custom context menu. It doesn't even debug, just crashes the 
> > > > > > browser.
> > > > > > 
> > > > > > If I add this one line:
> > > > > > 
> > > > > > menu.customItems.pop();
> > > > > > 
> > > > > > then the browser crashes. If I remove it, if functions as expected.
> > > > > > 
> > > > > > Please help.
> > > > > > 
> > > > > > Sample code below:
> > > > > > 
> > > > > > 
> > > > > > http://www.adobe.com/2006/mxml"; 
> > > > > > layout="absolute">
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > >  > > > > > height="41" id="myButton" mouseOver="mouseOvr(event)" 
> > > > > > mouseOut="mouseOt(event)"/>
> > > > > > 
> > > > > >
> > > > >
> > > >
> > >
> >
>




[flexcoders] Image Control -> BitmapData -> Resize -> JPEG Encoder...changes image coloring?

2009-04-07 Thread Rob Kunkle
Hi Flex Coders -

I'm working on an app that does some image resizing and encoding inside of 
flash...i've come across a real head scratcher here.

The resulting file is very similar to images that have been resized and 
compressed in a normal editor...say photoshop or infranview. *Except* the 
coloration is very different than the original image.

I'm not sure what is happening here, but it seems like the resized images are a 
little flatter and don't have the same richness of colors as the originals or 
the images that have been resized with a normal editor. 

Has anyone come across something similar or have even a guess as to what might 
be causing this? Maybe the color space changed?

Thanks!
Rob Kunkle




Re: [flexcoders] Freelance / Contract Jobs

2009-04-07 Thread Brad Bueche
You can also try www.riajobs.org.  Linkedin has a flexcoders group that is
always posting job ops. There is also www.searchcoders.com/jobs

brad

On Tue, Apr 7, 2009 at 1:57 PM, Kyle  wrote:

>   Does anyone have any good resources for finding Freelance / Contract
> work in Flex/Flash/Actionscript Development?
>
> Thanks!
>
> -Kyle
>
>  
>


Re: [flexcoders] Re: clear concise article/tutorial on setting up CFC project in Flex Builder?

2009-04-07 Thread David Kramer
 I will check it out. Thanks.

  - Original Message -
  From: valdhor
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: clear concise article/tutorial on setting
  up CFC project in Flex Builder?
  Date: Tue, 07 Apr 2009 17:19:33 -

  Have you looked at http://flexcf.com/tutorials ?

  --- In flexcoders@yahoogroups.com, "dmkramerica" 
  wrote:
  >
  > I have full admin priv to CF, and the entire server for that
  matter, and Gassner's articles on lynda.com only describe setting up
  Cold Fusion projects in a local environment - which is like super
  rare in reality. The other information I find seems inconsistent and
  sometimes contrary so far...for instance one article tells me to make
  sure the xml config files are one location, and when I look it's not
  there, but there are five other copies in other folders yet when I
  try using those paths in the CF project set up in FB3 none of them
  work, so...I'm stuck in the CF project wizard in Flex Builder 3.
  >
  > How do you set up a Cold Fusion project in Flex Builder and verify
  the server communication so you can finish the wizard? (This seems
  straightforward but the information on it isn't.)
  >
  > or...
  >
  > Do I even need this IDE setup stuff, can't I just get my swf to
  talk to my CFC without this wizard? ( which would blow because of all
  niceties of having immediate feedback in an IDE while developing, but
  just getting them talking is good enough for me at this point.)
  >
  > Anyone?
  >

  



David Kramer, CISSP
davidkra...@consultant.com
480.710.1398
www.securepatterns.com

-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com



[flexcoders] Re: Freelance / Contract Jobs

2009-04-07 Thread Kyle
Thanks for the input guys. I actually started the local Adobe Flash users group 
in San Diego where I live about a year and a half ago, so I've already been 
using that as a resource. 

--- In flexcoders@yahoogroups.com, Jeffry Houser  wrote:
>
> 
>  Other than the Flex Jobs group which someone else pointed to, you can 
> also try networking at your local user group and/or other local groups 
> such as your local chamber of commerce. 
> 
>  You can also register at www.flex.org as a consultant, although I find 
> most of the requests I get coming from that site have been sent to 
> hundreds of people and they never contact you more than once. 
> 
> Kyle wrote:
> > Does anyone have any good resources for finding Freelance / Contract work 
> > in Flex/Flash/Actionscript Development?
> >
> > Thanks!
> >
> > -Kyle
> >
> >
> >   
> 
> 
> -- 
> Jeffry Houser, Technical Entrepreneur
> Adobe Community Expert: http://tinyurl.com/684b5h
> http://www.twitter.com/reboog711  | Phone: 203-379-0773
> --
> Easy to use Interface Components for Flex Developers
> http://www.flextras.com?c=104
> --
> http://www.theflexshow.com
> http://www.jeffryhouser.com
> --
> Part of the DotComIt Brain Trust
>




Re: [flexcoders] Re: When is Gumbo expiration date?

2009-04-07 Thread Matt Chotin
I think we may have originally thought we'd have a beta out earlier, but things 
change.  Trust me, we're not getting that many bug reports from folks, remember 
that it was only available to folks who attended MAX.  Beta is likely to be in 
June.

Matt


On 4/7/09 7:26 AM, "rlenoel"  wrote:




Hi,

the "computer date" tip does work.

But I don't really understand why this alpha version has an expiration date.

Was it planned to release the beta version before the March 31st deadline ?

And what about bug reports if nobody can test it anymore ?

I tried to reactivate the Gumbo builder with my flex builder 3 serial number 
but i doesn't work...

I just want to know if there is really no solution.

Or if you're going to announce the beta release tomorrow ?

please :)

Romain

--- In flexcoders@yahoogroups.com  , Matt 
Chotin  wrote:
>
> Yep, there have been so many changes since this preview came out that I 
> really wouldn't recommend coding against it.  Code against a more recent 
> nightly build of the SDK.
>
> Matt
>
>
> On 4/6/09 7:32 AM, "Nate Beck"  wrote:
>
>
>
>
> You probably shouldn't programming anything critical in Gumbo in the first 
> place.  There are many things that are changing since the Flex Builder Gumbo 
> preview came out, particularly the FxPrefix.
>
> That being said, you can still go and grab that latest version of the Flex 
> SDK from opensource.adobe.com  , and use mxmlc 
> to compile your code.  I believe some people have been using Flex Builder 3 
> to compile Flex SDK 4 code as well, although I haven't personally done it.
>
> For what it's worth, even if you went and got the nightly build of Flex SDK 
> Gumbo, your code probably won't work with all the recent changes made to 
> Gumbo.
>
> HTH,
> Nate
>
>
> On Mon, Apr 6, 2009 at 6:34 AM, djhatrick  wrote:
>
>
>
> Matt,
>
> How do we keep Gumbo running? the 'old set the date on the computer back' 
> trick???
>
> P
>
>
>
> --- In flexcoders@yahoogroups.com   
>  , Matt Chotin  wrote:
> >
> > Hi,
> >
> > March 31 I believe.  We are not going to have the new beta out by then 
> > either.
> >
> > Matt
> >
> >
> > On 2/27/09 2:46 PM, "djhatrick"  wrote:
> >
> >
> >
> >
> > Hope it's not March 1?  Just checking...  In case.
> >
> > Thanks,
> > Patrick
> >
>







Re: [flexcoders] clear concise article/tutorial on setting up CFC project in Flex Builder?

2009-04-07 Thread Brad Bueche
These are what enabled me to make the leap.  NOT using the wizard.

Valdhor turned me on to these:
http://flexcf.com/tutorials


This if from Tariq Ahmed:
I've collected various CF+Flex articles here:
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=618


And Dan Vegas recently posted an 11 part series on CF+Flex.
http://www.danvega.org/blog/



On Tue, Apr 7, 2009 at 1:12 PM, dmkramerica wrote:

>   I have full admin priv to CF, and the entire server for that matter, and
> Gassner's articles on lynda.com only describe setting up Cold Fusion
> projects in a local environment - which is like super rare in reality. The
> other information I find seems inconsistent and sometimes contrary so
> far...for instance one article tells me to make sure the xml config files
> are one location, and when I look it's not there, but there are five other
> copies in other folders yet when I try using those paths in the CF project
> set up in FB3 none of them work, so...I'm stuck in the CF project wizard in
> Flex Builder 3.
>
> How do you set up a Cold Fusion project in Flex Builder and verify the
> server communication so you can finish the wizard? (This seems
> straightforward but the information on it isn't.)
>
> or...
>
> Do I even need this IDE setup stuff, can't I just get my swf to talk to my
> CFC without this wizard? ( which would blow because of all niceties of
> having immediate feedback in an IDE while developing, but just getting them
> talking is good enough for me at this point.)
>
> Anyone?
>
>  
>


Re: [flexcoders] Is it possible to include a ".as" file in actionscript within a function?

2009-04-07 Thread - -
Thanks Jeff!


 




From: "Battershall, Jeff" 
To: flexcoders@yahoogroups.com
Sent: Tuesday, April 7, 2009 2:24:27 PM
Subject: RE: [flexcoders] Is it possible to include a ".as" file in 
actionscript within a function?


var myObj:MyClass = new MyClass();
 
addChild(myObj) ;
-Original Message-
From: flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of - -
Sent: Tuesday, April 07, 2009 1:49 PM
To: flexcod...@yahoogro ups.com
Subject: Re: [flexcoders] Is it possible to include a ".as" file in 
actionscript within a function?


If my class creates a graph with a dropdown menu, how can I add it as a child 
to a component on my MXML module?





From: "Battershall, Jeff" 
To: flexcod...@yahoogro ups.com
Sent: Tuesday, April 7, 2009 1:24:50 PM
Subject: RE: [flexcoders] Is it possible to include a ".as" file in 
actionscript within a function?


What problem are you trying to solve by taking this approach? Code
re-use? Wny not write a class you can instantiate wherever you want?

Jeff

-Original Message-
From: flexcod...@yahoogro ups.com [mailto:flexcod...@yahoogro ups.com] On
Behalf Of sailorsea21
Sent: Tuesday, April 07, 2009 12:58 PM
To: flexcod...@yahoogro ups.com
Subject: [flexcoders] Is it possible to include a ".as" file in
actionscript within a function?

Hi everyone, is it possible to include an ".as" file in actionscript
within a function but not have the included ".as" be restricted within
the function?

private function loaded():void
{
include "axis.as";
}

Above, the include file will only apply to the function. How can I
include a file to the main file or app???

Thanks.

-David

 - - --

--
Flexcoders Mailing List
FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt
Alternative FAQ location:
https://share. acrobat.com/ adc/document. do?docid= 942dbdc8- e469-446f- b4cf-
1e62079f6847
Search Archives:
http://www.mail- archive.com/ flexcoders% 40yahoogroups. comYahoo! Groups
Links






  

RE: [flexcoders] Is it possible to include a ".as" file in actionscript within a function?

2009-04-07 Thread Battershall, Jeff
var myObj:MyClass = new MyClass();
 
addChild(myObj);

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcod...@yahoogroups.com] On Behalf Of - -
Sent: Tuesday, April 07, 2009 1:49 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Is it possible to include a ".as" file
in actionscript within a function?


If my class creates a graph with a dropdown menu, how can I add
it as a child to a component on my MXML module?





From: "Battershall, Jeff" 
To: flexcoders@yahoogroups.com
Sent: Tuesday, April 7, 2009 1:24:50 PM
Subject: RE: [flexcoders] Is it possible to include a ".as" file
in actionscript within a function?



What problem are you trying to solve by taking this approach?
Code
re-use? Wny not write a class you can instantiate wherever you
want?

Jeff

-Original Message-
From: flexcod...@yahoogro ups.com
  [mailto:flexcod...@yahoogro
ups.com  ] On
Behalf Of sailorsea21
Sent: Tuesday, April 07, 2009 12:58 PM
To: flexcod...@yahoogro ups.com
 
Subject: [flexcoders] Is it possible to include a ".as" file in
actionscript within a function?

Hi everyone, is it possible to include an ".as" file in
actionscript
within a function but not have the included ".as" be restricted
within
the function?

private function loaded():void
{
include "axis.as  ";
}

Above, the include file will only apply to the function. How can
I
include a file to the main file or app???

Thanks.

-David

 - - --

--
Flexcoders Mailing List
FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder
sFAQ.txt
 
Alternative FAQ location:
https://share. acrobat.com/ adc/document. do?docid= 942dbdc8-
e469-446f- b4cf-
 
1e62079f6847
Search Archives:
http://www.mail- archive.com/ flexcoders% 40yahoogroups.
comYahoo 
! Groups
Links










Re: [flexcoders] clear concise article/tutorial on setting up CFC project in Flex Builder?

2009-04-07 Thread Jeffry Houser

dmkramerica wrote:
> I have full admin priv to CF, and the entire server for that matter, and 
> Gassner's articles on lynda.com only describe setting up Cold Fusion projects 
> in a local environment - which is like super rare in reality. 
 Really, I've done every project that way; with a local environment and 
a 'production' environment.  Many of my clients also have staging 
servers, where multiple developers can 'collaborate' for testing / 
integration purposes before making it live. 

 If I understand correctly, you are trying to create a Flex Builder 
Project, with ColdFusion as the server type.  Is that correct? 

 The only thing that specifying the server type does is to add a 
services argument, which points to the services-config.xml file.  Any 
file on your local hard drive will do. 



-- 
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust




Re: [flexcoders] Freelance / Contract Jobs

2009-04-07 Thread Jeffry Houser

 Other than the Flex Jobs group which someone else pointed to, you can 
also try networking at your local user group and/or other local groups 
such as your local chamber of commerce. 

 You can also register at www.flex.org as a consultant, although I find 
most of the requests I get coming from that site have been sent to 
hundreds of people and they never contact you more than once. 

Kyle wrote:
> Does anyone have any good resources for finding Freelance / Contract work in 
> Flex/Flash/Actionscript Development?
>
> Thanks!
>
> -Kyle
>
>
>   


-- 
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust




Re: [flexcoders] Freelance / Contract Jobs

2009-04-07 Thread Maciek Sakrejda
http://tech.groups.yahoo.com/group/flexjobs/


-Original Message-
From: Kyle 
Reply-to: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Freelance / Contract Jobs
Date: Tue, 07 Apr 2009 17:57:26 -

Does anyone have any good resources for finding Freelance / Contract
work in Flex/Flash/Actionscript Development?

Thanks!

-Kyle









[flexcoders] Freelance / Contract Jobs

2009-04-07 Thread Kyle
Does anyone have any good resources for finding Freelance / Contract work in 
Flex/Flash/Actionscript Development?

Thanks!

-Kyle




Re: [flexcoders] Is it possible to include a ".as" file in actionscript within a function?

2009-04-07 Thread - -
If my class creates a graph with a dropdown menu, how can I add it as a child 
to a component on my MXML module?





From: "Battershall, Jeff" 
To: flexcoders@yahoogroups.com
Sent: Tuesday, April 7, 2009 1:24:50 PM
Subject: RE: [flexcoders] Is it possible to include a ".as" file in 
actionscript within a function?


What problem are you trying to solve by taking this approach? Code
re-use? Wny not write a class you can instantiate wherever you want?

Jeff

-Original Message-
From: flexcod...@yahoogro ups.com [mailto:flexcod...@yahoogro ups.com] On
Behalf Of sailorsea21
Sent: Tuesday, April 07, 2009 12:58 PM
To: flexcod...@yahoogro ups.com
Subject: [flexcoders] Is it possible to include a ".as" file in
actionscript within a function?

Hi everyone, is it possible to include an ".as" file in actionscript
within a function but not have the included ".as" be restricted within
the function?

private function loaded():void
{
include "axis.as";
}

Above, the include file will only apply to the function. How can I
include a file to the main file or app???

Thanks.

-David

 - - --

--
Flexcoders Mailing List
FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt
Alternative FAQ location:
https://share. acrobat.com/ adc/document. do?docid= 942dbdc8- e469-446f- b4cf-
1e62079f6847
Search Archives:
http://www.mail- archive.com/ flexcoders% 40yahoogroups. comYahoo! Groups
Links





  

RE: [flexcoders] Is it possible to include a ".as" file in actionscript within a function?

2009-04-07 Thread Battershall, Jeff
What problem are you trying to solve by taking this approach? Code
re-use? Wny not write a class you can instantiate wherever you want?

Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of sailorsea21
Sent: Tuesday, April 07, 2009 12:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Is it possible to include a ".as" file in
actionscript within a function?


Hi everyone, is it possible to include an ".as" file in actionscript
within a function but not have the included ".as" be restricted within
the function?

private function loaded():void
{
include "axis.as";
}

Above, the include file will only apply to the function. How can I
include a file to the main file or app???

Thanks.

-David






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location:
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-
1e62079f6847
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links





[flexcoders] Re: clear concise article/tutorial on setting up CFC project in Flex Builder?

2009-04-07 Thread valdhor
Have you looked at http://flexcf.com/tutorials ?

--- In flexcoders@yahoogroups.com, "dmkramerica"  wrote:
>
> I have full admin priv to CF, and the entire server for that matter, and 
> Gassner's articles on lynda.com only describe setting up Cold Fusion projects 
> in a local environment - which is like super rare in reality. The other 
> information I find seems inconsistent and sometimes contrary so far...for 
> instance one article tells me to make sure the xml config files are one 
> location, and when I look it's not there, but there are five other copies in 
> other folders yet when I try using those paths in the CF project set up in 
> FB3 none of them work, so...I'm stuck in the CF project wizard in Flex 
> Builder 3.
> 
> How do you set up a Cold Fusion project in Flex Builder and verify the server 
> communication so you can finish the wizard? (This seems straightforward but 
> the information on it isn't.)
> 
> or...
> 
> Do I even need this IDE setup stuff, can't I just get my swf to talk to my 
> CFC without this wizard? ( which would blow because of all niceties of having 
> immediate feedback in an IDE while developing, but just getting them talking 
> is good enough for me at this point.)
> 
> Anyone?
>




[flexcoders] Re: DataGrid Column Sort Prevents Drag From Updating DataProvider

2009-04-07 Thread chris.cobb40
I'm with you now - sorry again for being slow.

I will give it a try.

Thanks again for all your help.

Chris

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> For some XML:
> 
> 
> 
> Alex
> Haruie
> 
> ...
> 
> It would be faster to have a class:
> 
> Class Person
> {
> Public var firstName:String;
> Public var lastName:String;
> }
> 
> and loop through the XML once, making an array of Persons, and using 
> ArrayCollection instead of XMLListCollection and doing the sorting and 
> copying via toArray(). XML property access is orders of magnitude slower than 
> class instance property access and the number of accesses required in sorting 
> are significant.  This strategy will have the advantage of fully divesting 
> itself from the original XML.  XMLLists have some ties back to the original 
> XML and some manipulations might cause change notifications and maybe some of 
> the problems you're seeing.
> 
> Whenever you need the XML again, maybe when reporting back to the server, you 
> create the XML from the array of class instances.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of chris.cobb40
> Sent: Tuesday, April 07, 2009 9:31 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: DataGrid Column Sort Prevents Drag From Updating 
> DataProvider
> 
> 
> I'm sorry I don't understand what you mean by that - could you explain a bit 
> more please.
> 
> Sorry for being thick and thanks again.
> 
> Chris
> 
> --- In flexcoders@yahoogroups.com, Alex 
> Harui  wrote:
> >
> > It occurs to me that this might be easier and faster if you convert the XML 
> > to class instances and only go back to XML at the last minute. Try doing 
> > that.
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com 
> > [mailto:flexcoders@yahoogroups.com] On 
> > Behalf Of chris.cobb40
> > Sent: Tuesday, April 07, 2009 1:55 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: DataGrid Column Sort Prevents Drag From Updating 
> > DataProvider
> >
> >
> > Hi Alex
> >
> > I gave it a try and I can see what you are getting at but I would be 
> > grateful for a bit more help.
> >
> > What I want to do is to -
> >
> > 1. Make copy of the XMLListCollection dataprovider in an array by using 
> > toArray();
> >
> > 2. Remove the sort for XMLListCollection dataprovider.
> >
> > 3. Copy the data back from the array into the XMLListCollection.
> >
> > I tried the following(InitiativeList is the XMLListCollection):
> >
> > var iniCopy:Array = InitiativeList.toArray();
> > var iniXMLCopy:XMLListCollection = new XMLListCollection();
> >
> > InitiativeList.sort = null;
> >
> > for (var i:int = 0; i < iniCopy.length; i++) {
> > iniXMLCopy.addItemAt(iniCopy[i],i);
> > }
> >
> > InitiativeList = new XMLListCollection(XMLList(iniXMLCopy.toXMLString()));
> >
> > InitiativeList.refresh();
> >
> > It sort of works but for some reason the first drag I do does not work but 
> > then subsequent ones do.
> >
> > Could you give me an idea of where I am going wrong - I guess there is a 
> > better way than the long winded method I have used anyway.
> >
> > Thanks a lot.
> >
> > Chris
> >
> > --- In 
> > flexcoders@yahoogroups.com,
> >  "chris.cobb40"  wrote:
> > >
> > > Hi Alex
> > >
> > > Thanks for that - I understand what you meant in your reply to the other 
> > > guy now - just me being slow.
> > >
> > > I will give it a try.
> > >
> > > Chris
> > >
> > > --- In 
> > > flexcoders@yahoogroups.com,
> > >  Alex Harui  wrote:
> > > >
> > > > A collection is either sorted or not, and if there is a sort, it won't 
> > > > let you re-order. One way to allow re-ordering is, after a Sort (and 
> > > > the CollectionEvent.REFRESH event), copy the sorted results into an 
> > > > unsorted collection using toArray on the sorted collection.
> > > >
> > > > Alex Harui
> > > > Flex SDK Developer
> > > > Adobe Systems Inc.
> > > > Blog: http://blogs.adobe.com/aharui
> > > >
> > > > From: 
> > > > flexcoders@yahoogroups.com
> > > >  
> > > > [mailto:flexcoders@yahoogroups.com]
> > > >  On Behalf Of chris.cobb40
> > > > Sent: Monday, April 06, 2009 10:23 AM
> > > > To: 
> > > > flexcoders@ya

[flexcoders] clear concise article/tutorial on setting up CFC project in Flex Builder?

2009-04-07 Thread dmkramerica
I have full admin priv to CF, and the entire server for that matter, and 
Gassner's articles on lynda.com only describe setting up Cold Fusion projects 
in a local environment - which is like super rare in reality. The other 
information I find seems inconsistent and sometimes contrary so far...for 
instance one article tells me to make sure the xml config files are one 
location, and when I look it's not there, but there are five other copies in 
other folders yet when I try using those paths in the CF project set up in FB3 
none of them work, so...I'm stuck in the CF project wizard in Flex Builder 3.

How do you set up a Cold Fusion project in Flex Builder and verify the server 
communication so you can finish the wizard? (This seems straightforward but the 
information on it isn't.)

or...

Do I even need this IDE setup stuff, can't I just get my swf to talk to my CFC 
without this wizard? ( which would blow because of all niceties of having 
immediate feedback in an IDE while developing, but just getting them talking is 
good enough for me at this point.)

Anyone?



[flexcoders] Is it possible to include a ".as" file in actionscript within a function?

2009-04-07 Thread sailorsea21
Hi everyone, is it possible to include an ".as" file in actionscript within a 
function but not have the included ".as" be restricted within the function?

private function loaded():void
{
include "axis.as";
}

Above, the include file will only apply to the function. How can I include a 
file to the main file or app???

Thanks.

-David




RE: [flexcoders] Re: DataGrid Column Sort Prevents Drag From Updating DataProvider

2009-04-07 Thread Alex Harui
For some XML:



Alex
Haruie

...

It would be faster to have a class:

Class Person
{
Public var firstName:String;
Public var lastName:String;
}

and loop through the XML once, making an array of Persons, and using 
ArrayCollection instead of XMLListCollection and doing the sorting and copying 
via toArray(). XML property access is orders of magnitude slower than class 
instance property access and the number of accesses required in sorting are 
significant.  This strategy will have the advantage of fully divesting itself 
from the original XML.  XMLLists have some ties back to the original XML and 
some manipulations might cause change notifications and maybe some of the 
problems you're seeing.

Whenever you need the XML again, maybe when reporting back to the server, you 
create the XML from the array of class instances.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of chris.cobb40
Sent: Tuesday, April 07, 2009 9:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: DataGrid Column Sort Prevents Drag From Updating 
DataProvider


I'm sorry I don't understand what you mean by that - could you explain a bit 
more please.

Sorry for being thick and thanks again.

Chris

--- In flexcoders@yahoogroups.com, Alex 
Harui  wrote:
>
> It occurs to me that this might be easier and faster if you convert the XML 
> to class instances and only go back to XML at the last minute. Try doing that.
>
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.
> Blog: http://blogs.adobe.com/aharui
>
> From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com] On 
> Behalf Of chris.cobb40
> Sent: Tuesday, April 07, 2009 1:55 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: DataGrid Column Sort Prevents Drag From Updating 
> DataProvider
>
>
> Hi Alex
>
> I gave it a try and I can see what you are getting at but I would be grateful 
> for a bit more help.
>
> What I want to do is to -
>
> 1. Make copy of the XMLListCollection dataprovider in an array by using 
> toArray();
>
> 2. Remove the sort for XMLListCollection dataprovider.
>
> 3. Copy the data back from the array into the XMLListCollection.
>
> I tried the following(InitiativeList is the XMLListCollection):
>
> var iniCopy:Array = InitiativeList.toArray();
> var iniXMLCopy:XMLListCollection = new XMLListCollection();
>
> InitiativeList.sort = null;
>
> for (var i:int = 0; i < iniCopy.length; i++) {
> iniXMLCopy.addItemAt(iniCopy[i],i);
> }
>
> InitiativeList = new XMLListCollection(XMLList(iniXMLCopy.toXMLString()));
>
> InitiativeList.refresh();
>
> It sort of works but for some reason the first drag I do does not work but 
> then subsequent ones do.
>
> Could you give me an idea of where I am going wrong - I guess there is a 
> better way than the long winded method I have used anyway.
>
> Thanks a lot.
>
> Chris
>
> --- In 
> flexcoders@yahoogroups.com,
>  "chris.cobb40"  wrote:
> >
> > Hi Alex
> >
> > Thanks for that - I understand what you meant in your reply to the other 
> > guy now - just me being slow.
> >
> > I will give it a try.
> >
> > Chris
> >
> > --- In 
> > flexcoders@yahoogroups.com,
> >  Alex Harui  wrote:
> > >
> > > A collection is either sorted or not, and if there is a sort, it won't 
> > > let you re-order. One way to allow re-ordering is, after a Sort (and the 
> > > CollectionEvent.REFRESH event), copy the sorted results into an unsorted 
> > > collection using toArray on the sorted collection.
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: 
> > > flexcoders@yahoogroups.com
> > >  
> > > [mailto:flexcoders@yahoogroups.com]
> > >  On Behalf Of chris.cobb40
> > > Sent: Monday, April 06, 2009 10:23 AM
> > > To: 
> > > flexcoders@yahoogroups.com
> > > Subject: [flexcoders] DataGrid Column Sort Prevents Drag From Updating 
> > > DataProvider
> > >
> > >
> > > Hi
> > >
> > > I think I've seen this commented on before on flexcoders so sorry for the 
> > > duplication.
> > >
> > > In the reply the person who asked the question was told to turn off the 
> > > Column Sort and that would do it but won't this reset t

[flexcoders] Re: DataGrid Column Sort Prevents Drag From Updating DataProvider

2009-04-07 Thread chris.cobb40
I'm sorry I don't understand what you mean by that - could you explain a bit 
more please.

Sorry for being thick and thanks again.

Chris

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> It occurs to me that this might be easier and faster if you convert the XML 
> to class instances and only go back to XML at the last minute.  Try doing 
> that.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of chris.cobb40
> Sent: Tuesday, April 07, 2009 1:55 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: DataGrid Column Sort Prevents Drag From Updating 
> DataProvider
> 
> 
> Hi Alex
> 
> I gave it a try and I can see what you are getting at but I would be grateful 
> for a bit more help.
> 
> What I want to do is to -
> 
> 1. Make copy of the XMLListCollection dataprovider in an array by using 
> toArray();
> 
> 2. Remove the sort for XMLListCollection dataprovider.
> 
> 3. Copy the data back from the array into the XMLListCollection.
> 
> I tried the following(InitiativeList is the XMLListCollection):
> 
> var iniCopy:Array = InitiativeList.toArray();
> var iniXMLCopy:XMLListCollection = new XMLListCollection();
> 
> InitiativeList.sort = null;
> 
> for (var i:int = 0; i < iniCopy.length; i++) {
> iniXMLCopy.addItemAt(iniCopy[i],i);
> }
> 
> InitiativeList = new XMLListCollection(XMLList(iniXMLCopy.toXMLString()));
> 
> InitiativeList.refresh();
> 
> It sort of works but for some reason the first drag I do does not work but 
> then subsequent ones do.
> 
> Could you give me an idea of where I am going wrong - I guess there is a 
> better way than the long winded method I have used anyway.
> 
> Thanks a lot.
> 
> Chris
> 
> --- In flexcoders@yahoogroups.com, 
> "chris.cobb40"  wrote:
> >
> > Hi Alex
> >
> > Thanks for that - I understand what you meant in your reply to the other 
> > guy now - just me being slow.
> >
> > I will give it a try.
> >
> > Chris
> >
> > --- In flexcoders@yahoogroups.com, 
> > Alex Harui  wrote:
> > >
> > > A collection is either sorted or not, and if there is a sort, it won't 
> > > let you re-order. One way to allow re-ordering is, after a Sort (and the 
> > > CollectionEvent.REFRESH event), copy the sorted results into an unsorted 
> > > collection using toArray on the sorted collection.
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: flexcoders@yahoogroups.com 
> > > [mailto:flexcoders@yahoogroups.com] 
> > > On Behalf Of chris.cobb40
> > > Sent: Monday, April 06, 2009 10:23 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] DataGrid Column Sort Prevents Drag From Updating 
> > > DataProvider
> > >
> > >
> > > Hi
> > >
> > > I think I've seen this commented on before on flexcoders so sorry for the 
> > > duplication.
> > >
> > > In the reply the person who asked the question was told to turn off the 
> > > Column Sort and that would do it but won't this reset the sort order back 
> > > to default before allowing the drag ?
> > >
> > > I want to cater for the situation where the user might want to sort the 
> > > DataGrid into reverse alphabetical order and then just drag the resulting 
> > > first row to be the second one.
> > >
> > > Maybe I'm using the wrong method of turning off the column sort - I set 
> > > the sort property of the ListColection DataProvider for the DataGrid to 
> > > null and then refresh ?
> > >
> > > Any sugegstions please ?
> > >
> > > Thanks
> > >
> > > Chris
> > >
> >
>




[flexcoders] Re: Get Variables from Popup

2009-04-07 Thread Tim Hoff

Hi Christophe,

Using events to communicate, and pass data, from the popup to the
application is regarded as the most loosly coupled method.  If you
choose not to add event listeners to the popup directly, you'll have to
listen for the events by adding listeners to
Application.application.systemManager.  This is because popups are not
children of the application container; thus events don't bubble in a
normal fashion.

-TH

--- In flexcoders@yahoogroups.com, "christophe_jacquelin"
 wrote:
>
> Hello,
>
> I have a main.mxml file and some Popup.mxml files.
>
> I want to known the values of variables that are choosen in the popup
> when I am in the main.xml file.
>
> How to get the popup variables values ?
>
> Thank you,
> Christophe,
>





RE: [flexcoders] How to catch Error 302 from RemoteObject?

2009-04-07 Thread Tracy Spratt
A fault handler?

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Dan
Sent: Tuesday, April 07, 2009 3:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to catch Error 302 from RemoteObject?

 

Hi dear flexpert,

This may be a simple question, but after searching through flex doc and this
forum, i still cannot figure out how can I, for instance, catch an session
timeout exception from SSO such as Siteminder, when I invoke a RemoteObject
call? The Siteminder is set so that it will sent back an temp redirection
302 back when the someone is multilogin or session is expired for the
application. Anyone come accross this before??

Many Thanks.

Regards,
Dan





RE: [flexcoders] Advanced datagrid vs Remote object

2009-04-07 Thread Tracy Spratt
Call your RO method from a dataGrid change handler.

 

Use AsyncToken to identify the call.  I usually just set a string property,
like "called = 'firstcall'".  There are other options.

 

In the resultHandler, get the AsyncToken from the event, and get the value
of "callid". Use switch() to determine the processing for the call.  If this
result is from 'firstcall', then make the second method call.  If the
second, do whatever you need.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of senthilkumarirtt
Sent: Tuesday, April 07, 2009 5:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Advanced datagrid vs Remote object

 

hi i want to call two function in java via remote object from flex when
advanced datagrid row selected.

also want to know about , give the priority to which function call at first
and then next





RE: [flexcoders] Get Variables from Popup

2009-04-07 Thread Tracy Spratt
There are several ways to do this.  I typically expose the values I want in
public properties of the popup, then dispatch a named event on close, and
access the public values in the handler.

 

If you want to get the values before closing, dispatch events when they are
set.

 

You can also access the main app using Application.application, or pass in a
reference to the component that creates the popup, and set values directly.
Or pass in a callback function.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of christophe_jacquelin
Sent: Tuesday, April 07, 2009 9:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Get Variables from Popup

 

Hello, 

I have a main.mxml file and some Popup.mxml files.

I want to known the values of variables that are choosen in the popup 
when I am in the main.xml file.

How to get the popup variables values ?

Thank you,
Christophe, 





[flexcoders] Cancelling service requests?

2009-04-07 Thread djepyon
How can this be done? I need to be able to cancel an initial service request if 
a secondary is made. I've tried using the disconnect() and stop() functions on 
my web service but nothing seems to work. I've resorted to throwing away stale 
responses but this isn't a load friendly solution.



RE: [flexcoders] Re: DataGrid Column Sort Prevents Drag From Updating DataProvider

2009-04-07 Thread Alex Harui
It occurs to me that this might be easier and faster if you convert the XML to 
class instances and only go back to XML at the last minute.  Try doing that.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of chris.cobb40
Sent: Tuesday, April 07, 2009 1:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: DataGrid Column Sort Prevents Drag From Updating 
DataProvider


Hi Alex

I gave it a try and I can see what you are getting at but I would be grateful 
for a bit more help.

What I want to do is to -

1. Make copy of the XMLListCollection dataprovider in an array by using 
toArray();

2. Remove the sort for XMLListCollection dataprovider.

3. Copy the data back from the array into the XMLListCollection.

I tried the following(InitiativeList is the XMLListCollection):

var iniCopy:Array = InitiativeList.toArray();
var iniXMLCopy:XMLListCollection = new XMLListCollection();

InitiativeList.sort = null;

for (var i:int = 0; i < iniCopy.length; i++) {
iniXMLCopy.addItemAt(iniCopy[i],i);
}

InitiativeList = new XMLListCollection(XMLList(iniXMLCopy.toXMLString()));

InitiativeList.refresh();

It sort of works but for some reason the first drag I do does not work but then 
subsequent ones do.

Could you give me an idea of where I am going wrong - I guess there is a better 
way than the long winded method I have used anyway.

Thanks a lot.

Chris

--- In flexcoders@yahoogroups.com, 
"chris.cobb40"  wrote:
>
> Hi Alex
>
> Thanks for that - I understand what you meant in your reply to the other guy 
> now - just me being slow.
>
> I will give it a try.
>
> Chris
>
> --- In flexcoders@yahoogroups.com, Alex 
> Harui  wrote:
> >
> > A collection is either sorted or not, and if there is a sort, it won't let 
> > you re-order. One way to allow re-ordering is, after a Sort (and the 
> > CollectionEvent.REFRESH event), copy the sorted results into an unsorted 
> > collection using toArray on the sorted collection.
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com 
> > [mailto:flexcoders@yahoogroups.com] On 
> > Behalf Of chris.cobb40
> > Sent: Monday, April 06, 2009 10:23 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] DataGrid Column Sort Prevents Drag From Updating 
> > DataProvider
> >
> >
> > Hi
> >
> > I think I've seen this commented on before on flexcoders so sorry for the 
> > duplication.
> >
> > In the reply the person who asked the question was told to turn off the 
> > Column Sort and that would do it but won't this reset the sort order back 
> > to default before allowing the drag ?
> >
> > I want to cater for the situation where the user might want to sort the 
> > DataGrid into reverse alphabetical order and then just drag the resulting 
> > first row to be the second one.
> >
> > Maybe I'm using the wrong method of turning off the column sort - I set the 
> > sort property of the ListColection DataProvider for the DataGrid to null 
> > and then refresh ?
> >
> > Any sugegstions please ?
> >
> > Thanks
> >
> > Chris
> >
>



RE: [flexcoders] select non-top level items in a hierarchical menu

2009-04-07 Thread Maciek Sakrejda
Right, but that click does *not* cascade through parent menus--this is
the problem. If I have a hierarchy, I can only use this trick on the
top-most menu unless I add handlers to all menus in the chain, and I'm
not sure how to find these a priori...

-Maciek


-Original Message-
From: Tracy Spratt 
Reply-to: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] select non-top level items in a hierarchical
menu
Date: Tue, 7 Apr 2009 00:33:39 -0400

The Menu will dispatch a plain “click” event for the parent nodes.
Since menu options also dispatch “click”, you need to check for tht in
the handler. 

 

Tracy Spratt,

Lariat Services, development services available




From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Maciek Sakrejda
Sent: Monday, April 06, 2009 6:07 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] select non-top level items in a hierarchical
menu


 

So it looks like I can fake this by tracking a stack of open menus and
dynamically adding / removing MOUSE_DOWN listeners to the last menu
opened / closed. This seems... ahem... less than ideal. Anyone have a
better suggestion?

-Maciek

-Original Message-
From: Maciek Sakrejda 
Reply-to: flexcoders@yahoogroups.com
To: flexcoders 
Subject: [flexcoders] select non-top level items in a hierarchical menu
Date: Mon, 06 Apr 2009 13:07:37 -0700

I need the ability to select non-leaf items in a hierarchical menu--is
this doable? Basically, suppose I have a dataProvider like this:

[ { label: 'a' },
{ label: 'b', children: [ { label: '1' }, { label: '2' } ] } ]

I want to be able to select a, b, 1, or 2. I can do exactly what I want
with a Tree, but I was hoping for something more compact. It seems that
selecting a node that has children does not dispatch an ITEM_CLICK
event: it just automatically opens the submenu. I'd like to open/close
the submenu on rollOver/rollOut, and dispatch a normal ITEM_CLICK for
that item on a click.

-Maciek







[flexcoders] Re: maven compile flex project

2009-04-07 Thread vvandens
By the way Ivan, sorry for having missed your name... I can't figure out where 
Jonas comes from...




[flexcoders] Re: When is Gumbo expiration date?

2009-04-07 Thread rlenoel
Hi,

the "computer date" tip does work.

But I don't really understand why this alpha version has an expiration date.

Was it planned to release the beta version before the March 31st deadline ?

And what about bug reports if nobody can test it anymore ?

I tried to reactivate the Gumbo builder with my flex builder 3 serial number 
but i doesn't work...

I just want to know if there is really no solution.

Or if you're going to announce the beta release tomorrow ? 

please :)

Romain

--- In flexcoders@yahoogroups.com, Matt Chotin  wrote:
>
> Yep, there have been so many changes since this preview came out that I 
> really wouldn't recommend coding against it.  Code against a more recent 
> nightly build of the SDK.
> 
> Matt
> 
> 
> On 4/6/09 7:32 AM, "Nate Beck"  wrote:
> 
> 
> 
> 
> You probably shouldn't programming anything critical in Gumbo in the first 
> place.  There are many things that are changing since the Flex Builder Gumbo 
> preview came out, particularly the FxPrefix.
> 
> That being said, you can still go and grab that latest version of the Flex 
> SDK from opensource.adobe.com  , and use mxmlc 
> to compile your code.  I believe some people have been using Flex Builder 3 
> to compile Flex SDK 4 code as well, although I haven't personally done it.
> 
> For what it's worth, even if you went and got the nightly build of Flex SDK 
> Gumbo, your code probably won't work with all the recent changes made to 
> Gumbo.
> 
> HTH,
> Nate
> 
> 
> On Mon, Apr 6, 2009 at 6:34 AM, djhatrick  wrote:
> 
> 
> 
> Matt,
> 
> How do we keep Gumbo running? the 'old set the date on the computer back' 
> trick???
> 
> P
> 
> 
> 
> --- In flexcoders@yahoogroups.com  , 
> Matt Chotin  wrote:
> >
> > Hi,
> >
> > March 31 I believe.  We are not going to have the new beta out by then 
> > either.
> >
> > Matt
> >
> >
> > On 2/27/09 2:46 PM, "djhatrick"  wrote:
> >
> >
> >
> >
> > Hope it's not March 1?  Just checking...  In case.
> >
> > Thanks,
> > Patrick
> >
>




[flexcoders] Re: resolved...Bar Chart Label - probably easy for most to resolve!!

2009-04-07 Thread flexnewbie06
Thank you...

Script:

public function setLabel(cat:Object, pcat:Object, ax:CategoryAxis, 
catItem:Object):String
 {
var label:String;
label = catItem.displayName.toString();
return label; 
 };


mxml:


  
 


 < mx:BarSeries yField="ip" xField="errorIndex" displayName="Error  
Index" styleName="{barColor()}"/>
 

--- In flexcoders@yahoogroups.com, Maciek Sakrejda  wrote:
>
> CategoryAxis.labelFunction, and use IP for the categoryField.
> 
> 
> -Original Message-
> From: flexnewbie06 
> Reply-to: flexcoders@yahoogroups.com
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Bar Chart Label - probably easy for most to
> resolve!!
> Date: Mon, 06 Apr 2009 18:54:24 -
> 
> Hi all, 
> I am wondering if it is possible to use a different field for the label
> than the one used in the axis category in a bar chart. 
> 
> To expand...
> 
> 
> 
>  
> 
> 
>  styleName="{barColor()}"/>
>  
> 
> I am trying to show a bar chart that shows a list of services delivered
> by their respect delivery %. I want the label field on the vertical axis
> to show the "display name" of the service but I want the bar series to
> be based on the "IP" of the service. If I try to use the display name of
> the service it backfires because sometimes there are duplicate services
> with the same name, then the bar chart just wigs out and draws those
> bars on top of each other. But there are never duplicate IP's so I'd be
> safe there. I just need clean labels.
> 
> Obviously the above code doesn't work but that is where my brain is
> right now. Could anyone point me in the right direction.
> 
> regards
>




Re: [flexcoders] Pros and Cons of Writing Air UI's in Pure Flash

2009-04-07 Thread Scott Delap
I don't disagree.  I have the same personal sentiment.  I hate walling  
a major portion of our UI off just for the sake of iteration speed.   
I've tried backporting the Flex4 compiler items but they didn't really  
help.  I also can't seem to find a magic bullet in regards to the  
compiler.  I've patched it myself and our compilation time seems to be  
relative spread out between embedded assets, classes, etc.


Scott

On Apr 6, 2009, at 10:25 PM, Josh McDonald wrote:

Personally, I'd think long and hard before doing something like  
this. It really depends on how much of the actual "work" is in the  
very top layer of frosting, how much work is done in the "meat" of  
the AIR app, and what kind of feedback you need to have going  
between these layers.


Perhaps you can get the designers to build simpler components  
(buttons, window decorations, etc) in Flash using the FCK, and lay  
them out with MXML and Builder. If they're building SWCs with the  
FCK at least they can expose [Event] metadata and such, which will  
make life easier for whoever needs to tie things together in Builder  
for the AIR side of things. I'd be very loath to make SWFs part of  
my app for anything more complex than image resources. If it  
generates Events and exposes an API, I need to interact with it  
without regard for its internal timeline, the possibility of memory  
leaks caused by loading SWFs (mainly in Player 9), etc.


I agree with them 100% that compile-time is horrible for Builder.  
Adobe knows this, and they're working on it. Building from Ant using  
MXMLC rather than Builder is apparently faster as-is, and I believe  
you can get a signifigant speedup using the compiler from Flex 4 but  
building against Flex 3 libraries. This opens you up to "issues" as  
Fx4 is still in early development, but most of the changes these  
days appear to be happening in Spark and the new MXML stuff, so  
building against the old namespace using the Halo components could  
be a helper. Also, recently on the FlexShow podcast they interviewed  
a guy (sorry, name escapes me) who's been backporting some of the  
speedups from Fx4 into Flex 3. They're not part of the official  
download, but I believe you can patch the compiler source, recompile  
with Java, and reap the benefits of his hard work without the  
technical risk inherent in building using the WIP Gumbo toolchain.










Enough ranting and suggestions from me, I think - time to yield the  
floor! :)


-Josh


2009/4/7 Scott Delap 
I have a question for the list. We are currently doing rapid UI
changes to our Air application. Our UI designers that have experience
with Flash have not been happy with the iteration turn around time of
"skinning" our UI's. Complains range from issues with compilation
time to being able to easily preview changes. They have proposed that
we develop our UI's in pure Flash with only Flash level UI controls.
We'd then embed these UI's as swfs in our Flex/Actionscript code. I
can see doing this for some UI components. However, I must admit I'm
very hesitant to implement the entire UI this way since it becomes one
big passive view black box. Would anyone else have pro's or con's to
such an approach?

Scott




--
"Therefore, send not to know For whom the bell tolls. It tolls for  
thee."


Josh 'G-Funk' McDonald
  -  j...@joshmcdonald.info
  -  http://twitter.com/sophistifunk
  -  http://flex.joshmcdonald.info/







[flexcoders] Get Variables from Popup

2009-04-07 Thread christophe_jacquelin
Hello, 

I have a main.mxml file and some Popup.mxml files.

I want to known the values of variables that are choosen in the popup 
when I am in the main.xml file.

How to get the popup variables values ?

Thank you,
Christophe, 




[flexcoders] Re: Access active column header (DataGrid)

2009-04-07 Thread valdhor
I don't understand what you mean.

I extended the Text class for my ItemRenderer.

Here is my item renderer class:

package renderers
{
 import mx.controls.*;
 import mx.controls.dataGridClasses.DataGridListData;
 import mx.utils.StringUtil;
 import flash.display.Graphics;

 public class ProblemsCellField extends Text
 {
 private var fieldValue:String;

 public function ProblemsCellField()
 {
 super();
 }

 override public function set data(value:Object):void
 {
 if(value != null)
 {
 super.data = value;
 fieldValue =
value[DataGridListData(listData).dataField];

 text = StringUtil.trim(fieldValue);
 }
 }

 override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
 {
 super.updateDisplayList(unscaledWidth, unscaledHeight);
 var g:Graphics = graphics;
 g.clear();
 g.beginFill(0xBB);
 g.drawRect(0, -2, unscaledWidth, unscaledHeight + 4);
 g.endFill();
 }
 }
}

And to use it:




HTH.



Steve

--- In flexcoders@yahoogroups.com, "vitaly.nikolenko"  wrote:
>
> yes, but there's no
> updateDisplayList
> in parent DataGridItemRenderer class
> Which else method can i override to draw graphics and use valid with
and height?
>
>
>
> --- In flexcoders@yahoogroups.com, "valdhor" valdhorlists@ wrote:
> >
> > As I understand it, there is no backgroundColor style. What I did
was
> > use a graphic fill:
> >
> >  override protected function
> > updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
> >  {
> >  super.updateDisplayList(unscaledWidth, unscaledHeight);
> >  var g:Graphics = graphics;
> >  g.clear();
> >  g.beginFill(0xBB);
> >  g.drawRect(0, -2, unscaledWidth, unscaledHeight + 4);
> >  g.endFill();
> >  }
> >
> >
>



[flexcoders] Re: Problems opening window from AIR system tray app

2009-04-07 Thread michob

I can't easily grab it right now, but it was basically a similar exception in 
UIComponent but to do with styles instead of the LayoutManager.

I managed to achieve what I wanted by changing my base file to an mxml 
implementing a WindowedApplication and setting its visibility to false.  I'd 
still like to understand why I can't get it to work by extending Sprite like 
the sample app I linked to, but this will do in the meantime. :)

Thanks for your help!

Cheers,
Mitch.


--- In flexcoders@yahoogroups.com, "sunild99"  wrote:
>
> I think your guess to the problem is right on, your main application extends 
> Sprite, not NativeApplication.
> 
> What was the exception you got when the app extended NativeApplication?
> 
> Regards,
> Sunil
> 
> 
> --- In flexcoders@yahoogroups.com, "michob"  wrote:
> >
> > 
> > I just found a reference that is doing something very similar (see below); 
> > but somehow I still have problems with mine.  
> > 
> > http://www.adobe.com/devnet/air/flex/quickstart/creating_non-rectangular_windows.html
> > 
> > Thanks again,
> > Mitch.
> > 
> > --- In flexcoders@yahoogroups.com, "michob"  wrote:
> > >
> > > Hi folks,
> > > 
> > > I'm working on an AIR app that lives in the system tray / dock.  It
> > > should not have a visible window at startup, only a system tray icon. 
> > > After some event, I would like to create one of two windows (depending
> > > on the event).  I've got the system tray part working, but can't get the
> > > window to open...
> > > 
> > > TrayApp.as:
> > > 
> > > 
> > > class TrayApp extends Sprite
> > > {
> > >   //  etc 
> > > 
> > >   function processEvent()
> > >   {
> > > var wnd:Window = new MyWindow();
> > > mywindow.open();
> > >   }
> > >   //  etc 
> > > }
> > > 
> > > 
> > > 
> > > MyWindow.mxml:
> > > 
> > > 
> > > http://www.adobe.com/2006/mxml";  width="400"
> > > height="300">
> > >
> > > 
> > > 
> > > 
> > > 
> > > When I run this, I get an exception deep in UIComponent:
> > > 
> > > TypeError: Error #1009: Cannot access a property or method of a null
> > > object reference.
> > >  at
> > > mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::updateC\
> > > allbacks()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\\
> > > UIComponent.as:5124]
> > > 
> > > 
> > > I suspect that maybe I can't call the open() of Window from my app that
> > > extends Sprite because some of the application framework is missing
> > > (like layout managers, etc..).  Maybe it has to extend
> > > Application/NativeApplication instead?  I tried that, but got another
> > > odd exception.
> > > 
> > > Anyone know how to do this?
> > > 
> > > Thanks,
> > > Mitch.
> > >
> >
>




[flexcoders] send request

2009-04-07 Thread btc132
Hello all
I want send a request from a text table to a other web and send a request to 
click "Search" button of the web. i done
private function send_request():void{
// Create a requestthat sends data to the 
http://thesaurus.reference.com/ page
var request:URLRequest = new 
URLRequest("http://thesaurus.reference.com/";);
// Create some variables to send, some text
var variables:URLVariables = new URLVariables( );
variables.sometext = "patent";
// Set the data to be sent to the variables
request.data = variables;
// Send the data to the script for processing
sendToURL(request);
click_search();
}
private function click_search():void{
var loader:URLLoader = null;
loader = new URLLoader();
var variables:URLVariables = new URLVariables();
variables.clicksearch = 'sbut';
variables.textvalue = 'qleft';

}

but i don't know send request to click "button" and write value of my text 
table to web's text to automatic search in it
Can you help me? 
Thanks



[flexcoders] Re: Access active column header (DataGrid)

2009-04-07 Thread vitaly.nikolenko
yes, but there's no 
updateDisplayList
in parent DataGridItemRenderer class
Which else method can i override to draw graphics and use valid with and height?



--- In flexcoders@yahoogroups.com, "valdhor"  wrote:
>
> As I understand it, there is no backgroundColor style. What I did was
> use a graphic fill:
> 
>  override protected function
> updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
>  {
>  super.updateDisplayList(unscaledWidth, unscaledHeight);
>  var g:Graphics = graphics;
>  g.clear();
>  g.beginFill(0xBB);
>  g.drawRect(0, -2, unscaledWidth, unscaledHeight + 4);
>  g.endFill();
>  }
> 
> 





Re: [flexcoders] Vidoe Tutorials Needed

2009-04-07 Thread Brad Bueche
You can also try lynda.com.  They have excellent video's.  They even have
Joey Lott teaching ActionScript 3.0 (and not framework specific at that!).
 They have about 50 hours of flex traning alone. They also have Flash CS4
(CS3 and older) training. Dreamweaver training.  ColdFusion 8 training. etc.
 Very good and high quality video.
$25 a month though.   However, I was  watching the free ones last night
(approx first 5 lessons of each course are free) and they are  very good.
lynda.com covers  all the Adobe CS software (even older versions)

designprovideo's also has some adobe cs4 training but not nearly as  much as
 lynda.com does.

brad

On Mon, Apr 6, 2009 at 11:59 PM, Shabir Gilkar wrote:

>   Thanks You very much Mr Jeffry Houser.
>
> I hope the links provided by you may help me.
>
> Currently i am learning flash cs3 and after that i would like to take ADOBE
> FLEX 3 and that is why i am collecting materials for that.
>
> Thanks for being there!
> *
> With High Regards
>
> Shabir Ahmad Gilkar*
>
> --- On *Mon, 6/4/09, Jeffry Houser * wrote:
>
>
> From: Jeffry Houser 
> Subject: Re: [flexcoders] Vidoe Tutorials Needed
> To: flexcoders@yahoogroups.com
> Date: Monday, 6 April, 2009, 5:57 PM
>
>  Adobe's Learn Flex in a Week: http://www.adobe. com/devnet/
> flex/videotraini ng/ 
> The Flex Show Podcast ScreenShots: http://www.theflexs how.com/blog/
> index.cfm/ Fifteen-Minutes- 
> With-Flex
>
> Shabir Gilkar wrote:
>
>   Dear Friends,
>
> I am fresher in Flex Builder 3 and i want to learn Flex. Can any buddy help
> me in getting best explinatory video tutorials for that.
>
> I hope some buddy will definatley help me.
>
> *With High Regards
>
> Shabir Ahmad Gilkar*
> **
> *From Kashmir the Heaven!*
>
> --
> Add more friends to your messenger and enjoy! Invite them 
> now.
>
>
> --
> Jeffry Houser, Technical Entrepreneur
> Adobe Community Expert: http://tinyurl. com/684b5h 
> http://www.twitter. com/reboog711   | 
> Phone: 203-379-0773
> --
> Easy to use Interface Components for Flex Developers
> http://www.flextras .com?c=104 
> --
> http://www.theflexs how.com 
> http://www.jeffryho user.com 
> --
> Part of the DotComIt Brain Trust
>
>
> --
> Unlimited freedom, unlimited storage. Get it 
> now
>
>  
>


[flexcoders] FAQ model

2009-04-07 Thread christophe_jacquelin
Hello, 

I am searching an original model in Flex for doing the FAQ of my website. 

Thank you,
christophe,




[flexcoders] Advanced datagrid vs Remote object

2009-04-07 Thread senthilkumarirtt
hi i want to call two function in java via remote object from flex when 
advanced datagrid row selected.


also want to know about , give the priority to which function call at first and 
then next



[flexcoders] Article on QA and Testing

2009-04-07 Thread p_shedikare
Hi All,

I suggest you all to read this article by Anjan Kumar & Sudhir Patnaik on 
Metrics ~ A Tool to Improve Quality. 
Please use the link below:   http://qaguild.com/weekly_article.php?id=50  

Kind Regards,
Prashanth




[flexcoders] Re: DataGrid Column Sort Prevents Drag From Updating DataProvider

2009-04-07 Thread chris.cobb40
Hi Alex

I gave it a try and I can see what you are getting at but I would be grateful 
for a bit more help.

What I want to do is to -

1. Make copy of the XMLListCollection dataprovider in an array by using 
toArray();

2. Remove the sort for XMLListCollection dataprovider.

3. Copy the data back from the array into the XMLListCollection.

I tried the following(InitiativeList is the XMLListCollection):

var iniCopy:Array = InitiativeList.toArray();
var iniXMLCopy:XMLListCollection = new XMLListCollection();

InitiativeList.sort = null;

for (var i:int = 0; i < iniCopy.length; i++) {
iniXMLCopy.addItemAt(iniCopy[i],i);
}

InitiativeList = new XMLListCollection(XMLList(iniXMLCopy.toXMLString()));

InitiativeList.refresh();

It sort of works but for some reason the first drag I do does not work but then 
subsequent ones do.

Could you give me an idea of where I am going wrong - I guess there is a better 
way than the long winded method I have used anyway.

Thanks a lot.

Chris


--- In flexcoders@yahoogroups.com, "chris.cobb40"  wrote:
>
> Hi Alex
> 
> Thanks for that - I understand what you meant in your reply to the other guy 
> now - just me being slow.
> 
> I will give it a try.
> 
> Chris
> 
> --- In flexcoders@yahoogroups.com, Alex Harui  wrote:
> >
> > A collection is either sorted or not, and if there is a sort, it won't let 
> > you re-order.  One way to allow re-ordering is, after a Sort (and the 
> > CollectionEvent.REFRESH event), copy the sorted results into an unsorted 
> > collection using toArray on the sorted collection.
> > 
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.
> > Blog: http://blogs.adobe.com/aharui
> > 
> > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> > Behalf Of chris.cobb40
> > Sent: Monday, April 06, 2009 10:23 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] DataGrid Column Sort Prevents Drag From Updating 
> > DataProvider
> > 
> > 
> > Hi
> > 
> > I think I've seen this commented on before on flexcoders so sorry for the 
> > duplication.
> > 
> > In the reply the person who asked the question was told to turn off the 
> > Column Sort and that would do it but won't this reset the sort order back 
> > to default before allowing the drag ?
> > 
> > I want to cater for the situation where the user might want to sort the 
> > DataGrid into reverse alphabetical order and then just drag the resulting 
> > first row to be the second one.
> > 
> > Maybe I'm using the wrong method of turning off the column sort - I set the 
> > sort property of the ListColection DataProvider for the DataGrid to null 
> > and then refresh ?
> > 
> > Any sugegstions please ?
> > 
> > Thanks
> > 
> > Chris
> >
>




[flexcoders] How to catch Error 302 from RemoteObject?

2009-04-07 Thread Dan
Hi dear flexpert,

This may be a simple question, but after searching through flex doc and this 
forum, i still cannot figure out how can I, for instance, catch an session 
timeout exception from SSO such as Siteminder, when I invoke a RemoteObject 
call? The Siteminder is set so that it will sent back an temp redirection 302 
back when the someone is multilogin or session is expired for the application. 
Anyone come accross this before??

Many Thanks.

Regards,
Dan



[flexcoders] Re: DataGrid Column Sort Prevents Drag From Updating DataProvider

2009-04-07 Thread chris.cobb40
Hi Alex

Thanks for that - I understand what you meant in your reply to the other guy 
now - just me being slow.

I will give it a try.

Chris

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> A collection is either sorted or not, and if there is a sort, it won't let 
> you re-order.  One way to allow re-ordering is, after a Sort (and the 
> CollectionEvent.REFRESH event), copy the sorted results into an unsorted 
> collection using toArray on the sorted collection.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of chris.cobb40
> Sent: Monday, April 06, 2009 10:23 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] DataGrid Column Sort Prevents Drag From Updating 
> DataProvider
> 
> 
> Hi
> 
> I think I've seen this commented on before on flexcoders so sorry for the 
> duplication.
> 
> In the reply the person who asked the question was told to turn off the 
> Column Sort and that would do it but won't this reset the sort order back to 
> default before allowing the drag ?
> 
> I want to cater for the situation where the user might want to sort the 
> DataGrid into reverse alphabetical order and then just drag the resulting 
> first row to be the second one.
> 
> Maybe I'm using the wrong method of turning off the column sort - I set the 
> sort property of the ListColection DataProvider for the DataGrid to null and 
> then refresh ?
> 
> Any sugegstions please ?
> 
> Thanks
> 
> Chris
>