RE: [flexcoders] Set icon without using @Embed?

2006-10-19 Thread Matt Chotin












At the moment, yes, that’s easiest I
think.

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of zzwi89
Sent: Thursday, October 19, 2006
12:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Set icon
without using @Embed?



 







Instead of using text to label a set of tabs, I am
using some images.
Currently I use the following syntax:

component.icon = @Embed(source);

When component is placed into a viewstack, and a tabbar assigned to
the viewstack, the icon shows up in the tab. However, I would like to
assign different icons (which are really text labels that have a look
and feel I cannot replicate in Flex.) Preferably, the application
loads in an XML document with the source of the appropriate images,
but so far I have not been able to get this to work. Must I really
embed each image and use if/then logic to determine which of the
embedded images I want to display?






__._,_.___





--
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] Problem invoking any webservice operation if the API contains a method called 'logout'

2006-10-19 Thread Matt Chotin












Yes, logout is a reserved method that we
have on the AbstractService class.  If your WebService has a logout method you’ll
need to call service.getOperation(“logout”).send(arg1, arg2, …).

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vishwajit Girdhari
Sent: Thursday, October 19, 2006
12:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem
invoking any webservice operation if the API contains a method called 'logout'



 









Figured out a weird issue with Flex 2.0 / Flash
Player 9 .  Your comments welcome.





 





 





Issue: 





When you are calling any webservice where the
API contains a method/function/operation named 'logout'
your call wont be processed.





and you get the exception mentioned in trace .





 





Just to confirm the issue I tried  writing
webservice  in Intersystems Cache and .NET 1.0 .





The issue lies with webmethod name 'logout' , if its renamed
to something else the life is good.





 





Trace :





TypeError: Error #1034: Type Coercion failed: cannot convert
MC{mx.rpc.soap.mxml::WebService@1393c41 mx.rpc::AbstractService/logout()[EMAIL PROTECTED]
to mx.rpc.soap.Operation.
 at mx.rpc.soap::WebService/::createOperationsFromPort()
 at mx.rpc.soap::WebService/::setPort()
 at mx.rpc.soap::WebService/http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()
 at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.rpc.soap::WSDLParser/dispatchEvent()
 at mx.rpc.soap::WSDLParser/::parseCompleted()
 at mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::httpResultHandler()
 at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
 at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
 at mx.rpc::Responder/result()
 at mx.rpc::AsyncRequest/acknowledge()
 at ::DirectHTTPMessageResponder/completeHandler()
 at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at flash.net::URLLoader/flash.net:URLLoader::onComplete()





 





 







Code:





.Net (C#)  Webservice





--





using System;

using System.Collections;

using System.ComponentModel;

using System.Data;

using System.Diagnostics;

using System.Web;

using System.Web.Services;

namespace TestWS

{

[WebService(Namespace="http://vishwajit.com")]

public class Service1 : System.Web.Services.WebService

{

public Service1()

{

InitializeComponent();

}

private IContainer components = null;

private void InitializeComponent()

{

}

protected override void Dispose( bool disposing )

{

if(disposing && components != null)

{

components.Dispose();

}

base.Dispose(disposing); 

}

[WebMethod]

public string login(string loginId , string password)

{

return "ok" ;

}

[WebMethod]

public string logout(string sessionId)

{

return "ok" ;

}

}//class

}//namespace







Flex 2.0 (AS3) Code for Webservice Client











 





8"?>
http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="creationCompleteHandler()"
>
 
 wsdl="http://vishwajit/TestWS/Service1.asmx?WSDL"
 useProxy="false" 
 fault="wsFault(event)" >
 
 
      
    a1
    a1 
   
  
 
 
 
 
  
 






 





--





 





Thank you.





 





Feedback / comments welcome.





 







 Vishwajit Girdhari   



9890946721 | [EMAIL PROTECTED]com  | www.vishwajit.com





 





The best way to be prepared for
future is to invent it !









 







Flex Blog: http://flexiness.blogspot.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
  
  
  

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] Drag/Drop within a viewstack goes a bit awry?

2006-10-19 Thread Matt Chotin












I believe it might have turned into a bug
that we’ve fixed internally.  Not sure there was a workaround for it.

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006
7:15 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Drag/Drop within a viewstack goes a bit awry?



 







I just
had a look at the flexcoders archive and this issue has been 
mentioned before by Dima Ulich, 
http://tech.groups.yahoo.com/group/flexcoders/message/44032.
Does anybody 
know if there is a workaround and whether it was raised as a bug? 

Kornelius Elstner 

[EMAIL PROTECTED]ups.com
wrote on 18/10/2006 14:11:01: 

> Thanks, the example has an area about 1cm in height but not the 
> complete width of the list which is not calling the event. 
> 
> It’s interesting you mention the application control bar, my main 
> app uses such a control bar where the problem is much more evident. 
>






__._,_.___





--
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] [Bindable] Compile error: 1046

2006-10-19 Thread Matt Chotin












I believe if you make something [Bindable]
you can’t do an assignment on the same line.  You’ll need to assign
the initial value to the items collection in an initialize handler.

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of quasimotoca
Sent: Wednesday, October 18, 2006
1:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Bindable]
Compile error: 1046



 







Hi:
I run the following code snippet:

import mx.collections.ArrayCollection;

...

dataProvider="{items}">




y="0">ChatLine>




...

Further on I declare: 

[Bindable] 
public var items:ArrayCollection = new ArrayCollection()

I get the following error:
-> 1046: Type was not found or was not a compile-time constant:

I'm importing -> import mx.collections.ArrayCollection; 
I'm using a custom component named: cmp

I remove [Bindable] and everything works OK but I get the following 
warning:
-> Data binding will not be able to detect assignments to "items".

Any help/pointers greatly appreciated. 

Cheers,
Dave Cook






__._,_.___





--
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] Help! Problem reinstalling FlexBuilder

2006-10-19 Thread Matt Chotin


















You’re sure you’re selecting the root of the
eclipse directory for your install?  Remember that the plugin wants two
directories: first the directory where it will drop the Flex SDK and all the
other non-eclipse stuff, second the actual eclipse directory.  If I exploded Eclipse
into c:\eclipse, that’s the directory I would use.

Matt


I'm reinstalling FB as an Eclipse plugin - previously had it installed as
plugin 
- no problem - uninstalled both FB & Eclipse - reinstalled Eclipse - now
when I 
try to reinstall FB I get this message:

"Please choose an existing Eclipse 3.1 (or greater) folder to be
updated"
"This folder must contain the standard Eclipse folders named
"plugins" and 
"features".

Sounds reasonable, except for the fact that I've already done so. (!)

I'm using Eclipse 3.1.2 on WinXP.

I've Googled the message & find 0 results. And am totally stuck until I get
this 
resolved...

Douglas






__._,_.___





--
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: Flash Player 9 Beta Available

2006-10-19 Thread Matt Chotin












See http://labs.adobe.com/wiki/index.php/Flex_2_for_Linux.

 

“Adobe has not publicly announced plans to release versions of
its desktop tools on Linux.”

 

It’s something we are certainly thinking about but nothing to
announce now.

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of zzwi89
Sent: Thursday, October 19, 2006
10:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flash
Player 9 Beta Available



 







Now that the player is available on Linux, is there
any chance of
getting Flex Builder to run on Linux as well?






__._,_.___





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

  




__,_._,___






[flexcoders] TileList ItemRenderer transition size

2006-10-19 Thread richmcgillicuddy
Is there a way to have a transition in a an ItemRenderer automatically
resize an item in a TileList to edit it? My itemRenderer is not
changing sizes when I change state of an item.

Guessing this is not possible.


State 1
 | 
|  X   X   X |
|  X   X   X | 
|  X   X   X |
|  X   X   X |
||
-

State 2
 | 
|  X   X   X |
|  X   X   X | 
|  X   --- X |
|  X   X   X |
||
-


Rich




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



RE: [flexcoders] DataGrid Weirdness with Online Example

2006-10-19 Thread Iko Knyphausen












Yes, I believe you can set editable to false – that’s what
I did, at least. The checkbox is still there as a renderer, and if you react on
its change event you can set the underlying datagrid data field to “true”
or “false” respectively. This should be remembered by the
ArrayCollection. BTW, this was not meant as a second alternative suggestion...it
was meant in combination with switching of the editable property. Am I making
sense ? 







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Aaron West
Sent: Thursday, October 19, 2006
1:32 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DataGrid
Weirdness with Online Example



 

iko, thanks for your
response. I can't set the editable="false" property on the grid
columns because then they won't report back selections / deselections to the
data provider (an ArrayCollection). Also, your second suggestion of manually
setting the "selected" property is already being done in my custom
AS3 renderer
in the overriden clickHandler() function.


| Aaron West
| aaron AT trajiklyhip DOT com
| http://www.trajiklyhip.com/blog/
| Certified Advanced Adobe ColdFusion MX 7 Developer
| Certified Macromedia FlashMX Developer
| Adobe Community Expert


On Oct 19, 2006, at 2:09 PM, Iko Knyphausen wrote:


Took a while to reproduce... which may trick you in believing
its all ok. Try editable=”false” and set the
selectedItem.field.selected property manually  in a change event of the
checkbox. - Iko

From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Aaron
West
Sent:
Thursday, October 19, 2006 9:48 AM
To:
flexcoders@yahoogroups.com
Subject:
[flexcoders] DataGrid Weirdness with Online Example
 

All,

DataGrid's are cool, but yeash I've run into a lot of
problems with 
them. I've put
together two *real simple* online
demonstrations that illustrate the 
behavior I'm
seeing with a grid. I'd love for someone
more experienced to check out 
these
two examples and offer any insight or
solution.

http://www.trajiklyhip.com/flex/gridexample/DataGridExample1.html
This is a simple grid that uses
a custom Checkbox item renderer written 
in AS3.
Clicking the submit button will display
whether or not each Checkbox is 
selected.
Make some changes to the boxes,
de-selecting a few or an entire column 
and
then click the submit button to see the
selected value. The Alert box
usually
displays the right info the first time
through, but after you've gone 
through a few
rounds of selecting and de-selecting some
of the boxes it will not show 
you the
correct true/false value of each box.

http://www.trajiklyhip..com/flex/gridexample/DataGridExample2.html
This is another simple grid that
is the same as the previous one only 
with more
rows of data to make the DataGrid scroll.
De-select the first "Group 
Owner"
Checkbox (row 1 with the ID = 12) and
then click use the grid scroll 
bar to scroll
up and down. As you scroll, other
Checkboxes are selected and 
deselected at
random.

Incidentally, if you right-click the DataGridExample1 movie
you can
view the source
to see what I'm doing.

| Aaron West
| aaron AT trajiklyhip DOT com
| http://www.trajiklyhip.com/blog/
| Certified Advanced Adobe
ColdFusion MX 7 Developer
| Certified Macromedia FlashMX Developer
| Adobe Community Expert
 






__._,_.___





--
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: TextInput control (displaying CurrencyFormatted data) question

2006-10-19 Thread Mike Anderson
Yes, Michael - that is PRECISELY what I am asking -

In my App, I have a TextInput that is bound to a ValueObject (using the
Curly Braces method) - and this TextInput needs to display numbers
entered by the user, as Currency once that field loses focus.

Is it possible to have the user enter a number, and once the TextInput
loses focus, have the number turn into a "$00.00" format (while still
keeping the original intact, when sending back to the server)?  I am
sure this is quite easy to do, BUT will this get hosed up, if this value
gets sent back to the server?

This is why I mentioned, having an interim Variable hold the contents of
the "Number".

Even know my DataType on the SQL Server is "SmallMoney", it's still a
Number within my VO Class File.

Will this cause an error, since a String Var is required, in order to
keep the $ format?

This is where I could use some guidance...

Thanks in advance for your help,

Mike

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Labriola
Sent: Thursday, October 19, 2006 8:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: TextInput control (displaying
CurrencyFormatted data) question


Mike,

I might need some more explanation, as I think I am missing something.
I have a lot of textInputs that format on focus out. Is your concern
that the data in the field is now 'formatted' so it will be useless for
sending back to some server.

Let me know and I will be glad to help more, Mike

--- In flexcoders@yahoogroups.com, "Mike Anderson" <[EMAIL PROTECTED]> wrote:
>
> Hello All,
> 
> In all the examples I've seen for the CurrencyFormatter when it comes 
> to using a TextInput for displaying the data, it requires TWO 
> TextInputs - one that contains the value to be formatted, and one that

> displays the finally formatted data.
> 
> Isn't there a way, where the same TextInput can be used twice?  The 
> holder of the data, and the displayer of the formatted data?  Or is 
> this simply not possible?
> 
> Or is my best bet (since 2 controls would look stupid), to declare a 
> Variable that acts as the Value Holder (as well as the item being 
> bound to my DataSet), and then the actual TextInput strictly for 
> displaying to the user, the CurrencyFormatted value?
> 
> As far as I can tell, this is THE way to do it - but I just wanted to 
> throw this question out there.
> 
> Any comments regarding this, would be greatly appreciated!
> 
> Thanks,
> 
> Mike
>





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

<*> 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] Re: Creating JarJam button Effect.

2006-10-19 Thread dougmccune
How about:

public function removeMe(event:CloseEvent){
  PopUpManager.removePopUp(event.currentTarget);
}
 

--- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]>
wrote:
>
> I have tried using that, and it gives me a big goose egg.
> 
> This is the updated code.
> 
> 
> 
> public function createWindow(wTitle:String, wX:Number, wY:Number,
> wWidth:Number, wHeight:Number):void {
>  title = new TitleWindow();
>  title.name = wTitle;
>  title.id = wTitle;
>  title.title = wTitle;
>  title.x = wX;
>  title.y = wY;
>  title.visible = true;
>  title.showCloseButton = true;
>  title.addEventListener(CloseEvent.CLOSE, removeMe);
> 
>  windowArray.push(title);
>  PopUpManager.addPopUp(title, mainCanvas);
>  addStates(wX, wY, wWidth, wHeight);
> }
> 
> public function removeMe(event:CloseEvent){
>  PopUpManager.removePopUp(this)
> }
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Dustin Mercer" 
> wrote:
> >
> > Have you tried:
> >
> > title.addEventListener(  CloseEvent.CLOSE, setState );
> >
> > instead of:
> >
> > title.addEventListener(  MouseEvent.CLICK, setState );
> >
> >
> >
> > That should take care of it...
> >
> >
> >
> >
> >
> > 
> >
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of Jeremy Rottman
> > Sent: Thursday, October 19, 2006 1:55 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Creating JarJam button Effect.
> >
> >
> >
> > I am taking an idea from the JarJam demo that adobe has posted on
> adobe
> > labs and recreating it to suit our needs. I almost have it complete
> and
> > working, but I have run into two little snags.
> >
> > When I create the titlewindow with actionscript, I am unable to get
> the
> > close button at the top of the titlewindow to work. I have looked at
> > every example I could find and not a single one works. With the code I
> > have provided does anyone see why this wont work?
> >
> > Any help with this is greatly appreciated.
> >
> > Here is a link to my test application, and source.
> > http://beta.homesmartagent.com/transitions/JamJarEffect.html
> > 
> > http://beta.homesmartagent.com/transitions/srcview/
> > 
> >
>





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



Re: [flexcoders] Announcing the AS3 Lightweight Remoting Framework

2006-10-19 Thread RR-007
Danny,
First of all thank you, good job. I was wondering since I am a newbee
if you could provide an app as a sample.

thank you again.

On 10/19/06, Danny Patterson <[EMAIL PROTECTED]> wrote:
> I'm happy to finally announce the release of my first open source
> project, the AS3 Lightweight Remoting Framework. I've had this done for
> a long time now but I haven't had a chance to release it until now. From
> the project page:
>
> "This project is motivated by the need for a simple yet robust framework
> for handling Remoting calls. This framework could be used in AS3-only
> projects without the Flex framework, or it could be used in a Flex
> project to access Remoting resources that aren't supported by the Flex
> framework."
>
> http://osflash.org/as3lrf 
>
> Thanks,
> Danny Patterson
>
>
>


-- 
We don't stop playing because we grow old.
We grow old because we stop playing.
Live it a little and play some more,

RR-007


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



RE: [flexcoders] Does FDS project have to compile on the server?

2006-10-19 Thread Dimitrios Gianninas





Below is the command we use to pre-compile our Flex app 
that uses FDS. Just like Peter said you just need to specify the services option 
and thats it. Hope my example helps.
 
   dir="${BUILD}" 
   vmlauncher="false"   failonerror="true">  
 
Dimitrios 
Gianninas
RIA 
Developer
Optimal 
Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Allen 
RiddleSent: Thursday, October 19, 2006 6:09 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Does FDS project 
have to compile on the server?




I do have that entry in 
there. Can't figure it out.





From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Peter 
FarlandSent: Thursday, October 
19, 2006 4:53 PMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Does FDS project 
have to compile on the server?




You can precompile any 
Flex 2 app, including FDS apps. You need to point Flex Builder 2 (or the command 
line compiler if using mxmlc directly) to the 
/WEB-INF/flex/services-config.xml file at compile time. You can either 
do this using the  option under the  section of 
flex-config.xml or using a command line argument 
--services=c:/path/to/web/application/WEB-INF/flex/services-config.xml





From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Allen 
RiddleSent: Thursday, October 
19, 2006 5:42 PMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Does FDS project have 
to compile on the server?


In my Data Services project, do I 
have to choose the option to compile the application on the server vs. 
pre-compiling it if I want to use Data Management Services? It's the only way I 
could get it to work. When I do a pre-compiled swf, I'm unable to make an RTMP 
connection.
Allen 
Riddle
Sofware 
Development
x3217


 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





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

  




__,_._,___



[flexcoders] Re: Validator Error Message Position

2006-10-19 Thread Michael Labriola

Not sure if this helps in your particular situation, however, the
validation error messages are really nothing more than styled tooltips. 

You have some control over tips, such as their maximum width.

Look in the Flex Help under "Setting the width of ToolTips"

-Mike

--- In flexcoders@yahoogroups.com, "Paul Cormier" <[EMAIL PROTECTED]> wrote:
>
> I was having the same problem and couldn't find a solution other than
> to  insert line breaks 
 in the validator message so that they
> aren't so wide, but instead wrap to multiple lines.
> 
> Paul C
> WinCorp Software, Inc.
>





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



Re: [flexcoders] Re: Flex and Crystal reports

2006-10-19 Thread Darron J. Schall
If you're looking to integrate Crystal Reporting-like functionality with 
Flex, I highly recommend taking a look at ColdFusion Reporting: 
http://www.adobe.com/products/coldfusion/reporting/

ColdFusion Reporting is done via the ColdFusion Report Builder tool.  
You can design a report visually, lay out exactly how you want the 
report to appear, define the repeating areas, the query to pull the 
data, do calculations, draw lines and charts and images, write 
ColdFusion expressions to generate dynamic fields, pass data into a 
report at runtime, etc.  The report template file is stored as a .cfr 
file.  Then, you use the  tag on the server to display the 
report in one of three formats: PDF, FlashPaper, or Excel (.xls).

If you choose to generate a FlashPaper report, the output is just a .swf 
file.  This report.swf file can then be loaded into Flex via 
.  If you're not familiar wtih FlashPaper, essentially 
it's a way to bring PDF-style document navigation into the Flash 
Player.  FlashPaper reporting also gives pixel-perfect printing from 
within the report.swf as well, which is a nice bonus (printing in Flash 
has traditionally been somewhat difficult to get perfect results).

Here's an older example of integrating FlashPaper and Flex (for Flex 
1.5):  http://blog.daemon.com.au/archives/000315.html

For an overview of ColdFusion Reporting to get a feel as to how it 
compares to Crystal, check out this developer center article: 
http://www.adobe.com/devnet/coldfusion/articles/reporting.html

For an example FlashPaper document, if you've never seen one before, 
here's an online demo: 
http://www.adobe.com/products/coldfusion/whitepapers/coldfusionmx7_evaluators_guide.swf

I'm working on an application right now that fully integrates ColdFusion 
Reporting and Flex 2, and we're loving the way it works together and the 
final output.  It's just what the doctor ordered, and with the 
 tag, we can deliver the report "in-line" via an  or let the user download a .pdf for offline viewing, or download an 
Excel .xls to do more calculations, etc...

I hope that helps...

-d

Wendy Espinoza wrote:
>
> Thank you very much, it helps me very much to begin. Other question, 
> flex has some way of generating his own reports, something similar to 
> the crystal report?
>




--
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] Re: writing and using classes

2006-10-19 Thread Michael Labriola

There are many, try googling Object Oriented Tutorials

Here is a quick overview from the Flex 2 docs:
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1837.html

--Mike

--- In flexcoders@yahoogroups.com, "amigo_fd" <[EMAIL PROTECTED]> wrote:
>
> Thanks a lot, Mike
> 
> used "public static function String2Date"
> and "CommonFunctions.String2Date(...)"
> 
> I'm a search-trialanderror-and-search-again type of programmer. Just
> learning as I need something :-)
> 
> Any suggestions on good OO-related basic learning sites ?
> 
> --- In flexcoders@yahoogroups.com, "Michael Labriola" 
> wrote:
> >
> > 
> > Frank,
> > 
> > I think you might be approaching this from the wrong perspective. In
> > particular, if you don't have object oriented programming experience,
> > you may want to take a few minutes and read some of the many tutorials
> > available online.
> > 
> > As Flex is a pretty OO heavy environment, without this knowledge, I
> > think you are going to get stuck on a lot of issues.
> > 
> > That said, you have two choices in the code you wrote below:
> > 
> > You could make your method static:
> > 
> > public function String2Date becomes->
> > public static function String2Date
> > 
> > Then you could access it as:
> > dfShipping.selectedDate =
> > CommonFunctions.String2Date(x.result[0].shipdatum[0].toString());
> > 
> > Or you need to create an instance of this class first.
> > 
> > var cf:CommonFunctions = new CommonFunctions();
> > dfShipping.selectedDate =
> > cf.String2Date(x.result[0].shipdatum[0].toString());
> > 
> > I do encourage you to spend a little time reading about Object
> > Oriented programming, either from an Adobe resource or just an online
> > tutorial. It will help you immensly.
> > 
> > --Mike
> > 
> > --- In flexcoders@yahoogroups.com, "amigo_fd"  wrote:
> > >
> > > Hello,
> > > 
> > > I want to make a class with a function I want to reuse in my
> > > application. This is new for me, so I need some help ...
> > > 
> > > I've created a file "CommonFunctions.as" in the root of my
application
> > > with this code:
> > > 
> > > package {
> > >   public class CommonFunctions {
> > >   public function String2Date(doString:String):Date {
> > >   var doYear:int = Number(doString.substr(0,4));
> > >   var doMonth:int = Number(doString.substr(5,2));
> > >   var doDay:int = Number(doString.substr(8,2));
> > >   var doHour:int = Number(doString.substr(11,2));
> > >   var doMin:int = Number(doString.substr(14,2));
> > >   var doSec:int = Number(doString.substr(17,2));  
> > >   
> > >   var myDate:Date = new Date(doYear, doMonth, doDay, 
> > > doHour, doMin,
> > > doSec);
> > >   // showErrorDialog(doString + "+" + doYear + "+" + 
> > > doMonth +
"+" +
> > > doDay + "+" + doHour + "+" + doMin + "+" + doSec);
> > >   
> > >   return myDate;
> > >   }
> > >   }
> > > }
> > > 
> > > Now, how do I use in it on an other mxml-file in that application ?
> > > This does not work:
> > > 
> > > dfShipping.selectedDate =
> > > String2Date(x.result[0].shipdatum[0].toString());
> > > 
> > > Thanks a lot,
> > > Frank
> > >
> >
>





--
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] Help! Problem reinstalling FlexBuilder

2006-10-19 Thread Douglas McCarroll
Hi All,

I'm reinstalling FB as an Eclipse plugin - previously had it installed as 
plugin 
- no problem - uninstalled both FB & Eclipse - reinstalled Eclipse - now when I 
try to reinstall FB I get this message:

"Please choose an existing Eclipse 3.1 (or greater) folder to be updated"
"This folder must contain the standard Eclipse folders named "plugins" and 
"features".

Sounds reasonable, except for the fact that I've already done so. (!)

I'm using Eclipse 3.1.2 on WinXP.

I've Googled the message & find 0 results. And am totally stuck until I get 
this 
resolved...

Douglas


--
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] Re: TextInput control (displaying CurrencyFormatted data) question

2006-10-19 Thread Michael Labriola

Mike,

I might need some more explanation, as I think I am missing something.
I have a lot of textInputs that format on focus out. Is your concern
that the data in the field is now 'formatted' so it will be useless
for sending back to some server.

Let me know and I will be glad to help more,
Mike

--- In flexcoders@yahoogroups.com, "Mike Anderson" <[EMAIL PROTECTED]> wrote:
>
> Hello All,
> 
> In all the examples I've seen for the CurrencyFormatter when it comes to
> using a TextInput for displaying the data, it requires TWO TextInputs -
> one that contains the value to be formatted, and one that displays the
> finally formatted data.
> 
> Isn't there a way, where the same TextInput can be used twice?  The
> holder of the data, and the displayer of the formatted data?  Or is this
> simply not possible?
> 
> Or is my best bet (since 2 controls would look stupid), to declare a
> Variable that acts as the Value Holder (as well as the item being bound
> to my DataSet), and then the actual TextInput strictly for displaying to
> the user, the CurrencyFormatted value?
> 
> As far as I can tell, this is THE way to do it - but I just wanted to
> throw this question out there.
> 
> Any comments regarding this, would be greatly appreciated!
> 
> Thanks,
> 
> Mike
>





--
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] URLStream.readObject() Bug?

2006-10-19 Thread Jim Cheng
Hey everyone (especially Adobe engineers), I think I've found a bug with 
ActionScript 3.0's URLStream.readObject() method while trying to read 
some legacy AMF0 files that I have lying around from a previous AS2 project.

To set the stage, I have a bunch of AMF0 streams that were generated 
from Flash Player 8 and saved to files via Flash Remoting and a little 
bit of custom server-side magic (http://www.radicalconcepts.com).

Today, I tried reading some of these files directly into a Flash Player 
9 SWF locally via URLStream rather than the traditional approach of 
using Flash Remoting.  So, running locally within the standalone debug 
player, I read in one of my AMF files and then called readObject() on 
it, only to have the method read a single byte and return a boolean 
true, even though my AMF file actually contained an object.  The 
contents of the file was confirmed through inspecting the file with a 
hex editor with the AMF0 specifications in hand.  Well, Edwin van 
Rijkom's unofficial version, as I don't recall an official spec from 
Macromedia (http://www.vanrijkom.org/archives/2005/06/amf_format.html).

I have the objectEncoding property set to AMF0, and I'm not attempting 
to deserialize until the stream has finished loading.  Inspecting the 
bytes individually via URLStream's readByte() method also confirms that 
the bytes are indeed correct and match up with what's seen in my hex 
editor.  As far as I can tell from the documentation, I'm doing things 
correctly.

Trying a handful of other AMF files yielded the same result.  However, 
if I copy all of the bytes out of the URLStream instance and into a 
ByteArray instance and call it's readObject() method instead, the AMF0 
encoded object deserializes just fine.

I've a simple test case here:

   http://dev.psalterego.com/ReadObjectTest.zip

The example AMF0 file is named test.amf and is located in the /bin 
folder.  You'll need to compile the enclosed MXML file and then run the 
SWF locally using the debug player--the trace outputs should be fairly 
self-explanatory.

If you can spare the time, I'd very much appreciate it if some others 
can verify this so I can be sure that I'm not smoking the crack rock.

Thanks,

Jim Cheng
effectiveUI


--
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] Get Tab from TabBar?

2006-10-19 Thread zzwi89
Does anyone know how to retrive a tab from a TabBar? If I use
getChild() it returns a child of the associated ViewStack.
TabNavigator, which I do not want to use, has a getTabAt() function. I
checked out the code, and it simply does this:

return Button(tabBar.getChildAt(index));

If I do this on my tabBar, it pops up an error stating I can't cast a
VBox to a Button. Why is it that TabNavigator can do this, but I
cannot do this on my TabBar's children?




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



Re: [flexcoders] Re: Flex and Crystal reports

2006-10-19 Thread Wendy Espinoza



Thank you very much, it helps me very much to begin. Other question, flex has some way of generating his own reports, something similar to the crystal report?Tim Hoff <[EMAIL PROTECTED]> escribió: Hi, Flex doesn't support viewing Crystal Reports natively, but you do have a few work arounds.   First, you can create an aspx file that uses the CR Web Viewer control.  This file can then be loaded into an IFrame used with a Flex application. IFrame Demo by Cristophe Coenraets and Brian Deitte (right click to view source) Second, and more preferable to me, is to convert and stream the Crystal Report output to a pdf file (on-the-fly) and display this file in a sepearate browser window using ExternalInterface.  You can find out how to convert CR to pdf by searching Google on "Crystal Reports to pdf". Sorry flexcoders, I tried to make this non-flex response as brief as possible. -TH__ Tim
 HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY --- In [EMAIL PROTECTED]ups.com, "wespinozab" <[EMAIL PROTECTED]..> wrote:>> Hi, Is it possible to open a crystal
 report from flex? I am initiating> with flex and do not understand that must return the web service and> how to use it in flex. I would be grateful if someone could show me> code that teaches me how to open a crystal report form Flex. Really it> is important and I do not understand very well the method.> > Thanks!>   
__Correo Yahoo!Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.espanol.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
  
  
  

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 
   
 

  




__,_._,___



[flexcoders] Re: cairngorm - retreive view data from commands

2006-10-19 Thread gdoucen
Thank you so much Tim for this complete answer. I will use the last to
 stick to the cairgorm recommendations. The technique is simple and clean.

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> 
> Ah yes, it gets a little more complicated if the button is in a
> different view than the video.  If you weren't using Cairngorm, I
> would suggest dispatching a custom button event that is listened for in
> the video view.  Then take the snapshot and pass the data.  The idea
> with Cairngorm is to make the views reusable and avoid coupling to other
> views.  The Cairngorm gurus would probably suggest the following
> approach.
> 
> Create a Boolean variable in the ModelLocator called takeSnapshot.  On
> the button click event, dispatch an event-command that updates the
> variable to true.  In the video view use an ObserveValue
>
 .cfm#more>  tag to listen for the change of the takeSnapshot variable to
> true.  The ObserveValue tag handler function would then take the
> snapshot of the video and dispatch the CairngormEvent (with the
> bitmapData).  I still recommend that you store the bitmapData in the
> ModelLocator and bind the data to the snapshot view.
> 
> By following this approach, the child views don't care about their
> parents and are able to be reused elsewhere.  You could, of course, do
> it the way that you mentioned.  But I think that the way described above
> is more in line with best practices.  I hope that this gives you some
> ideas.
> 
> -TH
> __
> 
> Tim Hoff
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
> Office  : 866-CYNERGY
> 
> --- In flexcoders@yahoogroups.com, "gdoucen"  wrote:
> >
> > Thanks Tim for your answer but my problem come from the way i can
> > gather all the data from differents views in a sole custom event. I
> > agree with you for the rest.
> > My button which trigger the event is in a separate view than the video
> > display i want to take a snapshot. Of course here the problem is
> > simple but i want to generalize it.
> >
> > I think that i was complicating the problem by trying to lead the
> > event to the view that have the videodisplay which then send the custo
> > event to the command.
> >
> > A better way is to simply confide in the parent container of the two
> > view to send itself the custom event to the command cause it have
> > access to the data all the view.
> >
> > 
> > 
> > 
> > 
> > 
> > 
> >  />
> > 
> >
> > It 's correct and clean like that?. If i'm wrong tell me cause i'm a
> > newbie with flex and cairngorm and i want to get the good reflex.
> >
> > Thanks again
> >
> > --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote:
> > >
> > >
> > > Hi,
> > >
> > > Usually, if you're dealing with moving data around a Cairngorm
> > > application, you would create a public variable (or VO) in the
> > > ModelLocator. When you take a snapshot of the video, dispatch a
> > > CairngormEvent that contains the bitmapData (I would do this in the
> > > view's script; not a ViewHelper). In the command, update the
> variable
> > > in the ModelLocator with the data. Now you have the data in a
> centrally
> > > located position. If another view needs access to this data, simply
> > > bind the view's control to the variable in the ModelLocator. As soon
> as
> > > the variable is updated by the command, the second view will
> > > automatically reflect the change.
> > >
> > > This is a simple explanation and may not fit your particular use
> case.
> > > But hopefully it will give you some ideas.
> > >
> > > -TH
> > > __
> > >
> > > Tim Hoff
> > > Cynergy Systems, Inc.
> > > http://www.cynergysystems.com
> > > Office  : 866-CYNERGY
> > >
> > >
> > >
> > > --- In flexcoders@yahoogroups.com, "gdoucen"  wrote:
> > > >
> > > > Hi,
> > > >
> > > > My problem is the following.
> > > >
> > > > I use cairngorm framework.
> > > > I have two views. the button in one view triggers an event that
> need
> > > > to get data from the other view. In my case, i take a snapshot of
> the
> > > > video so here i need the bitmap data.
> > > >
> > > > I see two solutions.
> > > >
> > > > First, using viewhelper/viewLocator to get the data from the
> dedicated
> > > > view inside the command class.
> > > >
> > > > I know that viewhelper are mostly not recommended by cairngorm in
> the
> > > > opposite side when it's used to set views from commands but here.
> > > >
> > > > Secondly, use the parent of the two views to transmit the event
> from
> > > > view1 to view2 that send the final event.
> > > >
> > > > The structure could be as below
> > > >
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > > > What is the best way to do that?
> > > >
> > > > If the action was triggered from the view that hold the needed
> >

[flexcoders] WebSphere Application Server Toolkit 6.1 (Eclipse 3.1.2)

2006-10-19 Thread Dustin Mercer












Has anyone tried to get Flex Builder 2 running
on WebSphere AST 6.1?  I am having quite a few errors here, but things kind
of work, but unfortunately not to the point of being productive.  I’m
wondering if anyone has been successful before I get to deep into it. 
Here is a log of some of the eclipse errors.    I’m
thinking IBM is using a few of the updated eclipse plug-ins that Flex doesn’t
play well with.  Maybe this is something that can be looked at for first
Flex Builder patch?  Suggested workarounds?  Running 2 eclipse
sessions and a testing server is killin me!

 

All from Plugin
com.adobe.flexbuilder.project

 

Error
2006-10-19 16:34:36.601 Uncaught exception in compiler  (xerces version
2.7.0.v200604261440)

java.lang.IllegalAccessError: org.apache.xerces.util.XMLAttributesImpl$Attribute

at
java.lang.ClassLoader.defineClassImpl(Native Method)

at
java.lang.ClassLoader.defineClass(ClassLoader.java:222)

at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.defineClass(DefaultClassLoader.java:370)

at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineClass(EclipseClassLoader.java:233)

at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClassImpl(DefaultClassLoader.java:343)

at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClass(DefaultClassLoader.java:235)

at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.findLocalClass(AbstractClassLoader.java:183)

at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFindLocalClass(EclipseClassLoader.java:141)

at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:72)

at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)

at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)

at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)

at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)

at java.lang.ClassLoader.loadClass(ClassLoader.java:561)

at
java.lang.J9VMInternals.verifyImpl(Native Method)

at
java.lang.J9VMInternals.verify(J9VMInternals.java:59)

at
java.lang.J9VMInternals.initialize(J9VMInternals.java:120)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerMMImpl.(XMLDocumentFragmentScannerMMImpl.java:105)

at
org.apache.xerces.impl.XMLDocumentScannerMMImpl.(XMLDocumentScannerMMImpl.java:258)

at
org.apache.xerces.impl.XMLNSDocumentScannerMMImpl.(XMLNSDocumentScannerMMImpl.java:120)

at
org.apache.xerces.parsers.IntegratedParserConfigurationMMImpl.createDocumentScanner(IntegratedParserConfigurationMMImpl.java:282)

at
org.apache.xerces.parsers.DTDConfiguration.(Unknown Source)

at org.apache.xerces.parsers.StandardParserConfiguration.(Unknown
Source)

at
org.apache.xerces.parsers.IntegratedParserConfigurationMMImpl.(IntegratedParserConfigurationMMImpl.java:193)

at
org.apache.xerces.parsers.XML11ConfigurationMMImpl.(XML11ConfigurationMMImpl.java:182)

at
org.apache.xerces.parsers.XML11ConfigurationMMImpl.(XML11ConfigurationMMImpl.java:139)

at java.lang.Class.newInstanceImpl(Native
Method)

at
java.lang.Class.newInstance(Class.java:1263)

at org.apache.xerces.util.ObjectFactory.newInstance(Unknown
Source)

at
org.apache.xerces.util.ObjectFactory.findJarServiceProvider(Unknown Source)

at
org.apache.xerces.util.ObjectFactory.createObject(Unknown Source)

at
org.apache.xerces.util.ObjectFactory.createObject(Unknown Source)

at org.apache.xerces.parsers.SAXParserMMImpl.(SAXParserMMImpl.java:155)

at
org.apache.xerces.parsers.SAXParserMMImpl.(SAXParserMMImpl.java:138)

at
org.apache.xerces.jaxp.SAXParserMMImpl.(SAXParserMMImpl.java:109)

at org.apache.xerces.jaxp.SAXParserFactoryMMImpl.newSAXParser(SAXParserFactoryMMImpl.java:102)

at
flex2.compiler.config.FileConfigurator.load(FileConfigurator.java:60)

at
com.adobe.flexbuilder.project.compiler.internal.CompilerState.createConfiguration(Unknown
Source)

at com.adobe.flexbuilder.project.compiler.internal.CompilerState.createFlexProjectConfiguration(Unknown
Source)

at
com.adobe.flexbuilder.project.compiler.internal.CompilerState.initConfiguration(Unknown
Source)

at
com.adobe.flexbuilder.project.compiler.internal.CompilerState.init(Unknown
Source)

at
com.adobe.flexbuilder.project.compiler.internal.CompilerState.(Unknown
Source)

at
com.adobe.flexbuilder.project.compiler.internal.CompilerStateManager.getState(Unknown
Source)

at
com.adobe.flexbuilder.project.compiler.internal.CompilerStateManager.getState(Unknown
Source)

at
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.buildApplication(Unknown
Source)

at
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown
Source)

at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)

at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)

at
org.eclipse.core.runtime.Platform.run(Plat

Re: [flexcoders] DataGrid Weirdness with Online Example

2006-10-19 Thread Aaron West
iko, thanks for your response.  I can't set the editable="false" property on the grid
columns because then they won't report back selections / deselections to the
data provider (an ArrayCollection).  Also, your second suggestion of manually
setting the "selected" property is already being done in my custom AS3 renderer
in the overriden clickHandler() function.


|  Aaron West
|  aaron AT trajiklyhip DOT com
|  http://www.trajiklyhip.com/blog/
|  Certified Advanced Adobe ColdFusion MX 7 Developer
|  Certified Macromedia FlashMX Developer
|  Adobe Community Expert


On Oct 19, 2006, at 2:09 PM, Iko Knyphausen wrote:

Took a while to reproduce... which may trick you in believing its all ok. Try editable=”false” and set the selectedItem.field.selected property manually  in a change event of the checkbox. - Iko

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron West
Sent: Thursday, October 19, 2006 9:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid Weirdness with Online Example
 

All,

 DataGrid's are cool, but yeash I've run into a lot of problems with 
 them. I've put
 together two *real simple* online demonstrations that illustrate the 
 behavior I'm
 seeing with a grid. I'd love for someone more experienced to check out 
 these
 two examples and offer any insight or solution.

http://www.trajiklyhip.com/flex/gridexample/DataGridExample1.html
 This is a simple grid that uses a custom Checkbox item renderer written 
 in AS3.
 Clicking the submit button will display whether or not each Checkbox is 
 selected.
 Make some changes to the boxes, de-selecting a few or an entire column 
 and
 then click the submit button to see the selected value. The Alert box
 usually
 displays the right info the first time through, but after you've gone 
 through a few
 rounds of selecting and de-selecting some of the boxes it will not show 
 you the
 correct true/false value of each box.

http://www.trajiklyhip..com/flex/gridexample/DataGridExample2.html
 This is another simple grid that is the same as the previous one only 
 with more
 rows of data to make the DataGrid scroll. De-select the first "Group 
 Owner"
 Checkbox (row 1 with the ID = 12) and then click use the grid scroll 
 bar to scroll
 up and down. As you scroll, other Checkboxes are selected and 
 deselected at
 random.

 Incidentally, if you right-click the DataGridExample1 movie you can
 view the source
 to see what I'm doing.

 | Aaron West
 | aaron AT trajiklyhip DOT com
 | http://www.trajiklyhip.com/blog/
 | Certified Advanced Adobe ColdFusion MX 7 Developer
 | Certified Macromedia FlashMX Developer
 | Adobe Community Expert
__._,_.___  

--
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:  

 


SPONSORED LINKS 
Software development tool 
Software development 
Software development services 
Home design software 
Software development company 

 Your email settings: Individual Email|TraditionalChange 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 __,_._,___  

[flexcoders] Speech Recognition

2006-10-19 Thread indianrock IR



Im building a simple user-interface using flex. Can i embedd any kind of voice recognition engine, that can be used to control the app?Thanks,Vijay. 
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.
__._,_.___





--
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] Does FDS project have to compile on the server?

2006-10-19 Thread Allen Riddle












I do have that entry in there. Can’t
figure it out.

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland
Sent: Thursday, October 19, 2006
4:53 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Does FDS
project have to compile on the server?



 







You can precompile any
Flex 2 app, including FDS apps. You need to point Flex Builder 2 (or the
command line compiler if using mxmlc directly) to the /WEB-INF/flex/services-config.xml
file at compile time. You can either do this using the  option
under the  section of flex-config.xml or using a command
line argument --services=c:/path/to/web/application/WEB-INF/flex/services-config.xml

 

 







From:
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Allen Riddle
Sent: Thursday, October 19, 2006
5:42 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Does FDS
project have to compile on the server?





In my Data Services project, do I have to choose the option
to compile the application on the server vs. pre-compiling it if I want to use
Data Management Services? It’s the only way I could get it to work. When
I do a pre-compiled swf, I’m unable to make an RTMP connection.

Allen Riddle

Sofware Development

x3217










__._,_.___





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

  




__,_._,___






[flexcoders] Dead end Date

2006-10-19 Thread Pan Troglodytes



Why did the date class have to be marked as final?  Is there some limitation to the way calling native functions worked that justified making the class a dead end?-- Jason



__._,_.___





--
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: Creating JarJam button Effect.

2006-10-19 Thread Dustin Mercer












In your removePopup statement you are
passing this, which is actually the application… try event.currentTarget
instead.

 

public function removeMe(event:CloseEvent){
PopUpManager.removePopUp(event.currentTarget)
}



 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Rottman
Sent: Thursday, October 19, 2006
2:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Creating
JarJam button Effect.



 







I have tried using that, and it gives me a big goose
egg.

This is the updated code.

public function createWindow(wTitle:String, wX:Number, wY:Number,
wWidth:Number, wHeight:Number):void {
title = new TitleWindow();
title.name = wTitle;
title.id = wTitle;
title.title = wTitle;
title.x = wX;
title.y = wY;
title.visible = true;
title.showCloseButton = true;
title.addEventListener(CloseEvent.CLOSE, removeMe);

windowArray.push(title);
PopUpManager.addPopUp(title, mainCanvas);
addStates(wX, wY, wWidth, wHeight);
}

public function removeMe(event:CloseEvent){
PopUpManager.removePopUp(this)
}

--- In [EMAIL PROTECTED]ups.com,
"Dustin Mercer" ...>
wrote:
>
> Have you tried:
>
> title.addEventListener( CloseEvent.CLOSE, setState );
>
> instead of:
>
> title.addEventListener( MouseEvent.CLICK, setState );
>
>
>
> That should take care of it...
>
>
>
>
>
> 
>
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of Jeremy Rottman
> Sent: Thursday, October 19, 2006 1:55 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Creating JarJam button Effect.
>
>
>
> I am taking an idea from the JarJam demo that adobe has posted on
adobe
> labs and recreating it to suit our needs. I almost have it complete
and
> working, but I have run into two little snags.
>
> When I create the titlewindow with actionscript, I am unable to get
the
> close button at the top of the titlewindow to work. I have looked at
> every example I could find and not a single one works. With the code I
> have provided does anyone see why this wont work?
>
> Any help with this is greatly appreciated.
>
> Here is a link to my test application, and source.
> http://beta.homesmartagent.com/transitions/JamJarEffect.html
> 
> http://beta.homesmartagent.com/transitions/srcview/
> 
>






__._,_.___





--
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] Does FDS project have to compile on the server?

2006-10-19 Thread Peter Farland





You can precompile any Flex 2 app, including FDS apps. You 
need to point Flex Builder 2 (or the command line compiler if using mxmlc 
directly) to the /WEB-INF/flex/services-config.xml file at compile time. You can 
either do this using the  option under the  
section of flex-config.xml or using a command line argument 
--services=c:/path/to/web/application/WEB-INF/flex/services-config.xml
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Allen 
RiddleSent: Thursday, October 19, 2006 5:42 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Does FDS project have 
to compile on the server?




In my Data Services project, do I 
have to choose the option to compile the application on the server vs. 
pre-compiling it if I want to use Data Management Services? It’s the only way I 
could get it to work. When I do a pre-compiled swf, I’m unable to make an RTMP 
connection.

Allen Riddle
Sofware 
Development
x3217


__._,_.___





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

  




__,_._,___



[flexcoders] Does FDS project have to compile on the server?

2006-10-19 Thread Allen Riddle










In my Data Services project, do I have to choose the option
to compile the application on the server vs. pre-compiling it if I want to use
Data Management Services? It’s the only way I could get it to work. When
I do a pre-compiled swf, I’m unable to make an RTMP connection.

 

Allen Riddle

Sofware Development

x3217

 




__._,_.___





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

  




__,_._,___





[flexcoders] Re: Creating JarJam button Effect.

2006-10-19 Thread Jeremy Rottman
I have tried using that, and it gives me a big goose egg.

This is the updated code.



public function createWindow(wTitle:String, wX:Number, wY:Number,
wWidth:Number, wHeight:Number):void {
 title = new TitleWindow();
 title.name = wTitle;
 title.id = wTitle;
 title.title = wTitle;
 title.x = wX;
 title.y = wY;
 title.visible = true;
 title.showCloseButton = true;
 title.addEventListener(CloseEvent.CLOSE, removeMe);

 windowArray.push(title);
 PopUpManager.addPopUp(title, mainCanvas);
 addStates(wX, wY, wWidth, wHeight);
}

public function removeMe(event:CloseEvent){
 PopUpManager.removePopUp(this)
}









--- In flexcoders@yahoogroups.com, "Dustin Mercer" <[EMAIL PROTECTED]>
wrote:
>
> Have you tried:
>
> title.addEventListener(  CloseEvent.CLOSE, setState );
>
> instead of:
>
> title.addEventListener(  MouseEvent.CLICK, setState );
>
>
>
> That should take care of it...
>
>
>
>
>
> 
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of Jeremy Rottman
> Sent: Thursday, October 19, 2006 1:55 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Creating JarJam button Effect.
>
>
>
> I am taking an idea from the JarJam demo that adobe has posted on
adobe
> labs and recreating it to suit our needs. I almost have it complete
and
> working, but I have run into two little snags.
>
> When I create the titlewindow with actionscript, I am unable to get
the
> close button at the top of the titlewindow to work. I have looked at
> every example I could find and not a single one works. With the code I
> have provided does anyone see why this wont work?
>
> Any help with this is greatly appreciated.
>
> Here is a link to my test application, and source.
> http://beta.homesmartagent.com/transitions/JamJarEffect.html
> 
> http://beta.homesmartagent.com/transitions/srcview/
> 
>





--
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] Re: Error showing up in Flex but not CF

2006-10-19 Thread app.developer
Rachel, 

Can you show the code within the function that handles the result of 
your CFC in MXML? 

Precia

--- In flexcoders@yahoogroups.com, "Rachel Maxim" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> I am working on a Flex app with CF/remoting, and have come across 
an error I
> cannot track down. The error is "Unable to cast an object of type
> java.lang.String to Query".
> I've seen this error before and it's not normally an issue to 
solve, however
> I do not get the error when running the CFC method(s) outside Flex 
and
> dumping their return values on an HTML page.
> When I run the page in flex that calls those CFC methods via 
remoteObject,
> and display the fault string in flex, I get the error.
> 
> In a nutshell, the CFC creates an array of objects, those objects 
each hold
> a string as one property and a query as another.
> 
> Any ideas where I can look or what might be causing it?
> 
> Thanks
> Rachel
>





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



RE: [flexcoders] Creating JarJam button Effect.

2006-10-19 Thread Dustin Mercer












Have you tried:

title.addEventListener(  CloseEvent.CLOSE,
setState );

instead of:

title.addEventListener(  MouseEvent.CLICK,
setState );

 

That should take care of it…

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Rottman
Sent: Thursday, October 19, 2006
1:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Creating
JarJam button Effect.



 







I am taking an idea from the JarJam demo that adobe
has posted on adobe
labs and recreating it to suit our needs. I almost have it complete and
working, but I have run into two little snags.

When I create the titlewindow with actionscript, I am unable to get the
close button at the top of the titlewindow to work. I have looked at
every example I could find and not a single one works. With the code I
have provided does anyone see why this wont work?

Any help with this is greatly appreciated.

Here is a link to my test application, and source.
http://beta.homesmartagent.com/transitions/JamJarEffect.html
http://beta.homesmartagent.com/transitions/srcview/






__._,_.___





--
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] Error showing up in Flex but not CF

2006-10-19 Thread Darron J. Schall
I know this may sound silly (like, my computer won't turn on... is it 
plugged in?), but haev you checked to make sure the paramters to the 
remote object method call are being passed correctly?

When you run the CFC method outside of flex, you use named parameters 
like:  http://localhost/test.cfc?method=abc&arg1=10&arg2=false  - 
ColdFusion matches up the URL parameters with the parameters names in 
the method (so arg2 could come before arg1, it doesn't matter), and then 
invokes the method.

When you call a method from Flex, the order of the paramters has to be 
exact.  On the Flex side, you have to call service.abc( arg1, arg2 ).

Since it works from the URL but not from Flex, I would double check to 
make sure that the parameters being passed are the same, and that 
they're being passed in the correct order.

-d

Rachel Maxim wrote:
>
> Hello,
>
> I am working on a Flex app with CF/remoting, and have come across an 
> error I cannot track down. The error is "Unable to cast an object of 
> type java.lang.String to Query".
> I've seen this error before and it's not normally an issue to solve, 
> however I do not get the error when running the CFC method(s) outside 
> Flex and dumping their return values on an HTML page.
> When I run the page in flex that calls those CFC methods via 
> remoteObject, and display the fault string in flex, I get the error.
>
> In a nutshell, the CFC creates an array of objects, those objects each 
> hold a string as one property and a query as another.
>
> Any ideas where I can look or what might be causing it?
>
> Thanks
> Rachel
>
>
>  




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



Re: [flexcoders] Error showing up in Flex but not CF

2006-10-19 Thread douglas morrison


Hi Rachel,If your CFC method's returntype is query and the value returned is a string, it will throw this error when Flex reads the value because it is strictly typed. But a CFDump page wont care.. If you are just trying to catch the server fault, use server_fault (event):			id="dataManager"		showBusyCursor="true"		destination="ColdFusion" source="demo.components.Clients">			 hth,dougOn Oct 19, 2006, at 3:27 PM, Rachel Maxim wrote:Hello,I am working on a Flex app with CF/remoting, and have come across an error I cannot track down. The error is "Unable to cast an object of type java.lang.String to Query". I've seen this error before and it's not normally an issue to solve, however I do not get the error when running the CFC method(s) outside Flex and dumping their return values on an HTML page. When I run the page in flex that calls those CFC methods via remoteObject, and display the fault string in flex, I get the error.In a nutshell, the CFC creates an array of objects, those objects each hold a string as one property and a query as another. Any ideas where I can look or what might be causing it?ThanksRachel
__._,_.___





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

  




__,_._,___


[flexcoders] Creating JarJam button Effect.

2006-10-19 Thread Jeremy Rottman
I am taking an idea from the JarJam demo that adobe has posted on adobe
labs and recreating it to suit our needs. I almost have it complete and
working, but I have run into two little snags.

When I create the titlewindow with actionscript, I am unable to get the
close button at the top of the titlewindow to work. I have looked at
every example I could find and not a single one works. With the code I
have provided does anyone see why this wont work?


Any help with this is greatly appreciated.

Here is a link to my test application, and source.
http://beta.homesmartagent.com/transitions/JamJarEffect.html
http://beta.homesmartagent.com/transitions/srcview/





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



Re: [flexcoders] Error showing up in Flex but not CF

2006-10-19 Thread Brendan Meutzner



Can you post some code?On 10/19/06, Rachel Maxim <[EMAIL PROTECTED]> wrote:













  



Hello,I am working on a Flex app with CF/remoting, and have come across an error I cannot track down. The error is "Unable to cast an object of type java.lang.String to Query". I've seen this error before and it's not normally an issue to solve, however I do not get the error when running the CFC method(s) outside Flex and dumping their return values on an HTML page. 
When I run the page in flex that calls those CFC methods via remoteObject, and display the fault string in flex, I get the error.In a nutshell, the CFC creates an array of objects, those objects each hold a string as one property and a query as another.
Any ideas where I can look or what might be causing it?ThanksRachel

  















__._,_.___





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

  




__,_._,___



[flexcoders] Re: Flash Player 9 Beta Available

2006-10-19 Thread zzwi89
Now that the player is available on Linux, is there any chance of
getting Flex Builder to run on Linux as well?




--
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] Re: Socket woes - something simple I'm sure

2006-10-19 Thread quasimotoca
--- In flexcoders@yahoogroups.com, "e_baggg" <[EMAIL PROTECTED]> wrote:
>
> ## Try adding a null byte before flushing the flash.net.Socket.
> 
> Ted-
>   Thanks for your response but I am still unable to get it working.
> Partly b/c I can't find any help on how to add a null byte. I would
> think this (or '\0') would accomplish it but it does not. Sorry,
> couldn't find any help online.
> 
> //this is a connected flash.net.Socket
> this.writeUTFBytes(xml.toXMLString() + null);
> this.flush();
>   
> 
> --- In flexcoders@yahoogroups.com, "Ted Patrick"  wrote:
> >
> > There is no default delimiter in flash.net.Socket. XMLSocket uses
a null
> > byte delimiter to detect message completions to fire the 'data' and
> > 'xml' events. If you are using an XMLSocket Server supporting null
> > bytes. Try adding a null byte before flushing the flash.net.Socket.
> > 
> >  
> > 
> > That should work seamlessly.
> > 
> >  
> > 
> > Also on the receiving side, you will need to read bytesAvailable
into a
> > buffer to detect the null byte to denote a message received.
> > 
> >  
> > 
> > Ted :-)
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of e_baggg
> > Sent: Thursday, October 19, 2006 8:44 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Socket woes - something simple I'm sure
> > 
> >  
> > 
> > Hello. I have a XMLSocket class that I am able to send/receive data to
> > no problem. 
> > 
> > I switched my implementation to use the flash.net.Socket class and now
> > I cannot receive data back.
> > 
> > I updated my sendMessage() to the following...this request should
> > trigger a response from the server but it doesn't...most likely b/c my
> > request is incorrect. What does the XMLSocket do for me that I am not
> > doing here? I thought maybe adding the "\n" to the String would work
> > but it did not. The sendMessage() method is called in my
> > connectHandler so I know the socket is connected. There are no errors
> > in my IO and security handlers.
> > 
> > import flash.net.Socket;
> > public class MySocket extends Socket 
> > {
> > ...
> > public function sendMessage(xml : XML) : void 
> > {
> > try
> > {
> > var ss : String = xml.toXMLString();
> > //ss = 
> > this.writeUTF(ss);
> > this.flush();
> > trace("Send-->:" + ss);
> > } catch (error : IOError){
> > trace("Error: " + error.message);
> > }
> > }
> >
>

Hi:
Send me an email to [EMAIL PROTECTED]  I have a whole game
written using Flex2 Binary Sockets.  Bunch of stuff you'll need.
Cheers,
Dave




--
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] Set icon without using @Embed?

2006-10-19 Thread zzwi89
Instead of using text to label a set of tabs, I am using some images.
Currently I use the following syntax:

component.icon = @Embed(source);

When component is placed into a viewstack, and a tabbar assigned to
the viewstack, the icon shows up in the tab. However, I would like to
assign different icons (which are really text labels that have a look
and feel I cannot replicate in Flex.) Preferably, the application
loads in an XML document with the source of the appropriate images,
but so far I have not been able to get this to work. Must I really
embed each image and use if/then logic to determine which of the
embedded images I want to display?




--
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] invoking application

2006-10-19 Thread svgkuchu
Hi
  I am using JBoss server.My application requires that when I click on 
a tool icon say Eclipse, It should invoke the tool on the client 
machine.Is it possible?

when the JBoss is on the same machine as the client , I can achieve 
this using remote object and the Java Runtime class.

Any help in this matter will be highly appreciated.

Thanks.

Btw I am a newbie to flex.(1 month).




--
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] TextInput control (displaying CurrencyFormatted data) question

2006-10-19 Thread Mike Anderson
Hello All,

In all the examples I've seen for the CurrencyFormatter when it comes to
using a TextInput for displaying the data, it requires TWO TextInputs -
one that contains the value to be formatted, and one that displays the
finally formatted data.

Isn't there a way, where the same TextInput can be used twice?  The
holder of the data, and the displayer of the formatted data?  Or is this
simply not possible?

Or is my best bet (since 2 controls would look stupid), to declare a
Variable that acts as the Value Holder (as well as the item being bound
to my DataSet), and then the actual TextInput strictly for displaying to
the user, the CurrencyFormatted value?

As far as I can tell, this is THE way to do it - but I just wanted to
throw this question out there.

Any comments regarding this, would be greatly appreciated!

Thanks,

Mike


--
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] Graph Library - ala graphviz

2006-10-19 Thread gus_estrella
Folks,
 Is there any implementation of graph libraries for Flex similiar
to the graphviz one (http://graphviz.org/).  Looking for something
that will allow me to add nodes, add conenctions, chnage the colors of
the nodes or connectors, etc.  nothing fancy but dont wnat to reinvent
the wheel

Thanks, Gus




--
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] Error showing up in Flex but not CF

2006-10-19 Thread Rachel Maxim



Hello,I am working on a Flex app with CF/remoting, and have come across an error I cannot track down. The error is "Unable to cast an object of type java.lang.String to Query". I've seen this error before and it's not normally an issue to solve, however I do not get the error when running the CFC method(s) outside Flex and dumping their return values on an HTML page. 
When I run the page in flex that calls those CFC methods via remoteObject, and display the fault string in flex, I get the error.In a nutshell, the CFC creates an array of objects, those objects each hold a string as one property and a query as another.
Any ideas where I can look or what might be causing it?ThanksRachel

__._,_.___





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

  




__,_._,___



[flexcoders] Re: Socket woes - something simple I'm sure

2006-10-19 Thread e_baggg
  Thanks for your reply, I don't know why this is turning into such an
issue for me,  but according to the XMLSocket API, all it does is send
a XML message followed by a zero byte...so why doesn't this work for
me? It looks as if it is the same thing.  


//"this" is a connected flash.net.Socket
var bytes:ByteArray = new ByteArray();
bytes.writeUTFBytes(xml.toXMLString() );
this.writeBytes(bytes);
this.writeByte( 0x30 );
this.flush();

--- In flexcoders@yahoogroups.com, "Darron J. Schall" <[EMAIL PROTECTED]> wrote:
>
> To write a null byte to a Socket, just use the writeByte method:
> 
> this.writeByte( 0x00 );
> this.flush();
> 
> -d
> 
> e_baggg wrote:
> >
> > ## Try adding a null byte before flushing the flash.net.Socket.
> >
> > Ted-
> > Thanks for your response but I am still unable to get it working.
> > Partly b/c I can't find any help on how to add a null byte. I would
> > think this (or '\0') would accomplish it but it does not. Sorry,
> > couldn't find any help online.
> >
> > //this is a connected flash.net.Socket
> > this.writeUTFBytes(xml.toXMLString() + null);
> > this.flush();
> >
>





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



Re: [flexcoders] Flex y Crystal reports

2006-10-19 Thread Igor Costa



Hola  TchiquitaNo, non es possible acher esos.Sorry my Spanish it's terrible.On 10/19/06, wespinozab <
[EMAIL PROTECTED]> wrote:












  



¿Es posible abrir Crystal reports desde flex? Soy nueva trabajando con
flex y no entiendo muy bien que debe devolver el web Service (el cual
contiene el cystal) y como utilizo eso en flex. Por favor, si es
posible guiarme ya sea por medio de código o de algún tutorial se los
agradecería mucho.

Gracias!


  













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








   






  
  
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] array of arrays and XML

2006-10-19 Thread Tracy Spratt












You can loop over the XMLList and build
that ArrayCollection.

 

Alternatively, you could use an
XMLListCollection and do:

var xlcBills:XMLListCollection = new
XMLListCollection(myXMLBillsList.month.bill)

…no loop required.  A labelField
spec might be:@name or @Amount. 

 

I don’t do charts yet so you are on
your own there.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jnewport
Sent: Thursday, October 19, 2006
12:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] array of
arrays and XML



 







Hoping to figure this out. What I am trying to do is
get a result like
this (ArrayCollection).

public var expenses:ArrayCollection = new ArrayCollection([
{Expense: "Taxes", Amount: 106976},
{Expense: "Rent", Amount: 147776},
{Expense: "Car", Amount: 79554},
{Expense: "Gas", Amount: 39252},
{Expense: "Food", Amount: 128351}

from this XML:



>
/>
/>
/>
/>
/>




Then use it to plot data on a piechart. I am pulling the xml in via a
httpservice. So I am guessing I need to iterate through the xml and
create an arrayCollection of arrays? But I can't figure that out. 
Then how to use the Expenses:arrayCollection as a piechart dataprovider.

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








   






  
  
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 
   
 

  




__,_._,___






[flexcoders] Re: cairngorm - retreive view data from commands

2006-10-19 Thread Tim Hoff



Ah yes, it gets a little more complicated if the button is in a different view than the video.  If you weren't using Cairngorm, I would suggest dispatching a custom button event that is listened for in the video view.  Then take the snapshot and pass the data.  The idea with Cairngorm is to make the views reusable and avoid coupling to other views.  The Cairngorm gurus would probably suggest the following approach.  
Create a Boolean variable in the ModelLocator called takeSnapshot.  On the button click event, dispatch an event-command that updates the variable to true.  In the video view use an ObserveValue tag to listen for the change of the takeSnapshot variable to true.  The ObserveValue tag handler function would then take the snapshot of the video and dispatch the CairngormEvent (with the bitmapData).  I still recommend that you store the bitmapData in the ModelLocator and bind the data to the snapshot view.
By following this approach, the child views don't care about their parents and are able to be reused elsewhere.  You could, of course, do it the way that you mentioned.  But I think that the way described above is more in line with best practices.  I hope that this gives you some ideas.
-TH__
Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY--- In flexcoders@yahoogroups.com, "gdoucen" <[EMAIL PROTECTED]> wrote:>> Thanks Tim for your answer but my problem come from the way i can> gather all the data from differents views in a sole custom event. I> agree with you for the rest.> My button which trigger the event is in a separate view than the video> display i want to take a snapshot. Of course here the problem is> simple but i want to generalize it.> > I think that i was complicating the problem by trying to lead the> event to the view that have the videodisplay which then send the custo> event to the command.> > A better way is to simply confide in the parent container of the two> view to send itself the custom event to the command cause it have> access to the data all the view.> > > > > > > > > > > It 's correct and clean like that?. If i'm wrong tell me cause i'm a> newbie with flex and cairngorm and i want to get the good reflex.> > Thanks again> > --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote:> >> > > > Hi,> > > > Usually, if you're dealing with moving data around a Cairngorm> > application, you would create a public variable (or VO) in the> > ModelLocator. When you take a snapshot of the video, dispatch a> > CairngormEvent that contains the bitmapData (I would do this in the> > view's script; not a ViewHelper). In the command, update the variable> > in the ModelLocator with the data. Now you have the data in a centrally> > located position. If another view needs access to this data, simply> > bind the view's control to the variable in the ModelLocator. As soon as> > the variable is updated by the command, the second view will> > automatically reflect the change.> > > > This is a simple explanation and may not fit your particular use case. > > But hopefully it will give you some ideas.> > > > -TH> > __> > > > Tim Hoff> > Cynergy Systems, Inc.> > http://www.cynergysystems.com> > Office  : 866-CYNERGY> > > > > > > > --- In flexcoders@yahoogroups.com, "gdoucen"  wrote:> > >> > > Hi,> > >> > > My problem is the following.> > >> > > I use cairngorm framework.> > > I have two views. the button in one view triggers an event that need> > > to get data from the other view. In my case, i take a snapshot of the> > > video so here i need the bitmap data.> > >> > > I see two solutions.> > >> > > First, using viewhelper/viewLocator to get the data from the dedicated> > > view inside the command class.> > >> > > I know that viewhelper are mostly not recommended by cairngorm in the> > > opposite side when it's used to set views from commands but here.> > >> > > Secondly, use the parent of the two views to transmit the event from> > > view1 to view2 that send the final event.> > >> > > The structure could be as below> > >> > > > > > > > > > > > > > > > > > > > > > > > > > >> > > What is the best way to do that?> > >> > > If the action was triggered from the view that hold the needed> > > informations, i could have passed the data into a custom event that> > > could be directly read by the command...> > >> > > I have browse the forum without success to get informations on this> > > subject. Feel free to redirect me or give me an answer.> > >> > > 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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  

[flexcoders] IE 7, Service Capture, Flex Help

2006-10-19 Thread Sam Shrefler



After installing IE 7, using Service Capture, I can no longer view my Flex Help from Flex Builder.  Previously, I had fixed this by setting the help server in flex builder to 'local host' and the port to 57266 as recommended here: 
http://kevinlangdon.com/phpBB2/viewtopic.php?p=789&sid=35b4ef2ac7ef6001b2d503e99d7cd15b
 
Any other thoughts on how to fix this and still allow service capture to modify IE's proxy settings?
 
Thanks
Sam

__._,_.___





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

  




__,_._,___



[flexcoders] FW: Problem With the Data Grid Header

2006-10-19 Thread Akash










 

HI,

 

 I got
struck in one more problem wtth  the data grid header for flex 1.5.
Actually I want the headertext as multiline as I have to display the no. of
columns in the small area. I tried adding the \n character and played with the
htmlText also for this but nothing worked. Is there any way out. As well as the
lines between the column names and under this was not removable. I tried to
play with the css which did not work for the datagrids.

Could you plz. suggest me something abt this prob? 

 








 

  





  



 

   


   


   


   


   


   


   


   


   


   


   


 




 





 

GridHeaderRender.as

 

import mx.controls.Label;

class GridHeaderRender extends mx.controls.Label{

   var lbl : MovieClip;

   var listOwner : MovieClip; //Reference to the
parent DataGrid.

 

   function GridHeaderRender(){

   }

   public function createChildren():Void {

  lbl = createClassObject(Label,
'label', 1, {toolTip: 'User names here.'});

  lbl.text =
"Total
nPayment";

   }

 

   public function getPreferredHeight():Number {

  return listOwner.rowHeight;

   }

 

   public function layoutChildren():Void {

  lbl.setSize(80,
listOwner.rowHeight);

   }

 

   function setValue(str:String, item:Object,
sel:Boolean) : Void {

   }

}

 

 

 

Akash,

 




__._,_.___





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

  




__,_._,___




Disclaimer

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed.  If you have received this communication in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. The recipient should check this email and any attachments for the presence of viruses.  Ness has taken every reasonable precaution to minimize this risk, and accepts no liability for any damage caused by any virus transmitted in this email.  Ness reserves the rights to monitor and review the content of all messages sent to or from this E-mail address, and store them on the Ness E-mail system.


RE: [flexcoders] DataGrid Weirdness with Online Example

2006-10-19 Thread Iko Knyphausen














Took a while to reproduce... which may trick you in believing its all
ok. Try editable=”false” and set the selectedItem.field.selected
property manually  in a change event of the checkbox. - Iko







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Aaron West
Sent: Thursday, October 19, 2006
9:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid
Weirdness with Online Example



 







All,

DataGrid's are cool, but yeash I've run into a lot of problems with 
them. I've put
together two *real simple* online demonstrations that illustrate the 
behavior I'm
seeing with a grid. I'd love for someone more experienced to check out 
these
two examples and offer any insight or solution.

http://www.trajiklyhip.com/flex/gridexample/DataGridExample1.html
This is a simple grid that uses a custom Checkbox item renderer written 
in AS3.
Clicking the submit button will display whether or not each Checkbox is 
selected.
Make some changes to the boxes, de-selecting a few or an entire column 
and
then click the submit button to see the selected value. The Alert box 
usually
displays the right info the first time through, but after you've gone 
through a few
rounds of selecting and de-selecting some of the boxes it will not show 
you the
correct true/false value of each box.

http://www.trajiklyhip.com/flex/gridexample/DataGridExample2.html
This is another simple grid that is the same as the previous one only 
with more
rows of data to make the DataGrid scroll. De-select the first "Group 
Owner"
Checkbox (row 1 with the ID = 12) and then click use the grid scroll 
bar to scroll
up and down. As you scroll, other Checkboxes are selected and 
deselected at
random.

Incidentally, if you right-click the DataGridExample1 movie you can 
view the source
to see what I'm doing.

| Aaron West
| aaron AT trajiklyhip DOT com
| http://www.trajiklyhip.com/blog/
| Certified Advanced Adobe ColdFusion MX 7 Developer
| Certified Macromedia FlashMX Developer
| Adobe Community Expert






__._,_.___





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

  




__,_._,___






[flexcoders] Re: Socket woes - something simple I'm sure

2006-10-19 Thread e_baggg
So adding a null byte like so didn't work either. Wish XMLSocket was
open source so I wouldn't have to ping the forum! :P

//doesn't work. 'this' is a flash.net.Socket
var bytes:ByteArray = new ByteArray();
bytes.writeUTFBytes(xml.toXMLString() + '\0' );
this.writeBytes(bytes);
this.flush();

--- In flexcoders@yahoogroups.com, "Ted Patrick" <[EMAIL PROTECTED]> wrote:
>
> There is no default delimiter in flash.net.Socket. XMLSocket uses a null
> byte delimiter to detect message completions to fire the 'data' and
> 'xml' events. If you are using an XMLSocket Server supporting null
> bytes. Try adding a null byte before flushing the flash.net.Socket.
> 
>  
> 
> That should work seamlessly.
> 
>  
> 
> Also on the receiving side, you will need to read bytesAvailable into a
> buffer to detect the null byte to denote a message received.
> 
>  
> 
> Ted :-)
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of e_baggg
> Sent: Thursday, October 19, 2006 8:44 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Socket woes - something simple I'm sure
> 
>  
> 
> Hello. I have a XMLSocket class that I am able to send/receive data to
> no problem. 
> 
> I switched my implementation to use the flash.net.Socket class and now
> I cannot receive data back.
> 
> I updated my sendMessage() to the following...this request should
> trigger a response from the server but it doesn't...most likely b/c my
> request is incorrect. What does the XMLSocket do for me that I am not
> doing here? I thought maybe adding the "\n" to the String would work
> but it did not. The sendMessage() method is called in my
> connectHandler so I know the socket is connected. There are no errors
> in my IO and security handlers.
> 
> import flash.net.Socket;
> public class MySocket extends Socket 
> {
> ...
> public function sendMessage(xml : XML) : void 
> {
> try
> {
> var ss : String = xml.toXMLString();
> //ss = 
> this.writeUTF(ss);
> this.flush();
> trace("Send-->:" + ss);
> } catch (error : IOError){
> trace("Error: " + error.message);
> }
> }
>





--
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] Re: DataGrid Weirdness with Online Example

2006-10-19 Thread Oscar



 
 Hi Aaron,
 I ran into something similar some time ago ... http://tech.groups.yahoo.com/group/flexcoders/message/47828
   It seems that you need to be really careful on how you use AS renderers. 
   When possible,  I would recommend to use an inline renderer.  I was having the same problem with some numberformatters. I changed them to inline renderers and the problem went away. In your case,  you can use a CheckBox inline renderer.
 
                             
 
 
   --- In flexcoders@yahoogroups.com, Aaron West <[EMAIL PROTECTED]> wrote:>> All,> > DataGrid's are cool, but yeash I've run into a lot of problems with > them. I've put> together two *real simple* online demonstrations that illustrate the > behavior I'm> seeing with a grid. I'd love for someone more experienced to check out > these> two examples and offer any insight or solution.> > http://www.trajiklyhip.com/flex/gridexample/DataGridExample1.html> This is a simple grid that uses a custom Checkbox item renderer written > in AS3.> Clicking the submit button will display whether or not each Checkbox is > selected.> Make some changes to the boxes, de-selecting a few or an entire column > and> then click the submit button to see the selected value. The Alert box > usually> displays the right info the first time through, but after you've gone > through a few> rounds of selecting and de-selecting some of the boxes it will not show > you the> correct true/false value of each box.> > http://www.trajiklyhip.com/flex/gridexample/DataGridExample2.html> This is another simple grid that is the same as the previous one only > with more> rows of data to make the DataGrid scroll. De-select the first "Group > Owner"> Checkbox (row 1 with the ID = 12) and then click use the grid scroll > bar to scroll> up and down. As you scroll, other Checkboxes are selected and > deselected at> random.> > Incidentally, if you right-click the DataGridExample1 movie you can > view the source> to see what I'm doing.> > > | Aaron West> | aaron AT trajiklyhip DOT com> | http://www.trajiklyhip.com/blog/> | Certified Advanced Adobe ColdFusion MX 7 Developer> | Certified Macromedia FlashMX Developer> | Adobe Community Expert>

__._,_.___





--
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: Socket woes - something simple I'm sure

2006-10-19 Thread Darron J. Schall






To write a null byte to a Socket, just use the writeByte method:

this.writeByte( 0x00 );
this.flush();

-d

e_baggg wrote:


  
  ## Try adding a null byte before flushing the flash.net.Socket.
  
Ted-
Thanks for your response but I am still unable to get it working.
Partly b/c I can't find any help on how to add a null byte. I would
think this (or '\0') would accomplish it but it does not. Sorry,
couldn't find any help online.
  
//this is a connected flash.net.Socket
this.writeUTFBytes(xml.toXMLString() + null);
this.flush();
  
  
  
  



__._,_.___





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

  




__,_._,___




[flexcoders] Re: Flex and Crystal reports

2006-10-19 Thread Tim Hoff



Hi,
Flex doesn't support viewing Crystal Reports natively, but you do have a few work arounds.  
First, you can create an aspx file that uses the CR Web Viewer control.  This file can then be loaded into an IFrame used with a Flex application.
IFrame Demo by Cristophe Coenraets and Brian Deitte (right click to view source)
Second, and more preferable to me, is to convert and stream the Crystal Report output to a pdf file (on-the-fly) and display this file in a sepearate browser window using ExternalInterface.  You can find out how to convert CR to pdf by searching Google on "Crystal Reports to pdf".
Sorry flexcoders, I tried to make this non-flex response as brief as possible.
-TH__
Tim HoffCynergy Systems, Inc.http://www.cynergysystems.comOffice: 866-CYNERGY
--- In flexcoders@yahoogroups.com, "wespinozab" <[EMAIL PROTECTED]> wrote:>> Hi, Is it possible to open a crystal report from flex? I am initiating> with flex and do not understand that must return the web service and> how to use it in flex. I would be grateful if someone could show me> code that teaches me how to open a crystal report form Flex. Really it> is important and I do not understand very well the method.> > 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
  
  
  

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 
   
 

  




__,_._,___



Fw: [flexcoders] Re: insert image on richtexteditor

2006-10-19 Thread Jesús Iglesias
Hi Jason,

Well, I found a dirty solution, but works. First of all, think that image 
support is not well supported on RichTextEditor, in fact it's not well 
suported on TextArea, if you change the image and play arround a little, it 
runs unstable.

What I did was a new component extending RichTextEditor. The button to 
insert image opens a WindowPopup to select the image and returns the path to 
the component. Then:

 public function addImagen(url:Object):void{
 var inicio:Number=this.textArea.selectionBeginIndex;
   var myTARange:TextRange = new TextRange(this, false, inicio, inicio+1);
   myTARange.htmlText="##||##";

   var html:String=this.htmlText;
   var id:Date=new Date();
   var 
idlink:Number=Math.round((Math.random()*10)*(Math.random()*10));

   var 
imagen:String="##||##"+id.time.toString()+"##||##"+url.src+"##||##"+url.ancho 
+
 
"##||##"+url.alto+"##||##"+url.vspace+"##||##"+url.hspace+"##||##"+url.align+"##||##"+idlink.toString();

   html=html.replace("##||##", "" +
 "");
   this.htmlText=html;
}

This way you can change the image only clicking on it.

Later there is another problem. As I said this is a dirty and poor supported 
job. When you try to save and later load the content with the image ther was 
a xml exception (maybe it was solved on final version, I think I develop 
this module with Beta 3).
If you look at the generated text you find that... it's not well formed 
xml Although you insert a correct img tag,  (or ), the editor returns  whithout closing whe node. So I had to 
make an postprocessing before saving:

 private function desProcesaTexto(texto:String):String{
 XML.ignoreWhitespace = true;
   XML.prettyPrinting = false;

   var pattern:RegExp = /]*)>/gi;
   texto=texto.replace(pattern, "");

 var temp:XML=XML(""+texto+"");
   var allTags: XMLList;
   var item:XML;
   var href:String;
   var params:Array;
   var protocolo:String;
   var tempitem:XML;

   //primero las imagenes
   allTags= temp..IMG;
   for each(item in allTags) {
var xlcParent:XMLListCollection = new 
XMLListCollection(item.parent().parent().children());
tempitem=XML(xlcParent.toXMLString());
xlcParent.setItemAt(item, 0);
   }
   //ahora los links
   allTags = temp..A;
   for each(item in allTags) {
[EMAIL PROTECTED];

 href=href.replace("event:", "");
params = href.split("##!!##");
if(params[1]=="HTTP") protocolo="http://";;
if(params[1]=="MAIL") protocolo="mailto:";;
[EMAIL PROTECTED];
[EMAIL PROTECTED];
   }

   texto=temp.toString();
   texto=texto.replace("", "");
   texto=texto.replace("", "");
 return  texto;
}


This function also does some postprocesing with links and images. I didn't 
like the add link method of ricchtexteditor and made my own, so you can edit 
the link easily. This also removes links on images, those links I inserted 
when adding an image. This way you can also make a change image method.


Well, maybe is not very clear, I said it was ugly and dirty, but works fine 
:)

If you have doubts I can send you the component... no problem.

Regards,
Jesus



-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre
de Jason
Enviado el: miércoles, 18 de octubre de 2006 23:30
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re: insert image on richtexteditor

Hi Jesús,

Did you ever find a solution to this problem?  I too am trying to allow
users to insert an image into a RTE (RichTextEditor) and am having problems.

--jason

--- In flexcoders@yahoogroups.com, Jesús Iglesias <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have added a new control to a richtexteditor to let user insert
> images.
> I'm inserting the image this way:
>
> var myTARange:TextRange = new TextRange(editor, false, 10, 10);
> myTARange.htmlText="";
>
> But the image is not inserted. If I do this:
>
> editor.textArea.htmlText+="";
>
> the image is inserted and displayed.
>
> How to insert an image in the middle of the text?
>
> Jesús Iglesias
> Alvento Soluciones Móviles
> Poeta Querol, 5 - 2
> 46002 Valencia (España)
> [tel]: (+34) 96.353.02.15
> [fax]: (+34) 96.353.08.09
> [e-mail]:   [EMAIL PROTECTED]
> [web]:   www.alvento.com
>
> Este correo electrónico y, en su caso, cualquier fichero anexo al
> mismo, contiene información de carácter confidencial exclusivamente
> dirigida a su destinatario o destinatarios y propiedad de Alvento
Soluciones S.A.
> Queda prohibida su divulgación, copia o distribución a terceros sin la
> previa autorización escrita de Alvento Soluciones S.A., en virtud de
> la legislación vigente. En el caso de haber recibido este correo
> electrónico por error, se ruega notificar inmediatamente esta
> circunstancia mediante reenvío a la dirección electrónica del
> remitente y la destrucción del mismo.
>
>
> The information in this e-mail and in any attachments is classified as
> Alvento Soluciones S.

[flexcoders] Re: Uploads Needed Greater than 100 MB

2006-10-19 Thread dougmccune
I'm going to piggy-back off this post and ask a similar question: 

Why are you limited to only selecting a maximum number of files at
once when the user uses FileReference? I'm referring to when the user
selects multiple files per upload. The max limit is large, but maxes
out at something like 250 files. If the user selects more than that a
fairly unhelpful error message pops up and the file browser window
goes away.

I'd like the user to be able to queue up hundreds (400+) of files for
upload. I know it's a lot (and discussion of whether uploading
hundreds of files is ever good can wait for another day), but is this
a technical problem, or a design choice by the Adobe team?


--- In flexcoders@yahoogroups.com, "wwwpl" <[EMAIL PROTECTED]> wrote:
>
> In the FileReference documentation, it says that the file upload limit
> is 100 Megabytes.  I am curious why the developers chose this value
> and why it is not configurable.  Maybe it is configurable and I don't
> know it yet.  If anyone could enlighten me on this subject, I would
> appreciate it.  We have a Flex application that uploads large files. 
> The restrictions on FileReference are a pain.  I would also like to
> see other file upload options, like ftp etc.  Right now it is just http.
>





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



RE: [flexcoders] Uploads Needed Greater than 100 MB

2006-10-19 Thread Stacy Young












I don’t believe this limit is
enforced …just that it’s been tested up to 100mb.  I *believe* this is the case …

 

Stace

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wwwpl
Sent: Thursday, October 19, 2006
12:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Uploads
Needed Greater than 100 MB



 







In the FileReference documentation, it says that the
file upload limit
is 100 Megabytes. I am curious why the developers chose this value
and why it is not configurable. Maybe it is configurable and I don't
know it yet. If anyone could enlighten me on this subject, I would
appreciate it. We have a Flex application that uploads large files. 
The restrictions on FileReference are a pain. I would also like to
see other file upload options, like ftp etc. Right now it is just http.






 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





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

  




__,_._,___






[flexcoders] DataGrid Weirdness with Online Example

2006-10-19 Thread Aaron West
All,

DataGrid's are cool, but yeash I've run into a lot of problems with 
them.  I've put
together two *real simple* online demonstrations that illustrate the 
behavior I'm
seeing with a grid.  I'd love for someone more experienced to check out 
these
two examples and offer any insight or solution.

http://www.trajiklyhip.com/flex/gridexample/DataGridExample1.html
This is a simple grid that uses a custom Checkbox item renderer written 
in AS3.
Clicking the submit button will display whether or not each Checkbox is 
selected.
Make some changes to the boxes, de-selecting a few or an entire column 
and
then click the submit button to see the selected value.  The Alert box 
usually
displays the right info the first time through, but after you've gone 
through a few
rounds of selecting and de-selecting some of the boxes it will not show 
you the
correct true/false value of each box.

http://www.trajiklyhip.com/flex/gridexample/DataGridExample2.html
This is another simple grid that is the same as the previous one only 
with more
rows of data to make the DataGrid scroll.  De-select the first "Group 
Owner"
Checkbox (row 1 with the ID = 12) and then click use the grid scroll 
bar to scroll
up and down.  As you scroll, other Checkboxes are selected and 
deselected at
random.

Incidentally, if you right-click the DataGridExample1 movie you can 
view the source
to see what I'm doing.


|  Aaron West
|  aaron AT trajiklyhip DOT com
|  http://www.trajiklyhip.com/blog/
|  Certified Advanced Adobe ColdFusion MX 7 Developer
|  Certified Macromedia FlashMX Developer
|  Adobe Community Expert




--
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] Re: Socket woes - something simple I'm sure

2006-10-19 Thread e_baggg
## Try adding a null byte before flushing the flash.net.Socket.

Ted-
  Thanks for your response but I am still unable to get it working.
Partly b/c I can't find any help on how to add a null byte. I would
think this (or '\0') would accomplish it but it does not. Sorry,
couldn't find any help online.

//this is a connected flash.net.Socket
this.writeUTFBytes(xml.toXMLString() + null);
this.flush();


--- In flexcoders@yahoogroups.com, "Ted Patrick" <[EMAIL PROTECTED]> wrote:
>
> There is no default delimiter in flash.net.Socket. XMLSocket uses a null
> byte delimiter to detect message completions to fire the 'data' and
> 'xml' events. If you are using an XMLSocket Server supporting null
> bytes. Try adding a null byte before flushing the flash.net.Socket.
> 
>  
> 
> That should work seamlessly.
> 
>  
> 
> Also on the receiving side, you will need to read bytesAvailable into a
> buffer to detect the null byte to denote a message received.
> 
>  
> 
> Ted :-)
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of e_baggg
> Sent: Thursday, October 19, 2006 8:44 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Socket woes - something simple I'm sure
> 
>  
> 
> Hello. I have a XMLSocket class that I am able to send/receive data to
> no problem. 
> 
> I switched my implementation to use the flash.net.Socket class and now
> I cannot receive data back.
> 
> I updated my sendMessage() to the following...this request should
> trigger a response from the server but it doesn't...most likely b/c my
> request is incorrect. What does the XMLSocket do for me that I am not
> doing here? I thought maybe adding the "\n" to the String would work
> but it did not. The sendMessage() method is called in my
> connectHandler so I know the socket is connected. There are no errors
> in my IO and security handlers.
> 
> import flash.net.Socket;
> public class MySocket extends Socket 
> {
> ...
> public function sendMessage(xml : XML) : void 
> {
> try
> {
> var ss : String = xml.toXMLString();
> //ss = 
> this.writeUTF(ss);
> this.flush();
> trace("Send-->:" + ss);
> } catch (error : IOError){
> trace("Error: " + error.message);
> }
> }
>





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



RES: [flexcoders] Re: show xml node

2006-10-19 Thread Fabio Barreiro












Hii

 

Thanks  Tobias, but the
answer is not that

I got the solution from
another group

 

I have to use a XMLList
object in other to be able to access the XML structure

 

var xmlList:XMLList =
xmlMenu.categoria;

 

…then…

 

 

for each(var categ:Object
in xmlList){

Alert.show([EMAIL PROTECTED]());

}

 









De: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] Em nome
de tobiaspatton
Enviada em: quinta-feira, 19 de
outubro de 2006 14:08
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Re: show xml
node



 







To get the length of an XMLList object call the
"length()" function, 
no the "length" property.

In your case: Alert.show( xmlMenu.itens.categoria.length() )

Tobias.

--- In [EMAIL PROTECTED]ups.com,
"Fabio Barreiro"
...> 
wrote:
>
> Guys, I have a doubt..
> 
> Why does the code below is not working?
> 
> And how to show a node attirbute?
> 
> 
> 
> http://www.adobe.com/2006/mxml"

layout="absolute"
> initialize="mostra()">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> >
> 
> 
> 
> >
> 
> 
> 
> 
> 
> 
> 
> >
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>






__._,_.___





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

  




__,_._,___






[flexcoders] array of arrays and XML

2006-10-19 Thread jnewport
Hoping to figure this out. What I am trying to do is get a result like
this (ArrayCollection).

   public var expenses:ArrayCollection = new ArrayCollection([
{Expense: "Taxes", Amount: 106976},
{Expense: "Rent", Amount: 147776},
{Expense: "Car", Amount: 79554},
{Expense: "Gas", Amount: 39252},
{Expense: "Food", Amount: 128351}

from this XML:













Then use it to plot data on a piechart.  I am pulling the xml in via a
httpservice. So I am guessing I need to iterate through the xml and
create an arrayCollection of arrays?  But I can't figure that out. 
Then how to use the Expenses:arrayCollection as a piechart dataprovider.

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/

<*> 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] Uploads Needed Greater than 100 MB

2006-10-19 Thread wwwpl
In the FileReference documentation, it says that the file upload limit
is 100 Megabytes.  I am curious why the developers chose this value
and why it is not configurable.  Maybe it is configurable and I don't
know it yet.  If anyone could enlighten me on this subject, I would
appreciate it.  We have a Flex application that uploads large files. 
The restrictions on FileReference are a pain.  I would also like to
see other file upload options, like ftp etc.  Right now it is just http.





--
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] Flex y Crystal reports

2006-10-19 Thread wespinozab
¿Es posible abrir Crystal reports desde flex? Soy nueva trabajando con
flex y no entiendo muy bien que debe devolver el web Service (el cual
contiene el cystal) y como utilizo eso en flex. Por favor, si es
posible guiarme ya sea por medio de código o de algún tutorial se los
agradecería mucho.

Gracias!





--
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] Re: Flex Book Website GONE

2006-10-19 Thread jrunrandy
I e-mailed Steven Webster. He said they're aware of the problem and 
working to get the site up ASAP.

HTH
Randy Nielsen
Flex Documentation Manager




--
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] Flex and Crystal reports

2006-10-19 Thread wespinozab
Hi, Is it possible to open a crystal report from flex? I am initiating
with flex and do not understand that must return the web service and
how to use it in flex. I would be grateful if someone could show me
code that teaches me how to open a crystal report form Flex. Really it
is important and I do not understand very well the method.

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] dateGrid within DateChooser made internal

2006-10-19 Thread adr_laik
Does anyone how we can access this is 2.0 ? This was workin well in
1.5 but seems that now its internal property . Or does someone know
how we can have specific cells in the CalendarLayout within
DateChooser . Functionality will be like have some days displayed in
blue background ,  meaning that in those days i have appointments. 

Thanks in advance , 

Adrian.




--
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] Re: cairngorm - retreive view data from commands

2006-10-19 Thread gdoucen
Thanks Tim for your answer but my problem come from the way i can
gather all the data from differents views in a sole custom event. I
agree with you for the rest.
My button which trigger the event is in a separate view than the video
display i want to take a snapshot. Of course here the problem is
simple but i want to generalize it.

I think that i was complicating the problem by trying to lead the
event to the view that have the videodisplay which then send the custo
event to the command.

A better way is to simply confide in the parent container of the two
view to send itself the custom event to the command cause it have
access to the data all the view.



  
  
  
  
  


It 's correct and clean like that?. If i'm wrong tell me cause i'm a
newbie with flex and cairngorm and i want to get the good reflex.

Thanks again

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> 
> Hi,
> 
> Usually, if you're dealing with moving data around a Cairngorm
> application, you would create a public variable (or VO) in the
> ModelLocator.  When you take a snapshot of the video, dispatch a
> CairngormEvent that contains the bitmapData (I would do this in the
> view's script; not a ViewHelper).  In the command, update the variable
> in the ModelLocator with the data.  Now you have the data in a centrally
> located position.  If another view needs access to this data, simply
> bind the view's control to the variable in the ModelLocator.  As soon as
> the variable is updated by the command, the second view will
> automatically reflect the change.
> 
> This is a simple explanation and may not fit your particular use case. 
> But hopefully it will give you some ideas.
> 
> -TH
> __
> 
> Tim Hoff
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
> Office  : 866-CYNERGY
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "gdoucen"  wrote:
> >
> > Hi,
> >
> > My problem is the following.
> >
> > I use cairngorm framework.
> > I have two views. the button in one view triggers an event that need
> > to get data from the other view. In my case, i take a snapshot of the
> > video so here i need the bitmap data.
> >
> > I see two solutions.
> >
> > First, using viewhelper/viewLocator to get the data from the dedicated
> > view inside the command class.
> >
> > I know that viewhelper are mostly not recommended by cairngorm in the
> > opposite side when it's used to set views from commands but here.
> >
> > Secondly, use the parent of the two views to transmit the event from
> > view1 to view2 that send the final event.
> >
> > The structure could be as below
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > What is the best way to do that?
> >
> > If the action was triggered from the view that hold the needed
> > informations, i could have passed the data into a custom event that
> > could be directly read by the command...
> >
> > I have browse the forum without success to get informations on this
> > subject. Feel free to redirect me or give me an answer.
> >
> > 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/
 



Re: [flexcoders] Another DataGrid itemEditor ComboBox challenge

2006-10-19 Thread Aaron West
Good to know and thanks for posting.  I wasn't aware of that "keyword" but there
are others like parentDocument you can use in custom MXML components.  And
of course in custom components built using AS3 there's the Application.application.*
reference available after importing mx.core.Application.


|  Aaron West
|  aaron AT trajiklyhip DOT com
|  http://www.trajiklyhip.com/blog/
|  Certified Advanced Adobe ColdFusion MX 7 Developer
|  Certified Macromedia FlashMX Developer
|  Adobe Community Expert


On Oct 18, 2006, at 11:39 PM, Iko Knyphausen wrote:

Finally figured it out: It was a scope problem.  has its own scope which explains why nothing beyond your parents (editor host) “data” object is visible. If you want to use an inline itemEditor that is data bound to other dynamic sources than the hosting component’s dataProvider, such as an XML for example, you just use the “outerDocument” keyword as a prefix. The following is an example for an inline itemEditor combobox that gets its own data independently from the host (hope this helps someone to learn faster than me ;-) )
 
    

      
 

Re: [flexcoders] Filters for multiple LineSeries in a LineChart - Calling ChartMan Ely!

2006-10-19 Thread Jonathan Miranda



Remind me to buy you a drink at MAX :) Thanks Ely, I'll get cracking on subclassing lineSeries I guess since this is pretty elaborateOn 10/19/06, Ely Greenfield
 <[EMAIL PROTECTED]> wrote:












  






 
 
Hi Jon. Unfortunately, there's nothing in charts that will 
do what you want.  What you're looking for is basically a pivot (well...if 
you're looking for just one brand it's a filter, but if you're looking for one 
series per brand it's more of a pivot), and charts don't support that out of the 
box.
 
You have three options:
 
1) prefilter the data yourself, the manual 
way
 
2) subclass lineSeries, add a 'filterField' and 
'filterValue' property, and override the updateFilter function to filter on 
those values.
 
3) write a pivot class that accepts parameters on what to 
filter on, what to create multiple series on, what to aggregate on, and have it 
spit out a set of series with custom dataproviders assigned.
 
 
I've got a skunkworks version of #3 I've been tooling 
around with for a little while, but it's not ready for the outside world 
yet.  In the meantime, try #1 or #2.
 
Ely.
 


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan 
MirandaSent: Wednesday, October 18, 2006 4:25 PMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Filters for multiple 
LineSeries in a LineChart - Calling ChartMan Ely!


Heh, maybe he'll see this before MAX :)Anyways, here's my question - 
I've done this before, but I can'tremember how nor find the code. I've got a 
data set like 
thefollowing:Month.Dollar.Category.Brand..Jan.500..IT.Blue..Feb.700..JO.Red..Mar.600..AC.Blue..Jan.100..IT.Green
..Feb.200..JO.Red..Mar.300..AC.Blueok 
so, Month will be my x-axis. Dollar will be my y-axis, tallied up.I want the 
entire LineChart to filter on Category (assuming I'll justneed to sort this 
based on altering the dataProvider itself)...but myproblem is I need a 
LineSeries for each Brand.So my first guess 
was..Which 
does give me the lines I need, but I need some way to have aLineSeries only 
show data where brand=uniqueBrandList.selectedItem.What's the filter 
mechanism for a LineSeries besides the yField? Isthere some trick in that 
field or is there a property/function I'mmissing on how I can only show data 
where Brand=X? I thought "hey, usefilters" but that's the Effects, not for 
data :)Any help would be nice-Jon Miranda

  















__._,_.___





--
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] Filters for multiple LineSeries in a LineChart - Calling ChartMan Ely!

2006-10-19 Thread Ely Greenfield





 
 
Hi Jon. Unfortunately, there's nothing in charts that will 
do what you want.  What you're looking for is basically a pivot (well...if 
you're looking for just one brand it's a filter, but if you're looking for one 
series per brand it's more of a pivot), and charts don't support that out of the 
box.
 
You have three options:
 
1) prefilter the data yourself, the manual 
way
 
2) subclass lineSeries, add a 'filterField' and 
'filterValue' property, and override the updateFilter function to filter on 
those values.
 
3) write a pivot class that accepts parameters on what to 
filter on, what to create multiple series on, what to aggregate on, and have it 
spit out a set of series with custom dataproviders assigned.
 
 
I've got a skunkworks version of #3 I've been tooling 
around with for a little while, but it's not ready for the outside world 
yet.  In the meantime, try #1 or #2.
 
Ely.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jonathan 
MirandaSent: Wednesday, October 18, 2006 4:25 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Filters for multiple 
LineSeries in a LineChart - Calling ChartMan Ely!


Heh, maybe he'll see this before MAX :)Anyways, here's my question - 
I've done this before, but I can'tremember how nor find the code. I've got a 
data set like 
thefollowing:Month.Dollar.Category.Brand..Jan.500..IT.Blue..Feb.700..JO.Red..Mar.600..AC.Blue..Jan.100..IT.Green..Feb.200..JO.Red..Mar.300..AC.Blueok 
so, Month will be my x-axis. Dollar will be my y-axis, tallied up.I want the 
entire LineChart to filter on Category (assuming I'll justneed to sort this 
based on altering the dataProvider itself)...but myproblem is I need a 
LineSeries for each Brand.So my first guess 
was..{uniqueBrandList}>..s 
.>..Which 
does give me the lines I need, but I need some way to have aLineSeries only 
show data where brand=uniqueBrandList.selectedItem.What's the filter 
mechanism for a LineSeries besides the yField? Isthere some trick in that 
field or is there a property/function I'mmissing on how I can only show data 
where Brand=X? I thought "hey, usefilters" but that's the Effects, not for 
data :)Any help would be nice-Jon Miranda
__._,_.___





--
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] Button Click

2006-10-19 Thread julien castelain



just a thought...maybe wrong though
 
 
you could call the "click" event  handler of that button and
pass "null" as the argument
 
private function onCreationComplete(event:FlexEvent):void {
 myButton.addEventListener(MouseEvent.CLICK, onClick);
 
    onClick(null);
}
 
private function onClick(event:MouseEvent):void {
   log.debug("you clicked");
} 
On 10/19/06, KP <[EMAIL PROTECTED]> wrote:







Hi All,
 
Is there any way to click one button automatically on initialize and creationComplete event.
 
Thanks
Kumar
 

__._,_.___





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

  




__,_._,___



[flexcoders] Re: FDS and componentized development: Bug?

2006-10-19 Thread Jim Robson
Cool - thank you very much for all the help. Making good forward
progress now.

-Jim

--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> I think Canvas is the way to go...
>  
> Note that I meant that you could get the info from the
> Sprite.loaderInfo.loaderURL and set it on the
> mx.messaging.config.LoaderConfig.mx_internal::_url property, though this
> involves using a mx.core.mx_internal namespace which I don't believe is
> "public" and hence guaranteed to be supported going forward.
> 
> 





--
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] Re: show xml node

2006-10-19 Thread tobiaspatton
To get the length of an XMLList object call the "length()" function, 
no the "length" property.

In your case: Alert.show( xmlMenu.itens.categoria.length() )

Tobias.

--- In flexcoders@yahoogroups.com, "Fabio Barreiro" <[EMAIL PROTECTED]> 
wrote:
>
> Guys, I have a doubt..
> 
> Why does the code below is not working?
> 
> And how to show a node attirbute?
> 
>  
> 
> http://www.adobe.com/2006/mxml"; 
layout="absolute"
> initialize="mostra()">
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>





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



RE: [flexcoders] Re: [Flex2] Ant + compc - include-libraries not being found during compile..?

2006-10-19 Thread Roger Gonzalez






 
library-path causes the libraries to be available as a source for 
linking.
 
include-libraries includes ALL symbols from a library, and I believe 
does not work for compc in 2.0.1 beta, there was a bug.  It only works for 
mxmlc.
 
Its the 
difference between eating at a salad bar vs. having the salad bar shoved down 
your throat.  :-)
 
-rg


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  thunderstumpgesatworkSent: Thursday, October 19, 2006 7:55 
  AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
  Re: [Flex2] Ant + compc - include-libraries not being found during 
  compile..?
  
  
  I figured this one out Looks like I was supposed to use 
  'library-path' instead of'include-libraries'. I'm not sure the 
  difference between these two,the documentation is almost the same for 
  each. Anyway, changing 'include-libraries' to 'library-path' did the 
  trick.cheers,Thunder--- In [EMAIL PROTECTED]ups.com, 
  "thunderstumpgesatwork"...> 
  wrote:>> > Hi guys. Can someone check my ant task? I 
  copied and modified slightly> several different tasks I found around 
  here, and I'm getting errors> about finding base classes (Cairngorm's 
  FrontController,> ServiceLocator, and the FDS's IManaged)> 
  > I am pretty sure the libs (swc's) are being found, because if 
  I> misspell any of them it complains that it can't find it.> 
  > This project compiles fine in FlexBuilder, but I can't get the 
  ant> task to work.> > What do I have wrong?> 
  > Also, I have tried compiling with the '-include-sources' option 
  to> include the whole source directory and kept getting 
  "circular> inheritance" errors, so thats why I'm trying the 
  -include-classes> option instead. > > thanks in 
  advance,> Thunder> > ___> 
  > > fork="true"> 
  failonerror="true"> maxmemory="128m"> 
  dir="${flexsdk}\frameworks">> > 
  > > > 
  > > > 
  > > > > > > > 
  > > 
  > > _> > here's 
  the errors:> > [java]> 
  C:\Work\p4_root\Flex\src\af\commands\control\RFFrontController.as(6):> 
  col: 41 Error: The definition of base class FrontController was 
  notfound.> [java] public class RFFrontController extends 
  FrontController> [java] ^> [java] 
  C:\Work\p4_root\Flex\src\af\remoting\RPCServiceLocator.as(5):> 
  col: 41 Error: The definition of base class ServiceLocator was 
  notfound.> [java] public class RPCServiceLocator extends 
  ServiceLocator> [java] ^> [java]> 
  C:\Work\p4_root\Flex\src\com\af\config\presentation\ConfigObjVO.as(11):> 
  col: 44 Error: Interface IManaged was not found.> [java] 
  [RemoteClass(alias="com.af.config.presentation.ConfigObj")]> 
  [java] ^>
__._,_.___





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

  




__,_._,___



[flexcoders] Re: show xml node

2006-10-19 Thread Oscar



Try something like this:
   public  function mostra():void {


  trace(xmlMenu.length());  trace(xmlMenu.categoria.length());   trace([EMAIL PROTECTED]);
  for each (var property:XML in xmlMenu.categoria) {  var q:String = [EMAIL PROTECTED];     trace (q);  }  
    }
 Note that you do not need the 'itens' prefix and that length is amethod not a property of the XML object.   
  You can check more examples at :
http://livedocs.macromedia.com/flex/2/langref/XML.html
Oscar.--- In flexcoders@yahoogroups.com, "Fabio Barreiro" <[EMAIL PROTECTED]> wrote:>> Guys, I have a doubt..> > Why does the code below is not working?> > And how to show a node attirbute?> > > > > initialize="mostra()">> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

__._,_.___





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

  




__,_._,___



[flexcoders] Re: HTTP Status 500 Error using SSL endpoint

2006-10-19 Thread scott_talsma



After reading this thread and successfully using to to get SSL running, I thought I would post my cf XML settings.Web.xmlI left the /flex2gateway/* unchanged from the default install:    MessageBrokerServlet        /flex2gateway/*I had to edit the MessageBrokerServlet settings in web.xml to point at the correct xml file.  The default install does not do this:  MessageBrokerServlet  coldfusion.bootstrap.BootstrapServlet      servlet.class  flex.messaging.MessageBrokerServlet  services.configuration.file      /WEB-INF/flex/flex-services.xml      1The real work began in C:\CFusionMX7\wwwroot\WEB-INF\flex\services-config.xmlEven though I have multiple channels defined, it seems to make no difference if they are referenced here or not.  Referencing Peter's post, it seems that additional channels are only used for fail-over situations.         class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage">                            In the channels section, I define three URL patterns:http://site/flex2gateway (keep the old apps running)http://site/flex2gateway/amfhttps://site/flex2gateway/secureamf  (Note that this uses SecureAMFChannel and SecureAMFEndpoint.   Thanks to Lin Lin @ http://weblogs.macromedia.com/lin/archives/2006/08/flex_app_works.cfm )                    false        false                            false        false            false                        false        false                    Restart CF, and everything seems to work.  Hopefully, this will save somebody a few hours.

__._,_.___





--
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: FDS and componentized development: Bug?

2006-10-19 Thread Peter Farland





I think Canvas is the way to go...
 
Note that I meant that you could get the info from the 
Sprite.loaderInfo.loaderURL and set it on the 
mx.messaging.config.LoaderConfig.mx_internal::_url property, though this 
involves using a mx.core.mx_internal namespace which I don't believe is "public" 
and hence guaranteed to be supported going forward.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jim 
RobsonSent: Thursday, October 19, 2006 11:41 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: FDS and 
componentized development: Bug?


It seems like initializing mx.messaging.config.LoaderConfig.url 
wouldhave essentially the same drawback as setting the endpoint 
inActionScript - it would create a situation where I would need 
tomaintain the URL in ActionScript. Or am I misunderstanding you?In 
any case, I think it's OK to use Canvas as the base class, becauseit doesn't 
seem to add excessive weight to the app. But I am very muchopen to better 
ideas!Thanks for the explanation-Jim--- In [EMAIL PROTECTED]ups.com, 
"Peter Farland" <[EMAIL PROTECTED].> wrote:>> > I 
discovered something interesting. The original ActionScript class> > 
extended Sprite. I changed this to Canvas, and now it works without> > 
setting the endpoint in ActionScript. So I now have what I originally> 
> wanted, except that I needed to extend Canvas to get it. > > 
> *lightbulb illuminates* I know what the problem is now. If your 
channel> endpoint has relative tokens in them, such as {server.name} 
and> {server.port}, then these need to be resolved at runtime based 
on the> URL used to load the SWF. The way that the channel gets this 
information> is through the 
mx.messaging.config.LoaderConfig.url property, which is> 
initialized when the main mx.managers.SystemManager starts up (as it 
is> the one that has access to the root 
DisplayObject.loaderInfo).> > So, if you do need to use 
Sprite, then you could either avoid the> relative tokens in your XML 
config for the channel or we'll need to get> you to initialize the 
mx.messaging.config.Loader config.> > 
Pete>
__._,_.___





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

  




__,_._,___



[flexcoders] Re: Label rotations, text disappears

2006-10-19 Thread Derrick Grigg
You need to an embed the font anytime you rotate text.

Derrick

--
Derrick Grigg
[EMAIL PROTECTED]
www.dgrigg.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/

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



RE: [flexcoders] Socket woes - something simple I'm sure

2006-10-19 Thread Ted Patrick












There is no default delimiter in
flash.net.Socket. XMLSocket uses a null byte delimiter to detect message
completions to fire the ‘data’ and ‘xml’ events. If you
are using an XMLSocket Server supporting null bytes. Try adding a null byte
before flushing the flash.net.Socket.

 

That should work seamlessly.

 

Also on the receiving side, you will need
to read bytesAvailable into a buffer to detect the null byte to denote a
message received.

 

Ted J









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of e_baggg
Sent: Thursday, October 19, 2006
8:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Socket woes
- something simple I'm sure



 







Hello. I have a XMLSocket class that I am able to
send/receive data to
no problem. 

I switched my implementation to use the flash.net.Socket class and now
I cannot receive data back.

I updated my sendMessage() to the following...this request should
trigger a response from the server but it doesn't...most likely b/c my
request is incorrect. What does the XMLSocket do for me that I am not
doing here? I thought maybe adding the "\n" to the String would work
but it did not. The sendMessage() method is called in my
connectHandler so I know the socket is connected. There are no errors
in my IO and security handlers.

import flash.net.Socket;
public class MySocket extends Socket 
{
...
public function sendMessage(xml : XML) : void 
{
try
{
var ss : String = xml.toXMLString();
//ss = />
this.writeUTF(ss);
this.flush();
trace("Send-->:" + ss);
} catch (error : IOError){
trace("Error: " + error.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
  
  
  

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 
   
 

  




__,_._,___






[flexcoders] Re: Label rotations, text disappears

2006-10-19 Thread app.developer
Thank you Matt.

When I set the label1.alpha = 0; it made the background of the label 
transparent, but the text in the label is nicely black and bold when 
in the horizontal (original) postion.  I'll work on ght font embed 
issue.

P

--- In flexcoders@yahoogroups.com, "Matt Horn" <[EMAIL PROTECTED]> wrote:
>
> Two things..
> 
> 1) You are setting alpha to 0 which should make the text disappear. 
> 2) You can only rotate text that uses an embedded font. For info on
> embedding fonts, see:
> 
> http://livedocs.macromedia.com/flex/2/docs/0787.html
> 
> hth,
> 
> matt horn
> flex docs
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of app.developer
> > Sent: Thursday, October 19, 2006 10:05 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Label rotations, text disappears
> > 
> > When I attempt to rotate a label, my text disappears, using 
> > the following code.
> > 
> > label1 = new TextArea();
> > label1.name = "gLabel"+i;
> > label1.alpha = 0;
> > label1.rotation = 90;
> > label1.setStyle("backgroundColor","0xFF");
> > label1.text = event.result.list.source[i].roleName
> > grid1Item.addChild(label1);
> > 
> > I haven't any special font.
> > 
> > I have seen one discussion on label rotation with the text 
> > disappearing, but I don't know how to resolve the issue.
> > 
> > P
> > 
> > 
> > 
> >  
> >
>





--
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] Socket woes - something simple I'm sure

2006-10-19 Thread e_baggg
Hello. I have a XMLSocket class that I am able to send/receive data to
no problem. 

I switched my implementation to use the flash.net.Socket class and now
I cannot receive data back.

I updated my sendMessage() to the following...this request should
trigger a response from the server but it doesn't...most likely b/c my
request is incorrect. What does the XMLSocket do for me that I am not
doing here? I thought maybe adding the "\n" to the String would work
but it did not. The sendMessage() method is called in my
connectHandler so I know the socket is connected. There are no errors
in my IO and security handlers.

import flash.net.Socket;
public class MySocket extends Socket 
{
...
public function sendMessage(xml : XML) : void 
{
try
{
var ss : String = xml.toXMLString();
 //ss = 
this.writeUTF(ss);
this.flush();
trace("Send-->:" + ss);
} catch (error : IOError){
trace("Error: " + error.message);
   }
}





--
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] Re: FDS and componentized development: Bug?

2006-10-19 Thread Jim Robson
It seems like initializing mx.messaging.config.LoaderConfig.url would
have essentially the same drawback as setting the endpoint in
ActionScript - it would create a situation where I would need to
maintain the URL in ActionScript. Or am I misunderstanding you?

In any case, I think it's OK to use Canvas as the base class, because
it doesn't seem to add excessive weight to the app. But I am very much
open to better ideas!

Thanks for the explanation

-Jim

--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> > I discovered something interesting. The original ActionScript class
> > extended Sprite. I changed this to Canvas, and now it works without
> > setting the endpoint in ActionScript. So I now have what I originally
> > wanted, except that I needed to extend Canvas to get it. 
> 
>  
> *lightbulb illuminates* I know what the problem is now. If your channel
> endpoint has relative tokens in them, such as {server.name} and
> {server.port}, then these need to be resolved at runtime based on the
> URL used to load the SWF. The way that the channel gets this information
> is through the mx.messaging.config.LoaderConfig.url property, which is
> initialized when the main mx.managers.SystemManager starts up (as it is
> the one that has access to the root DisplayObject.loaderInfo).
>  
> So, if you do need to use Sprite, then you could either avoid the
> relative tokens in your XML config for the channel or we'll need to get
> you to initialize the mx.messaging.config.Loader config.
>  
> Pete
>





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



RE: [flexcoders] .visible = false still keeps element's width & height?

2006-10-19 Thread Andrew Trice












Set the includeInLayout property to false
also.

 



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey
Sent: Thursday, October 19, 2006
10:08 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] .visible =
false still keeps element's width & height?



 







Hi,

I have 3 buttons in a HBox, and in some cases I need to hide one of them.
The problem is, if I hide them, they still keep their original width and
there's a gap. Is there a clean solution for this? I was thinking of setting
it's width to 0 but that's not very clean.

Thanks!
Jonas






__._,_.___





--
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: FDS and componentized development: Bug?

2006-10-19 Thread Peter Farland





> I 
discovered something interesting. The original ActionScript class> 
extended Sprite. I changed this to Canvas, and now it works without> 
setting the endpoint in ActionScript. So I now have what I originally> 
wanted, except that I needed to extend Canvas to get it. 

 
*lightbulb illuminates* I know what the problem is now. If 
your channel endpoint has relative tokens in them, such as {server.name} and 
{server.port}, then these need to be resolved at runtime based on the URL used 
to load the SWF. The way that the channel gets this information is through the 
mx.messaging.config.LoaderConfig.url property, which is initialized when the 
main mx.managers.SystemManager starts up (as it is the one that has access to 
the root DisplayObject.loaderInfo).
 
So, if you do need to use Sprite, then you could either 
avoid the relative tokens in your XML config for the channel or we'll need to 
get you to initialize the mx.messaging.config.Loader config.
 
Pete
__._,_.___





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

  




__,_._,___



[flexcoders] Re: Items in VBox still take space even when visible=false, but I

2006-10-19 Thread John Kruse





Or set 
includeInLayout to false along with visibility (assuming panels you want to move 
up have height percent-dimensioned).
__._,_.___





--
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] Label rotations, text disappears

2006-10-19 Thread Matt Horn
Two things..

1) You are setting alpha to 0 which should make the text disappear. 
2) You can only rotate text that uses an embedded font. For info on
embedding fonts, see:

http://livedocs.macromedia.com/flex/2/docs/0787.html

hth,

matt horn
flex docs

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of app.developer
> Sent: Thursday, October 19, 2006 10:05 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Label rotations, text disappears
> 
> When I attempt to rotate a label, my text disappears, using 
> the following code.
> 
> label1 = new TextArea();
> label1.name = "gLabel"+i;
> label1.alpha = 0;
> label1.rotation = 90;
> label1.setStyle("backgroundColor","0xFF");
> label1.text = event.result.list.source[i].roleName
> grid1Item.addChild(label1);
> 
> I haven't any special font.
> 
> I have seen one discussion on label rotation with the text 
> disappearing, but I don't know how to resolve the issue.
> 
> P
> 
> 
> 
>  
> 


--
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] .visible = false still keeps element's width & height?

2006-10-19 Thread Jonas Windey
Hi,

I have 3 buttons in a HBox, and in some cases I need to hide one of them.
The problem is, if I hide them, they still keep their original width and
there's a gap. Is there a clean solution for this? I was thinking of setting
it's width to 0 but that's not very clean.

Thanks!
Jonas




--
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] show xml node

2006-10-19 Thread Fabio Barreiro










Guys, I have a doubt..

Why does the code below is not working?

And how to show a node attirbute?

 





   


   




 







   


   






   


   


   










 




__._,_.___





--
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] Button Click

2006-10-19 Thread Andrew Trice












Why would you want to call a button click
event on initialize?  It would be better practice to simply call an
initialization function on the creationComplete event.  The initialization
function should take care of anything you need to do.

 



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of KP
Sent: Thursday, October 19, 2006
3:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Button Click



 









Hi All,

 

Is there any
way to click one button automatically on initialize and creationComplete event.

 

Thanks

Kumar








__._,_.___





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

  




__,_._,___






[flexcoders] Re: Pass Data or call function in another MXML file?

2006-10-19 Thread Mike Crowe
I have them in a "time2do" subdirectory.  Here's approximately how I 
call in main file:




(etc...)

So, inside the "DayGrid", I would like to update a control inside 
"TimeDisplay".

Mike




--
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] Re: [Flex2] Ant + compc - include-libraries not being found during compile..?

2006-10-19 Thread thunderstumpgesatwork
I figured this one out 

Looks like I was supposed to use 'library-path' instead of
'include-libraries'. I'm not sure the difference between these two,
the documentation is almost the same for each. 

Anyway, changing 'include-libraries' to 'library-path' did the trick.

cheers,
Thunder

--- In flexcoders@yahoogroups.com, "thunderstumpgesatwork"
<[EMAIL PROTECTED]> wrote:
>
> 
> Hi guys. Can someone check my ant task? I copied and modified slightly
> several different tasks I found around here, and I'm getting errors
> about finding base classes (Cairngorm's FrontController,
> ServiceLocator, and the FDS's IManaged)
> 
> I am pretty sure the libs (swc's) are being found, because if I
> misspell any of them it complains that it can't find it.
> 
> This project compiles fine in FlexBuilder, but I can't get the ant
> task to work.
> 
> What do I have wrong?
> 
> Also, I have tried compiling with the '-include-sources' option to
> include the whole source directory and kept getting "circular
> inheritance" errors, so thats why I'm trying the -include-classes
> option instead. 
> 
> thanks in advance,
> Thunder
> 
> ___
> 
> fork="true"
>failonerror="true"
>maxmemory="128m"
>dir="${flexsdk}\frameworks">
>
>
>
>
>
>
>
> 
>
> 
>
>   
>
> 
> 
>
> 
> 
> _
> 
> here's the errors:
> 
> [java]
> C:\Work\p4_root\Flex\src\af\commands\control\RFFrontController.as(6):
> col: 41 Error: The definition of base class FrontController was not
found.
> [java] public class RFFrontController extends FrontController
> [java] ^
> [java] C:\Work\p4_root\Flex\src\af\remoting\RPCServiceLocator.as(5):
> col: 41 Error: The definition of base class ServiceLocator was not
found.
> [java] public class RPCServiceLocator extends ServiceLocator
> [java] ^
> [java]
> C:\Work\p4_root\Flex\src\com\af\config\presentation\ConfigObjVO.as(11):
> col: 44 Error: Interface IManaged was not found.
> [java] [RemoteClass(alias="com.af.config.presentation.ConfigObj")]
> [java] ^
>





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



Re: [flexcoders] Button Click

2006-10-19 Thread Thomas Rühl

Ah, I don't think so. But you can always call whatever function you call 
on the button's click event, as well in your creationComplete function.

Cheers, Thomas



   Thomas Rühl
   Design, Programming & Concepts

   akitogo OHG
   Hanauer Landstrasse 188
   60314 Frankfurt

   Telefon +49 (0) 69 800 69 445
   Fax +49 (0) 69 800 69 449
   Mobil   +49 (0) 179 750 75 87
   E-Mail  [EMAIL PROTECTED]
   Web http://www.akitogo.com




KP wrote:
> 
> 
> Hi All,
> 
>  
> 
> Is there any way to click one button automatically on initialize and 
> creationComplete event.
> 
>  
> 
> Thanks
> 
> Kumar
> 
> 


--
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] getParagraphLength method error!!!!

2006-10-19 Thread Branko
var caretIndex:int = textArea.getTextField().caretIndex;
var beginIndex:int =
textArea.getTextField().getFirstCharInParagraph(caretIndex);
var endIndex:int = textArea.getTextField().getParagraphLength(caretIndex);

and I'm getting error like  "The supplied index is out of bounds."

And here is the deffinitoin of getParagraphLength property:

getParagraphLength () method   

public function getParagraphLength(charIndex:int):int

Parameters  charIndex:int — The zero-based index value of the
character (for example, the first character is 0, the second character
is 1, and so on).  

Returns  int — Returns the number of characters in the paragraph.  

Please tell me what is wrong with my code?





--
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] Re: Pass Data or call function in another MXML file?

2006-10-19 Thread Jim Robson
Mike,

You can use data binding to accomplish what you want to do (if I
understand your question correctly). Take a look at the code below.
You can see a working example with source code at
http://robsondesign.com/flexcoders/globalDateDisplay/globalDateDisplay.html

HTH
Jim

1. Here's a slightly modified version of your MXML component (I didn't
want to extend the Date class). I called it DateDisplay.mxml:


http://www.adobe.com/2006/mxml"; width="100%">





2. Here's another MXML component that invokes the setMasterDate
method. It's called DateControl.mxml:

http://www.adobe.com/2006/mxml"; width="100%"
height="400">







2. Here's the main application MXML file:

http://www.adobe.com/2006/mxml"; xmlns:local="*">







--
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] Re: Validator Error Message Position

2006-10-19 Thread Paul Cormier
I was having the same problem and couldn't find a solution other than
to  insert line breaks 
 in the validator message so that they
aren't so wide, but instead wrap to multiple lines.

Paul C
WinCorp Software, Inc.




--
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] Formatting DataTips for DataGridColumns

2006-10-19 Thread cypherhat
This thread
(http://tech.groups.yahoo.com/group/flexcoders/message/5734) discusses
how dataTips for Charting components can be formatted using HTML.
Unfortunately, that doesn't seem to be the case for dataTips on
DataGrids. Can someone point me in the right direction for customizing
the format of datatip strings in the context of a DataGrid.

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] Button Click

2006-10-19 Thread KP










Hi All,

 

Is there any way to click one button automatically on initialize
and creationComplete event.

 

Thanks

Kumar




__._,_.___





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

  




__,_._,___





[flexcoders] Announcing the AS3 Lightweight Remoting Framework

2006-10-19 Thread Danny Patterson





I'm happy to finally announce the release of my first 
open source project, the AS3 Lightweight Remoting Framework. I've had this done for a long time now but I haven't had a 
chance to release it until now. From the project page:
"This 
project is motivated by the need for a simple yet robust framework for handling 
Remoting calls. This framework could be used in AS3-only projects without the 
Flex framework, or it could be used in a Flex project to access Remoting 
resources that aren't supported by the Flex framework."
http://osflash.org/as3lrf
Thanks,Danny 
Patterson
__._,_.___





--
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] Pass Data or call function in another MXML file?

2006-10-19 Thread Clint Tredway



how are you including this in the master file?On 10/18/06, Mike Crowe <[EMAIL PROTECTED]> wrote:













  



Hi folks,
Apologies if this has been answered.  I don't think I'm searching for 
the right words.

I have a "global" control which is in a separate MXML file included 
by the master file.  Very simple, here's a scaled down version:


http://www.adobe.com/2006/mxml" width="100%">
	
	

fontFamily="Georgia" fontSize="16" textAlign="left"  x="85" 
width="201.5" height="26" fontWeight="bold" top="9"/>


>From another MXML file, I would like to update the "MasterDate" in 
this file, or call setMasterDate().  

I've tried "import dir.file;", "dir.file.setMasterDate()", and 
numerous other ways.  

Is there a way to access functions inside another file?
Or alternatively, is there a way to do this that I'm missing?

TIA
Mike


  













-- diabetic? http://www.diabetesforums.comAlbert Einstein - "It's not that I'm so smart, it's just that I stay with problems longer."

__._,_.___





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

  




__,_._,___



[flexcoders] Label rotations, text disappears

2006-10-19 Thread app.developer
When I attempt to rotate a label, my text disappears, using the 
following code.

label1 = new TextArea();
label1.name = "gLabel"+i;
label1.alpha = 0;
label1.rotation = 90;
label1.setStyle("backgroundColor","0xFF");
label1.text = event.result.list.source[i].roleName
grid1Item.addChild(label1);

I haven't any special font.

I have seen one discussion on label rotation with the text 
disappearing, but I don't know how to resolve the issue.

P




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



  1   2   >