-
Loading .jpgs
I'm accustomed to loading .swf movies into the main movie using 'Load Movie'.
Can you load individual .jpg's as opposed to .swf's???
Mark
-
FK's Geezer Mod
Yup, in MX anyway. Just use the name of the image instead of swf. And they have to be non-progressive jpg's only.
-
Make a emtpy movie clip add to scene center give it a instance name Content then on button add
on(release){
Content.loadPic("pic1.jpg");
}
Hope that helps .
Regards Barry_UK
-
Thanks,
That easy,I'm a little embarrased.
I have a "Next" button to load .jpg's (01,02,03 etc).
Do you have an idea how I would make the button load the next image replacing the previous, like image 01, then image 02 etc.
P
-
FK's Geezer Mod
I would make a simple movie clip to control that. A stop in frame 1, then in each of the other frames, add the code to load each of the images. Drag it to the stage, off the side, give it an instance name, then tell the next and previous buttons to go to the next or previous frames in that movie clip.
-
Thanks
Thanks for your help. It works great.
P.S
It was actually Quayle!
"We are ready for any unforeseen event that may or may not occur."
-- Vice President Dan Quayle, 9/22/90
-
FK's Geezer Mod
Oops, have to change that, time for a new one anyway.
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
|