[flexcoders] FDS 2.0

2006-08-14 Thread Mika Kiljunen










Hi,

It’s a bit unclear to me… does FDS 2.0 contain
remote object support or is it contained with Enterprise license only? 

 

Hint… Adobe could put more info to the Adobe site
concerning the differences of FDS licenses, please… J

 

-Mika

 



 



 




__._,_.___





--
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] Re: Trouble Printing lots of images--PLEASE HELP!!!!!!

2006-08-14 Thread Tim Hoff
Hi Wayne,

This a little out of my area, but maybe it will spark an idea.  
Instead of loading the images that you want to print, one-at-a-time, 
into a canvas.  You could load all of the images, at the same time, 
into a Repeater (or a list-based control).  On creationComplete of 
the Repeater, add the child (Repeater) to the PrintJob.

If you are also embedding the images, this approach may consume a 
lot of CPU resources.  But, I'm sure that you can find a balance 
here.

Hope this helps,
Tim

--- In flexcoders@yahoogroups.com, "wayneposner" <[EMAIL PROTECTED]> 
wrote:
>
> I've been trying to figure this one out for about a week now with 
no 
> success.
> 
> I'm trying to load a bunch of images dynamically from an XML file, 
> pass each image, one at a time, to a Canvas and then print that 
> Canvas, but only being prompted with the print dialog for the 
first 
> image.  If I just pass the image to the canvas, the print command 
> has executed before the image loads.
> 
> If I use an event listener for the complete action on my canvas I 
> get the print dialog for every canvas that tries to print, 
provided 
> I instatiate a new FlexPrintJob in my event handler--as opposed to 
a 
> global FlexPrintJob which simply results in an empty print job.
> 
> I've tried writing a preloader using the Loader class and a  
sprite 
> to hold the image and then add the sprite to my canvas, but  my 
code 
> fails at the addChild() statement at run time because flex cannot 
> coerce the Loader into an IUIComponent. 
> 
> I've also tried a preinitialze event on my canvas which calls the 
> image.Load command for an mx:image tag, but that doesn't work 
either.
> 
> 
> It seems like I'm running out of options here.  I didn't think it 
> would be so difficult to print multiple pages of images in Flex.  
> Can someone please help
> 
> Thanks
> Wayne
>







--
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] FDS:one-to-many with lazy evaluation

2006-08-14 Thread Matt Chotin












I believe the FlexCab sample has an
example of this.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dmitry Miller
Sent: Monday, August 14, 2006 5:29
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
FDS:one-to-many with lazy evaluation



 







Hello, everyone

Does anyone have a sample on managed lazy one-to-many FDS association?
I could not find one on Adobe site nor on google. 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] Operation.arguments is populated but nulls are sent

2006-08-14 Thread Matt Chotin












You should be calling op.send(), if you
call GetDataByGrouping() you’re ignoring the arguments.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard
Sent: Monday, August 14, 2006 2:14
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Operation.arguments is populated but nulls are sent



 







I am having a very odd error, and it only happens
sometimes. I am
creating an object structure and then assigning that to the arguments
property of my mx.rpc.soap.Operation object like this:

op.arguments = args;

I then call the SOAP method like this:

var call:AsyncToken = service.GetDataByGrouping();
call.addResponder(responder);

Sometimes (I've not figured out a pattern), Flex somehow loses all of
the contents of the arguments property and sends nulls. It is sending
the same number of nulls as there were properties though, so I am
super confused. The Operation.arguments object is still populated with
the correct data, but none of it gets sent. Does anyone have any idea
what is going on here? I am pasting the entire method from my delegate
below. 

// in the delegate constructor
service = ServiceLocator.getInstance().getService("cmws")
as WebService;

// in the method called by my command class
var op:Operation = service.getOperation("GetDataByGrouping")
as Operation;
op.resultFormat = "e4x";
// temp object to store arguments
var args:Object = new Object();
args.groupingRequests = new Object();
args.groupingRequests.GroupName = "RPRTool";
args.groupingRequests.Parameters = new Array();
... populate Parameters array ...
op.arguments = args; 
var call:AsyncToken = service.GetDataByGrouping();
call.addResponder(responder);

// results in sendign an object like this
ts
xmlns:ns1="http://fmr.com/BackOffice/ClientMeasures">
quest/>
quest/>
quest/>

Ben






__._,_.___





--
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] Anyone know of an automatic generator of multiple Flex apps from a single SWF?

2006-08-14 Thread Matt Chotin












It won’t be done automatically for
you in the near-term; that’s a pretty hard problem to solve.  You will
want to do it manually for now.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tombaggett
Sent: Monday, August 14, 2006 1:20
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Anyone know
of an automatic generator of multiple Flex apps from a single SWF?



 







I've briefly reviewed the Ariaware Optimizer product,
read Roger 
Gonalez' "Multi-SWF apps" and "ApplicationDomain" blog
entries and 
Ted Patrick's "Flex Shared Libraries" posts, which leads me to a 
question.

Should I be concerned with manually breaking my Flex app into 
smaller on-demand pieces or rest assured that the next Flex release 
or a separate product will come along that will do this for me?

Ideally, all the portions of the app that aren't immediately 
executed would be extracted into separate SWFs. Stub code that 
would load the separate SWF on an on-demand basis would replace the 
now-extracted content.

It would also be nice if the modules could be automatically 
downloaded during idle time after app startup. They would then be 
cached in the event the user was offline when they accessed a 
previously-unused portion of the app.

Any insight/crystal ball gazing is most appreciated!

Thanks,

Tom






__._,_.___





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

2006-08-14 Thread Matt Chotin












The free version is limited to 1 cpu with
no clustering.  So depending on how many users you’re expecting it could
be sufficient.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Weldon MacDonald
Sent: Monday, August 14, 2006 3:13
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] WhiteBoard



 







My
application has a whiteboaerd requirement, but these people can't
afford the full ride for FDS. What are the limitations on the free
version? Are there alternatives?

Weldon MacDonald






__._,_.___





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



  






__,_._,___






[flexcoders] Trouble Printing lots of images--PLEASE HELP!!!!!!

2006-08-14 Thread wayneposner
I've been trying to figure this one out for about a week now with no 
success.

I'm trying to load a bunch of images dynamically from an XML file, 
pass each image, one at a time, to a Canvas and then print that 
Canvas, but only being prompted with the print dialog for the first 
image.  If I just pass the image to the canvas, the print command 
has executed before the image loads.

If I use an event listener for the complete action on my canvas I 
get the print dialog for every canvas that tries to print, provided 
I instatiate a new FlexPrintJob in my event handler--as opposed to a 
global FlexPrintJob which simply results in an empty print job.

I've tried writing a preloader using the Loader class and a  sprite 
to hold the image and then add the sprite to my canvas, but  my code 
fails at the addChild() statement at run time because flex cannot 
coerce the Loader into an IUIComponent. 

I've also tried a preinitialze event on my canvas which calls the 
image.Load command for an mx:image tag, but that doesn't work either.


It seems like I'm running out of options here.  I didn't think it 
would be so difficult to print multiple pages of images in Flex.  
Can someone please help

Thanks
Wayne







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

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

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

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





[flexcoders] Videodisplay and NetConnection object must be connected errors

2006-08-14 Thread Dan Rossi






Hi, alot of the time when trying to use the
VideoDisplay object i keep getting these exception errors. It seems the
ns is being created before an actual connection is established. Is this
a bug ?

ArgumentError: Error #2126: NetConnection object must be connected.
    at flash.net::NetStream/flash.net:NetStream::construct()
    at flash.net::NetStream$iinit()
    at
VideoPlayer.as$317::VideoPlayerNetStream$iinit()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:2883]
    at
mx.controls.videoClasses::VideoPlayer/mx.controls.videoClasses:VideoPlayer::createStream()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:2712]
    at
mx.controls.videoClasses::VideoPlayer/ncConnected()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:2043]
    at
mx.controls.videoClasses::NCManager/onConnected()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\NCManager.as:1038]
    at
mx.controls.videoClasses::NCManagerConnectClient/onBWDone()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\NCManagerConnectClient.as:47]



__._,_.___





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



  






__,_._,___




[flexcoders] Re: passing a parameter to a flex application via a url

2006-08-14 Thread Doug Lowder
For clarity, 21-26 would look like the following:

var myvars = new String(document.location).split('?')[1];
// -->






--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> Hi Hank,
> 
> Line 21 would be a new line, not a replacement.  That'll push the
> flashvars line from 73 to 74, where you'll add your extra 
parameters.
> 
> 
> --- In flexcoders@yahoogroups.com, "hank williams"  
wrote:
> >
> > Thanks Doug,
> > 
> > This is **very**  helpful. The only thing is I am not quite sure 
where
> > you want me to put the thing at line 21.
> > 
> > Just for context 21 - 25 look like this:
> > 
> > // -->
> > 
> > 
> > 
> > 
> > 
> > 
> > If I replaced line 21 I would be replacing the end of a comment 
block.
> > Did you mean to insert between the existing 21 and 22?
> > 
> > Thanks
> > Hank
> > 
> > On 8/14/06, Doug Lowder  wrote:
> > > In FB2, open the html-template folder, right-click the
> > > index.template.html file and select open with -> text editor.  
The
> > > following changes will pass your url-string parameters on to 
the swf
> > > via the flashvars parameter:
> > >
> > > line 21: var myvars = new String(document.location).split('?')
[1];
> > >
> > > line 74: "flashvars",'historyUrl=history.htm%3F&lconid=' + 
lc_id
> > > + '&' + myvars,
> > >
> > > Append whatever you want to the URL of your swf's html 
container
> > > (e.g., "?myparam=myvalue") and you will be able to access it 
through
> > > mx.core.Application.application.parameters.
> > >
> > > HTH,
> > > Doug
> > >
> > > --- In flexcoders@yahoogroups.com, "hank williams" 
> > > wrote:
> > > >
> > > > I want to pass some information to my flex app on startup, 
and I
> > > want
> > > > that info to be embedded in the url.
> > > >
> > > > The problem is that in order for flex to run nice it sits in 
some
> > > kind
> > > > of swf html object which is a ctually the thing that calls 
the
> > > swf. So
> > > > my question is how do I retain the benefits of the swfObject 
and
> > > pass
> > > > the parameter to the swf.
> > > >
> > > > As I am typing this, I am thinking javascript, but I know 
about as
> > > > much about javascript as I do about open heart surgery. So 
if that
> > > is
> > > > what is necessary - or even if its not :) any example or 
ideas on
> > > > specifically how to do this would be greatly appreciated.
> > > >
> > > > 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 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: passing a parameter to a flex application via a url

2006-08-14 Thread Doug Lowder
Hi Hank,

Line 21 would be a new line, not a replacement.  That'll push the
flashvars line from 73 to 74, where you'll add your extra parameters.


--- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> wrote:
>
> Thanks Doug,
> 
> This is **very**  helpful. The only thing is I am not quite sure where
> you want me to put the thing at line 21.
> 
> Just for context 21 - 25 look like this:
> 
> // -->
> 
> 
> 
> 
> 
> 
> If I replaced line 21 I would be replacing the end of a comment block.
> Did you mean to insert between the existing 21 and 22?
> 
> Thanks
> Hank
> 
> On 8/14/06, Doug Lowder <[EMAIL PROTECTED]> wrote:
> > In FB2, open the html-template folder, right-click the
> > index.template.html file and select open with -> text editor.  The
> > following changes will pass your url-string parameters on to the swf
> > via the flashvars parameter:
> >
> > line 21: var myvars = new String(document.location).split('?')[1];
> >
> > line 74: "flashvars",'historyUrl=history.htm%3F&lconid=' + lc_id
> > + '&' + myvars,
> >
> > Append whatever you want to the URL of your swf's html container
> > (e.g., "?myparam=myvalue") and you will be able to access it through
> > mx.core.Application.application.parameters.
> >
> > HTH,
> > Doug
> >
> > --- In flexcoders@yahoogroups.com, "hank williams" 
> > wrote:
> > >
> > > I want to pass some information to my flex app on startup, and I
> > want
> > > that info to be embedded in the url.
> > >
> > > The problem is that in order for flex to run nice it sits in some
> > kind
> > > of swf html object which is a ctually the thing that calls the
> > swf. So
> > > my question is how do I retain the benefits of the swfObject and
> > pass
> > > the parameter to the swf.
> > >
> > > As I am typing this, I am thinking javascript, but I know about as
> > > much about javascript as I do about open heart surgery. So if that
> > is
> > > what is necessary - or even if its not :) any example or ideas on
> > > specifically how to do this would be greatly appreciated.
> > >
> > > 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 
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: [Junk E-Mail - LOW] [flexcoders] Dynamic datagrid columns

2006-08-14 Thread Tom Fitzpatrick
Shan - yes, that was enough to get me going. It's actually easier than 
in 1.5.

Thanks!

- Tom

Shannon Hicks wrote:
>
> Yes. Here's a little sample code, hopefully you can figure out what I 
> did :)
>  
>public function getProductsResult(event:ResultEvent):void {
> acProducts = event.result as ArrayCollection;
> var newColumns:Array = dgStoreStates.columns;
> var cf:ClassFactory = new 
> ClassFactory(com.webapper.controls.GridCheckBox);
> var thisColumn:DataGridColumn;
> 
> for (var i:Number=0;i  thisColumn = new DataGridColumn();
>  thisColumn.dataField = "prod" + 
> acProducts.getItemAt(i).productID.toString();
>  thisColumn.setStyle("textAlign","center");
>  thisColumn.width = 100;
>  thisColumn.headerText = acProducts.getItemAt(i).productName;
>  thisColumn.headerText = thisColumn.headerText.replace("&","&");
>  thisColumn.itemRenderer = cf;
>  thisColumn.rendererIsEditor = true;
>  thisColumn.editorDataField = "value";
>  newColumns.push(thisColumn);
>  dgStoreStates.columns = newColumns;
> }
> CursorManager.removeBusyCursor();
>}
>  
> Shan
>
> 
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *Tom Fitzpatrick
> *Sent:* Monday, August 14, 2006 10:36 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [Junk E-Mail - LOW] [flexcoders] Dynamic datagrid columns
>
> The dynamic column methods for the datagrid seem to have disappeared
> between 1.5 & 2.
>
> I've looked around for examples or descriptions of Flex 2 replacements
> for methods such as dataGrid.addColumn() and dataGric.removeAllColumns()
> that were available in 1.5, but haven't come up with much. Anyone have
> any pointers?
>
> - Tom
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.10.9/417 - Release Date: 8/11/2006
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.10.9/417 - Release Date: 8/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 
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] unable to get a camera by passing the name from the names list

2006-08-14 Thread Jeremy Lu



This had been discussed last week, Andrew provided a solution, try this:
_camera = Camera.getCamera( "1" );Note it's a "1" (string) in the function. Jeremy.On 8/14/06, Dan Rossi
 <[EMAIL PROTECTED]> wrote:













  







Hi, i think ive discovered a bug with the flash 9
player. Im unable to collect the camera from the names list like so

_camera = Camera.getCamera(Camera.names[1]);

if keeps returning null, even though when tracing Camera.names[1], its returning the name 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








   



  




  
  
  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] Image manipulation on client side

2006-08-14 Thread Rick Root
edugalvez wrote:
> 
> Any idea?

I don't wanna say it can't be done but... I'm pretty sure it can't be 
done.  Not with the flash player at least.  Not on the client side.

Why not upload to the server and then manipulate?

Rick


--
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] Image manipulation on client side

2006-08-14 Thread Rick Root
edugalvez wrote:
> 
> Any idea?


To expand on my last message.. if you're using something like Coldfusion 
on the backside, you could upload the jpg and load it into the flex app 
dynamically (I think)... and then use web service / flex remoting calls 
to a CFC that would perform server side image manipulation and cause the 
manipulated image to be reloaded into the flex app.

Rick


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

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

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

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




[flexcoders] FDS:one-to-many with lazy evaluation

2006-08-14 Thread Dmitry Miller
Hello, everyone

Does anyone have a sample on managed lazy one-to-many FDS association?
I could not find one on Adobe site nor on google. Thanks





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

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

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

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





Re: [flexcoders] Re: passing a parameter to a flex application via a url

2006-08-14 Thread hank williams
Thanks Doug,

This is **very**  helpful. The only thing is I am not quite sure where
you want me to put the thing at line 21.

Just for context 21 - 25 look like this:

// -->






If I replaced line 21 I would be replacing the end of a comment block.
Did you mean to insert between the existing 21 and 22?

Thanks
Hank

On 8/14/06, Doug Lowder <[EMAIL PROTECTED]> wrote:
> In FB2, open the html-template folder, right-click the
> index.template.html file and select open with -> text editor.  The
> following changes will pass your url-string parameters on to the swf
> via the flashvars parameter:
>
> line 21: var myvars = new String(document.location).split('?')[1];
>
> line 74: "flashvars",'historyUrl=history.htm%3F&lconid=' + lc_id
> + '&' + myvars,
>
> Append whatever you want to the URL of your swf's html container
> (e.g., "?myparam=myvalue") and you will be able to access it through
> mx.core.Application.application.parameters.
>
> HTH,
> Doug
>
> --- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]>
> wrote:
> >
> > I want to pass some information to my flex app on startup, and I
> want
> > that info to be embedded in the url.
> >
> > The problem is that in order for flex to run nice it sits in some
> kind
> > of swf html object which is a ctually the thing that calls the
> swf. So
> > my question is how do I retain the benefits of the swfObject and
> pass
> > the parameter to the swf.
> >
> > As I am typing this, I am thinking javascript, but I know about as
> > much about javascript as I do about open heart surgery. So if that
> is
> > what is necessary - or even if its not :) any example or ideas on
> > specifically how to do this would be greatly appreciated.
> >
> > 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 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: passing a parameter to a flex application via a url

2006-08-14 Thread Doug Lowder
In FB2, open the html-template folder, right-click the 
index.template.html file and select open with -> text editor.  The 
following changes will pass your url-string parameters on to the swf 
via the flashvars parameter:

line 21: var myvars = new String(document.location).split('?')[1];

line 74: "flashvars",'historyUrl=history.htm%3F&lconid=' + lc_id 
+ '&' + myvars,

Append whatever you want to the URL of your swf's html container 
(e.g., "?myparam=myvalue") and you will be able to access it through 
mx.core.Application.application.parameters.

HTH,
Doug

--- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> 
wrote:
>
> I want to pass some information to my flex app on startup, and I 
want
> that info to be embedded in the url.
> 
> The problem is that in order for flex to run nice it sits in some 
kind
> of swf html object which is a ctually the thing that calls the 
swf. So
> my question is how do I retain the benefits of the swfObject and 
pass
> the parameter to the swf.
> 
> As I am typing this, I am thinking javascript, but I know about as
> much about javascript as I do about open heart surgery. So if that 
is
> what is necessary - or even if its not :) any example or ideas on
> specifically how to do this would be greatly appreciated.
> 
> 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

<*> 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] Select Multiple Dates

2006-08-14 Thread Deepa Subramaniam












Set the allowMultipleSelection property to
true. 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of pateyog
Sent: Monday, August 14, 2006 3:09
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Select
Multiple Dates



 







Does anybody know how to make the
 tag to select
multiple dates.
Thanks in advance.






__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



   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] Re: Best way to reference items in a parent MXML component?

2006-08-14 Thread ben.clinkinbeard
I am assuming that will require casting, correct? I think I tried that
and by default parent or parentDocument (can't remember which I tried)
returns a DisplayObject or something. So I guess I would need
something like this?

AnalysisStack(parentDocument).someMethod();

Thanks,
Ben

--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> > How would a child call a function in the parent though?
> 
>  
> 
> parentDocument.someMethod();
> 
>  
> 
> - Gordon
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of ben.clinkinbeard
> Sent: Saturday, August 12, 2006 3:12 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Best way to reference items in a parent MXML
> component?
> 
>  
> 
> How would a child call a function in the parent though? Events don't
> seem (semantically) like the right thing because I basically just want
> to use a utility function defined in the parent. Like I have a
> function that I am using to format the dataTips of my charts in the
> child components, but dispatching an event every time I roll over a
> chart item seems a bit tedious and extreme.
> 
> Is there a better way or do I just need to get used to using events? I
> come from a Flash background and have not used events very much.
> 
> Thanks,
> Ben
> 
> --- In flexcoders@yahoogroups.com 
> , "Sergey Kovalyov"
>  wrote:
> >
> > Events must be used here. Your child elements should dispatch custom
> > events and container that holds them should listen to that events.
> > Event listener will handle the child via target property of event
> > object.
> > 
> > On 8/12/06, ben.clinkinbeard  wrote:
> > > I have a ViewStack whose child elements each contain a graph. I
> would
> > > like to define some things in the file that holds the ViewStack so
> > > that all of the child charts can use them, but am not sure of the
> best
> > > way to reference and call these things. Ideally I would like to
> > > somehow pass in a reference to the containing object so that I don't
> > > have to pass several items into each child, but have yet to figure
> out
> > > a way to do that. I know there has to be a better way than what I
> have
> > > now:
> >
>






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

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

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

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





RE: [flexcoders] Re: Cairngorm:One controller, so many commands, so many delegates, so many event

2006-08-14 Thread Dimitrios Gianninas





You can reuse the same event, but forgo the constructor. 
Have the event  class have the following fields:
 
public var xmlData:XML;
public var itemId:Number;
 
So set which ever one u want based on the type of update u 
are doing, the command will extra what data it needs from the event. That should 
save u some code. Also, if u are sending just one piece of data, which is not so 
detailed, then don't create a specific event class, just create and instance of 
the Cairngorm class and use its generic "data" field.
 
Dimitrios 
Gianninas
RIA Developer
Optimal 
Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JasonSent: 
Monday, August 14, 2006 6:10 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm:One 
controller, so many commands, so many delegates, so many 
event


I tried combining 
similar events, commands, delegates with mixed success.  For instance if I 
had one event called "UpdateTreeDataEvent" where I assigned different 
events as static vars like "ADD", "ADD_CHILD", "EDIT", "DELETE", etc.  I 
could call specific events in that event class withvar nav:UpdateTreeDataEvent 
= new UpdateTreeDataEvent(UpdateTreeDataEvent.DELETE, '', 
customForms);    
CairngormEventDispatcher.getInstance().dispatchEvent(nav);However I ran into problems when I 
wanted to send different types of data to the event.  AS3 does not allow 
for overloading of the constuctor. So if I wanted to send a XML for my ADD and a 
Number for my DELETE events then I was forced to create an Object of properties 
and then look through that object to see what data was in it (send multiple 
props and send some as null data)In the end it kinda was more work then 
just creating the dozen or so different Class files.  How are 
others dealing not wanting to have 400 files for 100 
events?--jason--- In 
[EMAIL PROTECTED]ups.com, "Dimitrios Gianninas" 
@...> wrote:>> What I do is 
typically is have one delegate that groups server interaction for every specific 
portion of the app. So one delegate is used by several commands. For an example 
ticketing app I'd have a UserDelegate (for specific user interaction, might have 
several method) and TicketDelegate (has several methods for interacting with a 
server... ex.: create, update, etc...)> > Hope that helps.> 
> Dimitrios Gianninas> RIA Developer> Optimal Payments 
Inc.> > > 
> > From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On 
Behalf Of flxcoder> Sent: Monday, August 14, 2006 2:01 PM> To: 
[EMAIL PROTECTED]ups.com> Subject: [flexcoders] Cairngorm:One 
controller, so many commands, so many delegates, so many events> > 
> > Now I have about 4-5 events that correspond with the app 
server and > get data back. Each of these events get registered with the 
> CairngormEvent. When the controller executes these events it needs a 
> command associated with the event. Each such command needs a 
delegate.> > So for my one interaction with the server I have at 
least one Event > class, one Command class and one delegate class and 
untold number of > interests in the ModelLocator. This is leading to code 
cluge.> > Just wondering whether this is what the rest of the 
developers are > doing or am I doing something wrong. In my app, I might 
end up having > about 30-40 separate server calls at least. That will 
lead to 90-120 > independant files.> > Is this what you are 
running into as well? Am I missing something?> > Thanks.> 
> > > > > -- > WARNING> 
---> This electronic message and its attachments may contain 
confidential, proprietary or legally privileged information, which is solely for 
the use of the intended recipient. No privilege or other rights are waived by 
any unintended transmission or unauthorized retransmission of this message. If 
you are not the intended recipient of this message, or if you have received it 
in error, you should immediately stop reading this message and delete it and all 
attachments from your system. The reading, distribution, copying or other use of 
this message or its attachments by unintended recipients is unauthorized and may 
be unlawful. If you have received this e-mail in error, please notify the 
sender.> > AVIS IMPORTANT> --> Ce 
message électronique et ses pièces jointes peuvent contenir des renseignements 
confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du 
destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun 
autre droit si le présent message a été transmis involontairement ou s'il est 
retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du 
présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement 
de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre 
système. La lecture, la distribution, la copie ou tout autre usage du présent 
message ou de ses pièces jointes par des personnes autres que le destinataire 
v

[flexcoders] passing a parameter to a flex application via a url

2006-08-14 Thread hank williams
I want to pass some information to my flex app on startup, and I want
that info to be embedded in the url.

The problem is that in order for flex to run nice it sits in some kind
of swf html object which is a ctually the thing that calls the swf. So
my question is how do I retain the benefits of the swfObject and pass
the parameter to the swf.

As I am typing this, I am thinking javascript, but I know about as
much about javascript as I do about open heart surgery. So if that is
what is necessary - or even if its not :) any example or ideas on
specifically how to do this would be greatly appreciated.

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

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

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

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





[flexcoders] Need help using check box to remove data from chart and datagrid

2006-08-14 Thread jlingwai
I'm tring to have a datagrid update automatically when a check box is 
either checked or unchecked.  I'm able to view all the data, but 
unable to remove data when the box is uncheck.

Thanks,
Josh






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

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

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

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




[flexcoders] Re: removing a key from object

2006-08-14 Thread Doug Arthur



Ok, I sent this email too soon. I have figured it out.
 
delete UserData.getInstance().recordMap[vendorOrder.detail_id];
 
- Doug 
On 8/14/06, Doug Arthur <[EMAIL PROTECTED]> wrote:


How do you remove a key from an Object in flex?
 
This is what I currently have:UserData.getInstance().recordMap[vendorOrder.detail_id] = null;

What I really want to do is completely remove vendorOrder.detail_id from the recordMap Object completely, not just set it null.
 
Thanks!

- Doug

__._,_.___





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



  






__,_._,___



[flexcoders] Re: Variations of sending arguments to a WebService in AS

2006-08-14 Thread kaleb_pederson
Ben, thanks for your comments.

I added that to my list of variations and it results in the same 
traceback as does my variation six -- that is, it generates an error 
saying that sendStrings (or arg0) was an unexpected parameter found 
in the input :(.

However... without seeing the relevant portion of your WSDL and XSD 
I can't be positive that I did the mapping in the exact same 
fashion, so if you could post the relevant portions that would be 
great.

Thanks for the help.

--Kaleb

--- In flexcoders@yahoogroups.com, "ben.clinkinbeard" 
<[EMAIL PROTECTED]> wrote:
>
> I didn't read through all of your code but here is the method I 
have
> been using with success.
> 
> var op:Operation = service.getOperation("GetDataByGrouping") as 
Operation;
> op.resultFormat = "e4x";
> // temp object to store arguments
> var args:Object = new Object();
> args.groupingRequests = new Object();
> args.groupingRequests.GroupName = "RPRToolStaticData";
> 
> op.arguments = args;
> service.GetDataByGrouping();
> 
> HTH,
> Ben
> 
> --- In flexcoders@yahoogroups.com, "kaleb_pederson"  
wrote:
> >
> > Hello,
> > 
> > I'm trying to send some arguments to a webservice, but every 
> > variation I have tried other than generating the XML from 
scratch 
> > keeps failing (eg. sends an empty message body).  Relevant parts 
of 
> > the WSDL are as follows:
> > 
> >   
> > 
> >   
> >   
> >  > name="parameters">
> >   
> > ...
> >
> >   
> >   
> > 
> > 
> > And from the XSD:
> > 
> >> xmlns:ns3="http://server.webservices.tutorials.wakaleo.com/"; 
> > type="ns3:sendStrings" name="sendStrings">
> > 
> >   
> > 
> >> maxOccurs="unbounded">
> > 
> >   
> > 
> >> xmlns:ns4="http://server.webservices.tutorials.wakaleo.com/"; 
> > type="ns4:sendStringsResponse" 
> > name="sendStringsResponse">
> > 
> >   
> > 
> >> maxOccurs="unbounded">
> > 
> >   
> > 
> > Based on everything that I have been able to find in the 
> > documentation and on flexcoders, there are a number of different 
> > ways to send requests to the web service, so I tried each of the 
> > ones that I could find.
> > 
> > However, only one of them succeeds -- specifically, the case 
where I 
> > build an XMLDocument from scratch and send it.  All the other 
cases 
> > fail -- that is, they do not pass *any* arguments to the web 
> > service.
> > 
> > The following TestCase (which is kind of long) shows the 
different 
> > variations that have been tried.  The main things of interest 
are 
> > the variationN functions in the beginning of the class as these 
test 
> > the different ways to call the web service.  If TestCase had an 
> > asyncSetup function the sample case could be quite a bit 
shorter... 
> > (but perhaps I'll work on that next):
> > 
> > package code
> > {
> >   import flash.events.Event;
> >   import flexunit.framework.TestCase;
> >   import mx.rpc.events.FaultEvent;
> >   import mx.rpc.events.ResultEvent;
> >   import mx.rpc.soap.LoadEvent;
> >   import mx.rpc.soap.mxml.WebService;
> >   import flash.utils.describeType;
> >   import mx.rpc.events.AbstractEvent;
> >   import mx.rpc.AbstractOperation;
> >   import flash.xml.XMLDocument;
> >   import flash.xml.XMLNode;
> >   
> >   
> >   public class TestSendStrings extends TestCase
> >   {
> > private var ws:WebService;
> > private static const SERVICE_TIMEOUT:Number = 2000;
> > private var wsdlUrl:String 
> > = "http://192.168.1.108:8080/stockquotes/stock_quote?wsdl";;
> > private var responseHandler:String;
> > private var sendStringsFunc:String;
> > 
> > // these are the different variations that I have tried. Of 
> > these
> > // different variations, variation9 succeeds because I have 
hand
> > // crafted a valid message body (NOTE that variation 8 fails 
and
> > // that the only difference is XML vs. XMLDocument).  
variation6
> > // generates a fault, so it fails for a different reason 
than
> > // some of the others
> > private function variation1():void {
> >   trace('variation1');
> >   var op:AbstractOperation = ws.getOperation('sendStrings');
> >   op.arguments = new Array('variation','one');
> >   op.send();
> > }
> > 
> > private function variation2():void {
> >   trace('variation2');
> >   ws.sendStrings.arguments = new Array('variation','two');
> >   ws.sendStrings.send();
> > }
> > 
> > private function variation3():void {
> >   trace('variation3');
> >   ws.sendStrings.send(new Array('variation','three'));
> > }
> > 
> > private function variation4():void {
> >   trace('variation4');
> >   ws.sendStrings.send('variation','four');
> > }
> > 
> > private function variation5():void {
> >   trace('variation5');
> >   ws.sendStrings('variation','five');
> > }
> > 
> > private function variation6():void {
> >   // this function results in a fault event:
> >   // Un

[flexcoders] Re: Could not resolve to a component implementation." problem

2006-08-14 Thread boreasx
Hi it may be a late message but JVM causes problems on some 
operating systems in other than English Locale (My os is in Turkish 
Locale) . The workaround for this problem is to add two arguments to 
the jvm.config file. Those arguments overrides the local settings of 
the operating systems and forces jvm to run in English locale.

For this workaround locate jvm.config file its generally under 
C:\fds2\jrun4\bin

open it and add following arguments located under 
# Arguments to VM

line to add:
-Duser.language=en -Duser.region=US

Best Regards

Bora ÜNAL
Advanced ColdFusion Developer

This solves the 
"Could not resolve
> >  to a component implementation." error. 

--- In flexcoders@yahoogroups.com, "iamthelf" <[EMAIL PROTECTED]> wrote:
>
> ok i find it :]
> it is because of windows's language for non-Unicode programs. 
somehow
> it changed to Turkish. Now it is english and there is no problem. i
> think it is because of the locale setting of flex compiler.
> 
> oktay
> 
> --- In flexcoders@yahoogroups.com, "iamthelf"  wrote:
> >
> > hi;
> > yesterday suddenly flex builder start to give "Could not resolve
> >  to a component implementation." error and didnt 
compile my
> > apps. i couldnt find any solution to this. what is the problem. 
i also
> > uninstall and reinstall the flex builder.
> > here is a simple code:
> > ---
> > 
> > http://www.adobe.com/2006/mxml";
> > layout="absolute">
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ---
> > but it shows the same error for that code too. i need help 
urgently.
> > 
> > oktay
> >
>







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

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

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

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





[flexcoders] XML vs. Array data provider... inline renderer for DataGridColumn discrepancy

2006-08-14 Thread Jeff Kroll





I'm stuck! I 
can't get an inline renderer 
for DataGridColumn to work with 
an XML data provider, even though it works just fine for an Array data 
provider. Please 
see the example 
code.
 
Thanks in 
advance!
Jeff
 
 
http://www.adobe.com/2006/mxml" 
height="350" width="250">        
    
    
 
   
      
__._,_.___





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



  






__,_._,___



[flexcoders] Select Multiple Dates

2006-08-14 Thread pateyog
Does anybody know how to make the  tag to select
multiple dates.
Thanks in advance.





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

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

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

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




[flexcoders] Re: Operation.arguments is populated but nulls are sent

2006-08-14 Thread kaleb_pederson
Ben, unfortunately I can't give you any help... but this is about 
identical to what I see every time I try to send arguments in any 
non-trivial fashion (eg. wrapped in a sequence or using complex 
types).  Basically, every time I send arguments ... they show up as 
nulls (eg. with empty bodies).

Please keep us updated and I'll let you know if I run into anything 
relevant that might help.

Thanks.

--Kaleb

--- In flexcoders@yahoogroups.com, "ben.clinkinbeard" 
<[EMAIL PROTECTED]> wrote:
>
> I am having a very odd error, and it only happens sometimes. I am
> creating an object structure and then assigning that to the 
arguments
> property of my mx.rpc.soap.Operation object like this:
> 
> op.arguments = args;
> 
> I then call the SOAP method like this:
> 
> var call:AsyncToken = service.GetDataByGrouping();
> call.addResponder(responder);
> 
> Sometimes (I've not figured out a pattern), Flex somehow loses all 
of
> the contents of the arguments property and sends nulls. It is 
sending
> the same number of nulls as there were properties though, so I am
> super confused. The Operation.arguments object is still populated 
with
> the correct data, but none of it gets sent. Does anyone have any 
idea
> what is going on here? I am pasting the entire method from my 
delegate
> below. 
> 
> // in the delegate constructor
> service = ServiceLocator.getInstance().getService("cmws") as 
WebService;
> 
> // in the method called by my command class
> var op:Operation = service.getOperation("GetDataByGrouping") as 
Operation;
> op.resultFormat = "e4x";
> // temp object to store arguments
> var args:Object = new Object();
> args.groupingRequests = new Object();
> args.groupingRequests.GroupName = "RPRTool";
> args.groupingRequests.Parameters = new Array();
> ... populate Parameters array ...
> op.arguments = args;  
> var call:AsyncToken = service.GetDataByGrouping();
> call.addResponder(responder);
> 
> // results in sendign an object like this
>  xmlns:ns1="http://fmr.com/BackOffice/ClientMeasures";>
>
>
>
> 
> Ben
>







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

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

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

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




[flexcoders] Image manipulation on client side

2006-08-14 Thread edugalvez
Any idea?


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

Hi all.

How can my flex 2 application manipulate images on the client file 
system?

Read manipulate as sepia-toning, resizing, rotating, exif-reading and 
uploading to server. Mainly jpgs.

1000 thanks.

--- End forwarded message ---







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

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

<*> 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] SOT: Flash Player 9 distribution

2006-08-14 Thread Rick Root
John Dowdell wrote:
> 
> FAQ here:
> http://www.adobe.com/products/flashplayer/productinfo/faq/#item-4-1 
> 
> 
> Summary, as I recall: Those few IE/Win users who do not use the normal
> ActiveX background installation, but are instead directed to the Adobe
> webpages, are the ones who can see additional download offers on those
> pages. Specifying a minimum version in your OBJECT tag should be enough
> to avoid any exposure to unwanted offers.


That's not really suitable IMO.  I've found the automated install 
process to be less than reliable - numerous people that I've asked to 
test our new flex apps have gotten a "Connecting.." dialog who were 
running Flash 7/8 that just hung there forever... before we roll out any 
flex apps I'd like to recommend people to to a web site to install 
because it seems to be more reliable that way.

I second the idea about Adobe making enough money off their products 
that they shouldn't need to throw that yahoo toolbar crap at everyone. 
And don't give me the "They can uncheck the box" line either.  You and I 
may be smart enough to do that but there are a phenomenal amount of 
people out there who just accept the defaults.

Rick


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

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

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

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




[flexcoders] Comobox dataprovider from an array

2006-08-14 Thread Jeremy Rottman
I am returning an array from my cfc, that holds data that I need to
use to populate a combobox. 

I am returing the array objects NAME and ID from my cfc, I am trying
to assign the return object NAME as the label of the combobox and
assign the return object ID as the data for the combo box. 

this is the code I am trying, but I does not populate the combo box.
The trace works fine, and I can Alert.show both retuned array objects.
So I know I am geting hte correct data. I just cant seem to figure out
how to populate the combobox.

Can someone give me a bit of insight as how to do this.

trace(result.length); 
 for (var i:Number = 0; i < result.length; i++) {
 branchID.dataProvider.addItem({label:result[i].NAME.Column1,
data:result[i].ID.Column2});
 }





--
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] removing a key from object

2006-08-14 Thread Gordon Smith












If recordMap is really just a plain
Object, then you would do

 

    delete UserData.getInstance().recordMap[vectorOrder.detail_id];

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doug Arthur
Sent: Monday, August 14, 2006 1:37
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] removing a
key from object



 









How do you remove a key from an Object in flex?





 





This is what I currently have:
UserData.getInstance().recordMap[vendorOrder.detail_id]
= null;





What I really want to do is completely remove vendorOrder.detail_id
from the recordMap Object completely, not just set it null.





 





Thanks!





- Doug








__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Flex2: Error: VideoPlayerNetStream was unable to invoke callback onLastSecond

2006-08-14 Thread Burak KALAYCI
Hi,

onLastSecond is a custom event injected by our software FLVMDI (
http://www.buraks.com/flvmdi ) and Captionate ( http://www.captionate.com ).

We were not aware of any issues related with it, till your post.

It will be great if anyone else, especially from Adobe, can shed some light
on this.

Best regards,
Burak

Burak KALAYCI, Manitu Group
http://www.buraks.com
http://www.manitugroup.com

- Original Message -
From: "Tobias Patton" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, August 15, 2006 12:47 AM
Subject: [flexcoders] Flex2: Error: VideoPlayerNetStream was unable to
invoke callback onLastSecond


Has anyone seen this error? I'm writing a control that displays an FLV
file, allowing the user to pause, start, seek, etc. I sometimes get this
error right before the FLV movie finishes.



Thanks.



Tobias.



Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095:
VideoPlayer.as$317.VideoPlayerNetStream was unable to invoke callback
onLastSecond. error=ReferenceError: Error #1069: Property onLastSecond
not found on VideoPlayer.as$317.VideoPlayerNetStream and there is no
default value.

  at
mx.controls.videoClasses::VideoPlayer/mx.controls.videoClasses:VideoPlay
er::createStream()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\Vi
deoPlayer.as:2712]

  at
mx.controls.videoClasses::VideoPlayer/mx.controls.videoClasses:VideoPlay
er::_load()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\VideoPlay
er.as:2170]

  at
mx.controls.videoClasses::VideoPlayer/play()[C:\dev\GMC\sdk\frameworks\m
x\controls\videoClasses\VideoPlayer.as:1324]

  at
mx.controls::VideoDisplay/play()[C:\dev\GMC\sdk\frameworks\mx\controls\V
ideoDisplay.as:1405]

  at
mx.controls::VideoDisplay/mx.controls:VideoDisplay::autoPlaying()[C:\dev
\GMC\sdk\frameworks\mx\controls\VideoDisplay.as:1616]

  at
mx.controls::VideoDisplay/mx.controls:VideoDisplay::creationCompleteHand
ler()[C:\dev\GMC\sdk\frameworks\mx\controls\VideoDisplay.as:1680]

  at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven
tFunction()

  at flash.events::EventDispatcher/dispatchEvent()

  at mx.core::UIComponent/set
initialized()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:1161]

  at
mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiat
ion()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:687]

  at Function/http://adobe.com/AS3/2006/builtin::apply()

  at
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\
GMC\sdk\frameworks\mx\core\UIComponent.as:7789]

  at
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\G
MC\sdk\frameworks\mx\core\UIComponent.as:7732]





Kodak Graphic Communications Canada Company

Tobias Patton | Software Developer | Tel: +1.604.451.2700 ext: 5148 |
mailto:[EMAIL PROTECTED]   |
http://www.creo.com 






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

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

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

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




RE: [flexcoders] trace.... redirection possible?

2006-08-14 Thread Gordon Smith












Consider using the mx.logging.Log class
instead of the trace() function.

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Samuel Colak
Sent: Monday, August 14, 2006 7:32
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] trace
redirection possible?



 








Dear all,

is there any way of overriding the trace construct to go elsewhere? - such as a
custom class - 
or is this only active in debug?

Regards
Samuel






__._,_.___





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



  






__,_._,___






[flexcoders] Re: Cairngorm:One controller, so many commands, so many delegates, so many event

2006-08-14 Thread Jason



I tried combining similar events, commands, delegates with mixed success.  For instance if I had one event called "UpdateTreeDataEvent" where I assigned different events as static vars like "ADD", "ADD_CHILD", "EDIT", "DELETE", etc.  I could call specific events in that event class withvar nav:UpdateTreeDataEvent = new UpdateTreeDataEvent(UpdateTreeDataEvent.DELETE, '', customForms);    CairngormEventDispatcher.getInstance().dispatchEvent(nav);However I ran into problems when I wanted to send different types of data to the event.  AS3 does not allow for overloading of the constuctor. So if I wanted to send a XML for my ADD and a Number for my DELETE events then I was forced to create an Object of properties and then look through that object to see what data was in it (send multiple props and send some as null data)In the end it kinda was more work then just creating the dozen or so different Class files.  How are others dealing not wanting to have 400 files for 100 events?--jason--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" <[EMAIL PROTECTED]> wrote:>> What I do is typically is have one delegate that groups server interaction for every specific portion of the app. So one delegate is used by several commands. For an example ticketing app I'd have a UserDelegate (for specific user interaction, might have several method) and TicketDelegate (has several methods for interacting with a server... ex.: create, update, etc...)>  > Hope that helps.>  > Dimitrios Gianninas> RIA Developer> Optimal Payments Inc.>  > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flxcoder> Sent: Monday, August 14, 2006 2:01 PM> To: flexcoders@yahoogroups.com> Subject: [flexcoders] Cairngorm:One controller, so many commands, so many delegates, so many events> > > > Now I have about 4-5 events that correspond with the app server and > get data back. Each of these events get registered with the > CairngormEvent. When the controller executes these events it needs a > command associated with the event. Each such command needs a delegate.> > So for my one interaction with the server I have at least one Event > class, one Command class and one delegate class and untold number of > interests in the ModelLocator. This is leading to code cluge.> > Just wondering whether this is what the rest of the developers are > doing or am I doing something wrong. In my app, I might end up having > about 30-40 separate server calls at least. That will lead to 90-120 > independant files.> > Is this what you are running into as well? Am I missing something?> > Thanks.> > > >  > > -- > WARNING> ---> This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.> > AVIS IMPORTANT> --> Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.>


__._,_.___





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



  






__,_._,___



[flexcoders] Re: Asynchronous calls in Flex 1.5

2006-08-14 Thread digital_eyezed
Thanks a lot, I thought something strange was going on!

Cheers,

Iain

--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> 
> Tricky stuff there.  Peter Ent has a really helpful article on 
this:
> 
http://weblogs.macromedia.com/pent/archives/2005/02/operating_in_pa.c
fm
> 
 >
> 
> 
> --- In flexcoders@yahoogroups.com, "digital_eyezed" 
> wrote:
> >
> > Hi,
> >
> > Silly question really,
> >
> > I have an app that does this in a function:
> >
> > getTheData.method1(datef,datet,accessGroups,1,1);
> > getTheData.method2(datef,datet,accessGroups,1,1);
> >
> > However, when you look at the dubug, method2 doesn't start until
> > method1 is finished, I thought that they were meant to be
> asynchronous?
> >
> > Have I got this all wrong?
> >
> > These are remoteObject calls on a POJO.
> >
> > Thanks for keeping me straight (who ever answers first!).
> >
> > Cheers,
> >
> > Iain
> >
>







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

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

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

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




RE: [flexcoders] Re: Best way to reference items in a parent MXML component?

2006-08-14 Thread Gordon Smith












You can also simply use

 

    parentDocument.someMethod();

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Franck de Bruijn
Sent: Saturday, August 12, 2006
10:35 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Best
way to reference items in a parent MXML component?



 









I was wondering about this after I sent my reply ... What if you
need a return value?

 

I think there are basically 3 ways to go:


 The ‘circular
 dependency’ way: define an instance of your (custom) view stack in
 your child, with a setter. After you loaded the child into the view stack,
 also call the setter method with the ViewStack in it: easiest solution,
 but if it’s nice ... 
 The ‘interface’
 way: define an interface where you put the methods that you need in your
 children. Let the ViewStack implement this interface. Define an instance
 of this interface in your child, with a setter. Call the setter with the
 ViewStack as argument later.
 Use a ‘utility’
 action script. This might be the best solution for what you mention below:
 formatting dates. Probably you will want to have your dates formatted the
 same way throughout your application; formatting is most likely also a
 ‘stateless’ operation, at least not something ViewStack
 specific, so you could perfectly place it behind some ‘static’
 operation.


 

I am using the ‘event’ way quite a lot myself, and
I’m happy with it. But, indeed, you can only use it for
‘notification’ cases only; where you need a return value, this
would not apply.

 

HTH,
Franck

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of ben.clinkinbeard
Sent: Sunday, August 13, 2006
12:12 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Re: Best way
to reference items in a parent MXML component?



 







How would
a child call a function in the parent though? Events don't
seem (semantically) like the right thing because I basically just want
to use a utility function defined in the parent. Like I have a
function that I am using to format the dataTips of my charts in the
child components, but dispatching an event every time I roll over a
chart item seems a bit tedious and extreme.

Is there a better way or do I just need to get used to using events? I
come from a Flash background and have not used events very much.

Thanks,
Ben

--- In [EMAIL PROTECTED]ups.com,
"Sergey Kovalyov"
[EMAIL PROTECTED]> wrote:
>
> Events must be used here. Your child elements should dispatch custom
> events and container that holds them should listen to that events.
> Event listener will handle the child via target property of event
> object.
> 
> On 8/12/06, ben.clinkinbeard ...> wrote:
> > I have a ViewStack whose child elements each contain a graph. I would
> > like to define some things in the file that holds the ViewStack so
> > that all of the child charts can use them, but am not sure of the
best
> > way to reference and call these things. Ideally I would like to
> > somehow pass in a reference to the containing object so that I don't
> > have to pass several items into each child, but have yet to figure
out
> > a way to do that. I know there has to be a better way than what I
have
> > now:
>














__._,_.___





--
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] Draw Label Border

2006-08-14 Thread Gordon Smith












That's kind of a heavyweight solution. I'd
recommend subclassing Label and overriding updateDisplayList() to draw a
border.

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sergey Kovalyov
Sent: Saturday, August 12, 2006
7:04 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Draw
Label Border



 









Put label into the Box:





 



















 





On 8/12/06, Kumar

wrote: 







Hi
All,

I
am finding it difficult to draw border of label. I am trying to use flash API
for drawing rectangle in place of border.

Can
some one help me out?









 






__._,_.___





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



  






__,_._,___






[flexcoders] Re: Macintosh hqx

2006-08-14 Thread Jason
Yeah, I am having problems as well.  Does anyone else know how to make
a OS X 'projector' FP9 SWFs?

--jason

--- In flexcoders@yahoogroups.com, "Jeremy Lu" <[EMAIL PROTECTED]> wrote:
>
> Second that, nice product and support.
> 
> But seems Zinc v2.5 for FP9 is still a bit buggy, almost everything
I tried
> had some bugs here and there, non critical but slightly annoying.
> 
> 
> Jeremy.
> 
> On 8/12/06, Jason <[EMAIL PROTECTED]> wrote:
> >
> >   http://www.multidmedia.com
> >
> > Check out Zinc, it should do what you want. They have been fairly
> > quick to implement Flash Player 9 support. I think they are still
> > having some problems with Macs with Intel chips, but that is due to
> > problems with the Flash Player for OSX.
> >
> > I have been using Zinc for serveral years and I am very happy with the
> > support. Check out the forums if you have any questions. Developing
> > for the Mac is often a pain-in-the-but because of odd file path
> > issues, but if you don't need to load or save assets to the hard drive
> > you should be ok.
> >
> > They have trial versions of all the Zinc and the OSX plugin.
> >
> > --jason
> >
> > --- In flexcoders@yahoogroups.com ,
Martina
> > Smith
> >
> >  wrote:
> > >
> > > Hi,
> > >
> > > I need to create an hqx(Macintosh Projector) file for the swf
> > created using flex 2.0.
> > >
> > > I am unable to do it as I can't find any option in flex menu, may
> > I have your suggestion on this?
> > >
> > > Thanks,
> > > Martina
> > >
> > >
> > > -
> > > Here's a new way to find what you're looking for - Yahoo! Answers
> > >
> >
> >  
> >
>







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

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

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

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




RE: [flexcoders] Re: Best way to reference items in a parent MXML component?

2006-08-14 Thread Gordon Smith












> How would a child call a function in the parent though?

 

parentDocument.someMethod();

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard
Sent: Saturday, August 12, 2006
3:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Best way
to reference items in a parent MXML component?



 







How would a child call a function in the parent
though? Events don't
seem (semantically) like the right thing because I basically just want
to use a utility function defined in the parent. Like I have a
function that I am using to format the dataTips of my charts in the
child components, but dispatching an event every time I roll over a
chart item seems a bit tedious and extreme.

Is there a better way or do I just need to get used to using events? I
come from a Flash background and have not used events very much.

Thanks,
Ben

--- In [EMAIL PROTECTED]ups.com,
"Sergey Kovalyov"
[EMAIL PROTECTED]> wrote:
>
> Events must be used here. Your child elements should dispatch custom
> events and container that holds them should listen to that events.
> Event listener will handle the child via target property of event
> object.
> 
> On 8/12/06, ben.clinkinbeard ...> wrote:
> > I have a ViewStack whose child elements each contain a graph. I would
> > like to define some things in the file that holds the ViewStack so
> > that all of the child charts can use them, but am not sure of the
best
> > way to reference and call these things. Ideally I would like to
> > somehow pass in a reference to the containing object so that I don't
> > have to pass several items into each child, but have yet to figure
out
> > a way to do that. I know there has to be a better way than what I
have
> > now:
>






__._,_.___





--
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] Flex2: Error: VideoPlayerNetStream was unable to invoke callback onLastSecond

2006-08-14 Thread Tobias Patton










Has anyone seen this error? I’m writing a control that
displays an FLV file, allowing the user to pause, start, seek, etc. I sometimes
get this error right before the FLV movie finishes.

 

Thanks.

 

Tobias.

 

Error #2044: Unhandled AsyncErrorEvent:.
text=Error #2095: VideoPlayer.as$317.VideoPlayerNetStream was unable to invoke
callback onLastSecond. error=ReferenceError: Error #1069: Property onLastSecond
not found on VideoPlayer.as$317.VideoPlayerNetStream and there is no default
value.

  at
mx.controls.videoClasses::VideoPlayer/mx.controls.videoClasses:VideoPlayer::createStream()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:2712]

  at
mx.controls.videoClasses::VideoPlayer/mx.controls.videoClasses:VideoPlayer::_load()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:2170]

  at
mx.controls.videoClasses::VideoPlayer/play()[C:\dev\GMC\sdk\frameworks\mx\controls\videoClasses\VideoPlayer.as:1324]

  at mx.controls::VideoDisplay/play()[C:\dev\GMC\sdk\frameworks\mx\controls\VideoDisplay.as:1405]

  at
mx.controls::VideoDisplay/mx.controls:VideoDisplay::autoPlaying()[C:\dev\GMC\sdk\frameworks\mx\controls\VideoDisplay.as:1616]

  at
mx.controls::VideoDisplay/mx.controls:VideoDisplay::creationCompleteHandler()[C:\dev\GMC\sdk\frameworks\mx\controls\VideoDisplay.as:1680]

  at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

  at
flash.events::EventDispatcher/dispatchEvent()

  at mx.core::UIComponent/set initialized()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:1161]

  at
mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:687]

  at
Function/http://adobe.com/AS3/2006/builtin::apply()

  at
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7789]

  at
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7732]

 

 

Kodak Graphic Communications Canada Company

Tobias Patton | Software Developer | Tel: +1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 

 




__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Re: removing a key from object

2006-08-14 Thread Doug Lowder



You might be able to use the delete operator for this.
http://livedocs.macromedia.com/flex/2/langref/operators.html#delete
--- In flexcoders@yahoogroups.com, "Doug Arthur" <[EMAIL PROTECTED]> wrote:>> How do you remove a key from an Object in flex?> > This is what I currently have:> UserData.getInstance().recordMap[vendorOrder.detail_id] = *null*;> What I really want to do is completely remove vendorOrder.detail_id from the> recordMap Object completely, not just set it null.> > Thanks!> - Doug>

__._,_.___





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



  






__,_._,___



[flexcoders] Re: Asynchronous calls in Flex 1.5

2006-08-14 Thread Doug Lowder



Tricky stuff there.  Peter Ent has a really helpful article on this:http://weblogs.macromedia.com/pent/archives/2005/02/operating_in_pa.cfm
--- In flexcoders@yahoogroups.com, "digital_eyezed" <[EMAIL PROTECTED]> wrote:>> Hi,> > Silly question really,> > I have an app that does this in a function:> > getTheData.method1(datef,datet,accessGroups,1,1);> getTheData.method2(datef,datet,accessGroups,1,1);> > However, when you look at the dubug, method2 doesn't start until > method1 is finished, I thought that they were meant to be asynchronous?> > Have I got this all wrong?> > These are remoteObject calls on a POJO.> > Thanks for keeping me straight (who ever answers first!).> > Cheers,> > Iain>

__._,_.___





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



  






__,_._,___



[flexcoders] Re: Cairngorm: Opening sibling view?

2006-08-14 Thread Tim Hoff



Hi there,
For simple applications you can reference siblings by traversing the dispay list:  Application.application.A.aa.X.selectedIndex = 1;.  However, since you are using Cairngorm, you can maintain encapsulation by binding the state (selectedIndex) to the ModelLocator.  Jesse's going to have a pink kitten if he reads this.  
First, create a state variable in the ModelLocator: 
public var AaaXselectedIndex : Number;
Then bind the variable to X.selectedIndex in aa:

To change X.selectedIndex just set the ModelLocator variable, from a command (preferable) or ab's script:
ModelLocator.getInstance().AaaXselectedIndex = 1;
Because X.selectedIndex is bound to the ModelLocator state variable the selectedIndex will be automatically updated and the view will reflect the change.
-TH
--- In flexcoders@yahoogroups.com, "flxcoder" <[EMAIL PROTECTED]> wrote:>> I have a heirarchy of classes in my viewstate A.> > A has child aa, ab and ac. aa, ab and ac are siblings, think about > them as being 3 canvases under A.> > aa has tabNavigator X> > ab received data and wants to set aa.X.selectedIndex = 1 or something.> > How can I get reference to the id X since X is a child of aa.> > Is this making sense, please let me know and I will give a better > example :)> > Thanks.>

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



   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] Operation.arguments is populated but nulls are sent

2006-08-14 Thread ben.clinkinbeard
I am having a very odd error, and it only happens sometimes. I am
creating an object structure and then assigning that to the arguments
property of my mx.rpc.soap.Operation object like this:

op.arguments = args;

I then call the SOAP method like this:

var call:AsyncToken = service.GetDataByGrouping();
call.addResponder(responder);

Sometimes (I've not figured out a pattern), Flex somehow loses all of
the contents of the arguments property and sends nulls. It is sending
the same number of nulls as there were properties though, so I am
super confused. The Operation.arguments object is still populated with
the correct data, but none of it gets sent. Does anyone have any idea
what is going on here? I am pasting the entire method from my delegate
below. 

// in the delegate constructor
service = ServiceLocator.getInstance().getService("cmws") as WebService;

// in the method called by my command class
var op:Operation = service.getOperation("GetDataByGrouping") as Operation;
op.resultFormat = "e4x";
// temp object to store arguments
var args:Object = new Object();
args.groupingRequests = new Object();
args.groupingRequests.GroupName = "RPRTool";
args.groupingRequests.Parameters = new Array();
... populate Parameters array ...
op.arguments = args;
var call:AsyncToken = service.GetDataByGrouping();
call.addResponder(responder);

// results in sendign an object like this
http://fmr.com/BackOffice/ClientMeasures";>
   
   
   

Ben






--
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] Cairngorm:One controller, so many commands, so many delegates, so many events

2006-08-14 Thread Dimitrios Gianninas





What I do is typically is have one delegate that groups 
server interaction for every specific portion of the app. So one delegate is 
used by several commands. For an example ticketing app I'd have a UserDelegate 
(for specific user interaction, might have several method) and TicketDelegate 
(has several methods for interacting with a server... ex.: create, update, 
etc...)
 
Hope that helps.
 
Dimitrios 
Gianninas
RIA Developer
Optimal 
Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of flxcoderSent: 
Monday, August 14, 2006 2:01 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm:One 
controller, so many commands, so many delegates, so many 
events


Now I have about 4-5 events that correspond with the app server and get 
data back. Each of these events get registered with the CairngormEvent. When 
the controller executes these events it needs a command associated with the 
event. Each such command needs a delegate.So for my one interaction with 
the server I have at least one Event class, one Command class and one 
delegate class and untold number of interests in the ModelLocator. This is 
leading to code cluge.Just wondering whether this is what the rest of 
the developers are doing or am I doing something wrong. In my app, I might 
end up having about 30-40 separate server calls at least. That will lead to 
90-120 independant files.Is this what you are running into as well? 
Am I missing something?Thanks.
 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

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] removing a key from object

2006-08-14 Thread Doug Arthur



How do you remove a key from an Object in flex?
 
This is what I currently have:UserData.getInstance().recordMap[vendorOrder.detail_id] = null;

What I really want to do is completely remove vendorOrder.detail_id from the recordMap Object completely, not just set it null.
 
Thanks!
- Doug

__._,_.___





--
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] Asynchronous calls in Flex 1.5

2006-08-14 Thread digital_eyezed
Hi,

Silly question really,

I have an app that does this in a function:

getTheData.method1(datef,datet,accessGroups,1,1);
getTheData.method2(datef,datet,accessGroups,1,1);

However, when you look at the dubug, method2 doesn't start until 
method1 is finished, I thought that they were meant to be asynchronous?

Have I got this all wrong?

These are remoteObject calls on a POJO.

Thanks for keeping me straight (who ever answers first!).

Cheers,

Iain






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

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

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

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




[flexcoders] Anyone know of an automatic generator of multiple Flex apps from a single SWF?

2006-08-14 Thread tombaggett
I've briefly reviewed the Ariaware Optimizer product, read Roger 
Gonalez' "Multi-SWF apps" and "ApplicationDomain" blog entries and 
Ted Patrick's "Flex Shared Libraries" posts, which leads me to a 
question.

Should I be concerned with manually breaking my Flex app into 
smaller on-demand pieces or rest assured that the next Flex release 
or a separate product will come along that will do this for me?

Ideally, all the portions of the app that aren't immediately 
executed would be extracted into separate SWFs.  Stub code that 
would load the separate SWF on an on-demand basis would replace the 
now-extracted content.

It would also be nice if the modules could be automatically 
downloaded during idle time after app startup.  They would then be 
cached in the event the user was offline when they accessed a 
previously-unused portion of the app.

Any insight/crystal ball gazing is most appreciated!

Thanks,

Tom







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

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

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

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




RE: [flexcoders] Re: ASDoc now available on Labs

2006-08-14 Thread Brian Deitte





Thanks.  I'd love to dig into this more and figure out 
what's happening.  -Brian
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Paul 
  BHSent: Monday, August 14, 2006 4:29 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: ASDoc now 
  available on Labs
  I'm getting the same too - I seem to be getting in particularly on 
  interface definitions - I'll try and make a simple reproducable case when I 
  get a spare minute or two...taPBH
  On 8/14/06, Brian 
  Deitte <[EMAIL PROTECTED]> 
  wrote:
  





Hi, I would just stick to doc-classes then. :) Well, I'm not sure 
whyyou'd get that with doc-sources. The compiler believes that you 
havesomething similar to a class A which extends B which extends A. If 
youcould send me the files you use to reproduce this or a smaller 
testcase, I can look into this for a later release. -Brian 
> -Original Message-> From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com] On Behalf Of Geoffrey 
Williams> Sent: Monday, August 14, 2006 3:24 PM> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: ASDoc now available on 
Labs> > Any Idea what would fire off the following:> 
> Error: The definition is in circular inheritance.> > 
I can get it going by specifying individual classes but when I use -> 
doc-sources I get an output of a few of those errors.> > --- 
In flexcoders@yahoogroups.com, "Brian Deitte" 
<[EMAIL PROTECTED]> wrote:> >> > And I'll be trying to 
awaken myself from my hibernation on > flexcoders,> > so if 
you have any questions about it, fire away. -Brian> > > 
> > > 
> --> Flexcoders Mailing List> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
> Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com 

> Yahoo! Groups Links> > > > > 
> > > 
 
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: ASDoc now available on Labs

2006-08-14 Thread Paul BH



I'm getting the same too - I seem to be getting in particularly on interface definitions - I'll try and make a simple reproducable case when I get a spare minute or two...taPBH
On 8/14/06, Brian Deitte <[EMAIL PROTECTED]> wrote:













  



Hi, I would just stick to doc-classes then.  :)  Well, I'm not sure why
you'd get that with doc-sources.  The compiler believes that you have
something similar to a class A which extends B which extends A.  If you
could send me the files you use to reproduce this or a smaller test
case, I can look into this for a later release.  -Brian 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com] On Behalf Of Geoffrey Williams
> Sent: Monday, August 14, 2006 3:24 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: ASDoc now available on Labs
> 
> Any Idea what would fire off the following:
> 
> Error: The definition is in circular inheritance.
> 
> I can get it going by specifying individual classes but when I use -
> doc-sources I get an output of a few of those errors.
> 
> --- In flexcoders@yahoogroups.com, "Brian Deitte" <[EMAIL PROTECTED]> wrote:
> >
> > And I'll be trying to awaken myself from my hibernation on 
> flexcoders,
> > so if you have any questions about it, fire away.  -Brian
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

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

> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 

  















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] SOT: Flash Player 9 distribution

2006-08-14 Thread John Dowdell
Rick Root wrote:
> I don't want to have to tell my client base *NOT* to download the Yahoo 
> Toolbar, and it annoys the heck out of me that Adobe puts that on their 
> download page and checks it by default.
> 
> Are there any other options besides directing people to the adobe page herE:
> http://www.macromedia.com/go/getflashplayer

FAQ here:
http://www.adobe.com/products/flashplayer/productinfo/faq/#item-4-1

Summary, as I recall: Those few IE/Win users who do not use the normal 
ActiveX background installation, but are instead directed to the Adobe 
webpages, are the ones who can see additional download offers on those 
pages. Specifying a minimum version in your OBJECT tag should be enough 
to avoid any exposure to unwanted offers.

jd




-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


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

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

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

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





RE: [flexcoders] SOT: Flash Player 9 distribution

2006-08-14 Thread Kelly @ Dekayd Media Inc.












I agree.

 

I think trying to trick people into
installing third party crap software is stupid and I would hope that Adobe
makes enough money on its own that it doesn’t need to sellout to Yahoo.

 

 

 

--Kelly

 

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rick Root
Sent: Monday, August 14, 2006 1:05
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SOT: Flash
Player 9 distribution



 







I don't
want to have to tell my client base *NOT* to download the Yahoo 
Toolbar, and it annoys the heck out of me that Adobe puts that on their 
download page and checks it by default.

Are there any other options besides directing people to the adobe page herE:

http://www.macromedia.com/go/getflashplayer

Rick






__._,_.___





--
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: ASDoc now available on Labs

2006-08-14 Thread Brian Deitte
Hi, I would just stick to doc-classes then.  :)  Well, I'm not sure why
you'd get that with doc-sources.  The compiler believes that you have
something similar to a class A which extends B which extends A.  If you
could send me the files you use to reproduce this or a smaller test
case, I can look into this for a later release.  -Brian 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Williams
> Sent: Monday, August 14, 2006 3:24 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: ASDoc now available on Labs
> 
> Any Idea what would fire off the following:
> 
> Error: The definition is in circular inheritance.
> 
> I can get it going by specifying individual classes but when I use -
> doc-sources I get an output of a few of those errors.
> 
> --- In flexcoders@yahoogroups.com, "Brian Deitte" <[EMAIL PROTECTED]> wrote:
> >
> > And I'll be trying to awaken myself from my hibernation on 
> flexcoders,
> > so if you have any questions about it, fire away.  -Brian
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 


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

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

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

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




[flexcoders] SOT: Flash Player 9 distribution

2006-08-14 Thread Rick Root
I don't want to have to tell my client base *NOT* to download the Yahoo 
Toolbar, and it annoys the heck out of me that Adobe puts that on their 
download page and checks it by default.

Are there any other options besides directing people to the adobe page herE:

http://www.macromedia.com/go/getflashplayer

Rick


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

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

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

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




[flexcoders] Re: exception during transcoding:

2006-08-14 Thread dadrobson
Hi Roger,

There's nothing in the error log. 

I resolved the issue using the following steps:
1. Decompiled the SWF using the Sothink Decompiler
2. Recompiled it using the the Flash IDE

--- In flexcoders@yahoogroups.com, "Roger Gonzalez" <[EMAIL PROTECTED]> wrote:
>
> Odds are good that there's a Flash 8 SWF tag in the file that we don't
> support in Flex 2.  You're only looking at the error messages, I think
> uncaught compiler exceptions are logged in "About Flex Builder 2 >
> Configuration Details > Error Log".  (Or run mxmlc at the command line.)
>  
> We have a known issue with morph shapes.  Do you have any of those in
> your SWF?
>  
> (Actually... you're not pulling a symbol out of the SWF, but are
> embedding the whole thing?  Hmm.  You're embedding on a var, right?
> Flex doesn't actually look inside that file.  Do you have flex.swc in
> your library-path?)
>  
> -rg
>  
>  
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of dadrobson
> Sent: Monday, August 14, 2006 11:39 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] exception during transcoding:
> 
> 
> 
>   I keep getting the following compiler message:
>   
>   exception during transcoding:
>   
>   That is the entire message. It's interesting that there is no
>   explanation as to what caused the exception; the colon at the
> end
>   makes me think that something should follow, but nothing does.
> I'm
>   left without a clue as to what is throwing the exception. 
>   
>   Here is the line of code that it's complaining about:
>   
>   [Embed(source="assets/map.swf",
> mimeType="application/x-shockwave-flash")]
>   
>   A couple of notes:
>   1. assets/map.swf is really there. If it weren't, the compiler
> would
>   say so; e.g., "unable to resolve 'map.swf' for transcoding"
>   2. map.swf is a functioning flash file. I can open it in the
> Flash
>   Player or load it into a file created using Flash 8 IDE. 
>   
>   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 
Yahoo! Groups Links

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

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

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





Re: [flexcoders] Re: Bug applying filter to resized VBox

2006-08-14 Thread hank williams
Thanks Tim, but neither worked. It really is starting to feel like
bug. I suspect I could isolate it pretty easily... but I need to find
the time. I'm trying to push a first release out the door. For the
time being I just dont apply the filter and everything is OK.

Regards
Hank

On 8/14/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
> Hi Hank,
>
> That sounds a little odd.  You might try cacheAsBitmap = true and/or
> force a redraw with invalidateDisplayList() on the resize event.
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> wrote:
> >
> > When I resize a VBox (by resizing the browser window) that I have
> > applied a filter to, the filter does not resize properly, making the
> > VBox look bad. If I remove the filter everything looks great. Is
> there
> > anything special I need to do when rebuild the filter?
> >
> > It appears that the old filter bits or rules or something, are
> hanging
> > around when the object is resized. This feels like a bug but perhaps
> I
> > am missing something.
> >
> > 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 
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] Is FDS the right choice for me?

2006-08-14 Thread hank williams
> Are there any alternative techniques with the Adobe family of
> products, or is Flex/FDS/ColdFusion/Actionscript my only option if
> server push is a key requirement?
>

Yes, Flash Media Server was the way to do push before FDS. I believe
FDS either includes some code or architectural elements from FMS.

FMS is cheaper than FDS, but there is no data sychronization code, its
would handle the push part.

Regards
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

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

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

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




[flexcoders] Re: Variations of sending arguments to a WebService in AS

2006-08-14 Thread ben.clinkinbeard
I didn't read through all of your code but here is the method I have
been using with success.

var op:Operation = service.getOperation("GetDataByGrouping") as Operation;
op.resultFormat = "e4x";
// temp object to store arguments
var args:Object = new Object();
args.groupingRequests = new Object();
args.groupingRequests.GroupName = "RPRToolStaticData";

op.arguments = args;
service.GetDataByGrouping();

HTH,
Ben

--- In flexcoders@yahoogroups.com, "kaleb_pederson" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> I'm trying to send some arguments to a webservice, but every 
> variation I have tried other than generating the XML from scratch 
> keeps failing (eg. sends an empty message body).  Relevant parts of 
> the WSDL are as follows:
> 
>   
> 
>   
>   
>  name="parameters">
>   
> ...
>
>   
>   
> 
> 
> And from the XSD:
> 
>xmlns:ns3="http://server.webservices.tutorials.wakaleo.com/"; 
> type="ns3:sendStrings" name="sendStrings">
> 
>   
> 
>maxOccurs="unbounded">
> 
>   
> 
>xmlns:ns4="http://server.webservices.tutorials.wakaleo.com/"; 
> type="ns4:sendStringsResponse" 
> name="sendStringsResponse">
> 
>   
> 
>maxOccurs="unbounded">
> 
>   
> 
> Based on everything that I have been able to find in the 
> documentation and on flexcoders, there are a number of different 
> ways to send requests to the web service, so I tried each of the 
> ones that I could find.
> 
> However, only one of them succeeds -- specifically, the case where I 
> build an XMLDocument from scratch and send it.  All the other cases 
> fail -- that is, they do not pass *any* arguments to the web 
> service.
> 
> The following TestCase (which is kind of long) shows the different 
> variations that have been tried.  The main things of interest are 
> the variationN functions in the beginning of the class as these test 
> the different ways to call the web service.  If TestCase had an 
> asyncSetup function the sample case could be quite a bit shorter... 
> (but perhaps I'll work on that next):
> 
> package code
> {
>   import flash.events.Event;
>   import flexunit.framework.TestCase;
>   import mx.rpc.events.FaultEvent;
>   import mx.rpc.events.ResultEvent;
>   import mx.rpc.soap.LoadEvent;
>   import mx.rpc.soap.mxml.WebService;
>   import flash.utils.describeType;
>   import mx.rpc.events.AbstractEvent;
>   import mx.rpc.AbstractOperation;
>   import flash.xml.XMLDocument;
>   import flash.xml.XMLNode;
>   
>   
>   public class TestSendStrings extends TestCase
>   {
> private var ws:WebService;
> private static const SERVICE_TIMEOUT:Number = 2000;
> private var wsdlUrl:String 
> = "http://192.168.1.108:8080/stockquotes/stock_quote?wsdl";;
> private var responseHandler:String;
> private var sendStringsFunc:String;
> 
> // these are the different variations that I have tried. Of 
> these
> // different variations, variation9 succeeds because I have hand
> // crafted a valid message body (NOTE that variation 8 fails and
> // that the only difference is XML vs. XMLDocument).  variation6
> // generates a fault, so it fails for a different reason than
> // some of the others
> private function variation1():void {
>   trace('variation1');
>   var op:AbstractOperation = ws.getOperation('sendStrings');
>   op.arguments = new Array('variation','one');
>   op.send();
> }
> 
> private function variation2():void {
>   trace('variation2');
>   ws.sendStrings.arguments = new Array('variation','two');
>   ws.sendStrings.send();
> }
> 
> private function variation3():void {
>   trace('variation3');
>   ws.sendStrings.send(new Array('variation','three'));
> }
> 
> private function variation4():void {
>   trace('variation4');
>   ws.sendStrings.send('variation','four');
> }
> 
> private function variation5():void {
>   trace('variation5');
>   ws.sendStrings('variation','five');
> }
> 
> private function variation6():void {
>   // this function results in a fault event:
>   // Unexpected parameter 'sendStrings' found in input 
> arguments.
>   trace('variation6');
>   var op:AbstractOperation = ws.getOperation('sendStrings');
>   op.arguments = {sendStrings:{arg0:new 
> Array('variation','six')}};
>   op.send();
> }
> 
> private function variation7():void {
>   trace('variation7');
>   var op:AbstractOperation = ws.getOperation('sendStrings');
>   op.send({sendStrings:{arg0:new Array('variation','six')}});
> }
> 
> private function variation8():void {
>   trace('variation8');
>   var xml:XML = new XML(' xmlns:ns1="http://server.webservices.tutorials.wakaleo.com/";>' +
> 'variationeight' +
> '');
>   var op:AbstractOperation = ws.getOperation('sendStrings');
>   op.send(xml);
> }
> 
>   private function variation9():void {
> 

[flexcoders] Cairngorm: Opening sibling view?

2006-08-14 Thread flxcoder
I have a heirarchy of classes in my viewstate A.

A has child aa, ab and ac. aa, ab and ac are siblings, think about 
them as being 3 canvases under A.

aa has tabNavigator X

ab received data and wants to set aa.X.selectedIndex = 1 or something.

How can I get reference to the id X since X is a child of aa.

Is this making sense, please let me know and I will give a better 
example :)

Thanks.





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

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

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

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





[flexcoders] Re: Calling functions from an itemRenderer

2006-08-14 Thread Doug Lowder
I think you could have also used outerDocument.launchDetailsWindow
(), as per 
http://livedocs.macromedia.com/flex/2/langref/mxml/component.html


--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:
>
> Douglas Knudsen wrote:
> > 
> > 
> > extract the URLRequest() call to a AS method.  make sure your 
mx:script 
> > block has the CDATA schtuffs.
> 
> This is what I had done, as mentioned here:
> 
> > I originally had a function defined in the same file that 
did that
> > and I
> > called like like this:
> > 
> >  > click="launchDetailsWindow(this.label);"/>
> > 
> > But it kept telling me that launchDetailsWindow was 
a "possibly
> > undefined function", leading me to believe that I don't 
understand
> > scoping in itemrenders :)
> 
> I had also tried 
> "Application.application.launchDetailsWindow(this.label);" which 
also 
> didn't work.
> 
> so I just added "mx.core." to the front of it and it's good now.
> 
> Rick
>







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

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

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

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





[flexcoders] Problem after displaying video in TextArea

2006-08-14 Thread tonyx_788



Hi, i'm almost finish with my work but i have one last problemi'm using e4x to make a datagrid filter searchso i have a textinput,datagrid and a textarea height="531"  x="5"  variableRowHeight="true" wordWrap="true" >                                               im using XML  with CDATA in it to display html text and embed pictures or swf filesfor the pictures i have no problem but if there is a swf file after i watch the video or the flashpaperit slows down and sometimes won't let me select anything else, or make a filter search with the textinputi hope somebody could help me

__._,_.___





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



  






__,_._,___



[flexcoders] Re: ASDoc now available on Labs

2006-08-14 Thread Geoffrey Williams
Any Idea what would fire off the following:

Error: The definition is in circular inheritance.

I can get it going by specifying individual classes but when I use -
doc-sources I get an output of a few of those errors.

--- In flexcoders@yahoogroups.com, "Brian Deitte" <[EMAIL PROTECTED]> wrote:
>
> And I'll be trying to awaken myself from my hibernation on 
flexcoders,
> so if you have any questions about it, fire away.  -Brian






--
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] Cairngorm:One controller, so many commands, so many delegates, so many events

2006-08-14 Thread Darren Houle
Yes, however, I try to create files that can be reused... that way different 
"save" buttons can use the same save event, command and/or the same save 
service.  Oversimplifying, I know, but that's the general idea.  If you have 
an app that performs lots of CRUD then you can generalize your code and 
reuse alot of it in different places.  One CreateEvent, CreateCommand, 
CreateService but they all accept a variety of arguments so you can reuse 
them in different situations.

Darren



>From: "flxcoder" <[EMAIL PROTECTED]>
>Reply-To: flexcoders@yahoogroups.com
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Cairngorm:One controller, so many commands, so many 
>delegates, so many events
>Date: Mon, 14 Aug 2006 18:01:21 -
>
>Now I have about 4-5 events that correspond with the app server and
>get data back. Each of these events get registered with the
>CairngormEvent. When the controller executes these events it needs a
>command associated with the event. Each such command needs a delegate.
>
>So for my one interaction with the server I have at least one Event
>class, one Command class and one delegate class and untold number of
>interests in the ModelLocator. This is leading to code cluge.
>
>Just wondering whether this is what the rest of the developers are
>doing or am I doing something wrong. In my app, I might end up having
>about 30-40 separate server calls at least. That will lead to 90-120
>independant files.
>
>Is this what you are running into as well? Am I missing something?
>
>Thanks.
>
>
>
>
>
>
>--
>Flexcoders Mailing List
>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>Yahoo! Groups Links
>
>
>
>
>
>




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

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

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

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




[flexcoders] Re: How to detect absolute image URL when using mx.controls.Image control?

2006-08-14 Thread Sergey Kovalyov
No ideas? :(

On 8/13/06, Sergey Kovalyov <[EMAIL PROTECTED]> wrote:
> Hi All!
>
> Sure, image URL is placed in source property of mx.controls.Image
> instance. But there could be relative path that is not starting from
> either "http://"; or "https://";. Also the reference to the embeded
> resource could be the value of source property. So how to detect
> whether mx.controls.Image instance holds runtime loaded image, not
> embeded one, and how to get absolute URL of that image?
>
> Regards, Sergey.
>


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

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

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

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





[flexcoders] A simple printing question

2006-08-14 Thread hank williams
I am using FlexPrintJob to print a component that just has some html text in it.

The problem is the text is more than one page, and the print code
doesnt seem to be able to break the pages at line boundaries. Will any
configuration of the API do this on its own? The thought of doing
manual pagination of HTML really sucks, particularly for something
that is very much not core to my app. I just want something that
doesnt look silly.

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

<*> 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] exception during transcoding:

2006-08-14 Thread Roger Gonzalez





Odds are good that there's a Flash 8 SWF tag in the file that we don't 
support in Flex 2.  You're only looking at the error messages, I think 
uncaught compiler exceptions are logged in "About Flex Builder 2 > 
Configuration Details > Error Log".  (Or run mxmlc at the command 
line.)
 
We have a known issue with morph shapes.  Do you have any of those 
in your SWF?
 
(Actually... you're not pulling a symbol out of the SWF, but are 
embedding the whole thing?  Hmm.  You're embedding on a var, 
right?  Flex doesn't actually look inside that file.  Do you have 
flex.swc in your library-path?)
 
-rg
 
 



From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
dadrobsonSent: Monday, August 14, 2006 11:39 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] exception during 
transcoding:

  
  
  I keep getting the following compiler message:exception during 
  transcoding:That is the entire message. It's interesting that there is 
  noexplanation as to what caused the exception; the colon at the 
  endmakes me think that something should follow, but nothing does. 
  I'mleft without a clue as to what is throwing the exception. Here 
  is the line of code that it's complaining 
  about:[Embed(source="assets/map.swf", 
  mimeType="application/x-shockwave-flash")]A couple of 
  notes:1. assets/map.swf is really there. If it weren't, the compiler 
  wouldsay so; e.g., "unable to resolve 'map.swf' for transcoding"2. 
  map.swf is a functioning flash file. I can open it in the FlashPlayer or 
  load it into a file created using Flash 8 IDE. 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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Calling functions from an itemRenderer

2006-08-14 Thread Rick Root
Douglas Knudsen wrote:
> 
> 
> extract the URLRequest() call to a AS method.  make sure your mx:script 
> block has the CDATA schtuffs.

This is what I had done, as mentioned here:

> I originally had a function defined in the same file that did that
> and I
> called like like this:
> 
>  click="launchDetailsWindow(this.label);"/>
> 
> But it kept telling me that launchDetailsWindow was a "possibly
> undefined function", leading me to believe that I don't understand
> scoping in itemrenders :)

I had also tried 
"Application.application.launchDetailsWindow(this.label);" which also 
didn't work.

so I just added "mx.core." to the front of it and it's good now.

Rick


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

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

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

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





[flexcoders] Variations of sending arguments to a WebService in AS

2006-08-14 Thread kaleb_pederson
Hello,

I'm trying to send some arguments to a webservice, but every 
variation I have tried other than generating the XML from scratch 
keeps failing (eg. sends an empty message body).  Relevant parts of 
the WSDL are as follows:

  

  
  

  
...
   
  
  


And from the XSD:

  http://server.webservices.tutorials.wakaleo.com/"; 
type="ns3:sendStrings" name="sendStrings">

  

  

  

  http://server.webservices.tutorials.wakaleo.com/"; 
type="ns4:sendStringsResponse" 
name="sendStringsResponse">

  

  

  

Based on everything that I have been able to find in the 
documentation and on flexcoders, there are a number of different 
ways to send requests to the web service, so I tried each of the 
ones that I could find.

However, only one of them succeeds -- specifically, the case where I 
build an XMLDocument from scratch and send it.  All the other cases 
fail -- that is, they do not pass *any* arguments to the web 
service.

The following TestCase (which is kind of long) shows the different 
variations that have been tried.  The main things of interest are 
the variationN functions in the beginning of the class as these test 
the different ways to call the web service.  If TestCase had an 
asyncSetup function the sample case could be quite a bit shorter... 
(but perhaps I'll work on that next):

package code
{
  import flash.events.Event;
  import flexunit.framework.TestCase;
  import mx.rpc.events.FaultEvent;
  import mx.rpc.events.ResultEvent;
  import mx.rpc.soap.LoadEvent;
  import mx.rpc.soap.mxml.WebService;
  import flash.utils.describeType;
  import mx.rpc.events.AbstractEvent;
  import mx.rpc.AbstractOperation;
  import flash.xml.XMLDocument;
  import flash.xml.XMLNode;
  
  
  public class TestSendStrings extends TestCase
  {
private var ws:WebService;
private static const SERVICE_TIMEOUT:Number = 2000;
private var wsdlUrl:String 
= "http://192.168.1.108:8080/stockquotes/stock_quote?wsdl";;
private var responseHandler:String;
private var sendStringsFunc:String;

// these are the different variations that I have tried. Of 
these
// different variations, variation9 succeeds because I have hand
// crafted a valid message body (NOTE that variation 8 fails and
// that the only difference is XML vs. XMLDocument).  variation6
// generates a fault, so it fails for a different reason than
// some of the others
private function variation1():void {
  trace('variation1');
  var op:AbstractOperation = ws.getOperation('sendStrings');
  op.arguments = new Array('variation','one');
  op.send();
}

private function variation2():void {
  trace('variation2');
  ws.sendStrings.arguments = new Array('variation','two');
  ws.sendStrings.send();
}

private function variation3():void {
  trace('variation3');
  ws.sendStrings.send(new Array('variation','three'));
}

private function variation4():void {
  trace('variation4');
  ws.sendStrings.send('variation','four');
}

private function variation5():void {
  trace('variation5');
  ws.sendStrings('variation','five');
}

private function variation6():void {
  // this function results in a fault event:
  // Unexpected parameter 'sendStrings' found in input 
arguments.
  trace('variation6');
  var op:AbstractOperation = ws.getOperation('sendStrings');
  op.arguments = {sendStrings:{arg0:new 
Array('variation','six')}};
  op.send();
}

private function variation7():void {
  trace('variation7');
  var op:AbstractOperation = ws.getOperation('sendStrings');
  op.send({sendStrings:{arg0:new Array('variation','six')}});
}

private function variation8():void {
  trace('variation8');
  var xml:XML = new XML('http://server.webservices.tutorials.wakaleo.com/";>' +
'variationeight' +
'');
  var op:AbstractOperation = ws.getOperation('sendStrings');
  op.send(xml);
}

  private function variation9():void {
  trace('variation9');
  var xml:XMLDocument = new XMLDocument('http://server.webservices.tutorials.wakaleo.com/";>' +
'variationnine' +
'');
  var op:AbstractOperation = ws.getOperation('sendStrings');
  op.send(xml);
}

protected function handleResult(event:ResultEvent, 
expectedResult:Object):void {
  trace('---');
  trace('message body: ' + event.message.body);
  var actualResult:String = "null";
  var xml:XML = new XML(event.message.body);
  var a:Array = resultToStringArray(xml);
  if (a != null)
actualResult = a.toString();
  assertEquals(expectedResult.toString(), actualResult);
}

private function resultToStringArray(xml:XML):Array {
  if (xml != null) {
// I would be better off to iterate over the namespace 
declarations
// to fin

[flexcoders] Re: Split Application in Sections. Prevent one loading only.

2006-08-14 Thread falecomozig
I don´t know if it´s possible to interfere in the preloading funcs.
In flash, I usuly set a flag when the movie has beeen already loaded, 
so it only load once.
Maybe it´s possible to do something like this in flex, with the tab 
navigator. Maybe you know how to.. =)

Thanks..

Zig
--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> 
wrote:
>
> On Thursday 10 August 2006 21:02, Thomas Rühl -akitogo- wrote:
> > additional swfs for you. Then take a look at the SWFLoader class 
and the
> > events the TabNavidator dispatches.
> 
> This solution may of course be more of a pain to users because of 
the 
> unexpected pause for downloading when they switch tabs.
> In general hidden tab contents are not created until the tab is 
viewed the 
> first time.
> 
> Something to think about.
> 
> -- 
> 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

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

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

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





[flexcoders] exception during transcoding:

2006-08-14 Thread dadrobson
I keep getting the following compiler message:

exception during transcoding:

That is the entire message. It's interesting that there is no
explanation as to what caused the exception; the colon at the end
makes  me think that something should follow, but nothing does. I'm
left without a clue as to what is throwing the exception.  

Here is the line of code that it's complaining about:

[Embed(source="assets/map.swf", mimeType="application/x-shockwave-flash")]

A couple of notes:
1. assets/map.swf is really there. If it weren't, the compiler would
say so; e.g., "unable to resolve 'map.swf' for transcoding"
2. map.swf is a functioning flash file. I can open it in the Flash
Player or load it into a file created using Flash 8 IDE. 

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 
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] Calling functions from an itemRenderer

2006-08-14 Thread Douglas Knudsen



extract the URLRequest() call to a AS method.  make sure your mx:script block has the CDATA schtuffs.DKOn 8/14/06, Rick Root <
[EMAIL PROTECTED]> wrote:I've got an itemRenderer in a datagrid that's rendering a linkbutton
with a script.The following doesn't work because it's not valid XML, with the "symbols in the click value...
I originally had a function defined in the same file that did that and I
called like like this:click="launchDetailsWindow(this.label);"/>But it kept telling me that launchDetailsWindow was a "possibly
undefined function", leading me to believe that I don't understandscoping in itemrenders :)Rick--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/
-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



   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.... redirection possible?

2006-08-14 Thread Brian Deitte
There's no way to redirect trace that I know of, other than to a
different file location.  trace is only active when you are using the
debug player.  

There's various debug projects that use a cutom method rather than trace
and print out the debug messages in a different format.  I don't know of
any for Flex 2, but here's one for 1.5:
http://www.adobe.com/devnet/flex/articles/tracepanel.html  -Brian 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Colak
> Sent: Monday, August 14, 2006 10:32 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] trace redirection possible?
> 
> 
> Dear all,
> 
> is there any way of overriding the trace construct to go 
> elsewhere? - such as a custom class - 
> or is this only active in debug?
> 
> Regards
> Samuel
> 
> 
> 
> 
> 
> --
> 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] Calling functions from an itemRenderer

2006-08-14 Thread Brendan Meutzner



Rick,Have a look at the ExternalInterface functionality to call a _javascript_ function which resides in your HTML page which will satisfy your popup requirements...Brendan
On 8/14/06, Rick Root <[EMAIL PROTECTED]> wrote:













  



I've got an itemRenderer in a datagrid that's rendering a linkbutton 
with a script.

The following doesn't work because it's not valid XML, with the " 
symbols in the click value...


	
		
			
		
	


I originally had a function defined in the same file that did that and I 
called like like this:


click="launchDetailsWindow(this.label);"/>

But it kept telling me that launchDetailsWindow was a "possibly 
undefined function", leading me to believe that I don't understand 
scoping in itemrenders :)

Rick

  















__._,_.___





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



  






__,_._,___



[flexcoders] Re: File Upload :Complete path of File needed

2006-08-14 Thread gotgoose09
I have also tried to figure this out and through searching found that
you can't get the full path because of "sandbox security".
--- In flexcoders@yahoogroups.com, "Kumar" <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
>  
> 
> Below is the code that I am using for uploading files.
> 
>  
> 
> In this code I am able to get only name of the file which is to being
> uploaded,
> 
> What I want is to get the full path of the file for example
> "c:/new/abxfile.txt".
> 
> Can some one help me out of these?
> 
>  
> 
> 
> 
> 
> http://www.adobe.com/2006/mxml";
layout="vertical"
> creationComplete="initApp()">
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  height="100%" >
> 
> 
> 
> 
> 
> 
> 
>  width="100%" text="" enabled="true"  />
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  text="Author" />
> 
> 
> 
>  
> 
>  width="100%">
> 
>  label="Browse" click="fileRef.browse()" />
> 
>  label="Upload" id="btn_upload" enabled="false"
> click="uploadFile(uploadURL.text)" />
> 
>  label="Cancel" id="btn_cancel" enabled="false"
click="fileRef.cancel()" />
> 
> 
> 
> 
> 
>  tabEnabled="false"/>
> 
> 
> 
> 
> 
>  id="progressBar" mode="manual" />
> 
> 
> 
> 
> 
> 
> 
>  width="350" height="200" />
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
>  
> 
>  
> 
> Thanks 
> 
> Kumar
>






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

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

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

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





RE: [flexcoders] Flex 2 Garbage Collection (based on AS3 changes)

2006-08-14 Thread Brian Deitte
Setting it to null (along with removing any other references to the
class) is the answer.  The variable is removed when it is out of scope:
so if you define the variable in a function, it is removed when the
function ends.  If it's a class-level variable and you still have the
class around, there's simply no way to get rid of the variable
reference, which is a small amount of memory anyways. -Brian

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of lostinrecursion
> Sent: Monday, August 14, 2006 12:45 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex 2 Garbage Collection (based on AS3 changes)
> 
> Hi all,
> 
> I used garbage collection methods a lot in my prior RIAs to keep the
> application running smooth as it progressed.
> 
> But, now, being that I am not a total pro, I'm not sure how we
> accomplish this.
> 
> Actionscript 3.0 does not allow the "delete" keyword to be used when
> trying to get rid of references to an Object.
> 
> So if I create a new instance of a class: i.e. var myClass:MyClass =
> new MyClass();
> 
> How do I then get rid of the myClass reference when I no longer need
> it? I guess I could set it to undefined or null, but that still leaves
> a blank variable lingering in memory.
> 
> How do you folks do it?
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


--
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] ASDoc now available on Labs

2006-08-14 Thread Brian Deitte
And I'll be trying to awaken myself from my hibernation on flexcoders,
so if you have any questions about it, fire away.  -Brian 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
> Sent: Monday, August 14, 2006 1:54 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] ASDoc now available on Labs
> 
> http://labs.adobe.com/wiki/index.php/ASDoc
> 
> Enjoy!
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


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

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

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

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




[flexcoders] Calling functions from an itemRenderer

2006-08-14 Thread Rick Root
I've got an itemRenderer in a datagrid that's rendering a linkbutton 
with a script.

The following doesn't work because it's not valid XML, with the " 
symbols in the click value...









I originally had a function defined in the same file that did that and I 
called like like this:



But it kept telling me that launchDetailsWindow was a "possibly 
undefined function", leading me to believe that I don't understand 
scoping in itemrenders :)

Rick


--
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] ASDoc now available on Labs

2006-08-14 Thread Clint Modien












Awesome news… J thanks Matt!!

 

Clint Modien

http://esria.com

p. 1.877.TRY.ESRIA ext
706

c. 1.408.489.0750

f. 1.877.828.4436

[EMAIL PROTECTED]

 

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: Monday, August 14, 2006
10:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ASDoc now
available on Labs



 







http://labs.adobe.com/wiki/index.php/ASDoc

Enjoy!






__._,_.___





--
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: WebService - What's wrong with this code?

2006-08-14 Thread Tom Lee
Thanks, Ben -

Your code works fine.  My code, even after I manually edited to make it
identical to yours, does not.  I can only conclude that Flex Builder is on
crack.  Seriously, I went over it line by line...  No differences except
whitespace.  I hope this is not going to become a behavioral pattern in
Builder... I work with Visual Studio, and there's no room for more than one
buggy IDE in my life.

Thanks again,

-tom

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Friday, August 11, 2006 10:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: WebService - What's wrong with this code?

> Does it compile for you without errors?

Yep, this exact code works for me.


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






> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of ben.clinkinbeard
> Sent: Friday, August 11, 2006 12:42 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: WebService - What's wrong with this code?
> 
> For your second example, if you wrap the lines other than the import
> inside of a function it should work.
> 
> HTH,
> Ben
> 
> --- In flexcoders@yahoogroups.com, "Tom Lee"  wrote:
> >
> > I can't figure this out for the life of me - I'm following other
> people's
> > examples, but still getting errors.  This must be something obvious.
> Here's
> > my code (I've removed the actual WSDL url):
> > 
> >  
> > 
> > 
> > 
> > http://www.adobe.com/2006/mxml";
> layout="absolute">
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> > 
> >  
> > 
> > And here's my error:
> > 
> >  
> > 
> > 1061: Call to a possibly undefined method loadWSDL through a
> reference with
> > static type WebService.   (Line 9)
> > 
> >  
> > 
> > I've tried a bunch of different stuff - here's another variation,
which
> > throws different errors:
> > 
> >  
> > 
> > 
> > 
> > http://www.adobe.com/2006/mxml";
> layout="absolute">
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> > 
> > And the errors:
> > 
> >  
> > 
> > 1120: Access of undefined property myWebService.  (Lines 8 & 9)
> > 
> >  
> > 
> > Thanks!
> > 
> >  
> > 
> > - tom
> >
> 
> 
> 
> 
> 
> 
> --
> 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



 





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

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

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

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





[flexcoders] ASDoc is now available for download

2006-08-14 Thread stephenmartin2
ASDoc, the tool we use at Adobe to generate documentation from
ActionScript source code, is now available on labs:

http://labs.adobe.com/wiki/index.php/ASDoc

Stephen






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

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

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

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




[flexcoders] ASDoc now available on Labs

2006-08-14 Thread Matt Chotin
http://labs.adobe.com/wiki/index.php/ASDoc

Enjoy!


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

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

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

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




[flexcoders] Cairngorm:One controller, so many commands, so many delegates, so many events

2006-08-14 Thread flxcoder
Now I have about 4-5 events that correspond with the app server and 
get data back. Each of these events get registered with the 
CairngormEvent. When the controller executes these events it needs a 
command associated with the event. Each such command needs a delegate.

So for my one interaction with the server I have at least one Event 
class, one Command class and one delegate class and untold number of 
interests in the ModelLocator. This is leading to code cluge.

Just wondering whether this is what the rest of the developers are 
doing or am I doing something wrong. In my app, I might end up having 
about 30-40 separate server calls at least. That will lead to 90-120 
independant files.

Is this what you are running into as well? Am I missing something?

Thanks.






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

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

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

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




Re: [flexcoders] Is FDS the right choice for me?

2006-08-14 Thread Jay Gibb
Thanks Tom.  My intuition tells me that polling would generate a  
significant amount of overhead for the server when several thousand  
users are connected, so I'm thinking that allowing the server to send  
data to clients when it determines that they need it would make the  
system scale better.  It also strikes me that both the client and  
server-side programming should be significantly simpler if polling  
logic can be avoided.

Are there any alternative techniques with the Adobe family of  
products, or is Flex/FDS/ColdFusion/Actionscript my only option if  
server push is a key requirement?

Thanks for your input,
  - j.



On Aug 14, 2006, at 1:11 AM, Tom Chiverton wrote:

> On Saturday 12 August 2006 05:18, Jay Gibb wrote:
>> Can anyone suggest another solution that I might not have considered?
>
> Depending in what you mean by 'push', and assuming you have a  
> ColdFusion
> backend, you may be able to do away with FDS and replicate the  
> functionality
> using polling and/or pre-save checks for currency.
>
> -- 
> Tom Chiverton


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

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

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

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




[flexcoders] Re: setStyle(styleProperty, null) or setStyle(styleProperty, undefined)?

2006-08-14 Thread sergio_trejo_r
--- In flexcoders@yahoogroups.com, "Sergey Kovalyov"
<[EMAIL PROTECTED]> wrote:
>
> Hi All!
> 
> How to reset one particular style property? Do I need to call
> setStyle(styleProperty, null) or setStyle(styleProperty, undefined)?
> Or any other solution is suitable in this particular case?
> 
> Thank you in advance!
> 
> Regards, Sergey.
>

You should try clearStyle(styleProp).  This defined in the
CSSStyleDeclaration class and the IStyleClient interface.

I think it sets the style property to 'undefined' but I would
definetely use clearStyle.

-Sergio







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

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

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

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




[flexcoders] Re: One Website, Multiple Applications - Flex Builder 2 Setup

2006-08-14 Thread lostinrecursion
Much appreciated. I hit that topic's subject line but steered awy
because it mentioned Cairngorm, but clearly the topic is "exactly"
what I needed.

Thanks so much. On my way to build. I've got all the advice I need.

-Kenny

--- In flexcoders@yahoogroups.com, "Stefan Schmalhaus" <[EMAIL PROTECTED]> 
wrote:
>
> --- In flexcoders@yahoogroups.com, "lostinrecursion"  wrote:
> 
> > It would seem most effective to use one Flex Project for both
> > applications for code reuse purposes and general organization.
> 
> You may want to take a look at this thread with a similar topic:
> 
> http://groups.yahoo.com/group/flexcoders/message/45006
> 
> Stefan
>







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

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

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

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





[flexcoders] Flex 2 Garbage Collection (based on AS3 changes)

2006-08-14 Thread lostinrecursion
Hi all,

I used garbage collection methods a lot in my prior RIAs to keep the
application running smooth as it progressed.

But, now, being that I am not a total pro, I'm not sure how we
accomplish this.

Actionscript 3.0 does not allow the "delete" keyword to be used when
trying to get rid of references to an Object.

So if I create a new instance of a class: i.e. var myClass:MyClass =
new MyClass();

How do I then get rid of the myClass reference when I no longer need
it? I guess I could set it to undefined or null, but that still leaves
a blank variable lingering in memory.

How do you folks do it?






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

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

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

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




[flexcoders] Re: Bug applying filter to resized VBox

2006-08-14 Thread Tim Hoff
Hi Hank,

That sounds a little odd.  You might try cacheAsBitmap = true and/or 
force a redraw with invalidateDisplayList() on the resize event.

-TH

--- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> wrote:
>
> When I resize a VBox (by resizing the browser window) that I have
> applied a filter to, the filter does not resize properly, making the
> VBox look bad. If I remove the filter everything looks great. Is 
there
> anything special I need to do when rebuild the filter?
> 
> It appears that the old filter bits or rules or something, are 
hanging
> around when the object is resized. This feels like a bug but perhaps 
I
> am missing something.
> 
> 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

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

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

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





[flexcoders] Re: flex2 final - how set flashing cursor in textinput

2006-08-14 Thread Tim Hoff



Hi Bod,
This might help a little:
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=462 
-TH--- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote:>> how do i place the cursor onto the first textinput on my form in > actionscript.> > the setFocus() and setSelection() methods aren't quite what i'm > looking for.> > regards> bod>

__._,_.___





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



  






__,_._,___



[flexcoders] setStyle(styleProperty, null) or setStyle(styleProperty, undefined)?

2006-08-14 Thread Sergey Kovalyov
Hi All!

How to reset one particular style property? Do I need to call
setStyle(styleProperty, null) or setStyle(styleProperty, undefined)?
Or any other solution is suitable in this particular case?

Thank you in advance!

Regards, Sergey.


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

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

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

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




[flexcoders] Extending CSSStyleDeclaration

2006-08-14 Thread sergio_trejo_r
Is there a way to extend the CSSStyleDeclaration class in such a way
that I can store/calculate the style values in my application?

For example, I want to create a style CSS1 that depends on a different
style CSS0.  If a style property is not assigned to CSS1 then it
should get the value from the parent style CSS0.  If a style property
is assigned to CSS1 then it should just return the value.

I tried creating a subclass of CSSStyleDeclaration and overriding the
getStyle and setStyle methods.  However, after applying the style
declaration to a UIComponent, the component does not call the getStyle
method on the style declaration so loose the oportunity to override
the behavior.  After debugging for a while it looks like the UI
component calls a private method in the style declaration
'addStyleToProtoChain' which I can not override.

Is there any other way to customize the Style subsystem?

Thanks.








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

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

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

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




RE: [Junk E-Mail - LOW] [flexcoders] Dynamic datagrid columns

2006-08-14 Thread Shannon Hicks





Yes. Here's a little sample code, hopefully you can figure 
out what I did :)
 
   public function 
getProductsResult(event:ResultEvent):void 
{acProducts = event.result as 
ArrayCollection;var newColumns:Array = 
dgStoreStates.columns;var cf:ClassFactory = new 
ClassFactory(com.webapper.controls.GridCheckBox);var 
thisColumn:DataGridColumn;for 
(var i:Number=0;i thisColumn = new 
DataGridColumn(); thisColumn.dataField = "prod" 
+ 
acProducts.getItemAt(i).productID.toString(); thisColumn.setStyle("textAlign","center"); thisColumn.width 
= 100; thisColumn.headerText = 
acProducts.getItemAt(i).productName; thisColumn.headerText 
= 
thisColumn.headerText.replace("&","&"); thisColumn.itemRenderer 
= cf; thisColumn.rendererIsEditor = 
true; thisColumn.editorDataField = 
"value"; newColumns.push(thisColumn); dgStoreStates.columns 
= 
newColumns;}CursorManager.removeBusyCursor();   }
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tom 
FitzpatrickSent: Monday, August 14, 2006 10:36 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
Dynamic datagrid columns


The dynamic column methods for the datagrid seem to have disappeared 
between 1.5 & 2.I've looked around for examples or descriptions 
of Flex 2 replacements for methods such as dataGrid.addColumn() and 
dataGric.removeAllColumns() that were available in 1.5, but haven't 
come up with much. Anyone have any pointers?- Tom
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.405 / Virus Database: 268.10.9/417 - Release Date: 
8/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








   



  




  
  
  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.



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.9/417 - Release Date: 8/11/2006
 


RE: [flexcoders] Re: Problem with List in TitleWindow

2006-08-14 Thread Tobias Patton












I reported this as a bug to Adobe, and was
told that the workaround is to set cacheAsBitmap for the PopUpWindow to false.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doug Lowder
Sent: Friday, August 11, 2006 4:51
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Problem
with List in TitleWindow



 







Looks
like TitleWindow has some issues with lists.  Here's a workaround. 
If you want to see even more weirdness, try setting headerHeight="0"
for the DataGrid in the below code.

8"?>
http://www.adobe.com/2006/mxml"
title="Test">
    
    
    
    "{dp}" 
     headerHeight="20" alternatingItemColors="[0xFF,
0xFF]" >
     
      
     
    
    
    
    
 


--- In [EMAIL PROTECTED]ups.com,
"gotgoose09" ...> wrote:
>
> Yes, you're right, I should've given some code.
> 
> http://www.thegoosmans.com/flexlistintitlewindow/TitleWindowListState.sw\
> f
> 
> This is a simplified version of my project. You can right click on the
> SWF and select "View Source" to see the code.
> --- In [EMAIL PROTECTED]ups.com,
"Tim Hoff" TimHoff@ wrote:
> >
> > If you could provide the TitleWindow code, it would be easier to see
> > what is causing the problem.
> >
> > -TH
> >
> > --- In [EMAIL PROTECTED]ups.com,
"gotgoose09" thegoosmans@
> > wrote:
> > >
> > > I guess no one has tried this yet?
> > > --- In [EMAIL PROTECTED]ups.com,
"gotgoose09" 
> > wrote:
> > > >
> > > > I have a TitleWindow that has a List with cfm pages in it
as
> > items. The
> > > > TitleWindow also has a state that adds TextField to create
or
> > edit a
> > > > list item. The first time I popup this TitleWindow and
there
> > are more
> > > > items than the List's height, a strange display issue
occurs.
> > You can
> > > > see it here:
> > > > http://img102.imageshack.us/my.php?
> > image=titlewindowlistbugsm2.jpg
> > > > Notice the white bar on the top of the List.
> > > >
> > > > Now, when I click the create button I go to another state
-->
> > > >
> > http://img60.imageshack.us/img60/3317/titlewindowlistbug2vs4.jpg
.
> > If I
> > > > now scroll through the list the display issue in the
previous> > image does
> > > > not occur, even after I cancel out of that state.
> > > >
> > > > Anyone have a solution to this?
> > > >
> > >
> >
>








__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



   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] Dynamic datagrid columns

2006-08-14 Thread Tom Fitzpatrick
The dynamic column methods for the datagrid seem to have disappeared 
between 1.5 & 2.

I've looked around for examples or descriptions of Flex 2 replacements 
for methods such as dataGrid.addColumn() and dataGric.removeAllColumns() 
that were available in 1.5, but haven't come up with much. Anyone have 
any pointers?

- Tom




--
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] Chart error when mouse rolls over

2006-08-14 Thread Matt Horn
IIRC, this is caused by having an older player and a newer build of Flex
2. Try syncing them up with the release versions.

hth,

matt horn
flex docs 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Lingwai
> Sent: Friday, August 11, 2006 6:41 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Chart error when mouse rolls over
> 
> 
> get the following run time error when my mouse rolls over one 
> of my charts:
> ReferenceError: Error #1069: Property hitData not found on 
> mx.charts.HitData and there is no default value.
> at Chart1/::formatDataTip()
> at mx.charts.chartClasses::ChartBase/::invokeDTFunction()
> at mx.charts::HitData/get displayText()
> at mx.charts.chartClasses::DataTip/set data() at 
> mx.charts.chartClasses::ChartBase/::updateDataTipToMatchHitSet()
> at mx.charts.chartClasses::ChartBase/::processRollEvents()
> at mx.charts.chartClasses::ChartBase/::mouseMoveHandler()
> 
> Here is the section of code i believe is causing the error:
> 
> private function formatDataTip(obj : Object) : String { var 
> name : String = obj.hitData.item.Publication; var 
> revenue:Number = obj.hitData.item.Size;
> 
> 
> return "Publication: "+name+"Size: "+ revenue; }
> 
> _
> Don't just search. Find. Check out the new MSN Search! 
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


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

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

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

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





[flexcoders] expandItem() doesn't seem to work w/dynamic dataprovider - BUG?

2006-08-14 Thread fuad_kamal
expandItem() on a node on a Tree works fine when the dataprovider is a
hard-coded XML or XMLList in the mxml, but when the dataprovider is a
variable of type XML or XMLList, expandItem() doesn't do anything.

code example (should expand the node, but doesn't):

---


http://www.adobe.com/2006/mxml";
layout="absolute">












   










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

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

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

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




[flexcoders] Server side updates to a bound Object

2006-08-14 Thread Paul Dale


I've got a datagrid bound to ArrayCollection via a destination. Pretty close
to the standard example.

This part works.

What I haven't been able to get to work is to make an update to the java
object on the server and have that be reflected in the client.

My ArrayCollection is [Bindable]
AutoSyncEnabled is set to the default true value.

I am sure that my server side object changes ( if I refresh I see the
changes ... but don't get them pushed to the datagrid ).

I've tried executing the following ...

public void pushChanges() {
DataServiceTransaction myDataServiceTransaction =
DataServiceTransaction.begin(true);
updateLastRadarData();
myDataServiceTransaction.refreshFill("radardata", null );
}

But am still not getting seeing updates on the client.

Any suggestions on where to go next?

Many thanks,

Paul






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

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

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

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




[flexcoders] Array direction with repeater and bar chart....

2006-08-14 Thread parksch2
Hi all,

I currently have a bar chart with n elements and right next to it a 
repeater that displays the growth of each element compared to last 
years value. Both objects use the same array as a data provider. The 
problem is that the direction for the bar chart start from the bottom 
and the repeater starts from the top so the elements don't line up. Is 
there any way of reversing the direction of one of the objects so they 
match up?

Thanks in advance!






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

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

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

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




[flexcoders] exiting a tabset.

2006-08-14 Thread mthielman11
Hello all I have a problem.

I have created a tabnavigator component.  I want to set up one of the tabs to 
"exit" the tabset 
and take me back to the main grid results page.  
The way it is set up is the canvases of the tabs are mxml components that are 
loaded in to 
the tabs.  The tabset as a whole is also a seperate mxml file that is loaded 
into an "edit" state 
of the main grid page.  

When exiting the tabs it needs to go back to the "parent" pages default state.  
Anyone know 
how to create that reference?  Thanks.





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

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

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

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




[flexcoders] Pen response quirky on tablet pc with Flash Player 9

2006-08-14 Thread sof4real03
Has the Adobe team tested the Flash Player 9 against the latest
Windows 2005 Tablet PC edition? Flash Player 7 responded fairly well
to pen gestures such as textInput focus and double click, but 9 is
responding poorly. Should I be listening for a certain event other
than mouseEvents or is this a known issue?

Thanks,
Sof





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





  1   2   >