-
Can an image file like jpg or gif be loaded to a movie, as an external file?
-
use the loadMovie and loadMovieNum to load a outside JPG or GIF. It has to be in the same domain as your movie.
-
mmm...i just tried it, it doesn't work..
loadMovie("pic.gif", "_root.loadhere");
pic.gif is in the same folder as the .swf
loadhere is an mc i want to load the pic in.
and it doesn't work
-
Try
loadMovieNum("pic.gif", "_root.loadhere");
-
FinalHit,
Flash will only load non-interlaced JPGs.
Your code should work fine, as long as you are loading a JPG and you have an MC instance named loadhere on the root:
_root.loadhere.loadMovie("pic.jpg");
Cheers,
ZE.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|