RE: [flexcoders] Text Character Spacing

2007-02-06 Thread Gordon Smith
Flex 2.0.1 added a "letterSpacing" style for components like Label and
Text.. These styles are listed in the LiveDocs for 2.0.1 at
http://livedocs.macromedia.com/flex/201/langref/index.html

 

You'd write

 



 

to get 10 extra pixels between each letter.

 

- Gordon

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jack Caldwell
Sent: Tuesday, February 06, 2007 1:42 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Text Character Spacing

 

Dan:

 

Thanks for the info.

 

I've looked at, but not sure exactly how to implement it.

 

I'll continue to look for examples.  At lease I know what

I am looking for now.

 

Jack

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel Freiman
Sent: Tuesday, February 06, 2007 10:34 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Text Character Spacing

Look into flash.text.TextFormat.letterSpacing.  There might be an
equivalent style as well on text UIComponents.

- Dan

On 2/6/07, jwc_wensan < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote: 


Is there a way to change the character spacing of text? Without 
extending the component or custom fonts?

In other words, either expanding or reducing the space between each 
text character.

Thanks,

Jack

 

 



RE: [flexcoders] Intellectual property or licensing of posted/blogged work

2007-02-06 Thread Jason Hawryluk
It's rather late here, so I’ll update all source and posts with a proper
license or something similar tomorrow. Thanks for the input Daniel it’s
cleared some things up. I want people to be safe using it, at the same time
I want to of course protect myself from liabilities.



jason




  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Daniel Freiman
  Envoyé : mardi 6 février 2007 23:51
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Intellectual property or licensing of
posted/blogged work


  As for copyrights vs. licenses

  If you own the code (which if you wrote it you probably do), then you own
the copyright.  A license is simply giving someone permission (limited or
otherwise) to use the copyrighted material.  If you give the copyright to
the public domain, then no one owns the copyright and thus there is no
reason why someone would have to license the copyrighted material.

  As far as practices and standards for people like us, we can talk the
issue into the ground on what we want, but the bottom line is that if
there's no licensing statement with the code, people aren't safe using it
(legally speaking).  If you want to be nice, include one.  If you're
paranoid, email the author.  Lastly, you don't need to be a lawyer to write
a license, especially if it's really simple.  For example, if you want to
let people use code as they see fit, simply state in plain English (or any
other language for that matter) something like "You can use this for
anything" or "I give this to the public domain."  If you're paranoid you
could include, "I am not responsible for any harm this code does to your
computer."  Done and done, no lawyer or standard needed.

  Lastly, if you're employed by a company you might not have the right to
give the copyright or licenses because (usually) anything you write on
company time is owned by the company.  (Don't ask me to define "on company
time.")  This is sometimes also true for freelance work, but not usually.

  Personally, I'd say look for the licenses, state what you want your code
used for in layman's terms or use a standard, and email the author if you're
confused.

  - Dan



  On 2/6/07, Jason Hawryluk < [EMAIL PROTECTED]> wrote:

I willing to do that creative commons license if it makes people feel
more comfortable. I'll have a look and see what's involved.



I fully understand the requirement to protect yourself. Very good topic
that I have to date just taken for granted. I just always assumed that if I
put it out there it's yours to do with as you wish.



I'd hate for people *not* to use this stuff for these kinds of reasons,
it goes against why I write about it in the first place.



Jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED]
la part de engkee
  Envoyé : mardi 6 février 2007 21:31
  À : flexcoders@yahoogroups.com
  Objet : [flexcoders] Intellectual property or licensing of
posted/blogged work


  I have to commend you all for posting a lot of wonderful components
  and extensions to Flex... eg. Ely's calendar, Doug and Jason's tab
  navigator extensions, Ben and Trey's reflection effect, Alex's
  distortion effect, just to name a few.

  Unfortunately, in these day and age, I would have to ask... am I
  allowed to incorporate those wonderful works in commercial products?
  Am I even allowed to look at the source code, if I work for a company
  producing commercial software, without violating some IP issues.

  Most of them are not explicitly associated with any specific
  licensing terms.

  Sure would be nice if there could be some standard practice of
  associating these works with a common license, eg. the Creative
  Commons (http://creativecommons.org/licenses/by/2.5/)

  Maybe there already is some presumed license or disclaimer
  for "published" works. If so, please send a pointer.

  Just a thought.

  -Engkee







  


Re: [flexcoders] How to assign an icon using code behind? (Maybe a flex compiler bug)

2007-02-06 Thread Carlos Rovira

Ok,

I solve it handling the icon in the parent class:

public function ButtonPanelClass():void {
   addEventListener(FlexEvent.CREATION_COMPLETE,
creationCompleteHandler);
   }

   private function creationCompleteHandler(event:FlexEvent):void {
   nuevo_btn.setStyle("icon", EmbeddedAssets.nuevo_icono);
  }

Hope this help someone trying the same

Thanks

C.


On 2/6/07, Carlos Rovira <[EMAIL PROTECTED]> wrote:


Hi Tracy,

Thanks for the response. Please could you write a one or lines showing
what you are explaing?

Thanks!

C.


On 2/6/07, Tracy Spratt <[EMAIL PROTECTED]> wrote:
>
>Pass a reference to the subclass {this} into the base class, and use
> it to refer to subclass items.  That sets up dependencies and typing issues
> you should be aware of though.  Probably an event mechanism would be better.
>
>
>
> Tracy
>
>
>  --
>
> *From:* [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com]
> *On Behalf Of *Carlos Rovira
> *Sent:* Tuesday, February 06, 2007 4:37 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] How to assign an icon using code behind? (Maybe
> a flex compiler bug)
>
>
>
> Hi,
>
> I'm trying to use code behind technique and have a compiler problem. I
> 'm trying to set an icon in a Button control, but the compiler not allow me
> to do this. The following are the classes use to show you the problem
>
>
> The following is the parent class:
>
> ButtonPanelClass.as
> ===
>
> package components {
>
> import mx.containers.HBox;
> import mx.controls.Button;
> import assets.EmbeddedAssets ;
>
> public class ButtonPanelClass extends HBox {
>
> public var new_btn:Button;
> }
> }
>
> Next is the mxml that extends the parent class:
>
> ButtonPanel.mxml
> =
>
> 
>  xmlns:comps="components.*"
> xmlns:mx="http://www.adobe.com/2006/mxml "
> >
>
> 
>
> 
> 
> 
>
> 
>
> Now the assets class I'm trying to use with an icon:
>
> EmbeddedAssets.as
> ===
>
> package assets {
>
> public class EmbeddedAssets {
>
> [Embed(source="/assets/icons/16/new_icon.png")]
> public static const new_icono:Class;
>}
> }
>
>
> Now you have to use the following tag in your mx:Application and set the
> namespace of course (xmlns:comps="components.*")
>
>
> 
>
>
> This is the result:
>
> Severity and DescriptionPathResourceLocationCreation
> TimeId
> No se encontró el tipo o no es una constante en tiempo de compilación:
> ButtonPanel. [Generated code (use -keep to save): Path:
> components\ButtonPanel- generated.as, Line: 142, Column: 14]
> FlexTestUnknown117079685498414900
>
> I assume this is a bug in the compiler. Anyone nows a workaround to get
> my class compile or I should try to implement my component without use the
> code behind technique?
>
> Thanks in advance for any insight on this issue.
>
>
> --
> ::| Carlos Rovira
> ::| http://www.carlosrovira.com
> ::| http://www.madeinflex.com
>
>  
>




--
::| Carlos Rovira
::| http://www.carlosrovira.com
::| http://www.madeinflex.com





--
::| Carlos Rovira
::| http://www.carlosrovira.com
::| http://www.madeinflex.com


[flexcoders] Re: HTTP Service doesnt seem to connect to location when running from a server

2007-02-06 Thread bnprrsh
Thanks cisnky,

It was down to the cross domain I created one on the API server and 
it now works. I was so sure it wasn't the cross domain as when Flex 
Builder compiled the swf the preview would connect without a problem 
plus im sure i used to get errors if flex couldnt find a croxdomain.

I would also like to thank you for informing me about Tamper Data. I 
dont know how I lived without it!



--- In flexcoders@yahoogroups.com, cisnky <[EMAIL PROTECTED]> wrote:
>
> I think the service needs a cross domain.
> 
> You can use Tamper Data a Firefox plugin to see if you app makes a 
request
> for the cross domain when running it on your server.
> 
> Let us know how you get on.
> 
> On 2/6/07, bnprrsh <[EMAIL PROTECTED]> wrote:
> >
> >   I am currently trying to create a simple front end app which 
connects
> > to a 3rd party API made for some backup software. The API accepts 
HTTP
> > post data and generates its responses in XML.
> >
> > I have built a simple app with a HTTP service which posts data to 
the
> > api and processes the responses.
> >
> > The application runs fine from my local machine and I get a 
response
> > from the HTTPService (the status bar also gives the "Transferring 
data
> > from..." mesage. However when I upload the application to the live
> > server it doesn't seem to be connecting and I get no response or 
errors.
> >
> > I have tested this on 3 servers all running IIS and windows 2003 
these
> > servers are in 3 seperate datacentres.
> >
> > Can anyone shed any light on this.
> >
> > Thanks
> >
> >  
> >
>




[flexcoders] Alex's Distortion effects

2007-02-06 Thread danj520
http://weblogs.macromedia.com/auhlmann/archives/2006/11/download_distor.cfm

The example has the following code:



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




Do you run this or integrate into other code?

I love these distortion effects, but don't have a clue how to
implement them. Also get "Design Mode: Error creating item SimpleFlip"
even though paths to classes are correct. Can anyone help me? Thanks
again in advance.. 



[flexcoders] Re: java.lang.Runtime "complete" message?

2007-02-06 Thread qnotemedia
I'm looking at java's waitFor().  When I use it in a CFC though, I 
think its just looping forever.

Here's what I have so far:






When running this cffunction as a WebService from Flex2, it leaves a 
never ending busy cursor.  If I remove checkProcess and return 
startProcess instead, I have some kind of java string - a thread 
identifier or something?  i.e.:

[EMAIL PROTECTED]

Its really quite simple - I don't know enough about java to make this 
happen and the Java reference perplexes me when in-context with 
Coldfusion.  Any help is appreciated.



RE: [flexcoders] FDS DataService.commit() doesn't trigger responder result()...?

2007-02-06 Thread Jeff Vroom
It does really look like the ack is going back to the client.  Have you
tried looking at the client side logs (in flashlog.txt, debug player
only, enabled with ?  Maybe something funky is going on
there?

 

Jeff

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of parkerwhirlow
Sent: Monday, February 05, 2007 11:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS DataService.commit() doesn't trigger responder
result()...?

 

Hi again,

I've got a simple save case working as far as I can tell (from
debugging the server java side, everything is OK after leaving the
HibernateAssembler.java updateItem() method.

But the result never gets back to the client... I have a responder
registered to the call like so:

call = service.commit();
call.action = "save";
call.addResponder(responder);

And my responder has both fault and result methods. I know the
responder is registered because I was getting faults for a long time,
and those were firing the fault handler. But now that I think I have
the save going successfully, I'm not getting anything back.

I've turned on FDS logging for messages, see the trace below. Seems
like the "ACK" message is being sent... 

Any ideas?

thanks,
PW

02/05 11:01:36 user [Flex] 11:01:36.794 [DEBUG]
[Message.Data.transacted] After invoke service: data-service
reply: Flex Message (flex.messaging.messages.AcknowledgeMessage)
clientId = null
correlationId = null
destination = null
messageId = 7793A2C0-FA0D-5A78-3641-BB1BA4B4ADB5
timestamp = 1170702096794
timeToLive = 0
body =
[

]

02/05 11:01:36 user [Flex] 11:01:36.794 [DEBUG] [Endpoint.RTMP]
Serializing AMF/RTMP response
Version: 3
(Command method=_result (0) trxId=20)
(Typed Object #0 'flex.messaging.messages.AcknowledgeMessage')
destination = null
headers = (Object #1)
correlationId = "322C326C-9C96-8513-7EC3-934715E5D887"
messageId = "7793A2C0-FA0D-5A78-3641-BB1BA4B4ADB5"
timestamp = 1.170702096794E12
clientId = "77909013-D108-A13B-EC7E-EDBFA5C3A894"
timeToLive = 0.0
body = (Array #2)

 



RE: [flexcoders] Re: FDS DataService.commit() doesn't trigger responder result()...?

2007-02-06 Thread Jeff Vroom
I personally attach to the server after it is started.  It is a pain to
specify all of the jar files and keep that up to date in my case since
the jars change a lot (though I have gotten that to work too...).  

 

Unfortunately the exact way is dependent on the app server and I am
still using jrun (yeah, been meaning to switch for a while!)

 

For Jrun, I add this to the standard java command line args it uses:

 

  -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=2005

 

Then my eclipse debug target is created from the "Remote Java
Application" configuration.  I specify localhost and 2005 for server and
port.

 

Debug logging on the server is in WEB-INF/flex/services-config.xml.
Search for level=, change that to Debug.  Make sure that "Message.*" and
DataService.* are in the patterns.  I personally don't like the
"Endpoint.*" unless I'm debugging serialization problems since it is
pretty verbose and duplicates a lot of the Message.* stuff.

 

On the client, you can use the  in your MXML.  It goes
to flashlog.txt - same place as the "trace" statement output.

 

Jeff

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of simonjpalmer
Sent: Monday, February 05, 2007 4:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FDS DataService.commit() doesn't trigger
responder result()...?

 

No answer unfortunately, but I do have two questions...

1) how do you manage to debug your server side jave code? I am
running under JBoss and using Eclipse as my IDE for both Java and
FlexBuilder and I can't figure out how to set breakpoints in my Java
code or attach a debugger to the server.

2) how do you switch on the FDS logging?

not the response you were hoping for I am sure, but you would be
helping a fella out :-)

SP

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "parkerwhirlow" <[EMAIL PROTECTED]>
wrote:
>
> Hi again,
> 
> I've got a simple save case working as far as I can tell (from
> debugging the server java side, everything is OK after leaving the
> HibernateAssembler.java updateItem() method.
> 
> But the result never gets back to the client... I have a responder
> registered to the call like so:
> 
> call = service.commit();
> call.action = "save";
> call.addResponder(responder);
> 
> And my responder has both fault and result methods. I know the
> responder is registered because I was getting faults for a long time,
> and those were firing the fault handler. But now that I think I have
> the save going successfully, I'm not getting anything back.
> 
> I've turned on FDS logging for messages, see the trace below. Seems
> like the "ACK" message is being sent... 
> 
> Any ideas?
> 
> thanks,
> PW
> 
> 
> 02/05 11:01:36 user [Flex] 11:01:36.794 [DEBUG]
> [Message.Data.transacted] After invoke service: data-service
> reply: Flex Message (flex.messaging.messages.AcknowledgeMessage)
> clientId = null
> correlationId = null
> destination = null
> messageId = 7793A2C0-FA0D-5A78-3641-BB1BA4B4ADB5
> timestamp = 1170702096794
> timeToLive = 0
> body =
> [
> 
> ]
> 
> 02/05 11:01:36 user [Flex] 11:01:36.794 [DEBUG] [Endpoint.RTMP]
> Serializing AMF/RTMP response
> Version: 3
> (Command method=_result (0) trxId=20)
> (Typed Object #0 'flex.messaging.messages.AcknowledgeMessage')
> destination = null
> headers = (Object #1)
> correlationId = "322C326C-9C96-8513-7EC3-934715E5D887"
> messageId = "7793A2C0-FA0D-5A78-3641-BB1BA4B4ADB5"
> timestamp = 1.170702096794E12
> clientId = "77909013-D108-A13B-EC7E-EDBFA5C3A894"
> timeToLive = 0.0
> body = (Array #2)
>

 



[flexcoders] Returning 'this' from an overridden method?

2007-02-06 Thread David_Stafford
Please pardon this simple-minded question from an AS3 novice.

My base class often returns 'this' from methods which makes it 
convenient to write code like:

  camera.move( 10, 12 ).rotateX( 45 ).rotateY( 90 );

The problem comes when code extends the base class and overrides one 
of these functions.  The compiler insists, correctly, that the return 
type of an overriding function must match the one in the base class.  
What I want to do is return the 'this' object that is of the type of 
the derived class.  Is this possible?

The following is a contrived example to demonstrate.  It won't 
compile because the overridden function in the derived class wants to 
return a type of MyCamera rather than Camera:


public class Camera
  {
  var x:int = 0;
  var y:int = 0;

  public function move( x:int, y:int ) :Camera
{
this.x += x;
this.y += y;

return( this );
}  
  }

public class MyCamera extends Camera
  {
  override public function move( x:int, y:int ) :MyCamera
{
super.move( x, y ); 

if( x < 0 )  x = 0;
if( y < 0 )  y = 0;

return( this );
} 
  }





[flexcoders] Re: Populate Tree with data from a query?

2007-02-06 Thread malik_robinson
Hi Tracy,

When I do a trace as you indicated.  I see this:


   
 
   Bill Bates
 
 
   Mark Smith
 
   
   
 
   Larry Jobs
 
   


And this is what I see when my tree is rendered also.

-Malik


--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Have you determined that model.treeData contains valid xml?
> (trace(treeData.toXMLString()))  If it does, then the tree should work
> like you have it.  You will need to set the "labelField" property for
> the label, or use a labelFunction if the data you want for the label
is
> not a top-level porperty/attribute of the item node.
>
>
>
> Also, I am not familiar with RemoteObject, so this may not apply, but
> you may need to set resultFormat="e4x".  Also, if the data service was
> HTTPService, I would do the result handler like this:
>
> public function result( event:ResultEvent ):void {
> var xmlResult:XML = XML(event.result);
>
> trace(xmlResult.toXMLString());
> model.treeData = xmlResult;
> }
>
>
>
> if you see good xml but are still having difficulty, take the model
> class out of the picture and assign the dataProvider directly:
>
> acTree.dataProvider = xmlResult;
>
>
>
> Tracy
>
>
>
> ____
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of malik_robinson
> Sent: Tuesday, February 06, 2007 3:09 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Populate Tree with data from a query?
>
>
>
> Hi,
>
> That helps a bit, in my tree I am seeing the actual xml when I run my
> application in flex. I have CFC function returning a string, I tried
> having return xml and same thing.
>
> ***
> After I make my remote object call in my result handler I have this:
>
> public function result( data:Object ):void {
> var event:ResultEvent = data as ResultEvent
> model.treeData = event.result as XML;
> }
>
> It seems I have to cast it as XML otherwise in my "model" I get a
'type'
> error
>
> **
> In my model which is a [Bindable] class I have:
>
> public var treeData:XML;
>
> **
> And in the view I have
>
>  width="50%"
> height="100%"
> showRoot="false"
> dataProvider="{model.treeData}"
> change="treeChanged(event)"
> />
>
> Any help appreciated as I am getting the actual xml in the tree. How
do
> you get the label to work also?
>
> --- In flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>
> , "jensen.axel" axel@ wrote:
> >
> > Hi Malik,
> >
> > I have never exactly populated a tree with straight query data, i
> > usually convert it to xml first within the cfc that i'm calling, and
i
> > return a string from that cfc... it took some playing with but i
> > eventually got it...
> >
> > google the following:
> >
> > "using cfxml returning it to flex?" or something along those
lines...
> > that will teach you how to convert your query to xml... but the
thing
> > is, flex doesn't want the actual xml doc from coldfusion, it wants
the
> > valid string format...
> >
> > here is my example
> >
> >
>
http://axel.cfwebtools.com/index.cfm/2007/2/6/Returning-a-query-to-flex-
> \
> as-xml#more
>
<http://axel.cfwebtools.com/index.cfm/2007/2/6/Returning-a-query-to-flex
> -as-xml#more>
> >
> > once you get it into flex, it will be declared as xml, and then in
> > your mx:Tree your going to declare a showRoot="false"
> >
> > the blog might be a little hard to follow, but I hope it helps.
> >
> > --- In flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com> , "malik_robinson"
> > Malik_Robinson@ wrote:
> > >
> > >
> > > Hi,
> > >
> > > I want to display a list of companies and contacts associated with
> each
> > > company in my app. I think a tree can do this, but I wanted to ask
> how
> > > can I populate a tree from a query? I would like the folders to be
> the
> > > companies and when you expand the folder you see a list of
contacts
> > > associated.
> > >
> > > I am using CF so in CF I have a query that does a group by so I'd
> like
> > > to use that and populate the tree but I am unsure on how to do
this.
> I
> > > understand the tree needs a data provider, but how do I handle the
> > > grouping?
> > >
> > > Thanks
> > >
> > > -M
> > >
> >
>




Re: [flexcoders] Intellectual property or licensing of posted/blogged work

2007-02-06 Thread Daniel Freiman

I will now pass myself off as a legal expert despite the fact that I haven't
attended law school...so anyone with authority should overrule my opinion.

Generally speaking, if the owner (which is usually the author) publishes the
code on the web, then you are allowed to look at it.  They showed it to the
public, the public gets to see it.  (It's the same theory that while a
billboard is still copyrighted, you can't tell people not to look at it.)
You can even tell other people about it and where it is (although you can't
necessarily give them a copy yourself).

As far as using it in your own projects, that depends entirely on the
license.  Sorry, there is no standard.  However, many blogs and most adobe
products/solutions/projects (including many you mentioned) are pretty
explicit on what you can do.  I assume if you publish things on this list
then you're ok with people using them as they see fit, but that's a personal
assumption, not a legal one.  Maybe there was something in the signup that i
missed which said this list is in the public domain, but I don't remember
it.

- Dan

On 2/6/07, engkee <[EMAIL PROTECTED]> wrote:


  I have to commend you all for posting a lot of wonderful components
and extensions to Flex... eg. Ely's calendar, Doug and Jason's tab
navigator extensions, Ben and Trey's reflection effect, Alex's
distortion effect, just to name a few.

Unfortunately, in these day and age, I would have to ask... am I
allowed to incorporate those wonderful works in commercial products?
Am I even allowed to look at the source code, if I work for a company
producing commercial software, without violating some IP issues.

Most of them are not explicitly associated with any specific
licensing terms.

Sure would be nice if there could be some standard practice of
associating these works with a common license, eg. the Creative
Commons (http://creativecommons.org/licenses/by/2.5/)

Maybe there already is some presumed license or disclaimer
for "published" works. If so, please send a pointer.

Just a thought.

-Engkee

 



[flexcoders] Printing High Res Images

2007-02-06 Thread zgaff
Hi Everyone,

   Does anyone know how to print a high res images in flex 2. What I 
mean is if I have and image that is 1200 DPI by 1200 DPI and my printer 
has a resolution of 600 DPI my image should print out a 2 inchs by 2 
inchs. I set the size for my display the printout is incorrect.

Thanks for any assistants


Gene  



[flexcoders] Putting a Rectangle around a "selected" line in a List component

2007-02-06 Thread Michael
I'm fairly new at this and am trying to extend a List component so 
that a rectangle will appear round the selected line (and around the 
roll-over) instead of a solid color.

I'm assuming that the focusRect property that is inherited from the 
InteractiveObject is the one I need to deal with, but I can't seem to 
figure out how to use it.

Are there any examples out there that I could see??



RE: [flexcoders] Re: RemoteObjects for Flex using AS3

2007-02-06 Thread Shannon Jackson
That is not the line that is failing; that is the line that binds the event
listener to the operation. we're trying to execute the method dynamically
(line six of second example)-- have you done that?
 
Thnx, -Shannon

employeeRO.getOperation(methodName)].addEventListener
("result",getListResultHandler);

Michael Ramirez

--- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com,
"Shannon Jackson" <[EMAIL PROTECTED]> wrote:
>
> In the Flex 2 Developers Guide, it shows an example of how to 
script a
> remote object as follows:
> 
> employeeRO = new RemoteObject();
> employeeRO.destination = "SalaryManager";
> employeeRO.getList.addEventListener("result",getListResultHandler);
> employeeRO.addEventListener("fault", faultHandler);
> employeeRO.getList(deptComboBox.selectedItem.data);
> 
> Does anyone know how to do the same thing but implement it so the 
method
> name is variable? Like this:
> 
> var methodName:String = "getList";
> employeeRO = new RemoteObject();
> employeeRO.destination = "SalaryManager";
> employeeRO[methodName].addEventListener
> employeeRO.addEventListener("fault", faultHandler);
> employeeRO[methodName].(deptComboBox.selectedItem.data);
> 
> It fails on the sixth line here (the second variable call) with 
this error:
> 
> Error #1006: value is not a function.
> 
> It appears the first attempt correctly creates the
> mx.rpc.remoting::Operation object, but when you attempt to actually 
run the
> service method it fails. Any ideas?
>
 


[flexcoders] Re: Intellectual property or licensing of posted/blogged work

2007-02-06 Thread Engkee Kwang
Just to expand on the original post, there are at least 3 issues I 
can see with the lack of clarity on posted work.

1. The first relates to copyright and as pointed out, the US law 
appears to be pretty clear. If that is the case, then minimally, it 
would be appropriate to include in the software some attribution to 
the original author, in some forms, likely to include but not limited 
to name, email address, etc. Even if not required, it would be good 
common courtesy and for that, we would need to have some verbages 
included with the posted work.

2. The second relates to licensing or financial terms. While software 
folks may be inclined to make the most liberal interpretation, I 
don't think corporate lawyers would agree.

3. The third relates to plagiarism. Intentionally or not, if I were 
to avail myself to posted source code, there is a high likelihood 
that even if I were to then recreate similar functionality, there 
will be a high degree of similarity to posted work.

Bottom line is that I can imagine companies producing commercial 
software would be very uncomfortable with the degree of ambiguity and 
subjectivity.

-Engkee


--- In flexcoders@yahoogroups.com, "engkee" <[EMAIL PROTECTED]> wrote:
>
> I have to commend you all for posting a lot of wonderful components 
> and extensions to Flex... eg. Ely's calendar, Doug and Jason's tab 
> navigator extensions, Ben and Trey's reflection effect, Alex's 
> distortion effect, just to name a few.
> 
> Unfortunately, in these day and age, I would have to ask... am I 
> allowed to incorporate those wonderful works in commercial products?
> Am I even allowed to look at the source code, if I work for a 
company 
> producing commercial software, without violating some IP issues.
> 
> Most of them are not explicitly associated with any specific 
> licensing terms.
> 
> Sure would be nice if there could be some standard practice of 
> associating these works with a common license, eg. the Creative 
> Commons (http://creativecommons.org/licenses/by/2.5/)
> 
> Maybe there already is some presumed license or disclaimer 
> for "published" works. If so, please send a pointer.
> 
> Just a thought.
> 
> -Engkee
>




Re: [flexcoders] Intellectual property or licensing of posted/blogged work

2007-02-06 Thread Ben Stucki

Dan,

That's one of the best descriptions of copyrights and licensing I've seen in a 
while. I used to release code under Creative Commons, but I am now recommending 
the MIT license to anyone releasing code. It's short, legally sound and widely 
accepted. Here's the link.

http://www.opensource.org/licenses/mit-license.php

P.S.  Engkee, I've got an updated Reflection component being released under the 
MIT license soon. Working on the examples now.

Ben Stucki

--
We're Hiring! Seeking a passionate developer to join our team building Flex 
based products. Position is in the Washington D.C.  
metro area. If interested contact [EMAIL PROTECTED]


From: "Daniel Freiman" <[EMAIL PROTECTED]>
Sent: Tuesday, February 06, 2007 3:59 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Intellectual property or licensing of posted/blogged 
work 

As for copyrights vs. licenses 

If you own the code (which if you wrote it you probably do), then you own the 
copyright.  A license is simply giving someone permission (limited or 
otherwise) to use the copyrighted material.  If you give the copyright to the 
public domain, then no one owns the copyright and thus there is no reason why 
someone would have to license the copyrighted material.

As far as practices and standards for people like us, we can talk the issue 
into the ground on what we want, but the bottom line is that if there's no 
licensing statement with the code, people aren't safe using it (legally 
speaking).  If you want to be nice, include one.  If you're paranoid, email the 
author.  Lastly, you don't need to be a lawyer to write a license, especially 
if it's really simple.  For example, if you want to let people use code as they 
see fit, simply state in plain English (or any other language for that matter) 
something like "You can use this for anything" or "I give this to the public 
domain."  If you're paranoid you could include, "I am not responsible for any 
harm this code does to your computer."  Done and done, no lawyer or standard 
needed.

Lastly, if you're employed by a company you might not have the right to give 
the copyright or licenses because (usually) anything you write on company time 
is owned by the company.  (Don't ask me to define "on company time.")  This is 
sometimes also true for freelance work, but not usually.   

Personally, I'd say look for the licenses, state what you want your code used 
for in layman's terms or use a standard, and email the author if you're 
confused.

- Dan

On 2/6/07, Jason Hawryluk <
[EMAIL PROTECTED]> wrote:

I willing to do that 
creative commons license if it makes people feel more comfortable. I'll have a 
look and see what's involved. 

I fully understand the 
requirement to protect yourself. Very good topic that I have to date just taken 
for granted. I just always assumed that if I put it out there it's yours to do 
with as you wish.

I'd 
hate for people *not* to use this stuff for these kinds of reasons, 
it goes against why I write about it in the first place.

 Jason-Message d'origine-
De : 
  flexcoders@yahoogroups.com [mailto:

[EMAIL PROTECTED] la part 
  de engkee
Envoyé : mardi 6 février 2007 
  21:31
À : flexcoders@yahoogroups.com
Objet : 
  [flexcoders] Intellectual property or licensing of posted/blogged 
  work

I have to commend you all for posting a lot of wonderful components 
and 
  extensions to Flex... eg. Ely's calendar, Doug and Jason's tab 
navigator 
  extensions, Ben and Trey's reflection effect, Alex's 
distortion effect, 
  just to name a few.

Unfortunately, in these day and age, I would have 
  to ask... am I 
allowed to incorporate those wonderful works in commercial 
  products?
Am I even allowed to look at the source code, if I work for a 
  company 
producing commercial software, without violating some IP 
  issues.

Most of them are not explicitly associated with any specific 

licensing terms.

Sure would be nice if there could be some standard 
  practice of 
associating these works with a common license, eg. the 
  Creative 
Commons (http://creativecommons.org/licenses/by/2.5/)

Maybe 
  there already is some presumed license or disclaimer 
for "published" 
  works. If so, please send a pointer.

Just a 
  thought.

-Engkee





RE: [flexcoders] Text Character Spacing

2007-02-06 Thread Jack Caldwell
Gordon:
 
Thanks,
 
Jack

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Tuesday, February 06, 2007 4:55 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Text Character Spacing




Flex 2.0.1 added a "letterSpacing" style for components like Label and
Text.. These styles are listed in the LiveDocs for 2.0.1 at http://livedocs.
<http://livedocs.macromedia.com/flex/201/langref/index.html>
macromedia.com/flex/201/langref/index.html

You'd write



to get 10 extra pixels between each letter.

- Gordon

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jack Caldwell
Sent: Tuesday, February 06, 2007 1:42 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Text Character Spacing

Dan:

Thanks for the info.

I've looked at, but not sure exactly how to implement it.

I'll continue to look for examples.  At lease I know what

I am looking for now.

Jack

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel Freiman
Sent: Tuesday, February 06, 2007 10:34 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Text Character Spacing

Look into flash.text.TextFormat.letterSpacing.  There might be an equivalent
style as well on text UIComponents.

- Dan

On 2/6/07, jwc_wensan < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
com> wrote: 


Is there a way to change the character spacing of text? Without 
extending the component or custom fonts?

In other words, either expanding or reducing the space between each 
text character.

Thanks,

Jack

 


[flexcoders] Semi-noobie architectural style question

2007-02-06 Thread rumpleminzeflickr
Hi there,

I have a main app, with a lot of sub custom components.

I've created a singleton class that i'm using as a controller. 

what I want to know is, do I have to define access to that singleton 
class in every custom component, or is there some way to 'pass' the 
instance of it down the line and make it available to all.

Sorry if this is a dumb question, I tried searching without an answer 
so far :(

Brett



[flexcoders] Using History in a wrapper

2007-02-06 Thread Jack Park

The templates call for a URL: history.html
My question has to do with behaviors in a servlet environment. Here's the
story.

I call the history file simply with /history rather than history.html. This
means that my template line of code reads:

   AC_FL_RunContent(
   "src", "/swf/FirstFlex",
   "width", "100%",
   "height", "100%",
   "align", "middle",
   "id", "FirstFlex",
   "quality", "high",
   "bgcolor", "#869ca7",
   "name", "FirstFlex",
   "flashvars",'historyUrl=/flex/history%3F&lconid=' + lc_id + '',
   "allowScriptAccess","sameDomain",
   "type", "application/x-shockwave-flash",
   "pluginspage", "http://www.adobe.com/go/getflashplayer";
   );

where the affected line was:
   "flashvars",'historyUrl=history.html%3F&lconid=' + lc_id + '',

Right now, I feel a bit dense. I'd like to know how others are painting the
history iframe through a servlet. That's because the contents of
FirstFlex.swf are not appearing even though the servlet log trace clearly
states that the swf, itself, was served.

Thanks
Jack


[flexcoders] About a warning message when using an RSL

2007-02-06 Thread arcencie1978
Hi guys,

I've just succeeded in making a flex library project

and come up with a myLibrary.swc.

Yet my problem is that the warning message

pops up every time a sub-application is being loaded...

Is it just the way that RSL works or am I missing something???

What is strange is that when I run the application in the Flex 
builder

there's no warning message!

But if I run the application in the bin folder or on some web page,

this bothersome warning message just pops up on and on...

For your refrence, I set the RSL URL at the Library path for my 
project like myLibrary.swf. Isn't this what it is supposed to be?

Please correct me if I am missing something...

Thank you very much~!! 





[flexcoders] Re: How can I test a UIComponent to see if it is user editable?

2007-02-06 Thread dougmccune
I don't think there's a good answer to this question. There's no way
to figure out via AS whether a component MIGHT dispatch a given event.

I did a search on livedocs to try to find all classes that dispatch a
change event. This only seems to include base classes, so subclasses
of any of these controls won't show up, so you'd hve to figure those
out. Also note that this doesn't mean that some classes might dispatch
other events that signify change that aren't specifically the same
"change" event. And these change events don't necessarily mean "user
input" either. All it means is that the component dispatches an event
called "change".

Here's the livedocs search:
http://livedocs.macromedia.com/cfusion/search/index.cfm?loc=en_us&term=site%3Alivedocs.macromedia.com%2Fflex%2F201++%22change%3DNo+default%22&action=Search

And here are the classes that come up:
mx.controls.RadioButtonGroup
mx.controls.sliderClasses.Slider (which means HSlider and VSlider as well)
mx.controls.ColorPicker
mx.containers.Accordion
mx.containers.ViewStack
mx.controls.DateChooser
mx.controls.NumericStepper
mx.controls.Button
mx.controls.DateField
mx.controls.PopUpMenuButton
mx.controls.ComboBox
mx.controls.TextInput 
mx.controls.TextArea
mx.controls.Tree
mx.controls.listClasses.ListBase (so that would mean all list controls
like List, TileList, DataGrid, etc)

So your best bet is probably to put together a more complete list of
each component you want to define as having "user input" and then just
check against that list using the "is" test as already mentioned. But
I think the basic answer to your question is no, there's no good way
to do this.

Doug



--- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
<[EMAIL PROTECTED]> wrote:
>
> I guess the only way to do it reliable is to ask for the type.
> You can use if(  X instanceof Y)  for example
> 
> Cheers,
> Ralf.
> 
> On 2/6/07, gotgoose09 <[EMAIL PROTECTED]> wrote:
> >
> >   No one has done type checking like this before? If not, oh well. :)
> >
> > --- In flexcoders@yahoogroups.com ,
> > "gotgoose09"  wrote:
> > >
> > > My current code now loops through the children of a container
and adds
> > > an event handler to each one to listen for a "change" event.
> > >
> > > However, I want to only add event handlers to UIComponents that have
> > > some sort of value that the user can change.
> > >
> > > Some examples of these components are: TextInput, ComboBox,
> > > RadioButton, CheckBox, ColorPicker, List, RichTextEditor, etc.
> > >
> > > My current code is something like this: (simplified)
> > >
> > > var component:UIComponent = container.getChildAt(i);
> > > if (component is Container)
> > > {
> > > // add event handlers to the container's children
> > > }
> > > else if (component is UIComponent && "enabled" in component)
> > > {
> > > // add an event handler to component
> > > }
> > >
> > > Unfortunately, this doesn't work for all the various input controls.
> > > e.g. The RichTextEditor is a Container, so the code tries adding
event
> > > handlers to it's children (I want an event handler on the actual
> > > RichTextEditor).
> > >
> > > Is there a reliable way of detecting a user editable control?
> > >
> > > Thanks in advance!
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> Ralf Bokelberg <[EMAIL PROTECTED]>
> Flex & Flash Consultant based in Cologne/Germany
> Phone +49 (0) 221 530 15 35
>




[flexcoders] About a warning message to choose flex debugger host

2007-02-06 Thread arcencie1978
Hi guys,

I've just succeeded in making a flex library project

and come up with a myLibrary.swc.

Yet my problem is that a warning message,which says 'where is the 
flash debugger host running',

pops up every time a sub-application is being loaded...

Is it just the way that RSL works or am I missing something???

What is strange is that when I run the application in the Flex
builder

there's no warning message!

But if I run the application in the bin folder or on some web page,

this bothersome warning message just pops up on and on...

For your refrence, I set the RSL URL at the Library path for my
project like myLibrary.swf. Isn't this what it is supposed to be?

Please correct me if I am missing something...

Thank you very much~!!




[flexcoders] FDS2 stuck when resultset is too large

2007-02-06 Thread Carlos Rovira

Hi,

One of the teams here working on a large FDS2 application found a strange
problem. When the resultset retrieved from FDS2 pass a number of rows the
dataservice hangs. It always happens when the rows pass a fixed limit.

It seems like FDS waits for a new request and if you throw a new request
just after the large-row-request (another fill), the first one ends without
problem.

Anyone could bring some explanation about this issue?.

Thanks.

--
::| Carlos Rovira
::| http://www.carlosrovira.com
::| http://www.madeinflex.com


Re: [flexcoders] Tutorial zoom in a linechart

2007-02-07 Thread Mikhail Shevchuk

I suppose that it is not difficult to implement. During zooming, just store
smaller (zoomed area, relatively to the whole chart) array collection and
change a dataprovider for the component.

2007/2/7, bcncgn3 <[EMAIL PROTECTED]>:


  I have linechart and i want that the user can zoom in in the horizontal
axis selecting an area on the chart? Someone knows a tutorial which
explains how to program this?

 





--
A vivid and creative mind characterizes you.


Re: [flexcoders] Tutorial zoom in a linechart

2007-02-07 Thread Brendan Meutzner

As Mikhail pointed out, if by "zoom" you mean changing the range shown along
the horizontal axis, this example should help.  Just right click to view the
source:

http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html

Brendan


On 2/7/07, Mikhail Shevchuk <[EMAIL PROTECTED]> wrote:


  I suppose that it is not difficult to implement. During zooming, just
store smaller (zoomed area, relatively to the whole chart) array collection
and change a dataprovider for the component.

2007/2/7, bcncgn3 <[EMAIL PROTECTED]>:
>
>   I have linechart and i want that the user can zoom in in the
> horizontal
> axis selecting an area on the chart? Someone knows a tutorial which
> explains how to program this?
>
>


--
A vivid and creative mind characterizes you.

 





--
Brendan Meutzner
Stretch Media - RIA Adobe Flex Development
[EMAIL PROTECTED]
http://www.stretchmedia.ca


Re: [flexcoders] enabled="{Boolean(myDataProvider.length)}"

2007-02-07 Thread Roman Protsiuk

Well, technically Boolean(-1) == true. Though, it's probably not your case
but...

R.

On 2/6/07, Ralf Bokelberg <[EMAIL PROTECTED]> wrote:


  I would prefer the following:

*enabled="{ myDataProvider.length > 0}"
*
It's shorter and communicates the intention better imho
Cheers,
Ralf.

On 2/6/07, rd_grimes <[EMAIL PROTECTED]> wrote:
>
>   Just curious if this type of syntax is wise or advisable? I just
> completed my first major Flex project and I use this in several
> places. But, now I'm wondering if anyone knows of a reason why this
> might cause problems or introduce some undesired side-effect.
>
> Thanks,
>
> Ron
>
>


--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35
 



[flexcoders] Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread oneproofdk
I am building a internal app for my company, where we would eventually
pursue FDS for it's push capabilities - updating the users view when
backend data changes.

Until then, I'm thinking about making a function that will get
triggered by a timer, e.g. every 60 seconds, it should retrieve data
from the server and then compare it to the data currently displayed in
the app [Binded]. Then if data has changed, it should update the
specific data in the ArrayCollection.

Any pointers to how I could accomplish this ?

Im thinking a function "dataTimer" that would call a function
"getData", that function would then compare each row in the dataset to
the data currently "in memory" in the app. If there's a difference, it
would update the data OR completely replace the currently used
dataset. (only I guess that would make the app flicker?)

Any help is greatly appreciated.

Thanks,
Mark



RE: [flexcoders] Alex's Distortion effects

2007-02-07 Thread Alex Uhlmann
Hi there, 
 
SimpleFlip is just an MXML component, which contains the setup code for
the effects. There are various examples provided in the download like
that. Check out the "Creating and Extending Flex 2 Components"
documentation, chapter "Creating MXML components" for more information.
 
Best,
Alex
 

 

 

Alex Uhlmann 
Consultant (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, 
South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6969
m: +44 (0) 7917 428 951
[EMAIL PROTECTED]
http://weblogs.macromedia.com/auhlmann

Adobe Systems Europe Limited | Registered office: 151 St. Vincent
Street, Glasgow G2 5NJ | Company No. SC101089

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of danj520
Sent: 07 February 2007 00:45
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Alex's Distortion effects



http://weblogs.macromedia.com/auhlmann/archives/2006/11/download_distor.
cfm
<http://weblogs.macromedia.com/auhlmann/archives/2006/11/download_distor
.cfm> 

The example has the following code:



http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> "
xmlns:distortion="view.distortion.*">




Do you run this or integrate into other code?

I love these distortion effects, but don't have a clue how to
implement them. Also get "Design Mode: Error creating item SimpleFlip"
even though paths to classes are correct. Can anyone help me? Thanks
again in advance.. 



 


adobe_logo.gif
Description: adobe_logo.gif


[flexcoders] Re: Filters with DataGrid - Excel

2007-02-07 Thread sanjaypmg
Hi,

I have started this functionality and even I got success but upto an 
extent and now I am stucked.

I have rendered the header and placed a comboBox using 
testCombo.mxml. Here I have a few queries like:

1. How can I get rendered header's column Index so that I can the 
unique value of that purticular column n populate that combo box?

2. Currently, when I change the combo item, it filters my 
arrayCollection and show the data accordingly but it doesnt keep 
selected the selected Item. Suggest something to rectify.

3. How Can I Hide/Show a Column of a dataGrid? or How Can I 
Add/Delete a Column of a DataGrid?

4. How Can I get/set the column Index or Label on which Sorting is 
implemented?

5. How can I get/set width of each column of a dataGrid?

I have some questions also in my mind... but that'll for next 
time .. ;)

I have also pasted the code below.

Please help me to resolve these issues..

Thanks in advance...
Sanjay Sharma

Code:: MainGrid.mxml :::


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




  

  




 

  




:: testCombo.mxml ::


http://www.adobe.com/2006/mxml"; 
preinitialize="init()">  


  
 
 




--- In flexcoders@yahoogroups.com, "sanjaypmg" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I have tried to get column index in my testCombo.mxml by 
importing " 
> mx.controls.dataGridClasses.DataGridListData" But I am not able to 
> get column index or column name.
> 
> Could anyone please help me? so that i can complete the task and 
> populate code for all.
> 
> Thanks,
> Sanjay sharma
> 
> --- In flexcoders@yahoogroups.com, "phipzkillah"  wrote:
> >
> > Sanjay,
> > 
> > Did you have any luck converting the DG Header Filter cell 
> renderer to
> > Flex 2.0?  These are the cons that were posted with the code 
> snippet:
> > 
> > CONS
> > 1) you must maintain the same dataProvider.
> > 2) sorting is no good. you might want to re-sort after a filter 
is
> > done (but providing events and what not are still something I 
need 
> to
> > provide, probable a modelChanged event utilizing the 
> eventName 'filter'
> > 
> > There is still a lot to do for this renderer to make it more 
> usable,
> > but I figure I've gotten everyone to a dropping off point it 
> shouldn't
> > be too hard. As I progress with this I'll post more to this 
thread
> > 
> > #
> > 
> > I'm not sure exactly what you are trying to do.  Do you just 
simply
> > want a combo-box that you select a field in the list and have it 
> sort
> > the datagrid?  If so I believe you need to use an ArrayList 
> collection
> > for your dataprovider.  
> > 
> > The link that I gave you earlier seems like it would be the best 
> for
> > filtering a datagrid as you would be able to filter on each
> > field/column by clicking on the header and selecting an item - 
> which
> > is exactly what Excel does.
> > 
> > If you were able to convert that datagrid header filter cell 
> renderer
> > to Flex 2.0 can you please post the source up here?
> > 
> > -Phil
> > 
> > --- In flexcoders@yahoogroups.com, "sanjaypmg"  
wrote:
> > >
> > > Hi,
> > > 
> > > I have tried it but facing a problem when I try to access 
> > > DataCollection from another MXML testCombo.mxml. 
> > > 
> > > Please Suggest:::
> > > 
> > > See the following Code:
> > > 
> > > filterTest.mxml
> > > 
> > > 
> > > http://www.adobe.com/2006/mxml";  
> > > xmlns="../*"  >
> > > 
> > > 
> > > 
> > > 
> > > 
> > >dataProvider="{authorsDataProvider}" 
> > > width="100%" height="100%" sortableColumns="false"   >
> > > 
> > >   
> > >  > > dataField="Country" />
> > >  > > dataField="Gold"/>
> > >  > > dataField="Status" headerRenderer="testCombo"/>
> > >  > > dataField="URL"/>
> > >   
> > > 
> > >   
> > > 
> > > 
> > > 
> > > 
> > > 
> > > testCombo.mxml

Re: [flexcoders] Semi-noobie architectural style question

2007-02-07 Thread Ralf Bokelberg

You could store it as a member of your Application.
Then you are able to access it by parentApplication.controller

Cheers,
Ralf.

On 2/7/07, rumpleminzeflickr <[EMAIL PROTECTED]> wrote:


  Hi there,

I have a main app, with a lot of sub custom components.

I've created a singleton class that i'm using as a controller.

what I want to know is, do I have to define access to that singleton
class in every custom component, or is there some way to 'pass' the
instance of it down the line and make it available to all.

Sorry if this is a dumb question, I tried searching without an answer
so far :(

Brett

 





--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35


[flexcoders] Re: Tutorial zoom in a linechart

2007-02-07 Thread g_odds
Everywhere seems to use the slicing the data set style approach.  Why
would one not set the minimum and maximum of an axis to do this?

Graham


--- In flexcoders@yahoogroups.com, "Brendan Meutzner" <[EMAIL PROTECTED]>
wrote:
>
> As Mikhail pointed out, if by "zoom" you mean changing the range
shown along
> the horizontal axis, this example should help.  Just right click to
view the
> source:
> 
> http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html
> 
> Brendan
> 
> 
> On 2/7/07, Mikhail Shevchuk <[EMAIL PROTECTED]> wrote:
> >
> >   I suppose that it is not difficult to implement. During zooming,
just
> > store smaller (zoomed area, relatively to the whole chart) array
collection
> > and change a dataprovider for the component.
> >
> > 2007/2/7, bcncgn3 <[EMAIL PROTECTED]>:
> > >
> > >   I have linechart and i want that the user can zoom in in the
> > > horizontal
> > > axis selecting an area on the chart? Someone knows a tutorial which
> > > explains how to program this?
> > >
> > >
> >
> >
> > --
> > A vivid and creative mind characterizes you.
> >
> >  
> >
> 
> 
> 
> -- 
> Brendan Meutzner
> Stretch Media - RIA Adobe Flex Development
> [EMAIL PROTECTED]
> http://www.stretchmedia.ca
>




Re: [flexcoders] Re: Tutorial zoom in a linechart

2007-02-07 Thread Brendan Meutzner

I would guess that performance on rendering the chart would be faster
passing it a smaller dataset to work with... setting the minimum and maximum
would still require that the chart filter out non-visible data... just a
guess though...

Brendan


On 2/7/07, g_odds <[EMAIL PROTECTED]> wrote:


  Everywhere seems to use the slicing the data set style approach. Why
would one not set the minimum and maximum of an axis to do this?

Graham

--- In flexcoders@yahoogroups.com , "Brendan
Meutzner" <[EMAIL PROTECTED]>
wrote:
>
> As Mikhail pointed out, if by "zoom" you mean changing the range
shown along
> the horizontal axis, this example should help. Just right click to
view the
> source:
>
> http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html
>
> Brendan
>
>
> On 2/7/07, Mikhail Shevchuk <[EMAIL PROTECTED]> wrote:
> >
> > I suppose that it is not difficult to implement. During zooming,
just
> > store smaller (zoomed area, relatively to the whole chart) array
collection
> > and change a dataprovider for the component.
> >
> > 2007/2/7, bcncgn3 <[EMAIL PROTECTED]>:
> > >
> > > I have linechart and i want that the user can zoom in in the
> > > horizontal
> > > axis selecting an area on the chart? Someone knows a tutorial which
> > > explains how to program this?
> > >
> > >
> >
> >
> > --
> > A vivid and creative mind characterizes you.
> >
> >
> >
>
>
>
> --
> Brendan Meutzner
> Stretch Media - RIA Adobe Flex Development
> [EMAIL PROTECTED]
> http://www.stretchmedia.ca
>

 





--
Brendan Meutzner
Stretch Media - RIA Adobe Flex Development
[EMAIL PROTECTED]
http://www.stretchmedia.ca


Re: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Paul Andrews
- Original Message - 
From: "David_Stafford" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, February 07, 2007 2:12 AM
Subject: [flexcoders] Returning 'this' from an overridden method?


> Please pardon this simple-minded question from an AS3 novice.
>
> My base class often returns 'this' from methods which makes it
> convenient to write code like:
>
>   camera.move( 10, 12 ).rotateX( 45 ).rotateY( 90 );
>
> The problem comes when code extends the base class and overrides one
> of these functions.  The compiler insists, correctly, that the return
> type of an overriding function must match the one in the base class.
> What I want to do is return the 'this' object that is of the type of
> the derived class.  Is this possible?
>
> The following is a contrived example to demonstrate.  It won't
> compile because the overridden function in the derived class wants to
> return a type of MyCamera rather than Camera:

This is the correct behaviour. The derived class is MyCamera and any
reference to this, either in the derived class or it's parent will be
working with an object of class MyCamera not Camera.

Make the return type Camera, then it will work. You will be returning an
object reference of class Camera, but in fact it is an object reference to
an object of class MyCamera. You can then cast it elsewhere as a 'MyCamera'
in the application.

The problem is that you are trying to change the signature of the method
that you are overriding.

Paul

> public class Camera
>   {
>   var x:int = 0;
>   var y:int = 0;
>
>   public function move( x:int, y:int ) :Camera
> {
> this.x += x;
> this.y += y;
>
> return( this );
> }
>   }
>
> public class MyCamera extends Camera
>   {
>   override public function move( x:int, y:int ) :MyCamera
> {
> super.move( x, y );
>
> if( x < 0 )  x = 0;
> if( y < 0 )  y = 0;
>
> return( this );
> }
>   }
>
>
>
>
>
> --
> 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
>
>
>
>




Re: [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue - still waiting

2007-02-07 Thread Tom Chiverton
On Tuesday 06 Feb 2007, Paul Andrews wrote:
> I saw rather a neat powerbook the other day and the idea of using a
> powerbook appealed until I realised I wouldn't be able to have flex on my
> main PC and on a Mac Powerbook with the same licence. 

There's always Parllel / VMWare to run Windows on your Mac.

-- 
Tom Chiverton
Helping to competently pursue leading-edge ROI



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.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] Open web-service in Flex application

2007-02-07 Thread Tom Chiverton
On Monday 05 Feb 2007, umumpaul wrote:
> Can I have a Flex Application which contain several methods with can
> open as web-service and let other to call the service to change the
> state of Flex application?

Are you asking if a Flex app can act as a web service server ? If so, no.

> If no, can I control Flex Application (app A) from another Flex
> Application (app B) (with authority), which app B loads app A as Loader?

Yes.

-- 
Tom Chiverton
Helping to preemptively establish dot-com metrics



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.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/
 


[flexcoders] Re: Tutorial zoom in a linechart

2007-02-07 Thread g_odds
That seems like a reasonable answer, yeah.  I'm doing it using the
min-max setting and it seems to work fine with big datasets. 
Admittedly it all starts to get a bit slow when there are 3 or more
series (each has thousands of data points) but it has other
side-effects that are desirable in my application.

I'll post a link to it when my boss lets me.


Graham


--- In flexcoders@yahoogroups.com, "Brendan Meutzner" <[EMAIL PROTECTED]>
wrote:
>
> I would guess that performance on rendering the chart would be faster
> passing it a smaller dataset to work with... setting the minimum and
maximum
> would still require that the chart filter out non-visible data... just a
> guess though...
> 
> Brendan
> 
> 
> On 2/7/07, g_odds <[EMAIL PROTECTED]> wrote:
> >
> >   Everywhere seems to use the slicing the data set style approach. Why
> > would one not set the minimum and maximum of an axis to do this?
> >
> > Graham
> >
> > --- In flexcoders@yahoogroups.com ,
"Brendan
> > Meutzner" 
> > wrote:
> > >
> > > As Mikhail pointed out, if by "zoom" you mean changing the range
> > shown along
> > > the horizontal axis, this example should help. Just right click to
> > view the
> > > source:
> > >
> > >
http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html
> > >
> > > Brendan
> > >
> > >
> > > On 2/7/07, Mikhail Shevchuk  wrote:
> > > >
> > > > I suppose that it is not difficult to implement. During zooming,
> > just
> > > > store smaller (zoomed area, relatively to the whole chart) array
> > collection
> > > > and change a dataprovider for the component.
> > > >
> > > > 2007/2/7, bcncgn3 :
> > > > >
> > > > > I have linechart and i want that the user can zoom in in the
> > > > > horizontal
> > > > > axis selecting an area on the chart? Someone knows a
tutorial which
> > > > > explains how to program this?
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > A vivid and creative mind characterizes you.
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Brendan Meutzner
> > > Stretch Media - RIA Adobe Flex Development
> > > brendan.meutzner@
> > > http://www.stretchmedia.ca
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> Brendan Meutzner
> Stretch Media - RIA Adobe Flex Development
> [EMAIL PROTECTED]
> http://www.stretchmedia.ca
>




Re: [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue - still waiting

2007-02-07 Thread Paul Andrews
- Original Message - 
From: "Tom Chiverton" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, February 07, 2007 9:37 AM
Subject: Re: [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex 
Builder 2.01 License Issue - still waiting


> On Tuesday 06 Feb 2007, Paul Andrews wrote:
>> I saw rather a neat powerbook the other day and the idea of using a
>> powerbook appealed until I realised I wouldn't be able to have flex on my
>> main PC and on a Mac Powerbook with the same licence.
>
> There's always Parllel / VMWare to run Windows on your Mac.

LOL - shows what I know about Macs..  ;-)

>
> -- 
> Tom Chiverton
> Helping to competently pursue leading-edge ROI
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England 
> and Wales under registered number OC307980 whose registered office address 
> is at St James's Court Brown Street Manchester M2 2JF.  A list of members 
> is available for inspection at the registered office. Any reference to a 
> partner in relation to Halliwells LLP means a member of Halliwells LLP. 
> Regulated by the Law Society.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and 
> may be confidential or legally privileged.  If you are not the addressee 
> you must not read it and must not use any information contained in nor 
> copy it nor inform any person other than Halliwells LLP or the addressee 
> of its existence or contents.  If you have received this email in error 
> please delete it and notify Halliwells LLP IT Department on 0870 365 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
> 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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: Open web-service in Flex application

2007-02-07 Thread umumpaul
Thanks for the answer.

to my 2nd question, if it is possible can u name some related library
name or method name?

--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:

>
> On Monday 05 Feb 2007, umumpaul wrote:
> > Can I have a Flex Application which contain several methods with can
> > open as web-service and let other to call the service to change the
> > state of Flex application?
> 
> Are you asking if a Flex app can act as a web service server ? If
so, no.
> 
> > If no, can I control Flex Application (app A) from another Flex
> > Application (app B) (with authority), which app B loads app A as
Loader?
> 
> Yes.
> 
> -- 
> Tom Chiverton
> Helping to preemptively establish dot-com metrics
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




[flexcoders] Re: RIADEV-FLEXCHINAGROUP

2007-02-07 Thread Tim Hoff
Hello Ju,

I'm a developer in America.  As a semi-regular 
subscriber/contributer to this list, I greatly appreciate hearing 
about life and Flex experiences from everyone on this planet.  It 
warms my heart, that perhaps Flex could be a small building block to 
help us all realize our similarities and respect our differences.  I 
wish you all of the best success with your Flex group in China, and 
sincerely hope that you continue to be a participant here.  You're 
more than welcome.

Respectfully.
Tim Hoff--- In flexcoders@yahoogroups.com, "Ju Aedis" <[EMAIL PROTECTED]> 
wrote:
>
> hi,everyone
> 
> I guess that the flexcoders have so many Chinese or foreign 
citizen of
> Chinese origin.
> In China, Flex spread so fast. We also looking forward to the 
arrival of
> APOLLO. Compare with overseas, our experience and skills 
shortages. U konw
> that, so many people in China was pleased to communication with 
Chinese,
> beacause of directness. The D.CAT(Jeremy) 
 help
> us in China to compelte out dream, So,
> RIADEVwas founded, just like
> flexcoders but in Chinese!
> 
> If u can read Chinese, join it!
> If u can help us, join it!
> 
> Thanks a lot.
> Aedis.Ju
> 
> ps:Because of that Chinese Fonts in YahooGroup sometimes 
distortion,  We
> adviced RIADEV founded in GoogleGroup.
> 
> 
> 
> -- 
> Aedis.Ju --
http://aedisju.blogspot.com/
>




[flexcoders] Re: More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue -

2007-02-07 Thread barry.beattie
 
> I think that Adobe should seriously consider revising their
licensing to work on multiple platforms.

one would think so, yes, especially since what we're talking about is
just a plug-in to a cross-platform (and free) IDE.

> There are plenty of people that own Mac laptops and Windows desktops and
> would love to have the chance to run Flex Builder on both without
having to
> resort to solutions like Parallels or Boot Camp.

not much flamin' good if the Mac is a PPC G4! 

 
> At any rate, these guys at Adobe have been very helpful in getting
to the
> bottom of our issue. 

can I ask if there is a resolution? it looks like I'm just about to
end up in this situation. 

thanx







Re: [flexcoders] Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread Adam Royle
Hi Mark,

Although I have no experience with this process, the following came to my mind 
when pondering the same issue as yours.

My plan was to keep a history table which tracks all of the updates and 
additions to data (would be simply recording row ids - not the entire row), and 
records a timestamp of when it was changed. This functionality would be coded 
into the server-side code. You would also need a sessions table to track a 
"last synced" timestamp for each user, which would be updated with the current 
timestamp on each sync of the data.

Every 60 seconds or so you would poll the server and it would return all of the 
rows that were either changed, added or deleted since the "last synced" 
timestamp. Once that data is delivered back to flex, simply loop through the 
data on the client side and replace the rows where the id's match, add a row if 
it's new, and delete the row if it's deleted.

You'd probably also want a cron cleaning up the history table periodically, 
depending on how many users there are and how frequently data is updated.

>From my perspective, this would be a pretty fast operation all up. You could 
>even optimise the SQL query so that it joins the history table id's to the 
>data table. As long as all steps go smoothly, the data should always be 
>current (within 60 sec window of course). The only real hurdle I see is that 
>your app needs to know which id's are updated. This might not be a problem if 
>you update and delete items based on id's, but if you do something like 
>[delete from mydata where name = 'fred'], you will need to know the id's 
>before deleting them.

I hope that gives an insight to how I would tackle the problem. Any others want 
to give feedback on this method?

Cheers,
Adam


  - Original Message ----- 
  From: oneproofdk 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, February 07, 2007 6:41 PM
  Subject: [flexcoders] Poor man's PUSH technology (aka reload data using timer)


  I am building a internal app for my company, where we would eventually
  pursue FDS for it's push capabilities - updating the users view when
  backend data changes.

  Until then, I'm thinking about making a function that will get
  triggered by a timer, e.g. every 60 seconds, it should retrieve data
  from the server and then compare it to the data currently displayed in
  the app [Binded]. Then if data has changed, it should update the
  specific data in the ArrayCollection.

  Any pointers to how I could accomplish this ?

  Im thinking a function "dataTimer" that would call a function
  "getData", that function would then compare each row in the dataset to
  the data currently "in memory" in the app. If there's a difference, it
  would update the data OR completely replace the currently used
  dataset. (only I guess that would make the app flicker?)

  Any help is greatly appreciated.

  Thanks,
  Mark



   

[flexcoders] Re: FDS DataService.commit() doesn't trigger responder result()...?

2007-02-07 Thread simonjpalmer
Thanks Jeff, you're a star.  I'll have a go at this.  

For debugging I have been looking at the Eclipse wtp all-in-one
package which claims to be the dev environment for App Server code.  I
just downloaded it from Eclipse and was planning on rebuilding today.
 If I turn anything useful up I'll let you know.

IOU  :-)

SP

--- In flexcoders@yahoogroups.com, "Jeff Vroom" <[EMAIL PROTECTED]> wrote:
>
> I personally attach to the server after it is started.  It is a pain to
> specify all of the jar files and keep that up to date in my case since
> the jars change a lot (though I have gotten that to work too...).  
> 
>  
> 
> Unfortunately the exact way is dependent on the app server and I am
> still using jrun (yeah, been meaning to switch for a while!)
> 
>  
> 
> For Jrun, I add this to the standard java command line args it uses:
> 
>  
> 
>   -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=2005
> 
>  
> 
> Then my eclipse debug target is created from the "Remote Java
> Application" configuration.  I specify localhost and 2005 for server and
> port.
> 
>  
> 
> Debug logging on the server is in WEB-INF/flex/services-config.xml.
> Search for level=, change that to Debug.  Make sure that "Message.*" and
> DataService.* are in the patterns.  I personally don't like the
> "Endpoint.*" unless I'm debugging serialization problems since it is
> pretty verbose and duplicates a lot of the Message.* stuff.
> 
>  
> 
> On the client, you can use the  in your MXML.  It goes
> to flashlog.txt - same place as the "trace" statement output.
> 
>  
> 
> Jeff
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of simonjpalmer
> Sent: Monday, February 05, 2007 4:53 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FDS DataService.commit() doesn't trigger
> responder result()...?
> 
>  
> 
> No answer unfortunately, but I do have two questions...
> 
> 1) how do you manage to debug your server side jave code? I am
> running under JBoss and using Eclipse as my IDE for both Java and
> FlexBuilder and I can't figure out how to set breakpoints in my Java
> code or attach a debugger to the server.
> 
> 2) how do you switch on the FDS logging?
> 
> not the response you were hoping for I am sure, but you would be
> helping a fella out :-)
> 
> SP
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "parkerwhirlow" 
> wrote:
> >
> > Hi again,
> > 
> > I've got a simple save case working as far as I can tell (from
> > debugging the server java side, everything is OK after leaving the
> > HibernateAssembler.java updateItem() method.
> > 
> > But the result never gets back to the client... I have a responder
> > registered to the call like so:
> > 
> > call = service.commit();
> > call.action = "save";
> > call.addResponder(responder);
> > 
> > And my responder has both fault and result methods. I know the
> > responder is registered because I was getting faults for a long time,
> > and those were firing the fault handler. But now that I think I have
> > the save going successfully, I'm not getting anything back.
> > 
> > I've turned on FDS logging for messages, see the trace below. Seems
> > like the "ACK" message is being sent... 
> > 
> > Any ideas?
> > 
> > thanks,
> > PW
> > 
> > 
> > 02/05 11:01:36 user [Flex] 11:01:36.794 [DEBUG]
> > [Message.Data.transacted] After invoke service: data-service
> > reply: Flex Message (flex.messaging.messages.AcknowledgeMessage)
> > clientId = null
> > correlationId = null
> > destination = null
> > messageId = 7793A2C0-FA0D-5A78-3641-BB1BA4B4ADB5
> > timestamp = 1170702096794
> > timeToLive = 0
> > body =
> > [
> > 
> > ]
> > 
> > 02/05 11:01:36 user [Flex] 11:01:36.794 [DEBUG] [Endpoint.RTMP]
> > Serializing AMF/RTMP response
> > Version: 3
> > (Command method=_result (0) trxId=20)
> > (Typed Object #0 'flex.messaging.messages.AcknowledgeMessage')
> > destination = null
> > headers = (Object #1)
> > correlationId = "322C326C-9C96-8513-7EC3-934715E5D887"
> > messageId = "7793A2C0-FA0D-5A78-3641-BB1BA4B4ADB5"
> > timestamp = 1.170702096794E12
> > clientId = "77909013-D108-A13B-EC7E-EDBFA5C3A894"
> > timeToLive = 0.0
> > body = (Array #2)
> >
>




[flexcoders] Re: Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread oneproofdk
Hi Adam.

Thanks for your reply - I like your idea about keeping the "pushed"
data to a minimum. My original idea was to get the entire dataset and
then loop through it and compare - your idea is way better.

I'm really in need of some examples of a timer function, and perhaps
some code to make the comparing of data. Anyone that can help me out
there ?

Thanks again,
Mark

--- In flexcoders@yahoogroups.com, "Adam Royle" <[EMAIL PROTECTED]> wrote:
>
> Hi Mark,
[snip]



Re: [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue - still waiting

2007-02-07 Thread Shannon Hicks
And you can't run the same license of Flex Builder on two windows 
computers, either... One license per computer, what does it matter that 
one's a PC and the other's a Mac?


Shan

Paul Andrews wrote:


I saw rather a neat powerbook the other day and the idea of using a 
powerbook appealed until I realised I wouldn't be able to have flex on 
my main PC and on a Mac Powerbook with the same licence. Stick with 
the Dell then..


- Original Message -
*From:* Shannon Hicks <mailto:[EMAIL PROTECTED]>
*To:* flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com>
    *Sent:* Monday, February 05, 2007 3:36 PM
*Subject:* Re: [flexcoders] More Mac licensing issues: [WAS:: Max
OS X Flex Builder 2.01 License Issue - still waiting

I'm planning on switching to a Mac in a few months... Maybe I
should start the process for switching my Flex license now, so I
have it in time :)

Shan

Xavi Beumala wrote:


I'm having the same problems here! It's incredible but I've been
trying to transfer my win license to mac for the last 3 weeks,
and today my trial has finally expired! I won't get my license in
less than a week so... this means I can't work!

really bad
X.

On 2/3/07, *Matt Chotin* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:

I'll look into it.

 


Matt

Flex PM

 




*From:* flexcoders@yahoogroups.com
<mailto:flexcoders@yahoogroups.com> [mailto:
flexcoders@yahoogroups.com
<mailto:flexcoders@yahoogroups.com>] *On Behalf Of *Chris Allen
*Sent:* Friday, February 02, 2007 12:46 PM
*To:* flexcoders@yahoogroups.com
<mailto:flexcoders@yahoogroups.com>
*Cc:* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>;
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
*Subject:* [flexcoders] More Mac licensing issues: [WAS:: Max
OS X Flex Builder 2.01 License Issue - still waiting

 


To anyone at Adobe who's listening:

I'm working on a Flex2 project for Scholastic
http://scholastic.com <http://scholastic.com> and we are
running into a wall in terms of getting our Flex Builder
licenses transfered to the Macintosh platform. We purposely
bought Windows versions knowing that it "wouldn't be a
problem" to transfer the license when the Mac version became
available.

This licensing situation that we and others have experienced
is completely unacceptable. John Dowdel, do you think that
you can help us out a bit, or escalate the issue, as you did
for others experiencing these problems? Or maybe Ted Patrick,
you could let others there know that this is a major issue
for people, and it should be addressed.

Here are the issues that we are currently facing:

1. In order to transfer the license you have to be the
authorized purchaser of the software and Adobe won't accept a
request form the actual end user of the license. To make it
worse Adobe won't tell us who that person is. At a rather
large organization (10,000 + employees) like Scholastic,
finding this "authorized person" is really difficult to do.
2. Even if we do find the person above, we are told that the
process will take five days from the approved request before
Adobe will issue the Mac license number.
3. Currently there's no way for us to extend the trial
version until this is worked out. We either have to install
the trial on another computer or just wait it out.

It's a pitty that such a great piece of software has so many
barriers and red tape to actually use it.

Thanks very much for you attention to this issue.

-Chris

On 2/1/07, *Brendan Meutzner* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:

Hi,

Transferring licenses doesn't seem to be the only issue. 
We've been using a trial Mac version which just expired and I

put through the order for a Mac license online last night
thinking we'd have a valid key within a few minutes (like we
did for the PC version last summer)...  Not quite... it
immediately showed as pending last night, and remained that
way this morning.  So after 30 minutes on hold with customer
support this morning, I'm told that the more "expensive"
transactions are processed manually and that somebody would
be reviewing the details within the next 2-3 days.  WTF? 
Since when is a $499 FlexBuil

RE: [flexcoders] Text Character Spacing

2007-02-07 Thread Jack Caldwell
Peter:
 
Sometimes things are right in front of you or should I say me.
 
Thanks,
 
Jack
 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Baird
Sent: Tuesday, February 06, 2007 4:26 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Text Character Spacing



Yes. As of Flex 2.0.1, letterSpacing is a style for most components.

For example:



-p

On 2/6/07 11:15 AM, "jwc_wensan" <[EMAIL PROTECTED]
<mailto:jwcaldwell%40zingit.com> com> wrote:

> 
> Is there a way to change the character spacing of text? Without
> extending the component or custom fonts?
> 
> In other words, either expanding or reducing the space between each
> text character.
> 
> Thanks,
> 
> Jack
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.
<http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>
yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-
<http://www.mail-archive.com/flexcoders%40yahoogroups.com>
archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 



 


RE: [flexcoders] detect XML node on click in Tree

2007-02-07 Thread Cashorali, Tanya M.
Thank you!

 

Worked like a charm.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Tracy Spratt
Sent: Tuesday, February 06, 2007 1:57 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] detect XML node on click in Tree

 

selectedItem gives you a reference to the node.

 

Probably what you are seeing is because the event is just an Object containing
the xml, so some propeties are not visible.  Cast/convert the result into an xml
object:

var oItem:Object = event.currentTarget.selectedItem;

var xmlItem:XML = XML(oItem)

 

xmlItem will be the node.

 

Tracy



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of TCash21
Sent: Tuesday, February 06, 2007 12:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] detect XML node on click in Tree

 

I have a Tree that's populated based on e4x XML, which is generated by
PHP from querying the backend. I have a structure like this:










I'd like to be able to double click on an item in the Tree and change
to the necessary viewStack page, which will allow the user to edit the
info. The viewStack page will depend on whether the user clicked on a
project or experiment. 

So far I've tried using onChange(event),
event.currentTarget.selectedItem, which only gives me certain
attributes. I just want to be able to somehow know which XML node
 or  was clicked so I can open the right window.

I've been reading about ItemRenderers, will I need to use one?
I'm familiar with eventListeners but I'm still unsure about how to get
the appropriate XML node based on a click.

Thanks for any help.

 





THE INFORMATION TRANSMITTED IN THIS ELECTRONIC COMMUNICATION IS INTENDED ONLY 
FOR THE PERSON OR ENTITY TO WHOM IT IS ADDRESSED AND MAY CONTAIN CONFIDENTIAL 
AND/OR PRIVILEGED MATERIAL.  ANY REVIEW, RETRANSMISSION, DISSEMINATION OR OTHER 
USE OF OR TAKING OF ANY ACTION IN RELIANCE UPON, THIS INFORMATION BY PERSONS OR 
ENTITIES OTHER THAN THE INTENDED RECIPIENT IS PROHIBITED.  IF YOU RECEIVED THIS 
INFORMATION IN ERROR, PLEASE CONTACT THE SENDER AND THE PRIVACY OFFICER, AND 
PROPERLY DISPOSE OF THIS INFORMATION.




[flexcoders] help with scrollTipFunction on List

2007-02-07 Thread Mark
on this board I found someone that created the scrollTipFunction like 
this:

public function myLabelFunc(dir:String, pos:Number):String {
   this.selectedIndex = pos + 7;
   return this.selectedItem.data;
}

It works but at the same time it's selecting that index.  Is there 
another way to show the scroll tip without selecting an item?

Thanks



[flexcoders] is there a way to run Applet in Flash

2007-02-07 Thread huangnankun
As the subject implies.. I'm trying to find a way to embed a java
applet within a flex application. 

I know that java can take over a rectangular area within a HTML page,
but is there a way to have embed an applet within flash?



RE: [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue - still waiting

2007-02-07 Thread Matt Chotin
approved request before Adobe
will issue the Mac license number.
3. Currently there's no way for us to extend the trial
version until this is worked out. We either have to install the trial on
another computer or just wait it out. 

It's a pitty that such a great piece of software has so
many barriers and red tape to actually use it.

Thanks very much for you attention to this issue.

-Chris

On 2/1/07, Brendan Meutzner < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

Hi,

Transferring licenses doesn't seem to be the only issue.
We've been using a trial Mac version which just expired and I put
through the order for a Mac license online last night thinking we'd have
a valid key within a few minutes (like we did for the PC version last
summer)...  Not quite... it immediately showed as pending last night,
and remained that way this morning.  So after 30 minutes on hold with
customer support this morning, I'm told that the more "expensive"
transactions are processed manually and that somebody would be reviewing
the details within the next 2-3 days.  WTF?  Since when is a $499
FlexBuilder license expensive, and even so, why do they need to process
manually?  Really really not happy this morning... especially because
it's pretty much impossible to find a "temporary" key for the Mac
version (I didn't just say that though)... 
    
It's too bad that the fantastic relationship we have
with the Adobe engineers can't spread over to the CS department a bit...


Brendan

 

On 1/25/07, Tom Chiverton <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

On Wednesday 24 January 2007 19:53, John Dowdell wrote:
> What you and Ethan describe doesn't seem acceptable to
me either, but
> let me get some more information on this, and get back
to the list when
> I do, good?

Sounds great.
Could you also try and find out if there are plans to
just automate the whole
process ?
It strikes me that converting license betwen platforms
shouldn't really
require a human in the loop, if it's only done once. 

--
Tom Chiverton
Helping to advantageously aggregate prospective
experiences



    This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership
registered in England and Wales under registered number OC307980 whose
registered office address is at St James's Court Brown Street Manchester
M2 2JF.  A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means a
member of Halliwells LLP. Regulated by the Law Society. 

CONFIDENTIALITY

This email is intended only for the use of the addressee
named above and may be confidential or legally privileged.  If you are
not the addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells LLP
or the addressee of its existence or contents.  If you have received
this email in error please delete it and notify Halliwells LLP IT
Department on 0870 365 8008. 

For more information about Halliwells LLP visit
www.halliwells.com <http://www.halliwells.com> .



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


(Yahoo! ID required)

mailto: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 







-- 
Brendan Meutzner
Stretch Media - RIA Adobe Flex Development
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
http://www.stretchmedia.ca <http://www.stretchmedia.ca>


 

 





 

 



[flexcoders] Tree XMLListCollection woes

2007-02-07 Thread durnelln
Hi all,

I am trying to dynamically build and display a sorted tree, i.e. 
create branches/leaves purely in actionscript.  I *thought* that 
using XML would make this easy due to its hierarchical nature and 
Flex's e4x extensions (which should allow me to easily locate nodes 
in the tree etc without having to code a load of recursion).  An 
example of the kind of structure I am trying to build looks something 
like this:












I am using an XMLListCollection as my tree data provider as this 
provides the sorting capabilities I need to retain the sort order as 
I add new nodes.  As new group objects come in the plan is to turn 
them into XML and add them to the tree in the appropriate location 
(based on their parent attribute).  The groups may come in in any 
order so I make use of the sort ability of the XMLListCollection.

After going round in circles for a couple of days trying to get it to 
work, I found the following article on Peter Ent's blog:

http://weblogs.macromedia.com/pent/archives/2006/10/tree_control_da.cf
m

This has proven invaluable (thanks Peter!).  However I am still 
having problems.  In Peter's example he adds top-level nodes via the 
XMLListCollection's addItem method but child nodes via the 
appendChild method of the underlying XML/XMLList object.  Now, while 
this allows me to build a tree, the child nodes added directly to the 
XML are not sorted according to the XMLListCollection's sort order - 
only the top-level nodes are sorted.

Does anyone know how I can build this tree whilst maintaining the 
sort order?  I do not want to hard-code any particular sort function 
as I want the sort field and direction etc. to remain configurable.

Alternatively, is there any way to add child nodes directly through 
the XMLListCollection object?  It surprises me that a collection 
designed for hierarchical XML data doesn't seem to support this (or 
e4x for that matter).  Why should it be necessary to access the 
underlying XML data directly to add child nodes (causing the sort 
order to break)?

Somebody please help - this is driving me nuts!

Nick.




RE: [flexcoders] Text Character Spacing

2007-02-07 Thread Jack Caldwell
Peter:
 
Sometimes things are right in front of you or should I say me.
 
Thanks,
 
Jack
 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Baird
Sent: Tuesday, February 06, 2007 4:26 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Text Character Spacing



Yes. As of Flex 2.0.1, letterSpacing is a style for most components.

For example:



-p

On 2/6/07 11:15 AM, "jwc_wensan" <[EMAIL PROTECTED]
<mailto:jwcaldwell%40zingit.com> com> wrote:

> 
> Is there a way to change the character spacing of text? Without
> extending the component or custom fonts?
> 
> In other words, either expanding or reducing the space between each
> text character.
> 
> Thanks,
> 
> Jack
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.
<http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>
yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-
<http://www.mail-archive.com/flexcoders%40yahoogroups.com>
archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 



 


RE: [flexcoders] Intellectual property or licensing of posted/blogged work

2007-02-07 Thread Matt Chotin
I believe most of Ely's examples he includes a license or says on his
blog that it's Creative Commons.

 

I don't know what the law states, but I believe most people when posting
will specify rules if they especially don't want you to incorporate.
Full-blown components should include a license, and if not I'd recommend
mailing an author before including their code to confirm that your use
is allowed.  If there is no license included I can't imagine you'd get
in trouble for reading the code in the meantime, but check with your
legal reps to be sure.

 

Matt (with only limited knowledge of this stuff based on all the back
and forth I have to do with legal on our own licenses)

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeffry Houser
Sent: Tuesday, February 06, 2007 1:14 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Intellectual property or licensing of
posted/blogged work

 


 I didn't think of that.  It is completely contradictory to what I said,
but you might be right.  I suppose it depends what is going on. 

At 03:52 PM 2/6/2007, you wrote:

That's an awesome topic and I'd love to hear more about it. 

My current understanding is that any published work comes under
copyright protection, and that would necessitate permission from the
author before incorporation into a commercial work, if there is no
explicit licensing info provided. 

-Scott

On 2/6/07, engkee <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> wrote:

I have to commend you all for posting a lot of wonderful
components 

and extensions to Flex... eg. Ely's calendar, Doug and Jason's
tab 

navigator extensions, Ben and Trey's reflection effect, Alex's 

distortion effect, just to name a few.

Unfortunately, in these day and age, I would have to ask... am I


allowed to incorporate those wonderful works in commercial
products?

Am I even allowed to look at the source code, if I work for a
company 

producing commercial software, without violating some IP issues.

Most of them are not explicitly associated with any specific 

licensing terms.

Sure would be nice if there could be some standard practice of 

associating these works with a common license, eg. the Creative 

Commons ( http://creativecommons.org/licenses/by/2.5/
<http://creativecommons.org/licenses/by/2.5/> )

Maybe there already is some presumed license or disclaimer 

for "published" works. If so, please send a pointer.

Just a thought.

-Engkee




-- 

: : ) Scott 

--
Jeffry Houser, Software Developer, Writer, Songwriter, Recording
Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: < http://www.dot-com-it.com <http://www.dot-com-it.com/> > 
My Podcast: < http://www.theflexshow.com <http://www.theflexshow.com/> >
My Blog: < http://www.jeffryhouser.com <http://www.jeffryhouser.com/> > 
Connecticut Macromedia User Group: < http://www.ctmug.com
<http://www.ctmug.com/> >

 



Re: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread shaun
Hi David,

I to am an AS3 novice. Wrote my first(trivial) action script file about 
an hour ago. :)

A couple of ideas. Not sure if they will be of much help to you, but 
incase you hadnt considered them already..

. you could return the value returned by the call to super.
   ie)
   Camera c = super.move;
   //// some local x,y stuff
   return c;

. you could use an interface as the return value. eg) interface ICamera 
would define the move and rotate methods and return an ICamera and your 
Camera classes would implement ICamera.

I realise that these options do not do what you asked for, but you might 
find one of these is an acceptable alternative.

HTH.

cheers,
  - shaun

David_Stafford wrote:
> Please pardon this simple-minded question from an AS3 novice.
> 
> My base class often returns 'this' from methods which makes it 
> convenient to write code like:
> 
>   camera.move( 10, 12 ).rotateX( 45 ).rotateY( 90 );
> 
> The problem comes when code extends the base class and overrides one 
> of these functions.  The compiler insists, correctly, that the return 
> type of an overriding function must match the one in the base class.  
> What I want to do is return the 'this' object that is of the type of 
> the derived class.  Is this possible?
> 
> The following is a contrived example to demonstrate.  It won't 
> compile because the overridden function in the derived class wants to 
> return a type of MyCamera rather than Camera:
> 
> 
> public class Camera
>   {
>   var x:int = 0;
>   var y:int = 0;
> 
>   public function move( x:int, y:int ) :Camera
> {
> this.x += x;
> this.y += y;
> 
> return( this );
> }  
>   }
> 
> public class MyCamera extends Camera
>   {
>   override public function move( x:int, y:int ) :MyCamera
> {
> super.move( x, y ); 
> 
> if( x < 0 )  x = 0;
> if( y < 0 )  y = 0;
> 
> return( this );
> } 
>   }




[flexcoders] Re: Filters with DataGrid - Excel

2007-02-07 Thread ben.clinkinbeard
Regarding #2, this should help:
http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/

Most of your other questions should be pretty simple to find in the
documentation for DataGrid and DataGridColumn.

HTH,
Ben


--- In flexcoders@yahoogroups.com, "sanjaypmg" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I have started this functionality and even I got success but upto an 
> extent and now I am stucked.
> 
> I have rendered the header and placed a comboBox using 
> testCombo.mxml. Here I have a few queries like:
> 
> 1. How can I get rendered header's column Index so that I can the 
> unique value of that purticular column n populate that combo box?
> 
> 2. Currently, when I change the combo item, it filters my 
> arrayCollection and show the data accordingly but it doesnt keep 
> selected the selected Item. Suggest something to rectify.
> 
> 3. How Can I Hide/Show a Column of a dataGrid? or How Can I 
> Add/Delete a Column of a DataGrid?
> 
> 4. How Can I get/set the column Index or Label on which Sorting is 
> implemented?
> 
> 5. How can I get/set width of each column of a dataGrid?
> 
> I have some questions also in my mind... but that'll for next 
> time .. ;)
> 
> I have also pasted the code below.
> 
> Please help me to resolve these issues..
> 
> Thanks in advance...
> Sanjay Sharma
> 
> Code:: MainGrid.mxml :::
> 
> 
> http://www.adobe.com/2006/mxml"; 
> layout="absolute" initialize="doInit()"   >
> 
>   
> 
> 
>dataProvider="{authorsDataProvider}" width="100%" height="100%" 
> sortableColumns="false"   >
> 
>   
>  resizable="false"  dataField="Selection" width="80" />
>  dataField="Country"   />
>  dataField="Status" headerRenderer="testCombo"/>
>  dataField="Gold" />
>  
> 
>   
> 
> 
> 
> 
> :: testCombo.mxml ::
> 
> 
> http://www.adobe.com/2006/mxml"; 
> preinitialize="init()">  
> 
>   
> 
>  dataProvider="{statusArray}"   change="changeCombo()" /> 
>text="{cboAuthorsStatusFilter.selectedItem}" /> 
>   
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "sanjaypmg"  wrote:
> >
> > Hi,
> > 
> > I have tried to get column index in my testCombo.mxml by 
> importing " 
> > mx.controls.dataGridClasses.DataGridListData" But I am not able to 
> > get column index or column name.
> > 
> > Could anyone please help me? so that i can complete the task and 
> > populate code for all.
> > 
> > Thanks,
> > Sanjay sharma
> > 
> > --- In flexcoders@yahoogroups.com, "phipzkillah"  wrote:
> > >
> > > Sanjay,
> > > 
> > > Did you have any luck converting the DG Header Filter cell 
> > renderer to
> > > Flex 2.0?  These are the cons that were posted with the code 
> > snippet:
> > > 
> > > CONS
> > > 1) you must maintain the same dataProvider.
> > > 2) sorting is no good. you might want to re-sort after a filter 
> is
> > > done (but providing events and what not are still something I 
> need 
> > to
> > > provide, probable a modelChanged event utilizing the 
> > eventName 'filter'
> > > 
> > > There is still a lot to do for this renderer to make it more 
> > usable,
> > > but I figure I've gotten everyone to a dropping off point it 
> > shouldn't
> > > be too hard. As I progress with this I'll post more to this 
> thread
> > > 
> > > #
> > > 
> > > I'm not sure exactly what you are trying to do.  Do you just 
> simply
> > > want a combo-box that you select a field in the list and have it 
> > sort
> > > the datagrid?  If so I believe you need to use an ArrayList 
> > collection
> > > for your dataprovider.  
> > > 
> > > The link that I gave you earlier seems like it would be the best 
> > for
> > > filtering a datagrid as you would be able to filter on each
> > > field/column by clicking on the header and selecting an item - 
> > which
> > > is exactly what Excel does.
> > > 
> > > If you were able to convert that 

Re: [flexcoders] Re: Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread Adam Royle
This is some code I have written for a similar project... It simply runs 
through the dataProvider searching for a matched id. If it finds the id, then 
it replaces the row, otherwise it adds a new row at the end of the 
dataProvider. Since you want to track add, update and delete, you'll probably 
need to specify another field that is returned with the data, such as 
_row_status (0=new,1=updated,2=deleted), and modify the script likewise.



public var dataProvider:ArrayCollection = new ArrayCollection();

public function onUpdateData(result:Array):void
{
 var i:Number, j:Number, row:Object, item:Object, id:Number, found:Boolean;
 for (i=0;i wrote:
  >
  > Hi Mark,
  [snip]



   

Re: [flexcoders] Semi-noobie architectural style question

2007-02-07 Thread Troy Gilbert

That's usually the point of the singleton pattern, that it provides a global
access point for a variable (as well as enforcing a single instance of a
class). Essentially, singleton hijacks a language's type system to use it to
deliver globals.

Of course, in languages like C++ I kinda consider this on par with using
globals and normally prefer something like a monostate object where many
would use a singleton. But, since ActionScript doesn't actually have global
objects, singleton is pretty useful for attaining that.

Perhaps I've missed the guts of your question, but if you create a class
that follows the singleton pattern, you'd have a "getInstance()" static
method. To access your instance you just need to import your singleton class
wherever you need it and then use MyClass.getInstance() to access the
singleton. You'd have to import the class regardless if you wanted to
*access* the singleton, so I'm not quite sure where the disconnect is in
your question...

Troy.


On 2/6/07, rumpleminzeflickr <[EMAIL PROTECTED]> wrote:


  Hi there,

I have a main app, with a lot of sub custom components.

I've created a singleton class that i'm using as a controller.

what I want to know is, do I have to define access to that singleton
class in every custom component, or is there some way to 'pass' the
instance of it down the line and make it available to all.

Sorry if this is a dumb question, I tried searching without an answer
so far :(

Brett

 



Re: [flexcoders] Re: More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue -

2007-02-07 Thread Troy Gilbert

I'd vote for cross-platform licenses as well, for all of Adobe's products.
I've got a MacBookPro and a PC desktop that I develop on. I'd love to be
able to run everything natively on my MacBook, but alas, I sometimes *have*
to work on the PC so I have to license all of my Adobe products for Windows.
Hell, I'd be willing to pay a minimal up-cost if that was the compromise
necessary, i.e. $495 for Flex single-platform, $595 for Flex 2
dual-platform.

But I agree... in the case of Flex, Adobe is leveraging the efforts of the
open source community and their porting to an extent, so I don't think 2x
cost is warranted. Photoshop, etc., may be another deal...

Troy.


On 2/7/07, barry.beattie <[EMAIL PROTECTED]> wrote:



> I think that Adobe should seriously consider revising their
licensing to work on multiple platforms.

one would think so, yes, especially since what we're talking about is
just a plug-in to a cross-platform (and free) IDE.

> There are plenty of people that own Mac laptops and Windows desktops and
> would love to have the chance to run Flex Builder on both without
having to
> resort to solutions like Parallels or Boot Camp.

not much flamin' good if the Mac is a PPC G4!

> At any rate, these guys at Adobe have been very helpful in getting
to the
> bottom of our issue.

can I ask if there is a resolution? it looks like I'm just about to
end up in this situation.

thanx

 



[flexcoders] Building the FDS HibernateManager class in Eclipse

2007-02-07 Thread simonjpalmer
Hi,

I am trying to debug the FDS HibernateAssembler.  I have put the 
HibernateAssembler
HibernateManager
HibernateType
java files into my own package and adjusted dependencies accordingly.  

I am unable to build because of the following problem.  The
HibernateManager.getSession() method contains the following line of code:

if (!syncSession && DataServiceTransaction.getCurrentUserTransaction()
!= null)
syncSession = true;

I get the following two build errors:
1)
The project was not built since its build path is incomplete. Cannot
find the class file for javax.transaction.UserTransaction. Fix the
build path then try building this project
2)
The type javax.transaction.UserTransaction cannot be resolved. It is
indirectly referenced from required .class files

I can't find anything which seems to contain the UserTransaction code
or interface.  Anyone know what I need to do to my Eclipse project
dependencies to have this compile?

SP




Re: [flexcoders] is there a way to run Applet in Flash

2007-02-07 Thread Troy Gilbert

The only way is to fake it by having the surrounding HTML webpage float an
IFRAME over your Flash applet. Same technique folks use for displaying web
pages inside of a Flash app.

I saw a demonstration somewhere of a Flash app that had transparency. I
believe the Flash player allows for a transparent background (I guess that's
how all of those annoying integrated page ads work), so you could probably
float your Flash app over your Java applet as well!

Troy.


On 2/7/07, huangnankun <[EMAIL PROTECTED]> wrote:


  As the subject implies.. I'm trying to find a way to embed a java
applet within a flex application.

I know that java can take over a rectangular area within a HTML page,
but is there a way to have embed an applet within flash?

 



Re: [flexcoders] Re: Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread Johannes Nel

another option you could consider is using red5 (www.osflasg.org/red5) for
the remote shared object.

On 2/7/07, Adam Royle <[EMAIL PROTECTED]> wrote:


   This is some code I have written for a similar project... It simply
runs through the dataProvider searching for a matched id. If it finds the
id, then it replaces the row, otherwise it adds a new row at the end of the
dataProvider. Since you want to track add, update and delete, you'll
probably need to specify another field that is returned with the data, such
as _row_status (0=new,1=updated,2=deleted), and modify the script likewise.



public var dataProvider:ArrayCollection = new ArrayCollection();

public function onUpdateData(result:Array):void
{
 var i:Number, j:Number, row:Object, item:Object, id:Number,
found:Boolean;
 for (i=0;i
*To:* flexcoders@yahoogroups.com
*Sent:* Wednesday, February 07, 2007 11:10 PM
*Subject:* [flexcoders] Re: Poor man's PUSH technology (aka reload data
using timer)

 Hi Adam.

Thanks for your reply - I like your idea about keeping the "pushed"
data to a minimum. My original idea was to get the entire dataset and
then loop through it and compare - your idea is way better.

I'm really in need of some examples of a timer function, and perhaps
some code to make the comparing of data. Anyone that can help me out
there ?

Thanks again,
Mark

--- In flexcoders@yahoogroups.com , "Adam
Royle" <[EMAIL PROTECTED]> wrote:
>
> Hi Mark,
[snip]

 





--
j:pn
http://www.lennel.org


[flexcoders] View State - How to call a function on a custom component???

2007-02-07 Thread paulwelling
Hello,

I would like to be able to call a function on a custom component when
adding a child to a View State.

There is a setProperty tag.  Any way of call a function on that
component from within the AddChild tag of a View State???

Thanks,
Paul



[flexcoders] Resources to Flex Application Architecture articles?

2007-02-07 Thread Private Romeo
Hi everybody,

 

we are looking for (online) resources related to how to best structure
(larger) Flex applications. Most of the great training and tutorial material
available tends to focus on how to construct more complex controls, how to
implement special effects or how to solve DataGrid/Binding related issues,
however, what we are seeking is material as to potential best practices
about how to structure an Flex app best.

 

Should AS code be used inline primarily? Or is a code-behind pattern a
better choice?

Should we ultimately keep the primary MXML application file small and work
with complex custom controls, or should we keep custom controls usage low?

 

Are there any good technical articles out there? Any links? Any hints?

 

Thanks for your support.

 

 



Re: [flexcoders] Semi-noobie architectural style question

2007-02-07 Thread Ralf Bokelberg

The singleton pattern is dangerous, as are global variables.
The problem is, you can't reuse any of the singleton's users without using
the singleton.
I guess, that's the reason why Brett was asking for a poor man's
implementation of IoC

Cheers,
Ralf.



On 2/7/07, Troy Gilbert < [EMAIL PROTECTED]> wrote:


  That's usually the point of the singleton pattern, that it provides a
global access point for a variable (as well as enforcing a single instance
of a class). Essentially, singleton hijacks a language's type system to use
it to deliver globals.

Of course, in languages like C++ I kinda consider this on par with using
globals and normally prefer something like a monostate object where many
would use a singleton. But, since ActionScript doesn't actually have global
objects, singleton is pretty useful for attaining that.

Perhaps I've missed the guts of your question, but if you create a class
that follows the singleton pattern, you'd have a "getInstance()" static
method. To access your instance you just need to import your singleton class
wherever you need it and then use MyClass.getInstance() to access the
singleton. You'd have to import the class regardless if you wanted to
*access* the singleton, so I'm not quite sure where the disconnect is in
your question...

Troy.


On 2/6/07, rumpleminzeflickr <[EMAIL PROTECTED] > wrote:
>
>   Hi there,
>
> I have a main app, with a lot of sub custom components.
>
> I've created a singleton class that i'm using as a controller.
>
> what I want to know is, do I have to define access to that singleton
> class in every custom component, or is there some way to 'pass' the
> instance of it down the line and make it available to all.
>
> Sorry if this is a dumb question, I tried searching without an answer
> so far :(
>
> Brett
>
>
 





--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35


[flexcoders] Re: RemoteObjects for Flex using AS3

2007-02-07 Thread michael_ramirez44
Shannon,

Valid but Bad example. Try this.

employeeRO.getOperation(methodName).send
(deptComboBox.selectedItem.data);

--- In flexcoders@yahoogroups.com, "Shannon Jackson" <[EMAIL PROTECTED]> wrote:
>
> That is not the line that is failing; that is the line that binds 
the event
> listener to the operation. we're trying to execute the method 
dynamically
> (line six of second example)-- have you done that?
>  
> Thnx, -Shannon
> 
> employeeRO.getOperation(methodName)].addEventListener
> ("result",getListResultHandler);
> 
> Michael Ramirez
> 
> --- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> 
ups.com,
> "Shannon Jackson"  wrote:
> >
> > In the Flex 2 Developers Guide, it shows an example of how to 
> script a
> > remote object as follows:
> > 
> > employeeRO = new RemoteObject();
> > employeeRO.destination = "SalaryManager";
> > employeeRO.getList.addEventListener
("result",getListResultHandler);
> > employeeRO.addEventListener("fault", faultHandler);
> > employeeRO.getList(deptComboBox.selectedItem.data);
> > 
> > Does anyone know how to do the same thing but implement it so the 
> method
> > name is variable? Like this:
> > 
> > var methodName:String = "getList";
> > employeeRO = new RemoteObject();
> > employeeRO.destination = "SalaryManager";
> > employeeRO[methodName].addEventListener
> > employeeRO.addEventListener("fault", faultHandler);
> > employeeRO[methodName].(deptComboBox.selectedItem.data);
> > 
> > It fails on the sixth line here (the second variable call) with 
> this error:
> > 
> > Error #1006: value is not a function.
> > 
> > It appears the first attempt correctly creates the
> > mx.rpc.remoting::Operation object, but when you attempt to 
actually 
> run the
> > service method it fails. Any ideas?
> >
>




Re: [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue - still waiting

2007-02-07 Thread Paul Andrews

  - Original Message - 
  From: Shannon Hicks 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, February 06, 2007 5:24 PM
  Subject: Re: [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex 
Builder 2.01 License Issue - still waiting


  And you can't run the same license of Flex Builder on two windows computers, 
either... One license per computer, what does it matter that one's a PC and the 
other's a Mac?

I think not.

>From the licence:.

"3.4  Portable or Home Computer Use.  The primary user of the Computer on which 
the Software is installed may install a second copy of the Software for his or 
her exclusive use on either a portable Computer or a Computer located at his or 
her home, provided the Software on the portable or home Computer is not used at 
the same time as the Software on the primary Computer."

Paul
  Shan


  snip

[flexcoders] Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Mike Anderson
Hello All,

I have a problem, and maybe I am overlooking something here...

What I need to do, is attach multiple functions, to an Event for a
particular Component.

Using inline MXML, this is easy - you just separate out each function,
with a semi-colon and list them one after another.

BUT, I am trying NOT to put my functions within the MXML - I am using
Code-Behind, and I need to add my Event Listeners within the
ActionScript - using the Object.addEventListener() method.

Thing is, how do I add several functions using this type of methodology?
Or can it even be done?

Thanks in advance for any help you can offer regarding this,

Mike


Re: [flexcoders] Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread Shannon Hicks
You don't necessarily need FDS for push technology. You should read up 
on the XML Socket.


Shan

oneproofdk wrote:


I am building a internal app for my company, where we would eventually
pursue FDS for it's push capabilities - updating the users view when
backend data changes.

Until then, I'm thinking about making a function that will get
triggered by a timer, e.g. every 60 seconds, it should retrieve data
from the server and then compare it to the data currently displayed in
the app [Binded]. Then if data has changed, it should update the
specific data in the ArrayCollection.

Any pointers to how I could accomplish this ?

Im thinking a function "dataTimer" that would call a function
"getData", that function would then compare each row in the dataset to
the data currently "in memory" in the app. If there's a difference, it
would update the data OR completely replace the currently used
dataset. (only I guess that would make the app flicker?)

Any help is greatly appreciated.

Thanks,
Mark

 




Re: [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue - still waiting

2007-02-07 Thread Shannon Hicks

Well, I stand corrected. I'd like my dual-OS license now :)

Shan

Paul Andrews wrote:


 


- Original Message -
*From:* Shannon Hicks <mailto:[EMAIL PROTECTED]>
*To:* flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com>
*Sent:* Tuesday, February 06, 2007 5:24 PM
*Subject:* Re: [flexcoders] More Mac licensing issues: [WAS:: Max
OS X Flex Builder 2.01 License Issue - still waiting

And you can't run the same license of Flex Builder on two windows
computers, either... One license per computer, what does it matter
that one's a PC and the other's a Mac?
 


I think not.
 
From the licence:.
 
"3.4  Portable or Home Computer Use.  The primary user of the Computer 
on which the Software is installed may install a second copy of the 
Software for his or her exclusive use on either a portable Computer or 
a Computer located at his or her home, provided the Software on the 
portable or home Computer is not used at the same time as the Software 
on the primary Computer."
 
Paul


Shan

snip

 




Re: [flexcoders] Load Flex app (swf) into Flash App

2007-02-07 Thread Greg Hesla
I've thought about this some more - would it be possible to flip this  
around and build my containers in Flex and load our old Flash SWFs in  
them?


This leads me to another question - how would these dynamically- 
loaded swf files communicate with their container Flex swf files? In  
Flash, I was able to use the _parent pronoun from within the child,  
and the instance name of the movieclip from the parent to send data,  
call functions, etc.


Thanks,
~greg

On Feb 6, 2007, at 4:18 PM, Greg Hesla wrote:


I was afraid of that. Thanks very much for your quick response.


~g

On Feb 6, 2007, at 3:49 PM, Tracy Spratt wrote:



No, because the Flash will be ver 8, AS2, and cannot contain the  
AS3 virtual machine needed for FP 9.




Tracy



From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of Greg Hesla

Sent: Tuesday, February 06, 2007 3:28 PM
To: Flex Coders
Subject: [flexcoders] Load Flex app (swf) into Flash App



Is it possible to load a Flex-based swf file into a Flash movie using
loadMovie()?

We are trying to migrate from Flash / Remoting to Flex. We have
several "container" movies which load smaller movies that the user
interacts with.

Thanks in advance,
Greg











[flexcoders] Secure .Net Web Services and Flex 2

2007-02-07 Thread Nick Collins
I'm looking at communicating with our internal .Net web services with
Flex 2 but I need it to be secure.  Our .Net developers are saying
that I need to be able to pass a username and password to the server
for it to do the Windows authentication but I don't see how I would do
that with the WebService tag.

Does anyone here have any experience in communicating securely with
.Net webservices? What are your recommendations/suggestions?


[flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread dougmccune
You can make as many calls to addEventListener as you want. So you can
add 2 or more event listeners that get triggered for the same event.

So something like:
myButton.addEventListener(MouseEvent.CLICK, myFunction1);
myButton.addEventListener(MouseEvent.CLICK, myFunction2);
myButton.addEventListener(MouseEvent.CLICK, myFunction3);

All three of the above functions would get called when the event
triggers. You can remove each of these separately as well by using
removeEventListener and specifying the particular function you want
removed.

Doug


--- In flexcoders@yahoogroups.com, "Mike Anderson" <[EMAIL PROTECTED]> wrote:
>
> Hello All,
> 
> I have a problem, and maybe I am overlooking something here...
> 
> What I need to do, is attach multiple functions, to an Event for a
> particular Component.
> 
> Using inline MXML, this is easy - you just separate out each function,
> with a semi-colon and list them one after another.
> 
> BUT, I am trying NOT to put my functions within the MXML - I am using
> Code-Behind, and I need to add my Event Listeners within the
> ActionScript - using the Object.addEventListener() method.
> 
> Thing is, how do I add several functions using this type of methodology?
> Or can it even be done?
> 
> Thanks in advance for any help you can offer regarding this,
> 
> Mike
>




[flexcoders] Re: Returning 'this' from an overridden method?

2007-02-07 Thread dougmccune
Just from first glance I'd suggest not following the design pattern of
returning the object from the function like you're doing. It seems
like the only reason you're doing it is to make it so you can write a
bunch of statements all on one line. In terms of someone else reading
your code, I think it would make a lot more sense if they saw this:

camera.move(10, 12);
camera.rotateX(45);
camera.rotateY(90);

It turns 1 line into 3 lines, but I think it's far less confusing and
this follows the same design pattern that most other Actionscript
classes follow. Methods like move, rotate, etc are used often in
various classes and usually they do what they're supposed to do and
return void. In my experience I've never really seen an OOP class that
returns itself very much.

So that's not a direct answer to your question, merely a coding
suggestion.

Doug


--- In flexcoders@yahoogroups.com, "David_Stafford"
<[EMAIL PROTECTED]> wrote:
>
> Please pardon this simple-minded question from an AS3 novice.
> 
> My base class often returns 'this' from methods which makes it 
> convenient to write code like:
> 
>   camera.move( 10, 12 ).rotateX( 45 ).rotateY( 90 );
> 
> The problem comes when code extends the base class and overrides one 
> of these functions.  The compiler insists, correctly, that the return 
> type of an overriding function must match the one in the base class.  
> What I want to do is return the 'this' object that is of the type of 
> the derived class.  Is this possible?
> 
> The following is a contrived example to demonstrate.  It won't 
> compile because the overridden function in the derived class wants to 
> return a type of MyCamera rather than Camera:
> 
> 
> public class Camera
>   {
>   var x:int = 0;
>   var y:int = 0;
> 
>   public function move( x:int, y:int ) :Camera
> {
> this.x += x;
> this.y += y;
> 
> return( this );
> }  
>   }
> 
> public class MyCamera extends Camera
>   {
>   override public function move( x:int, y:int ) :MyCamera
> {
> super.move( x, y ); 
> 
> if( x < 0 )  x = 0;
> if( y < 0 )  y = 0;
> 
> return( this );
> } 
>   }
>




RE: [flexcoders] Load Flex app (swf) into Flash App

2007-02-07 Thread Andrew Trice
Yes, you can do that.  You can communicate between the embedded Flash 8
and Flex (Flash 9) swf files using the localConnection object.  More
info can be found at: 

 

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=749eaa47

 

Hope that helps,

-Andy

 

_

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:[EMAIL PROTECTED] On
Behalf Of Greg Hesla
Sent: Wednesday, February 07, 2007 10:09 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Load Flex app (swf) into Flash App

 

I've thought about this some more - would it be possible to flip this
around and build my containers in Flex and load our old Flash SWFs in
them? 

 

This leads me to another question - how would these dynamically-loaded
swf files communicate with their container Flex swf files? In Flash, I
was able to use the _parent pronoun from within the child, and the
instance name of the movieclip from the parent to send data, call
functions, etc.

 

Thanks,

~greg

 

On Feb 6, 2007, at 4:18 PM, Greg Hesla wrote:





I was afraid of that. Thanks very much for your quick response.

 

~g

 

On Feb 6, 2007, at 3:49 PM, Tracy Spratt wrote:





 

No, because the Flash will be ver 8, AS2, and cannot contain the AS3
virtual machine needed for FP 9. 

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Hesla
Sent: Tuesday, February 06, 2007 3:28 PM
To: Flex Coders
Subject: [flexcoders] Load Flex app (swf) into Flash App

 

Is it possible to load a Flex-based swf file into a Flash movie using 
loadMovie()?

We are trying to migrate from Flash / Remoting to Flex. We have 
several "container" movies which load smaller movies that the user 
interacts with.

Thanks in advance,
Greg

 

 

 

 

 

 



[flexcoders] Re: java.lang.Runtime "complete" message?

2007-02-07 Thread Doug Lowder

This is due to the way Runtime.exec() works in Java.  There's a good
article about it here:

   http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
<http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html>

I'm not a ColdFusion programmer, so unfortunately I don't have any tips
on how to incorporate this into CF.

HTH,

Doug


--- In flexcoders@yahoogroups.com, "qnotemedia" <[EMAIL PROTECTED]> wrote:
>
> I'm looking at java's waitFor(). When I use it in a CFC though, I
> think its just looping forever.
>
> Here's what I have so far:
>
>  ("java", "java.lang.Runtime").getRuntime()>
> 
> 
> 
>
> When running this cffunction as a WebService from Flex2, it leaves a
> never ending busy cursor. If I remove checkProcess and return
> startProcess instead, I have some kind of java string - a thread
> identifier or something? i.e.:
>
> [EMAIL PROTECTED]
>
> Its really quite simple - I don't know enough about java to make this
> happen and the Java reference perplexes me when in-context with
> Coldfusion. Any help is appreciated.
>




RE: [flexcoders] Intellectual property or licensing of posted/blogged work

2007-02-07 Thread Ely Greenfield
 
 
Since it was partially some of my code that kicked off this
discussion...
 
In general, almost everything published on my blog is published under
the MIT open source license, which was included earlier in this thread.
Very occasionally, I'll publish something that's not available for use.
I try and be explicit about it, but if you're looking to use something
from quietlyscheming and you can't find a license in the source, or a
description of the licensing on the page where I posted it, it's
probably best to just leave a comment or send me an email asking about
it.
 
Ely.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel Freiman
Sent: Tuesday, February 06, 2007 1:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Intellectual property or licensing of
posted/blogged work



I will now pass myself off as a legal expert despite the fact that I
haven't attended law school...so anyone with authority should overrule
my opinion.

Generally speaking, if the owner (which is usually the author) publishes
the code on the web, then you are allowed to look at it.  They showed it
to the public, the public gets to see it.  (It's the same theory that
while a billboard is still copyrighted, you can't tell people not to
look at it.)  You can even tell other people about it and where it is
(although you can't necessarily give them a copy yourself). 

As far as using it in your own projects, that depends entirely on the
license.  Sorry, there is no standard.  However, many blogs and most
adobe products/solutions/projects (including many you mentioned) are
pretty explicit on what you can do.  I assume if you publish things on
this list then you're ok with people using them as they see fit, but
that's a personal assumption, not a legal one.  Maybe there was
something in the signup that i missed which said this list is in the
public domain, but I don't remember it. 

- Dan


On 2/6/07, engkee <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote:


I have to commend you all for posting a lot of wonderful
components 
and extensions to Flex... eg. Ely's calendar, Doug and Jason's
tab 
navigator extensions, Ben and Trey's reflection effect, Alex's 
distortion effect, just to name a few.

Unfortunately, in these day and age, I would have to ask... am I

allowed to incorporate those wonderful works in commercial
products?
Am I even allowed to look at the source code, if I work for a
company 
producing commercial software, without violating some IP issues.

Most of them are not explicitly associated with any specific 
licensing terms.

Sure would be nice if there could be some standard practice of 
associating these works with a common license, eg. the Creative 
Commons (http://creativecommons.org/licenses/by/2.5/
<http://creativecommons.org/licenses/by/2.5/> )

Maybe there already is some presumed license or disclaimer 
for "published" works. If so, please send a pointer.

Just a thought.

-Engkee






 


RE: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Mike Anderson
Hey Doug,

Well, that's simple enough.  Probably so simple, that I simply
overlooked doing it that way.

Real quick, would it be possible to also do it this way?

Object.addEventListener( "click", [funct1, funct2, funct3] );

I know I could just try it, but from a methodology point of view, it
would be nice to know if this was a valid way to do it.

Thanks!

Mike

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dougmccune
Sent: Wednesday, February 07, 2007 10:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Object.addEventListener vs.. adding them
inline via MXML

You can make as many calls to addEventListener as you want. So you can
add 2 or more event listeners that get triggered for the same event.

So something like:
myButton.addEventListener(MouseEvent.CLICK, myFunction1);
myButton.addEventListener(MouseEvent.CLICK, myFunction2);
myButton.addEventListener(MouseEvent.CLICK, myFunction3);

All three of the above functions would get called when the event
triggers. You can remove each of these separately as well by using
removeEventListener and specifying the particular function you want
removed.

Doug


--- In flexcoders@yahoogroups.com, "Mike Anderson" <[EMAIL PROTECTED]> wrote:
>
> Hello All,
> 
> I have a problem, and maybe I am overlooking something here...
> 
> What I need to do, is attach multiple functions, to an Event for a 
> particular Component.
> 
> Using inline MXML, this is easy - you just separate out each function,

> with a semi-colon and list them one after another.
> 
> BUT, I am trying NOT to put my functions within the MXML - I am using 
> Code-Behind, and I need to add my Event Listeners within the 
> ActionScript - using the Object.addEventListener() method.
> 
> Thing is, how do I add several functions using this type of
methodology?
> Or can it even be done?
> 
> Thanks in advance for any help you can offer regarding this,
> 
> 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





Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Michael Schmalle

Object.addEventListener( "click", [funct1, funct2, funct3] );


No,

1. as3 is strongly typed which means the method expects a function when it
is getting an array.
2. addEventListener wouldn't even know what to do with an array.

You could, if you had your own subclass override addEventListener to do that
but, you could also just create a stack of functions in an array if they
were all going to the same event and loop through them to save code lines.

It's personal choice when you get to this point.

Peace, Mike

On 2/7/07, Mike Anderson <[EMAIL PROTECTED]> wrote:


  Hey Doug,

Well, that's simple enough. Probably so simple, that I simply
overlooked doing it that way.

Real quick, would it be possible to also do it this way?

Object.addEventListener( "click", [funct1, funct2, funct3] );

I know I could just try it, but from a methodology point of view, it
would be nice to know if this was a valid way to do it.

Thanks!

Mike


-Original Message-
From: flexcoders@yahoogroups.com  [mailto:
flexcoders@yahoogroups.com ] On
Behalf Of dougmccune
Sent: Wednesday, February 07, 2007 10:10 AM
To: flexcoders@yahoogroups.com 
Subject: [flexcoders] Re: Object.addEventListener vs.. adding them
inline via MXML

You can make as many calls to addEventListener as you want. So you can
add 2 or more event listeners that get triggered for the same event.

So something like:
myButton.addEventListener(MouseEvent.CLICK, myFunction1);
myButton.addEventListener(MouseEvent.CLICK, myFunction2);
myButton.addEventListener(MouseEvent.CLICK, myFunction3);

All three of the above functions would get called when the event
triggers. You can remove each of these separately as well by using
removeEventListener and specifying the particular function you want
removed.

Doug

--- In flexcoders@yahoogroups.com , "Mike
Anderson" <[EMAIL PROTECTED]> wrote:
>
> Hello All,
>
> I have a problem, and maybe I am overlooking something here...
>
> What I need to do, is attach multiple functions, to an Event for a
> particular Component.
>
> Using inline MXML, this is easy - you just separate out each function,

> with a semi-colon and list them one after another.
>
> BUT, I am trying NOT to put my functions within the MXML - I am using
> Code-Behind, and I need to add my Event Listeners within the
> ActionScript - using the Object.addEventListener() method.
>
> Thing is, how do I add several functions using this type of
methodology?
> Or can it even be done?
>
> Thanks in advance for any help you can offer regarding this,
>
> 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

 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Doug McCune
Nope, I think the second parameter must be a function, trying to pass an 
array of functions should fail.


Also, just a note: it's better practice to not use the string of the 
event listener like "click" but rather the variable like 
MouseEvent.CLICK. They really do the exact same thing in practice, but 
it's possible that within MouseEvent the click event could be renamed in 
a future release to something like "mouseClick" and then your code 
wouldn't work.


Doug


Mike Anderson wrote:


Hey Doug,

Well, that's simple enough. Probably so simple, that I simply
overlooked doing it that way.

Real quick, would it be possible to also do it this way?

Object.addEventListener( "click", [funct1, funct2, funct3] );

I know I could just try it, but from a methodology point of view, it
would be nice to know if this was a valid way to do it.

Thanks!

Mike

-Original Message-
From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
[mailto:flexcoders@yahoogroups.com 
<mailto:flexcoders%40yahoogroups.com>] On

Behalf Of dougmccune
Sent: Wednesday, February 07, 2007 10:10 AM
To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
Subject: [flexcoders] Re: Object.addEventListener vs.. adding them
inline via MXML

You can make as many calls to addEventListener as you want. So you can
add 2 or more event listeners that get triggered for the same event.

So something like:
myButton.addEventListener(MouseEvent.CLICK, myFunction1);
myButton.addEventListener(MouseEvent.CLICK, myFunction2);
myButton.addEventListener(MouseEvent.CLICK, myFunction3);

All three of the above functions would get called when the event
triggers. You can remove each of these separately as well by using
removeEventListener and specifying the particular function you want
removed.

Doug

--- In flexcoders@yahoogroups.com 
<mailto:flexcoders%40yahoogroups.com>, "Mike Anderson" <[EMAIL PROTECTED]> wrote:

>
> Hello All,
>
> I have a problem, and maybe I am overlooking something here...
>
> What I need to do, is attach multiple functions, to an Event for a
> particular Component.
>
> Using inline MXML, this is easy - you just separate out each function,

> with a semi-colon and list them one after another.
>
> BUT, I am trying NOT to put my functions within the MXML - I am using
> Code-Behind, and I need to add my Event Listeners within the
> ActionScript - using the Object.addEventListener() method.
>
> Thing is, how do I add several functions using this type of
methodology?
> Or can it even be done?
>
> Thanks in advance for any help you can offer regarding this,
>
> Mike
>

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

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

Yahoo! Groups Links

 




[flexcoders] Validator: disable active validator

2007-02-07 Thread fritzdimmel
Hi!
I've a form with many controls (TextInputs, ...) to validate.
Everything works fine but I can't figure out, how to accomplish this:
I have, let's say, a TextInput, and the validation for this returns
false. The textinput gets a red border.
Now I want to have a possibility to disable the validator temporarliy.
So that the red border disappears until I'm re-enabling the validator.

How can I do this?
By setting Validator.enabled to false the red border (+ the error
message) still exists.

Thanks for any hints!

Fritz



RE: [flexcoders] Re: Tutorial zoom in a linechart

2007-02-07 Thread Ely Greenfield
 
 
Hi Graham. That would work just fine.  It forces the chart to do some
extra work, b/c it still has to process those out of bounds data values
far enough to decide they're out of bounds.  So be alert for performance
issues. But other than that, it should work fine.
 
Ely.
 
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of g_odds
Sent: Wednesday, February 07, 2007 1:04 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tutorial zoom in a linechart



Everywhere seems to use the slicing the data set style approach. Why
would one not set the minimum and maximum of an axis to do this?

Graham

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Brendan Meutzner" <[EMAIL PROTECTED]>
wrote:
>
> As Mikhail pointed out, if by "zoom" you mean changing the range
shown along
> the horizontal axis, this example should help. Just right click to
view the
> source:
> 
> http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html
<http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html>

> 
> Brendan
> 
> 
> On 2/7/07, Mikhail Shevchuk <[EMAIL PROTECTED]> wrote:
> >
> > I suppose that it is not difficult to implement. During zooming,
just
> > store smaller (zoomed area, relatively to the whole chart) array
collection
> > and change a dataprovider for the component.
> >
> > 2007/2/7, bcncgn3 <[EMAIL PROTECTED]>:
> > >
> > > I have linechart and i want that the user can zoom in in the
> > > horizontal
> > > axis selecting an area on the chart? Someone knows a tutorial
which
> > > explains how to program this?
> > >
> > >
> >
> >
> > --
> > A vivid and creative mind characterizes you.
> >
> > 
> >
> 
> 
> 
> -- 
> Brendan Meutzner
> Stretch Media - RIA Adobe Flex Development
> [EMAIL PROTECTED]
> http://www.stretchmedia.ca <http://www.stretchmedia.ca> 
>



 


[flexcoders] Re: Validator: disable active validator

2007-02-07 Thread maunger
Hey Fritz, what's the 'timing' on this?

I mean, under what conditions do you want to disable the validation?

Mitch

--- In flexcoders@yahoogroups.com, "fritzdimmel" <[EMAIL PROTECTED]> wrote:
>
> Hi!
> I've a form with many controls (TextInputs, ...) to validate.
> Everything works fine but I can't figure out, how to accomplish this:
> I have, let's say, a TextInput, and the validation for this returns
> false. The textinput gets a red border.
> Now I want to have a possibility to disable the validator temporarliy.
> So that the red border disappears until I'm re-enabling the validator.
> 
> How can I do this?
> By setting Validator.enabled to false the red border (+ the error
> message) still exists.
> 
> Thanks for any hints!
> 
> Fritz
>




[flexcoders] Re: Serious Bug in HistoryManager (introduced in latest release?)

2007-02-07 Thread zenwarden
I can't test the fix because I cannot replicate the bug. It has
mysteriously vanished...The next time I see it, I will try the
suggested fix and report back.

Also sorry if I ranted in my last post. Just don't like to see any
problems with my new favorite technology.



--- In flexcoders@yahoogroups.com, "zenwarden" <[EMAIL PROTECTED]> wrote:
>
> I will give it a try.
> 
> One question and one comment:
> 
> Question: Did you actually mean drag manager or did you mean History
> manager? (I'll try both sperately).
> 
> Commnet: I've been a virtual evenagilist for flex at the company I
> work for; I am very impressed with product and love using it. But this
> does make me a bit nervous. I'm also really hoping that what you are
> sayimg about singletons is not true. Singletons should never be used 
> liberally like this. It's a lazy solution to resource mamnagemnt
> issues. The whole point of design patterns is (in my humble opinion)
> to solve an EXISTING problem. You don't use a singlton because you
> can, or because it's neat or even because you think it will be
> effecient or cleaner --- you use a sington (and any pattern) after
> you've identified a problem.
> 
> The flex team needs to stop reading design pattern book.
> 
> To sum up: you can always tell what chapter in gang of four a coder is
> reading, its the pattern they are sticking into all their code :) 
> 
> 
> 
>  
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, Bjorn Schultheiss
>  wrote:
> >
> > Here's a reply i got from one of the engineers, Alex Harai on what  
> > could be a related issue.
> > 
> > 
> > This error occurs for two reasons:  One is that somehow, the  
> > DragManager or DragManagerImpl is not linked into the movie.
> > 
> > The other, and more common reason is that more than one module is  
> > using the DragManager, but the main application does not..  Modules  
> > operate in their own application domain, and thus cannot share  
> > singletons unless that singleton is loaded by the parent application  
> > domain.  The simple solution is to link the DragManager into the
main  
> > application by putting something like this in a script block
> > 
> > import mx.managers.DragManager;
> > 
> > var dm:DragManager;
> > 
> > This fattens your application a little.  More complex solutions  
> > involve loading the DragManager into the main application's  
> > application domain.
> > 
> > The above is true for all managers handled by Singleton and lots of  
> > other shared classes in Flex as well.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On 06/02/2007, at 11:49 AM, zenwarden wrote:
> > 
> > > I am seeing this mostly when I run unit test using the flexunit.swf.
> > > And I am consistantly seeing it in that situation
> > >
> > > I do occasionaly see it when running a single-swf app through the
> > > builder (However it is making a connection to a server when it  
> > > occurs).
> > >
> > > Chris W
> > >
> > > --- In flexcoders@yahoogroups.com, Bjorn Schultheiss
> > >  wrote:
> > > >
> > > > does your app use modules, or built using multiple swfs?
> > > >
> > > >
> > > > On 06/02/2007, at 5:49 AM, zenwarden wrote:
> > > >
> > > > > There appears to be a failry serious bug that I think was  
> > > introduced
> > > > > in the history manager in the latest release 2.0.1
> > > > >
> > > > > I never got this errro until I updated and I now see it in a  
> > > variety
> > > > > of situations (including whenever I run testcases. )
> > > > >
> > > > > Shutting down the borwoser or even switching borwsers does NOT  
> > > help. I
> > > > > mostly see it when I am running from the flex builder, but
when  
> > > you
> > > > > are trying to run tests -- this becomes failry serious and
very  
> > > time
> > > > > consuming.
> > > > >
> > > >
> > >
> > >
> > >
> >
>




[flexcoders] design area - no scrollbars

2007-02-07 Thread kovalenkojane
Hello,

I have quite a large design that doesn't fit into the the design area.
Unfortunetly there are no scrollbars for me to look at the whole area.

Doesn anyone have the same problem?
How do you fix it?

Thanks



Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Michael Schmalle

could be renamed in a future release to something like "mouseClick" and

then your code wouldn't work.

Or even worse, you write "cllck", and then for days even months, you think
your app isn't working or 'works' a certain way. Come to find out the event
wasn't even getting captured. :)

This is plain ole preventative maintainence.

That is the worse case for me, renaming events is small potatoes to that
error. ;-)

Peace, Mike

On 2/7/07, Doug McCune <[EMAIL PROTECTED]> wrote:


   Nope, I think the second parameter must be a function, trying to pass
an array of functions should fail.

Also, just a note: it's better practice to not use the string of the event
listener like "click" but rather the variable like MouseEvent.CLICK. They
really do the exact same thing in practice, but it's possible that within
MouseEvent the click event could be renamed in a future release to something
like "mouseClick" and then your code wouldn't work.

Doug



Mike Anderson wrote:

 Hey Doug,

Well, that's simple enough. Probably so simple, that I simply
overlooked doing it that way.

Real quick, would it be possible to also do it this way?

Object.addEventListener( "click", [funct1, funct2, funct3] );

I know I could just try it, but from a methodology point of view, it
would be nice to know if this was a valid way to do it.

Thanks!

Mike

-Original Message-
From: flexcoders@yahoogroups.com  [mailto:
flexcoders@yahoogroups.com ] On
Behalf Of dougmccune
Sent: Wednesday, February 07, 2007 10:10 AM
To: flexcoders@yahoogroups.com 
Subject: [flexcoders] Re: Object.addEventListener vs.. adding them
inline via MXML

You can make as many calls to addEventListener as you want. So you can
add 2 or more event listeners that get triggered for the same event.

So something like:
myButton.addEventListener(MouseEvent.CLICK, myFunction1);
myButton.addEventListener(MouseEvent.CLICK, myFunction2);
myButton.addEventListener(MouseEvent.CLICK, myFunction3);

All three of the above functions would get called when the event
triggers. You can remove each of these separately as well by using
removeEventListener and specifying the particular function you want
removed.

Doug

--- In flexcoders@yahoogroups.com , "Mike
Anderson" <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:
>
> Hello All,
>
> I have a problem, and maybe I am overlooking something here...
>
> What I need to do, is attach multiple functions, to an Event for a
> particular Component.
>
> Using inline MXML, this is easy - you just separate out each function,

> with a semi-colon and list them one after another.
>
> BUT, I am trying NOT to put my functions within the MXML - I am using
> Code-Behind, and I need to add my Event Listeners within the
> ActionScript - using the Object.addEventListener() method.
>
> Thing is, how do I add several functions using this type of
methodology?
> Or can it even be done?
>
> Thanks in advance for any help you can offer regarding this,
>
> 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


 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


RE: [flexcoders] View State - How to call a function on a custom component???

2007-02-07 Thread Sho Kuwamoto
I don't believe there is a way to do this.
 
Is your function something that you could turn into a setter?
 
-Sho
 




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of paulwelling
Sent: Wednesday, February 07, 2007 6:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] View State - How to call a function on a
custom component???



Hello,

I would like to be able to call a function on a custom component
when
adding a child to a View State.

There is a setProperty tag. Any way of call a function on that
component from within the AddChild tag of a View State???

Thanks,
Paul



 



[flexcoders] 2nd datagrid - no headers, wrong size

2007-02-07 Thread Mike_Robinson_98
I've been spending a lot of time trying to overcome this issue without
any success. Hopefully someone out there has a suggestion.

I have datagrid within a vbox in a component. The grid takes up as
much space as is available (height='100%').

There is another state which does the following:
1) reduces the height of the 1st datagrid to a fixed value (344)
2) adds a 2nd datagrid (height='124') into the vbox as the lastchild.

The problem is when the state gets switched and the 2nd datagrid gets
added..
1) the headers are missing
2) the requested size is not honored

When looking at the state in design mode, the headers are present and
the size of the 2nd grid is correct.

Has anyone run into issues similar to this? Any resolutions? The code
is rather long, but I will post it if anyone is interested.

Thanks



RE: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Sho Kuwamoto
The short answer is that there is no way to do what you want for the
time being. 
 
What you are looking for is a language feature called "covariant return
types". In certain languages (C++, Java) you can have your subclass
redefine the type that is returned by a method.
 
This would be a great thing to get into the AS language, but it is not
there now. There are further wrinkles when you consider how you would
extend properties in a similar way (I wrote about the issues at
http://kuwamoto.org/2007/01/22/covariant-property-types/).
 
 
Cheers,
 
-Sho




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of David_Stafford
Sent: Tuesday, February 06, 2007 6:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Returning 'this' from an overridden
method?




Please pardon this simple-minded question from an AS3 novice.

My base class often returns 'this' from methods which makes it 
convenient to write code like:

camera.move( 10, 12 ).rotateX( 45 ).rotateY( 90 );

The problem comes when code extends the base class and overrides
one 
of these functions. The compiler insists, correctly, that the
return 
type of an overriding function must match the one in the base
class. 
What I want to do is return the 'this' object that is of the
type of 
the derived class. Is this possible?

The following is a contrived example to demonstrate. It won't 
compile because the overridden function in the derived class
wants to 
return a type of MyCamera rather than Camera:

public class Camera
{
var x:int = 0;
var y:int = 0;

public function move( x:int, y:int ) :Camera
{
this.x += x;
this.y += y;

return( this );
} 
}

public class MyCamera extends Camera
{
override public function move( x:int, y:int ) :MyCamera
{
super.move( x, y ); 

if( x < 0 ) x = 0;
if( y < 0 ) y = 0;

return( this );
} 
}



 



Re: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Ralf Bokelberg

Nice to know the name of this feature.
Just lately somebody asked me the same question.
He also came from a Java background.
Any chance we will see it in the future?

Cheers,
Ralf.

On 2/7/07, Sho Kuwamoto <[EMAIL PROTECTED]> wrote:


   The short answer is that there is no way to do what you want for the
time being.

What you are looking for is a language feature called "covariant return
types". In certain languages (C++, Java) you can have your subclass redefine
the type that is returned by a method.

This would be a great thing to get into the AS language, but it is not
there now. There are further wrinkles when you consider how you would extend
properties in a similar way (I wrote about the issues at
http://kuwamoto.org/2007/01/22/covariant-property-types/).


Cheers,

-Sho

 --
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *David_Stafford
*Sent:* Tuesday, February 06, 2007 6:13 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Returning 'this' from an overridden method?

 Please pardon this simple-minded question from an AS3 novice.

My base class often returns 'this' from methods which makes it
convenient to write code like:

camera.move( 10, 12 ).rotateX( 45 ).rotateY( 90 );

The problem comes when code extends the base class and overrides one
of these functions. The compiler insists, correctly, that the return
type of an overriding function must match the one in the base class.
What I want to do is return the 'this' object that is of the type of
the derived class. Is this possible?

The following is a contrived example to demonstrate. It won't
compile because the overridden function in the derived class wants to
return a type of MyCamera rather than Camera:

public class Camera
{
var x:int = 0;
var y:int = 0;

public function move( x:int, y:int ) :Camera
{
this.x += x;
this.y += y;

return( this );
}
}

public class MyCamera extends Camera
{
override public function move( x:int, y:int ) :MyCamera
{
super.move( x, y );

if( x < 0 ) x = 0;
if( y < 0 ) y = 0;

return( this );
}
}

 





--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35


Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Doug McCune

Mike,
Looks like you're speaking from personal experience :)
From now on I'll make my custom components dispatch "click" and "cilck" 
and "cllck" and "clik" etc etc. The "google suggest" approach to event 
dispatching.


Doug

Michael Schmalle wrote:


> could be renamed in a future release to something like "mouseClick" 
and then your code wouldn't work.


Or even worse, you write "cllck", and then for days even months, you 
think your app isn't working or 'works' a certain way. Come to find 
out the event wasn't even getting captured. :)


This is plain ole preventative maintainence.

That is the worse case for me, renaming events is small potatoes to 
that error. ;-)


Peace, Mike

On 2/7/07, * Doug McCune* <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:


Nope, I think the second parameter must be a function, trying to
pass an array of functions should fail.

Also, just a note: it's better practice to not use the string of
the event listener like "click" but rather the variable like
MouseEvent.CLICK. They really do the exact same thing in practice,
but it's possible that within MouseEvent the click event could be
renamed in a future release to something like "mouseClick" and
then your code wouldn't work.

Doug




Mike Anderson wrote:


Hey Doug,

Well, that's simple enough. Probably so simple, that I simply
overlooked doing it that way.

Real quick, would it be possible to also do it this way?

Object.addEventListener( "click", [funct1, funct2, funct3] );

I know I could just try it, but from a methodology point of view, it
would be nice to know if this was a valid way to do it.

Thanks!

Mike

-Original Message-
From: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>] On
Behalf Of dougmccune
Sent: Wednesday, February 07, 2007 10:10 AM
To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
Subject: [flexcoders] Re: Object.addEventListener vs.. adding them
inline via MXML

You can make as many calls to addEventListener as you want. So
you can
add 2 or more event listeners that get triggered for the same event.

So something like:
myButton.addEventListener(MouseEvent.CLICK, myFunction1);
myButton.addEventListener(MouseEvent.CLICK, myFunction2);
myButton.addEventListener(MouseEvent.CLICK, myFunction3);

All three of the above functions would get called when the event
triggers. You can remove each of these separately as well by using
removeEventListener and specifying the particular function you want
removed.

Doug

--- In flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>, "Mike Anderson" <[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]> wrote:
>
> Hello All,
>
> I have a problem, and maybe I am overlooking something here...
>
> What I need to do, is attach multiple functions, to an Event for a
> particular Component.
>
> Using inline MXML, this is easy - you just separate out each
function,

> with a semi-colon and list them one after another.
>
> BUT, I am trying NOT to put my functions within the MXML - I am
using
> Code-Behind, and I need to add my Event Listeners within the
> ActionScript - using the Object.addEventListener() method.
>
> Thing is, how do I add several functions using this type of
methodology?
> Or can it even be done?
>
> Thanks in advance for any help you can offer regarding this,
>
> Mike
>

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






--
Teoti Graphix
http://www.teotigraphix.com <http://www.teotigraphix.com>

Blog - Flex2Components
http://www.flex2components.com <http://www.flex2components.com>

You can find more by solving the problem then by 'asking the question'.
 




[flexcoders] RemoteObject over HTTPS / SSL

2007-02-07 Thread Piotrowski, John
I have been working on this for a few days and I am stuck.  I have an
application that is using the Cairngorm Framework and I create 2
RemoteObjects.  I got these RemoteObjects to work by relying on the
default services-config.xml file on the server (which I don't have
access to) and by simply creating a Basic Project in Flex Builder 2 with
no compiler options and defining the endpoint
(http://SERVER/flex2gateway), destination (ColdFusion), and source (dot
path to cfc).

 

Now here is my problem.  One of my RemoteObjects needs to be over SSL
since it is handling the authentication for the application while the
other one does not and we would like to access the application by just
going to the standard http address (I was using dummy data when logging
in before since it wasn't over HTTPS).  We achieved this in the Past in
Flex 1.5 by creating the RemoteObject with the Protocol attribute set to
https and it was working in 1.5.  Since Flex 2 no longer supports the
protocol attribute, I tried changing the endpoint to
https://SERVER/flex2gateway.  I build the project and then open the HTML
file (in IE) the compiler creates in the bin folder and I get an error
Send Failed, Channel.Connect.Failed error NetConnection.Call.Failed:
HTTP: Status 500.  I get this error when trying to load the html or SWF
directly over HTTP and HTTPS and also in Firefox.

 

So, a co-worker sent me this link
(http://www.simb.net/client/index.cfm/2007/2/2/How-I-create-a-Flex-Proje
ct-with-ColdFusion) where it says to use a local services-config.xml
file and add the compiler option.  So I got one of the server admins to
send me the file and I created libs/services-config.xml in my project
and added -services "libs\services-config.xml" to my compiler arguments.
I first tried the normal http remoteobject method and it works just like
before, then I changed the endpoint to https like I did before using the
server's config file and I get the same behavior as before.

 

Next, I read that I probably have to create a channel definition for the
SecureAMFChannel.  So edited the current AMF channel definition to read:




https://{server.name}:{server.port}{context.root}/flex2gateway/";
class="flex.messaging.endpoints.SecureAMFEndpoint"/>

  

false

false



  false



  

  

 

I also made sure to change the name in the channels tag in the
destination declaration of the xml file.  Then I changed the endpoint in
my remoteObject declaration to https://SERVER/flex2gateway and I still
get the NetConnection error when loading the app over both http and
https and in both IE and FF.  Again ideally, we want to have 2 channels
one over SSL and one standard, but I can't even get SSL only to work.

 

So at this point I am thinking there must be something on the Server
that needs to be changed but I am not sure what to tell the admins to do
and no one else at my work is ready to publish a Flex 2 so I am the
first person to attempt to solve the SSL problem.

 

Any thoughts and thanks,

John

 

 

 

** 

 John R. Piotrowski 

 Programmer Analyst 

 Wharton Computing 

 Email: [EMAIL PROTECTED]

**

 



Re: [flexcoders] Load Flex app (swf) into Flash App

2007-02-07 Thread Greg Hesla

Well, this should do the trick. Thanks much!

~g

On Feb 7, 2007, at 11:25 AM, Andrew Trice wrote:



Yes, you can do that.  You can communicate between the embedded  
Flash 8 and Flex (Flash 9) swf files using the localConnection  
object.  More info can be found at:




http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=749eaa47



Hope that helps,

-Andy



_

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:[EMAIL PROTECTED] On Behalf Of Greg Hesla

Sent: Wednesday, February 07, 2007 10:09 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Load Flex app (swf) into Flash App



I've thought about this some more - would it be possible to flip  
this around and build my containers in Flex and load our old Flash  
SWFs in them?




This leads me to another question - how would these dynamically- 
loaded swf files communicate with their container Flex swf files?  
In Flash, I was able to use the _parent pronoun from within the  
child, and the instance name of the movieclip from the parent to  
send data, call functions, etc.




Thanks,

~greg



On Feb 6, 2007, at 4:18 PM, Greg Hesla wrote:




I was afraid of that. Thanks very much for your quick response.



~g



On Feb 6, 2007, at 3:49 PM, Tracy Spratt wrote:






No, because the Flash will be ver 8, AS2, and cannot contain the  
AS3 virtual machine needed for FP 9.




Tracy



From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of Greg Hesla

Sent: Tuesday, February 06, 2007 3:28 PM
To: Flex Coders
Subject: [flexcoders] Load Flex app (swf) into Flash App



Is it possible to load a Flex-based swf file into a Flash movie using
loadMovie()?

We are trying to migrate from Flash / Remoting to Flex. We have
several "container" movies which load smaller movies that the user
interacts with.

Thanks in advance,
Greg


















[flexcoders] basic exception handling

2007-02-07 Thread dantmcgowan
All,
  When I am catching exceptions the catch seems to be ignored and the
actionscript error window pops up. For example if I have a simple
service like this:

http://example.com/someservice/";
useProxy="false"
method="GET">

And I have a try catch block like this with one statement inside. If I
comment out this statement no errors...so I know this statement is
causing the error:

   
try {
simpleService.send();
}
catch(errObject:Error) {
trace(" "+errObject.message);
}

The scenarios that throw errors (for example TypeError: Error #1034)
opens the actionscript error window and the trace does not appear.
What do I need to be doing so the exception is consumed in the catch
and no error window? Thanks,

Dan 



RE: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Gordon Smith
That's up to the ECMAScxript committee. But since I think an Adobe
engineer chairs or co-chairs it, we have some influence.

 

- Gordon

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ralf Bokelberg
Sent: Wednesday, February 07, 2007 11:10 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Returning 'this' from an overridden method?

 

Nice to know the name of this feature. 
Just lately somebody asked me the same question. 
He also came from a Java background. 
Any chance we will see it in the future? 

Cheers,
Ralf. 

On 2/7/07, Sho Kuwamoto <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> wrote:

The short answer is that there is no way to do what you want for the
time being. 

 

What you are looking for is a language feature called "covariant return
types". In certain languages (C++, Java) you can have your subclass
redefine the type that is returned by a method.

 

This would be a great thing to get into the AS language, but it is not
there now. There are further wrinkles when you consider how you would
extend properties in a similar way (I wrote about the issues at
http://kuwamoto.org/2007/01/22/covariant-property-types/
<http://kuwamoto.org/2007/01/22/covariant-property-types/> ).

 

 

Cheers,

 

-Sho

 





From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com <http://yahoogroups.com> ] On Behalf
Of David_Stafford
Sent: Tuesday, February 06, 2007 6:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Returning 'this' from an overridden
method?



Please pardon this simple-minded question from an AS3 novice.

My base class often returns 'this' from methods which makes it 
convenient to write code like:

camera.move( 10, 12 ).rotateX( 45 ).rotateY( 90 );

The problem comes when code extends the base class and overrides
one 
of these functions. The compiler insists, correctly, that the
return 
type of an overriding function must match the one in the base
class. 
What I want to do is return the 'this' object that is of the
type of 
the derived class. Is this possible?

The following is a contrived example to demonstrate. It won't 
compile because the overridden function in the derived class
wants to 
return a type of MyCamera rather than Camera:

public class Camera
{
var x:int = 0;
var y:int = 0;

public function move( x:int, y:int ) :Camera
{
this.x += x;
this.y += y;

return( this );
} 
}

public class MyCamera extends Camera
{
override public function move( x:int, y:int ) :MyCamera
{
super.move( x, y ); 

if( x < 0 ) x = 0;
if( y < 0 ) y = 0;

return( this );
} 
}




-- 
Ralf Bokelberg <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> >
Flex & Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35 

 



Re: [flexcoders] basic exception handling

2007-02-07 Thread Clint Tredway

there is a fault attribute of the HTTPService tag that you can set to a
function. that will catch any faults from the call.

On 2/7/07, dantmcgowan <[EMAIL PROTECTED]> wrote:


  All,
When I am catching exceptions the catch seems to be ignored and the
actionscript error window pops up. For example if I have a simple
service like this:

http://example.com/someservice/";
useProxy="false"
method="GET">

And I have a try catch block like this with one statement inside. If I
comment out this statement no errors...so I know this statement is
causing the error:

try {
simpleService.send();
}
catch(errObject:Error) {
trace(" "+errObject.message);
}

The scenarios that throw errors (for example TypeError: Error #1034)
opens the actionscript error window and the trace does not appear.
What do I need to be doing so the exception is consumed in the catch
and no error window? Thanks,

Dan

 





--
http://indeegrumpee.spaces.live.com/


[flexcoders] WARNING: css type selectors are not supported in components?

2007-02-07 Thread Brian Holmes
I'm getting this warning message since I upgrade to FB 2.01 and i can't
seem to get rid of it. I don't have any inline css,
but I do have a reference to a style sheet in my application shell. 
 
Anybody else out there experiencing this?
 
B..


***
The information in this e-mail is confidential and intended solely for the 
individual or entity to whom it is addressed.  If you have received this e-mail 
in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.
***


[flexcoders] navigateToURL bind to datagrid selecteditem

2007-02-07 Thread nasawebguy

I have a linkbutton called Download
The downloaded filename is in a datagrid column called uploadedfile. 
This uploaded filename varies, but the path stays the same
www.mydomain.com/synapse/data/7117/documents/#uploadedfile#

When the user selects a row in drivergrid, the driver details appear 
below the grid with a Download linkbutton.

When the user clicks the download button, I want the driver file to 
begin to download.

I don't know how to write the url below so that it binds the 
uploadedfile to the end of the url.

This doesn't work.

http://www.mydomain.com/synapse/data/7117/documents/
{drivergrid.selectedItem.uploadedfile}'), 'Download')"/>

Will anyone help with the correct syntax?
Also, how would you do a url parameter in a similar way?

Thanks,
Don



RE: [flexcoders] basic exception handling

2007-02-07 Thread Peter Farland
Right, the requests made by HTTPService are asynchronous... so you have
to wait for events to be dispatched some time later. Any errors that
occur prior to actually sending the request are typically caught and
dispatched as fault events too so there shouldn't be a need for a
try/catch.
 
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Clint Tredway
Sent: Wednesday, February 07, 2007 2:37 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] basic exception handling



there is a fault attribute of the HTTPService tag that you can set to a
function. that will catch any faults from the call. 


On 2/7/07, dantmcgowan < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote: 

All,
When I am catching exceptions the catch seems to be ignored and
the
actionscript error window pops up. For example if I have a
simple
service like this:

http://example.com/someservice/
<http://example.com/someservice/> "
useProxy="false"
method="GET">

And I have a try catch block like this with one statement
inside. If I
comment out this statement no errors...so I know this statement
is
causing the error:

try {
simpleService.send();
}
catch(errObject:Error) {
trace(" "+errObject.message);
}

The scenarios that throw errors (for example TypeError: Error
#1034)
opens the actionscript error window and the trace does not
appear.
What do I need to be doing so the exception is consumed in the
catch
and no error window? Thanks,

Dan 








-- 
http://indeegrumpee.spaces.live.com/
<http://indeegrumpee.spaces.live.com/>  

 


[flexcoders] Flex Form Field Focus

2007-02-07 Thread Jagos, Allan
In Flex, when you have focus on a form field and then switch to another
web page and then come back you lose focus on that field.  HTML form
fields retain their focus but Flex apparently do not.  Is there some
code or property that will allow this?
 
Thanks, 
 

  Allan M. Jagos 
   Web Developer   

   Robinson & Cole LLP
   280 Trumbull Street
   Hartford, CT  06103-3597
   Direct (860) 275-8335 | Fax (860) 275-8299  
   [EMAIL PROTECTED] | www.rc.com <http://www.rc.com/>  
   Contact Card <http://www.rc.com/documents/peopleVcard/AMJ.vcf>  


 Boston  New London  Hartford  Stamford  White Plains  New York
Sarasota 

__
This transmittal may be a confidential attorney-client communication or may 
otherwise be privileged or confidential. If it is not clear that you are the 
intended recipient, you are hereby notified that you have received this 
transmittal in error; any review, dissemination, distribution or copying of 
this transmittal is strictly prohibited. If you suspect that you have received 
this communication in error, please notify us immediately by telephone at 
1-860-275-8200, or e-mail at [EMAIL PROTECTED] and immediately delete this 
message and all its attachments.
__
This email has been scanned by the MessageLabs Email Security System.

[flexcoders] Re: Validator: disable active validator

2007-02-07 Thread fritzdimmel
Hi.
I've a form who's creation time is very long (complete dynamically).
With this form I want to edit several datasets. If one dataset doesn't
validate correctly and I want to edit another, or, let's say, create a
new dataset (with empty values!) I don't want to have that any
TextInput has a red border.
I want to validate a "new" dataset when the "save" button is clicked.

Do you understand?

Thanks,
Fritz


--- In flexcoders@yahoogroups.com, "maunger" <[EMAIL PROTECTED]> wrote:
>
> Hey Fritz, what's the 'timing' on this?
> 
> I mean, under what conditions do you want to disable the validation?
> 
> Mitch
> 
> --- In flexcoders@yahoogroups.com, "fritzdimmel"  wrote:
> >
> > Hi!
> > I've a form with many controls (TextInputs, ...) to validate.
> > Everything works fine but I can't figure out, how to accomplish this:
> > I have, let's say, a TextInput, and the validation for this returns
> > false. The textinput gets a red border.
> > Now I want to have a possibility to disable the validator temporarliy.
> > So that the red border disappears until I'm re-enabling the validator.
> > 
> > How can I do this?
> > By setting Validator.enabled to false the red border (+ the error
> > message) still exists.
> > 
> > Thanks for any hints!
> > 
> > Fritz
> >
>




RE: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Sho Kuwamoto
Well, it really depends on the ECMA working group. I would like to get
it in, and I will push for it, and I imagine that others will as well.
 
-Sho




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Ralf Bokelberg
Sent: Wednesday, February 07, 2007 11:10 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Returning 'this' from an overridden
method?



Nice to know the name of this feature. 
Just lately somebody asked me the same question. 
He also came from a Java background. 
Any chance we will see it in the future? 

Cheers,
Ralf. 


    On 2/7/07, Sho Kuwamoto <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote: 


The short answer is that there is no way to do what you
want for the time being. 
 
What you are looking for is a language feature called
"covariant return types". In certain languages (C++, Java) you can have
your subclass redefine the type that is returned by a method.



 
This would be a great thing to get into the AS language,
but it is not there now. There are further wrinkles when you consider
how you would extend properties in a similar way (I wrote about the
issues at http://kuwamoto.org/2007/01/22/covariant-property-types/
<http://kuwamoto.org/2007/01/22/covariant-property-types/> ).
 
 
Cheers,
 
-Sho




From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com <http://yahoogroups.com> ] On Behalf
Of David_Stafford
Sent: Tuesday, February 06, 2007 6:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Returning 'this' from an
overridden method?


Please pardon this simple-minded question from
an AS3 novice.

My base class often returns 'this' from methods
which makes it 
convenient to write code like:

camera.move( 10, 12 ).rotateX( 45 ).rotateY( 90
);

The problem comes when code extends the base
class and overrides one 
of these functions. The compiler insists,
correctly, that the return 
type of an overriding function must match the
one in the base class. 
What I want to do is return the 'this' object
that is of the type of 
the derived class. Is this possible?

The following is a contrived example to
demonstrate. It won't 
compile because the overridden function in the
derived class wants to 
return a type of MyCamera rather than Camera:

public class Camera
{
var x:int = 0;
var y:int = 0;

public function move( x:int, y:int ) :Camera
{
this.x += x;
this.y += y;

return( this );
} 
}

public class MyCamera extends Camera
{
override public function move( x:int, y:int )
:MyCamera
{
super.move( x, y ); 

if( x < 0 ) x = 0;
if( y < 0 ) y = 0;

return( this );
} 
}










-- 
Ralf Bokelberg <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> >
Flex & Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35 



 



  1   2   3   4   5   6   7   8   9   10   >