PDA

View Full Version : Dynamic jpegs, scrollpanes, and slideshows=:(


BaliScott
07-18-2002, 05:17 AM
I'm trying to create a slideshow where a "next" or "previous" button loads a scrollpane component with external jpeg images. The code for my button looks like this:

on (release) {
gotoAndStop("Scene 2", 1);
MyScrollpane.loadScrollContent('MyImage.jpg');
}

...but for some reason, it doesn't work. What's up?

Change yourself, and you've done your part to change the world.

farafiro
07-18-2002, 05:36 AM
here is a link for slide show
http://www.flashkit.com/tutorials/Dynamic_Content/The_Ulti-Joachim_-800/index.shtml

And another for scrolling pic

http://www.flashkit.com/movies/Basics/text__i-bruixot-6888/index.php

BaliScott
07-18-2002, 05:54 AM
Thanks for the speedy reply, but neither link really addresses my question. Don't worry, though, cuz I figured it out. The button script just needs to go to the relevant scene/frame. For example:

on (release) {
gotoAndStop("Scene 2", 1);

Then in that frame place the code:

MyScrollpane.loadScrollContent('MyImage.jpg');

BaliScott
07-18-2002, 06:23 PM
Ok, now I have a new problem... When I test the above solution on my machine, it works fine. But when I test it online, the image is not masked at all, and the scrolling function is disabled. What's the deal?

reinierb
02-28-2005, 08:02 PM
are you loading the image in an MC that is on a masked layer??
..check your levels such.

EDIT:
D'OH !!!!!