Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-18 Thread Paul Hastings
ah you were right alex, the blob image data wasn't updating (we used the same thumbnail data for the test bed so nobody noticed) plus the debug console was full of Warning: unable to bind to property... messages. i was confusing these w/ Data binding will not be able to detect assignments to

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Paul Hastings
Paul deCoursey wrote: The inline component doesn't have that method in scope. Try {this.parentDocumen t.blobToImage. ... spoke too soon. while this got rid of the complier error, that method's still not getting called ie breakpoints on it never get fired. any ideas? thanks.

RE: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Alex Harui
: [flexcoders] not kosher to call function from inline renderer? Paul deCoursey wrote: The inline component doesn't have that method in scope. Try {this.parentDocumen t.blobToImage. ... spoke too soon. while this got rid of the complier error, that method's still not getting called ie breakpoints

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Paul Hastings
Alex Harui wrote: I think you want to use outerDocument. I’m surprised you didn’t get a runtime error. me too ;-) yes that got. thanks.

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Paul deCoursey
*Sent:* Tuesday, October 16, 2007 11:08 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] not kosher to call function from inline renderer? Paul deCoursey wrote: The inline component doesn't have that method in scope. Try {this.parentDocumen t.blobToImage. ... spoke too soon

RE: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Alex Harui
Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul deCoursey Sent: Wednesday, October 17, 2007 7:11 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] not kosher to call function from inline renderer? Ok, I always use parentDocument and it always works

RE: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Alex Harui
Subject: Re: [flexcoders] not kosher to call function from inline renderer? Ok, I always use parentDocument and it always works for me... what's the deal? I've never used outerDocument. Here is a quick sample: mx:TileList id=assetList columnCount=1 height=100% width=100% dataProvider

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread paulh
Alex Harui wrote: Also, I looked at his code again. It appears that he’s binding to a function. The binding probably doesn’t know when to fire again. I yup though it does seem to be firing as expected. generally discourage binding to functions. He may even be getting one of those

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Paul deCoursey
: Wednesday, October 17, 2007 7:11 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] not kosher to call function from inline renderer? Ok, I always use parentDocument and it always works for me... what's the deal? I've never used outerDocument. Here is a quick sample: mx:TileList id

RE: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread Alex Harui
17, 2007 10:38 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] not kosher to call function from inline renderer? Alex Harui wrote: Also, I looked at his code again. It appears that he's binding to a function. The binding probably doesn't know when to fire again. I yup though

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-17 Thread paulh
Alex Harui wrote: OK. Can you summarize what your situation is currently? I’d like to see your latest code including enough code to see the function you are trying to call. sure, have to be in the morning (in about 7 hours or so) when i get back to the office, my head's full of the rest

[flexcoders] not kosher to call function from inline renderer?

2007-10-16 Thread Paul Hastings
don't know if it's not kosher or i'm flubbing something but i keep getting Call to a possibly undefined method blobToImage. errors from something like this (trying to convert bunch of BLOBed thumbnails into a list): mx:HorizontalList id=sampleImageThumbnails

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-16 Thread Paul deCoursey
The inline component doesn't have that method in scope. Try {this.parentDocument.blobToImage Paul Hastings wrote: don't know if it's not kosher or i'm flubbing something but i keep getting Call to a possibly undefined method blobToImage. errors from something like this (trying to

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-16 Thread Paul Hastings
Paul deCoursey wrote: The inline component doesn't have that method in scope. Try {this.parentDocumen t.blobToImage. ... yup that did the trick. thanks paul. btw is documented anywhere?

Re: [flexcoders] not kosher to call function from inline renderer?

2007-10-16 Thread Jeffry Houser
The method is not in your code segment, unless I'm missing something. Just a shot in the dark, but you need to use outerDocumentto to call a method located in the same file, but not in the inline component. Paul Hastings wrote: don't know if it's not kosher or i'm flubbing something

RE: [flexcoders] not kosher to call function from inline renderer?

2007-10-16 Thread Darin Ashby
@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] not kosher to call function from inline renderer? Date: Tue, 16 Oct 2007 21:06:42 +0700 don't know if it's not kosher or i'm flubbing something but i keep getting Call to a possibly undefined method blobToImage. errors from something like