Cheers Availor,
I forgot to mention that you could put a timer routine into the script, which could be altered from within the text file as well if required.
ie &staticTime=20
Cheers Availor,
I forgot to mention that you could put a timer routine into the script, which could be altered from within the text file as well if required.
ie &staticTime=20
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
&staticTime - I dont know what this is... I know a Timer command which is set to miliseconds.
If you have Flash 8 Pro there is a template, resources & tutorial ot help to do it straight off.
Design is thinking made visual.
Availor,
Sorry to confuse you. I was refering to the text file which could read:
This text file loads 3 variables into the swf file:photoNumbers=10&staticTime=20&Loaded=Loaded
photoNumbers
staticTime
Loaded
So instead of having :
you would have:var duration:Number = 20;
Albacore,var duration:Number = staticTime;
Yes I looked at the Flash 8 template slideshow but I always enjoy creating my own. That way I know what each piece of code does. Also I often find that the solutions that come preinstalled in Flash can be very large filesize wise. For example, drop a scroll bar component on the stage......the file size jumps by 34Kbs. That's 9 seconds on a dial up connection.
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Oh you meant the loadVariable command so thats what the "&" for now I get it
Thanks for all of your help everyone. Fortunately my boss had a web developer pass along another great solution. It's open source code, so I definitely had to pass it along.
The attachment is a zip file which contains an .fla (version 8) a .swf an images folder and an .xml file.
The current flash movie is set to 720 x 480 pixels. Anyone can use that as is and just modify the xml and image directory to put in your own pix. If you wanted to change the canvas size of the flash movie, you'd have to edit the fla. This seems to be the most flexible. Unfortunately this is a version 8 file in case you have an earlier flash version.
Looking at the action script, this code is attributed to Todd Dominey
http://whatdoiknow.org/archives/001962.shtml
For twenty bucks you can also buy his advanced slideshow which frankly is a great solution for an online portfolio or image gallery.
Bookmarks