[flexcoders] Duplicating a component

2007-06-09 Thread Robs
Hi all,
   I have a component having 3 combos & 2 buttons 'Add' & 'Delete'. I 
have a scenario wherein the moment I click on 'Add', the entire 
component should be duplicated. Currently, on using 'addChild', I'm 
getting an index bound error.
   Can someone help me please?

Thanks,
Robi.



[flexcoders] RichTextEditor problem

2007-06-07 Thread Robs
Hi all,
   I am assigning a 'commentText' property from the result of a backend 
java call to the 'htmlText' property of the richtexteditor. But, 
somehow, the paragraph is getting truncated. Have checked the 
resultobject & am getting the entire paragraph there.

   What could be the reason for the text to get truncated? Does the rte 
have a character limit?

   Please help!

Thanks



[flexcoders] Re: Menubar ItemClick method

2007-04-18 Thread Robs
You'll have to add a "click" event & attach a method to it. Within 
the method, the first thing you gotta check is whether the clicked 
item is of type menubarItem. If it is then go ahead & compare the 
labels & write your actions accordingly. For label comparison, use 
something like "[EMAIL PROTECTED]" .
  Hope this solves your issue.

Regards,
Robi.

--- In flexcoders@yahoogroups.com, "gamecocked" <[EMAIL PROTECTED]> 
wrote:
>
> I have a menubar that uses an xml list as the dataprovider..below 
is a
> sample...
> 
>   
>   
> 
> 
>  type="normal">
> 
> 
> 
> 
> 
>  icon="CalendarIcon">
>
> 
> and I call a menuhandler function...that looks at the @data tag of 
the
> xml and then runs another function to open a new window...
> 
> private function menuHandler(event:MenuEvent):void {
> if([EMAIL PROTECTED] == "NewRequest") {  
> showNewRequestWindow();
> }
> else if([EMAIL PROTECTED] == "Edit") {
>   showEditRequestWindow();
> }
> else if([EMAIL PROTECTED] == "Print") {
>   getUrl();
> }
> else if([EMAIL PROTECTED] == "HelpUsersGuide") {
>   showAboutWindow();
> }
> 
> The issue is that I get no event when clicking on the menu item that
> has no children like "Edit" from aboveso how do I get the
> information from the parent menu item to be able to run another 
function?
> 
> Ed
>




[flexcoders] Dynamic visual indication of updated data

2007-04-18 Thread Robs
Hi all,
  How can we visually differentiate updated data in a control in a FDS 
application? Any ideas on this?

Regards,
Robi.



[flexcoders] FDS datatype parsing issue

2007-04-18 Thread Robs
Hi all,
  We have an app which involves a Java Class communicating with the 
database & acting as a "producer". One of the output it returns is of 
type "Long" which, due to some reason is not getting parsed in Flex. 
The resultset shows the no. of records correctly, but the data is shown 
as blank. We tried to typecast the object as "int" & "Number" in Flex, 
but failed.
  Can someone please help regarding this?

Thanks,
Robi.



[flexcoders] Re: FDS example

2007-04-12 Thread Robs
Well...I started off with trying the chat application in Adobe's 
article "Introduction to the Flex Message Service" . It states over 
there that the destination id has to be supplied in the "messaging-
config" xml. 
  Now, to achieve this I need to deploy the fds app on Tomcat & 
that's what is unknown to me. I, frankly, don't have an idea on the 
deployment process in TOmcat & where all the config xmls will reside.

--- In [EMAIL PROTECTED], "meteatamel" <[EMAIL PROTECTED]> 
wrote:
>
> Let us know what's confusing so we can help. 
> 
> -Mete
> 
> --- In [EMAIL PROTECTED], "Robs"  wrote:
> >
> > Hi all,
> >   Does anyone have a good example of a FDS application with 
proper 
> > deployment instructions? I've just started with it & am finding 
some 
> > things a bit confusing.
> >   PLease help !
> > 
> > Regards,
> > Robi.
> >
>




[flexcoders] Re: FDS example

2007-04-12 Thread Robs
Thanks a ton !

--- In [EMAIL PROTECTED], "David Mendels" <[EMAIL PROTECTED]> 
wrote:
>
> Start with the 30 minute test drive by Christophe
> <http://coenraets.org/blog/2007/01/flex-test-drive-server-for-java-
devel
> opers-tomcat-based/> :
>  
> http://coenraets.org/blog/2007/01/flex-test-drive-server-for-java-
develo
> pers-tomcat-based/
>  
> -David
> 
> 
> 
> From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Robs
> Sent: Thursday, April 12, 2007 8:05 AM
> To: [EMAIL PROTECTED]
> Subject: [flexcoders] FDS example
> 
> 
> 
> Hi all,
> Does anyone have a good example of a FDS application with proper 
> deployment instructions? I've just started with it & am finding 
some 
> things a bit confusing.
> PLease help !
> 
> Regards,
> Robi.
>




[flexcoders] FDS example

2007-04-12 Thread Robs
Hi all,
  Does anyone have a good example of a FDS application with proper 
deployment instructions? I've just started with it & am finding some 
things a bit confusing.
  PLease help !

Regards,
Robi.



[flexcoders] Re: FDS Messaging error

2007-04-10 Thread Robs
Nopes :(( ! It still shows the same error. Is it that fds can't 
locate my config files properly. Lemme give the dir structure of my 
project :


   
 
   
 {all fds related config xmls}

The way I access my app is 
http://localhost:8080/samples/messageboard/fdsChat/fdsChat.mxml .



--- In flexcoders@yahoogroups.com, "Dirk Eismann" <[EMAIL PROTECTED]> 
wrote:
>
> Make sure to restart FDS after you modify any of the config files. 
Also,
> if you're using Flex Builder 2 then it's always a good idea to do a
> Project --> Clean after modifying the FDS config files.
> 
> Dirk. 
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Robs
> > Sent: Tuesday, April 10, 2007 3:36 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] FDS Messaging error
> > 
> > Hi all,
> >   I'm trying out a sample chat app using fds messaging. As 
> > per the instructions, I made a new destination in the 
> > messaging-config.xml as
> > follows:
> > 
> > 
> > 
> > 
> > false
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Unfortunately, my application does not seem to get this 
> > destination & is throwing the following error:
> > 
> > [Error: (mx.messaging.messages::ErrorMessage)#0
> >   body = (null)
> >   clientId = (null)
> >   correlationId = "AC6C8425-5819-7952-C465-DBB44D54B08E"
> >   destination = "MyTransientTopic"
> >   extendedData = (null)
> >   faultCode = "Server.Processing"
> >   faultDetail = (null)
> >   faultString = "No destination 'MyTransientTopic' exists in 
> > service flex.messaging.services.MessageService"
> >   headers = (Object)#1
> >   messageId = "996330F1-2418-1987-0B1E-A4C224645BD9"
> >   rootCause = (null)
> >   timestamp = 1176212098404
> >   timeToLive = 0]
> > 
> > 
> >   Where am I going wrong? Please help !
> > 
> > Regards,
> > Robi.
> > 
> > 
> > 
> > --
> > 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] FDS Messaging error

2007-04-10 Thread Robs
Hi all,
  I'm trying out a sample chat app using fds messaging. As per the 
instructions, I made a new destination in the messaging-config.xml as 
follows:




false







Unfortunately, my application does not seem to get this destination & 
is throwing the following error:

[Error: (mx.messaging.messages::ErrorMessage)#0
  body = (null)
  clientId = (null)
  correlationId = "AC6C8425-5819-7952-C465-DBB44D54B08E"
  destination = "MyTransientTopic"
  extendedData = (null)
  faultCode = "Server.Processing"
  faultDetail = (null)
  faultString = "No destination 'MyTransientTopic' exists in service 
flex.messaging.services.MessageService"
  headers = (Object)#1
  messageId = "996330F1-2418-1987-0B1E-A4C224645BD9"
  rootCause = (null)
  timestamp = 1176212098404
  timeToLive = 0]


  Where am I going wrong? Please help !

Regards,
Robi.



[flexcoders] Preventing double clicking on a datagrid header !

2006-12-07 Thread Robs
Hi friends,
  Can someone tell me the way to prevent double clicking on the 
datagrid column headers?

Thanks in advance,
Robi.



[flexcoders] Oppurtunity to work on a Flex project

2006-11-16 Thread Robs
A U.S. based company is looking for Flex/AJAX developers for their 2yr 
long project. The developer will b based in U.S for 3 months. Those 
interested may please contact Saumitri at [EMAIL PROTECTED] or call 
up on 9881462558.




[flexcoders] CSS question

2006-10-01 Thread Robs
Hi all,
  I'm building a project which has the following structure:

  root --> this contains the launching mxml
   components
comp1
 assets --> graphics,etc
 business -> contains remotng code
 model --> data model
 controller --> event listeners/handlers
 view --> UI
comp2

   I want to use an external style sheet attached to the launching
mxml but contains styles for the rest of the components.
   Is it possible? If yes, then how do I go about it?

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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Repositioning pop up window

2006-07-27 Thread Robs
Hi all,
   Can a popup window created with the "createpopup" method be 
repositioned to a desired x,y location. If yes, how?

Thanks in advance,
Robi.





--
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] Datagrid column itemrenderer - Flex2B3

2006-06-21 Thread Robs
I have a datagrid which gets populated with the following function:

private var colHeaders:Array = [{head:'ID',bind:'oid',width:50},
{head:'Loan Number',bind:'loannumber',width:50},{head:'First 
Name',bind:'borrowerfirstname',width:45},{head:'Last 
Name',bind:'borrowerlastname',width:45},
{head:'Street',bind:'propertystreet'},
{head:'City',bind:'propertycity',width:35},
{head:'State',bind:'propertystate',width:30},
{head:'Zip',bind:'propertyzip',width:30}, {head:'Doc 
Count',bind:'childcount',width:45}, {head:'Status',width:45}];
 
[Bindable] 
private var columnArray:Array = [];
 
private function populateFolders(event:flash.events.Event):void{
 var tempHolder:DataGridColumn;
 for(var i:Number=0;i 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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] Problem with Flex2 Beta3

2006-06-07 Thread Robs
Hi All,
I am facing a strange problem with the components within my 
application. As per our architecture, all the basic controls are not 
being used directly, but as custom classed extending the base ones. So, 
instead of using a "HBox" control, I use "CapHBox" control which is the 
custom one. There are times when FlexBuilder doesn't reflect all the 
properties of that control & often gives "Undefined property" errors.
The custom classes used have no extra code written within them. Why 
is this happening? Any ideas on how to correct this?

Thanks.






 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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] Re: Adobe Flex2 - Title window transparency

2006-05-10 Thread Robs



Hey..thanks a ton !

--- In flexcoders@yahoogroups.com, "jeremy lu" <[EMAIL PROTECTED]> wrote:
>
> styleName = "opaquePanel"
> 
> worked in B2, not sure for B3
> 
> On 5/10/06, Robs <[EMAIL PROTECTED]> wrote:
> >
> > Hi all,
> >    How can I remove the transparency of the title window? I tried 
all
> > properties like backgroundALpha & alpha, but it didn't help. 
Please
> > help
> >
> > Thanks,
> > Robi.
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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.



  











[flexcoders] Adobe Flex2 - Title window transparency

2006-05-09 Thread Robs



Hi all,
   How can I remove the transparency of the title window? I tried all 
properties like backgroundALpha & alpha, but it didn't help. Please 
help

Thanks,
Robi.










--
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.



  












[flexcoders] Namespace issue

2006-04-07 Thread Robs
Hi all,
   I have a project directory structure as shown:

   Root
 startup mxml files
 [folder named wrhouse]
 warehouse.mxml
 docviewWindow.mxml

   One of my startup mxml files has to include files from 
the "wrhouse" folder. I did the following in my application tag:

http://www.macromedia.com/2003/mxml"; 
xmlns:wrhouse="*"

   I even tried http://www.macromedia.com/2003/mxml"; 
xmlns:wrhouse="wrhouse.*"...

   But unfortunately, both the above r giving errors namely "Don't 
know how to parse element "*.warehouse". It is not a known type or a 
property of mx.containers.ViewStack."

   What is the problem? Earlier all these were in one single 
directory & I had packaged them. Because I packaged them earlier & 
then shifted them to separate folders is causing an issue? 

   Please help..

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

<*> 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] Inter - component communication

2006-03-24 Thread Robs
Hi everyone,
I have 2 groups of nested components put in 2 separate containers in a 
ViewStack. The containers themselves are components too. The nesting 
structure is as shown:
(Comp1-->Comp2-->Comp3) --> This group goes in container 1.
(Comp4-->Comp5-->Comp6) --> This group goes in container 2.

Container 1 is initially displayed by default. There is a datagrid 
residing in Comp3. Upon clicking on one of the rows, I need to display 
Container 2, pass some info from the grid to Comp6 in Container 2 & 
display the relevant details within Comp6. As far as displaying the 
second container is concerned, its done. But passing data to the nested 
component is getting difficult.
How do I handle the above situation. Will event dispatching & listening 
help? Can someone please give me some idea or code snippets?

Thanks...
Robi





--
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] 2 issues in Flex 1.5

2006-03-17 Thread Robs
In my current layout, I needed a custom popup menu on click of an 
icon. So, I used the createClassObject method to invoke a custom mxml 
component. Here is the function:

private function callMe(obj):Void{
if(!menuCreated){
var rm:Object = createClassObject
(roomMenu,"rooms",getNextHighestDepth());
rm.x = obj.target._x+20;
rm.y = obj.target._y+20;
menuCreated = true;
}
else{
destroyObject("rooms");
menuCreated = false;
}
}

I am facing 2 issues:
i) The object is not getting destroyed.
ii) The mouse focus goes to the controls which are behind the menu 
component.

How do I solve these?

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

<*> 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] Restricting drag & drop to certain nodes of a tree

2006-03-16 Thread Robs
Hi all,
   Is it possible to restrict drag & drop operation to certain nodes of 
a tree? If yes, can anyone give me some ideas.

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

<*> 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] Avoiding scroll in List Control

2006-03-12 Thread Robs
I have a list control with a custom cell renderer inside a repeater
object. I want the list's height to be dynamic based on the no. of
filled rows. Is it possible?

Thanks in advance...






--
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] For those who are not getting their icons displayed in a list control

2006-03-09 Thread Robs
Hi all,
  Since a couple of days, I was struggling to display icons beside 
each list item & was keeping on reading the Flex1.5 doc. What I found 
was a small but critical mistake.
  When using the iconField property, Flex doc suggests the following 
format:
  
   [Embed("images/cabinet.png")]
   var cabICON:String;
  

  
   

  
  
   
  

The way the iconField is used within the object tag is where the 
error is. The correct format is myIcon="{cabIcon}". The braces are 
needed.






--
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] Resize issue

2006-03-07 Thread Robs
I have a component containing 2 controls vertically. The first is a 
datagrid control & the other is a vbox control within which there are 
multiple hbox controls. All hbox controls have been given a width of 
100% so that they r in flush with the outer vbox.

The outer vbox is initially set to a width of 0 & visibility 'false'. 
On click of a datagrid cell, I make the vbox visible with the help of a 
resize effect written programmatically.

What I get to see is that the inner hbox controls don't stretch to 
100%. Only after some other action within it, do they stretch to 100%.
Is it a redraw issue while resizing? What do i need to do to solve this?

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

<*> 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] Re: Drag & drop within a tree control itself

2006-03-04 Thread Robs
Thanks a lot Tracy...ur code did the job :)

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> There is a working example of drag drop within the same tree in the
> archives.  Search on the subject "Drag and Drop in Tree Componet" 
(yes,
> sp)
> 
> Tracy
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Robs
> Sent: Thursday, March 02, 2006 4:03 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Drag & drop within a tree control itself
> 
> Hi people,
>  I've a tree control which is the drag source & drop target itself 
to 
> enable shuffling of nodes within the tree. As such, the normal drag 
& 
> drop codes work fine but there is 1 problem in the dragComplete 
> event. I've used the following function within dragComplete event:
> 
> function doDragComplete(event) 
>   {
>  var dragItems = event.dragSource.dataForFormat
> ("source").selectedItems;
>//var dragItems = event.dragSource.dataForFormat
> ("source").selectedNode;
>//mx.controls.Alert.show(event.dragSource, "Drag 
> source");
>   mx.controls.Alert.show(dragItems[0].getProperty
> ("label"), "Drag Complete");
> /* var counter = dragItems.length;
>  for (var i=0;i  {
> var item = dragItems[i];
> item.removeTreeNode();
>  }*/
>   }
> 
> As u can see above the alert popup shud show the selected node, but 
> its blank. The main purpose is to relocate the dragged node from 
the 
> old to the new location.
> 
> Kindly help...
> 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/
 





[flexcoders] Drag & drop within a tree control itself

2006-03-02 Thread Robs
Hi people,
 I've a tree control which is the drag source & drop target itself to 
enable shuffling of nodes within the tree. As such, the normal drag & 
drop codes work fine but there is 1 problem in the dragComplete 
event. I've used the following function within dragComplete event:

function doDragComplete(event) 
  {
 var dragItems = event.dragSource.dataForFormat
("source").selectedItems;
 //var dragItems = event.dragSource.dataForFormat
("source").selectedNode;
 //mx.controls.Alert.show(event.dragSource, "Drag 
source");
mx.controls.Alert.show(dragItems[0].getProperty
("label"), "Drag Complete");
/* var counter = dragItems.length;
 for (var i=0;ihttp://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] Delete popup issue in Flex 1.5

2006-02-28 Thread Robs
Hi there,
  I have 3 components which have the following relation:
  
  Component 1 --> Component 2(inside component 1) -- Component 3 
(inside component 2). Within component 1, I've invoked a popup which 
embeds components 2 & 3. My close button is within component 3.

How do I delete the popup on click of my button within component 3?

Kindly help...
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

<*> 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] Re: Merger of Datagrid & Tree - Urgent !

2006-02-26 Thread Robs
Thanks a ton Jignesh...u made my day :)

--- In flexcoders@yahoogroups.com, "Jignesh Dodiya" <[EMAIL PROTECTED]> 
wrote:
>
> Rob, Its here
> 
> http://www.flexauthority.com/samplesIndex.cfm
> 
> click on the Advanced and pick from the list
> 
> 
> 
> On 2/24/06, Tracy Spratt <[EMAIL PROTECTED]> wrote:
> >
> > Someone has done this and there is example code available.  I 
believe
> > the name is TreeGrid.  Check out FlexAuthority, I think that is 
where I
> > saw it.  If not, google.
> >
> > Tracy
> >
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> > Behalf Of Robs
> > Sent: Thursday, February 23, 2006 4:25 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Merger of Datagrid & Tree - Urgent !
> >
> > Hi all,
> >   Is it possible that I can merge the dataGrid & Tree components 
to
> > make a single custom component. I have a scenario where I need to
> > simulate the MS Outlook inbox section when the mails are grouped 
as
> > per a specific field.
> >Please help...
> >
> > 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
> >
> >
> >
> > SPONSORED 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=M
acromedia+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&w
2=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&.s
ig=1pMBCdo3DsJbuU9AEmO1oQ>  Macromedia
> > flex<http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+sof
tware+development&w3=Software+design+and+development&w4=Macromedia+fl
ex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZ
I36cYzBjw> Software
> > development best practice<http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&w1=Web+site+design+developm
ent&w2=Computer+software+development&w3=Software+design+and+developme
nt&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/>.
> >
> >
> >  --
> >
> 
> 
> 
> --
> jignesh dodiya
>







--
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] Merger of Datagrid & Tree - Urgent !

2006-02-23 Thread Robs
Hi all,
  Is it possible that I can merge the dataGrid & Tree components to
make a single custom component. I have a scenario where I need to
simulate the MS Outlook inbox section when the mails are grouped as
per a specific field.
   Please help...

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

<*> 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] Embedding pdf doc with the help of Flashpaper in Flex1.5

2006-02-13 Thread Robs
Hi all,
 Is it possible to embed a pdf using flashpaper2 in flex1.5?

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

<*> 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] Select all functionality in datagrid

2006-02-10 Thread Robs
Hi all,
  I have a datagrid with 2 columns of which the first one has 
a "checkbox" as the cell renderer. The checkbox is inside a separate 
component. I have used the same component as the headerRenderer too. 
Can anyone help me out in implementing the "Select all" feature found 
in most mail clients?

Thanks in advance.





--
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] Re: Problem with Remote Objects - Urgent

2006-01-31 Thread Robs
Thanks Peter. Your suggestion worked.

--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> 
wrote:
>
> 
> Try using the asynchronous completion token pattern to map results 
to
> various calls.
> 
> When you make the call, retain the token that's returned:
> 
> var token:Object =
> myService.myFunctionThatListsFolderContent("myFolder");
> 
> Then add something on it that helps you identify this invocation:
> 
> token.myId = "myFolder";
> 
> And then refer to that when you get the result back:
> 
> var callId:String = event.call.myId;
> 
> Pete
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Robs
> Sent: Friday, January 27, 2006 11:48 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Problem with Remote Objects - Urgent
> 
> Hi all,
>   I have a java class which performs file I/O operations. It lists 
all
> the root folders within a specified path on my disk & returns the 
folder
> names in a string array which, I then use to populate my tree 
control.
>   I have a local array var within which I store this result, e.g.,
> myArray = event.result;. 
>   I am calling the same class multiple times to get a result of 
folder
> trees, specific levels deep. The issue is that my array variable
> persists the data got from the previous call.
>   Why is this happening? What should I do to rectify this?
> 
> 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/
 




[flexcoders] Problem with Remote Objects - Urgent

2006-01-27 Thread Robs
Hi all,
  I have a java class which performs file I/O operations. It lists all 
the root folders within a specified path on my disk & returns the 
folder names in a string array which, I then use to populate my tree 
control.
  I have a local array var within which I store this result, e.g.,  
myArray = event.result;. 
  I am calling the same class multiple times to get a result of folder 
trees, specific levels deep. The issue is that my array variable 
persists the data got from the previous call.
  Why is this happening? What should I do to rectify this?

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

<*> 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] Customizing default Flex preloader

2006-01-27 Thread Robs
Hi all,
   How do I show the percentage download value along with 
the "Initializing" text in the preloader provided with Flex? Do I need 
to code specifically? If yes, then how?
   Please help...

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

<*> 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] Re: Using the "mx:Repeater" tag -- S.O.S

2006-01-18 Thread Robs
Hey, thanks Douglasthat did my job.

--- In flexcoders@yahoogroups.com, Douglas Knudsen 
<[EMAIL PROTECTED]> wrote:
>
> source="data/folders/562114560/{docThumb.currentItem.name}"
> 
> DK
> 
> On 1/18/06, Robs <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >   I'm facing issues while using the "Repeater" tag.
> >   I have a xml file named "562114560.xml" which defines my data as
> > follows:
> >
> > 
> > 
> >  
> >   001.jpg
> >   1
> >  
> >  
> >   002.jpg
> >   2
> >  
> > 
> >
> > As u can see I need to use the "name" tag value & append it with 
the
> > rest of the path so that the respective thumbnails generate within
> > the repeater tag.
> >
> > The code written till now is as shown below:
> >
> > 
> >  > horizontalGap="20" marginRight="55" marginBottom="90" width="100%"
> > height="100%" autoLayout="false" clipContent="false">
> >   > dataProvider="{pageSource.page}">
> >> mouseOverEffect="docResize" mouseOutEffect="docDefault"
> > mouseOver="popToTop(event.target)" mouseOut="restore
(event.target)"
> > borderColor="#99FF00" borderStyle="solid" borderThickness="1"
> > id="docu">
> >   
> >  
> > 
> >
> > As shown above, I'm stuck with what value to provide within
> > the "source" attribute in the "Image" tag.
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
> 
> 
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>






--
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] Using the "mx:Repeater" tag -- S.O.S

2006-01-18 Thread Robs
Hi all,
  I'm facing issues while using the "Repeater" tag.
  I have a xml file named "562114560.xml" which defines my data as 
follows:



 
  001.jpg
  1
 
 
  002.jpg
  2
 


As u can see I need to use the "name" tag value & append it with the 
rest of the path so that the respective thumbnails generate within 
the repeater tag.

The code written till now is as shown below:



 
  
  
 


As shown above, I'm stuck with what value to provide within 
the "source" attribute in the "Image" tag.





--
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] Re: Runtime width of tree control - Urgent !!

2006-01-18 Thread Robs
Thanks Gordon !

--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> 
wrote:
>
> > Can i get the width at runtime in pixels? 
> 
> Yes
> 
> > If yes, then how?
> 
> myTree.width
> 
> - Gordon
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Robs
> Sent: Tuesday, January 17, 2006 2:41 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Runtime width of tree control - Urgent !!
> 
> Hi all,
>I have a tree control in my app, whose width has been set to 
100%. 
> Can i get the width at runtime in pixels? If yes, then how?
> 
> Regards,
> Robi.
> 
> 
> 
> 
> 
> --
> 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] Runtime width of tree control - Urgent !!

2006-01-17 Thread Robs
Hi all,
   I have a tree control in my app, whose width has been set to 100%. 
Can i get the width at runtime in pixels? If yes, then how?

Regards,
Robi.





--
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/