[flexcoders] Future Value AS Function [1 Attachment]

2009-07-23 Thread ashish vyas
Hi Guys,

  I have created a function to calculate the Future Value,  It is financial 
function that can be found in excel and other finance related applications.  It 
is small piece of AS code.  I thought it will useful to my other pals as well 
and wanted to share it with you.


    Please let me know if any one of you want any sort of Financial function, 
I`ll try my best to create it for you.


Thank & Best regards,
Ashish Vyas.



  Looking for local information? Find it on Yahoo! Local 
http://in.local.yahoo.com/

[flexcoders] PureMVC

2009-06-18 Thread Ashish Verma
Hello All,

 

I am very new for PureMVC architecture. After reading about Model, View and
controller and their progressive actor proxy, mediator and command I am
looking for some big demo application in PureMVC. Please provide me link,
archive or something similar.

 

 

Best,

Ashish

 



RE: [flexcoders] Flying text or passing text??

2009-06-17 Thread Ashish Verma
The very simple trick to do that. Place the label at the bottom of the
Canvas and take the label text in string.  Here is the source code:

 



http://www.adobe.com/2006/mxml";
layout="absolute" creationComplete="(scrollTextHorizontaly())">



  

  

 

   



 

Best,

Ashish

 

 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Vivian Richard
Sent: Wednesday, June 17, 2009 11:54 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flying text or passing text??

 






Where can I view those examples? I have used move effect for canvas
and panel. The way I used it was - I made the x or y coordinate of the
moving element to some thing so that it is not visible at all and once
some event is triggered I just move it in using move effect.

Are you suggesting that same thing for this text effect?

On Wed, Jun 17, 2009 at 12:29 AM, Tracy Sprattmailto:tracy%40nts3rd.com> > wrote:
>
>
> One way to do this is to use a canvas of fixed width and inside that have
a
> lable that is the length of the text, and use a Move effect to move the
> label over the canvas.
>
>
>
> There are examples available.
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
>
> 
>
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ]
On
> Behalf Of hworke
> Sent: Wednesday, June 17, 2009 1:04 AM
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Flying text or passing text??
>
>
>
>
>
>
> Hi, I am trying to create an effect using
> text. I do not know what to call it - flying
> text or passing text!! At the bottom of
> the TV screen we always see Headline news
> or stock market info text are moving from
> right to left - I want to do something like
> that. What is the best option for me?
>
> Regards..
>
> 





[flexcoders] Need help for ApplicationUpdaterUI library in AIR

2009-05-18 Thread ashish vyas
Hi there,

 I am using ApplicationUpdaterUI lib for
updating my application whenever a newer version is released.  It is
working fine,  but I want to customize it, to be specific, it`s look n
feel and the message text is what I am looking at.  Could you please
help me out in doing so.

Thank you !
Ashish Vyas


  Own a website.Get an unlimited package.Pay next to nothing.*Go to 
http://in.business.yahoo.com/

[flexcoders] Component with Text and Image in sameline

2009-03-10 Thread Ashish Verma
Hello All,
Want to make a component in Flex 3:
Here is the specification of the application –
1.   We need to develop a windows/web application in which we want to
have a component which can accommodate images in line with the text.


2.   We can move/drag the images/text in that component using mouse. The
text or images adjust themselves inline while moving.

3.   We can cut / copy / paste the text not the images.

4.   We can also write text in between the images.

5.   You have to use the following XML to load this component. You can
have the images where you will find the braces. You have to use different
images for {0} and {1}.

<@xml version=”1.0” encoding=”utf-8” ?>



This is {0} a windows application {1} in which we want to have text between
the images



Any Help would be appriciate.


[flexcoders] Holi Hai ...............................

2009-03-09 Thread Ashish Verma
[image: http://www.bindaaspoll.com/festivals/images/holi-greeting5.jpg]


[image: http://www.bindaaspoll.com/festivals/images/holi-greeting1.jpg]

[image: http://www.bindaaspoll.com/festivals/images/holi-greeting2.jpg]

[image: http://www.bindaaspoll.com/festivals/images/holi-greeting3.jpg]

[image: http://www.bindaaspoll.com/festivals/images/holi-greeting4.jpg]


[image: http://www.bindaaspoll.com/festivals/images/holi-greeting6.jpg]



-- 
Regards
Vineet Jaiswal
[Software Engineer]
Dataman Computer Systems Pvt. Ltd.


Re: [flexcoders] Flex Interview Questions

2009-03-09 Thread Ashish Verma
They could ask you about the followings:

Advanced Datagrid functionalities
Basic Operators like is, typeof, instanceof, >>>, ===, !==
Basic function and constants like random(), Nan, indexOf()
Datatypes: Array, Number
Architecture: Cairngorm, PureMVC,
Event Delegation Model: bubble, traget and capture
DisplayList
Custom Components MXML & AS
RSL, SWC


Best,
Ashish

On Mon, Mar 9, 2009 at 1:57 PM, claudiu ursica wrote:

>There was a topic like this a few moths ago, check the archives ..
> you'll find some nice stuff in there ...
>
> Claudiu
>
>  --
> *From:* Shyam Prasad 
> *To:* flexcoders@yahoogroups.com
> *Sent:* Sunday, March 8, 2009 5:47:27 PM
> *Subject:* [flexcoders] Flex Interview Questions
>
>
> Hi,
>
> Can anyone provide any website for the Interview Questions for Flex ?
>
> Thanks
>
> Prasad
>
>
>  
>


Re: [flexcoders] Credit card processing in Flex

2009-03-04 Thread Ashish Verma
I think you have to integrate with some Payment Gateway. Contact with Paypal
or other CC service provider they could give you sample account for testing
and URL also on their you could redirect you payment request from Flex using
navigateURL() or ExternalInterface.




Best,
Ashish

On Wed, Mar 4, 2009 at 8:39 PM, Scott  wrote:

>   Anyone have a website or information that references how to process
> credit cards through flex?
>
> Thanks
> Scott
> 
>


Re: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data

2009-03-03 Thread Ashish Verma
 You can use code like this


// Update the waiting window status

splashWindow.msgForUser ="Perparing Wixi Desktop Folder Structure ...";

// taking the evet's current targate

tempURLLoader = URLLoader(event.currentTarget);

// taking

dataString = String(tempURLLoader.data);

dataFromWixi = JSON.decode(dataString);

dataFromWixi = Object(dataFromWixi);

wixiFoldersXMLString = new String();



if ( dataFromWixi )

{

//wixiFoldersXMLString =
DestinationNode.getParentXML(dataFromWixi[0].name.toString(),dataFromWixi[0].URL.toString());

wixiFoldersXMLString =
DestinationNode.getParentXML("Desktop",dataFromWixi[0].URL.toString());

if ( dataFromWixi[0].children )

{

prepareSubfoldersWixiStructure(dataFromWixi[0].children);

}

wixiFoldersXMLString = wixiFoldersXMLString +
DestinationNode.getParentXMLEnd();

}

tempByteArray = new ByteArray();

tempByteArray.writeUTF(wixiFoldersXMLString);

tempByteArray.position = 0;

wixiFoldersXMLString = tempByteArray.readUTF();
Best,
Ashish

On Wed, Mar 4, 2009 at 11:38 AM, Tracy Spratt  wrote:

>Then if you trace the length of rawArray, what do you get?
>
>
>
> I do not know JSON, but there are techniques to figure out exactly where a
> problem lies.
>
>
>
>
>
> Tracy
>  --
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Keisha Lexie
> *Sent:* Tuesday, March 03, 2009 11:08 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] Re: Error #1034: Type Coercion failed: cannot
> convert JSON Data
>
>
>
> Yes,  I have it like this:
>
> private function updatedPHPDataResult(event:ResultEvent):void
>  {
>lblStatus.text = String(event.result);
>  }
>
> --Keisha
>
>
>  --
>
> *From:* Tracy Spratt 
> *To:* flexcoders@yahoogroups.com
> *Sent:* Tuesday, March 3, 2009 5:33:05 PM
> *Subject:* RE: [flexcoders] Re: Error #1034: Type Coercion failed: cannot
> convert JSON Data
>
> Is your data in event.result?
>
> Tracy
>  --
>
> *From:* flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com]
> *On Behalf Of *keishalexie
> *Sent:* Tuesday, March 03, 2009 5:29 PM
> *To:* flexcod...@yahoogro ups.com
> *Subject:* [flexcoders] Re: Error #1034: Type Coercion failed: cannot
> convert JSON Data
>
>
>
> Here's where it is trying to decode from the project I have
>
> private function getPHPData(event: ResultEvent) :void
> {
> var rawArray:Array;
> var rawData:String = String(event. result);
> rawArray = JSON.decode( rawData) as Array;
> dataArray = new ArrayCollection( rawArray) ;
> }
>
> It's like it is just blocked and the information that is in the tables
> from mysql cannot get processed into my flex data tables properly.
>
> --- In flexcod...@yahoogro ups.com , Anggie
> Bratadinata
>  wrote:
> >
> > Have you decoded the JSON data ?
> >
> > Here's a snippet from a project I'm working on:
> >
> > public function resultHandler( e:ResultEvent) :void{
> > var rawString:String = String(e.result) ;
> > var json:* = JSON.decode( rawString) ;
> > var players:Array = json as Array;
> > _model.leaders = new ArrayCollection( players);
> > }
> >
> > I use the AC as a dataProvider for some list component.
> >
> > hth,
> > --
> > Anggie Bratadinata | www.masputih. com | Indonesia
> >
> > On Tue, Mar 3, 2009 at 7:58 PM, keishalexie  wrote:
> >
> > > Hi Everyone,
> > >
> > > I am fairly new to Flex and am doing a project using Flex 3, the
> > > as3corelib, and a PHP file that is sending json data. The json data
> > > is not being displayed in my data table and what is coming through is
> > > valid (I checked in the JSON Validator). I really am not sure where
> > > the problem is: the mxml, php, as3corelib, or what? Any suggestions
> > > and I will post code if need be.
> > >
> > >
> >
>
>
>
> 
>


Re: [flexcoders] Dynamic Advanced Datagrid

2009-02-27 Thread Ashish Verma
May be helpful to you

http://prosameer.googlepages.com/MasterGrid.html

Best,
Ashish
On Fri, Feb 27, 2009 at 7:22 PM, Adrian Williams
wrote:

>   Venkat,
>
> More details about what you want to do would help elicit a better
> response.
>
> Adrian
>
> venkat eswar wrote:
>
>How to do Dynamic tree inside advanced datagrid
>
>  
>


Re: [flexcoders] accessing flex functions from outside an app

2009-02-27 Thread Ashish Verma
You can take advantage of following things

1. navigateToURL() - fro calling javascript function from Flex check browser
comptability
2. flash.netExternalInterface - with call () and callable () to call
function flex to javascript and vis versa
3. FA Bridge - Flez AJAX bridge : wraped ExternalInterface to provide
simplicity to call function from flex java JS and JS to flex.


Best,
Ashish

On Fri, Feb 27, 2009 at 3:42 PM, el_koose  wrote:

>   hi guys,
>
> i'm fairly new to flex but ok with my as3. have built an app with all
> functionality enclosed but in the real life version part of the nav
> will not be flex, perhaps HTML. What, if any, are the best ways to
> trigger state changes and functions from outside a flex app? is this
> possible?
>
> i have looked around for answers but it seems to be a fuzzy thing to
> search for.
>
> hope you can help,
>
> el_koose
>
> 
>


Re: [flexcoders] SWF in a Panel

2009-02-27 Thread Ashish Verma
And also if you want to access properties of Panel from the SWF use
parentApplication. from SWF file

On Fri, Feb 27, 2009 at 3:38 PM, christophe_jacquelin <
christophe_jacque...@yahoo.fr> wrote:

>   Hello,
>
> How to draw an existing SWF file into a Panel ?
>
> Thank you,
> Christophe,
>
> 
>


Re: [flexcoders] How to find the actual type of a custom flex component?

2009-02-26 Thread Ashish Verma
You can use "is" operator to compare that object with your desired set of
classes using if - else if conditions


Best,
Ashish
On Thu, Feb 26, 2009 at 3:30 PM, Gregor Kiddie  wrote:

>I think describeType() gives the inheritance list. You could pick it
> out of that. It certainly gives the baseclass
>
>
>
> Gk.
>
> *Gregor Kiddie*
> Senior Developer
> *INPS*
>
> Tel:   01382 564343
>
> Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ
>
> Registered Number: 1788577
>
> Registered in the UK
>
> Visit our Internet Web site at www.inps.co.uk
>
> The information in this internet email is confidential and is intended
> solely for the addressee. Access, copying or re-use of information in it by
> anyone else is not authorised. Any views or opinions presented are solely
> those of the author and do not necessarily represent those of INPS or any of
> its affiliates. If you are not the intended recipient please contact
> is.helpd...@inps.co.uk
>  --
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *pmotzfeldt
> *Sent:* 26 February 2009 07:41
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] How to find the actual type of a custom flex
> component?
>
>
>
> Hi,
>
> I am wondering if anybody knows how I can find the actual class type
> of a custom component?
>
> By that I mean I create a custom component that is a VBox, but I call
> it MyCustomBox, and whenever I call className on that it returns
> MyCustomBox, but I want to get the class VBox by any means.
>
> Appreciate any help, thanks!
>
> 
>


Re: [flexcoders] Flex & RAM memory use - (probably a question for the player engineers?)

2009-02-26 Thread Ashish Verma
For the first problem I don't have clue but for second problem I can say
that it's due to weird behaviour of Flash Garbage Collector.

On Thu, Feb 26, 2009 at 2:48 PM, nwebb  wrote:

>   Hi,
>
> we're having 2 issues with memory in Flex:
>
> 1) Part way through our Flex application we open an external HTML page (3rd
> party page). The user selects items from this page and then closes the page
> & the control is then returned to the Flex application. This 3rd  party page
> is heavy in terms of memory, and that memory is never getting released once
> the page is closed. Is it at all possible that Flex is holding on to a
> handle to that page and if so is there any way to release it, or is this
> definitely not a Flex problem, and more a browser issues or issue with the
> external page as I expect?
>
> 2) The Flex app is one part of a much larger website. When we proceed past
> the Flex app (ie the user proceeds to a page where the app isn't embedded),
> again much of the memory Flex was using doesn't seem to be getting released.
> A browser issue?
>
> Needless to say IE seems to be much more of a memory hog, but we've been
> looking at this in both IE and FireFox.
>
> Any help much appreciated.
>
> Cheers,
> Neil
>
>
>
>
> 
>


Re: [flexcoders] Reading the output of an AIR application in C#

2009-02-26 Thread Ashish Verma
I think there is AxInterop.ShockwaveFlashObjects.dll that would be useful



On Thu, Feb 26, 2009 at 4:46 PM, akila_ksri  wrote:

>   Hi,
>
> I have an Air application which is launched from a C# application
> using System.Diagnostics.Process.Start("myAirApp.exe"). I need to be
> able to return some results from the Air app back to my C# app.
>
> Is there any way to do this?
>
> Any help regarding this would be greatly appreciated.
>
> Thanks in advance,
> Akila
>
> 
>


Re: [flexcoders] VBox question

2009-02-25 Thread Ashish Verma
Using percentWidth and percentHeight proerties you cam set in ActionScript.



On Thu, Feb 26, 2009 at 12:20 PM, elevight  wrote:

>   In MXML, you set a VBox's width to 100% by:
>
> 
>
> But if you instantiated a VBox in actionscript as in:
>
> var vbox:VBox = new VBox():
>
> How do you set its width to 100%?
>
> Thanks.
>
> 
>


[flexcoders] In AIR Application fonts getting distort

2009-02-17 Thread Ashish Verma
Hello All,
Facing a strange problem. Actually I made an application using Flex - 3.0
later I build it Flex SDK 3.2 now on MAC system the font is getting distort
what is wrong with application. I can see only the font with bold weight
getting distort.


Please advice me.



Best,
Ashish


[flexcoders] AIR Application is not Appearing

2009-02-13 Thread Ashish Verma
Hello All,
I created an AIR Application which was previously based on AIR 1.0 and I am
some more features in that application and compiling with the update of Flex
3 and targeting it for AIR 1.5. After making air file I am putting it onto
sever to access by users. But when any user trying to run it after uploading
it's not displaying any window only showing task-bar button and doing
noting. When I use the task-bar context to move command I can see the dotted
rectangle on the desktop. I also checked for the installation folder of the
application in C:\Documents and Settings\username\Local Settings but there
was no any folder for it.

Please help me out.


Best,
Ashish


[flexcoders] Birthday Please

2009-01-27 Thread Ashish Verma
Hello

I am creating a birthday calendar for myself.  Can you please click on the link 
below and enter your birthday for me?

http://www.birthdayalarm.com/bd2/84448129a626903632b1454856004c699364312d1386

Ashish



Re: [flexcoders] Re: Flex 3 Certification

2008-12-24 Thread Ashish Verma
In these above links nothing is special there. Please provide some content
or links so that I can check myself whether I am capable to give flex 3
Exam.




On Wed, Dec 24, 2008 at 7:07 PM, valdhor wrote:

>   Googling this, I found the following links:
>
> http://flexcertification.wordpress.com/
> http://flexblog.faratasystems.com/?p=328
> http://office.realeyesmedia.com/blogs/jun/?p=22
> http://www.pxldesigns.com/attest/
>
> --- In flexcoders@yahoogroups.com ,
> "r.den...@...@..." 
> wrote:
> >
> > Hi Ashish,
> >
> > I also Want flex 3 sample Question Papers. Please kindly let me know.
> >
> > Sended Request in Gtalk , Add me for any doubts and Queries in Flex.
> >
> > Regards,
> > R.Denesh Kumar rdene2...@... ,rden...@...
> >
> >
> > --- On Wed, 12/24/08, Ashish Verma  wrote:
> >
> > > From: Ashish Verma 
> > > Subject: Re: [flexcoders] Flex 3 Certification
> > > To: flexcoders@yahoogroups.com 
> > > Date: Wednesday, December 24, 2008, 11:45 AM
> > > I have this link but what I am asking about for demo papers
> > > with more
> > > questions.
> > >
> > > On Wed, Dec 24, 2008 at 10:43 AM, Rick Winscot
> > > wrote:
> > >
> > > > The study guide for the exam:
> > > >
> > > >
> > > http://partners.adobe.com/public/en/ace/ACE_Exam_Guide_FlexAIR.pdf
> > > >
> > > > Rick Winscot
> > > >
> > > >
> > > >
> > > > On 12/23/08 11:38 PM, "Ashish Verma"
> > >  wrote:
> > > >
> > > >
> > > >
> > > >
> > > > Hello All,
> > > >
> > > > I want to give Flex 3 certification exam. I know the
> > > details about the
> > > > promatic center and all. what I want to know from
> > > where I can download the
> > > > sample question papares for flex 3 if not available
> > > could you tell me site
> > > > for flex 2 at least.
> > > >
> > > >
> > > >
> > > > Regards,
> > > > Ashish
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> >
>
> 
>


Re: [flexcoders] Flex 3 Certification

2008-12-23 Thread Ashish Verma
I have this link but what I am asking about for demo papers with more
questions.

On Wed, Dec 24, 2008 at 10:43 AM, Rick Winscot wrote:

>   The study guide for the exam:
>
> http://partners.adobe.com/public/en/ace/ACE_Exam_Guide_FlexAIR.pdf
>
> Rick Winscot
>
>
>
> On 12/23/08 11:38 PM, "Ashish Verma"  wrote:
>
>
>
>
> Hello All,
>
> I want to give Flex 3 certification exam. I know the details about the
> promatic center and all. what I want to know from where I can download the
> sample question papares for flex 3 if not available could you tell me site
> for flex 2 at least.
>
>
>
> Regards,
> Ashish
>
>
>
>
>
>
> 
>


[flexcoders] Flex 3 Certification

2008-12-23 Thread Ashish Verma
Hello All,

I want to give Flex 3 certification exam. I know the details about the
promatic center and all. what I want to know from where I can download the
sample question papares for flex 3 if not available could you tell me site
for flex 2 at least.



Regards,
Ashish


Re: [flexcoders] Button with Icon and two labels one with Left align while Other with right Align

2008-12-19 Thread Ashish Verma
I tried the same. but how to fine tune all the methods like meaure, update
list, label properties with this new textfield. and main problem is that the
alignment is apply only for button not for textfield. please provide some
work around.


Best,
Ashish

On Sat, Dec 20, 2008 at 1:03 AM, Manish Jethani wrote:

>On Fri, Dec 19, 2008 at 5:36 PM, Ashish Verma 
> >
> wrote:
>
> > I am creating a button in flex. which would have an icon and two labels.
> The
> > First label will contain the command text while other could contain
> shortcut
> > key. I want all the shortcut keys should be right aligned.it should
> retain
> > it's state while I drag the component. Any work around on the same.
>
> I would consider subclassing Button and adding another label
> (TextField), which would be right-aligned. It shouldn't be too hard:
> you'll have to override the standard createChildren,
> updateDisplayList, etc.
>
> Manish
>
> 
>


Re: [flexcoders] Directory selection in FLEX

2008-12-16 Thread Ashish Verma
As per my information there is only one way to that which is you could
create directory using Javascript API but within Temp Internet folder
by using External Interface  or the FA Bridge.

Best,
Ashish

On Tue, Dec 16, 2008 at 4:35 PM, shruti shety wrote:

> Yeah looks like, but was just hoping against hope to see if there is
> any other way of doing it from FLEX apps.
>
>
>
> --- On *Tue, 12/16/08, Ashish Verma * wrote:
>
> From: Ashish Verma 
> Subject: Re: [flexcoders] Directory selection in FLEX
> To: flexcoders@yahoogroups.com
> Date: Tuesday, December 16, 2008, 4:31 PM
>
>   I don't think so that you can do the same from FLEX application since
> Browser security sandbox won't allow you for the same. but same you could
> using AIR with javascript.
>
> Best,
> Ashish
>
> On Tue, Dec 16, 2008 at 3:29 PM, shruti shety  yahoo.com
> > wrote:
>
>> Hi,
>>
>>  I need a way in my FLEX application which allows the user to
>> create/select the directory from the file system.
>> File reference class doesn't help me this.
>> I can do this in ADOBE AIR, but i want to know i can integrate this into
>> my Flex web application.
>> Please suggest is there any other way to achieve this functionality.
>>
>> Thanks,
>> Shruti
>>
>>
>
> 
>


Re: [flexcoders] Directory selection in FLEX

2008-12-16 Thread Ashish Verma
I don't think so that you can do the same from FLEX application since
Browser security sandbox won't allow you for the same. but same you could
using AIR with javascript.

Best,
Ashish

On Tue, Dec 16, 2008 at 3:29 PM, shruti shety wrote:

> Hi,
>
>  I need a way in my FLEX application which allows the user to create/select
> the directory from the file system.
> File reference class doesn't help me this.
> I can do this in ADOBE AIR, but i want to know i can integrate this into my
> Flex web application.
> Please suggest is there any other way to achieve this functionality.
>
> Thanks,
> Shruti
>
> 
>


RE: [flexcoders] FlexBuilder on 64bit machine any good?

2008-12-15 Thread Ashish
Yes. More RAM is necessary for Flex. At least 2 GB.

 

Best,

Ashish

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Darrin Kay
Sent: Monday, December 15, 2008 4:23 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FlexBuilder on 64bit machine any good?

 

I have a 64 bit laptop, and Flex builder runs as a 32bit app.  It still runs
like a rock star but it does not take full advantage of the 64bit.

 

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ralf Bokelberg
Sent: Monday, December 15, 2008 3:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FlexBuilder on 64bit machine any good?

 

Hi guys

I'm in the process of choosing a new machine to be placed under my
christmas tree :). I wonder, if anybody has some experiences with 64
bit machines and FlexBuilder? Does it run at all? What is the
performance like? Does it make use of lots of RAM?

Cheers
Ralf.

 

<><>

Re: [flexcoders] Removing an item from a sorted ArrayCollection?

2008-11-25 Thread Ashish Verma
Hello All,
I want to be Flex Certified. from where i can get the Demo Test Papers.


Thanks
Ashish

On Fri, Nov 21, 2008 at 10:51 PM, bjorn <[EMAIL PROTECTED]> wrote:

>   I experienced some problems with ArrayCollection's removeItemAt(). It
> seemed to work... randomly.
>
> Tucked away in the documentation i found this little gem:
> "Note: If you use the ICollectionView interface to sort or filter a
> collection, do not use the IList interface to manipulate the data, because
> the results are indeterminate."
>
> My problem, of course, was that I had a sort on the ac, and that I used
> IList's removeItemAt().
>
> I don't understand the rationale behind this, maybe someone can explain to
> me why it's difficult to implement removeItemAt() on a
> sorted ArrayCollection ... I mean, I _am_ working with sorted data here, so
> when I say index 11 I mean index 11 on the sorted data. That's the data I
> see, that's the data I'm using, I don't need to know anything about the
> underlying Array and the element's _real index_ the  ArrayCollection
> knows which element this refers to in the underlying Array, so there
> shouldn't be a problem ...?
>
> Anyway, given the restraints we're working with here - what is the best way
> to approach this? I need to be able to remove items from a sorted
> ArrayCollection - any best practices?
>
> Bjørn
> --
> ==
> http://www.juicability.com - flex blog
> http://www.expressionengine.no - ExpressionEngine; the world's most
> flexible cms
>
>  
>


RE: [flexcoders] Re: How do I get the ControlBar to show at the t op of my Panel?

2007-03-21 Thread Ashish Goyal
I'm not sure. If it doesn't work inside the Panel then you can also place it
on top of the Panel.

 

You can get more info about ApplicationControlBar at
http://livedocs.adobe.com/flex/201/langref/mx/containers/ApplicationControlB
ar.html
<http://livedocs.adobe.com/flex/201/langref/mx/containers/ApplicationControl
Bar.html> 

 

-Ashish

 

 

  _  

From: michael_ramirez44 [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 21, 2007 3:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How do I get the ControlBar to show at the t op of
my Panel?

 

Ashish,

Will the ApplicationControlBar work inside a Panel control?

Michael

--- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com,
Ashish Goyal <[EMAIL PROTECTED]> 
wrote:
>
> Try using mx:ApplicationControlBar
> 
> 
> 
> -Ashish
> 
> 
> 
> 
> 
> _ 
> 
> From: scott_flex [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 21, 2007 10:56 AM
> To: [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com
> Subject: [flexcoders] Re: How do I get the ControlBar to show at 
the top of
> my Panel?
> 
> 
> 
> The first thing i would do is make sure that your  
mxml 
> tag is NOT the last mxml tag in your component.
> 
> Have you tried making it the first? That's what i'm doing on one of 
my 
> panels where i do want a Control bar of buttons at the top of my 
popup 
> Panel window.
> 
> --Scott
> 
> --- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> 
ups.com,
> "michael_ramirez44" 
>  wrote:
> >
> > I want my Panel control to have a ControlBar link componet that 
> appears 
> > at the top of the Panel instead of the bottom. Basically I want 
my 
> > Panel control to have a Application type menu.
> >
>

 



RE: [flexcoders] Re: How do I get the ControlBar to show at the t op of my Panel?

2007-03-21 Thread Ashish Goyal
Try using mx:ApplicationControlBar

 

-Ashish

 

 

  _  

From: scott_flex [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 21, 2007 10:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How do I get the ControlBar to show at the top of
my Panel?

 

The first thing i would do is make sure that your  mxml 
tag is NOT the last mxml tag in your component.

Have you tried making it the first? That's what i'm doing on one of my 
panels where i do want a Control bar of buttons at the top of my popup 
Panel window.

--Scott

--- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com,
"michael_ramirez44" 
<[EMAIL PROTECTED]> wrote:
>
> I want my Panel control to have a ControlBar link componet that 
appears 
> at the top of the Panel instead of the bottom. Basically I want my 
> Panel control to have a Application type menu.
>

 



RE: [flexcoders] Image Scroller

2006-11-07 Thread Ashish Goyal












I can think of one way you can achieve
this. Add all images to HBox. On Hbox’s creationComplete event use Timer
class to set timer for say 500 ms. In the timer handler function increment the value
of horizontalScrollPosition by 5 px. You can also check if the horizontalScrollPosition
is greater than maxhorizontalScrollPosition and then set horizontalScrollPosition
to 0 again.

 

BTW, you can check out flash.utils package
for more info on Timer class.

 

-Ashish

 

 

 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Freiman
Sent: Tuesday, November 07, 2006
12:34 PM
To: flexcoders
Subject: [flexcoders] Image
Scroller



 







I need an
image scroller.  It's a standard concept.  You have a set of images
in a horizontal list and the list is animated to scroll from right to
left.  It never stops scrolling because the images are looped (it's like
the text scrollers people used to make in Java when applets first showed up). 

This seems to me like it should be easy but the looping is throwing me.

Some extra incentive to help me: it's for a charitable non-profit (a local Boys
and Girls Club).  (Yes I'm channeling my mother to try and guilt people.) 

- Dan






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Re: Viewstack with canvas + centered panel

2006-09-26 Thread Ashish Goyal












Nope, you need to set those properties on
Panel (Children of Canvas). When you set horizontalCenter and verticalCenter to
0 on Panel, it positions itself at the exact center. Now, if you have another
panel which you want to display at 100, 100 center offset then you can set horizontalCenter
and verticalCenter to 100. 

 

For eg:



    

    

      

    

 

Hope this will clear your concern.

 

-Ashish

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of joshuajnoble
Sent: Tuesday, September 26, 2006
8:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Viewstack with canvas + centered panel



 








I think you mean: "To get the Panel centered on the stage (Canvas),
set horizontalCenter and verticalCenter properties on the Canvas to
0." Setting those props on the Panel will only affect children inside
the Panel.

--- In [EMAIL PROTECTED]ups.com,
"Ashish Goyal"
<[EMAIL PROTECTED]> wrote:
>
> To stretch the Canvas you can set the width and height to 100%.
> 
> 
> 
> To get the Panel centered on the stage (Canvas), set horizontalCenter
> and verticalCenter properties on the Panel to 0. These are constrained
> based layout properties and they work only if the component is a child
> of Canvas as in your case.
> 
> 
> 
> -Ashish
> 
> 
> 
> 
> 
> 
> 
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of Jeroen Beckers
> Sent: Monday, September 25, 2006 1:13 PM
> To: flexcoders
> Subject: [flexcoders] Viewstack with canvas + centered panel
> 
> 
> 
> Hi,
> 
> I'm fairly new to Flex, but I have been developing in Flash for some 
> years now. The reason why I mailed you guys is that I'm having trouble 
> with the viewstack component...
> 
> This is what I want:
> 
> -viewstack
> -Canvas
> -Panel
> 
> The Canvas has to cover the entire stage and the Panel has to be 
> centered on the stage (both vertically as horizontally).
> 
> Could anyone give me a push in the right direction? Maybe a little mxml 
> or something ?
> 
> I can get a canvas + panel into a viewstack, but I really can't figure 
> out how to center the panel and 'stretch' the canvas ...
> 
> Greets,
> Jeroen Beckers
> [EMAIL PROTECTED] 40dauntless.be> 
> http://www.dauntless.be <http://www.dauntless.be>
>






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Viewstack with canvas + centered panel

2006-09-25 Thread Ashish Goyal












To stretch the Canvas you can set the
width and height to 100%.

 

To get the Panel centered on the stage (Canvas),
set horizontalCenter and verticalCenter properties on the Panel to 0. These are
constrained based layout properties and they work only if the component is a
child of Canvas as in your case.

 

-Ashish

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeroen Beckers
Sent: Monday, September 25, 2006
1:13 PM
To: flexcoders
Subject: [flexcoders] Viewstack
with canvas + centered panel



 







Hi,

I'm fairly new to Flex, but I have been developing in Flash for some 
years now. The reason why I mailed you guys is that I'm having trouble 
with the viewstack component...

This is what I want:

-viewstack
-Canvas
-Panel

The Canvas has to cover the entire stage and the Panel has to be 
centered on the stage (both vertically as horizontally).

Could anyone give me a push in the right direction? Maybe a little mxml 
or something ?

I can get a canvas + panel into a viewstack, but I really can't figure 
out how to center the panel and 'stretch' the canvas ...

Greets,
Jeroen Beckers
[EMAIL PROTECTED]be
http://www.dauntless.be






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] background color of a text?

2006-09-12 Thread Ashish Goyal












You can just wrap your text or label
component in a container with backgroundColor set to desired color.

For eg:



    



 

-Ashish

 

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of oktay nba
Sent: Saturday, September 09, 2006
12:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] background
color of a text?



 









hi;





how can i give a background color to a text control (like
the anything usage
in html) or label?





 





oktay








__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] MX:AddChild error

2006-06-29 Thread Ashish Goyal












This error means the component you are
trying to add is already a child component of some container. In your example I’m
sure VBox is already a child of application or any other component. You first
need to remove that child from the existing parent and then add to a new parent.

 

If the VBox id is V1 and Panel’s id is P1
then you should write

 





 

 

-Ashish

 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ian Skinner
Sent: Thursday, June 29, 2006 3:43
PM
To: flex@houseoffusion.com;
[EMAIL PROTECTED]; flexcoders@yahoogroups.com
Subject: [flexcoders] MX:AddChild
error



 







Error: Cannot add a child that is already parented.
at mx.states::AddChild/apply()
at mx.core::UIComponent/::applyState()
at mx.core::UIComponent/::commitCurrentState()
at mx.core::UIComponent/setCurrentState()
at mx.core::UIComponent/set currentState()
at MobileCalendar/__button1_click()

What does this mean? I am trying to add a VBox to a Panel in my application.
When I click on the button to add this VBox, I get this error. But I do not
understand what it is trying to tell me.

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 | |
- Binary Soduko
| | |
-

"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___






RE: [flexcoders] View States from Non Bound Buttons

2006-06-13 Thread Ashish Goyal










Remove the quotes which are around the number
(n). selectedIndex property expects an integer and quotes around the number converts
the number to string in ActionScript.

 

-Ashish

 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ethan Miller
Sent: Tuesday, June 13, 2006 10:46
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] View States
from Non Bound Buttons



 







Greetings -

I need to control a viewStack from some plan old buttons (rather than 
from navigator bound to the stack). I though I could simply set the 
click event on the button to be:

click="stackName.selectedIndex='n'"

(where 'stackName' is the name of my stack and 'n' is the stack child 
in question.

However, on compile, this return the following error (on the button):

"Implicit coercion of a value of type String to an unrelated type
int."

The view stack is in the same file (there's another stack in that 
file as well).

More generally, is there a way to reference (and make active) an item 
in a viewStack by id rather than by sequential child number?

cheers, ethan






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___






RE: [flexcoders] TabNavigator.horizontalAlign does not work

2006-05-31 Thread Ashish Goyal




This bug is already fixed in post beta3 builds.

-Ashish


> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of ben.clinkinbeard
> Sent: Wednesday, May 31, 2006 12:37 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] TabNavigator.horizontalAlign does not work
> 
> Can someone from Adobe confirm that this is a known bug and is in the
> queue?
> 
> Thanks,
> Ben
> 
> --- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
> <[EMAIL PROTECTED]> wrote:
> >
> > "I can't even get the tabs to right align. horizontalAlign has no
> > effect."
> >
> > Doesn't appear that this was fixed in B3.
> >
> > Ben
> >
> > --- In flexcoders@yahoogroups.com, "Mac Martine"  wrote:
> > >
> > > I have just logged a bug on this. Thanks.
> > >
> > >
> > >
> > > 
> > >
> > > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > > Behalf Of ben.clinkinbeard
> > > Sent: Thursday, April 06, 2006 10:52 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: how is this TabNavigator is done?
> > >
> > >
> > >
> > > Simply because that is what the design stipulates. Aesthetic
choice
> > > really. I just don't understand why the property does not work as
> > > specified.
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > >
> > >
> > >
> > >
> > > 
> > >
> > > YAHOO! GROUPS LINKS
> > >
> > >
> > >
> > > *   Visit your group "flexcoders
> > > <http://groups.yahoo.com/group/flexcoders> " on the web.
> > >
> > > *   To unsubscribe from this group, send an email to:
> > >    [EMAIL PROTECTED]
> > >

> > >
> > > *   Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > > Service <http://docs.yahoo.com/info/terms/> .
> > >
> > >
> > >
> > > 
> > >
> >
> 
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












RE: [flexcoders] Spacing of repeater objects

2006-05-31 Thread Ashish Goyal



You can set verticalGap to 0 if you are using VBox as the parent container of Repeater or horizontalGap to 0 if you are using HBox.

-Ashish



> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of fi_heidi
> Sent: Wednesday, May 31, 2006 8:31 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Spacing of repeater objects
> 
> I am laying out HBox in a Repeater, and I would like them to be
> completely contiguous, but there seems to be a small space between
> them. I have set the border,left,right,top,bottom and padding on the
> HBoxes to zero, however they are still spaced. How can I get rid of
> this space?
> 
> Thanks,
> /Heidi
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












RE: [flexcoders] TabNavigator Events

2006-05-25 Thread Ashish Goyal



Try show event. You still need to use creationComplete or initialize event on the initial tab. Show event fires when you switch tabs.

-Ashish


> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Ethan Miller
> Sent: Thursday, May 25, 2006 12:46 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] TabNavigator Events
> 
> Greetings -
> 
> I need one set of tabs to drive another set. Can't seem to find an
> event to attache the change to. CreationComplete (on each child in
> the first TabNavigator) works the first time but not on subsequent
> tab changes (they've already been created). Nor does Click work when
> attached to the children (VBox, et al) of the main TabNavigtor.
> 
> Suggestions?
> 
> cheers, ethan
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












RE: [flexcoders] Re: Chaning the click event on a button

2006-05-23 Thread Ashish Goyal



One alternate way is to use states. States has a tag called
SetEventHandler which you can use to change event handlers at runtime.

Define a state in your app:


  
    
handler=" closeState()"/>
  


In your actionscript code, you can set currentState = "state1" which
will change the click handler of the button to closeState().

    button1.label = "Exit";
    button2.label = "Print";
    currentState = "state1";

BTW, you can also set label properties on buttons inside State tag using
SetProperty tag.

Thanks
-Ashish






> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of Gordon Smith
> Sent: Tuesday, May 23, 2006 2:47 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Re: Chaning the click event on a button
> 
> > what I need to do is repalce that click event with another click
event
> 
> 
> You can use removeEventListener() to remove an event handler added by
> addEventListener(). But I don't think it is trivial to remove a
handler
> declared via an MXML event attribute, because the actual handler name
is
> autogenerated. If this is what you are doing, rewrite it to use
> addEventListener() for both handlers.
> 
> - Gordon
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of Jeremy Rottman
> Sent: Tuesday, May 23, 2006 2:25 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Chaning the click event on a button
> 
> On my button I already have one click event, what I need to do is
> repalce that click event with another click event based off of an if
> statment. Here is my code for that if statement.
> 
>   public function StatusModcheckStatusQryResult(result){
>     if (result.status == 'Pending'){
>       ClosingDisplayModcloseResQry(result.fileNum);
> 
>     }
>     else if (result.status == 'Closed'){
> 
> ClosingDisplayModdisplayClosingQry(result.fileNum);
>       button1.label = "Exit";
>       button2.label = "Print";
>       button1.addEventListener(MouseEvent.CLICK,
> closeState);
>     }
>   }
> 
> 
> --- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
> >
> > myButton.addEventListener(MouseEvent.CLICK, doThisFunction);
> >
> > Note that there are no parens on doThisFunction. You are passing a
> reference-to-this-handler to addEventListener(), not calling the
> handler.
> >
> > - Gordon
> >
> >
> > -Original Message-
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On Behalf Of Jeremy Rottman
> > Sent: Tuesday, May 23, 2006 2:03 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Chaning the click event on a button
> >
> > Is it possible to change the click event on a button through
> > actionscript. IE something like this.
> >
> > myButton.click = doThisFunction();
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Background color of DataGrid row and column

2006-04-20 Thread Ashish Goyal



backgroundColor style is not supported for DataGrid. DataGrid has a
style called alternatingRowColors which accepts two colors in an array.
You can just specify same colors to get set the uniform background
color.

For eg, to make green background color, you can set
alternatingRowColors="[0x00FF00, 0x00FF00]"

-Ashish


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mustaq Pradhan
Sent: Thursday, April 20, 2006 3:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Background color of DataGrid row and column

How to set background color of a DG row. By setting backgroundColor 
property I get nothing displayed, but the mxml compiled ok.

Is there any way to set background color of a DG row?






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Calling previous state

2006-04-10 Thread Ashish Goyal
Title: RE: [flexcoders] Calling previous state








There is typo:

"and in the event handler set some variable to the event.OldState" 

Its event.oldState (lower case o)

-Ashish


-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal
Sent: Monday, April 10, 2006 3:03 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Calling previous state

You can use newState and oldState properties of the StateChangeEvent.

There is another event "currentStateChanging" which you can define on

the application tag and in the event handler set some variable to the

event.OldState. 

http://www.adobe.com/2006/mxml"

currentStateChanging="setOldState(event)">

In the script block:

    import mx.events.*;

    public var prevState;

    

    public function setOldState(evt:StateChangeEvent):void

    {

        prevState = evt.oldState;

    }

You can set your currentState to prevState to go to the previous state.

Hope this helps.

-Ashish


-Original Message-

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On

Behalf Of Jeremy Rottman

Sent: Monday, April 10, 2006 2:00 PM

To: flexcoders@yahoogroups.com

Subject: [flexcoders] Calling previous state

I am working on my app, and I have run into a situation where I need

change states and then when a user saves it takes them back to thier

previous state. Is there something like previousState?






--

Flexcoders Mailing List

FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives:

http://www.mail-archive.com/flexcoders%40yahoogroups.com 

Yahoo! Groups Links



 





--

Flexcoders Mailing List

FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

Yahoo! Groups Links

<*> To visit your group on the web, go to:

    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:

    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:

    http://docs.yahoo.com/info/terms/

 









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Calling previous state

2006-04-10 Thread Ashish Goyal
You can use newState and oldState properties of the StateChangeEvent.

There is another event "currentStateChanging" which you can define on
the application tag and in the event handler set some variable to the
event.OldState. 

http://www.adobe.com/2006/mxml";
currentStateChanging="setOldState(event)">

In the script block:

import mx.events.*;
public var prevState;

public function setOldState(evt:StateChangeEvent):void
{
prevState = evt.oldState;
}

You can set your currentState to prevState to go to the previous state.

Hope this helps.

-Ashish


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy Rottman
Sent: Monday, April 10, 2006 2:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Calling previous state

I am working on my app, and I have run into a situation where I need
change states and then when a user saves it takes them back to thier
previous state. Is there something like previousState?






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Init?

2006-03-31 Thread Ashish Goyal
Call function on creationComplete event of Application tag.

-Ashish


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ryan Pieszak
Sent: Friday, March 31, 2006 12:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Init?

How can call a function (which will then remote call a CFC) when the 
swf is loaded.  In other words, I want to prepopulate the application's 
data on load.

Thanks.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Still need some help with my menu bar

2006-03-29 Thread Ashish Goyal

Hey Jeremy,
I just tried your sample and it works fine. If you are naming your
states as menu labels then @label would work and if you are using data
as your state names then @data would work.

For example, I added following states in your code:





















On selecting menu "Search -> Sales or Rentals or Referrals", I do see
state changes.

Please attach your complete code if you are still having problems.

-Ashish



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy Rottman
Sent: Wednesday, March 29, 2006 11:51 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Still need some help with my menu bar

Ashish Goyal wrote:
> Try this:
>
> currentState = [EMAIL PROTECTED];
>
> -Ashish
>
>
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of Jeremy Rottman
> Sent: Wednesday, March 29, 2006 8:12 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Still need some help with my menu bar
>
> after a few hours of playing with the menu bar issue I was having
> yesterday, I am still stuck trying to figure out why my menu handler
> function wont work with my menu bar.
>
> This function is suposed to change teh state when someone changes
> thier selection to one of the child menu items. It appears to change
> the state, but it does not load the state that is called.
>
> function menuHandler( oEvent : * ) : void
> {
>   currentState = oEvent.menuItem.getProperty("data");
> }
>
> Here is my menubar again.
>
>  showRoot="false"  width="100%" height="22" x="1" y="10">
>   
> 
>   
>  
> 
>   
>   
> 
> 
>   
>   
>   

>   
>   
>   
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
>   
>   

> 
> 
>
>   
> 
> 
>
>  
>  />
> 
> 
>
>   
>
>   
> 
>   
>   
>   
>   
>
>  
>   
>  data="compInfo" hint="Displays Company Information Screen" />
> 
> 
> 
> 
>  
>
>
>
>   
>  
> 
>   
> 
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>

> YAHOO! GROUPS LINKS
>
> *  Visit your group "flexcoders
>   <http://groups.yahoo.com/group/flexcoders>" on the web.
>
> *  To unsubscribe from this group, send an email to:
>[EMAIL PROTECTED]
>
<mailto:[EMAIL PROTECTED]>
>
> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>   Service <http://docs.yahoo.com/info/terms/>.
>
>
>
--

RE: [flexcoders] Still need some help with my menu bar

2006-03-29 Thread Ashish Goyal
Try this:

currentState = [EMAIL PROTECTED];

-Ashish


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy Rottman
Sent: Wednesday, March 29, 2006 8:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Still need some help with my menu bar

after a few hours of playing with the menu bar issue I was having
yesterday, I am still stuck trying to figure out why my menu handler
function wont work with my menu bar.

This function is suposed to change teh state when someone changes
thier selection to one of the child menu items. It appears to change
the state, but it does not load the state that is called. 

function menuHandler( oEvent : * ) : void
{
  currentState = oEvent.menuItem.getProperty("data");
}

Here is my menubar again.




 
 



























   






  




  


   






  
   




 















--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Flex 2.0 and Flash 8

2006-02-24 Thread ashish



if flex2.0 supports or recommed flash player 8.5, then we should use the same recommended versions, unless some features will not be working, or some tags of mxml will be depreciated in the older versions  -ashish grover On Fri, Feb 24, 2006 at  7:31 AM, Stephane B. wrote:Is there any way to get an application developed using Flex Builder 2.0 to be viewable with version 8 (not 8.5) of the player? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> ___YAHOO! GROUPS LINKS    •  Visit your group " flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.    •  To unsubscribe from this group, send an email to: [EMAIL PROTECTED]   •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . ___-- Sent using Laszlo Mail. Try it yourself.http://www.laszlomail.com





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Dynamically generating tabs:: using the createTab() Method

2006-02-17 Thread ashish



Hi,  I have tried it its available, you can createchild of any container in flex.  -ashish grover On Fri, Feb 17, 2006 at  4:06 AM, Daniel Nelson wrote:ashish, I can't seem to find createChild in the flex api?  Where are you getting this method from?  I only see addChild(). -Dan On 2/15/06, ashish < [EMAIL PROTECTED]> wrote: function addtab(){ tabs.createChild(mx.containers.VBox , undefined, {label:'newBtn',id:'secondOne', mouseDown:'doSomething()'}); //tabs is tabnavigator name and this addtab button has to call on some event } regards, Ashish Grover On Wed, Feb 15, 2006 at 11:33 PM, augie wrote: > Hello, > Does anyone have an example of Dynamically generating tabs and its > content in a Tab Navigator say by clicking a button for example. > > Thanks in advance for all your help, > -Augie Marcello III > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > > > -- Sent using Laszlo Mail. Try it yourself. http://www.laszlomail.com <http://www.laszlomail.com/> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> ___YAHOO! GROUPS LINKS    •  Visit your group " flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.    •  To unsubscribe from this group, send an email to: [EMAIL PROTECTED]   •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . ___-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw> Software developm

RE: [flexcoders] Dynamically generating tabs:: using the createTab() Method

2006-02-17 Thread ashish



ok, i didn't worked on flex2, createchild is available in 1.5 -ashish On Fri, Feb 17, 2006 at  6:44 AM, Gordon Smith wrote:createChild() was from Flex 1.X. In Flex 2.0 you would do var vbox:VBox = new VBox(); vbox.label = "..."; tabs.addChild(vbox); - Gordon ___From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com ] On Behalf Of Daniel Nelson Sent: Thursday, February 16, 2006 2:36 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Dynamically generating tabs:: using the createTab() Method ashish, I can't seem to find createChild in the flex api?  Where are you getting this method from?  I only see addChild(). -Dan On 2/15/06, ashish < [EMAIL PROTECTED]> wrote: function addtab(){ tabs.createChild(mx.containers.VBox , undefined, {label:'newBtn',id:'secondOne', mouseDown:'doSomething()'}); //tabs is tabnavigator name and this addtab button has to call on some event } regards, Ashish Grover On Wed, Feb 15, 2006 at 11:33 PM, augie wrote: > Hello, > Does anyone have an example of Dynamically generating tabs and its > content in a Tab Navigator say by clicking a button for example. > > Thanks in advance for all your help, > -Augie Marcello III > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > > > -- Sent using Laszlo Mail. Try it yourself. http://www.laszlomail.com <http://www.laszlomail.com/> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> ___YAHOO! GROUPS LINKS    •  Visit your group  " flexcoders <http://groups.yahoo.com/group/flexcoders> "  on the web.    •  To unsubscribe  from this group, send an email to: [EMAIL PROTECTED]   •  Your use of  Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . ___-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macro

Re: [flexcoders] Dynamically creating an Accordian

2006-02-17 Thread ashish



Hi, you can use createchild function to add accordian dynamically ashish grover On Fri, Feb 17, 2006 at  5:48 AM, Johannes Nel wrote:i suspect you will find that example has moved to www.ifbin.com. On 2/16/06, augie < [EMAIL PROTECTED]> wrote: Hello, Does anyone have sample code they can post or send me to dynamically create an acccordion based on the data within an XML document like this link below demonstrates? http://www.powersdk.com/ted/2005/05/flex-example-accordion-repeater.phpUnfortunately they have taken down their sample code from their website, and it is exactly what I'm looking for. Thanks in advance for all your help, -Augie Marcello III -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/-- j:pn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> ___YAHOO! GROUPS LINKS    •  Visit your group " flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.    •  To unsubscribe from this group, send an email to: [EMAIL PROTECTED]   •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . ___-- Sent using Laszlo Mail. Try it yourself.http://www.laszlomail.com





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Button icon behaviour (Flex 2.0)

2006-02-16 Thread ashish



Hi,  you can change icons of the buttons dynamically with the help of viewstack container of flex.   -Ashish grover On Wed, Feb 15, 2006 at  8:58 PM, Jason Y. Kwong wrote:What I meant to say was that this was rather awkward.  I would've thought that setting the icon property would set a default icon or some such and that the other styles would override the icon when appropriate.  Guess not... On 2/15/06, Arul Prasad < [EMAIL PROTECTED]> wrote: Yes? On 2/15/06, Jason Y. Kwong < [EMAIL PROTECTED]> wrote: I've got a Button with its icon property set to a coloured icon.  I want the Button to show a greyed out icon when it's disabled, so I set the button's disabledIcon style.  But this disabled icon didn't show up when the button is disabled.  Turns out that if the icon property is set, it's the only icon that gets displayed in all circumstances.  To get the effect I wanted, I had to leave the icon property blank and set 4 styles: upIcon, downIcon, overIcon, disabledIcon.  The first 3 are set to the same coloured icon and the last to the grey one.  Is this how it's supposed to be done? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> ___YAHOO! GROUPS LINKS    •  Visit your group " flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.    •  To unsubscribe from this group, send an email to: [EMAIL PROTECTED]   •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . ___-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+

RE: [flexcoders] Problems with dynamically generating radio button in a radiobutton group

2006-02-16 Thread ashish
Or you can do this by 'creating child' of the radiobuttongroup

-Ashish Grover


On Wed, Feb 15, 2006 at  3:13 PM, Barrau Antoine wrote:

> Hi,
>
> i resolved the problem by creating my group with :
> document["radioGroup"+myField.id+editable] = new RadioButtonGroup();
>
> Thanks a lot for your help Matt.
>
> Antoine
>
> --- Matt Chotin <[EMAIL PROTECTED]> a écrit :
>
>
> -
> Try this?
>
> Don't do createchild for the myGroup, just do
> myVbox["radioGroup"+myField.id+editable] = new
> RadioButtonGroup();
>
> Matt
>
> -Original Message-
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Barrau Antoine
> Sent: Tuesday, February 14, 2006 6:08 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Problems with dynamically
> generating radio button in a radiobutton group
>
> Hi,
> i try to generate dynamic forms using a xml file.
> i have a problem with generating dynamic radio button.
>
> when i create a radioButtonGroup and several radio
> button having the groupName property set to the name
> of the previously radioButtonGroup, i can't manage to
> get the "change" or "click" event of the
> radioButtonGroup to be triggered.
> Here is a piece of my code, where i create the radio
> button group.
>
> Anyone see anything wrong here?
>
> var myGroup =
> 
> myVbox.createChild(mx.controls.RadioButtonGroup,"radioGroup"+myField.id+editable);
> 
> myGroup.addEventListener("click",mx.utils.Delegate.create(this,function():Void{
>Dumper.trace("click event triggered");
>}));
> 
> myGroup.addEventListener("change",mx.utils.Delegate.create(this,function():Void{
>  Dumper.trace("change event triggered );
>}));
>   var radioButtonArray = new Array();
> if (myField.option.length!=undefined)
> {
> radioButtonArray = myField.option;
> }
> else
> {
> radioButtonArray.push(myField.option);
> }
>
> for (var
> radioCounter=0;radioCounter {
>  var myRadioButton = radioButtonArray[radioCounter];
>  var selected:Boolean = false;
>  if (radioCounter==0) selected=true;
>  var myButton =
> 
> myVbox.createChild(mx.controls.RadioButton,"radioButton"+myRadioButton.value,{label:myRadioButton.label,styleName:"label",value:myRadioButton.value,selected:selected,groupName:"radioGroup"+myField.id+editable});
> }
>
>
> Thanks a lot,
>
> Antoine
>
>
>
>
>
> 
> ___
>
> Nouveau : téléphonez moins cher avec Yahoo! Messenger
> ! Découvez les tarifs exceptionnels pour appeler la
> France et l'international.
> Téléchargez sur http://fr.messenger.yahoo.com
>
>
> --
> Flexcoders Mailing List
> FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>   SPONSORED LINKS 
> Web
> site design development   Computer 
> software development   Software design 
> and development 
> Macromedia flex   Software development 
> best practice 
> -
>   YAHOO! GROUPS LINKS
>
>   Visit your group "flexcoders" on the web.
>To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>Your use of Yahoo! Groups is subject to the Yahoo!
> Terms of Service.
>
>   -
>
>
>
>
>
>   
>
>   
>   
> 
> ___ 
> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les 
> tarifs exceptionnels pour appeler la France et l'international.
> Téléchargez sur http://fr.messenger.yahoo.com
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups 
> Links
>
>
>
>
>
>


-- 
Sent using Laszlo Mail. Try it yourself.
http://www.laszlomail.com



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Dynamically generating tabs:: using the createTab() Method

2006-02-16 Thread ashish
function addtab(){
tabs.createChild(mx.containers.VBox , undefined, 
{label:'newBtn',id:'secondOne', mouseDown:'doSomething()'});
//tabs is tabnavigator name and this addtab button has to call on some 
event
}

regards,
Ashish Grover

On Wed, Feb 15, 2006 at 11:33 PM, augie wrote:

> Hello,
> Does anyone have an example of Dynamically generating tabs and its
> content in a Tab Navigator say by clicking a button for example.
>
> Thanks in advance for all your help,
> -Augie Marcello III
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups 
> Links
>
>
>
>
>
>


-- 
Sent using Laszlo Mail. Try it yourself.
http://www.laszlomail.com



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] restrict text size in datagrid cell??

2006-02-16 Thread ashish



what i think, you can do this with the help of cellrenderer, to restrict the characters in datagrid  -ashish grover On Wed, Feb 15, 2006 at 10:15 PM, Alex Uhlmann wrote:http://www.richinternet.de/blog/index.cfm?mode=searchBest, Alex Alex Uhlmann Technical Consultant (Rich  Internet Applications) Adobe Consulting Westpoint, 4 Redheughs  Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338  6969 m: +44 (0) 7917 428 951  [EMAIL PROTECTED]___From: flexcoders@yahoogroups.com  [mailto:[EMAIL PROTECTED] On Behalf Of Parekh, Shweta - BLS  CTR Sent: 15 February 2006 16:33 To: flexcoders@yahoogroups.com Subject: [flexcoders] restrict text size in  datagrid cell?? Hi, How can I specify the maxChars on cells  in a datagrid if I want to restrict the size of text entered in a cell to a  certain limit. For text input etc. Flex has maxChars which takes care of it. How  do I do it in a datagrid? Thanks, Shweta -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> ___YAHOO! GROUPS LINKS    •  Visit your group " flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.    •  To unsubscribe from this group, send an email to: [EMAIL PROTECTED]   •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . ___-- Sent using Laszlo Mail. Try it yourself.http://www.laszlomail.com





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] AS3/Flex2 - Effects and Cancelling them

2006-01-19 Thread Ashish Goyal
There will be three new methods in the next beta release which will
enable you to pause, resume and reverse any effect.

In your case, when you want the effect to stop playing on certain user
input, you can either call pause or you can call reverse to play the
effect in reverse from that point to the starting point to create a nice
effect reversal.

-Ashish




-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Trey Long
Sent: Thursday, January 19, 2006 12:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AS3/Flex2 - Effects and Cancelling them

I am using the Move effect to create a really nice tween in my Flex app.

I want to stop the effect during certain user input and there is an 
endEffect() method that will allow me to stop the event but it abruptly 
jumps to the destination of the Move, whatever the Move.xTo property is.

Can anyone think of a way to cancel the effect without jumping to the 
end of the tween? I tried creating and instance and setting it to null 
when I wanted the effect to stop prematurely but I haven't had any luck.

-James.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] State Transistions

2006-01-11 Thread Ashish Goyal










The effect you see in that example is due
to the resizeEffect property defined on the container. “Transitions”
is a complete different feature with set of new tags to define your own
transition effect when state changes. You can use Sequence or Parallel effects to
create complex and rich choreography of effects. You can also control what
transition effect to play on what particular state change.

 

It’s a really cool and useful
feature and it will be included in the next beta release of Flex 2.0. I
encourage you to download the beta when it comes out and use transitions with
states. 

 

Thanks

-Ashish

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kaushik Mukherjee
Sent: Wednesday, January 11, 2006
3:41 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] State
Transistions



 



I think there is transition effect in states. There I found a state
example in Flex 2 Alpha release sample file, explorer>states>Multi-state
thumbnail example





 





Kaushik

Ashish Goyal
<[EMAIL PROTECTED]> wrote:





States will have support for
transition effects in the next alpha/beta
release.

Thanks
-Ashish



-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of rebel_assualt
Sent: Sunday, January 08, 2006 7:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] State Transistions

Hey, 

I was wondering if anyone had any information of
transistion effects
for flex 2 states? For example an animation or
something that displays
when different states are navigated to.

Thanks
Matt







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com

Yahoo! Groups Links











 



Send
instant messages to your online friends http://in.messenger.yahoo.com 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] State Transistions

2006-01-09 Thread Ashish Goyal
States will have support for transition effects in the next alpha/beta
release.

Thanks
-Ashish



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rebel_assualt
Sent: Sunday, January 08, 2006 7:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] State Transistions

Hey, 

I was wondering if anyone had any information of transistion effects
for flex 2 states? For example an animation or something that displays
when different states are navigated to.

Thanks
Matt







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] how to display ruler in

2006-01-06 Thread Ashish Goyal
If you mean displaying grid with borders, you can do that by setting
borderStyle property to solid in Grid, GridRow and GridItem tags.
You can also change the border thickness by setting borderThickness
property to a valid number.

Let me know if that doesn't answer your question.
Thanks
-Ashish


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of t_msreddy
Sent: Friday, January 06, 2006 8:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to display ruler in http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Flex 2.0 Repeater not working

2006-01-05 Thread Ashish Goyal
Title: RE: [flexcoders] Flex 2.0 Repeater not working








You should have gotten a compiler error since the dataProvider should be in the camel case and your code has it in all lower case. Change it to "dataProvider" then it should work.

 dataProvider="{myAC}">

        

label="{r.currentItem.name}" width="150" x="129"

y="77"/>


Thanks

-Ashish

-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Venkatesh kambhammettu
Sent: Wednesday, January 04, 2006 5:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0 Repeater not working

Hi,

I am a newbie to Flex, trying out Flex2. I am trying

this  sample app from the documentation using a

repeater and for some reason it is just displaying a

blank app/screen. 

Does anybody why this is not working?

Thanks

Venkat

sample.mxml

---





xmlns:mx="http://www.macromedia.com/2005/mxml"

xmlns="*">

    

    

source="{catalog.product}"/>

    

        

label="{r.currentItem.name}" width="150" x="129"

y="77"/>

    



products.xml







    

        Name 

        Price

        Free Ship?

    

    

        Panasonic

        10

        false

    

    

        GE

        5

        yes

    




        

__ 

Yahoo! DSL – Something to write home about. 

Just $16.99/mo. or less. 

dsl.yahoo.com 



--

Flexcoders Mailing List

FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

Yahoo! Groups Links

<*> To visit your group on the web, go to:

    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:

    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:

    http://docs.yahoo.com/info/terms/

 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] mx:Repeater problem

2005-11-23 Thread Ashish Goyal










You cannot access the currentItem property
of a repeater without using binding _expression_ and Flex does not support using
binding _expression_ inside event handlers. For this reason we have a
getRepeaterItem() property and if you use this code, it should work. 

click="alert(event.target.getRepeaterItem().name)”

 

-Ashish

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Hasan Basri
Sent: Wednesday, November 23, 2005
2:00 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] mx:Repeater
problem



 

in the
following code, I have a problem stated below,
label="{list.currentItem.name}" returns a value
but  click="alert(list.currentItem.name)"
returns nothing

how to correct this situation? thanks in advance...


   

   

   

   

   

   

   

   










Yahoo! kullaniyor musunuz?
Simdi, 1GB e-posta saklama alani sunuyor
http://tr.mail.yahoo.com 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] [Flex2] State and size

2005-10-25 Thread Ashish Goyal

Hello Stephane,
It seems like setting resizeEffect on the panel is causing this bug.
Remove resizeEffect="Resize" from the "searchPanel" then switching to
the base state (currentState to '') should work. I have already logged
the bug in the bugbase. Thanks for finding this issue.

-Ashish


> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Stephane De 
> Jonckheere
> Sent: Tuesday, October 25, 2005 12:12 AM
> To: 'flexcoders@yahoogroups.com'
> Subject: [flexcoders] [Flex2] State and size
> 
> Hi all, 
> I'm currently trying Flex 2 and the new State feature.
> I'd like to do some kind of fullscreen button.
> 
> I managed to do that in Flex 2 but I have some problems.
> First of all I need to set the width and height back in a new State.
> Switching back to the Base State (setting currentState to null) is not
> working 'cause the panel keep the width and height of the 
> fullscreen state.
> That's why I'm using the restore state. Ain't it a bug in the 
> state feature?
> Or is there something I am not doing correctly?
> 
> See code below.
> 
> Regards,
> Stephane
> 
> 
>  xmlns:mx="http://www.macromedia.com/2005/mxml"; xmlns="*">
>   
>   
>   
>   
>child="{searchPanel}"/>
>   
>   
>property="height" value="100%"/>
>property="width" value="100%"/>
>property="height" value="100%"/>
>property="width" value="100%"/>
>property="height" value="100%"/>
>property="width" value="25%"/>
>property="height" value="100%"/>
>property="width" value="75%"/>
>property="height" value="100%"/>
>property="width" value="100%"/>
>property="height" value="100%"/>
>property="width" value="100%"/>
>   
>   
>   
>   static var fullscreen:Boolean=false;
>   
>   
>   
>width="25%">
>   
>   
>width="75%"
> hScrollPolicy="off" vScrollPolicy="off">
>width="100%" resizeEffect="Resize">
>width="100%" id="canvas1">
>x="275" y="116"
> label="Switch"
> click="currentState=(fullscreen?'Restore':'FullScreen');fullsc
> reen=!fullscre
> en;" id="button1"/>
>x="275" y="156"
> label="getState" click="if (currentState!=null) {
> mx.controls.Alert.show(currentState.toString()); } else {
> mx.controls.Alert.show('Base State'); }" id="button2"/>
>   
>   
>width="100%">
>width="100%"/>
>   
>   
>   
>   
>   
> 
> 
> 
> 
> **
> *
> 
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager to [EMAIL PROTECTED]
> 
> **
> *
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
> Get Bzzzy! (real tools to help you find a job). Welcome to 
> the Sweet Life.
> http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] F2 Alpha: Repeaters and dynamic HTML text?

2005-10-24 Thread Ashish Goyal





Text and image are aligned to the top as 
designed. Since your bullet image is small, it gives an appearance 
that text is rendered below the image. If possible create a bigger 
bullet image by adding some white space on the top of the image. If 
you want to use the same image then add that image to a VBox and set 
marginTop to some value say 5.
 
Your code would look like:
 

    
  
    
    

    
    

    
mx:Repeater>
 
-Ashish


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, 
  JasonSent: Monday, October 24, 2005 1:16 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] F2 Alpha: 
  Repeaters and dynamic HTML text?
  
  
  OK – thanks Ashish, 
  getting closer.  However, the text drops down and to the right from the 
  bullet, and the bullet is completely snug at the far and upper left.  
  
   
  When rendered as straight 
  HTML it doesn’t do this.  i.e.
   
  
    
  
    
    
    
  
  
   
  That 
  positions the text and graphic completely different. 
  
   
  See the differences here: 
  http://cmt.icfconsulting.com/temp/AFDW/AFDWTOC.html
   
  Any ideas?  
  Thanks.
   
  
  Jason Merrill   
  |   E-Learning Solutions   |  
  icfconsulting.com 
  
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Ashish 
  GoyalSent: Monday, October 
  24, 2005 3:53 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] F2 Alpha: 
  Repeaters and dynamic HTML text?
   
  Wrap your Image and 
  Text tag in HBox inside Repeater.
   
  -Ashish
  
 



From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Merrill, JasonSent: Monday, October 24, 2005 12:48 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] F2 Alpha: 
Repeaters and dynamic HTML text?
Full 
of questions today.  So using Flexbuilder 2 Alpha, I want to use a 
repeater to show text, and so this works fine:
 
 
id="CMMetricsTextRepeater" 

dataProvider="{dataService.result.dashboard.categories.category}">
 
source="@Embed('assets/bullet.gif')" 
/>
  
 
text="{CMMetricsTextRepeater.currentItem.label}"/>

 
However, I 
want that bullet graphic to appear next to the text, but it doesn’t – the 
bullet appears, but the text that follows drops to the next line.  So, 
I thought I would try HTML text, but I’m not sure how to use the dynamic 
data of a repeater since the text is supposed to be enclosed in a CDATA 
tag.  For example, this does not work:
 
 
id="CMMetricsTextRepeater" 

dataProvider="{dataService.result.dashboard.categories.category}">
    

    

    


 
What 
happens is the {CMMetricsTextRepeater.currentItem.label} is 
shown literally since its in the CDATA tag. How do I use repeaters and 
dynamic HTML text?  Do I *have* to use Actionscript for 
this?  If so, how?  Thanks.
 

Jason Merrill   
|   E-Learning Solutions   |  
icfconsulting.com 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 




   

NOTICE:
This 
message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify 
the sender immediately and delete the original. Any other use of this 
e-mail by you is prohibited.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] F2 Alpha: Repeaters and dynamic HTML text?

2005-10-24 Thread Ashish Goyal





Wrap your Image and Text tag in HBox inside 
Repeater.
 
-Ashish

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, 
  JasonSent: Monday, October 24, 2005 12:48 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] F2 Alpha: Repeaters 
  and dynamic HTML text?
  
  
  Full 
  of questions today.  So using Flexbuilder 2 Alpha, I want to use a 
  repeater to show text, and so this works fine:
   
   
  id="CMMetricsTextRepeater" 
  
  dataProvider="{dataService.result.dashboard.categories.category}">
   
  source="@Embed('assets/bullet.gif')" 
  />
    
   
  text="{CMMetricsTextRepeater.currentItem.label}"/>
  
   
  However, I 
  want that bullet graphic to appear next to the text, but it doesn’t – the 
  bullet appears, but the text that follows drops to the next line.  So, I 
  thought I would try HTML text, but I’m not sure how to use the dynamic data of 
  a repeater since the text is supposed to be enclosed in a CDATA tag.  For 
  example, this does not work:
   
   
  id="CMMetricsTextRepeater" 
  
  dataProvider="{dataService.result.dashboard.categories.category}">
      
  
      
  
      
  
  
   
  What 
  happens is the {CMMetricsTextRepeater.currentItem.label} is shown 
  literally since its in the CDATA tag. How do I use repeaters and dynamic HTML 
  text?  Do I *have* to use 
  Actionscript for this?  If so, how?  Thanks.
   
  
  Jason Merrill   
  |   E-Learning Solutions   |  
  icfconsulting.com 
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
  
  
  
  
 
  NOTICE:
  This message is for the designated recipient only and may 
  contain privileged or confidential information. If you have received it in 
  error, please notify the sender immediately and delete the original. Any 
  other use of this e-mail by you is prohibited.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flash Player 8.5 installation file

2005-10-24 Thread Ashish Goyal





"Install Flash Player 8.5 AX.exe" is the installer 
to install ActiveX version of player on IE. Other one is to install plugin 
version of player on all other browsers (Netscape, firefox, opera , 
etc..).
 
-Ashish 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Torben 
  NielsenSent: Monday, October 24, 2005 8:45 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Flash Player 8.5 
  installation file
  
  
  Hi,
   
  I have some experiments that I 
  am making for a client with Flex 2. He would of course like to see them, but 
  he will need Flash Player 8.5 to see them. I looked in the “Flex 2” Folder and 
  found to player installation files:
   
  Install Flash Payer 
  8_5.exe
  Install Flash Player 8.5 
  AX.exe
   
  What’s the difference with these 
  to, and am I allowed to send them to him without breaking the license 
  agreement?
   
  Thanks.
   
  Best 
  regards.
   
  Torben 
  Nielsen
  Starvision 
  Studios
   





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] % in as

2005-10-19 Thread Ashish Goyal

There is a property called percentWidth for setting percentage width in
AS.

Component.percentWidth = 100;

Similarly you can use percentHeight to set height in percentage.

-Ashish
 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Jayabalan
> Sent: Wednesday, October 19, 2005 5:15 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] % in as
> 
> Hi,
> 
>  Anyone know how to set width=100% in actionscript method for any
> component?
> 
> Regards
> Rajesh J
> 
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
> Get Bzzzy! (real tools to help you find a job). Welcome to 
> the Sweet Life.
> http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






RE: [flexcoders] Flex 2.0 - Arrays vs. Collections

2005-10-18 Thread Ashish Goyal
I think the doc is pretty explainatory.. To further explain it, You can
still use an Array as dataProvider but any changes in the dataprovider
array won't update the control. If you want your control (DataGrid, List
etc.) to reflect the changes then you need to use Collection (There is
an ArrayCollection). 

Example:

 // Won't update the
DataGrid if you change element 1 from a to aa.

 // Will
update the DataGrid if you change element 1 from a to aa.

Thanks
-Ashish



> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of fowleryj
> Sent: Tuesday, October 18, 2005 12:10 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex 2.0 - Arrays vs. Collections
> 
> In reference to this page,
> http://livedocs.macromedia.com/labs/1/flex/1587.html, will
> we now
> have to cast an Array to a Collection before binding to it (using it
> as the dataProvider for a DataGrid, for example)?
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
> Most low income households are not online. Help bridge the 
> digital divide today!
> http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






RE: [flexcoders] How to disable tabNavigator if two tabNavigator there

2005-09-20 Thread Ashish Goyal

Use ViewStack.. Check Flex docs for the ViewStack usage.

-Ashish 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of sandip_patil01
> Sent: Tuesday, September 20, 2005 11:15 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How to disable tabNavigator if two 
> tabNavigator there
> 
> 
> Hi All,
> 
> I have two tab navigator.
> 
> when I type URl in browser i need to display one tab navigator out of 
> two navigator.
> 
> And when click on let say on a button another tab navigator will be 
> display.
> 
> Means how to achive this enabling and disabling of tab navigator.
> 
> Thx in advance.
> sandip patil
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
> Most low income households are not online. Help bridge the 
> digital divide today!
> http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Re: Is there a LinkBar style similar to activeTab for tabNavigator

2005-09-12 Thread Ashish Goyal

You can't change the backgroundcolor of the selected link but you can
change the color and font properties to show that its selected. Below is
the sample code, where I'm changing the font color of the selected link
to red and also making it bold. Hope this will help.


http://www.macromedia.com/2003/mxml";
width="600" height="600">




 
 



To show the selected link as red and bold when the page first loads, you
can write an initialize event handler and change the link appearance of
the default selected link in that function.

-Ashish



> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of delaquae
> Sent: Monday, September 12, 2005 7:39 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Is there a LinkBar style similar to 
> activeTab for tabNavigator
> 
> Thanks Saleh,
> 
> I am already quite familiar with the CSS Style explorer but 
> unfortunately it does not expose all the styles that are available 
> for each component and what I'm trying to do is not a documented 
> style that I have been able to find anyway.  I suspect I will have 
> to do it with some ActionScript and that was what I am looking for 
> help with.  But thanks for the response.
> 
> Martin
> 
> --- In flexcoders@yahoogroups.com, vnice Cute <[EMAIL PROTECTED]> 
> wrote:
> > Hello,
> > Please try this URL 
> http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html
> > that may help you to build your CSS file very easy.
> >  
> > Thanks,
> > Saleh
> > 
> > delaquae <[EMAIL PROTECTED]> wrote:
> > Is there any way for a LinkBar to approximate the activeTab style 
> > behaviour?  Either with a style or via ActionScript?  I need to 
> set 
> > the background and text color for a link once it has been selected 
> > in order to visually indicate that it was selected/active. With a 
> > TabNavigator I was able to do this with:
> > 
> > TabNavigator {
> >horizontal-gap: 6;
> >tab-height: 21;
> >theme-color: #ff;
> >background-color: #3399cc;
> >}
> > 
> > Tab {
> >fill-colors: #cc, #f6;
> >selected-fill-colors: #3399cc, #3399cc;
> >color: #33;
> >}
> > 
> > ActiveTab {
> >   color: white;
> >   font-weight: bold;
> >   text-roll-over-color: white;
> >   }
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
> 40yahoogroups.com 
> > 
> > 
> > 
> > -
> > YAHOO! GROUPS LINKS 
> > 
> > 
> > Visit your group "flexcoders" on the web.
> >   
> > To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> >   
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
> Service. 
> > 
> > 
> > -
> > 
> > 
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around 
> > http://mail.yahoo.com
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
> Most low income households are not online. Help bridge the 
> digital divide today!
> http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] How to change the button's image after click

2005-09-12 Thread Ashish Goyal
You can do this easily by setting button's toggle property to true and
then changing the icon image by checking the value of button's selected
property.
See this example code:


http://www.macromedia.com/2003/mxml"; >






    



 
-Ashish



> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Prasad Dhananjaya
> Sent: Sunday, September 11, 2005 9:58 PM
> To: FlexML
> Subject: [flexcoders] How to change the button's image after click
> 
> Hi,
> 
> I want to change the button's image(icon image) after click.
> (use this as toggle button)
> I tried several ways, but failed. Can someone tell me how to do this?
> 
> thanks
> 
> -
> 
> http://www.macromedia.com/2003/mxml"; >
> 
> 
> 
>   
>   
> 
> 
> 
> -
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
> Most low income households are not online. Help bridge the 
> digital divide today!
> http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] HeadColors doesn't work in Panel properly

2005-09-09 Thread Ashish Goyal

headerColors property expects an array of two color values. If you want
header color just to be a single color then you can write it as

headerColors="[0xCFE4FB, 0xCFE4FB]" 
 
-Ashish


> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Tansht
> Sent: Thursday, September 08, 2005 6:55 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] HeadColors doesn't work in Panel properly
> 
> Hi, there
> I tried in vain to use the headerColors in the panel. After I 
> deployed 
> it onto J2EE server, the page shows the following error 
> message. "Failed to parse Array: 0xCFE4FB" or "Failed to parse Array: 
> #CFE4FB" Could anyone please tell me how to solve it? 
> Best Wishes
> David
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
> Most low income households are not online. Help bridge the 
> digital divide today!
> http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Why Canvas don't work?

2005-09-07 Thread Ashish Goyal





widthFlex and heightFlex properties are deprecated so you 
are getting those warnings. You can use the syntax as shown in the warnings to 
get rid of the deprecation warnings.
 
From the error, it seems like you are calling doDragEnter 
method but its not defined anywhere. Let us know if you still getting 
errors after adding doDragEnter method.
 
-Ashish
 
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Igor 
  CostaSent: Wednesday, September 07, 2005 4:34 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Why Canvas don't 
  work?
  I trying to create some drag and drop with canvas but I recive 
  theses errors alerts.
  


  

  Warning /canvas.mxml:50 Property mx.controls.List.widthFlex is deprecated.  Please use width='n%', where n is a number from 1 to 100.
Warning /canvas.mxml:50 Property mx.controls.List.heightFlex is deprecated.  Please use height='n%', where n is a number from 1 to 100.Warning /canvas.mxml:58 Property mx.controls.List.widthFlex is deprecated.  Please use width='n%', where n is a number from 1 to 100.
Warning /canvas.mxml:58 Property mx.controls.List.heightFlex is deprecated.  Please use height='n%', where n is a number from 1 to 100.Warning /canvas.mxml:66 Property mx.controls.List.widthFlex is deprecated.  Please use width='n%', where n is a number from 1 to 100.
Warning /canvas.mxml:66
Property mx.controls.List.heightFlex is deprecated.  Please use height='n%', where n is a number from 1 to 100.And an error on the method with the classesError 
/canvas.mxml:44 There is no method with the name 'doDragEnter'The part of code is below		
	-- Igor Costawww.igorcosta.com





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] drilling down to get dynamically generated form values

2005-09-07 Thread Ashish Goyal
Repeater creates an array of items, so in this case it will create an
array of TestInputs. You can access the value of the first TextInput by
item1[0].text, for the second TextInput as item2[0].text, 2nd value of
first TextInput as item1[1].text and so on...

-Ashish


> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of cruegger2000
> Sent: Wednesday, September 07, 2005 12:52 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] drilling down to get dynamically 
> generated form values
> 
> 
> I create a form dynamically using a repeater shown below. When the 
> user hits the "Submit" button, I want to be able to "drill down" to
> get all of the values for the TextInput fields. How can I get to
> them in ActionScript code for submitForm() starting from "form1"?
> Thanks in advance.
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
>   
>   
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
> Fair play? Video games influencing politics. Click and talk back!
> http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Web Service Input Variable

2005-09-06 Thread Ashish Goyal

Try this

CFC code:







SELECT Line_name AS "NAME", Line_id AS "ID"
FROM Lines
WHERE Order_id LIKE '%#arguments.orderID#%'
ORDER BY Line_id;




 
 

WebService code:

http://192.168.10.17/DistrictsLT9/People.cfc?wsdl";>
   
 
    100  
 
   
 

-Ashish

 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of flexblog5333
> Sent: Tuesday, September 06, 2005 2:13 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Web Service Input Variable
> 
> I have successfully got my Web Service to perform querys using a .cfc 
> but I cannot for the life of me figure out the syntax to pass in and 
> call a single variable in the query.  Any help would be greatly 
> appreciated.  Thanks ahead of time.
> 
> My .mxml Code:
> 
> 
>  wsdl="http://192.168.10.17/DistrictsLT9/People.cfc?wsdl";>
>   
> 
>   VARIABLE??  
> 
>   
> 
> 
> My .cfc Code:
> 
> 
>returnType="query">
>Datasource="#application.appDataSource#" username="listdev" 
> password="RMH383">
>   SELECT Line_name AS "NAME", Line_id AS "ID"
>   FROM Lines
>   WHERE Order_id LIKE '%VARIABLE??%'
>   ORDER BY Line_id;
>   
>   
>   
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
> Most low income households are not online. Help bridge the 
> digital divide today!
> http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Time Chooser

2005-08-30 Thread Ashish Goyal

There is no "TimeChooser" component, but you can use NumericStepper or
ComboBox to display hrs, mins and secs. 

-Ashish

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of RAGUNANDAN VADUKA
> Sent: Tuesday, August 30, 2005 4:00 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Time Chooser
> 
> Hi All,
> 
> I am trying to implement Time Chooser,
> I got a requirement of seleting the Hours, Mins, Secs and AM / PM,
> is there any component similar to DateChooser?
> 
> Thanks
> Ragu Vaduka
> 
> 
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
> Most low income households are not online. Help bridge the 
> digital divide today!
> http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] how to configure flex builder ..................

2005-08-12 Thread ashish sharma



hi, 
I  already installed jrun4 now i want to configure flex builder with jrun4 
 please guide what are the steps. i am using trial version of flex.
   thanks__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Accordeon header, text in different color

2005-08-05 Thread Ashish Goyal
This has been discussed some days ago, search the previous posts.

Anyways, it's a very simple solution. Call a function in the change
event of the accordion and add the below code to that function.

var lastSelected
function selectedPane()
{
lastSelected.setStyle("color", 0x00);
var header =
accordion1.getHeaderAt(accordion1.selectedIndex); // accordion1 is the
id of the accordion
lastSelected = header;
header.setStyle("color", 0xFF)
}

Thanks
-Ashish


> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky
> Sent: Friday, August 05, 2005 8:29 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Accordeon header, text in different color
> 
> Hello Everybody,
> 
> Goal: I need to have text in accordeon header in different color.
> Maybe htmlText field in that header.
> 
> As far as I know we have Button in the accordeon header, so my
> assumption is to extend button class and use it in extended
> accordeonHeader class.
> 
> Maybe someone can suggest better solution?
> 
> Best regards
> Stanislav Zayarsky
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
>  href="http://us.ard.yahoo.com/SIG=12hs4mknp/M=362335.6886445.7
> 839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123263230
> /A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/to
> pics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http:
> //groups.yahoo.com/">In low income neighborhoods, 84% do not 
> own computers. At Network for Good, help bridge the Digital 
> Divide!.
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h743oqn/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123270050/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] showBusyCursor on Creating of Tiles and Children?

2005-08-04 Thread Ashish Goyal

You can call setBusyCursor() and removeBusyCursor() methods of
CursorManager on different events to show and hide busy cursor. See this
flex doc
http://livedocs.macromedia.com/flex/15/flex_docs_en/0611.htm
 
-Ashish


> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of sir_janksalot
> Sent: Thursday, August 04, 2005 2:20 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] showBusyCursor on Creating of Tiles and 
> Children?
> 
> All:
> 
> Is there a way to show a busycursor icon when tiles (using a repeater)
> are being created or when children of a viewstack are being created
> (while waiting as the creationPolict = all).
> 
> Thanks.
> 
> sj
> 
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
>  href="http://us.ard.yahoo.com/SIG=12hi7nqv0/M=362335.6886445.7
> 839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123204008
> /A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/to
> pics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http:
> //groups.yahoo.com/">In low income neighborhoods, 84% do not 
> own computers. At Network for Good, help bridge the Digital 
> Divide!.
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h4214pc/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123207312/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Flex Install on IIS

2005-08-03 Thread Ashish Goyal
Title: Flex Install on IIS





This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248
 
-Ashish

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, 
  AghaSent: Wednesday, August 03, 2005 9:22 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Flex Install on 
  IIS
  
  Hi all,
  How do I install Flex 
  with IIS? CF is already 
  configured to run under IIS.
  Thanks
  Agha Mehdi
  IDT - eBusiness Program 
  Manager
  Work: 
  408.284.8239
  Fax:   
  408.284.2766
  





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Passing variables into an alert handler

2005-08-02 Thread Ashish Goyal

I just reread your question and it seems like you already got that part which I 
have mentioned in my previous post. About the passing of events, I tried adding 
event as the 3rd parameter and getting the event.target value but it returns 
blank. 
Somebody on the flexcodes who have played around with events should be able to 
answer your question..


> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal
> Sent: Tuesday, August 02, 2005 2:23 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Passing variables into an alert handler
> 
> 
> How about simple passing the parameters like:
> 
>  Alert(... ..., Delegate.create(this, 
> this.alertHandler('apples','Bar'));
> 
> And in your alertHandler(myVar,myFoo), you can get the values 
> of your parameters.
> 
> Does this answer your question?
> 
> Thanks
> -Ashish
> 
> 
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beeman
> > Sent: Tuesday, August 02, 2005 9:17 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Passing variables into an alert handler
> > 
> > I'm trying to pass variables into the Delegate that I have 
> > run during an
> > alert.  Here is the code I currently have:
> > 
> > alert("Delete record?", "Alert", mx.controls.Alert.OK |
> > mx.controls.Alert.CANCEL, Delegate.create(this, this.alertHandler),
> > mx.controls.Alert.CANCEL);
> > 
> > I would like to be able to pass variables into the 
> alertHandler, i.e.:
> > 
> > Alert(... ..., Delegate.create(this, this.alertHandler({ 
> > myVar:'apples',
> > myFoo:'Bar' });
> > 
> > This works... but the problem is that the 'event' is no 
> longer passed.
> > Trying to add 'myEvent:event' to that object doesn't work, 
> as I get an
> > error returned saying 'event' doesn't exist.
> > 
> > Is there a way to pass variables using the method above while still
> > capturing the event details?
> > 
> > 
> > 
> > 
> > /***
> > * Jeff Beeman
> > * Digital Media & Instructional Technologies
> > * Arizona State University
> > ***/
> > 
> > 
> > 
> > 
> > 
> >  Yahoo! Groups Sponsor 
> > ~--> 
> >  > href="http://us.ard.yahoo.com/SIG=12hn4jb9f/M=362131.6882499.7
> > 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123006875
> > /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
> > ">Get Bzzzy! (real tools to help you find a job) Welcome to 
> > the Sweet Life - brought to you by One Economy.
> > --
> > --~-> 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
>  href="http://us.ard.yahoo.com/SIG=12htq29fs/M=362329.6886308.7
> 839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123024998
> /A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?p
> age_id=1992
> ">Fair play? Video games influencing politics. Click and talk 
> back!.
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hsc3iup/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123025860/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Passing variables into an alert handler

2005-08-02 Thread Ashish Goyal

How about simple passing the parameters like:

 Alert(... ..., Delegate.create(this, this.alertHandler('apples','Bar'));

And in your alertHandler(myVar,myFoo), you can get the values of your 
parameters.

Does this answer your question?

Thanks
-Ashish



> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beeman
> Sent: Tuesday, August 02, 2005 9:17 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Passing variables into an alert handler
> 
> I'm trying to pass variables into the Delegate that I have 
> run during an
> alert.  Here is the code I currently have:
> 
> alert("Delete record?", "Alert", mx.controls.Alert.OK |
> mx.controls.Alert.CANCEL, Delegate.create(this, this.alertHandler),
> mx.controls.Alert.CANCEL);
> 
> I would like to be able to pass variables into the alertHandler, i.e.:
> 
> Alert(... ..., Delegate.create(this, this.alertHandler({ 
> myVar:'apples',
> myFoo:'Bar' });
> 
> This works... but the problem is that the 'event' is no longer passed.
> Trying to add 'myEvent:event' to that object doesn't work, as I get an
> error returned saying 'event' doesn't exist.
> 
> Is there a way to pass variables using the method above while still
> capturing the event details?
> 
> 
> 
> 
> /***
> * Jeff Beeman
> * Digital Media & Instructional Technologies
> * Arizona State University
> ***/
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
>  href="http://us.ard.yahoo.com/SIG=12hn4jb9f/M=362131.6882499.7
> 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123006875
> /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
> ">Get Bzzzy! (real tools to help you find a job) Welcome to 
> the Sweet Life - brought to you by One Economy.
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12htq29fs/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123024998/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Accordions hide underneath the buttom ControlBar

2005-08-02 Thread Ashish Goyal

It seems like if there are many accordion tabs and you resize the window 
smaller to such an extent that all the accordion tabs cannot be displayed 
inside the panel then accordion headers goes behind the panel header or 
controlbar instead of showing scrollbars. This is definitely a bug and I'll log 
it in the Flex bugbase. I believe very few users will encounter this issue but 
thanks for finding it.

-Ashish
 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Simard, Ghislain
> Sent: Tuesday, August 02, 2005 11:40 AM
> To: 'flexcoders@yahoogroups.com'
> Subject: RE: [flexcoders] Accordions hide underneath the 
> buttom ControlBar
> 
> Hee is the main paert of the file:
> 
>horizontalAlign="center">
>   
>height="100%"
> selectedIndex="0" historyManagement="true" creationPolicy="queued"
> change="{setNewTitle()}" >
>projectID="{projID}"
> id="SiteBatimentFrm"/>
>projectID="{projID}" id="AutresInfoBatimentFrm"/>
>id="RepresentantAutoriseFrm"/>
>id="ProprietaireBatimentFrm"/>
>id="ArchitecteFrm"/>
>   
>id="TechnologueFrm"/>
>id="SimulateurFrm"/>
>id="MursExtPEBCFrm" />
>id="FenestrationPEBCFrm" />
> 
>id="EclairagePEBCFrm" />
>id="CuissonPEBCFrm" />
>id="EvacuaPEBCFrm" />
>   
>id="RegulationPEBCFrm" />
>projectID="{projID}"
> id="General_PEBCFrm"/>
>id="CVCARegulation"/>
>id="CVCACommentaires"/>
>id="CVCANouveauSysteme"/>
>id="CVCAChofageFrm"/>
>id="CVCARefroidissementFrm"/>
>id="CVCAVentilationFrm"/>
>id="CVACResultatsAppuiFinancierFrm"/> 
>id="HQSiteBatimentFrm"/>
>id="HQAutresInformationsBatimentFrm"/>
>   
>id="CentralThermFrm"/>
>projectID="{projID}" id="CentralThermChaudiereFrm" />
>id="CentralThermRefroidisseurFrm" />
>   
>  projectID="{projID}" id="CentralThermPompeChaleurSurBoucleFrm" />
>   
>  projectID="{projID}" id="CentralThermTourRefroidissementFrm" />
>projectID="{projID}" id="CentralThermRegulation" />
>projectID="{projID}" id="CentralThermRefroid" />
>   
>projectID="{projID}"
> id="zone_hallPEBC" zoneGenID="{zoneGenID}" target="{this}"/>
>id="zone_hallMainPEBC"/>
>id="zone_chambresPEBC"/>
>id="zone_corridorsPEBC"/>
>id="zone_salleReceptionPEBC"/>
>id="zone_salleConferencesPEBC"/>
>id="zone_salleMangerPEBC"/>
>id="zone_cuisinePEBC"/>
>id="zone_buanderiePEBC"/>
>id="zone_receptionPEBC"/>
>id="zone_vestiairesPEBC"/>
>id="zone_piscinePEBC"/>
>id="zone_gymnasePEBC"/>
>id="zone_barsSalonsPEBC"/>

RE: [flexcoders] Accordions hide underneath the buttom ControlBar

2005-08-02 Thread Ashish Goyal
ControlBar shouldn't hide anything defined inside the panel. Can you post your 
testfile.

Thanks
-Ashish
 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard
> Sent: Tuesday, August 02, 2005 11:07 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Accordions hide underneath the buttom ControlBar
> 
> Is there a way to prevent the ControlBar to hide some 
> accordion stacks 
> when the browser is resized.
> 
> Thanks
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
>  href="http://us.ard.yahoo.com/SIG=12hsfhnqb/M=362131.6882499.7
825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=> 
1123013246/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
> ">Get Bzzzy! (real tools to help you find a job) Welcome to 
> the Sweet Life - brought to you by One Economy.
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12ht4upej/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123014563/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Rounded corners on Title Window

2005-07-26 Thread Ashish Goyal





Set panelBorderStyle style property to 
roundCorners.
 
-Ashish

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  charlespaz1Sent: Tuesday, July 26, 2005 2:24 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Rounded corners on 
  Title Window
  Is it possible, and if so, how, to make the bottom corners of a 
  TitleWindow rounded like an Alert window?Thanks





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Re: Button toggle clarification

2005-07-22 Thread Ashish Goyal





It seems like my post didn't go thro' first time, 
sending it again...  

Toggle button can be used in many ways. It shows 
visually that if its in a selected state or not as well as you can get or 
set the state of the button programmatically using the "selected" property 
of the button. It returns true if the toggle button is selected and false 
if its not selected.
I don't have really good use case off hand but for eg. say 
you are creating a really simple math app with four buttons for addition, 
subtraction, multiplication and division with two input text boxes and a result 
textbox. If you use the toggle buttons instead of normal buttons user will know 
by looking at the button state the result in the result box is the output of 
which mathematical function. 
 
-Ashish   

  


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Devin 
HollowaySent: Friday, July 22, 2005 2:28 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Button toggle 
clarification
Thank you for pointing that out. I do see it now. Though, it 
doesn't seem all that useful, unless I'm missing the greater purpose. 
It's not like a random user understand the purpose.--- In 
flexcoders@yahoogroups.com, "Ashish Goyal" <[EMAIL PROTECTED]> 
wrote:> You should be able to see a halo around the toggled button 
when you> click. Its same as the halo you see in mouseover 
state.>  > -Ashish> > > 
> > 
  From: flexcoders@yahoogroups.com> 
[mailto:[EMAIL PROTECTED] On Behalf Of Devin Holloway> 
  Sent: Friday, July 22, 2005 1:28 PM> 
  To: flexcoders@yahoogroups.com> 
  Subject: [flexcoders] Button toggle 
clarification>   > 
  >   the 
button control has a toggle attribute. according to the flex> 
docs,>   > 
  "Specifies whether a button can be toggled, 
true, or acts like a> >   
pushbutton, false. The default value is false."> 
  >   My 
initial assumption was that if you set toggle to true, then> if you 
>   clicked a button, it would remain in 
the pressed state until you>   click 
>   it again. But this isn't so. To 
experiment, I created two button> > 
  controls, side by side, one with toggle set 
to true, and the> other >   
false. I couldn't find any difference whatsoever. So obviously> it 
>   doesn't affect anything 
visually.>   > 
  So my question is, what's it for? What does 
it do?>   > 
  >   
>   > 
  -->   
Flexcoders Mailing List>   FAQ:> 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
  Search Archives:> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
>   > 
  >   
>   > 
  SPONSORED LINKS > Computer software 
testing> <http://groups.yahoo.com/gads?t=ms&k=Computer+software+testing&w1=Comput> 
er+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+develo> 
per&c=4&s=93&.sig=kh2CguJwmatU5oBXjFo9Rg>  
  Macromedia flex> <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Computer+softwar> 
e+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=> 
93&.sig=dAUcEV7do91-wrRtVS641g>    
Development> <http://groups.yahoo.com/gads?t=ms&k=Development&w1=Computer+software+te> 
sting&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.> 
sig=AlxNUQBOI7Io7S7nhmxV0Q>    > 
Software developer> <http://groups.yahoo.com/gads?t=ms&k=Software+developer&w1=Computer+soft> 
ware+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4> 
&s=93&.sig=QWIit8JayomoIHLVkV3FDg>  
  > > 
> > 
  YAHOO! GROUPS LINKS > > 
>     
>   *  
Visit your group "flexcoders> <http://groups.yahoo.com/group/flexcoders> 
" on the web.>   
    > 
  *  To 
unsubscribe from this group, send an email to:> 
    
[EMAIL PROTECTED]> 
 
>     
  >   
*  Your use of Yahoo! Groups is subject to the 
Yahoo!> Terms of Service <http://docs.yahoo.com/info/terms/> 
. > > > 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/fle

RE: [flexcoders] Re: Button toggle clarification

2005-07-22 Thread Ashish Goyal





Toggle button can be used in many ways. It shows 
visually that if its in a selected state or not as well as you can get or 
set the state of the button programmatically using the "selected" property 
of the button. It returns true if the toggle button is selected and false 
if its not selected.
I don't have really good use case off hand but for eg. say 
you are creating a really simple math app with four buttons for addition, 
subtraction, multiplication and division with two input text boxes and a result 
textbox. If you use the toggle buttons instead of normal buttons user will know 
by looking at the button state the result in the result box is the output of 
which mathematical function. 
 
-Ashish
 
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Devin 
  HollowaySent: Friday, July 22, 2005 2:28 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: Button toggle 
  clarification
  Thank you for pointing that out. I do see it now. Though, it 
  doesn't seem all that useful, unless I'm missing the greater purpose. It's 
  not like a random user understand the purpose.--- In 
  flexcoders@yahoogroups.com, "Ashish Goyal" <[EMAIL PROTECTED]> wrote:> 
  You should be able to see a halo around the toggled button when you> 
  click. Its same as the halo you see in mouseover state.>  > 
  -Ashish> > > > 
  >   From: 
  flexcoders@yahoogroups.com> [mailto:[EMAIL PROTECTED] On 
  Behalf Of Devin Holloway>   Sent: Friday, 
  July 22, 2005 1:28 PM>   To: 
  flexcoders@yahoogroups.com>   Subject: 
  [flexcoders] Button toggle clarification> 
    >   
  >   the button control has a toggle 
  attribute. according to the flex> docs,> 
    >   
  "Specifies whether a button can be toggled, true, or acts like a> 
  >   pushbutton, false. The default value 
  is false.">   > 
    My initial assumption was that if you set 
  toggle to true, then> if you >   
  clicked a button, it would remain in the pressed state until you> 
    click >   
  it again. But this isn't so. To experiment, I created two button> 
  >   controls, side by side, one with 
  toggle set to true, and the> other > 
    false. I couldn't find any difference 
  whatsoever. So obviously> it >   
  doesn't affect anything visually.>   
  >   So my question is, what's it for? What 
  does it do?>   > 
    >   
  >   > 
    -->   
  Flexcoders Mailing List>   FAQ:> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
    Search Archives:> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  >   > 
    >   
  >   > 
    SPONSORED LINKS > Computer software 
  testing> <http://groups.yahoo.com/gads?t=ms&k=Computer+software+testing&w1=Comput> 
  er+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+develo> 
  per&c=4&s=93&.sig=kh2CguJwmatU5oBXjFo9Rg>  
    Macromedia flex> <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Computer+softwar> 
  e+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=> 
  93&.sig=dAUcEV7do91-wrRtVS641g>    
  Development> <http://groups.yahoo.com/gads?t=ms&k=Development&w1=Computer+software+te> 
  sting&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.> 
  sig=AlxNUQBOI7Io7S7nhmxV0Q>    > 
  Software developer> <http://groups.yahoo.com/gads?t=ms&k=Software+developer&w1=Computer+soft> 
  ware+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4> 
  &s=93&.sig=QWIit8JayomoIHLVkV3FDg>  
    > > 
  > > 
    YAHOO! GROUPS LINKS > > > 
      > 
    *  Visit your 
  group "flexcoders> <http://groups.yahoo.com/group/flexcoders> 
  " on the web.>   
      >   
  *  To unsubscribe from this group, send an email 
  to:>     
  [EMAIL PROTECTED]> 
   
  >       
  >   *  Your 
  use of Yahoo! Groups is subject to the Yahoo!> Terms of Service <http://docs.yahoo.com/info/terms/> 
  . > > > 
  





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Button toggle clarification

2005-07-22 Thread Ashish Goyal





You should be able to see a halo around the toggled button 
when you click. Its same as the halo you see in mouseover 
state.
 
-Ashish

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Devin 
  HollowaySent: Friday, July 22, 2005 1:28 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Button toggle 
  clarification
  the button control has a toggle attribute. according to the 
  flex docs,"Specifies whether a button can be toggled, true, or acts 
  like a pushbutton, false. The default value is false."My initial 
  assumption was that if you set toggle to true, then if you clicked a 
  button, it would remain in the pressed state until youclick it again. 
  But this isn't so. To experiment, I created two button controls, side by 
  side, one with toggle set to true, and the other false. I couldn't find 
  any difference whatsoever. So obviously it doesn't affect anything 
  visually.So my question is, what's it for? What does it 
  do?





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Accordian Header Colors

2005-06-23 Thread Ashish Goyal





Below is the more efficient way of achieving the same thing 
with less lines of code. Previously I had some typo in my code so it wasn't 
working ;)
 

function 
headerTextColor() { // accordion1 is 
an id of the accordion
    for(var i=0; i   var 
header = accordion1.getHeaderAt(i);   
i==accordion1.selectedIndex ? header.setStyle("color", 0xFF) : 
header.setStyle("color", 0x000000);
   
}
 
 }
 
 -Ashish

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Ashish 
  GoyalSent: Thursday, June 23, 2005 1:44 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Accordian 
  Header Colors
  
  I have attached the code below which is pretty much self 
  explainatory. In this function I'm setting the color of all the headers 
  to black and then setting the color of the selcted header to 
  red. Call this function on change event of the accordion. 
  
   
  function 
  headerTextColor() { // accordion1 is 
  an id of the accordion
     for(var i=0; 
  i    var header = 
  accordion1.getHeaderAt(i);    header.setStyle("color", 
  0x00)   }   var headerIndex = 
  accordion1.getHeaderAt(accordion1.selectedIndex);  headerIndex.setStyle("color", 
  0xFF)
   
   }
   
  I could also have the fuction coded in another way which 
  is more efficient (inside the for loop, check if "i" is the selectedIndex 
  and change the color to red otherwise black) but its not working for few 
  of the style properties. I'll log the bug in the Flex 
  bugbase.
   
  Thanks
  -Ashish
   
  
  


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Andy 
GoodfellowSent: Thursday, June 23, 2005 10:34 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Accordian 
Header Colors
Does anyone know how to change the font color of the selected 
accordion header? I can get things like the background and fill color to 
change fine using either actionscript skinning or a swc theme file, I just 
can't seem to find any documentation on how to change the font color of a 
selected header. Thanks in advance.-Andy
On 1/9/05, dave 
buhler <[EMAIL PROTECTED]> 
wrote: 
Thanks 
  Manish.I'll give it a shot tomorrow (just got home from the 
  office).Perhaps I was using selectedFillColors and not the 
  hyphenated cssstyle declaration?I got the headers working with 
  Lin's example, but I'd still prefer toexternalize the styles.Dave 
  On Sun, 09 Jan 
  2005 01:41:24 +0530, Manish Jethani<[EMAIL PROTECTED]> wrote:> > 
  dave buhler wrote:> > > None of my attempts to change the 
  accordian header colors (or> > 'colours' for the 
  Canadian/British FlexCoders) was successful within> > my 
  Css.> > Okay, here's how you set the _colours_ (Indian ;-) ) 
  using CSS:> >   Accordion 
  {> fill-colors: blue, 
  white;> selected-fill-colors: blue, 
  lime;> theme-color: 
  blue;>   }> > Manish> > 
  > Yahoo! Groups Links> > > > 
  >
  
  
  Yahoo! Groups Links
  
To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/  
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]   
Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Accordian Header Colors

2005-06-23 Thread Ashish Goyal





I have attached the code below which is pretty much self 
explainatory. In this function I'm setting the color of all the headers to 
black and then setting the color of the selcted header to red. Call 
this function on change event of the accordion. 
 
function 
headerTextColor() { // accordion1 is 
an id of the accordion
   for(var i=0; i    var header = 
accordion1.getHeaderAt(i);    header.setStyle("color", 
0x00)   }   var headerIndex = 
accordion1.getHeaderAt(accordion1.selectedIndex);  headerIndex.setStyle("color", 
0xFF)
 
 }
 
I could also have the fuction coded in another way which is 
more efficient (inside the for loop, check if "i" is the selectedIndex and 
change the color to red otherwise black) but its not working for few of the 
style properties. I'll log the bug in the Flex bugbase.
 
Thanks
-Ashish
 


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Andy 
  GoodfellowSent: Thursday, June 23, 2005 10:34 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Accordian 
  Header Colors
  Does anyone know how to change the font color of the selected 
  accordion header? I can get things like the background and fill color to 
  change fine using either actionscript skinning or a swc theme file, I just 
  can't seem to find any documentation on how to change the font color of a 
  selected header. Thanks in advance.-Andy
  On 1/9/05, dave 
  buhler <[EMAIL PROTECTED]> wrote:
  Thanks 
Manish.I'll give it a shot tomorrow (just got home from the 
office).Perhaps I was using selectedFillColors and not the 
hyphenated cssstyle declaration?I got the headers working with 
Lin's example, but I'd still prefer toexternalize the styles.Dave
On Sun, 09 Jan 
2005 01:41:24 +0530, Manish Jethani<[EMAIL PROTECTED]> wrote:> > dave 
buhler wrote:> > > None of my attempts to change the 
accordian header colors (or> > 'colours' for the Canadian/British 
FlexCoders) was successful within> > my Css.> > 
Okay, here's how you set the _colours_ (Indian ;-) ) using CSS:> 
>   Accordion {> 
fill-colors: blue, white;> 
selected-fill-colors: blue, lime;> 
theme-color: blue;>   }> > Manish> 
> > Yahoo! Groups Links> > > > 
>


Yahoo! Groups Links

  To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/  
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]   
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
  Service. 
  --Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] LinkBar question

2005-06-22 Thread Ashish Goyal





I have just emulated your scenario. In this case the 
active link color will change to red. Let me know if that doesn't work for 
you.
 
http://www.macromedia.com/2003/mxml" 
width="600" height="600">
 
              
 
 
 

 
Thanks
-Ashish

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Robert 
  BrueckmannSent: Wednesday, June 22, 2005 11:57 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] LinkBar 
  question
  
  
  
  Not sure what you 
  mean.  Using the disabledCOlor attribute does nothing.  I have a 
  linkbar at the bottom of my page that navigates a viewstack which takes up the 
  upper portion of the page.  I want to be able to indicate to the user 
  when they click on the link in the link bar which location they’ve clicked on 
  by either changing the color of the link they clicked on or leaving the 
  background color that appears when you mouse over the link to indicate that’s 
  the last link they clicked on.  How can I do 
  this?
  
  
  robert l. 
  brueckmann
  senior web 
  developer
  merlin 
  securities
  595 madison 
  avenue
  new 
  york, ny 
  10022
  p: 
  212.822.4821f: 212.822.4820
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Ashish 
  GoyalSent: Wednesday, June 
  22, 2005 1:33 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] LinkBar 
  question
  
  You can have the 
  selected link to show in a different color though instead of the default grey 
  color for better visibility. Just set 'disabledColor' property on the link bar 
  to the desired color.
  
  Thanks
  -Ashish
  
  




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Robert 
BrueckmannSent: Wednesday, 
June 22, 2005 8:20 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] LinkBar 
question
Is there a way to leave the selection background 
behind the currentlyselected link in a LinkBar to indicate to the user which 
link iscurrently 
selected?  None of the attributes seem to indicate anything 
ofthe sort, so I was curious if 
anyone is doing anything like this outthere?Thanks!robert l. brueckmannsenior web developermerlin securities595 madison 
avenuenew 
york, ny 
10022p: 
212.822.4821f: 
212.822.4820This message contains information from Merlin Securities, 
LLC, or from one of its affiliates, that may be confidential and privileged. 
If you are not an intended recipient, please refrain from any disclosure, 
copying, distribution or use of this information and note that such actions 
are prohibited. If you have received this transmission in error, please 
notify the sender immediately by telephone or by replying to this 
transmission.Merlin 
Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, 
LLC and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular 
security.
   
  
  
  
  This message contains information from Merlin Securities, LLC, 
  or from one of its affiliates, that may be confidential and privileged. If you 
  are not an intended recipient, please refrain from any disclosure, copying, 
  distribution or use of this information and note that such actions are 
  prohibited. If you have received this transmission in error, please notify the 
  sender immediately by telephone or by replying to this 
  transmission.
   
  Merlin Securities, LLC is a registered broker-dealer. Services 
  offered through Merlin Securities, LLC are not insured by the FDIC or any 
  other Federal Government Agency, are not deposits of or guaranteed 
  by Merlin Securities, LLC and may lose value. Nothing in this 
  communication shall constitute a solicitation or recommendation to buy or sell 
  a particular security.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] LinkBar question

2005-06-22 Thread Ashish Goyal





You can have the selected link to show in a different color 
though instead of the default grey color for better visibility. Just set 
'disabledColor' property on the link bar to the desired 
color.
 
Thanks
-Ashish
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Robert 
  BrueckmannSent: Wednesday, June 22, 2005 8:20 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] LinkBar 
  question
  Is there a way to leave the selection background behind the 
  currentlyselected link in a LinkBar to indicate to the user which link 
  iscurrently selected?  None of the attributes seem to indicate 
  anything ofthe sort, so I was curious if anyone is doing anything like 
  this outthere?Thanks!robert l. brueckmannsenior web 
  developermerlin securities595 madison avenuenew york, ny 
  10022p: 212.822.4821f: 
  212.822.4820This 
  message contains information from Merlin Securities, LLC, or from one of its 
  affiliates, that may be confidential and privileged. If you are not an 
  intended recipient, please refrain from any disclosure, copying, distribution 
  or use of this information and note that such actions are prohibited. If you 
  have received this transmission in error, please notify the sender immediately 
  by telephone or by replying to this transmission.Merlin Securities, 
  LLC is a registered broker-dealer. Services offered through Merlin Securities, 
  LLC are not insured by the FDIC or any other Federal Government Agency, are 
  not deposits of or guaranteed by Merlin Securities, LLC and may lose value. 
  Nothing in this communication shall constitute a solicitation or 
  recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] How do you store and then retrieve the backcolor of something

2005-06-07 Thread Ashish Goyal





You are setting 'color' 
style instead of 'fillColors' style in your changebackcolor() function. Change 
the 'color' to 'fillColors' in changebackcolor() as well as in changecolor() 
function and it should work.
 
Thanks
-Ashish

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  [EMAIL PROTECTED]Sent: Tuesday, June 07, 2005 9:55 
  AMTo: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] How do you store and then retrieve the backcolor of 
  something
  
  Can someone explain why this code does not work then? I tried to make it 
  so that it will change the button color to red then back to its original color 
  but its not working?
  http://www.macromedia.com/2003/mxml" 
  xmlns="*">
   
  
   
  
   
  public function changecolor(){ oldColor= 
  buttonthree.getStyle("color");buttonthree.setStyle("fillColors", 
  [0xCCC333,0xCC0065])
   
  }public function changebackcolor(){
   
  buttonthree.setStyle("color", 
[oldColor])}
   
  
   
    
   
  







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Columns of data-grid and not in right order if dataprovider is set dynamically

2005-05-31 Thread Ashish Abrol
HI friends,


I have a very weird problem. 

When I say -


dataGrid.dataProvider=myModel.b at run-time although it works fine but
it changes the order in which I mention the atttribute names in my
model i.e. my xml file (xyz.xml). For e.g. suppose the xyz.xml is like
this


  



The columns that the datagrid will not be in the order
attribute1,attribute2,attribute3...

I would appreciate if anyone can fix my problem or tell me any
workaroud for this because I am making a function to set the
dataprovider for datagrid at run-time and the ordering of columns is
essential.

Regards
Ashish Abrol






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Tree Drag and Drop help

2005-05-05 Thread Ashish Goyal





One correction.. 'treeItems' should be in quotes. 

 
 var items = 
event.dragSource.dataForFormat("treeItems");
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Ashish 
  GoyalSent: Thursday, May 05, 2005 4:28 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Tree Drag and 
  Drop help
  
  Try 
  this code as a dragDrop event handler for the tree and let me know 
  if it doesn't work.
   
   
  function doDragDrop(event) 
  {   doDragExit(event);
   
  var items = 
  event.dragSource.dataForFormat(treeItems);var 
  dest = event.target;   var dropLoc = 
  dest.getDropLocation();
   
     dest.clearSelected();   var 
  dropParent = dest.getDropParent();
     for (var i = items.length - 1; 
  i >= 0; i--)   {var newNode 
  = 
  dropParent.addTreeNodeAt(dropLoc,items[i]);dest.selection 
  = newNode;   }  }
   
   
  -Ashish
   
  
  


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
pilby1Sent: Thursday, May 05, 2005 4:04 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Tree Drag and 
Drop help
I've been wracking my brains on this for a while now, and it 
hasn't been a smooth ride. Instead of chanting my experiences in this 
forum, it all boils down to my pleading for help from any of 
you.Can anyone please provide me a code sample or a URL of such 
pertaining to drag-n-drop with a Tree which can demonstrate a 
successful drag of one node onto another, and having the dragged node 
appear as a child of the node where it was dropped?In a 
nutshell, I've gotten as far as getting the node references of the 
dragged and dropped nodes within my dragDrop event, including the index 
of the node that was dropped on. I can even display these two nodes 
using "alert", and their internal toString() methods would correctly 
display all the node contents (in XML). However, when I use the 
addTreeNodeAt() method on a node that's a parent (i.e. a folder), 
nothing happens! And when the node is a leaf (i.e., not a parent of 
any child nodes), that node somehow "climbs" up one step higher in 
the tree hierarchy, and the dragged node does not appear 
anywhere!I would be very grateful to anyone who could provide me 
some help and guidance on this please. :(







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Tree Drag and Drop help

2005-05-05 Thread Ashish Goyal





Try 
this code as a dragDrop event handler for the tree and let me know if 
it doesn't work.
 
 
function doDragDrop(event) 
{   doDragExit(event);
 
var items = 
event.dragSource.dataForFormat(treeItems);var 
dest = event.target;   var dropLoc = 
dest.getDropLocation();
 
   dest.clearSelected();   var 
dropParent = dest.getDropParent();
   for (var i = items.length - 1; i 
>= 0; i--)   {var newNode = 
dropParent.addTreeNodeAt(dropLoc,items[i]);dest.selection 
= newNode;   }  }
 
 
-Ashish
 


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of pilby1Sent: 
  Thursday, May 05, 2005 4:04 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Tree Drag and Drop 
  help
  I've been wracking my brains on this for a while now, and it 
  hasn't been a smooth ride. Instead of chanting my experiences in this 
  forum, it all boils down to my pleading for help from any of 
  you.Can anyone please provide me a code sample or a URL of such 
  pertaining to drag-n-drop with a Tree which can demonstrate a 
  successful drag of one node onto another, and having the dragged node 
  appear as a child of the node where it was dropped?In a nutshell, 
  I've gotten as far as getting the node references of the dragged and 
  dropped nodes within my dragDrop event, including the index of the node 
  that was dropped on. I can even display these two nodes using "alert", and 
  their internal toString() methods would correctly display all the node 
  contents (in XML). However, when I use the addTreeNodeAt() method on a 
  node that's a parent (i.e. a folder), nothing happens! And when the node 
  is a leaf (i.e., not a parent of any child nodes), that node somehow 
  "climbs" up one step higher in the tree hierarchy, and the dragged node 
  does not appear anywhere!I would be very grateful to anyone who could 
  provide me some help and guidance on this please. :(







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Formatting Fields in Datatips

2005-05-03 Thread Ashish Goyal






You can customize the text in DataTips 
using the 'dataTipFunction' callback 
function. When you specify a 
'dataTipFunction' callback function, you can access the data of the 
DataTip before Flex renders it and customizes the text. 
The argument to the callback function 
is the event object that contains the 'hitData' 
property, of type mx.charts.HitData. The 
'item' property of 'hitData' 
contains a copy of the dataProvider object for the data point. 
For 
example, say your chart dataProvider contains a field Amount that you 
want apply currency formatter, then you need define a dataTipFunction 
in the chart tag and then format the data in the function 
handler.
Sample 
Code:
http://www.macromedia.com/2003/mxml">  
  var expenses = [{Expense: "Taxes", Amount: 
2000},    
{Expense: "Gas", Amount: 
100},    
{Expense: "Food", Amount: 200}  ];      
 function showdt(eventObject:Object)   {  
  var cf = new mx.formatters.CurrencyFormatter()  
  return cf.format(eventObject.hitData.item.Amount)  
 }        
     
     
      
  
 
  
  
 
    
 
  
   

-Ashish
 
 
 
 
 



From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
DaveSent: Tuesday, May 03, 2005 7:22 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Formatting Fields in 
Datatips

  I need to format data (currency, number, etc.) that shows up in 
  the data tips of each chart column. 
  Thanks,-Dave







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Images and borders

2005-05-02 Thread Ashish Goyal





Set 'maintainAspectRatio' to false in your image tag. By 
default its true so the ratio of height to width is maintained as the 
original image.
 
-Ashish
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  digital_eyezedSent: Monday, May 02, 2005 2:05 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Images and 
  borders
  I have four embedded images in an HBox:  height="15" 
  borderStyle="solid"/>  height="15" 
  borderStyle="solid"/>  height="15" 
  borderStyle="solid"/>  height="15" 
  borderStyle="solid"/>But, their is a 2 or 3 
  pixel gap between the end of the images andthe right hand border, 
  why?







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Date object addition

2005-05-02 Thread Ashish Goyal





You should be able to do it by 
simply setting selectedDate - 1. For eg, in the 
change event handler function of first DateField you can write 

 
datefield2.disabledRanges =[{rangeEnd : new 
Date(datefield1.selectedDate - 1)}];
 
-Ashish

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  digital_eyezedSent: Monday, May 02, 2005 3:43 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Date object 
  addition
  How do I make a date object in a rangeEnd = selectedDate - 
  1?i.e. I have one dateField with a disabledRange / rangeEnd set to 
  today.When a user changes that field, it triggers a function which 
  sets the second dateField's disabledRange / rangeEnd to the selectedDate 
  of the first dateField. But I want to set the the rangeEnd date to the day 
  before the selectedDate so the user can still choose the same day as 
  DateField 1.I know this will be simple to some of you Actionscript 
  gurus, but I'm away on some Java date object expidition with no map or a 
  torch!Cheers







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Re: Making a visible property really invisible

2005-05-02 Thread Ashish Goyal





You can set width to 100% in first panel and height and 
width to 0 in the second one. This will enable the first panel to cover the 
whole HBox. When you click on the checkbox, in AS set visible to true for second 
panel and width and height to 100%. Now since both panels has width 100%, 
they'll share the equal width in HBox.
 
I've tried to create a small mock up of what you are trying 
to achive. Let me know if that doesn't work for you.
 
http://www.macromedia.com/2003/mxml" 
backgroundColor="white" 
> 
   
 

Thanks
-Ashish
 
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  digital_eyezedSent: Monday, May 02, 2005 11:07 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: Making a 
  visible property really invisible
  That doesn't seem to work, it looks even more messy now, any 
  more ideas?--- In flexcoders@yahoogroups.com, "Tracy Spratt" 
  <[EMAIL PROTECTED]> wrote:> Set height = 0;> > Then 
  to restore the view, set height= undefined;> > I have not done 
  this myself, any you might have to do something like> call 
  invalidateLayout to get it to work right.> > Tracy> 
  > -Original Message-> From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On> Behalf Of 
  digital_eyezed> Sent: Monday, May 02, 2005 1:04 PM> To: 
  flexcoders@yahoogroups.com> Subject: [flexcoders] Making a visible 
  property really invisible> > How can I make a container 
  completely invisible?> > i.e. if I have two panels, both in an 
  HBox and when I check a box in > panel 1 it enables the visibility 
  of panel 2, but panel two was > completely invisible before I checked 
  the box, including the space it > was invisibly taking up. I want 
  to be able to enable the panel and the > panels should re-arrange 
  themselves with the available space instead > of them both having 
  space allocated before the visibility is changed. > I have a number 
  of items and methods attached to panel 2, so I think > createChild 
  wouldn't work.> > > > > >  
  > Yahoo! Groups Links







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] drag drop

2005-04-22 Thread Ashish Goyal





You can get the dragging source by using 
- event.dragSource.dataForFormat("source").
 
Thanks
-Ashish

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 
  9:03 AMTo: flexcoders@yahoogroups.comSubject: 
  [flexcoders] drag drop
  
  
  
  Is there any way to 
  get the id of the component which is the source from which you're dragging 
  items from?
  
  I'm trying to do 2 
  things on a page.  I have a list of indices and a blank list...the user 
  first can drag indices over to the blank list and then once they've dragged 
  them over, they can then drag and drop within the list to order them 
  accordingly...so I have the initial drag & drop done without a hitch...but I 
  can figure out the intra-list drag & dropping for ordering purposes...I 
  thought one way would be in the the doDragOver function, I would simply check 
  the id of the source and against the id of the destination and if they're 
  equal make it a move action, otherwise it's a copy action...I can get the id of 
  the destination without a hitch but I can't figure out how to retrieve the id 
  of the source the item is being dragged from.
  
  Possible?  
  Should I just add an up and down arrow next to the list and make them select 
  the items and call the setChildIndex method on the item in the list instead of 
  doing the whole drag & drop thing?
  
  
  Robert L. 
  Brueckmann
  Senior Web 
  Developer
  Merlin Securities, 
  LLC
  595 Madison 
  Avenue
  New 
  York, NY 10022
  p: 
  212.822.4821f: 212.822.4820
   
  
  
  
  This message contains information from Merlin Securities, LLC, 
  or from one of its affiliates, that may be confidential and privileged. If you 
  are not an intended recipient, please refrain from any disclosure, copying, 
  distribution or use of this information and note that such actions are 
  prohibited. If you have received this transmission in error, please notify the 
  sender immediately by telephone or by replying to this 
  transmission.
   
  Merlin Securities, LLC is a registered broker-dealer. Services 
  offered through Merlin Securities, LLC are not insured by the FDIC or any 
  other Federal Government Agency, are not deposits of or guaranteed 
  by Merlin Securities, LLC and may lose value. Nothing in this 
  communication shall constitute a solicitation or recommendation to buy or sell 
  a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Datagrid rowcount

2005-04-01 Thread Ashish Goyal


For variable row height DataGrid, rowCount is not supported. Since the
rowheight is not constant in a VRH DG, its not possible to show fix number
of rows in a fixed height datagrid. Make sense?

To show 2 rows in a VRH DG, you can set DataGrid height such that it only
shows 2 rows ;) It will work really well if your row height (row content) is
fixed.

-Ashish


> -Original Message-
> From: Tom Fitzpatrick [mailto:[EMAIL PROTECTED] 
> Sent: Friday, April 01, 2005 1:50 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Datagrid rowcount
> 
> 
> Setting a datagrid's variableRowHeight property to true (and enabling 
> wordwrap in one of the columns) seems to make it impossible 
> to reset the 
> rowCount, which stays at the default of 6 rows even though I 
> define the 
> rowCount property as 2 (or try to have it match the length of the 
> dataProvider).
> 
> Is there any solution to this - if it's not just something 
> I'm doing wrong?
> 
> - Tom
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] render html in flex

2005-04-01 Thread Ashish Goyal

See if htmlText property of Text controls solves the purpose..

You can find more info about htmlText in the Flex1.5 live docs.
http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/w
whelp.htm?href=part1_ge.htm

-Ashish

> -Original Message-
> From: Kyle [mailto:[EMAIL PROTECTED] 
> Sent: Friday, April 01, 2005 1:10 PM
> To: Flex Coders List
> Subject: [flexcoders] render html in flex
> 
> 
> Hi,
> I'm new to Flex and am curious if it is possible to design a Flex app 
> that has an embedded html rederer within it.
> We currently have a web app that renders some of its content from a 
> content management system (using iframes).  We are 
> considering switching 
> the main app to Flex but would like to continue using the content 
> management system.  So, in other words, is it possible to use the 
> equivalent of an iframe within a flex app?
> Thanks in advance,
> - Kyle
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





  1   2   >