I've been racking my brain for hours now trying to do what I'm sure is an easy task, but I just can't seem to be able to get a jpeg into my scroll pane! I'm trying to do what was done in the kcdemo scroll pane. I tried opening the kool moves file for kcdemo and it doesn't have a scroll pane?, just a txt box? I tried putting the jpeg in the same folder as the km file...it's not a progressive jpeg...can't seem to figure out whats wrong.
Simple way is to create a scroll pane.
The button on the toolbar that looks like a scroll pane.
[Fourth button down on left.]
Click the option that has a cactus...
Drag an area on the edit pane.
Select the box that was just made.
Click properties. [Hand holding a paper]
Under Behavior [or at the end of the list] is content file.
Change this file to the JPG or SWF that you need.
The other way is to use action script [As in the demo.]
Wilbert Brants [or whoever created the demo] used
Pane1.loadContent(listbox1.getValue());
as the script.
This could be changed to [at least it looks like it would work]
panelname.loadContent(mypic.jpg);
To see the script used in the demo select the actions and sounds dialogue.
[It uses the equation a over speaker [ a/< ] as the button.]
Double click the AS under frame events.
Edit the action to view the scripts.
__________________________
DocRee
i tried the drag scroll pane symbol and select jpg for content under behavior and all I get is a grey rectangle when viewed in browser? Not sure how I would post my fun file for you, Flashpulse? I'll attach the jpg.
My bad . I assumed the jpeg I was using wasn't progressive. Problem solved. File location (and export settings) also make difference (couldn't tell until I used jpegs used by KcDemo, then I realized my jpeg was progressive). Thanks Wilbert!