Sry about the up front info. I have tried using a blank movieClip, but
it still doesn't work. The issue I think is that the class creates an
MC called "raw" to load the bitmap data and then deletes it to create
"img" where it draws the bitmap for smoothing. Some where between, I
am not getting the w&h of "img"
Sent from losPhone
On Apr 17, 2009, at 11:25 AM, Ian Thomas <i...@eirias.net> wrote:
Karl,
Some more information up front would have helped - I was assuming
you were using the Loader class in AS3, whereas it looks like you're
using a third-party ImageLoader class in AS2! Really difficult to
answer the question without knowing that!
Looking at Martijn's source-code, it looks a little like you're
loading the image into a MovieClip that you've already created with a
specific width and height, which is causing your problem. I'd try
loading the image into a blank MovieClip instead (e.g. via
createEmptyMovieClip(), or just into something on the timeline with no
content).
Ian
On Fri, Apr 17, 2009 at 5:11 PM, Karl DeSaulniers <k...@designdrumm.com
> wrote:
I am using martijndevsser ImageLoader
Sent from losPhone
On Apr 17, 2009, at 4:41 AM, Ian Thomas <i...@eirias.net> wrote:
Let's try that again - perhaps I wasn't clear.
I'm assuming - from your first email - you're using a
flash.display.Loader?
Look for the property called contentLoaderInfo on the instance of
your
Loader class.
Documentation here:
http://livedocs.adobe.com/flex/3/langref/flash/display/Loader.html#contentLoaderInfo
HTH,
Ian
On Fri, Apr 17, 2009 at 10:26 AM, Karl DeSaulniers <k...@designdrumm.com
>
wrote:
That looked like it was going to work.
Thanks for your response.
It just told me there was no property called contentLoaderInfo in
my
class
file.
Karl DeSaulniers
Design Drumm
http://designdrumm.com
On Apr 17, 2009, at 3:21 AM, Ian Thomas wrote:
myLoader.contentLoaderInfo.width
myLoader.contentLoaderInfo.height
HTH,
Ian
On Fri, Apr 17, 2009 at 6:09 AM, Karl DeSaulniers <k...@designdrumm.com
>
wrote:
Hello all,
Quick question.
I am using a loader class to load some preview images and I am
trying
to
make a couple of variables eq the width and heigth of the
preview once
the
class is done actually loading the image. I am running into a
snag with
the
variables eq the holder MCs width and height after the image
loads and
not
the loaded images w&h.
What is the best way to get actual loaded images w&h and not
the holder
MCs
w&h?
Thanks for any help
Karl
Sent from losPhone
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders