Re: [Flashcoders] Just a quick one

2009-04-24 Thread Karl DeSaulniers

Just wanted to let everyone know I finally figured it out.
Had to get the variable when it triggered the

function onLoadInit() {

Thank you all who contributed.. your input helped keep my wheels  
turning.

Danka Shern


Karl DeSaulniers
Design Drumm
http://designdrumm.com

On Apr 18, 2009, at 10:38 PM, Muzak wrote:


This should work:

import ImageLoader;

var imgHolder:MovieClip = this.createEmptyMovieClip(imgHolder_mc,  
this.getNextHighestDepth());

var imgURL:String = ableton_live6_logo.jpg;
var imgLoader:ImageLoader;

function onLoadInit():Void {
trace(Application ::: onLoadInit);
trace(- width:  + imgHolder._width);
trace(- height:  + imgHolder._height);
}

imgLoader = new ImageLoader();
imgLoader.addListener(this);
imgLoader.loadImage(imgURL, imgHolder);

regards,
Muzak

- Original Message - From: Karl DeSaulniers  
k...@designdrumm.com

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Sunday, April 19, 2009 12:56 AM
Subject: Re: [Flashcoders] Just a quick one


Thank you all for the great responses. I actually think I have a  
copy  of flex 1 somewhere. LOL
But alas my movie is still not working and my programming  
knowledge  extent at this time is as2 based. Don't seem to get the  
time to dive  into as3 or any other ie: flex 1
I really am stumped on how to get the wh of this loaded data.  
Nothing  I do seems to work.

:(


___
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


Re: [Flashcoders] Just a quick one

2009-04-18 Thread Anthony Pace

Use Flash Develop or Flex Builder

Flash develop is free and great for as3; yet, Flex Builder for eclipse, 
with its insanely high price tag of $249, is better if you want to 
include capabilities to edit other languages like c++ or java.


IMHO they should have just integrated all the code editing and 
compilation abilities into dreamweaver to make it a better, must have, 
product, or put everything dreamweaver has into eclipse if they truly 
want to move everything to eclipse.


Eclipse is insanely slow, and java , even with flashdevelop's sytax 
checking through java, makes my dual core 2.2 ghz CPU with 2gigs of 
memory, spike at 45% for its processes and take 250 - 500 MB of memory.  
Java sucks ass when it comes to speed; despite the propaganda, spread by 
SUN and java developers, to the contrary.



Karl DeSaulniers wrote:

What about sepy? I'm on a mac.

Sent from losPhone

On Apr 17, 2009, at 12:29 PM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:



It just told me there was no property called contentLoaderInfo in my



class file.


What Actionscript editor are you using?



Cs3


That could be why. I would recommend you switch coding over to an editor
with better code hinting and other capabilities like the FlashDevleop,
which is a free download, and the best free Actionscript editor for
Windows out there.


Jason Merrill

Bank of  America   Global Learning
Shared Services Solutions Development

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community


___
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


Re: [Flashcoders] Just a quick one

2009-04-18 Thread Dave Watts
 Flash develop is free and great for as3; yet, Flex Builder for eclipse, with
 its insanely high price tag of $249, is better if you want to include
 capabilities to edit other languages like c++ or java.

Well, I've never used FlashDevelop, but if you just want to write C++
or Java or a bunch of other things, you can just download Eclipse for
free too, and use both for different things.

 IMHO they should have just integrated all the code editing and compilation
 abilities into dreamweaver to make it a better, must have, product, or put
 everything dreamweaver has into eclipse if they truly want to move
 everything to eclipse.

Dreamweaver and Eclipse are fundamentally different things, and I
really don't see how this could happen well. For example, Dreamweaver
doesn't include support for refactoring, because it's something that
doesn't really make sense within an HTML editor.

As for putting everything Dreamweaver has into Eclipse, check out
Aptana, which is an Eclipse plugin for HTML/JS authoring. It's pretty
neat. But again, HTML authoring is quite a bit different from the
traditional programming that Eclipse is aimed at.

 Eclipse is insanely slow, and java , even with flashdevelop's sytax checking
 through java, makes my dual core 2.2 ghz CPU with 2gigs of memory, spike at
 45% for its processes and take 250 - 500 MB of memory.  Java sucks ass when
 it comes to speed; despite the propaganda, spread by SUN and java
 developers, to the contrary.

I use Eclipse on much weaker computers than that without any problem.
The computer I'm using right now is a single-core CPU with 1GB RAM.
There's a lot of stuff you can turn off to make it work a little
faster. I've never heard any Java programmers talk about Java's speed
in a positive way, unless you consider it sucks less than it used to
as a positive statement. But frankly, speed isn't all that important
in a text editor.

I do admit I am looking forward to ordering a new, insanely fast
computer, so that Eclipse will be more tolerable.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Just a quick one

2009-04-18 Thread Muzak
IMHO they should have just integrated all the code editing and 
compilation abilities into dreamweaver to make it a better, must have, 
product, or put everything dreamweaver has into eclipse if they truly 
want to move everything to eclipse.


They (Macromedia) tried that with Flex 1 and 1.5 and failed miserably.
If you think Eclipse is slow (which I don't) then you should find a copy of 
Flex 1 :)

Like Dave I have also run Eclipse on a single core P4 with 1Gb ram and it ran 
OK.
Took a bit of jvm tweaking though. And FB 3 runs alot better than FB2.

On a dual core 3.0 with 4Gb ram it runs smooth as butter.

I'm personally very happy with FlexBuilder (and Eclipse in general) and look 
forward to Bolt (CF editor).

regards,
Muzak

- Original Message - 
From: Anthony Pace anthony.p...@utoronto.ca

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Saturday, April 18, 2009 8:55 PM
Subject: Re: [Flashcoders] Just a quick one



Use Flash Develop or Flex Builder

Flash develop is free and great for as3; yet, Flex Builder for eclipse, 
with its insanely high price tag of $249, is better if you want to 
include capabilities to edit other languages like c++ or java.


IMHO they should have just integrated all the code editing and 
compilation abilities into dreamweaver to make it a better, must have, 
product, or put everything dreamweaver has into eclipse if they truly 
want to move everything to eclipse.


Eclipse is insanely slow, and java , even with flashdevelop's sytax 
checking through java, makes my dual core 2.2 ghz CPU with 2gigs of 
memory, spike at 45% for its processes and take 250 - 500 MB of memory.  
Java sucks ass when it comes to speed; despite the propaganda, spread by 
SUN and java developers, to the contrary.





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Just a quick one

2009-04-18 Thread Karl DeSaulniers
Thank you all for the great responses. I actually think I have a copy  
of flex 1 somewhere. LOL


But alas my movie is still not working and my programming knowledge  
extent at this time is as2 based. Don't seem to get the time to dive  
into as3 or any other ie: flex 1


I really am stumped on how to get the wh of this loaded data. Nothing  
I do seems to work.


:(

TFYH
Karl

Sent from losPhone

On Apr 18, 2009, at 5:36 PM, Muzak p.ginnebe...@telenet.be wrote:

IMHO they should have just integrated all the code editing and  
compilation abilities into dreamweaver to make it a better, must  
have, product, or put everything dreamweaver has into eclipse if  
they truly want to move everything to eclipse.


They (Macromedia) tried that with Flex 1 and 1.5 and failed miserably.
If you think Eclipse is slow (which I don't) then you should find a  
copy of Flex 1 :)


Like Dave I have also run Eclipse on a single core P4 with 1Gb ram  
and it ran OK.

Took a bit of jvm tweaking though. And FB 3 runs alot better than FB2.

On a dual core 3.0 with 4Gb ram it runs smooth as butter.

I'm personally very happy with FlexBuilder (and Eclipse in general)  
and look forward to Bolt (CF editor).


regards,
Muzak

- Original Message - From: Anthony Pace anthony.p...@utoronto.ca 


To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Saturday, April 18, 2009 8:55 PM
Subject: Re: [Flashcoders] Just a quick one



Use Flash Develop or Flex Builder
Flash develop is free and great for as3; yet, Flex Builder for  
eclipse, with its insanely high price tag of $249, is better if you  
want to include capabilities to edit other languages like c++ or  
java.
IMHO they should have just integrated all the code editing and  
compilation abilities into dreamweaver to make it a better, must  
have, product, or put everything dreamweaver has into eclipse if  
they truly want to move everything to eclipse.
Eclipse is insanely slow, and java , even with flashdevelop's sytax  
checking through java, makes my dual core 2.2 ghz CPU with 2gigs of  
memory, spike at 45% for its processes and take 250 - 500 MB of  
memory.  Java sucks ass when it comes to speed; despite the  
propaganda, spread by SUN and java developers, to the contrary.


___
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


Re: [Flashcoders] Just a quick one

2009-04-18 Thread Muzak

This should work:

import ImageLoader;

var imgHolder:MovieClip = this.createEmptyMovieClip(imgHolder_mc, 
this.getNextHighestDepth());
var imgURL:String = ableton_live6_logo.jpg;
var imgLoader:ImageLoader;

function onLoadInit():Void {
trace(Application ::: onLoadInit);
trace(- width:  + imgHolder._width);
trace(- height:  + imgHolder._height);
}

imgLoader = new ImageLoader();
imgLoader.addListener(this);
imgLoader.loadImage(imgURL, imgHolder);

regards,
Muzak

- Original Message - 
From: Karl DeSaulniers k...@designdrumm.com

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Sunday, April 19, 2009 12:56 AM
Subject: Re: [Flashcoders] Just a quick one


Thank you all for the great responses. I actually think I have a copy  
of flex 1 somewhere. LOL


But alas my movie is still not working and my programming knowledge  
extent at this time is as2 based. Don't seem to get the time to dive  
into as3 or any other ie: flex 1


I really am stumped on how to get the wh of this loaded data. Nothing  
I do seems to work.


:(



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Just a quick one

2009-04-17 Thread Ian Thomas
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 wh.

 What is the best way to get actual loaded images wh and not the holder MCs
 wh?

 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


Re: [Flashcoders] Just a quick one

2009-04-17 Thread Karl DeSaulniers

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

What is the best way to get actual loaded images wh and not the  
holder MCs

wh?

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


Re: [Flashcoders] Just a quick one

2009-04-17 Thread Ashim D'Silva
If you're using Loader to load images, both wh of the image itself
and that of the Loader should be the same.
Sometime however, I do like taking out the data if I'm going to play
with it at bitmapData level.

Bitmap(loader.content).bitmapData

If you get the wh of the resulting bitmap data, that's the images
actual dimensions.

If you're loading an SWF however, I think contentLoaderInfo contains
the nominated width, height, framerate etc. All of which can change
anyway.

Ashim

The Random Lines
My online portfolio
www.therandomlines.com



2009/4/17 Ian Thomas i...@eirias.net:
 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 wh.

 What is the best way to get actual loaded images wh and not the holder
 MCs
 wh?

 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


RE: [Flashcoders] Just a quick one

2009-04-17 Thread Merrill, Jason
 It just told me there was no property called contentLoaderInfo in my

class file.

What Actionscript editor are you using?


Jason Merrill 

Bank of  America   Global Learning 
Shared Services Solutions Development 

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community 




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Just a quick one

2009-04-17 Thread Karl DeSaulniers

Cs3

Sent from losPhone

On Apr 17, 2009, at 8:19 AM, Merrill, Jason jason.merr...@bankofamerica.com 
 wrote:



It just told me there was no property called contentLoaderInfo in my



class file.


What Actionscript editor are you using?


Jason Merrill

Bank of  America   Global Learning
Shared Services Solutions Development

Monthly meetings on the Adobe Flash platform for rich media  
experiences

- join the Bank of America Flash Platform Community




___
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


Re: [Flashcoders] Just a quick one

2009-04-17 Thread Karl DeSaulniers

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

What is the best way to get actual loaded images wh and not the  
holder

MCs
wh?

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


Re: [Flashcoders] Just a quick one

2009-04-17 Thread Ian Thomas
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 wh.

 What is the best way to get actual loaded images wh and not the holder
 MCs
 wh?

 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


RE: [Flashcoders] Just a quick one

2009-04-17 Thread Merrill, Jason
 It just told me there was no property called contentLoaderInfo in my

 class file.

 What Actionscript editor are you using?

 Cs3

That could be why. I would recommend you switch coding over to an editor
with better code hinting and other capabilities like the FlashDevleop,
which is a free download, and the best free Actionscript editor for
Windows out there.


Jason Merrill 

Bank of  America   Global Learning 
Shared Services Solutions Development 

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Just a quick one

2009-04-17 Thread Karl DeSaulniers
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 wh 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 wh.

What is the best way to get actual loaded images wh and not  
the holder

MCs
wh?

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


Re: [Flashcoders] Just a quick one

2009-04-17 Thread Karl DeSaulniers

What about sepy? I'm on a mac.

Sent from losPhone

On Apr 17, 2009, at 12:29 PM, Merrill, Jason jason.merr...@bankofamerica.com 
 wrote:


It just told me there was no property called contentLoaderInfo in  
my



class file.


What Actionscript editor are you using?



Cs3


That could be why. I would recommend you switch coding over to an  
editor

with better code hinting and other capabilities like the FlashDevleop,
which is a free download, and the best free Actionscript editor for
Windows out there.


Jason Merrill

Bank of  America   Global Learning
Shared Services Solutions Development

Monthly meetings on the Adobe Flash platform for rich media  
experiences

- join the Bank of America Flash Platform Community


___
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] Just a quick one

2009-04-16 Thread Karl DeSaulniers

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


What is the best way to get actual loaded images wh and not the  
holder MCs wh?


Thanks for any help

Karl

Sent from losPhone
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders