RE: [flexcoders] Re: Flex is Broken

2007-05-18 Thread Andrew Trice
I noticed that you are using removeEffects on the components.  That is
the root of your problem.  I bet it you took those off, you wouldn't get
the error anymore.  In my experience with Flex, I've noticed that the
child indexes change when an item is actually removed (when the effect
has completed).  There is a synchronization issue that occurs while the
effect is playing.

 

Adding children while a remove effect is playing usually causes errors
very similar to what you are experiencing.  If you are adding another
child, try adding it after the remove effect has finished playing.  Hope
that helps.

 

-Andy

 

_

Andrew Trice

Technical Lead

 

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 Matt Wicks
Sent: Friday, May 18, 2007 10:23 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex is Broken

 

I had a similar problem .. never really got to the bottom of it but I
found that addChildAt worked while addChild didn't ? 

On 18 May 2007, at 15:03, Matt wrote:





The exact error message I'm currently getting is as follows:

RangeError: Error #2006: The supplied index is out of bounds.
at flash.display::DisplayObjectContainer/addChildAt()
at
mx.core::UIComponent/http://www.adobe.
http://www.adobe.com/2006/flex/mx/internal::$addChildAt
com/2006/flex/mx/internal::$addChildAt()
at mx.core::Container/addChildAt()
at mx.effects::EffectManager$/::removedEffectHandler()
at Function/http://adobe. http://adobe.com/AS3/2006/builtin::apply
com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()

Just to be clear here though, I'm calling addChild, not addChildAt
(internally addChild calls addChildAt).

--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com, Matt [EMAIL PROTECTED] wrote:

 I have been using Flex for quite a while now and I've found quite a
 few moderate to serious bugs, but the one that keeps slapping my face
 when I approach something close to stability is this error:
 
 RangeError: Error #2006: The supplied index is out of bounds.
 
 This seems to occur due to ActionScript 3's lack of concurrency
 support. It would seem that if I quickly remove and add several
 components to a container this shows its ugly head. What makes this
 particularly scary is that the error message appears once and then any
 time I try to do anything at all to the container after that it throws
 the same message over and over.
 
 I originally saw this appear in reference to popups on the
 SystemManager container and created a work-around to pre-instantiate
 windows and just keep them hidden until needed. It was specifically a
 problem when I would use the popup manager to display a menu and the
 selection of a menu option would then display a window. What ended up
 happening was that the window would be created and popped up at the
 same time the popup was being removed and it would get its internal
 indexing off it would seem and never could you do anything to the
 SystemManager container again.
 
 Is there a way to add and remove items safely or is this a known bug
 and one I just have to live with until Adobe gets around to fixing it?





 

 



RE: [flexcoders] Re: Flex is Broken

2007-05-18 Thread Andrew Trice
If you can, just reverse that.  Add the new items, and then remove the
old ones.  You *should* see nearly identical visual effects, and
shouldn't get that error.   Without seeing the full code, I can't
guarantee that it will solve your problems, but I'm pretty sure that
this would help you.

 

-Andy

 

_

Andrew Trice

Technical Lead

 

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 Matt
Sent: Friday, May 18, 2007 3:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex is Broken

 

It's pretty straight-forward to reproduce. Just do something like:

container.removeChild(c1);
container.removeChild(c2);
container.removeChild(c3);
container.addChild(c4);
container.addChild(c5);
container.addChild(c6);

Just make sure that the components have addedEffects and
removedEffects on them and you'll see the handy-dandy evil error
message. :)

I think the only way I can manage this is to have a utility method
that I call to add and remove components from a container and if the
component has a removedEffect then it queues it up and waits for the
removedEvent to finish before going on with removals. It just seems
like Flex should already be doing that internally instead of partially
removing it, but not really.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Michael Schmalle
[EMAIL PROTECTED] wrote:

 Maybe things like trying to shift into another gear without the
clutch in
 factors into this equation as well.
 
 You didn't show any code, so I don't know if you are trying to brute
force
 something that in the design of the framework was not a bug to begin
with
 but an implementation.
 
 Peace, Mike
 
 On 5/18/07, hank williams [EMAIL PROTECTED] wrote:
 
 
 
  On 5/18/07, Matt [EMAIL PROTECTED] wrote:
  
   That actually does fix it...shouldn't I be able to add and remove
   without having to write work-arounds for bugs in Flex though?
  
 
 
 
 
 
  Of course... we should outlaw bugs :)
 
  Hank
 
  If I wanted that kind of development experience I'd go back to
writing
   HTML and JavaScript. ;)
  
   --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com  flexcoders%40yahoogroups.com,
   Andrew Trice andrew.trice@
   wrote:
   
I noticed that you are using removeEffects on the components.
That is
the root of your problem. I bet it you took those off, you
wouldn't
   get
the error anymore. In my experience with Flex, I've noticed
that the
child indexes change when an item is actually removed (when
the effect
has completed). There is a synchronization issue that occurs
while the
effect is playing.
   
   
   
Adding children while a remove effect is playing usually
causes errors
very similar to what you are experiencing. If you are adding
another
child, try adding it after the remove effect has finished
playing.
   Hope
that helps.
   
   
   
-Andy
   
   
   
_
   
Andrew Trice
   
Technical Lead
   
   
   
Cynergy Systems, Inc.
   
http://www.cynergysystems.com http://www.cynergysystems.com 
   
   
   
Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
http://www.cynergysystems.com/blogs/page/andrewtrice 
   
Email: andrew.trice@
   
Office: 866-CYNERGY
   
   
   

   
From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
flexcoders%40yahoogroups.com[mailto:flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com flexcoders%40yahoogroups.com]
   On
Behalf Of Matt Wicks
Sent: Friday, May 18, 2007 10:23 AM
To: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com  flexcoders%40yahoogroups.com
Subject: Re: [flexcoders] Re: Flex is Broken
   
   
   
I had a similar problem .. never really got to the bottom of
it but I
found that addChildAt worked while addChild didn't ?
   
On 18 May 2007, at 15:03, Matt wrote:
   
   
   
   
   
The exact error message I'm currently getting is as follows:
   
RangeError: Error #2006: The supplied index is out of bounds.
at flash.display::DisplayObjectContainer/addChildAt()
at
mx.core::UIComponent/http://www.adobe.
http://www.adobe.com/2006/flex/mx/internal::$addChildAt
http://www.adobe.com/2006/flex/mx/internal::$addChildAt 
com/2006/flex/mx/internal::$addChildAt()
at mx.core::Container/addChildAt()
at mx.effects::EffectManager$/::removedEffectHandler()
at Function/http://adobe. 
http://adobe.com/AS3/2006/builtin::apply
http://adobe.com/AS3/2006/builtin::apply 
com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher

RE: [flexcoders] Finding all TextInputs in a Panel

2007-04-24 Thread Andrew Trice
Or you could use a for-each loop to loop over the children:

 

for each ( var child : * in panel.getChildren() )

{

if ( child is TextInput )

{

//do something

}

}

 

-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 Daniel Freiman
Sent: Tuesday, April 24, 2007 3:16 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Finding all TextInputs in a Panel

 

for...in iterates over properties.  Unless you've subclassed the panel
and gave each TextInput child its own variable, then this won't give you
a Container's children.  What you want is to iterate over the children: 

for (var i:int = 0; i  panel.getChildren().length; i++) {
   var child:DisplayObject = panel.getChildAt(i);
   if (child is TextInput) {
  // do something useful
   }
}

This will only work if the TextInputs are direct children of the panel.
Otherwise things will get a bit more tricky. 

- Dan Freiman
nondocs http://nondocs.blogspot.com 

On 4/24/07, Shidan [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]   wrote:

I would like to find all the TextInputs in a Panel but when I do a for
in loop over the Panel I get nothing.

for (var 0:Object in panel){
Alert.show(o.toString());
}

Can someone give me a pointer.

Thanks,
Shidan

 

 



RE: [flexcoders] X/Y Limit for DisplayObjects?

2007-04-09 Thread Andrew Trice
The maximum number of pixels in both the horizontal and vertical
directions within the BitmapData class is 2880.  It is documented here:

 

http://livedocs.adobe.com/flex/2/langref/flash/display/BitmapData.html

 

Thanks,

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 Alex Harui
Sent: Monday, April 09, 2007 7:35 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] X/Y Limit for DisplayObjects?

 

I'm surprised it didn't fail sooner.  2880 is the limit for most things.
After that it is unpredictable.

 

That's why DataGrid and other list classes virtualize their children.

 

Sorry,

-Alex

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Troy Gilbert
Sent: Monday, April 09, 2007 4:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] X/Y Limit for DisplayObjects?

 

I find that if I position a DisplayObject (specifically, a sprite)
beyond +/- 8192 it vanishes from the stage (well, it stops rendering)...
I couldn't find any docs that attest to this limit... and it doesn't
seem to matter if I turn on cacheAsBitmap, etc. (besides, the bitmap
limit is 2880). 

Is this a hard limit, or can it be worked around with a proper use of
cacheAsBitmap and scroll rects? Or am I basically going to have to
manage the display list manually? (I'm panning across a big sprite that
has children sporadically placed across it, each one within the bitmap
limits.) 

Thanks,

Troy.

 



RE: [flexcoders] Re: .NET Webservices

2007-03-09 Thread Andrew Trice
Attaching headers to web service requests is pretty easy.  I have an
write-up here that you can check out (second half of the blog post):

 

http://www.cynergysystems.com/blogs/page/andrewtrice?entry=census_mashup
s_using_strikeiron_web

 

...and source code here:

http://www.cynergysystems.com/blogs/blogs/andrew.trice/strikeiron/srcvie
w/index.html 

 

I instantiated a webservice in mxml, and attached the headers onto it on
the creationComplete event of the application.   Once the headers have
been attached to your web service instance, you can make as many calls
as you want without having to reattach any headers per service call.

 

-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 Brian Holmes
Sent: Friday, March 09, 2007 4:12 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: .NET Webservices

 

Thanks Scott,
I guess the stuff I have to call is just a lot more complicated and I
haven't quite gotten the format down. Your way was the way I've been
calling other web services. I also need to attach soap headers to every
request. 

-Original Message-
From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
Behalf Of scott_flex
Sent: Friday, March 09, 2007 2:04 PM
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
Subject: [flexcoders] Re: .NET Webservices

Here's how i've been calling my web services right or wrong...

private var ws:WebService = new WebService();

// handle any error for this web service instance
ws.addEventListener(fault, faultHandler); 

ws.loadWSDL(http://mywebsite.com/service.asmx?WSDL
http://mywebsite.com/service.asmx?WSDL );

// MyFunction just takes one string parameter and returns a string
ws.MyFunction.addEventListener(result, serviceResult);

// actually calls the function...
ws.MyFunction(Hello Web Service);

private function serviceResult(event:ResultEvent):void
{
// shows the string return from web services, 
// cast to whatever variable type you need to.
Alert.show(event.result.toString());
}

public function faultHandler(event:FaultEvent):void
{
Alert.show(event.toString(), WebService Error); {

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Brian Holmes [EMAIL PROTECTED] wrote:

 Does anyone have any examples they'd be willing to share or point 
me to
 of connectin to .NET webservices with or without soap headers,
 preferably both.
 It'll be greatly appreciated.
 
 Thanks,
 
 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 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

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

 



RE: [flexcoders] Converting string to base64Binary

2007-03-09 Thread Andrew Trice
I posted this a while back...  

http://tech.groups.yahoo.com/group/flexcoders/message/65507

 

import mx.utils.Base64Encoder;

import mx.utils.Base64Decoder;

 

private function base64Encode( data : ByteArray ) : String

{

var encoder : Base64Encoder = new Base64Encoder();

encoder.encodeBytes( data );

return encoder.flush();

}

 

private function base64Decode( string : String ) : ByteArray

{

var decoder : Base64Decoder = new Base64Decoder();

decoder.decode( string );

return decoder.flush();

}

 

 

_

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 Alex Harui
Sent: Friday, March 09, 2007 5:41 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Converting string to base64Binary

 

Google: Base64 Actionscript

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Brian Holmes
Sent: Friday, March 09, 2007 2:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Converting string to base64Binary

 

Does anybody have an example of how I can do this? Everything I've tried
blows up.

 

Thanks,

 

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

 



RE: [flexcoders] Re: Dynamically creating item IDs

2007-03-01 Thread Andrew Trice
What do you mean?  That statement very vague.  Can you create variables
dynamically... yes.  Can you use reflection and introspection into
classes... yes.  Can you create UI components at runtime... yes.  

 

Can flex compete with ajax... absolutely.

 

_

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 Clint Tredway
Sent: Thursday, March 01, 2007 4:19 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Dynamically creating item IDs

 

what do you mean by 'id'

On 3/1/07, thetexaspsycho2003 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, thetexaspsycho2003
[EMAIL PROTECTED] wrote: 

 Is there a way to dynamically create an item's ID? For example pulling
 it in from a XML file?


I guess from the lack of replies there is no way of doing this. If so,
this is very disappointing. The ability to create IDs on-the-fly is 
very helpful in other technologies, such as AJAX.




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

 



RE: [flexcoders] Re: WebService base64Binary

2007-02-21 Thread Andrew Trice
There are also the Base64Encoder and Base64Decoder classes that are
native to Flex.

 

import mx.utils.Base64Encoder;

import mx.utils.Base64Decoder;

 

private function base64Encode( data : ByteArray ) : String

{

var encoder : Base64Encoder = new Base64Encoder();

encoder.encodeBytes( data );

return encoder.flush();

}

 

private function base64Decide( string : String ) : ByteArray

{

var decoder : Base64Decoder = new Base64Decoder();

decoder.decode( string );

return decoder.flush();

}

 

 

_

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 Harald Dehn
Sent: Wednesday, February 21, 2007 4:11 PM
To: flexcoders@yahoogroups.com
Subject: AW: [flexcoders] Re: WebService  base64Binary

 

Sorry I forgot an example:

 

function base64encode(text:String):String {

var ba:ByteArrayEx = new ByteArrayEx();

ba.writeUTFBytes(text);  // Fill ByteArray
with text

ba.base64encode();

ba.position = 0;

return ba.readUTFBytes(ba.length);

}

 

Harald

 

 



Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
Auftrag von Harald Dehn
Gesendet: Mittwoch, 21. Februar 2007 22:06
An: flexcoders@yahoogroups.com
Betreff: AW: [flexcoders] Re: WebService  base64Binary

 

We extended the ByteArray Class with a base64 decoder and encoder.

 

Harald

 



Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
Auftrag von Cato Paus
Gesendet: Mittwoch, 21. Februar 2007 17:11
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] Re: WebService  base64Binary

 

Hi have you been on this page http://www.bytearray.org
http://www.bytearray.org 
they are talking about some Base64.as ...

hope it helps

Cato Paus

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, John Starfire [EMAIL PROTECTED] wrote:

 I don't really know how to deal with an image, encoded with
 base62Binary, that I receive from a webservice (e.g.
 http://www.webservicex.net/barcode.asmx
http://www.webservicex.net/barcode.asmx ).
 
 Is there a chance that I can decode it using Actionscript?
 
 Thanks for your help!
 //Jo


 



RE: [flexcoders] Exporting Charts as Image

2007-02-16 Thread Andrew Trice
I see your comment says png encoder is faster.  One thing to keep in mind... 
PNG encoder also creates larger bytearrays, which equates to larger file size, 
which leads to longer upload/download times; especially as the image dimensions 
increase.  

 

-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 Mickael 
RUELLAN
Sent: Thursday, February 15, 2007 1:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Exporting Charts as Image

 

Hi,

Here is my way to export image (PNG or JPEG) to a PHP server. The image is 
available as if you post it on a HTML form, so in $_FILES variables.

First, I've added this 2 methods in JPEG and PNG encoder class :

public function encodeFromUI(target:UIComponent):ByteArray {
return this.encode(getUIComponentBitmapData(target));
}

private function getUIComponentBitmapData( target : UIComponent ) : 
BitmapData{ 
var bd : BitmapData = new BitmapData( target.width, target.height );
var m : Matrix = new Matrix();
bd.draw( target , m );
return bd;  
}

I've created a new method that encode and send the image :

var png:PNGEnc = new PNGEnc();   // PNGEnc is faster than JPEG encoder
var imageData:ByteArray = png.encodeFromUI(UIComp);

var url:URLRequest = new URLRequest('http://your_url/print_bitmap.php 
http://your_url/print_bitmap.php ');

var boundary:String = '--MIKA--';
url.contentType = 'multipart/form-data; boundary='+boundary;
boundary = '--'+boundary;

var data:ByteArray = new ByteArray;

data.writeUTFBytes(boundary+'\r\n');

// start new part
data.writeUTFBytes('Content-Disposition: form-data; name=file_upload; 
filename=image.png\r\n');
data.writeUTFBytes('Content-Type: image/png\r\n');
data.writeUTFBytes('Content-Transfer-Encoding: binary\r\n\r\n');
// write image data
data.writeBytes(imageData);
// terminate part
data.writeUTFBytes('\r\n'+boundary+'\r\n');

// start a new part if you want to send other POST variables
data.writeUTFBytes('Content-Disposition: form-data; name=test\r\n\r\n');
data.writeUTFBytes('mikaflash');
data.writeUTFBytes('\r\n'+boundary+'\r\n');

url.data = data;
url.method = URLRequestMethod.POST;

/*var Loader:URLLoader = new URLLoader();
Loader.addEventListener(Event.COMPLETE,onLoadComplete);
Loader.load(url);
*/
navigateToURL(url,'_self');   

Hope this helps you. May be there is a better way to do this, but it's working 
fine for me.

Mickael



Paramjit Jolly a écrit : 

Hi Prateek,

 

 I have seen your query, I am also looking for similar solution.

 

Infact similar stuff I come across 3 years back When I was working with 
flash-java.

That time I used POI for exporting charts  grid data in excel sheets 
which are templates (place holders) in server.

 

Now our client wants similar look  feel charts as  Flex.

 

For report generation I have tested 

Adobe life cycle is perfect product, I m trying for images of charts 
also.

 

Bty why u need image, if only for printing you can print using print 
job class.

 

Also check for flash paper.

 

 

Let me know if you get something goot for this.

 

 

 

Regards

Jolly

 


Life Fitness - A Division of Brunswick Corporation
Singapore-486066
http://www.lifefitness.com http://www.lifefitness.com  | 
http://www.brunswick.com http://www.brunswick.com  






From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
., Prateek (MSAS Sys Dev IBD)
Sent: Wednesday, February 14, 2007 8:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Exporting Charts as Image

 

Hi All

 

We are using Flex charts in our web app. We also have a need to export 
the chart as an image so that the same can be embedded in an email sent out to 
users.

Any pointers ?

 

Thanks

Prateek





NOTICE: If received in error, please destroy and notify sender. Sender 
does not intend to waive confidentiality or privilege. Use of this email is 
prohibited when received in error.

 



RE: [flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Andrew Trice
Glad my blog entry helped. :-)

You can use the as3  PNGEncoder or JPGEncoder libraries at
http://code.google.com/p/as3corelib/ to do the image format conversion
within the flex application.  You can post it to a server using either
remoting, web service, or http service.  Remoting/AMF3 is fastest and
easiest, but the other methods work well too.  Remoting does not require
any base64 conversion for the binary data; you can send it across the
wire as is.

 

-Andy

 

This is from a previous post I wrote here on flexcoders...

 

If you are using AMF3 (RemoteObject), you can serialize binary data
without any conversion.  If you are trying a standard HTTP post, I would
use a HTTPService with the method= POST.  Then you have to Base64
encode the binary data and attach it to the parameters of the http
service.  On the server side, you will need to decode the base64 encoded
data back into binary.

 

Example:

 

mx:HTTPService 

id=httpService

   showBusyCursor=true

   useProxy=false

   method=POST

   resultFormat=text

   url=/BinaryData/cf/HTTPImageSave.cfm 

result=onResult('Data Saved via mx:HTTPService') 

fault=onFault(event) /

 

private function base64Encode( data : ByteArray ) : String

{

var encoder : Base64Encoder = new Base64Encoder();

encoder.encodeBytes( data );

return encoder.flush();

}

 

private function sendData() : void

{

var data : ByteArray = encoder.encode( myPngByteArray );  

var params : Object = { data : base64Encode( data ) };

httpService.send( params );

}

 

In ColdFusion, you can decode the base64 data simply by using the
toBinary function.  Other languages have similar functions as well.  

 

Just a FYI... using the JPG instead of PNG requires significantly less
bandwidth  time to post the data to the server.  Base64 encoding the
data also increases the size of the data being transferred across the
wire.  It is much more efficient to use a remoteObject method with
JPG-compressed data.

 

 

 

_

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 Paul Whitelock
Sent: Wednesday, February 14, 2007 1:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Exporting Charts as Image

 

Thanks Brendan! I was indeed looking in the Language Reference
documents which is why I couldn't find anything.

In the last section of the Andrew Trice tutorial he's doing pretty
much what I'd like to do, but he doesn't supply the source. The piece
that I think I need is how to handle the data sent from Flex on the
ColdFusion side (i.e., how to create the JPG from a ByteArray sent
from Flex). Has anyone seen any tutorials or documentation on this?

Paul

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Brendan Meutzner [EMAIL PROTECTED]
wrote:

 Hey Paul,
 
 It's in there... just not shown in the Language Reference documents if
 that's where you're looking... check out
 
 corelib\src\trunk\src\actionscript3\com\adobe\images
 
 Andrew Trice also has a tutorial on capturing UI to bitmap on his
blog here:
 

http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitmap
data_tricks_and
http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitma
pdata_tricks_and 
 
 
 Brendan

 



RE: [flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Andrew Trice
Forgot this too... Here's an example how to use the encoder.

 

var jpegEncoder : JPEGEncoder = new JPEGEncoder(quality);

myEncodedByteArray = jpegEncoder.encode( bitmapData );

 

_

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 Andrew Trice
Sent: Wednesday, February 14, 2007 2:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Exporting Charts as Image

 

Glad my blog entry helped. :-)

You can use the as3  PNGEncoder or JPGEncoder libraries at
http://code.google.com/p/as3corelib/
http://code.google.com/p/as3corelib/  to do the image format
conversion within the flex application.  You can post it to a server
using either remoting, web service, or http service.  Remoting/AMF3 is
fastest and easiest, but the other methods work well too.  Remoting does
not require any base64 conversion for the binary data; you can send it
across the wire as is.

 

-Andy

 

This is from a previous post I wrote here on flexcoders...

 

If you are using AMF3 (RemoteObject), you can serialize binary data
without any conversion.  If you are trying a standard HTTP post, I would
use a HTTPService with the method= POST.  Then you have to Base64
encode the binary data and attach it to the parameters of the http
service.  On the server side, you will need to decode the base64 encoded
data back into binary.

 

Example:

 

mx:HTTPService 

id=httpService

   showBusyCursor=true

   useProxy=false

   method=POST

   resultFormat=text

   url=/BinaryData/cf/HTTPImageSave.cfm 

result=onResult('Data Saved via mx:HTTPService') 

fault=onFault(event) /

 

private function base64Encode( data : ByteArray ) : String

{

var encoder : Base64Encoder = new Base64Encoder();

encoder.encodeBytes( data );

return encoder.flush();

}

 

private function sendData() : void

{

var data : ByteArray = encoder.encode( myPngByteArray );  

var params : Object = { data : base64Encode( data ) };

httpService.send( params );

}

 

In ColdFusion, you can decode the base64 data simply by using the
toBinary function.  Other languages have similar functions as well.  

 

Just a FYI... using the JPG instead of PNG requires significantly less
bandwidth  time to post the data to the server.  Base64 encoding the
data also increases the size of the data being transferred across the
wire.  It is much more efficient to use a remoteObject method with
JPG-compressed data.

 

 

 

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com http://www.cynergysystems.com 

 

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

Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Office: 866-CYNERGY 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Whitelock
Sent: Wednesday, February 14, 2007 1:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Exporting Charts as Image

 

Thanks Brendan! I was indeed looking in the Language Reference
documents which is why I couldn't find anything.

In the last section of the Andrew Trice tutorial he's doing pretty
much what I'd like to do, but he doesn't supply the source. The piece
that I think I need is how to handle the data sent from Flex on the
ColdFusion side (i.e., how to create the JPG from a ByteArray sent
from Flex). Has anyone seen any tutorials or documentation on this?

Paul

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Brendan Meutzner [EMAIL PROTECTED]
wrote:

 Hey Paul,
 
 It's in there... just not shown in the Language Reference documents if
 that's where you're looking... check out
 
 corelib\src\trunk\src\actionscript3\com\adobe\images
 
 Andrew Trice also has a tutorial on capturing UI to bitmap on his
blog here:
 

http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitmap
data_tricks_and
http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitma
pdata_tricks_and 
 
 
 Brendan

 



RE: [flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Andrew Trice
Nothing too fancy... It will be in next month's issue of Web Designer 
Developer's Journal, I'm waiting until then to release the code on my
blog.

 

_

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 Brendan Meutzner
Sent: Wednesday, February 14, 2007 2:34 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Exporting Charts as Image

 

So Andrew... I'm curious... any insight into what you're doing in your
examples that you're not willing to share? :-)


Brendan




On 2/14/07, Andrew Trice [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

Forgot this too... Here's an example how to use the encoder.

 

var jpegEncoder : JPEGEncoder = new JPEGEncoder(quality);

myEncodedByteArray = jpegEncoder.encode( bitmapData );

 

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com http://www.cynergysystems.com 

 

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

Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Office: 866-CYNERGY 

 



From: flexcoders@yahoogroups.com [mailto: flexcoders@
mailto:flexcoders@ yahoogroups.com http://yahoogroups.com ] On
Behalf Of Andrew Trice
Sent: Wednesday, February 14, 2007 2:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Exporting Charts as Image

 

Glad my blog entry helped. :-)

You can use the as3  PNGEncoder or JPGEncoder libraries at
http://code.google.com/p/as3corelib/
http://code.google.com/p/as3corelib/  to do the image format
conversion within the flex application.  You can post it to a server
using either remoting, web service, or http service.  Remoting/AMF3 is
fastest and easiest, but the other methods work well too.  Remoting does
not require any base64 conversion for the binary data; you can send it
across the wire as is.

 

-Andy

 

This is from a previous post I wrote here on flexcoders...

 

If you are using AMF3 (RemoteObject), you can serialize binary data
without any conversion.  If you are trying a standard HTTP post, I would
use a HTTPService with the method= POST.  Then you have to Base64
encode the binary data and attach it to the parameters of the http
service.  On the server side, you will need to decode the base64 encoded
data back into binary.

 

Example:

 

mx:HTTPService 

id=httpService

   showBusyCursor=true

   useProxy=false

   method=POST

   resultFormat=text

   url=/BinaryData/cf/HTTPImageSave.cfm 

result=onResult('Data Saved via mx:HTTPService') 

fault=onFault(event) /

 

private function base64Encode( data : ByteArray ) : String

{

var encoder : Base64Encoder = new Base64Encoder();

encoder.encodeBytes( data );

return encoder.flush();

}

 

private function sendData() : void

{

var data : ByteArray = encoder.encode( myPngByteArray );  

var params : Object = { data : base64Encode( data ) };

httpService.send( params );

}

 

In ColdFusion, you can decode the base64 data simply by using the
toBinary function.  Other languages have similar functions as well.  

 

Just a FYI... using the JPG instead of PNG requires significantly less
bandwidth  time to post the data to the server.  Base64 encoding the
data also increases the size of the data being transferred across the
wire.  It is much more efficient to use a remoteObject method with
JPG-compressed data.

 

 

 

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com http://www.cynergysystems.com 

 

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

Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Office: 866-CYNERGY 

 



From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups.com
http://yahoogroups.com ] On Behalf Of Paul Whitelock
Sent: Wednesday, February 14, 2007 1:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Exporting Charts as Image

 

Thanks Brendan! I was indeed looking in the Language Reference
documents which is why I couldn't find anything.

In the last section of the Andrew Trice tutorial he's doing pretty
much what I'd like to do, but he doesn't supply the source. The piece
that I think I need is how to handle the data sent from Flex on the
ColdFusion side (i.e., how to create the JPG from a ByteArray sent
from Flex). Has anyone seen any tutorials or documentation on this?

Paul

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Brendan Meutzner [EMAIL PROTECTED]
wrote:

 Hey Paul,
 
 It's in there... just not shown in the Language Reference

RE: [flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Andrew Trice
In it's most simple form:  this is all you need to do in CF.  You don't
need to convert it.  It comes over AMF as binary data.

 

cffunction name=save access=remote output=false
returntype=void
cfargument name=data type=binary required=true /
cffile action=write file=c:\temp\data.jpg
output=#arguments.data# /
/cffunction

 

You only need to use tobinary if you are sending it as base64 encoded
data across a web service or http service.

-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 Paul Whitelock
Sent: Wednesday, February 14, 2007 2:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Exporting Charts as Image

 

Hi Andy,

I'm using remoting/AMF in other parts of my application, so I don't
think I'll have a problem sending the data to ColdFusion after it's
prepared. I just wasn't sure what to do with the data once I got it to
ColdFusion to turn it into a file (I'm fairly new to ColdFusion).

I'll take a look at the ColdFusion toBinary function and I assume that
after the data comes out of toBinary I can write the file using
cffile. Anyway, it gives me a foothold to get started :-) Thanks!

Paul

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Andrew Trice [EMAIL PROTECTED]
wrote:

 Glad my blog entry helped. :-) 
 
 You can use the as3 PNGEncoder or JPGEncoder libraries at
 http://code.google.com/p/as3corelib/
http://code.google.com/p/as3corelib/  to do the image format
conversion
 within the flex application. You can post it to a server using either
 remoting, web service, or http service. Remoting/AMF3 is fastest and
 easiest, but the other methods work well too. Remoting does not
require
 any base64 conversion for the binary data; you can send it across the
 wire as is.
 
 
 
 -Andy
 
 
 
 This is from a previous post I wrote here on flexcoders...
 
 
 
 If you are using AMF3 (RemoteObject), you can serialize binary data
 without any conversion. If you are trying a standard HTTP post, I
would
 use a HTTPService with the method= POST. Then you have to Base64
 encode the binary data and attach it to the parameters of the http
 service. On the server side, you will need to decode the base64
encoded
 data back into binary.
 
 
 
 Example:
 
 
 
 mx:HTTPService 
 
 id=httpService
 
 showBusyCursor=true
 
 useProxy=false
 
 method=POST
 
 resultFormat=text
 
 url=/BinaryData/cf/HTTPImageSave.cfm 
 
 result=onResult('Data Saved via mx:HTTPService') 
 
 fault=onFault(event) /
 
 
 
 private function base64Encode( data : ByteArray ) : String
 
 {
 
 var encoder : Base64Encoder = new Base64Encoder();
 
 encoder.encodeBytes( data );
 
 return encoder.flush();
 
 }
 
 
 
 private function sendData() : void
 
 {
 
 var data : ByteArray = encoder.encode( myPngByteArray ); 
 
 var params : Object = { data : base64Encode( data ) };
 
 httpService.send( params );
 
 }
 
 
 
 In ColdFusion, you can decode the base64 data simply by using the
 toBinary function. Other languages have similar functions as well. 
 
 
 
 Just a FYI... using the JPG instead of PNG requires significantly less
 bandwidth  time to post the data to the server. Base64 encoding the
 data also increases the size of the data being transferred across the
 wire. It is much more efficient to use a remoteObject method with
 JPG-compressed data.
 
 _
 
 Andrew Trice
 
 Cynergy Systems, Inc.
 
 http://www.cynergysystems.com http://www.cynergysystems.com 
 
 
 
 Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
http://www.cynergysystems.com/blogs/page/andrewtrice 
 
 Email: [EMAIL PROTECTED]
 
 Office: 866-CYNERGY 

 



RE: [flexcoders] Re: Exporting Charts as Image

2007-02-14 Thread Andrew Trice
Revision... I'm waiting until then to release the full code (flex and
CF).  I just posted code a few minutes ago to do a very basic save
function in a cfc.  It's very basic though, no locks or try catch to
prevent real-world and synchronization errors.

 

_

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 Andrew Trice
Sent: Wednesday, February 14, 2007 2:45 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Exporting Charts as Image

 

Nothing too fancy... It will be in next month's issue of Web Designer 
Developer's Journal, I'm waiting until then to release the code on my
blog.

 

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com http://www.cynergysystems.com 

 

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

Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Office: 866-CYNERGY 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Brendan Meutzner
Sent: Wednesday, February 14, 2007 2:34 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Exporting Charts as Image

 

So Andrew... I'm curious... any insight into what you're doing in your
examples that you're not willing to share? :-)


Brendan





On 2/14/07, Andrew Trice [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

Forgot this too... Here's an example how to use the encoder.

 

var jpegEncoder : JPEGEncoder = new JPEGEncoder(quality);

myEncodedByteArray = jpegEncoder.encode( bitmapData );

 

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com http://www.cynergysystems.com 

 

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

Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Office: 866-CYNERGY 

 



From: flexcoders@yahoogroups.com [mailto: flexcoders@
mailto:flexcoders@ yahoogroups.com http://yahoogroups.com ] On
Behalf Of Andrew Trice
Sent: Wednesday, February 14, 2007 2:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Exporting Charts as Image

 

Glad my blog entry helped. :-)

You can use the as3  PNGEncoder or JPGEncoder libraries at
http://code.google.com/p/as3corelib/
http://code.google.com/p/as3corelib/  to do the image format
conversion within the flex application.  You can post it to a server
using either remoting, web service, or http service.  Remoting/AMF3 is
fastest and easiest, but the other methods work well too.  Remoting does
not require any base64 conversion for the binary data; you can send it
across the wire as is.

 

-Andy

 

This is from a previous post I wrote here on flexcoders...

 

If you are using AMF3 (RemoteObject), you can serialize binary data
without any conversion.  If you are trying a standard HTTP post, I would
use a HTTPService with the method= POST.  Then you have to Base64
encode the binary data and attach it to the parameters of the http
service.  On the server side, you will need to decode the base64 encoded
data back into binary.

 

Example:

 

mx:HTTPService 

id=httpService

   showBusyCursor=true

   useProxy=false

   method=POST

   resultFormat=text

   url=/BinaryData/cf/HTTPImageSave.cfm 

result=onResult('Data Saved via mx:HTTPService') 

fault=onFault(event) /

 

private function base64Encode( data : ByteArray ) : String

{

var encoder : Base64Encoder = new Base64Encoder();

encoder.encodeBytes( data );

return encoder.flush();

}

 

private function sendData() : void

{

var data : ByteArray = encoder.encode( myPngByteArray );  

var params : Object = { data : base64Encode( data ) };

httpService.send( params );

}

 

In ColdFusion, you can decode the base64 data simply by using the
toBinary function.  Other languages have similar functions as well.  

 

Just a FYI... using the JPG instead of PNG requires significantly less
bandwidth  time to post the data to the server.  Base64 encoding the
data also increases the size of the data being transferred across the
wire.  It is much more efficient to use a remoteObject method with
JPG-compressed data.

 

 

 

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com http://www.cynergysystems.com 

 

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

Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Office: 866-CYNERGY 

 



From: [EMAIL PROTECTED] ups.com [mailto:flexcoders

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

 

 

 

 

 

 



RE: [flexcoders] Gantt Chart

2007-02-01 Thread Andrew Trice
Nice work Doug.  I just threw that idea together a there a while back.
I'm glad to see you build off of it.  I like the sliders.

 

-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 Doug McCune
Sent: Thursday, February 01, 2007 10:46 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Gantt Chart

 

Here's my attempt that uses the DataGrid approach:
http://dougmccune.com/blog/2007/02/01/building-a-gantt-chart-component-i
n-flex/
http://dougmccune.com/blog/2007/02/01/building-a-gantt-chart-component-
in-flex/ 

It uses adjustable sliders, so you can adjust each item. It's by no
means complete, but maybe it can be a start...

Doug


Clint Tredway wrote: 

no problem, I figured it could work as a gantt chart even if it
wasnt originally designed to do so... hope it works out.

 

 



RE: [flexcoders] Init image with binary xml node

2007-01-30 Thread Andrew Trice
You need to Base64 encode the binary data.  Once encoded, it is treated
as a text string, and can be embedded within an xml document.  You also
need to keep in mind that Base64 encoding data also increases the size
of the data.  When you are retrieving data out of the xml, you will need
to decode the base64-encoded data back into its binary form.

 

private function base64Encode( data : ByteArray ) : String

{

var encoder : Base64Encoder = new Base64Encoder();

encoder.encodeBytes( data );

return encoder.flush();

}

 

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 wifi19
Sent: Tuesday, January 30, 2007 5:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Init image with binary xml node

 

Hie !

i'm searching how can i create a image with a binary node in my xml file

image binary file /image

can you help me ?
Thanks !

 



RE: [flexcoders] Newbie question: Datagrid and a WS

2007-01-29 Thread Andrew Trice
I talked to Tony on instant messenger about that... He was missing the
send() method for his web service.

 

_

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 cisnky
Sent: Monday, January 29, 2007 3:17 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Newbie question: Datagrid and a WS

 

Is the data from an xml document?

 

If so, can I see your xml doc?

 

On 1/29/07, Tony [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
wrote: 

hola peeps!

im a newbie, so please bear with me...

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx= http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml  layout=vertical
mx:WebService 
id=myService 
wsdl= http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl
http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl 
mx:operation name=getVehicleDataForCompany
resultFormat=object
mx:request
companyIdNumber1/companyIdNumber 
/mx:request
/mx:operation
/mx:WebService
mx:DataGrid
dataProvider={myService.getVehicleDataForCompany.lastResult}
mx:columns
mx:DataGridColumn headerText=Vehicle Name
dataField=vehicleName/
mx:DataGridColumn headerText=Phone Number
dataField=phoneNumber/ 
mx:DataGridColumn headerText=Ip Address Number
dataField=ipAddressNumber/
/mx:columns
/mx:DataGrid
/mx:Application

is my webservice tag, and the resulting dataProvider param of the
mx:datagrid tag, right? 
im close on getting data into a datagrid from a WS, i just want to make
sure...
im getting the datagrid with no data in it??

thanks for all your help!
and hello, im a newbie, but learning fast :)

tony weeg 
navtrak, inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 

 



RE: [flexcoders] Newbie question: Datagrid and a WS

2007-01-29 Thread Andrew Trice
In your case, you need to fire the event that sets the source of the
image whenever the data to the cellrenderer is changed.  Not on creation
complete.  You can do this two ways:

 

1)   bind the source of the image tag to the data :

mx:Image source={  data.file_name } /

 

2)   Override the set data function to update the image source
whenever the data has been updated.

 

I would go with #1 first.

 

-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 cisnky
Sent: Monday, January 29, 2007 3:47 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Newbie question: Datagrid and a WS

 

Do you have time for another datagrid related question?

 

http://tech.groups.yahoo.com/group/flexcoders/message/62788
http://tech.groups.yahoo.com/group/flexcoders/message/62788 



 

On 1/29/07, Andrew Trice [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

I talked to Tony on instant messenger about that... He was missing the
send() method for his web service. 

 

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com http://www.cynergysystems.com/ 

 

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

Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Office: 866-CYNERGY 

 



From: [EMAIL PROTECTED] ups.com http://ups.com/
[mailto:[EMAIL PROTECTED] ups.com http://ups.com/ ] On Behalf Of
cisnky
Sent: Monday, January 29, 2007 3:17 PM
To: [EMAIL PROTECTED] ups.com http://ups.com/ 
Subject: Re: [flexcoders] Newbie question: Datagrid and a WS 

 

Is the data from an xml document?

 

If so, can I see your xml doc?

 

On 1/29/07, Tony  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
wrote: 

hola peeps!

im a newbie, so please bear with me...

?xml version=1.0 encoding=utf-8? 
mx:Application xmlns:mx= http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml  layout=vertical
mx:WebService 
id=myService 
wsdl= http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl
http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl 
mx:operation name=getVehicleDataForCompany
resultFormat=object
mx:request
companyIdNumber1/companyIdNumber 
/mx:request
/mx:operation
/mx:WebService
mx:DataGrid
dataProvider={myService.getVehicleDataForCompany.lastResult}
mx:columns
mx:DataGridColumn headerText=Vehicle Name
dataField=vehicleName/
mx:DataGridColumn headerText=Phone Number
dataField=phoneNumber/ 
mx:DataGridColumn headerText=Ip Address Number
dataField=ipAddressNumber/
/mx:columns
/mx:DataGrid
/mx:Application

is my webservice tag, and the resulting dataProvider param of the
mx:datagrid tag, right? 
im close on getting data into a datagrid from a WS, i just want to make
sure...
im getting the datagrid with no data in it??

thanks for all your help!
and hello, im a newbie, but learning fast :)

tony weeg 
navtrak, inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 

 

 



RE: [flexcoders] Gantt Chart

2007-01-29 Thread Andrew Trice
What kind of animations are you trying to display.  As long as you don't
need to cross into other grid rows, the method I described will work
very well.  You can animate anywhere within the renderer.  You can
either use timer-based animation or you can use an AnimateProperty
instance to modify values  redraw the chart.

 

-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 Nate Pearson
Sent: Monday, January 29, 2007 2:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Gantt Chart

 

Hello,

I'm looking for a Gantt chart tool.  I have read Andrew Trice's article
at
http://www.cynergysystems.com/blogs/page/andrewtrice?entry=gantt_charts_
in_flex_datagrids
http://www.cynergysystems.com/blogs/page/andrewtrice?entry=gantt_charts
_in_flex_datagrids and I will use that if I don't find another
solution.

I don't need to draw dependencies.  I'm actually going to use it to
build a product roadmap.  When I add series I would like animations to
display. 

Sorry if this question has been asked a lot.  I've googled it for two
days now and haven't found a real solution.  I herd that back in Nov
2004 that someone showed a Gantt chart example that was completely
interactive with drag and drop capabilities.
http://www.richinternet.de/blog/index.cfm?entry=0539CEAE-91C9-CD8F-05566
45BE7952887
http://www.richinternet.de/blog/index.cfm?entry=0539CEAE-91C9-CD8F-0556
645BE7952887 

After searching through this mailing list it seems that Ely was working
on something?  His name came up in about every Gantt chart mail string i
read. 

Thanks SO much for your help,

Nate

 



RE: [flexcoders] Re: Is it possible to Inheirt from an MX Application inside of an MX Application ?

2007-01-29 Thread Andrew Trice
You don't need AddChild, that is only used within view states.  When
extending an object, you can just add new elements.  So, just add
mx:Label / instead of mx:AddChildmx:Label //mx:AddChild

 

 

 

_

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 helihobby
Sent: Monday, January 29, 2007 5:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Is it possible to Inheirt from an MX
Application inside of an MX Application ?

 

Thanks for the reply ...
Tried what you said but it seems like Flex will not allow you to 
inherit from your application.

If I try and do something like:

?xml version=1.0 encoding=utf-8?
h:ApplicationSecure xmlns:h=* 
xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml  

mx:AddChild position=lastChild
mx:Label text=Work/
/mx:AddChild 

/h:ApplicationSecure

OR also tried with no luck:

?xml version=1.0 encoding=utf-8?
ApplicationSecure xmlns:h=* 
xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml  

mx:AddChild position=lastChild
mx:Label text=Work/
/mx:AddChild 

/ApplicationSecure

Flex Builder will not allow you to go to Design Mode 
complaining Error in line 2

Any idea ...

:(

Regards,

Sean.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, helihobby [EMAIL PROTECTED] wrote:

 Is it possible to Inheirt from an MX Application inside of an MX 
 Application ?
 
 
 
 We wish to make two MX applications.
 
 One called:
 
 ApplicationSecure ( file name is ApplicationSecure )
 
 and One called:
 
 ApplicationMain ( file name is ApplicationMain )
 
 
 
 
 ApplicationSecure header looks normal such as:
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml  
 layout=absolute creationComplete=authenticate()
 creationPolicy=all
 xmlns:cc=dynaLib.common.components.* 
 
 mx:Script
 ![CDATA[
 ...
 
 
 
 
 
 However we wish ApplicationMain Header to look as the following:
 
 
 ?xml version=1.0 encoding=utf-8?
 c:ApplicationSecure xmlns:c=* 
 xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml  
 
 
 ...
 
 
 /c:ApplicationSecure
 
 
 So in ascence ApplicationSecure is inherting from Application.
 
 ApplicationSecure will run first than ApplicationMain.
 
 
 
 Everything seems ok, only that the compiler is comlaining that is 
can 
 not find any 
 of the MX components in its namespace path.
 
 In other words, it is as if the ApplicationMain is ignoring the 
line: 
 xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 
 becauase we have instructed it to inherit from ApplicationSecure.
 
 
 
 Any Help will be greatly appreciated.
 
 Regards,
 
 
 Sean.


 



RE: [flexcoders] Posting PNG to server

2007-01-26 Thread Andrew Trice
If you are using AMF3 (RemoteObject), you can serialize binary data
without any conversion.  If you are trying a standard HTTP post, I would
use a HTTPService with the method= POST.  Then you have to Base64
encode the binary data and attach it to the parameters of the http
service.  On the server side, you will need to decode the base64 encoded
data back into binary.

 

Example:

 

mx:HTTPService 

id=httpService

   showBusyCursor=true

   useProxy=false

   method=POST

   resultFormat=text

   url=/BinaryData/cf/HTTPImageSave.cfm 

result=onResult('Data Saved via mx:HTTPService') 

fault=onFault(event) /

 

private function base64Encode( data : ByteArray ) : String

{

var encoder : Base64Encoder = new Base64Encoder();

encoder.encodeBytes( data );

return encoder.flush();

}

 

private function sendData() : void

{

var data : ByteArray = encoder.encode( myPngByteArray );  

var params : Object = { data : base64Encode( data ) };

httpService.send( params );

}

 

In ColdFusion, you can decode the base64 data simply by using the
toBinary function.  Other languages have similar functions as well.  

 

Just a FYI... using the JPG instead of PNG requires significantly less
bandwidth  time to post the data to the server.  Base64 encoding the
data also increases the size of the data being transferred across the
wire.  It is much more efficient to use a remoteObject method with
JPG-compressed data.

 

-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 Simeon Bateman
Sent: Thursday, January 25, 2007 2:20 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Posting PNG to server

 

I have done this with ColdFusion using the RemoteObject tag.  Can you
use one of the remote object php tools to pass the binary data?

simeon

On 1/25/07, franto [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
wrote:

Hi,

Please help me, how can I post PNG (ByteArray created by Tini Uro's
convertor) to server (PHP)

Im try URLLoader + URLRequest.data = png

but it doesnt work :(
Does anyone know, what should I do? 

Thanks
P.S. Close to deadline :))

Franto

 

 



RE: [flexcoders] Announcing FlexSearch.org !

2006-11-30 Thread Andrew Trice
Good work.  I think it could benefit from a search option that is a combination 
of forums, blogs and LiveDocs, which could be the default view.  I did a 
search, and the first thing I thought was why does this only show forum 
answers?.
 
-Andy
www.cynergysystems.com
 
 



From: flexcoders@yahoogroups.com on behalf of Clint Modien
Sent: Thu 11/30/2006 7:55 AM
To: flexcoders@yahoogroups.com
Cc: Ben Lucyk
Subject: [flexcoders] Announcing FlexSearch.org !



I created an aggregation of developer content searchable via a few Google 
custom search engines (CSE) to help the development community find the answers 
to questions quicker.  It's located at:

 

http://flexsearch.org http://flexsearch.org/Feedback appreciated.

 

I want to be clear that this is a community based project.  I'll be posting the 
site list in xml format so that you can see what sites are in and what sites 
aren't in.  That way I can get feedback on what other sites the CSE should be 
aggregating.

 

Basically... If you hate it tell me why.  I'll fix it.  If you love it tell me 
why we'll keep it that way.  You can tell me why via the blog.

 

If you have ideas post comments on the blog I setup @ 
http://blogs.flexsearch.com http://blogs.flexsearch.com/ 

 

Thanks!

 

 

 Clint Modien

http://esria.com http://esria.com/ 

p. 1.877.TRY.ESRIA ext 706

c. 1.408.489.0750

f. 1.877.828.4436

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

 

 
attachment: image003.jpg
attachment: image001.jpg


RE: [flexcoders] Change alpha properties when setting enabled property

2006-11-30 Thread Andrew Trice
Good catch Mike... I was thinking backgroundAlpha, which is a style on
Container and its derived children, instead of the alpha propertry.
Although it is not a style on UIComponent, it is more or less the same
concept.  Thanks for pointing that out.

 

-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 Michael Schmalle
Sent: Thursday, November 30, 2006 8:48 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Change alpha properties when setting enabled
property

 

Andy,

 myComponent.setStyle(alpha, .5);

Whay do you use setStyle()? Since alpha is a property, this just seems
to use more overhead by calling two methods instead of one.

Since all UIComponent implement IUIComponent that extends
IFlexDisplayObject that declares alpha, you even have a straight forward
interface into the component. 

IUIComponent(myComponent).alpha = 0.5;

Just curoius,

Peace, Mike

On 11/30/06, Sam Shrefler [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

Andy:

Thank you very much!!!

Sam



On 11/29/06, Andrew Trice  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

Sorry... let me elaborate more.  The previous example would be used
inside of the component that is being enabled/disabled.  To do this
outside of a component, you need to do it in actionscript:

 

myComponent.enabled=fase;

myComponent.setStyle(alpha, .5);

 

 

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com http://www.cynergysystems.com 

 

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

Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Office: 866-CYNERGY 

 



From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  ups.com http://ups.com ] On Behalf Of
Andrew Trice
Sent: Wednesday, November 29, 2006 4:19 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Change alpha properties when setting enabled
property

 

override public fuction set enabled(value:Boolean) : void

{

super.enabled = value;

this.setStyle(alpha, ( value ? 1 : .5));

}

 

Enjoy!

 

-Andy

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com http://www.cynergysystems.com 

 

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

Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Office: 866-CYNERGY 

 



From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com
http://ups.com ] On Behalf Of Sam Shrefler
Sent: Wednesday, November 29, 2006 3:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Change alpha properties when setting enabled
property

 

Could someone tell me how  to modify the alpha settings when setting a
component to enabled=false?

Thanks!

Sam

 




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

 



RE: [flexcoders] Styling in Flex is officially ridiculous

2006-11-29 Thread Andrew Trice
I can't answer any of that for Adobe, but here is some input.

 

Granted, I agree that it should be a default css property that can be
easilty changed... It actually can be done without a ton of work.  The
easiest way to do that is to copy  modify the halo ButtonSkin class,
and use it as a custom skin on your button.  Just modify the
updateDisplayList function so that it draws the gradient rectangles on
top of each other, without the pixel offset for the border, when calling
the drawRoundRect functions.  Search for the string // button fill in
that class, and you will see the areas that need to be updated.  You
don't need to subclass the button at all.

 

You can find the halo skins as a reference at C:\Program
Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\source\mx\skins\halo

 

I have more info on skinning flex apps at
https://www.cynergysystems.com/blogs/page/andrewtrice?entry=making_flex_
less_flex_like 

 

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 ben.clinkinbeard
Sent: Wednesday, November 29, 2006 10:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Styling in Flex is officially ridiculous

 

OK. I am usually very hesitant to criticize Adobe because of the
immense respect I have for their employees and the amazing technology
they create. I have built my career around their products. That being
said, the styling capabilities in Flex are downright silly. I have
suffered silently through some small, yet extremely annoying
nuances, but this one takes the cake: You can't style a Button to
not have a border!!!

Developer: Hey button, go ahead and skip your border drawing routine.
Button: Eff that! I love my borders and I ain't getting rid of them
for anyone!

WTF. I can understand not supporting some styling features people
would like, but not supporting one that is just turning something off?
What gives? I realize I could probably subclass Button and override
the drawing but that is uber-overkill for something that should be a
simple attribute.

If someone from Adobe can offer a valid reason for why this isn't
supported I would love to hear it. I would also be very interested to
know if styling is an area that is being focused on for significant
upgrades in future versions.

Thanks,
Ben

 



RE: [flexcoders] Styling in Flex is officially ridiculous

2006-11-29 Thread Andrew Trice
I'm not sure that approach really works... The buttons don't show up at
all.

 

-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 Michael Schmalle
Sent: Wednesday, November 29, 2006 11:05 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Styling in Flex is officially ridiculous

 

Well,

Before your loose it...

try

myButton.setStyle(upSkin, null);

OR

Button {
   upSkin:ClassReference(null);
}

OR

mx:Button upSkin={null}/ 

Peace, Mike



On 11/29/06, ben.clinkinbeard [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

OK. I am usually very hesitant to criticize Adobe because of the
immense respect I have for their employees and the amazing technology
they create. I have built my career around their products. That being
said, the styling capabilities in Flex are downright silly. I have
suffered silently through some small, yet extremely annoying
nuances, but this one takes the cake: You can't style a Button to
not have a border!!!

Developer: Hey button, go ahead and skip your border drawing routine.
Button: Eff that! I love my borders and I ain't getting rid of them
for anyone!

WTF. I can understand not supporting some styling features people
would like, but not supporting one that is just turning something off?
What gives? I realize I could probably subclass Button and override
the drawing but that is uber-overkill for something that should be a
simple attribute.

If someone from Adobe can offer a valid reason for why this isn't
supported I would love to hear it. I would also be very interested to
know if styling is an area that is being focused on for significant
upgrades in future versions.

Thanks,
Ben




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

 



RE: [flexcoders] Styling in Flex is officially ridiculous

2006-11-29 Thread Andrew Trice
That's how I interpreted it: that he is actually talking about the
button's border.  Ben, is that what you were talking about?  If so, the
skin method is the way to go.

 

-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 Michael Schmalle
Sent: Wednesday, November 29, 2006 11:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Styling in Flex is officially ridiculous

 

Oh yeah...

If he is talking about the actual button border, that is the skin and he
needs to create a new skin. The button does not have borders, it has
skins. It dosn't even share the same characteristics of a Container that
has a border. These are not the same things. 

So, Ben, what do you mean when you say the Button's border? Or, what do
you want...

Peace, Mike

On 11/29/06, Michael Schmalle  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

Andy,

It answers his question and it does work. 

If the label is present, you click on the label and the Button functions
correctly.

I don't know what he is aiming for here but, if you 'don't' have a
border, there is no other hit area specified for the component. So, how
are you going to get mouse events from a component that dosn't have a
hit area? 

Bottom line is, this approach does work if you plan to use a label,
other than this, why would you want a button without a label and border
if you want to click on it?

Peace, Mike

On 11/29/06, Andrew Trice [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

I'm not sure that approach really works... The buttons don't show up at
all.

 

-Andy

 

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com http://www.cynergysystems.com 

 

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

Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Office: 866-CYNERGY 

 



From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  ups.com http://ups.com ] On Behalf Of
Michael Schmalle


Sent: Wednesday, November 29, 2006 11:05 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Styling in Flex is officially ridiculous

 

Well,

Before your loose it...

try

myButton.setStyle(upSkin, null);

OR

Button {
   upSkin:ClassReference(null);
}

OR

mx:Button upSkin={null}/ 

Peace, Mike

On 11/29/06, ben.clinkinbeard [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

OK. I am usually very hesitant to criticize Adobe because of the
immense respect I have for their employees and the amazing technology
they create. I have built my career around their products. That being
said, the styling capabilities in Flex are downright silly. I have
suffered silently through some small, yet extremely annoying
nuances, but this one takes the cake: You can't style a Button to
not have a border!!!

Developer: Hey button, go ahead and skip your border drawing routine.
Button: Eff that! I love my borders and I ain't getting rid of them
for anyone!

WTF. I can understand not supporting some styling features people
would like, but not supporting one that is just turning something off?
What gives? I realize I could probably subclass Button and override
the drawing but that is uber-overkill for something that should be a
simple attribute.

If someone from Adobe can offer a valid reason for why this isn't
supported I would love to hear it. I would also be very interested to
know if styling is an area that is being focused on for significant
upgrades in future versions.

Thanks,
Ben




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




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




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

 



RE: Eclipse Optimizations. WAS RE: [flexcoders] Flex crashing @ compilation time

2006-11-29 Thread Andrew Trice
I've modified the Flexbuilder.ini file to increase memory usage.  It
speeds it up a good bit, but has also caused the occasional crash of FB.
More detail at: http://eclipsezone.com/eclipse/forums/t61618.html

 

Be sure reference FlexBuilder.ini instead of Eclipse.ini.

C:\Program Files\Adobe\Flex Builder 2\FlexBuilder.ini

 

 

_

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 Steve Kellogg @ Project SOC
Sent: Wednesday, November 29, 2006 12:33 PM
To: flexcoders@yahoogroups.com
Subject: Eclipse Optimizations. WAS RE: [flexcoders] Flex crashing @
compilation time

 

Hey Matt (et al),

 

Does Adobe have any specific suggestions for setting up Eclipse to
prevent the SLUGGISH EDITTING that many of us are seeing?

 

I sometimes have to stop typing for 5-10 seconds to wait for Eclipse to
CATCH UP to what I've typed.  I'm not trying to say that I'm typing so
amazingly fast that you should be impressed (I'm probably an average
typist for a coder):  I'm saying that eclipse is literally falling
5/10/15 characters behind, and I have to just sit there and wait until
it decides to print what I've typed.

 

It FEELS like a memory management/garbage collection issue to me.
This seems more pronounced if a larger source file (2000 lines+) is
open, but sometimes appears in SHORT component files (30 lines?)

 

Any specific suggestions from you guys would really be appreciated.

 

 

Thanks in Advance,

 

 

Steve

 

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Tuesday, November 28, 2006 11:24 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex crashing @ compilation time

 

40 applications is a whole lotta applications to compile, and I believe
the project is going to compile all of them.  Maybe you could create
different projects with the applications and use a library project for
shared code?  Less would need to be re-compiled each time.

 

Matt

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of The Crow
Sent: Tuesday, November 28, 2006 3:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex crashing @ compilation time

 

Hello. I've been using Flex 2 for 3 months now. There's around 40 mxml
applications plus component, and actionscript files in the project and
the compilation (building) time has considerably increased with
time...taking up to 5-10 minutes at times. I've upgraded to Java
1.5.0.09 and changed the settings in the FlexBuilder configuration
file and still no significant improvements have been noticed. Could
anyone help me out with this issue.

Deleting the Bin folder and re-compiling the whole project as well did
not solve the problem.

PC Specs: Pentium 4 HT (3.0 MHz, 1GB DDR2 Memory, Integrated graphic
card)

Thanks for your cooperation.

Regards,
Anoop

 



RE: [flexcoders] Change alpha properties when setting enabled property

2006-11-29 Thread Andrew Trice
override public fuction set enabled(value:Boolean) : void

{

super.enabled = value;

this.setStyle(alpha, ( value ? 1 : .5));

}

 

Enjoy!

 

-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 Sam Shrefler
Sent: Wednesday, November 29, 2006 3:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Change alpha properties when setting enabled
property

 

Could someone tell me how  to modify the alpha settings when setting a
component to enabled=false?

Thanks!

Sam

 



RE: [flexcoders] Change alpha properties when setting enabled property

2006-11-29 Thread Andrew Trice
Sorry... let me elaborate more.  The previous example would be used
inside of the component that is being enabled/disabled.  To do this
outside of a component, you need to do it in actionscript:

 

myComponent.enabled=fase;

myComponent.setStyle(alpha, .5);

 

 

_

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 Andrew Trice
Sent: Wednesday, November 29, 2006 4:19 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Change alpha properties when setting enabled
property

 

override public fuction set enabled(value:Boolean) : void

{

super.enabled = value;

this.setStyle(alpha, ( value ? 1 : .5));

}

 

Enjoy!

 

-Andy

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com http://www.cynergysystems.com 

 

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

Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Office: 866-CYNERGY 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sam Shrefler
Sent: Wednesday, November 29, 2006 3:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Change alpha properties when setting enabled
property

 

Could someone tell me how  to modify the alpha settings when setting a
component to enabled=false?

Thanks!

Sam

 



RE: [flexcoders] Databinding Custom Event

2006-11-28 Thread Andrew Trice
The benefit is that your getter function will be bound to that event, so
any time that event is dispatched, the data binding is updated.  In this
example, it doesn't really stand out that this is a great thing.  Let's
say that there is also a get lastname function that is similar to your
firstname function, and add an updateNames function, so we have this...

 

[Bindable(event=MyEvent)]

public function set firstname(value:String):void

{

_firstname = value;

dispatchEvent( new FlexEvent('MyEvent') );

}

public function get firstname():String

{

return _firstname;

}

private var _firstname:String;

 

[Bindable(event=MyEvent)]

public function set lastname(value:String):void

{

_lastname = value;

dispatchEvent( new FlexEvent('MyEvent') );

}

public function get lastname ():String

{

return _lastname;

}

private var _lastname:String;

 

public function updateNames ( myUpdateObject : Object ):void

{

_firstname = myUpdateObject.firstname; 

_lastname  = myUpdateObject.lastname

dispatchEvent( new FlexEvent('MyEvent') );

}

 

The updateNames function dispatches a single event, which updates the
bindings on both of your getter functions.   Now, the real benefit of
set functions is that you can programmatically execute code when a
value is updated.  Your names example doesn't take full advantage of the
capabilities.  The set function is better suited for when you have
other functions that should be executed any time that your set is
updated.

 

[Bindable(event=MyEvent)]

public function set firstname(value:String):void

{

_firstname = value;

   //execute some code here

   doSomething();

   doSomethingElse();

   doAnotherThing();

dispatchEvent( new FlexEvent('MyEvent') );

}

 

In this example, the data binding gets updated after the other functions
have been executed.  This technique is VERY useful when developing flex
components.  For instance, you can have a function on a custom component
that extends a text box such as: 

 

override public function set text( value : String ) : void

 

And you want other properties to be updated when text has been updated,
so you setup your set function like this:

 

override public function set text( value : String ) : void

{

this.updated = true;

resetComponentState();

super.text = value;

} 

 

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 Bjorn Schultheiss
Sent: Tuesday, November 28, 2006 9:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Databinding Custom Event

 

Hey,

 

What if any benefits are there to defining a custom event type for your
databinding?

ie:

[Bindable(event=MyEvent)]

public function set firstname(value:String):void

{

_firstname = value;

dispatchEvent( new FlexEvent('MyEvent') );

}

public function get firstname():String

{

return _firstname;

}

private var _firstname:String;

 

vs

[Bindable]

public var lastname:String;

 

Regards,

Bjorn

 



RE: [flexcoders] how to handle and || in mxml

2006-11-04 Thread Andrew Trice












You have to html-encode the ampersand as amp;,
the pipe should be fine as it is



?xml
version=1.0 encoding=utf-8?

mx:Application 

 xmlns:mx=http://www.adobe.com/2006/mxml


 layout=horizontal

 

 mx:Script

 ![CDATA[

 

 [Bindable]

 private
var bool1 : Boolean = false;

 [Bindable]

 private
var bool2 : Boolean = true;

 

 ]]

 /mx:Script

 

 mx:Button
enabled={ bool1 amp;amp; bool2 } label=AND
operator /

 mx:Button
enabled={ bool1 || bool2 } label=OR operator /

 

/mx:Application





-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:flexcoders@yahoogroups.com] On Behalf Of boy_trike
Sent: Saturday, November 04, 2006
9:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to
handle  and || in mxml











I want to be able to enter:
 enabled = {varA == 1  varB == 2} in my MXML. This
does not work. Is there a way 
to escape or use the AND/OR in mxml.

thanks

bruce






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Re: gant chart

2006-10-31 Thread Andrew Trice












Glad you like the example. I agree
that this is not the best solution, but it is a very reasonable
solution for 2 reasons:



1) Its quick and easy and will get the job done for a large
number of scenarios.

2) Not all clients want/need the full dependencies.



Karls solution is actually very
similar to mine, although it uses a tree instead of a datagrid (and it is done
in Flex 1.5). Having full dependencies and linked tasks will definitely require
a custom control. Trying to add those by extending a datagrid would be a
lot of work, and would still be very clunky. It really
depends on your requirements and schedule to determine which solution works
best, this can be just another weapon in the flex arsenal.



-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:flexcoders@yahoogroups.com] On Behalf Of iko_knyphausen
Sent: Tuesday, October 31, 2006
1:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: gant
chart













Nice work, Andrew. It sure illustrates the flex-ibility of the dataGrid.
I am not entirely convinced that the dataGrid is the best way to go
though... I mean for a pro-component. I think a combination of datagrid
(or tree) and canvas could be easier down the road. By this I mean, once
you get into drawing dependency lines - as an example - (which can go
across multiple rows either up or down, backwards, and sometimes around
objects) a grid and the itemrenderer could face a hard time. I believe
there is a colleague of yours at cynergy, by the name of Karl Johnson,
who has done some work on this subject too - I am sure he can offer some
valuable input as well. Have seen some earlier posts coming from him...
Hey, don't get me wrong, thanks for putting up these samples - really
appreciate this kind of pro-bono work; this is very helpful to
study,
especially for newbies like myself.

--- In [EMAIL PROTECTED]ups.com,
Andrew Trice andrew.trice@...
wrote:

 I threw together an example over the weekend using a datagrid to show
a
 very basic Gantt Chart. It really wasn't that difficult. It would take
 more time to get it looking polished, but definitely less effort than
 creating chart, series, and renderers as a custom component. You can
 check it out here:




http://www.cynergysystems.com/blogs/page/andrewtrice?entry=gantt_charts_
 in_flex_datagrids



 _

 Andrew Trice

 Cynergy Systems, Inc.

 http://www.cynergysystems.com



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

 Email: andrew.trice@...

 Office: 866-CYNERGY



 

 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of Andrew Trice
 Sent: Friday, October 27, 2006 5:18 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: RE: [flexcoders] gant chart



 If you want a full gantt chart with dependencies and links to other
 tasks, yes this is a huge undertaking. If you just want a visual
 display of a duration over time it is not so difficult.



 The datagrid approach can easily represent something like:



 [[]]

 --[[]]--

 

 ---[]---

 ---[[[]]



 (hopefully flexcoders doesn't kill the formatting on that)

 _

 Andrew Trice

 Cynergy Systems, Inc.

 http://www.cynergysystems.com
http://www.cynergysystems.com



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

 Email: andrew.trice@...
 mailto:andrew.[EMAIL PROTECTED]

 Office: 866-CYNERGY



 

 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of Jonathan Miranda
 Sent: Friday, October 27, 2006 5:06 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: Re: [flexcoders] gant chart



 Having dove into this long ago with many discussions with people from
 FlexCoders (Ely mostly), I can tell you this is a huge undertaking.
You
 need a:

 -GantChart
 -GantSeries
 -GantChartItem
 -GantSeriesRenderData
 -GantRenderer

 Just to name a few :) I've got a Gantt chart abou 49% done but haven't
 had time to crank on itbut as Ely said at MAX, people would kill
for
 it if you finished it and released it.

 On 10/20/06, Andrew Trice andrew.trice@...
 mailto:andrew.[EMAIL PROTECTED]  wrote:

 You could create itemrenderers for a datagrid that utilize the drawing
 API to draw the horizontal lines for your data.



 For instance, have a grid like this:



 Column 1: task name

 Column 2: duration

 Column 3: start date

 Column 4: item renderer that draws out task length with respect to
width
 of column. Use the drawing api to draw lines/rectangles to represent a
 duration of time.



 You could also have a custom

RE: [flexcoders] create a jpeg from a chart control?

2006-10-28 Thread Andrew Trice













Take a look at this. It 
will show you how to get the BitmapData from any UIComponent. You can use 
the Jpg encoder class that is part of the corelib project on adobe labs to 
convert it to a jpg. Then use a remoteobject method to push the bitmap to 
your server (if that is what you are trying to do).

http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitmapdata_tricks_and

-Andy


From: flexcoders@yahoogroups.com on behalf of 
mschumacher74Sent: Sat 10/28/2006 2:27 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] create a jpeg from a 
chart control?




Hi friends,I have a Flex 2 chart, one of the requirements for the 
project is to be able to create an image of the chart that the user may be 
able to save and/or paste into presentations etc. At the MAX conf yesterday, 
I was told that BitMap is the class to use for this purpose. However, I 
don't see the relevant API for this purpose. Could you please provide a 
sample piece of code to help me out. Thanks much in 
advance.Khurram 



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___










RE: [flexcoders] gant chart

2006-10-27 Thread Andrew Trice












If you want a full gantt chart with
dependencies and links to other tasks, yes this is a huge undertaking. If you
just want a visual display of a duration over time it is not so difficult.



The datagrid approach can easily represent
something like:



[[]]

--[[]]--



---[]---

---[[[]]



(hopefully flexcoders doesnt kill
the formatting on that)



_

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 Jonathan Miranda
Sent: Friday, October 27, 2006
5:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] gant
chart











Having dove into this long ago with many discussions
with people from FlexCoders (Ely mostly), I can tell you this is a huge
undertaking. You need a:

-GantChart
-GantSeries
-GantChartItem
-GantSeriesRenderData 
-GantRenderer

Just to name a few :) I've got a Gantt chart abou 49% done but haven't had time
to crank on itbut as Ely said at MAX, people would kill for it if you
finished it and released it.



On 10/20/06, Andrew
Trice [EMAIL PROTECTED]
wrote:











You could create
itemrenderers for a datagrid that utilize the drawing API to draw the
horizontal lines for your data.



For instance, have a grid
like this:



Column 1: task name

Column 2: duration

Column 3: start date

Column 4: item renderer
that draws out task length with respect to width of column. Use the
drawing api to draw lines/rectangles to represent a duration of time. 



You could also have a
custom datagrid column header that uses the drawing API to draw a scale for the
time shown in column 4. 



Using a datagrid
component for this also keeps it very easy to get data into your Gantt chart.





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com




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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From:
[EMAIL PROTECTED] ups.com
[mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Iko Knyphausen
Sent: Friday, October 20, 2006
3:58 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] gant chart















There is a flash component out there (http://www.anychart.com/products/anychartgantt.shtml).
I have emailed them with some questions, but have not yet received a response.
If you know others, please let me know. I would be quite interested in such a chart for my flex apps too...



I have written a Gantt in DHTML and _javascript_ and
it's not entirely trivial. It also depends on the kind of features you want to
offer, for example dependency lines, summary tasks, task progress, time line
scale, just to name a few.



At the time, I wrote a container and then added task
objects on the fly. The container would know how to render the task objects,
and the task objects themselves carried their information such as start and end
date, dependencies, progress status, etc. If your chart
is supposed to be interactive, you should also offer some events to be raised:
e.g. Task was clicked, dependency was dragged, chart was
scrolled down (so that you can connect the chart to a
grid and scroll them in parallel). As you can see, it quickly gets complex.



There is another company that offers interactive
Gantts, ILOG (http://www.ilog.com/products/jviews/gantt/ )
but I am not sure what they offer in terms of licensing and whether they will
offer anything in the flash/flex space.



Hope this helps -Iko







From:
[EMAIL PROTECTED] ups.com
[mailto:[EMAIL PROTECTED]ups.com] On Behalf Of arnold_charming
Sent: Friday, October 20, 2006
12:27 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] gant chart











Hello!

I'm currently working on builidng a gant chart for my
application. And
I have some question for which I would be very gratefull if you could
help me out.

1. Because gant chart doesn't have a fix number of tasks,
how to setup
a chart legend?
2. How can I build a gant chart from XML file? Till now I
just found
solutions with ArrayColletions.
3. How to build a dynamic (programmable) gant chart?

Thank you.




































__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development

RE: [flexcoders] Can I dock anything to the BOTTOM of the screen

2006-10-24 Thread Andrew Trice












You could extend the mx.core.Application
class to override the layoutchrome, get viewMetrics, and measure methods. This
would allow you to have a true dock to the bottom of the
application.





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike Anderson
Sent: Monday, October 23, 2006
12:27 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Can I
dock anything to the BOTTOM of the screen











Yeah I know - I wanted to do the same thing - 

Flex seems to be locked into a Top Down approach when it comes to
layouts...

With that said, to get my Application Bar to stick at the bottom, I set
the Bottom setting to like 5 or 10, and then give it the
appropriate
height setting to accommodate your child controls.

Sounds like an oversimplified answer, but that's how to do it as far as
I can tell...

Mike 

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of boy_trike
Sent: Monday, October 23, 2006 11:09 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Can I dock anything to the BOTTOM of the screen

I have an application bar docked to the top of the screen. Is there any
way to dock anything to the BOTTOM of the screen? 

Thanks

Bruce

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






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






FW: [flexcoders] Can I dock anything to the BOTTOM of the screen

2006-10-24 Thread Andrew Trice












I sent this earlier, but it is not showing
up in flexcoders, so let me try again



You could extend the mx.core.Application
class to override the layoutchrome, get viewMetrics, and measure methods.
This would allow you to have a true dock to the bottom of
the application.





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike Anderson
Sent: Monday, October 23, 2006
12:27 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Can I
dock anything to the BOTTOM of the screen











Yeah I know - I wanted to do the same thing - 

Flex seems to be locked into a Top Down approach when it comes to
layouts...

With that said, to get my Application Bar to stick at the bottom, I set
the Bottom setting to like 5 or 10, and then give it the
appropriate
height setting to accommodate your child controls.

Sounds like an oversimplified answer, but that's how to do it as far as
I can tell...

Mike 

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of boy_trike
Sent: Monday, October 23, 2006 11:09 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Can I dock anything to the BOTTOM of the screen

I have an application bar docked to the top of the screen. Is there any
way to dock anything to the BOTTOM of the screen? 

Thanks

Bruce

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






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Datagrid Style issues

2006-10-22 Thread Andrew Trice












I am not aware of functionality similar to
colspan. You can draw use the drawing API to draw thicker
lines. Take a look at the bottom of my blog post here



http://www.cynergysystems.com/blogs/page/andrewtrice?entry=changing_the_header_separator_on




You can also take a look at the DataGridHeaderSeparator
class in the framework SDK source code (C:\Program Files\Adobe\Flex Builder
2\Flex SDK 2\frameworks\source\mx\skins\halo) to see how it is done using the
default framework skin.



-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:flexcoders@yahoogroups.com] On Behalf Of John Mazzocchi
Sent: Sunday, October 22, 2006
9:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Datagrid
Style issues











I still
haven't found solutions to the following problems, so I thought I'd ask again:

1. Is there an equivalent of colspan for datagrids? Do I need to play with
headerRenderer perhaps? I just want to place a heading sitting over two others.

Something that looks like this:

-
| | | Business |
| Name | Value | Amount | Percent |
-
| John | 4.5 | 32.55 | 20.5 |

I'd like Business sitting over the Amount and
Percent columns.

2. Is there a way to draw (thicker) vertical lines between two columns. In the
diagram above that would mean a thicker separator line between say,
the Value and Amount columns.

I noticed a function drawVerticalLine() in the help files, but I'm not
ssure how to use it. 

Any examples would be greatly appreciated.

Cheers
John






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Re: Making the datagrid header background alpha 0

2006-10-20 Thread Andrew Trice












Nice, I like how that turned out.





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff
Sent: Wednesday, October 18, 2006
8:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Making
the datagrid header background alpha 0











Hi Hank,

Here's a
litle more elaborate example that uses a similar approach to Andy's. You
can set the headerAlphas to the same or different values as the grid's
backgroundAlpha.

View Sample

-TH
__



Tim Hoff
Cynergy Systems, Inc.
http://www.cynergysystems.com
Office: 866-CYNERGY


--- In [EMAIL PROTECTED]ups.com,
Andrew Trice andrew.trice@... wrote:

 I was able to get the *header* to be transparent doing the following,
 but the color of the ListBaseContentHolder shows through and is not
 transparent. If you set backgroundAlpha=0 on the
datagrid, then it
 will be completely transparent, but then you also lose any row
 background colors that you may have had, but highlight colors still
 work.
 
 
 
 MXML Markup:
 
 ?xml version=1.0 encoding=utf-8?
 
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 xmlns:local=* layout=absolute
 
 
 
 mx:Style
 
 DataGrid {
 
 backgroundAlpha:0;
 
 } 
 
 /mx:Style
 
 
 
 local:MyDataGrid x=10 y=10 dataProvider={[1,2,3,4,5]}
 
 
 local:columns
 
 mx:DataGridColumn
 headerText=Column 1 dataField=col1/
 
 mx:DataGridColumn
 headerText=Column 2 dataField=col2/
 
 mx:DataGridColumn
 headerText=Column 3 dataField=col3/
 
 /local:columns
 
 /local:MyDataGrid
 
 
 
 /mx:Application
 
 
 
 MyDataGrid Class:
 
 package
 
 {
 
 import mx.controls.DataGrid;
 
 import mx.core.UIComponent;
 
 
 
 public class MyDataGrid extends DataGrid
 
 {
 
 override protected function
 drawHeaderBackground( headerBG : UIComponent ) : void
 
 {
 
 headerBG.alpha = 0;
 
 }
 
 }
 
 }
 
 
 
 _
 
 Andrew Trice
 
 Cynergy Systems, Inc.
 
 http://www.cynergysystems.com
 
 
 
 Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
 
 Email: andrew.trice@...
 
 Office: 866-CYNERGY 
 
 
 
 
 
 From: [EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of hank williams
 Sent: Wednesday, October 18, 2006 2:50 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: Re: [flexcoders] Re: Making the datagrid header background
 alpha 0
 
 
 
 Jim,
 
 Thanks, buy yeah I've tried that and it doesnt work. I can set the
 font, but not the backgroundAlpha.
 
 Hank
 
 On 10/18/06, Jim Robson [EMAIL PROTECTED]..
 mailto:jim.robson%40eyestreet.com  wrote:
  Hank,
 
  Did you try using headerStyleName?
 
  Something like this:
 
  DataGrid {
  headerStyleName: myHeaderStyle;
  }
  .myHeaderStyle{
  backgroundAlpha: 0.0;
  }
 
  -Jim
 
  --- In [EMAIL PROTECTED]ups.com
 mailto:flexcoders%40yahoogroups.com , hank
williams hank777@
 wrote:
  
   I want to make my datagrid header transparent the way the body
is,
 but
   there is no field for header alpha as far as I can see. I am
sure I
   could make some kind of skin, but I havent much looked into
skinning
   the datagrid and was wondering if there was some fairly easy way
to
   acheive the effect I am looking for.
  
   Hank
  
 
 
 
 
 
  --
  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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] gant chart

2006-10-20 Thread Andrew Trice












You could create itemrenderers for a
datagrid that utilize the drawing API to draw the horizontal lines for your
data.



For instance, have a grid like this:



Column 1: task name

Column 2: duration

Column 3: start date

Column 4: item renderer that draws out
task length with respect to width of column. Use the drawing api to draw
lines/rectangles to represent a duration of time. 



You could also have a custom datagrid column
header that uses the drawing API to draw a scale for the time shown in column 4.




Using a datagrid component for this also
keeps it very easy to get data into your Gantt chart.





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Iko Knyphausen
Sent: Friday, October 20, 2006
3:58 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] gant
chart















There is a flash
component out there (http://www.anychart.com/products/anychartgantt.shtml).
I have emailed them with some questions, but have not yet received a response.
If you know others, please let me know. I would be quite interested in such a
chart for my flex apps too...



I have written a
Gantt in DHTML and _javascript_ and its not entirely trivial. It also
depends on the kind of features you want to offer, for example dependency
lines, summary tasks, task progress, time line scale, just to name a few.



At the time, I
wrote a container and then added task objects on the fly. The container would
know how to render the task objects, and the task objects themselves carried
their information such as start and end date, dependencies, progress status,
etc. If your chart is supposed to be interactive, you should also offer some
events to be raised: e.g. Task was clicked, dependency was dragged, chart was
scrolled down (so that you can connect the chart to a grid and scroll them in
parallel). As you can see, it quickly gets complex.



There is another
company that offers interactive Gantts, ILOG (http://www.ilog.com/products/jviews/gantt/
) but I am not sure what they offer in terms of licensing and
whether they will offer anything in the flash/flex space.



Hope this helps
-Iko







From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of arnold_charming
Sent: Friday, October 20, 2006
12:27 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] gant chart











Hello!

I'm currently working on builidng a gant chart for my application. And
I have some question for which I would be very gratefull if you could
help me out.

1. Because gant chart doesn't have a fix number of tasks, how to setup
a chart legend?
2. How can I build a gant chart from XML file? Till now I just found
solutions with ArrayColletions.
3. How to build a dynamic (programmable) gant chart?

Thank you.














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Button Click

2006-10-19 Thread Andrew Trice












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





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













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













Hi All,



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



Thanks

Kumar








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






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

2006-10-19 Thread Andrew Trice












Set the includeInLayout property to false
also.





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













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











Hi,

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

Thanks!
Jonas






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Whats the best way of adding print/pdf output to a flex app?

2006-10-18 Thread Andrew Trice













I'm in the Washington, DC 
office. It is a fun place to work... lots of cool projects from vc 
startups to major institutions. If you or anyone else on this 
listhasany interest, be sure to send your resume to [EMAIL PROTECTED]. We have 
several offices located around the country. We just opened the new one in 
DC this week.

-Andy


From: flexcoders@yahoogroups.com on behalf of 
Iko KnyphausenSent: Tue 10/17/2006 11:22 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?







Very good info, Andy. Thanks. I will study and digest 
(am also using PDF995 as a driver, so this would work). Out of curiosity, which 
Cynergy office do you work from? Seems like a kewl company to work 
for...




From: 
[EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Andrew 
TriceSent: Tuesday, October 
17, 2006 6:55 PMTo: 
[EMAIL PROTECTED]ups.com; [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?






There is actually 
printing capability built natively into Flex. It uses your OS printing 
capabilities. If you have a pdf-print driver installed, you can print to 
pdf.



http://livedocs.macromedia.com/flex/2/langref/mx/printing/FlexPrintJob.html 




-Andy



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





From: 
[EMAIL PROTECTED]ups.com on behalf of Iko KnyphausenSent: Tue 10/17/2006 9:16 PMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?






By all means... I am thrilled there is so much 
contribution to this topic. One of my interests is to also print Charts that 
were created as a result from a data driven query. So a backend/server based 
data-driven solution alone will not help, I am afraid. Flash paper sounds 
promising... Since these are Adobe / MM related products, it would be kind of 
super-nice ;-) wink if there could be a native mx:control (like a print-page 
container).

Ideas?-Iko 



From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Mike 
AndersonSent: Tuesday, October 
17, 2006 5:00 PMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?




Continuing this thread 
-

Since FlashPaper is 
native to the whole "Macromedia and Adobe" suite of products, would FlashPaper 
be just as good of a solution as a PDF?

And with that said, if 
FlashPaper is an acceptable solution for some users, could a FlashPaper document 
be created directly within a Flex Application?

This would give a user, 
a ton of power, if they wanted to create documents for distribution, or for hard 
copy / archival purposes.

I'd love to hear more 
regarding this topic, and I hope you don't mind me chiming in on your original 
thread Iko - I am sure any further information will benefit both of us 
:)

Thanks,

Mike




From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Nick 
CollinsSent: Tuesday, October 
17, 2006 5:45 PMTo: 
[EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?
I would say your best bet is likely to store your data 
into a database (which you're likely already doing) then use a backend PDF 
writer or report generation script in whatever backend language you're using. 
Coldfusion has this built in I know, and I know there are components available 
for .Net that allow quite a bit of flexibility. 

On 10/17/06, iko_knyphausen [EMAIL PROTECTED]net 
wrote: 




Assume you were producing reports with columns, 
summaries, charts, thatsort of thing, is there a good way of getting this to 
a printer or pdffile? Any components out there that will help dimensions, 
page 
breaks,etc.ThanksIko


 



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___










RE: [flexcoders] Re: Making the datagrid header background alpha 0

2006-10-18 Thread Andrew Trice












I was able to get the *header* to be transparent doing the
following, but the color of the ListBaseContentHolder shows through and is not
transparent. If you set backgroundAlpha=0 on the datagrid, then
it will be completely transparent, but then you also lose any row background colors
that you may have had, but highlight colors still work.



MXML
Markup:

?xml version=1.0
encoding=utf-8?

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml xmlns:local=*
layout=absolute

 

 mx:Style

 DataGrid {

 backgroundAlpha:0;

 } 

 /mx:Style

 

 local:MyDataGrid
x=10 y=10 dataProvider={[1,2,3,4,5]} 

 local:columns

 mx:DataGridColumn
headerText=Column 1 dataField=col1/

 mx:DataGridColumn
headerText=Column 2 dataField=col2/

 mx:DataGridColumn
headerText=Column 3 dataField=col3/

 /local:columns

 /local:MyDataGrid

 

/mx:Application



MyDataGrid
Class:

package

{

 import mx.controls.DataGrid;

 import mx.core.UIComponent;



 public class MyDataGrid
extends DataGrid

 {

 override
protected function drawHeaderBackground( headerBG : UIComponent ) : void

 {

 headerBG.alpha
= 0;

 }

 }

}





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams
Sent: Wednesday, October 18, 2006
2:50 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
Making the datagrid header background alpha 0











Jim,

Thanks, buy yeah I've tried that and it doesnt work. I can set the
font, but not the backgroundAlpha.

Hank

On 10/18/06, Jim Robson [EMAIL PROTECTED]t.com
wrote:
 Hank,

 Did you try using headerStyleName?

 Something like this:

 DataGrid {
 headerStyleName: myHeaderStyle;
 }
 .myHeaderStyle{
 backgroundAlpha: 0.0;
 }

 -Jim

 --- In [EMAIL PROTECTED]ups.com,
hank williams [EMAIL PROTECTED] wrote:
 
  I want to make my datagrid header transparent the way the body is,
but
  there is no field for header alpha as far as I can see. I am sure I
  could make some kind of skin, but I havent much looked into skinning
  the datagrid and was wondering if there was some fairly easy way to
  acheive the effect I am looking for.
 
  Hank
 





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











__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] LinkBar ViewStack Problem

2006-10-17 Thread Andrew Trice












Try setting creationPolicy=all
on your viewstack. This will ensure that the child components have been
created. FYI You do not want to use this approach too often, especially
on deeply nested components. It can drastically increase the initialization
time of your applications.



It might be a better approach to bind the
textinput text value to the datagrids selected item 



mx:TextInput id=input
text={list.selectedItem.someValue} /







_

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 Daniel
Sent: Tuesday, October 17, 2006
11:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] LinkBar
ViewStack Problem











Hello all!

I've been having this particular problem, I have 2 canvas inside a
viewStack, lest say something like:

mx:ViewStack id=viewStack width=100%
height=100%
mx:Canvas id=list label=List
mx:DataGrid doubleClickEnabled=true 
doubleClick=viewStack.selectedIndex = 1;
input.text=list.selectedItem.someValue
/mx:DataGrid
/mx:Canvas
mx:Canvas id=form label=Form
mx:TextInput id=input/
/mx:Canvas
/mx:ViewStack

Its simple, but whenever I double-click on the DataGrid, Flex gives an
error saying that it can't access a null object (referring to the
textinput input that is defined inside the second Canvas and is
hidden).

I've noticed that when one uses viewstacks or accordions and wants to
access to an object inside a container that is hidden to initialize
it, there is no way to access it. 

I've tried selecting the canvas first and then assinging the data,
like I did in the code above, but doesn't work either.

I really need help with this, otherwise Im gonna have to change the
layout of the hall application.

Thanks in advance!






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Whats the best way of adding print/pdf output to a flex app?

2006-10-17 Thread Andrew Trice













There is actually printing 
capability built natively into Flex. It uses your OS printing 
capabilities. If you have a pdf-print driver installed, you can print to 
pdf.

http://livedocs.macromedia.com/flex/2/langref/mx/printing/FlexPrintJob.html

-Andy

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


From: flexcoders@yahoogroups.com on behalf of 
Iko KnyphausenSent: Tue 10/17/2006 9:16 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?







By all means... I am thrilled there is so much 
contribution to this topic. One of my interests is to also print Charts that 
were created as a result from a data driven query. So a backend/server based 
data-driven solution alone will not help, I am afraid. Flash paper sounds 
promising... Since these are Adobe / MM related products, it would be kind of 
super-nice ;-) wink if there could be a native mx:control (like a print-page 
container).

Ideas?-Iko 



From: 
[EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Mike 
AndersonSent: Tuesday, October 
17, 2006 5:00 PMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?




Continuing this thread 
-

Since FlashPaper is 
native to the whole "Macromedia and Adobe" suite of products, would FlashPaper 
be just as good of a solution as a PDF?

And with that said, if 
FlashPaper is an acceptable solution for some users, could a FlashPaper document 
be created directly within a Flex Application?

This would give a user, 
a ton of power, if they wanted to create documents for distribution, or for hard 
copy / archival purposes.

I'd love to hear more 
regarding this topic, and I hope you don't mind me chiming in on your original 
thread Iko - I am sure any further information will benefit both of us 
:)

Thanks,

Mike




From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Nick 
CollinsSent: Tuesday, October 
17, 2006 5:45 PMTo: 
[EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Whats the best 
way of adding print/pdf output to a flex app?
I would say your best bet is likely to store your data 
into a database (which you're likely already doing) then use a backend PDF 
writer or report generation script in whatever backend language you're using. 
Coldfusion has this built in I know, and I know there are components available 
for .Net that allow quite a bit of flexibility. 

On 10/17/06, iko_knyphausen [EMAIL PROTECTED]net 
wrote: 




Assume you were producing reports with columns, 
summaries, charts, thatsort of thing, is there a good way of getting this to 
a printer or pdffile? Any components out there that will help dimensions, 
page 
breaks,etc.ThanksIko


 



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___










RE: [flexcoders] Invalidating a control during a CPU intensive task.

2006-10-16 Thread Andrew Trice












I havent had a lot of luck with
this approach in the past. Even though you are telling it to update at
that moment, it doesnt mean the flash player will redraw at exactly that
time. The player waits until it has enough resources to perform the
redraw action. If your process is hogging all of the cpu cycles, then it
is not going to redraw. I have successfully achieved this type of functionality
by changing how I processed my data. Instead of looping over a large
dataset, I used a timer to call a function every millisecond. In that
function, I perform whatever action is necessary on one item. Then
process the next data item in the next timer event. This gives the player
a break in between function calls, where it has the resources to
update the screen. The code is more complex and performs slightly slower
than just looping over the data, but it also prevents any errors where the
player times out the function b/c the function is taking too long to execute.




This *might*
help you, but I make no guarantees. It depends what your function does,
and how you are processing your data. This option may not even be
feasible for you.



-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 Daniel Freiman
Sent: Monday, October 16, 2006
1:41 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Invalidating a control during a CPU intensive task.











There are two issues:

First, the progress bar is listening for your source to send events that
progress was made (that's the way bound variables are implemented). I
forget whether events are dispatched immediately, or at the next free
moment. If it's immediately, than this isn't a problem. Otherwise,
you're going to have to update the progress directly. 

Second, the Progress bar redraws itself using updateDisplayList().
Whenever the progress (the internal value) is updated in the bar, the bar calls
invalidateDisplayList(). Invalidate display list tells
updateDisplayList() to run at the next free moment. In your
scenerio, there is no next free moment, so we need to shortcut that wait.
Normally this would be done by extending the progress bar and overriding some
functionality, but everything you need to get to is private so we can't do
that...sort of. Something that might work would be to override invalidateDisplayList()
and have it call updateDisplayList() intead of doLater(updateDisplayList).
However, this is a bad idea because it might cause an error on initialization
and in general isn't great for performance. However, if the progress bar
isn't used much it might work fine for your purposes. Otherwise you'd
need to update the value directly instead of being bound. You'd want to
do that through a function you create (let's call it setProgressNow) that calls
setProgress() and then calls updateDisplayList() that sets the
progress and then calls updateDisplayList immediately. 

Let me know if any of that didn't make sense or won't work for some reason I
haven't thought of.

- Dan



On 10/16/06, Steve
Kellogg @ Project SOC [EMAIL PROTECTED]com wrote:





Thanks for your reply.



The value of the progress bar is BOUND to a var. I also
tried updating it directly. I've also tried replacing the progress bar
with a LABEL that just displays text explaining where we're at, but I get the
same result.



Best regards,



Steve















From: [EMAIL PROTECTED]ups.com
[mailto:
[EMAIL PROTECTED]ups.com] On
Behalf Of Daniel Freiman
Sent: Monday, October 16, 2006
8:03 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders]
Invalidating a control during a CPU intensive task.







How does
the progress bar know how much progress has been made? Is it bound to
something, is it listening for an event, it is being updated directly, etc?

- Dan



On
10/15/06, Steve Kellogg @ Project SOC
[EMAIL PROTECTED]com
wrote:





Hello,



I've
got a long CPU routine, and I'm using a progress bar to show the user that
we're making. progress..



The
PROBLEM is that the progress bar doesn't seem to be updating until my long CPU
TASK is complete (presumably because I'm not relinquishing the CPU during the
routine).



Is
there anyway to tell Flex/Flash to IMMEDIATELY redraw an element in the UI?





Thanks
in advance for any advice.





Steve







Steve
Kellogg

Peak8
Solutions

1401 14th Street

Boulder, Colorado


80302, USA

Fax:
303.415.2597

E-Mail: [EMAIL PROTECTED]com































__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development

RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as

2006-10-13 Thread Andrew Trice












Check out this for attaching to the camera
and capturing images from it



http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a



-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:flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks
Sent: Friday, October 13, 2006
1:50 PM
To: flexcoders@yahoogroups.com
Subject: RE: [Junk E-Mail - LOW]
Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as











I don't supposed you can send me some
sample code to get me started? :)



I plan on first building out a flex 2
client for the Panasonic Pan/Tilt webcam (BL-C10A). I have everything working
except for the video stream.



Shan









From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andrew Bourne
Sent: Thursday, October 12, 2006
6:18 PM
To: [EMAIL PROTECTED]ups.com
Subject: [Junk E-Mail - LOW] Re:
[Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as



Hi
Shannon, 

I currently do almost exactly what you are after. I have a socket class that I
use to stream the binary data which I then split into the image packets and
then decode the jpegs via the Loader.loadBytes method. We use a custom protocol
with normal jpegs as the data, so for mjpeg you would probably need to write a
decoder to split the mjpeg stream into the single jpeg frames and then use the
Loader to decode them. 

HTH, 
Andrew


Shannon Hicks wrote: 



Hey, I'm interested in trying to build out
something (in flex 2)that can accept an MJpeg stream. Basically, it's a
stream of one jpg image after another. This would be useful to potentially a
bunch of people who want to show their network webcams via Flash/Flex2.



Anyone a tad more experienced interested
in helping me with this?



Shan









From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of Rich Tretola
Sent: Thursday, October 12, 2006
11:51 AM
To: [EMAIL PROTECTED]ups.com
Subject: [Junk E-Mail - LOW] Re:
[flexcoders] Re: JPEGEncoder.as



The ones at the Adobe lab from the link Darron
provided work fine without any changes.

Rich
http://www.everythingflex.com





On 10/12/06, Andrew
Trice andrew.trice@cynergysystems.com
wrote: 







The
files are old, but they still work. I had to modify JPGEncoder.asso
that it would build correctly in Flex 2 release version. I'd attach it to
this post, but I don't have the source on this computer.











I'm not aware of any decoders.
You could always try to use a loader object to load the ByteArray using the
loadBytes method, and then copy the bitmapData from it.Or you could look
at the JPGEncoder class and reverse engineer it. 











-Andy











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

























From: [EMAIL PROTECTED]ups.com on behalf of nathanpdaniel
Sent: Thu 10/12/2006 12:57 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Re:
JPEGEncoder.as













I see these are image
ENcoders, are there any image DEcoders 
available?

--- In [EMAIL PROTECTED]ups.com,
Rich Tretola [EMAIL PROTECTED]

wrote:

 Thanks Darron,
 
 I had downloaded them from
 http://labs.adobe.com/wiki/index.php/Source:getearlier
but they were
 very old files.
 
 Rich
 
 On 10/11/06, Darron J. Schall [EMAIL PROTECTED]
wrote:
 
  They're in the Adoeb Labs SVN:
 
 
  
http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/a
ctionscript3/com/adobe/images/
 
  -d
 
  Rich Tretola wrote:
 
  Anyone have a new copy of JPEGEncoder.as?
 
  Rich*
  *
 
 
  
 
 
 
 
 -- 
 Rich Tretola
 mx:EverythingFlex/
 http://www.EverythingFlex.com

















-- 
Rich Tretola
mx:EverythingFlex/
http://www.EverythingFlex.com 







--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006





--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006











--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.3/473 - Release Date: 10/12/2006






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services

RE: [flexcoders] Re: JPEGEncoder.as

2006-10-12 Thread Andrew Trice













The files are old, but they 
still work. I had to modify JPGEncoder.asso that it would build 
correctly in Flex 2 release version. I'd attach it to this post, but I 
don't have the source on this computer.

I'm not aware of any decoders. You 
could always try to use a loader object to load the ByteArray using the 
loadBytes method, and then copy the bitmapData from it.Or you could look 
at the JPGEncoder class and reverse engineer it. 

-Andy

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





From: flexcoders@yahoogroups.com on 
behalf of nathanpdanielSent: Thu 10/12/2006 12:57 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
JPEGEncoder.as




I see these are image ENcoders, are there any image DEcoders 
available?--- In [EMAIL PROTECTED]ups.com, 
"Rich Tretola" [EMAIL PROTECTED]. wrote: Thanks 
Darron,  I had downloaded them from http://labs.adobe.com/wiki/index.php/Source:getearlier 
but they were very old files.  Rich  On 
10/11/06, Darron J. Schall [EMAIL PROTECTED] wrote:   
They're in the Adoeb Labs SVN:http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/actionscript3/com/adobe/images/ 
  -d   Rich Tretola wrote: 
  Anyone have a new copy of JPEGEncoder.as? 
  Rich*  *
 --  Rich 
Tretola mx:EverythingFlex/ http://www.EverythingFlex.com 



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___










RE: [flexcoders] cropping image...with Copypixels

2006-10-12 Thread Andrew Trice












Instead of using copyPixels, try something
like this This function crops the bitmapData to the width and
height with respect to the center of the image.



public function centerAndCrop( bitmapData :
BitmapData, cWidth : Number, cHeight : Number ) : BitmapData {

 

 if(cWidth 
bitmapData.width) cWidth = bitmapData.width;

 if(cHeight 
bitmapData.height) cHeight = bitmapData.height;

 

 if(cWidth  1 ||
cHeight  1) return bitmapData

 

 var translateMatrix :
Matrix = new Matrix();

 

 var xOffset : Number
= -Math.abs((bitmapData.width - cWidth)/2);

 var yOffset : Number
= -Math.abs((bitmapData.height - cHeight)/2);

 

 translateMatrix.identity();

 translateMatrix.translate(xOffset,
yOffset);

 

 var returnBitmapData
: BitmapData = new BitmapData(cWidth, cHeight, true);

 

 returnBitmapData.draw(bitmapData,
translateMatrix);

 

 return
returnBitmapData;

 

}



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 learner
Sent: Thursday, October 12, 2006
3:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] cropping
image...with Copypixels













hello ,






Iam trying to do cropping of image which is dynamically assigned to a
vbox component
and i have used following Code:

var bd : BitmapData = new BitmapData(h,w);
var m1 : Matrix = new Matrix();
bd.draw (target, m1);
var puzzlePieceBmp:BitmapData = new BitmapData(target.width,target.height);
puzzlePieceBmp.copyPixels(bd, new Rectangle(x1,y1,h,w), new
Point(0, 0));
imageid.source = puzzlePieceBmp;


this is not working properly, The cropped portion is not of desired height and
width, Can any body suggest me how the Rectangle parameter works for copypixesl
method. 
Its been more than 2 days i am working on this part and i tired searching all
forum ..reading live docs about copypixelsbut no gain 
please guide me in this. Or any one can point me to some URL where the cropping
in flex is demonstrated. 
I would be very grateful
Regards
PS








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [Junk E-Mail - LOW] Re: [flexcoders] Re: JPEGEncoder.as

2006-10-12 Thread Andrew Trice












Id recommend using the socket class to
stream the data to your application as a ByteArray. Then use the loader classs
loadBytes method to render the images as you get them. Sorry, Im not familiar
with MJpeg, so I cant get much more specific. 



-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:flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks
Sent: Thursday, October 12, 2006
1:32 PM
To: flexcoders@yahoogroups.com
Subject: RE: [Junk E-Mail - LOW]
Re: [flexcoders] Re: JPEGEncoder.as











Hey, I'm interested in trying to build out
something (in flex 2)that can accept an MJpeg stream. Basically, it's a
stream of one jpg image after another. This would be useful to potentially a
bunch of people who want to show their network webcams via Flash/Flex2.



Anyone a tad more experienced interested
in helping me with this?



Shan









From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rich Tretola
Sent: Thursday, October 12, 2006
11:51 AM
To: [EMAIL PROTECTED]ups.com
Subject: [Junk E-Mail - LOW] Re:
[flexcoders] Re: JPEGEncoder.as



The ones at the Adobe lab from the link Darron
provided work fine without any changes.

Rich
http://www.everythingflex.com





On 10/12/06, Andrew
Trice andrew.trice@cynergysystems.com
wrote: 







The
files are old, but they still work. I had to modify JPGEncoder.asso
that it would build correctly in Flex 2 release version. I'd attach it to
this post, but I don't have the source on this computer.











I'm not aware of any decoders.
You could always try to use a loader object to load the ByteArray using the
loadBytes method, and then copy the bitmapData from it.Or you could look
at the JPGEncoder class and reverse engineer it. 











-Andy











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

























From: [EMAIL PROTECTED]ups.com on behalf of nathanpdaniel
Sent: Thu 10/12/2006 12:57 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Re:
JPEGEncoder.as













I see these are image
ENcoders, are there any image DEcoders 
available?

--- In [EMAIL PROTECTED]ups.com,
Rich Tretola [EMAIL PROTECTED] 
wrote:

 Thanks Darron,
 
 I had downloaded them from
 http://labs.adobe.com/wiki/index.php/Source:getearlier
but they were
 very old files.
 
 Rich
 
 On 10/11/06, Darron J. Schall [EMAIL PROTECTED] wrote:
 
  They're in the Adoeb Labs SVN:
 
 
  
http://labs.adobe.com/svn/flashplatform/?/projects/corelib/trunk/src/a
ctionscript3/com/adobe/images/
 
  -d
 
  Rich Tretola wrote:
 
  Anyone have a new copy of JPEGEncoder.as?
 
  Rich*
  *
 
 
  
 
 
 
 
 -- 
 Rich Tretola
 mx:EverythingFlex/
 http://www.EverythingFlex.com

















-- 
Rich Tretola
mx:EverythingFlex/
http://www.EverythingFlex.com 







--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Problem with IFrame

2006-09-27 Thread Andrew Trice












The IFrame does not actually get embedded
within the Flex application. It sits on top of it and appears seamless. In
reality, they are only tied together by the HTML that contains the flex
application.



-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:flexcoders@yahoogroups.com] On Behalf Of cheftimbob
Sent: Wednesday, September 27,
2006 3:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with
IFrame











I'm following one of the examples for displaying HTML
in a flex 
application. It uses an IFrame. When I add this to my code:

mx:Panel title=Content width=100% height=100%
paddingTop=1 
paddingBottom=1 paddingLeft=1 paddingRight=1
IFrame id=iFrame width=100% height=100%

urlSource=http://www.yahoo.com
initialCount=20/
mx:ControlBar
mx:CheckBox id=cbVisible label=IFrame Visible selected=true

click=iFrame.visible=cbVisible.selected/
/mx:ControlBar
/mx:Panel

The IFrame line throws and error 'type was not found or was not a 
compile time constant'. 

The example came from:
http://coenraets.com/viewarticle.jsp?articleId=95






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Problem with IFrame

2006-09-27 Thread Andrew Trice












The IFrame component in the example just
contains the _javascript_ that is used to control the HTML-based IFrame that sits
on top of the flex application





?xml version=1.0
encoding=utf-8?



mx:Canvas
xmlns:mx=http://www.macromedia.com/2003/mxml

 resize=doLater(this,
'moveIFrame')

 move=doLater(this,
'moveIFrame')



 mx:Script



 private var __source: String;



 function moveIFrame(): Void {

 var pt={x:0, y:0};

 this.localToGlobal(pt);


getURL(_javascript_:moveIFrame(+pt.x+,+pt.y+,+this.width+,+this.height+));

 //fscommand(moveIFrame,
pt.x+,+pt.y+,+this.width+,+this.height);

 }



 function set source(source:
String): Void {

 if (source) {

 __source = source;

 getURL(source,
myFrame);

 }

 }



 function get source(): String {

 return __source;

 }



 function set visible(visible:
Boolean): Void {

 super.visible=visible;

 if (visible)


getURL(_javascript_:showIFrame());

 //fscommand(showIFrame);

 else


getURL(_javascript_:hideIFrame());


//fscommand(hideIFrame);

 }



 /mx:Script



/mx:Canvas





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews
Sent: Wednesday, September 27,
2006 4:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Problem
with IFrame













- Original Message - 







From: Andrew Trice 





To: [EMAIL PROTECTED]ups.com






Sent: Wednesday,
September 27, 2006 8:58 PM





Subject: RE: [flexcoders]
Problem with IFrame











The IFrame does not actually get embedded within the Flex
application. It sits on top of it and appears seamless. In reality,
they are only tied together by the HTML that contains the flex application.



-Andy







As I understand it there's an MXML iframe too..







_



Andrew Trice



Cynergy Systems, Inc.



http://www.cynergysystems.com





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



Email: andrew.trice@cynergysystems.com



Office: 866-CYNERGY















From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of cheftimbob
Sent: Wednesday, September 27,
2006 3:46 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Problem with
IFrame











I'm
following one of the examples for displaying HTML in a flex 
application. It uses an IFrame. When I add this to my code:

mx:Panel title=Content width=100% height=100%
paddingTop=1 
paddingBottom=1 paddingLeft=1 paddingRight=1
IFrame id=iFrame width=100% height=100%

urlSource=http://www.yahoo.com
initialCount=20/
mx:ControlBar
mx:CheckBox id=cbVisible label=IFrame Visible
selected=true 
click=iFrame.visible=cbVisible.selected/
/mx:ControlBar
/mx:Panel

The IFrame line throws and error 'type was not found or was not a 
compile time constant'. 

The example came from:
http://coenraets.com/viewarticle.jsp?articleId=95














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Problem with IFrame

2006-09-27 Thread Andrew Trice












OK I see what you are saying. The
real problem is the namespace. If you are trying to access Iframe / in
mxml, you need to identify the namespace containing the Iframe.mxml component. If
you look at Christophes example, he sets the namespace on the root as: xmlns=* 







_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews
Sent: Wednesday, September 27,
2006 4:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Problem
with IFrame













- Original Message - 







From: Andrew Trice 





To: [EMAIL PROTECTED]ups.com






Sent: Wednesday,
September 27, 2006 8:58 PM





Subject: RE: [flexcoders]
Problem with IFrame











The IFrame does not actually get embedded within the Flex
application. It sits on top of it and appears seamless. In reality,
they are only tied together by the HTML that contains the flex application.



-Andy







As I understand it there's an MXML iframe too..







_



Andrew Trice



Cynergy Systems, Inc.



http://www.cynergysystems.com





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



Email: andrew.trice@cynergysystems.com



Office: 866-CYNERGY















From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of cheftimbob
Sent: Wednesday, September 27,
2006 3:46 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Problem with
IFrame











I'm
following one of the examples for displaying HTML in a flex 
application. It uses an IFrame. When I add this to my code:

mx:Panel title=Content width=100% height=100%
paddingTop=1 
paddingBottom=1 paddingLeft=1 paddingRight=1
IFrame id=iFrame width=100% height=100%

urlSource=http://www.yahoo.com
initialCount=20/
mx:ControlBar
mx:CheckBox id=cbVisible label=IFrame Visible
selected=true 
click=iFrame.visible=cbVisible.selected/
/mx:ControlBar
/mx:Panel

The IFrame line throws and error 'type was not found or was not a 
compile time constant'. 

The example came from:
http://coenraets.com/viewarticle.jsp?articleId=95














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Flex and Screen / application Sharing

2006-09-25 Thread Andrew Trice












Take a look at this... It *might* help you get some ideas. http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitmapdata_tricks_and




Be sure to read further down, there is a
section on Application Sharing.





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews
Sent: Monday, September 25, 2006 7:22
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex and
Screen / application Sharing











What exactly do you mean by sharing applications/screens?

Paul
- Original Message - 
From: brownd_92
To: [EMAIL PROTECTED]ups.com
Sent: Monday, September 25, 2006 10:52 AM
Subject: [flexcoders] Flex and Screen / application Sharing

Hi guys,
Soes anyone know of a solution of how to share applicaions or screens
with everyone through Flex?
I was thinking of using a third part piece of software and putting an
Iframe in the app. But if it can be done through Flex then it would be
better.

Thanks

David






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Re: Flex and Screen / application Sharing

2006-09-25 Thread Andrew Trice












Granted, my example would need to be
tailored to fit your needs.





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: Andrew Trice 
Sent: Monday, September 25, 2006
9:54 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Re: Flex
and Screen / application Sharing





The blog post that I mentioned earlier
shows how you can use shared objects (which can be used with FMS) to share the
BitmapData of a Flex application (or specific UIComponens). This
sounds like exactly what you are looking for.





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of brownd_92
Sent: Monday, September 25, 2006
9:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex and
Screen / application Sharing











Paul,
this is part of a videoconferencing suite which I am developing with 
Flex and FMS. I would like the presenter to de able to drive the 
presentation from his own machine. A bit like Breeze but on a 
smaller scale.

Cheers

David

--- In [EMAIL PROTECTED]ups.com,
Paul Andrews [EMAIL PROTECTED] wrote:

 David,
 
 I'm sure I'm missing some significant point.
 
 Don't you just put it onto a server with a link to it?
 
 What am I missing here? how can flex improve this sharing?
 
 Paul
 - Original Message - 
 From: brownd_92 
 To: [EMAIL PROTECTED]ups.com

 Sent: Monday, September 25, 2006 2:14 PM
 Subject: [flexcoders] Re: Flex and Screen / application Sharing
 
 
 Paul,
 Im really only talking about someone being able to share something 
 like a powerpoint presentation or something. Nothing too heavy.
 
 Cheers
 
 David
 
 --- In [EMAIL PROTECTED]ups.com,
Paul Andrews paul@ wrote:
 
  What exactly do you mean by sharing applications/screens?
  
  Paul







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Re: Flex and Screen / application Sharing

2006-09-25 Thread Andrew Trice












The blog post that I mentioned earlier
shows how you can use shared objects (which can be used with FMS) to share the BitmapData
of a Flex application (or specific UIComponens). This sounds like exactly
what you are looking for.





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of brownd_92
Sent: Monday, September 25, 2006
9:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex and
Screen / application Sharing











Paul,
this is part of a videoconferencing suite which I am developing with 
Flex and FMS. I would like the presenter to de able to drive the 
presentation from his own machine. A bit like Breeze but on a 
smaller scale.

Cheers

David

--- In [EMAIL PROTECTED]ups.com,
Paul Andrews [EMAIL PROTECTED] wrote:

 David,
 
 I'm sure I'm missing some significant point.
 
 Don't you just put it onto a server with a link to it?
 
 What am I missing here? how can flex improve this sharing?
 
 Paul
 - Original Message - 
 From: brownd_92 
 To: [EMAIL PROTECTED]ups.com

 Sent: Monday, September 25, 2006 2:14 PM
 Subject: [flexcoders] Re: Flex and Screen / application Sharing
 
 
 Paul,
 Im really only talking about someone being able to share something 
 like a powerpoint presentation or something. Nothing too heavy.
 
 Cheers
 
 David
 
 --- In [EMAIL PROTECTED]ups.com,
Paul Andrews paul@ wrote:
 
  What exactly do you mean by sharing applications/screens?
  
  Paul







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Re: Flex and Screen / application Sharing

2006-09-25 Thread Andrew Trice












Thanks, I hope it helps. Good luck!





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of brownd_92
Sent: Monday, September 25, 2006
10:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex and
Screen / application Sharing











Great example by the way. Really smart.

David

--- In [EMAIL PROTECTED]ups.com,
Andrew Trice andrew.trice@... 
wrote:

 Granted, my example would need to be tailored to fit your needs.
 
 
 
 _
 
 Andrew Trice
 
 Cynergy Systems, Inc.
 
 http://www.cynergysystems.com
 
 
 
 Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
 
 Email: andrew.trice@...
 
 Office: 866-CYNERGY 
 
 
 
 
 
 From: Andrew Trice 
 Sent: Monday, September 25, 2006 9:54 AM
 To: 'flexcoders@yahoogroups.com'
 Subject: RE: [flexcoders] Re: Flex and Screen / application Sharing
 
 
 
 The blog post that I mentioned earlier shows how you can use shared
 objects (which can be used with FMS) to share the BitmapData of a 
Flex
 application (or specific UIComponens). This sounds like exactly 
what
 you are looking for.
 
 
 
 _
 
 Andrew Trice
 
 Cynergy Systems, Inc.
 
 http://www.cynergysystems.com
 
 
 
 Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
 
 Email: andrew.trice@...
 
 Office: 866-CYNERGY 
 
 
 
 
 
 From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of brownd_92
 Sent: Monday, September 25, 2006 9:47 AM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] Re: Flex and Screen / application Sharing
 
 
 
 Paul,
 this is part of a videoconferencing suite which I am developing 
with 
 Flex and FMS. I would like the presenter to de able to drive
the 
 presentation from his own machine. A bit like Breeze but on a 
 smaller scale.
 
 Cheers
 
 David
 
 --- In [EMAIL PROTECTED]ups.com
mailto:flexcoders%
40yahoogroups.com
 , Paul Andrews paul@ wrote:
 
  David,
  
  I'm sure I'm missing some significant point.
  
  Don't you just put it onto a server with a link to it?
  
  What am I missing here? how can flex improve this sharing?
  
  Paul
  - Original Message - 
  From: brownd_92 
  To: [EMAIL PROTECTED]ups.com
mailto:flexcoders%
40yahoogroups.com 
  Sent: Monday, September 25, 2006 2:14 PM
  Subject: [flexcoders] Re: Flex and Screen / application Sharing
  
  
  Paul,
  Im really only talking about someone being able to share 
something 
  like a powerpoint presentation or something. Nothing too heavy.
  
  Cheers
  
  David
  
  --- In [EMAIL PROTECTED]ups.com
 mailto:flexcoders%40yahoogroups.com , Paul
Andrews paul@ 
wrote:
  
   What exactly do you mean by sharing applications/screens?
   
   Paul
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] UI Advise

2006-09-22 Thread Andrew Trice












Hi Tim,

I just posted a blog article on this topic
this morning. It is definitely possible to capture the BitmapData of a hidden
object within an Image object. It has examples how to do this. You can check
it out at: 



http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitmapdata_tricks_and



I would use a viewstack to contain 1) the
thumbnail and 2) the component. Perform a mx:Resize effect on
the viewstack, then swap the thumb and component on the EFFET_END event (just
toggle the visible child of the viewstack). If you bind the image to the
constraints of the parent container (using top, left,
right, bottom), then I think that the image *should* scale with the viewstack. You will
definitely need to experiment with the mouse events/interaction on this
it is highly probable that the usability could get quirky behavior that youll
need to fine tune.



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:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff
Sent: Friday, September 22, 2006
4:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] UI Advise











Hi all,

Perhaps some of you gurus can help me determine the best approach 
for a UI that I'm thinking about. The use case will have a popup 
that displays detail information that is related to summary records 
in a DataGrid. When the user makes a grid selection, a popup will 
display. The popup will contain several UI components (thumbnails 
of panels) that each display different detail information. For 
instance, if the grid contained Authors, the popup might contain: 
Biopragraphy, Recent Books, Blog Postings, Articles, etc.. Some of 
the components will contain static text, while others will contain 
lists (DataGrids) or images. 

Now for the fun part. When the user clicks on (or MouseOver) the 
thumbnail, the component will expand (zoom with effect) to the full 
size of the popup and cover the other thumbnails. When the user 
clicks again (or MouseOut) the popup will return to the initial 
thumbnail state (using Cairngorm).

My thoughts are to capture BitmapData of the individual panel 
components and display them as the thumbnails in the initial popup 
state. When the user clicks a thumbnail, change state with zoom 
effect and replace the image with the actual component. If this is 
possible, does anyone have any ideas how I might go about 
accomplishing this idea? In other words, is it possible to capture 
the BitmapData of a component without displaying the component; just 
the image? Also, when the thumbnail zoom completes, how might I 
swap the image with the actual component? I'm pretty sure that 
there is something similar to an EFFECT_END event that I could use 
to change state a second time. But, I'm interested to hear 
different perspectives.

Since Flex will soon be competing with Windows Vista and WPF, I'm 
trying to develop innovative UI's that will rival the competition. 
I would appreciate any ideas anyone might have for this scenario. 
Or, if someone has done something similar, I would love to see the 
code.

Thank you very much in advance,
Tim Hoff






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Re: UI Advise

2006-09-22 Thread Andrew Trice












No problem. Thanks for reading it!





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff
Sent: Friday, September 22, 2006
5:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: UI
Advise











Hi Andy,

I read your article this morning. In fact, it's the reason I 
started thinking about this idea. Thanks for the great article and 
the advise.

-TH

--- In [EMAIL PROTECTED]ups.com,
Andrew Trice andrew.trice@... 
wrote:

 Hi Tim,
 
 I just posted a blog article on this topic this morning. It is
 definitely possible to capture the BitmapData of a hidden object 
within
 an Image object. It has examples how to do this. You can check 
it out
 at: 
 
 
 
 http://www.cynergysystems.com/blogs/page/andrewtrice?
entry=flex_2_bitmap
 data_tricks_and
 
 
 
 I would use a viewstack to contain 1) the thumbnail and 2) the
 component. Perform a mx:Resize effect on the viewstack, then 
swap the
 thumb and component on the EFFET_END event (just toggle the visible
 child of the viewstack). If you bind the image to the constraints 
of
 the parent container (using top, left,
right, bottom), 
then I
 think that the image *should* scale with the viewstack. You will
 definitely need to experiment with the mouse events/interaction on
 this... it is highly probable that the usability could get quirky
 behavior that you'll need to fine tune.
 
 
 
 Hope that helps!
 
 
 
 -Andy
 
 
 
 
 
 _
 
 Andrew Trice
 
 Cynergy Systems, Inc.
 
 http://www.cynergysystems.com
 
 
 
 Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
 
 Email: andrew.trice@...
 
 Office: 866-CYNERGY 
 
 
 
 
 
 From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of Tim Hoff
 Sent: Friday, September 22, 2006 4:50 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] UI Advise
 
 
 
 Hi all,
 
 Perhaps some of you gurus can help me determine the best approach 
 for a UI that I'm thinking about. The use case will have a popup 
 that displays detail information that is related to summary 
records 
 in a DataGrid. When the user makes a grid selection, a popup will 
 display. The popup will contain several UI components (thumbnails 
 of panels) that each display different detail information. For 
 instance, if the grid contained Authors, the popup might contain: 
 Biopragraphy, Recent Books, Blog Postings, Articles, etc.. Some of 
 the components will contain static text, while others will contain 
 lists (DataGrids) or images. 
 
 Now for the fun part. When the user clicks on (or MouseOver) the 
 thumbnail, the component will expand (zoom with effect) to the 
full 
 size of the popup and cover the other thumbnails. When the user 
 clicks again (or MouseOut) the popup will return to the initial 
 thumbnail state (using Cairngorm).
 
 My thoughts are to capture BitmapData of the individual panel 
 components and display them as the thumbnails in the initial popup 
 state. When the user clicks a thumbnail, change state with zoom 
 effect and replace the image with the actual component. If this is 
 possible, does anyone have any ideas how I might go about 
 accomplishing this idea? In other words, is it possible to capture 
 the BitmapData of a component without displaying the component; 
just 
 the image? Also, when the thumbnail zoom completes, how might I 
 swap the image with the actual component? I'm pretty sure that 
 there is something similar to an EFFECT_END event that I could use 
 to change state a second time. But, I'm interested to hear 
 different perspectives.
 
 Since Flex will soon be competing with Windows Vista and WPF, I'm 
 trying to develop innovative UI's that will rival the competition. 
 I would appreciate any ideas anyone might have for this scenario. 
 Or, if someone has done something similar, I would love to see the 
 code.
 
 Thank you very much in advance,
 Tim Hoff







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings

RE: [flexcoders] Video Controller

2006-09-11 Thread Andrew Trice












If you want to play the video inside of
Flex, you will need to convert it to FLV hands down. A lot of people on
this newsgroup mention FFmpeg for video conversion (http://ffmpeg.mplayerhq.hu/). You might
want to look at that. 



-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:flexcoders@yahoogroups.com] On Behalf Of greg h
Sent: Monday, September 11, 2006
11:13 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Video
Controller











KP,

You are correct that the Flex 2 mx.controls.VideoDisplay
and the flash.media.Video
that it utilizes are FLV only (either streaming via FMS or progressive).

Regarding running video files with different formats (.mov,.mpeg,wmv,etc.),
yes that was commonplace with Flash prior to the introduction of the FLV format
with Flash Player 6.

I came up with the following after googling: Flash Quicktime
Integrating
Flash and QuickTime for Dynamic Media Delivery

If you can integrate Flash with the playback of other video formats, surely you
can do it with Flex 2. But I advise that you should not expect components
from Adobe for supporting streaming formats other than FLV. Not with FLV
now so ubiquitous, and with the solid quality with the FLV On2 codec introduced
with Flash 8.

If others do not post with more here about integrating Flex in players for
other video formats, you might try posting also on the Flashcoders
list. 

hth,

g



On 9/11/06, KP
jain_kumar11@yahoo.co.in
wrote:







Hi
All,



I
want to run video files with format (.mov,.mpeg,wmv) etc.



But
what I found when I tried to use video controller that is present in flex
components it supports only flv formats files.



Is
there any way of running video files with different formats.



Please
Help.



Thanks

KP
















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] setup tp 100% using ActionScript 3 with flex 2

2006-09-01 Thread Andrew Trice












Sorry, you wanted height



myVBox.percentHeight=100;





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: Andrew Trice 
Sent: Friday, September 01, 2006
9:28 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] setup tp
100% using ActionScript 3 with flex 2





myVBox.percentWidth=100;





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Willy Ci
Sent: Friday, September 01, 2006
9:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] setup tp
100% using ActionScript 3 with flex 2











I am using flex 2 as UI, in my as file, I try to setup
the height to 100%
myVBox.height = 100%;
I do this all the time in ActionScript 2, but not working in ActionScript 3 any
more, 
error message said it need a int, I also tried 100%, but error said
can't take string. 
can some one help me?
thanks
Willy






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] setup tp 100% using ActionScript 3 with flex 2

2006-09-01 Thread Andrew Trice












myVBox.percentWidth=100;





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Willy Ci
Sent: Friday, September 01, 2006
9:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] setup tp
100% using ActionScript 3 with flex 2











I am using flex 2 as UI, in my as file, I try to setup
the height to 100%
myVBox.height = 100%;
I do this all the time in ActionScript 2, but not working in ActionScript 3 any
more, 
error message said it need a int, I also tried 100%, but error said
can't take string. 
can some one help me?
thanks
Willy








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides

2006-08-23 Thread Andrew Trice












OK, so Ive watching this thread
going back and forth over and over Now its time for my two cents.
It looks like this thread began by someone saying that you cannot use web
services in a real world flex application. Ive got to agree with
Dave on this. You definitely can, and we have done it numerous times here
at Cynergy. 



Are there tradeoffs? Yes. As
others have said already in the post: The decision on what mechanism to
use should be dealt with on a case by case basis. Lets
consider a few things:




 Do
 the web services already exist and can they handle the current load? If
 they do, use them. Why reinvent the wheel? 
 Yes,
 there is a performance advantage to using AMF, but most users will not
 notice the difference in transport speed it is fractions of a
 second. If your application is properly architected and your backend
 is optimized, the end user will never know the difference.






I personally like using remote objects,
but not every solution allows for this. In the cases where you cannot use
remote objects, web services still work great. SOAP is a very verbose
protocol, but by no means is it unusable. If that were the case, why
would web services be so prevalent? Why would there be all the buzz about
service oriented architectures? 



If you feel that a web service is too
verbose or too slow, and you cant use remote objects, then use a
HTTPService to return XML. There are many solutions. It really all
boils down to how you use and retrieve your data and depends on your requirements
and application architecture. If the processing time on the server
is too much for your application to handle, then chances are there is a problem
with your applications back end, not the webservice/serialization layer.




To generalize and say that you should
never use a web service is a very big mistake. 



-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:flexcoders@yahoogroups.com] On Behalf Of Jack Caldwell
Sent: Wednesday, August 23, 2006
10:40 AM
To: flexcoders@yahoogroups.com
Subject: RE: [Junk E-Mail - LOW]
[flexcoders] Re: Choice of backend systems - which provides











Martin:



OK . . . . so the lag time is when the
data gets back to the end-user?



Bottom line . . . . with all things being
equal . . . .



Does a web service request take longer to
process on the server than

aAMF request?



If the answer is . . . . in general yes,
then that can be an issue with an

increase in users.



If the answer is . . . . it depends on the
data being requested and/or the

data format then that seems to suggest
thateveryone must runtests to 

compare results and thentest again
based on scaling up.



Is that about right?



Thanks,



Jack









From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Martin Wood
Sent: Wednesday, August 23, 2006
8:13 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [Junk E-Mail - LOW]
[flexcoders] Re: Choice of backend systems - which provides





Jack Caldwell wrote:
 Dave:
 
 I agree that a 1/3 of a second is not going to be noticed by the end-user.
 
 However, when you add 100s or 1,000s of users . . . . does that make a
 difference?
 
 I don't know . . . . that's why I am asking. You guys have the experience.

It doesn't make any difference as the timings are on the client side, not the 
server.

There will be some difference in time required to handle requests on the server

which may be down to the data format but they would have to be investigated on
a 
case by case basis.

martin.








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] mx:Button but without the border

2006-08-22 Thread Andrew Trice












Why not just use images and style
attributes to skin the button (or use css)? You will not see the default
button skin at all. You will only see the images. If you use
transparent-background png images, the button shape will be the shape the
non-transparent portions of the png image.



mx:Button 

click=myFunction()


id=myButton

upSkin=@Embed('/assets/button_default.png')


 overSkin=@Embed('/assets/
button _hover.png') 

 downSkin=@Embed('/assets/
button_down.png') /



-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 julien castelain
Sent: Tuesday, August 22, 2006
12:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
mx:Button but without the border











hi gunther,

maybe you could subclass SimpleButton, and use a Loader to for your image
just a thought ...





On 8/22/06, Gunther
 gunther.vincke@yahoo.com
wrote:












How do you / what is the best way to make a button with an image or 
a .swf without having the button border ?

I want an image that is clickable (Button) without the button 
border ?

I use:

mx:Style
.nextButtonStyle {
borderStyle: none;
focusThickness: 0;
}
/mx:Style

mx:Button x=484 y=295
styleName=nextButtonStyle icon=@Embed
(source='Images/GoldArrow.swf') /

But this does not hide the button border :-(






















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Genrate Children.

2006-08-21 Thread Andrew Trice












Look at the flash.utils.describeType function
at:

http://livedocs.macromedia.com/flex/2/langref/flash/utils/package.html#describeType()




I believe it is exactly what you are
looking for.



-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:flexcoders@yahoogroups.com] On Behalf Of Kumar
Sent: Monday, August 21, 2006 6:29
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Genrate
Children.













Hi All,



I have a
canvas and in that canvas I have number of children. That children can have
childrens again And this process can go up to n times.



I want to
get all child names and store them in string variable. in proper format like 



root


canvas id=can1


label id=lbl1


/label


panel id=p1


label id=lbl2

/label


/panel

.



.

..

.


canvas



/root



Thanks 

Kumar








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: slider thumb and background image

2006-08-18 Thread Andrew Trice












Take a look at my blog posting example at:
http://www.cynergysystems.com/blogs/page/andrewtrice?entry=customizing_slider_components.




There is an example how to change the size
of the slider thumb and apply styled images on it.



-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:flexcoders@yahoogroups.com] On Behalf Of stevehousefl
Sent: Friday, August 18, 2006 2:07
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: slider
thumb and background image











Can you post how you attached the image?

Thanks,

Steve

--- In [EMAIL PROTECTED]ups.com,
thiru vengadam [EMAIL PROTECTED].. wrote:

 Hi All
 
 I am new to flex, I like to know, how to add a image to the thumb
and adject
 the hight of it, i tried to attach a image for the thumb, its coming
but I
 can't control the thickness of the thumb, and I also want to include the
 image insteard of the line how to achive it.
 
 Regards
 Thiru







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Slider Control

2006-08-18 Thread Andrew Trice












For some reason my last several posts arent
showing up in flexcoders. Let me try this again





Take a look at my blog posting example at:
http://www.cynergysystems.com/blogs/page/andrewtrice?entry=customizing_slider_components.




There is an example how to change the size
of the slider thumb and apply styled images on it.



-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:flexcoders@yahoogroups.com] On Behalf Of stevehousefl
Sent: Friday, August 18, 2006 2:14
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Slider
Control











How can I use an image as my thumb on an HSlider
instead of the little
triangle? Ideally, I would like to have multiple slider controls each
with different images determined at run time.

Thanks in advance,

Steve






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Returning XML from CFMX with AMF0

2006-08-18 Thread Andrew Trice












It is probably processing the entire
result as a string. When you get the result back from the remoteObject
call, set the dataProvider of your tree to a new xml object created using the
string value of your result.



Something like this



mx:Script

![CDATA[

 private
function handleResult( result:Object ) : void

 {


  myTree.dataProvider
= new XML( result.toString() );

 }

]]

/mx:Script



mx:RemoteObject   
result=handleResult(event.result) /





-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 Battershall, Jeff
Sent: Thursday, August 17, 2006
3:12 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Returning XML from CFMX with AMF0











As an additional note - it is taking my entire XML
document and making
it the label of a single root node. 

Like: [foldericon] myEntireXMLDocAsText

The XML object I'm creating in CF is using the the CF xml functions.
Perhaps I should just scrap that and return a string.

Jeff

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of Battershall, Jeff
Sent: Thursday, August 17, 2006 2:44 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Returning XML from CFMX with AMF0

I'm forced to deal with AMF0 for a particular project and I'm trying to
pull some XML from a CFC that worked perfectly in Flex 1.5 as a
dataprovider of a tree component.

Now, it seems to want to treat my returned XML an XML document with one
node = the one node being the XML object returned from CF. I've been
hacking around trying to deal wit this - but no dice. Any advice?

Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battershall@dowjones.com
(609) 520-5637 (p)
(484) 477-9900 (c)

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

Yahoo! Groups Links






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: who is going to Real World Flex (NYC, Monday the 14th)

2006-08-11 Thread Andrew Trice












Everyone, be sure to stop by and say hello
to Cynergy too! A whole group of us will be there to support the
event. Be sure to catch Dave Wolfs
presentation at 1:50. See you all there



-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:flexcoders@yahoogroups.com] On Behalf Of grant.straker
Sent: Friday, August 11, 2006
12:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: who is
going to Real World Flex (NYC, Monday the 14th)











Provided I don't spend the next 2 days stuck in
Airports queues I'll
be there, and certainly looking forward to my first trip to NY. 

Visit the ZoomFlex stand to say hello.

Cheers

Grant Straker

--- In [EMAIL PROTECTED]ups.com,
David Mendels [EMAIL PROTECTED]. wrote:

 Hi,
 
 
 
 www.flexseminar.com http://www.flexseminar.com/

 
 
 
 I'll be there all day (I'm doing a morning talk). I'd love to meet
 folks from this list and puts faces to names and learn more about what
 you are doing. If you are there and see me, say hello. 
 
 
 
 Should be a fun event. Exciting to see a 3rd party conference on Flex
 just 45 days after we shipped Flex 2.
 
 
 
 Regards,
 
 David







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] how do I get the type or class of an object in AS3

2006-08-10 Thread Andrew Trice












Try using the is keyword:



if( myObject is TextArea ){

 //do something

}

else{

 /// do something else

}



-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:flexcoders@yahoogroups.com] On Behalf Of hank williams
Sent: Thursday, August 10, 2006
12:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how do I get
the type or class of an object in AS3











I have an
object that is either a TextArea or a TextInput.

I want to find out which one it is. How do I do that?

Hank






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Camera.get([index]); useing mutiple cameras

2006-08-09 Thread Andrew Trice












What version of Flex are you using?  In
Flex 2, it is Camera.getCamera().  All of the help we have provided is for Flex
2.



-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 willburforce82
Sent: Wednesday, August 09, 2006
5:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Camera.get([index]); useing mutiple cameras











Dear jeremy 

i think your right about establishing an array first, but i keep
getting problems with this .getCamera (here is no method with the name
'getCamera'.) I can't get it to work but everyone keeps telling me
it's the correct code but it's not working for me? 

--- In [EMAIL PROTECTED]ups.com,
Jeremy Lu [EMAIL PROTECTED] wrote:

 to willburforce:
 
 I ran into this problem several days ago, trying something like this
 
 var arr:Array = Camerag.names;
 Camera.getCamera( arr[1] );
 
 note it's getCamera() not get().
 
 as the menu says, the sigature of the Camera.getCamera() is
 
 public static function getCamera( name:String =null ):Camera
 
 but it failed me everytime when I try to assign a camera name to the
method
 (I have four webcams attached to the box)
 
 Interestingly, the manual seems to suggest not passing any name to the
 method, instead, let user choose which camera to use via setting panel
 (which is not an option in the current video conference project).
 
 to Andrew:
 
 In your example, you were using getCamera() with no
parameter
passed in,
 could you please confirm if you can assign different names to it ?
thanks.
 
 
 Jeremy.
 
 
 
 On 8/8/06, Andrew Trice andrew.trice@... wrote:
 
  I am assuming that localVideo and localVideo2 are
instantiations of the
  Video class. Instead of using attachVideo, try using:
 
 
 
  localVideo.attachCamera(localCamera1);
 
  localVideo2.attachCamera(localCamera2);
 
 
 
  You shouldn't need the play() function. Here is an example using the
  camera on my blog (only uses one camera though):
 
 
 
http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a
 
 
 
  Hope that helps.
 
  -Andy
 
 
 
  _
 
  *Andrew Trice*
 
  Cynergy Systems, Inc.
 
  http://www.cynergysystems.com
 
 
 
  Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
 
  Email: andrew.trice@...
 
  Office: 866-CYNERGY
 
 
  --
 
  *From:* [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
*On
  Behalf Of *willburforce82
  *Sent:* Tuesday, August 08, 2006 9:55 AM
  *To:* [EMAIL PROTECTED]ups.com
  *Subject:* [flexcoders] Camera.get([index]); useing mutiple
cameras
 
 
 
  Hi all,
 
  i'm new to action script, and working on a project that involves
using
  multiple cameras in a single .swf i seem to be able to retreve the
  Camera.names and Camera.names.length which give me the names and
  number of cameras attached to my local computer but i can't seem to
  specify which Camera i want when i use Camera.get() to attach the
  video to each camera i know i have to use Camera.get(index) but i
  don't know what i'm doing wrong.
 
  this.cameranameslength = Camera.names.length;
  this.cameraNames.text = Camera.names;
 
  //this retrieves the names and number of cameras
 
  localCamera1 = Camera.get(index,[0]);
  localCamera2 = Camera.get(index,[1]);
  localVideo.attachVideo(localCamera1);
  localVideo2.attachVideo(localCamera2);
  play()
 
  // i can't specify each camera to a specific video feed.
 
  i'm getting a bit lost now can anyone help.
 
  willburforce
 
  
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Camera.get([index]); useing mutiple cameras

2006-08-09 Thread Andrew Trice












You can get flash player 9.0.16 from:

http://www.adobe.com/support/flashplayer/downloads.html


Make sure you get the debug version.



-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 willburforce82
Sent: Wednesday, August 09, 2006
8:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Camera.get([index]); useing mutiple cameras











Thanks
Again both Andy and Jeremy,

i'm still not able to define between the two cameras on my computer, i've added
traces to help identify whats going wrong, but this is the closest i've got:-

var arr:Array = Camera.names;
trace(arr[1]);
trace(arr[0]);
//these traces return
the Digital Camera and Dual-Mode DSC (Video //Camera)
used in the following lines.
 var localCamera1:Camera = Camera.get(arr[Digital Camera]);
 var localCamera2:Camera = Camera.get(arr[Dual-Mode DSC (Video Camera)]);
trace(localCamera1);
trace(localCamera2);
//these traces both
return [object Object] i don't know what this means but // it
might give you a clue.
 localVideo.attachVideo(localCamera1);
 localVideo2.attachVideo(localCamera2);
trace(localVideo);
trace(localVideo2);
//these traces return
_level0.localVideo.localVideo and //_level0.localVideo.localVideo2

I know you both have sujested using
Camera.getCamera() instead of camera.get() but i keep getting a there is
no method name called .getCamera error and the video feeds don't work where as
with camera.get() both feeds use the default camera. Also i noticed you
mention version 9.0.16 i've only just upgraded to version 9 but where can i get
the 9.0.16 version if i need it.

What do you think??

regards

willburforce


--- In [EMAIL PROTECTED]ups.com, Jeremy Lu
[EMAIL PROTECTED] wrote:

 Thanks Andrew, this is a pretty cool hack, will try it and see if it works
 for me too.
 
 Jeremy.
 
 On 8/9/06, Andrew Trice andrew.trice@... wrote:
 
  I only have one camera, so I never tried it. I've got flash player
  9.0.16, but it looks like the error is still happening (although I
found a
  workaround).
 
 
 
  I changed my code to:
 
 
 
  var arr: Array = Camera.names;
 
  trace(arr[0]);
 
  camera = Camera.getCamera(arr[0]);
 
  trace(Camera.getCamera(arr[0].toString()));
 
 
 
   and it returned null every time.
 
 
 
  I also started playing with it and did this
 
 
 
  trace(Camera.getCamera(0));
 
  camera = Camera.getCamera(0);
 
 
 
  and it gave a valid reference to the camera. Try using the
string
  representation of the camera index, instead of the camera name.
 
 
 
  Looks like this is still a bug in the player, but this could be a
hack-ish
  workaround for it.
 
 
 
  _
 
  *Andrew Trice*
 
  Cynergy Systems, Inc.
 
  http://www.cynergysystems.com
 
 
 
  Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
 
  Email: andrew.trice@...
 
  Office: 866-CYNERGY
 
 
  --
 
  *From:* [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com]
*On
  Behalf Of *Jeremy Lu
  *Sent:* Tuesday, August 08, 2006 11:52 AM
  *To:* [EMAIL PROTECTED]ups.com
  *Subject:* Re: [flexcoders] Camera.get([index]); useing mutiple
cameras
 
 
 
 
  to willburforce:
 
  I ran into this problem several days ago, trying something like this
 
  var arr:Array = Camerag.names;
  Camera.getCamera( arr[1] );
 
  note it's getCamera() not get().
 
  as the menu says, the sigature of the Camera.getCamera() is
 
  public static function getCamera( name:String =null ):Camera
 
  but it failed me everytime when I try to assign a camera name to the
  method (I have four webcams attached to the box)
 
  Interestingly, the manual seems to suggest not passing any name to
the
  method, instead, let user choose which camera to use via setting
panel
  (which is not an option in the current video conference project).
 
  to Andrew:
 
  In your example, you were using getCamera() with no
parameter passed in,
  could you please confirm if you can assign different names to it ?
thanks.
 
 
  Jeremy.
 
 
  On 8/8/06, *Andrew Trice* andrew.trice@... wrote:
 
  I am assuming that localVideo and localVideo2 are instantiations of
the
  Video class. Instead of using attachVideo, try using:
 
 
 
  localVideo.attachCamera(localCamera1);
 
  localVideo2.attachCamera(localCamera2);
 
 
 
  You shouldn't need the play() function. Here is an example using the
  camera on my blog (only uses one camera though):
 
 
  http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a
 
 
 
  Hope that helps.
 
  -Andy






__._,_.___





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

RE: [flexcoders] Passing an id to a function?

2006-08-09 Thread Andrew Trice












I think what you really want to do is pass
a reference to the element, not the string id of the element.



Change your function signature to:

private function displayDate(date:Date, displayTo:Label):void
{





Then, just pass a refferce to your label



mx:Label id=myLabel
/

mx:Button click=displayDate(new
Date(),myLabel) /



-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:flexcoders@yahoogroups.com] On Behalf Of flxcoder
Sent: Wednesday, August 09, 2006
10:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Passing an
id to a function?











In this example, how can I pass the id of the element
label to be 
updated?

private function displayDate(date:Date, displayTo:String):void {
if (date == null)
displayTo.text = Date selected: ;
else
displayTo.text = Date selected:  + 
date.getFullYear().toString() +
'/' + (date.getMonth()+1).toString() + '/' + 
date.getDate();
}

Thanks.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Dynamically Create a MXML file

2006-08-08 Thread Andrew Trice













That's not really the way 
that flex works. You don't create mxml on the fly. What you can do 
is create an extensible component that reads some sort of configuration, and 
dynamically adds elements on the fly, using the addChild method. This way 
you can dynamically add any kind of component at runtime, whether it is a 
textbox, radio button, or custom component.
-Andy




From: flexcoders@yahoogroups.com on 
behalf of PramodSent: Tue 8/8/2006 7:17 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Dynamically Create a 
MXML file




Hi,I am currently working an a project where the reqirement is as 
follows -I need to get info from the user and on submit, create an 
application with the inputs from the previous form.Is there a 
tutorial or a link where i can find info on how to create an mxml file and 
generate them on a click of a button?Thanks a lot in 
Advance,Regards,Pramod 



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___










RE: [flexcoders] Camera.get([index]); useing mutiple cameras

2006-08-08 Thread Andrew Trice












I am assuming that localVideo and
localVideo2 are instantiations of the Video class. Instead of using
attachVideo, try using:



localVideo.attachCamera(localCamera1);

localVideo2.attachCamera(localCamera2);



You shouldnt need the play()
function. Here is an example using the camera on my blog (only uses one camera
though):

http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a




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 willburforce82
Sent: Tuesday, August 08, 2006
9:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Camera.get([index]); useing mutiple cameras











Hi all, 

i'm new to action script, and working on a project that involves using
multiple cameras in a single .swf i seem to be able to retreve the
Camera.names and Camera.names.length which give me the names and
number of cameras attached to my local computer but i can't seem to
specify which Camera i want when i use Camera.get() to attach the
video to each camera i know i have to use Camera.get(index) but i
don't know what i'm doing wrong.

this.cameranameslength = Camera.names.length;
this.cameraNames.text = Camera.names;

//this retrieves the names and number of cameras 

localCamera1 = Camera.get(index,[0]); 
localCamera2 = Camera.get(index,[1]);
localVideo.attachVideo(localCamera1);
localVideo2.attachVideo(localCamera2);
play()

// i can't specify each camera to a specific video feed.

i'm getting a bit lost now can anyone help.

willburforce






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Camera.get([index]); useing mutiple cameras

2006-08-08 Thread Andrew Trice












Your camera.get also isnt right. Try
doing something like this:



localCamera1 =
Camera.getCamera(Camera.names[0]);

localCamera2 =
Camera.getCamera(Camera.names[1]);



I remember reading a post on flexcoders a
while back saying there was a bug in Flash 9 release candidate 15 (9.0.15). If
you try to assign a camera by name, it would fail. Make sure you have Flash
player 9.0.16.





_

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 Andrew Trice
Sent: Tuesday, August 08, 2006
11:08 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Camera.get([index]); useing mutiple cameras













I am assuming that localVideo and localVideo2 are instantiations of
the Video class. Instead of using attachVideo, try using:



localVideo.attachCamera(localCamera1);

localVideo2.attachCamera(localCamera2);



You shouldnt need the play() function. Here is an
example using the camera on my blog (only uses one camera though):

http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a




Hope that helps.

-Andy





_



Andrew Trice



Cynergy Systems, Inc.



http://www.cynergysystems.com





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



Email: andrew.trice@cynergysystems.com



Office: 866-CYNERGY















From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of willburforce82
Sent: Tuesday, August 08, 2006
9:55 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Camera.get([index]);
useing mutiple cameras











Hi all, 

i'm new to action script, and working on a project that involves using
multiple cameras in a single .swf i seem to be able to retreve the
Camera.names and Camera.names.length which give me the names and
number of cameras attached to my local computer but i can't seem to
specify which Camera i want when i use Camera.get() to attach the
video to each camera i know i have to use Camera.get(index) but i
don't know what i'm doing wrong.

this.cameranameslength = Camera.names.length;
this.cameraNames.text = Camera.names;

//this retrieves the names and number of cameras 

localCamera1 = Camera.get(index,[0]); 
localCamera2 = Camera.get(index,[1]);
localVideo.attachVideo(localCamera1);
localVideo2.attachVideo(localCamera2);
play()

// i can't specify each camera to a specific video feed.

i'm getting a bit lost now can anyone help.

willburforce














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Camera.get([index]); useing mutiple cameras

2006-08-08 Thread Andrew Trice












I only have one camera, so I never tried
it. Ive got flash player 9.0.16, but it looks like the error is
still happening (although I found a workaround).



I changed my code to:



var arr: Array =
Camera.names;

trace(arr[0]);

camera =
Camera.getCamera(arr[0]); 

trace(Camera.getCamera(arr[0].toString()));




 and it returned null every time. 



I also started playing with it and did
this



trace(Camera.getCamera(0));

camera =
Camera.getCamera(0);



and it gave a valid reference to the
camera. Try using the string representation of the camera index, instead
of the camera name.



Looks like this is still a bug in the
player, but this could be a hack-ish workaround for it.





_

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 Jeremy Lu
Sent: Tuesday, August 08, 2006
11:52 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Camera.get([index]); useing mutiple cameras












to willburforce:

I ran into this problem several days ago, trying something like this 

var arr:Array = Camerag.names;
Camera.getCamera( arr[1] ); 

note it's getCamera() not get().

as the menu says, the sigature of the Camera.getCamera() is 

public static function getCamera( name:String =null ):Camera

but it failed me everytime when I try to assign a camera name to the method (I
have four webcams attached to the box)

Interestingly, the manual seems to suggest not passing any name to the method,
instead, let user choose which camera to use via setting panel (which is not an
option in the current video conference project).

to Andrew:

In your example, you were using getCamera() with no parameter
passed in, could you please confirm if you can assign different names to it ?
thanks.


Jeremy.






On 8/8/06, Andrew
Trice andrew.trice@cynergysystems.com
wrote:













I am assuming that
localVideo and localVideo2 are instantiations of the Video class. Instead
of using attachVideo, try using:



localVideo.attachCamera(localCamera1);

localVideo2.attachCamera(localCamera2);



You shouldn't need the
play() function. Here is an example using the camera on my blog (only
uses one camera though):

http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a




Hope that helps.

-Andy





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com




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

Email: andrew.trice@cynergysystems.com

Office: 866-CYNERGY













From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of willburforce82
Sent: Tuesday, August 08, 2006 9:55
AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Camera.get([index]);
useing mutiple cameras















Hi all, 

i'm new to action script, and working on a project that involves using
multiple cameras in a single .swf i seem to be able to retreve the
Camera.names and Camera.names.length which give me the names and
number of cameras attached to my local computer but i can't seem to
specify which Camera i want when i use Camera.get() to attach the
video to each camera i know i have to use Camera.get(index) but i
don't know what i'm doing wrong.

this.cameranameslength = Camera.names.length;
this.cameraNames.text = Camera.names;

//this retrieves the names and number of cameras 

localCamera1 = Camera.get(index,[0]); 
localCamera2 = Camera.get(index,[1]);
localVideo.attachVideo(localCamera1);
localVideo2.attachVideo(localCamera2);
play()

// i can't specify each camera to a specific video feed.

i'm getting a bit lost now can anyone help.

willburforce






























__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Camera.get([index]); useing mutiple cameras

2006-08-08 Thread Andrew Trice












Take a look at some of the later posts on
this thread. There is a workaround for camera.getCamera.





_

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 willburforce82
Sent: Tuesday, August 08, 2006
11:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Camera.get([index]); useing mutiple cameras











Thanks for you swift response Andy 

Unfortunatly i don't get any video feed from the cameras that way.

When i use attachVideo both video object feed the default camera 
regardless of my index reference but with attachCamera i get nothing. :(

My problem seems to be in the seem to be in defining which camera
localcamera1 is using and which one localcamera2 is using, as they
both seem to use the default camera specified in the
System.showSettings(3)panel.

willbur 

--- In [EMAIL PROTECTED]ups.com,
Andrew Trice andrew.trice@...
wrote:

 I am assuming that localVideo and localVideo2 are instantiations of the
 Video class. Instead of using attachVideo, try using:
 
 
 
 localVideo.attachCamera(localCamera1);
 
 localVideo2.attachCamera(localCamera2);
 
 
 
 You shouldn't need the play() function. Here is an example using the
 camera on my blog (only uses one camera though):
 
 http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_sti
 ll_images_from_a 
 
 
 
 Hope that helps.
 
 -Andy
 
 
 
 _
 
 Andrew Trice
 
 Cynergy Systems, Inc.
 
 http://www.cynergysystems.com
 
 
 
 Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
 
 Email: andrew.trice@...
 
 Office: 866-CYNERGY 
 
 
 
 
 
 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of willburforce82
 Sent: Tuesday, August 08, 2006 9:55 AM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] Camera.get([index]); useing mutiple cameras
 
 
 
 Hi all, 
 
 i'm new to action script, and working on a project that involves using
 multiple cameras in a single .swf i seem to be able to retreve the
 Camera.names and Camera.names.length which give me the names and
 number of cameras attached to my local computer but i can't seem to
 specify which Camera i want when i use Camera.get() to attach the
 video to each camera i know i have to use Camera.get(index) but i
 don't know what i'm doing wrong.
 
 this.cameranameslength = Camera.names.length;
 this.cameraNames.text = Camera.names;
 
 //this retrieves the names and number of cameras 
 
 localCamera1 = Camera.get(index,[0]); 
 localCamera2 = Camera.get(index,[1]);
 localVideo.attachVideo(localCamera1);
 localVideo2.attachVideo(localCamera2);
 play()
 
 // i can't specify each camera to a specific video feed.
 
 i'm getting a bit lost now can anyone help.
 
 willburforce







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Is there a way to put a close X on the tabnavigator

2006-08-01 Thread Andrew Trice












Just a FYI to the Flex community



Here at Cynergy, were working on a component
library of commonly used controls that we are going to offer to the development
community for free. Its starting out small, and we hope it will
grow over time. A polished version of Keuns ExtendedTabNavigator component
will be one of the components in the library. You can expect to see it in
the very near future. 



- 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:flexcoders@yahoogroups.com] On Behalf Of fuad_kamal
Sent: Tuesday, August 01, 2006
3:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Is there
a way to put a close X on the tabnavigator











It's been done, here's a working example from Keun Lee of Cynergy:

http://cynergysystems.com/blogs/page/keunlee?entry=tab_navigator_component_w_an

--- In [EMAIL PROTECTED]ups.com,
flxcoder [EMAIL PROTECTED]. wrote:

 
  I have a way of removing the tab from the tabnavigator using
  tabs.removeTabAt(x), but I am looking for a way to add an X on
top of
  the tab, something similar to the way editors in eclipse do.
 
  any clues?
 
 any ideas?







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Just MXML and AS3

2006-08-01 Thread Andrew Trice












Its an off the shelf solution, with
a customized theme. You can embed a swf in pretty much any blog solution
that allows you to post HTML content. Just upload the swf files to a
server where have permissions, then embed them in the blogs HTML content
using the embed tag. I use the w.bloggar (http://wbloggar.com/) tool to edit and post content
from my desktop, rather than using the web interface.



-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:flexcoders@yahoogroups.com] On Behalf Of fuad_kamal
Sent: Tuesday, August 01, 2006
9:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Just
MXML and AS3











Cool. BTW, Adrew Trice/Keun
 Lee - if you're reading this - what's the
Cynergy blog based on? Is it an off-the-shelf solution or an in-house
ap? I like the fact that you embed the swf's in the page in addition
to the source code.

-fuad

--- In [EMAIL PROTECTED]ups.com,
Ted Patrick [EMAIL PROTECTED]. wrote:

 Fuad,
 
 
 
 The form only supports one file today. :-)
 
 
 
 I am working on a solution to this but I want to make sure things remain
 simple.
 
 
 
 Ted :-)
 
 
 
 
 
 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of fuad_kamal
 Sent: Tuesday, August 01, 2006 12:17 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] Re: Just MXML and AS3
 
 
 
 Hey, the blog is cool, but what if you wanted to share an example with
 more than one file? e.g. mxml file that relies on a custom AS3 class?
 your form only allow posting of one file.
 
 thanks
 
 --- In [EMAIL PROTECTED]ups.com
mailto:flexcoders%40yahoogroups.com
 , Ted Patrick tpatrick@ wrote:
 
  I wanted to let everyone know about a simple publishing option for
 MXML
  and AS3 examples. I put together a new blog where I am syndicating
 MXML
  and AS3 examples and components. Authors get named credit in every
 post
  title and it is a simple way to share code/knowledge.
  
  
  
  Just MXML and AS3 - A title, MXML or ActionScript 3, and nothing
more.
  
  
  
  Form http://www.onflex.org/code/form/
 http://www.onflex.org/code/form/

  http://www.onflex.org/code/form/
http://www.onflex.org/code/form/

 
  
  Blog http://www.onflex.org/code/
http://www.onflex.org/code/
 http://www.onflex.org/code/
http://www.onflex.org/code/
 
  
  
  
  Post Code, Share, Get Credit, Have Fun!
  
  
  
  Regards,
  
  
  
  Ted Patrick
  
  Flex Evangelist
  
  Adobe Systems Incorporated
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Problem to embed a JSP page in Flex

2006-07-26 Thread Andrew Trice













Is it truly necessary to 
embed a jpg to achieve this? What format are the actual dynamic 
graphs? I assume that they are images embedded within the jsp. If 
they are jpg images, then they can be requested directly from the flex 
application. You can create a servlet that creates and returns the graph 
jpg, and render that directly within your Flex 1.5 application. This will 
get rid of a lot of that "quirky" behavior.

-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 on behalf of 
KOT_MATPOCSent: Wed 7/26/2006 5:15 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Problem to embed a 
JSP page in Flex




Hello,I need to display some dynamically generated graphs in our flex 
application. We currently use Flex 1.5. We use some graph building API 
which is written in Java and JSP. Basically we have a jsp page that builds 
the graphs dynamically using some Java API. Now we need to integrate these 
graphs with our Flex application. I came accross this article http://coenraets.com/viewarticle.jsp?articleId=95 
which suggests to use an html iframe. This could be the solution, but when 
I put it into our application, it starts to behave strangely - after the 
second time I load I can't see any dynamically generated jpeg images 
anymore. My question is - is there any other solution that could help us 
embed a jsp page within out flex application? I came accross DENG, did 
anyone try to integrate it with Flex? Can DENG behave as a Flex 
component?Did anyone have a similar problem?Please, help, 
this issue does look complicated.Thanks a 
lot,Serguey 



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___










RE: [flexcoders] Problem to embed a JSP page in Flex

2006-07-26 Thread Andrew Trice












The unfortunate reality is that there is
no easy workaround for this. If the iframe method of Chrisophe Coenraets
doesnt work for you, then you are going to have to display the graph jpg
inside of flex, and move the _javascript_ logic into your flex application. If
you move the _javascript_ logic into flex, you eliminate _javascript_ from the
picture altogether, thus simplifying your application. You may find a
solution with DENG, but I wouldnt bet on it. I took a quick look
at their examples, but it did not load any of the image links in the XML feed
that I tested with it.



-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:flexcoders@yahoogroups.com] On Behalf Of Serguey, Shinder
Sent: Wednesday, July 26, 2006
8:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem
to embed a JSP page in Flex













Yes I think is is truly necessary. Because
apart from the jpeg images this jsp page will contain also _javascript_ code that
will enable the graph to communicate with the flex app and also perform other
graph related actions.











Serguey











From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andrew Trice
Sent: Wednesday, July 26, 2006
1:16 PM
To: [EMAIL PROTECTED]ups.com;
[EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Problem
to embed a JSP page in Flex







Is it truly necessary to embed a jpg to
achieve this? What format are the actual dynamic graphs? I assume
that they are images embedded within the jsp. If they are jpg images,
then they can be requested directly from the flex application. You can
create a servlet that creates and returns the graph jpg, and render that
directly within your Flex 1.5 application. This will get rid of a lot of
that quirky behavior.











-Andy











_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

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

Email: andrew.trice@cynergysystems.com

Office: 866-CYNERGY

















From: [EMAIL PROTECTED]ups.com on behalf of
KOT_MATPOC
Sent: Wed 7/26/2006 5:15 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Problem to
embed a JSP page in Flex











Hello,

I need to display some dynamically generated graphs in our flex 
application. We currently use Flex 1.5. We use some graph building 
API which is written in Java and JSP. Basically we have a jsp page 
that builds the graphs dynamically using some Java API. Now we need 
to integrate these graphs with our Flex application. I came accross 
this article http://coenraets.com/viewarticle.jsp?articleId=95
which 
suggests to use an html iframe. This could be the solution, but when 
I put it into our application, it starts to behave strangely - after 
the second time I load I can't see any dynamically generated jpeg 
images anymore. 
My question is - is there any other solution that could help us embed 
a jsp page within out flex application? I came accross DENG, did 
anyone try to integrate it with Flex? Can DENG behave as a Flex 
component?

Did anyone have a similar problem?

Please, help, this issue does look complicated.

Thanks a lot,

Serguey
















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] testing of Flex apps

2006-07-26 Thread Andrew Trice












There is also a FlexUnit library available
on Adobe labs at:

http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries




-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:flexcoders@yahoogroups.com] On Behalf Of Karl
 Johnson
Sent: Wednesday, July 26, 2006
9:18 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] testing
of Flex apps











Here is a well written article from adobe
on the testing of a flash based application: http://www.adobe.com/devnet/blueprint/articles/qa_petmarket.html



Unless something has come out recently, I
don't know of any automated testing tools that directly support flash apps
(flex). You can use some of the apps like homer that basically just record
exact screen location where you click and type, and then playback using the
same coordinates. This is not the most reliable way of testing, but it can for
some.



Has anyone tried writing an automated
testing framework for flex? One that would run as a flex app, and load the
target app to be tested inside of its self? Then it could communicate with it
and click and type. I have done several automated
testing frameworks like this for web applications (since I was never a fan of
record and playback or buying software to do it), but I haven't tried it on
flash/flex. I am almost positive you could do it though. I might have to give
it a try one of these days :)



Karl



Cynergy Systems, Inc.

http://www.CynergySystems.com









From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Kaeth
Sent: Wednesday, July 26, 2006
2:27 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] testing of
Flex apps





What is the best way to regression test a flex app ?





Does flex provide any regression testing suite for testing
flex apps like JUNit, HTTPUnit ?











TIA










__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: HTTPService in components

2006-07-18 Thread Andrew Trice
What exactly are you trying to do?  Tom's right, you can't have a
HTTPService as the root of a component. You could put the HTTPService
inside of a Canvas, Panel, etc...  

If you only want the HTTPService, with extended functionality, you might
want to try creating an AS class that extends the HTTPService class.

-Andy

_
Andrew Trice
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
Email: [EMAIL PROTECTED]
Office: 866-CYNERGY 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Tuesday, July 18, 2006 8:59 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: HTTPService in components

On Tuesday 18 July 2006 12:00, mcmcbrianfarrell wrote:
 Encountered mx:HTTPService at line 2

That's probably because you can't use HTTPService as the top-most thing
in the 
file.

-- 
Tom Chiverton



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/

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

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





RE: [flexcoders] how to do rounded corners on just the top or just the bottom of a canvas

2006-07-18 Thread Andrew Trice












Take a look at this example on Ben
Stucki;s blog. Be sure to check out the CSS3 Box explorer. It is a great
example. I havent actually tried to use it, but it looks like it might
help with what you are looking for.



http://blog.benstucki.net/?id=22




-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:flexcoders@yahoogroups.com] On Behalf Of hank williams
Sent: Tuesday, July 18, 2006 9:41
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to do
rounded corners on just the top or just the bottom of a canvas











I want to
draw a canvas and only have the top have rounded corners or only the top.

Can I do this or do I just need to break out the drawing functions?

Hank






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: HTTPService in components

2006-07-17 Thread Andrew Trice












Is that all of your code? If so, you need
to include the namespace on the root node of the component.



mx:HTTPService xmlns:mx=http://www.adobe.com/2006/mxml

id=usrRequest url=""
useProxy=false / 







_____

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of mcmcbrianfarrell
Sent: Monday, July 17, 2006 9:19
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
HTTPService in components











--- In [EMAIL PROTECTED]ups.com,
Carson Hager
carson.hager@... 
wrote:

 Can you include the errors here? Without them, it's a bit hard to
 figure out what might be going on.
 

Carson,
My code is:

?xml version=1.0 encoding=utf-8?

mx:HTTPService id=usrRequest url=""
useProxy=false /

...which is at the top of the file and the error I get is:

The prefix mx for element mx:HTTPService is not bound.






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Flex and Server-Side Technology Recommendations

2006-07-17 Thread Andrew Trice












Just want to make sure everyone is on the
same wavelength here ColdFusion is an application server, not a
database. You can have ColdFusion running with SQL Server, MySQL, Oracle, etc
ColdFusion can take advantage of this feature if you database will handle it.



Although Im not on the ColdFusion
team, I agree with Tom. ColdFusion is an extremely easy to use and productive server
technology and it integrates very well with Flex.



-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:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff
Sent: Monday, July 17, 2006 5:09
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex and
Server-Side Technology Recommendations











Hi Tom,

Thanks for the info. This is more of a CF question, but the CF-Flex 
connection should afford a little bit of room here. Does CF support 
what is called, distributed partitioned views like SQL Server? 
This allows you to create several small databases with the same 
structure that can be viewed as a single master database if 
desired. This is an essential feature for me. By segregating 
customer data into separate databases, the performance, by not 
having to weed through the entire database, is dramatically 
increased. In addition, for top level functionality, all of the 
customer databases can be queried as one. The reason that I ask, is 
that several of my master tables can have multi-million records. 
Add to that a couple joins of these tables and the server has the 
potential to crawl. If CF has this feature, I will definitely 
consider switching; due to its tight integration with Flex.

Thanks,
Tim Hoff

--- In [EMAIL PROTECTED]ups.com,
Tom Jordahl [EMAIL PROTECTED]. 
wrote:

 --- In [EMAIL PROTECTED]ups.com,
Kevin Mulvihill kmulvihill@
 wrote:
 
  Hi all,
  
  What do you all recommend for backend server-side technology to 
work
 with
  Flex? I'm planning on some work with MySQL and not particularly
 interested
  in .NET.
 
 Hi Kevin,
 
 I would say that you should look at ColdFusion MX 7.0.2 as the 
premier
 server side technology that closely integrates with Flex 2.
 
 Some advantages
 - Application Wizard gives you a working Flex/CF app in minutes.
 - Tight integration with the FDS Messaging and Data Mangement 
features
 - Easy to use Flash Remoting support allows you to invoke 
ColdFusion
 Components
 - Its ColdFusion! The fastest, simplest and most productive server
 side scripting technology around.
 
 Disclaimer: I am (very) biased.
 
 --
 Tom Jordahl
 Adobe ColdFusion Team







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Flex and Server-Side Technology Recommendations

2006-07-17 Thread Andrew Trice













Exactly. 
ColdFusion is an alternative to .NET and J2EE (although ColdFusion can actually 
work together with both). You develop most of your code in an XML-based 
scripting language: CFML. It is very easy to learnand very quick to 
develop powerful dynamic applications. 

Another benefit of using ColdFusion (7.0.2) 
is that it has a lot of wizards that are available to you that enable automatic 
code generation. You have to install the ColdFusion extensions for Flex 
builder in order to see these options. There are wizards that can 
automatically generate ColdFusion Components(CFCs) and Flex forms based 
off of your database schema.

More detail on CF can befound on 
adobe's site:  http://www.adobe.com/products/coldfusion/

You can really use any server side 
technology that you want... 
Java can communicate with Flexvia FDS 
(Flex Data Services), Web Services, or XML over HTTP

.NET can communicate with Flex via Web 
Services or XML over HTTP. There is also something called webOrb, which is 
supposed to be similar to remote objects for .NET (I cannot vouch for this, I 
have never used it).

PHP can communicate with Flex via XML over 
HTTP, Web Services, or AMFPHP

I'm sure that there is a way to do this 
using Ruby/Ruby on Rails.

... and this is not the definitive 
list. There are plenty of other solutions out there. If you are 
already familiar with a specific web-based technology,then there's a good 
chance that you can use it to power a flex interface. Each technology has 
its advantages, disadvantages, and price tags.

-Andy






From: flexcoders@yahoogroups.com on 
behalf of Tim HoffSent: Mon 7/17/2006 5:59 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Flex and 
Server-Side Technology Recommendations




Thanks Andy,So CF would replace ASP.Net as the middle tier. I have no 
exposure to CF, so that clears things up a bit. But, no native databases in 
CF?-TH--- In [EMAIL PROTECTED]ups.com, 
"Andrew Trice" andrew.trice@... wrote: Just 
want to make sure everyone is on the same wavelength here... ColdFusion 
is an application server, not a database. You can have ColdFusion 
running with SQL Server, MySQL, Oracle, etc... ColdFusion can take 
advantage of this feature if you database will handle it.  
  Although I'm not on the ColdFusion team, I agree with Tom. 
ColdFusion is an extremely easy to use and productive server 
technology and it integrates very well with Flex.  
  -Andy
_____  Andrew 
Trice  Cynergy Systems, Inc.  http://www.cynergysystems.com 
   Blog: http://www.cynergysystems.com/blogs/page/andrewtrice 
 Email: andrew.trice@...  Office: 866-CYNERGY 

  From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Tim Hoff Sent: Monday, July 17, 2006 5:09 
PM To: [EMAIL PROTECTED]ups.com 
Subject: [flexcoders] Re: Flex and Server-Side Technology 
RecommendationsHi Tom,  
Thanks for the info. This is more of a CF question, but the CF-Flex  
connection should afford a little bit of room here. Does CF support  
what is called, "distributed partitioned views" like SQL Server?  This 
allows you to create several small databases with the same  structure 
that can be viewed as a single master database if  desired. This is an 
essential feature for me. By segregating  customer data into separate 
databases, the performance, by not  having to weed through the entire 
database, is dramatically  increased. In addition, for top level 
functionality, all of the  customer databases can be queried as one. The 
reason that I ask, is  that several of my master tables can have 
multi-million records.  Add to that a couple joins of these tables and 
the server has the  potential to crawl. If CF has this feature, I will 
definitely  consider switching; due to its tight integration with 
Flex.  Thanks, Tim Hoff  --- In [EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com , "Tom Jordahl" 
tjordahl@  wrote:   --- In [EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com , "Kevin Mulvihill" 
kmulvihill@  wrote:
 Hi all,  What do you all recommend for 
backend server-side technology to  work  with 
  Flex? I'm planning on some work with MySQL and not 
particularly  interested   in .NET.  
  Hi Kevin,I would say that you should 
look at ColdFusion MX 7.0.2 as the  premier  server side 
technology that closely integrates with Flex 2.Some 
advantages  - Application Wizard gives you a working Flex/CF app in 
minutes.  - Tight integration with the FDS Messaging and Data 
Mangement  features  - Easy to use Flash Remoting support 
allows you to invoke  ColdFusion  Components  - 
Its ColdFusion! The fastest, simplest and most productive server 
 side scripting technology around.Disclaimer: I 
am (very) biased.--  Tom Jordahl 
 Adobe ColdFusion Team  



__._,_.___





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

RE: [flexcoders] Security error accessing url

2006-07-13 Thread Andrew Trice












The crossdomain.xml file should be placed
in the root of the server that is hosting the web services. So, if you
reference it via url, it should be at:



http://{your domain}/crossdomain.xml





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sathish K
Sent: Thursday, July 13, 2006 2:00
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Security
error accessing url













Dear Carson,






Is it possible to place the crossdomain.xml file at server level, to access the
all webservices that are availbale in the server.











This is our IBM websphere server folder
structure.











 d:\was6.0\AppServer\profiles\default\installedApps\ramcobl104Node01Cell\application.ear











Reg,





K.Sathish

















-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]On Behalf Of Carson
 Hager
Sent: 12 July 2006 23:26
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Security
error accessing url



Sathish,



What URL are you using to download the
SWF?



What is the URL for your web service?



Even if the swf and web service are on the
same host but the host names do not match perfectly, you will get this kind of
failure. If the web service is on a different host, you will need to place a
crossdomain.xml file at the root of the web server where the web services are
located.





Carson



Carson
 Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY
Mobile: 1.703.489.6466















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sathish K
Sent: Wednesday, July 12, 2006
5:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Security
error accessing url





Hi,
I have a webservice (EAR file) that is deployed in the IBM Websphere 6.0
server.When we access the 
webservice from a SWF application(sandbox)built using Flex 2.0 it gives a
security error.How to resolve this security issue.

The Error Message:

[FaultEvent fault=[Rpc fault
faultstring=Security error accessing url
faultCode=Channel.Security.Error
faultDetails=Unable to load WSDL.If currently
online,please verify the URI and/or format of
the WSDL
(webservice url)]messageId=null type=fault
bubbles=false cancelable=true eventPhase=2]

We have read in many articles which says we need to place the
crossdomain.xml file in the server root directory.But we dont know exactly what
is the correct location for placing this file.
We have tried placing in many subfolders under the root folder
where Websphere is installed. 

It would be of great help if you can help us sort out this issue.












regards





sathish
















 
  
  DISCLAIMER: 
  
  Information transmitted by this e-mail may be proprietary to Ramco Systems
  Ltd., and / or the authors of the information and is intended for use only by
  the individual or entity to which it is addressed, and may contain
  confidential or legally privileged information. If you are not the intended
  recipient or it appears that this mail has been forwarded to you without
  proper authority, you are not authorised to access, read, disclose, copy, use
  or otherwise deal with it and any such actions are prohibited and may be
  unlawful. 
  
  Internet communications cannot be guaranteed to be secure or error-free as
  information could be intercepted, corrupted, lost, arrive late or contain
  viruses. Ramco Systems Limited therefore does not accept liability for any
  errors, omissions, viruses or computer problems experienced as a result of
  this transmission.
  
  If you have received this e-mail in error, please notify us immediately at
  mail to: [EMAIL PROTECTED] and delete this mail from your records.
  Notice is hereby given that no representation, contract or other binding
  obligation shall be created by this e-mail.
  
 









 
  
  DISCLAIMER:
  
  
  Information transmitted by this e-mail may be proprietary to Ramco Systems
  Ltd., and / or the authors of the information and is intended for use only by
  the individual or entity to which it is addressed, and may contain
  confidential or legally privileged information. If you are not the intended
  recipient or it appears that this mail has been forwarded to you without
  proper authority, you are not authorised to access, read, disclose, copy, use
  or otherwise deal with it and any such actions are prohibited and may be
  unlawful. 
  
  Internet communications cannot be guaranteed to be secure or error-free as
  information could be intercepted, corrupted, lost, arrive late or contain
  viruses. Ramco Systems Limited therefore does not accept liability

RE: [flexcoders] Passing session variables to webservice

2006-07-11 Thread Andrew Trice













Session variables are 
maintained in session on the server. You should be able to get at them 
directly from within coldfusion. Youdo not need to pass them in as 
arguments. Remember, session variables are only on the server. The 
client runtime can maintain state within itself...the difference is that 
it usesmemory on the client machine.

-Andy


From: flexcoders@yahoogroups.com on behalf of 
Bacardi BryantSent: Tue 7/11/2006 4:38 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Passing session 
variables to webservice






Hi,

We have a CF application that uses session variables for 
security and access control. How do I get at session variables in FLEX. The 
variables are used in a webservice call.

 

mx:request
 
varsession.var/var
 
/mx:request

This is what I tried, quite naturally that didnt work. TIA 
for any help.

Thanks,

Bacardi 
Bryant
regActionTM 
Programmer
[EMAIL PROTECTED]
 



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___










RE: [flexcoders] asdoc generator for AS3?

2006-06-30 Thread Andrew Trice
Hey Tom,
Where'd you find that it will be released soon?  I want to keep an eye
on it.

Thanks,
Andy
_
Andrew Trice
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
Email: [EMAIL PROTECTED]
Office: 866-CYNERGY 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Friday, June 30, 2006 8:27 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] asdoc generator for AS3?

On Thursday 29 June 2006 16:52, Andrew Trice wrote:
 they only cover as2.  I don't seen one on adobe's site.

released soon
Apperenty.

-- 
Tom Chiverton



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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer
of the Year at the 2005 Growth Company Awards




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



 





 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Read Local File

2006-06-30 Thread Andrew Trice












Unfortunately, Flex doesnt work the
way you want b/c of security implications. You can do this by having the user
upload the file to the server. Once the file is uploaded, parse it and then pull
the data back down to the client and use it.



-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:flexcoders@yahoogroups.com] On Behalf Of Torey Maerz
Sent: Friday, June 30, 2006 9:35
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Read Local
File











I would like to create a flex application (hosted on
the internet) that 
could read in a client's local file, parse that file and then display 
in a datagrid for manipulation and eventually posting the data to my 
server. My problem is on the reading of the local file piece. It 
seems that the only way that I can do this is to have the swf running 
on the client's machine. That is not an option so I have been in the 
search for finding a solution that would allow me to sign my swf or 
something similar so that it could be trusted on the client's machine 
and allow the user to parse their local file.

So what can I do to give my internet based application read access on 
the client's machine?

Thanks in advance!

-Torey 






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Trace timing

2006-06-30 Thread Andrew Trice












Try using trace(getTimer())



The getTimer method returns the number of
milliseconds since the instantiation of the swf within the browser/runtime.



http://livedocs.macromedia.com/labs/1/flex/langref/flash/util/package.html#getTimer()




Take a look at this:



?xml
version=1.0 encoding=utf-8?

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute
initialize=goTimer() creationComplete=goTimer()

 mx:Script

 ![CDATA[

 private
function goTimer():void{

 

 trace(getTimer());

 }

 ]]

 /mx:Script

/mx:Application





- 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:flexcoders@yahoogroups.com] On Behalf Of Daniel Tuppeny
Sent: Friday, June 30, 2006 9:54
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Trace timing











I'm
trying to find where all the time is being spent in my app. I tried
using:

trace(new Date().toTimeString() + ': Starting xyz');

But the timestring only goes to seconds. Is there any better way to have
more accurate timestamps in my trace statements? I'm worried if I do:

.Seconds + .Milliseconds, the statements will evaluated at different
times, and therefore not accurate.

The information contained in this e-mail and/or any attachments is confidential
and intended only for the individual(s) to which it is addressed. If you are
not named as an addressee you must not disclose, copy or take any action in
reliance of this transmission. This e-mail and its attachments have been scanned
for viruses by MessageLabs Ltd.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email

__






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] asdoc generator for AS3?

2006-06-29 Thread Andrew Trice










Is there a publicly available program to generate asdocs for
Flex 2/Actionscript 3? I have seen some open source asdoc generators, but they
only cover as2. I dont seen one on adobes site.



Thanks,

Andy



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] Re: Embedding WSDL?

2006-06-29 Thread Andrew Trice










In Flex 1.5, I was able to preload/embed
wsdl into the swf by overriding the sendAndLoad method of the native XML object



Take a look at my blog posting here to see
how: 

https://www.cynergysystems.com/blogs/page/andrewtrice?entry=override_native_object_methods_in



I dont think that this exact syntax
will work in Flex 2 b/c you can no longer modify the prototype of a native
object. In Flex 2, you could try extending the WebService object
like this (although I have no guarantee that this would work I have not actually
tried it). Use the EmbededWSDL class instead of the WebService class.
You might also need to override the loadWsdl function.



package

{

 import
mx.rpc.soap.WebService;



 public
class EmbededWSDL extends WebService

 {

 

 public
function EmbededWSDL(){

 

 this.wsdl
= MY WSDL STRING;

 super();

 }

 

 }

}





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:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff
Sent: Thursday, June 29, 2006 4:16
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Embedding WSDL?











Kelly,

As Matt
observed, I'm using a single AS class (Cairngorm ServiceLocator) for webservice
calls. It's based on Jeff Tapper's DataManager class:

http://jeff.mxdj.com/as3datamanagerfix.htm

I changed
the logic to get the wsdl, when the application loads, to cut a few seconds off
of the initial data call. It appears that once the wsdl is loaded, the
webservice doesn't request it again for subsequent calls. If all of your
calls are to the same webservice, there would only be one request for the
wsdl. This would address your client's concern about network traffic.

-TH

Note: You don't have to use AS. The same thing can be done with mxml.


--- In flexcoders@yahoogroups.com,
Kelly Birr [EMAIL PROTECTED] wrote:

 thanks, I'll have to somehow centralize my web services into one
component,
 and find a way to mange getting the result events to the correct place
 depending on what the user is doing.
 
 - Kelly
 
 _ 
 
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of Matt Chotin
 Sent: Thursday, June 29, 2006 12:06 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: Embedding WSDL?
 
 
 
 We don't have WSDL caching right now. It sounds like your app may call for
 a strategy like a ServiceLocator where you put the WebService in a single
 location and refer to it from elsewhere. If you have 15 WebService tags
you
 will get 15 WSDL requests even if they are for the same WSDL. So two tags,
 less of a deal, 15, big pain. The DataServices approach that Tim has here
 is one example of a ServiceLocator.
 
 
 
 Matt
 
 
 
 _ 
 
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of Tim Hoff
 Sent: Wednesday, June 28, 2006 9:49 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Embedding WSDL?
 
 
 
 I have the same question as Kelly. It seems that the initial call 
 to a webservice is slower because of the wsdl. Subsequent calls are 
 fine, but there is always an initial delay. I know, switch to 
 HTTPService or RemoteObject.
 
 For the following code, I'm thinking that I could override the 
 loadWSDL() function, but the mx.rpc.soap.WebService API doesn't 
 appear in the framework. Is the API final? Is there a work-around 
 here?
 
 public function DataServices(pri:PrivateClass, wsdl:String)
 {
 this.ws = new WebService();
 ws.wsdl = wsdl;
 ws.loadWSDL();
 ws.useProxy = false;
 ws.makeObjectsBindable = false;
 }
 
 Thank you,
 -TH
 
 --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com,
 Kelly Birr kelly.fx@ wrote:
 
  Is it possible to somehow embed WSDL in the compiled SWF, or 
 read/write the
  actual WSDL directly to the web services without them having to 
 request it
  via HTTP at runtime? Can I bind the WSDL to a string that I 
 manually
  request via UrlLoader?
  
  Along with that if I have 15 different web service tags on 
 different MXML
  components of my application that all call the same web service 
 with the
  exact same WSDL Uri, will the WSDL cache? or will each Web Service 
 instance
  make a request for the WSDL via HTTP when it is initialized.
  
  My client is very concerned that the application may be 
 too chatty on
  their network and it seems that these WSDL requests may be part of 
 the
  problem. I'm using Flex 2.0 RTM.
  
  - Kelly
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development

RE: [flexcoders] Camera Vs Scanner in Flex

2006-06-28 Thread Andrew Trice










Nope, Ive tried many times. You might
want to look into interacting with a JAVA applet that interacts with the scanner
for you. Check out jtwain. There might be others out there also.



-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:flexcoders@yahoogroups.com] On Behalf Of tinywhistles
Sent: Wednesday, June 28, 2006
9:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Camera Vs
Scanner in Flex











Hi

Like Camera.GetCamera() to read images from a locally-attached camera, 
is there a similar way to read images from a Scanner?

Any clues?






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Can Flex record audio locally?

2006-06-27 Thread Andrew Trice










You can definitely show the sound wave in
flex without any 3rd party tools. Take a look at this:



http://blog.benstucki.net/?id=18




Getting access to the raw sound data is a
different story.





_

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 John C. Bland II
Sent: Tuesday, June 27, 2006 12:47
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Can Flex
record audio locally?











So you can't receive callbacks from .Net when the
waves change, etc? Maybe even have Flex use NetStream to connect with .Net to
play the live stream back. 

I don't know. I haven't used Rebus so I'm not sure. Either way, I don't think
there is an option available at this present time using Flex locally with no
streaming server. 



On 6/26/06, Jeremy
Lu [EMAIL PROTECTED]
wrote:












Yap, I'm playing with Rebus lately and surely it provide sound recording
capability (via .NET) but that's really not quite enough, what if I need to
show the sound wave in Flex 2 or do some simple sound editing, this is where
flex 2 (as a UI front-end) come short of. 

Btw, letting flash player do some low level mic/sound stream processing doesn't
really means it will rule out FMS, they are for very different kind of use
cases in my opinion.

Jeremy.



On 6/26/06, John C. Bland II [EMAIL PROTECTED]
wrote: 

















I don't recall anything. What they can do is look into
Rebus by MDM. It is in beta/testing right now. This is if they are bent on
using Flex for the UI. They could do it all with .Net but Flex would most
likely provide the front-end and Flash Player the install base they'd like. 

http://www.mdmforum.com/forum/index.php?showtopic=16153hl=rebus


We built a sound recording app using Flash 8 and Zinc 2.5 so they aren't bound
to Rebus if they don't want to be Windows specific.









On 6/26/06, Mike Potter  [EMAIL PROTECTED] 
wrote:











Hi all:
Drupal is looking to create a project that will allow users to record
audio locally and then upload that audio to the server. Does Flex allow
developers to record audio to shared object and store it locally?

I think the answer to this is no and that developers need Flash Media
Server to record video and audio, but I just want to make sure.

Thanks,

Mike

























-- 
John C. Bland II
I do what I can do when I can do it. - Chris Tucker, Money Talks

http://www.gotoandstop.org
- Home of FMUG.az 


































-- 
John C. Bland II
I do what I can do when I can do it. - Chris Tucker, Money Talks

http://www.gotoandstop.org - Home of
FMUG.az 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Can Flex record audio locally?

2006-06-26 Thread Andrew Trice










Ive looked into this same idea pretty
extensively, and I have not been able to come up with a solution (without the
use of Flash Media Server). My thoughts are that there has got to be a way to
extend the NetStream class to get access to the actual data stream from the
microphone object. Unfortunately, there is nothing in the API that gives you
the slightest hint of how to do this. 





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



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

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike Potter
Sent: Monday, June 26, 2006 11:25
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can Flex
record audio locally?











Hi all:
Drupal is looking to create a project that will allow users to record
audio locally and then upload that audio to the server. Does Flex allow
developers to record audio to shared object and store it locally?

I think the answer to this is no and that developers need Flash Media
Server to record video and audio, but I just want to make sure.

Thanks,

Mike






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Camera object

2006-06-09 Thread Andrew Trice










Hi Everyone,



Does anyone the specifics of what defines a camera
to the Camera object? Webcams work great, but what if I have other
devices that stream video content? Is there a specification anywhere that
states the interface/criteria that the device must adhere to in order to be
detected by the flash player? Currently, I only have a webcam connected
to my machine and I am wondering what else I can connect. 



Will a camcorder work? 

Will a video capture/tv decoder card work?



In the windows device manager, I see my webcam listed in the
Imaging devices category Does any hardware that is detected
by the OS as an Imaging device work within the flash player?



All feedback appreciated!



Thanks,

Andy



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



Email: [EMAIL PROTECTED]

Office: 866-CYNERGY








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





  1   2   >