Hi all, im making a gallery that load an image in a movie clip when i click in
a button. All seems to work perffectly in local. My problem is when i put my
gallery on-line. To me it appears not to get the width and the height
untill the image is fully loaded. In the AS have some kind of
Try using a MovieClipLoader and then wait for the onLoadInit event,
after that you can set the x and y based on the width and height.
Daniel
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
The problem lies in loadMovie. Locally, the picture is already
loaded, so when you ask for the pic properties, the computer can give
it to you already.
Online, however, you'll be downloading the picture while trying to
find out its dimensions.
Use MovieClipLoader, and use the listener
Subject: Re: [Flashcoders] Load centered images in movie clip - Heeelp!
The problem lies in loadMovie. Locally, the picture is already
loaded, so when you ask for the pic properties, the computer can give
it to you already.
Online, however, you'll be downloading the picture while trying to
find
]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, February 15, 2006 3:52 PM
Subject: Re: [Flashcoders] Load centered images in movie clip - Heeelp!
The problem lies in loadMovie. Locally, the picture is already
loaded, so when you ask for the pic properties, the computer can
5 matches
Mail list logo