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
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.
: [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
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.
*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
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
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
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
: 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
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
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
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
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
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?
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
@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
16 matches
Mail list logo