Article View: adobe.livemotion
Article #238Re: External Jpg's: "deep" paths?
From: Jeremy_Hendrickson
Date: Tue, 27 Jul 2004 09:18
Date: Tue, 27 Jul 2004 09:18
11 lines
1378 bytes
1378 bytes
Put this code on the "onButtonPress" handle of your button that will load the image.
loadMovie("images/image.jpg", _root.placeholder);
Then, make sure you have a folder named "images" that contains the JPG image you are calling. (In this case, "image.jpg".) The "_root.placeholder" portion of the code refers to the name of a transparent object which has the anchor point in the left hand corner which the loaded JPG's left corner (it's default anchor point) will line up with.
Note, however, that while this does work, it will only work for Flash Players that are higher than version 5. I believe the ability to load a JPG was added in the first MX release of Flash.
Hope that helps.
Jeremy
Technical Details
Message-ID:
<3bb5358c.0@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!62.253.162.219.MISMATCH!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<3bb5358c.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f6a55,af0df02ed6ba9ed1 X-Google-Attributes: gidf6a55,public X-Google-Language: ENGLISH,ASCII-7-bit From: Jeremy_Hendrickson@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!62.253.162.219.MISMATCH!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.livemotion Subject: Re: External Jpg's: "deep" paths? Message-ID: <3bb5358c.0@webx.la2eafNXanI> Date: Tue, 27 Jul 2004 02:18:15 -0700 References: <3bb5358c.-1@webx.la2eafNXanI> Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit