Link to home
Start Free TrialLog in
Avatar of meng032399
meng032399

asked on

photo gallery tutorial

Hi I am playing with the tutorial from http://www.kirupa.com/developer/mx/photogallery.htm

I am using flash 5. I download the code for flash5, and extract the image files from flash mx, then place them under the dir animation.

I have problem with getting it to work! I am also play with the "pathToPics", make sure it point to the right dir.

Can anyone tell what is wrong with this example? or where have I done wrong? How to debug into the action code?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of j3one
j3one

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of meng032399
meng032399

ASKER

So how do I debug the code to eliminate what is support in in f5, and what is not. It would be nice if you could convert the fmx into f5 for me. My knowledge on flash is very little (just start). so please place more comments between the code, even for those you might think they are very simple.
Looks like the demo may have changed, as the images are contained within the FLA - so first try downloading the file again (looks like you may only need the Flash 5 file, as that's all I needed).

There was still a compilation error though for Flash 5:
**Error** Scene=scene1, layer=HER2-neu 1, frame=7:Line 1: Mouse events are permitted only for button instances
     on (release) {


This can be rectified by going to "scene1" frame 7, click on the image there, and change the code from ...

on (release) {
      getURL('http://www.qbiogene.com/products/cytogenetics/new_products.shtml', '_self');
}


... to ...


onClipEvent(mouseUp) {
      getURL('http://www.qbiogene.com/products/cytogenetics/new_products.shtml', '_self');
}



muso
Sorry for any confusion!  I re-posted this comment in your new question...
I've used Sothink Glanda 2004 to create Flash photo album in minutes. It is really great.

http://www.sothink.com/campaigns/glanda.php3