FLASH HELP!
- Started
- Last post
- 4 Responses
- kote
whats up peeps...anyone around to help?
I am trying to load an SWF with navigation - like this:
set 3 variables
GENDER
MATERIAL
PRODUCTSbased on the value of these, I want to load specific SWF's on level 3. So...
WOMAN>LEATHER>JACKET
would load the file wmn_leather_jacket.swf.It has to work like this because the user will be able to change the variable/nav values on the fly.
any ideas?
- o0o0
if you're going to name your files consistently like that, then all you need to do is build the name based on those vars.
sFileName = GENDER + "_" + MATERIAL + "_" + PRODUCTS + ".swf";then
_root.loadMovieClip(sFileName); or whatever the syntax is...
- kjensen0
i believe you are looking for
loadMovie doesnt accept variable names at least not in flash 5 so use
loadMovieNum(sFileName, level);
- kote0
hmm - makes sense. i will give it a whirl.
- Mick0
loadMovie doesnt accept variable names at least not in flash 5 so use
I thought it did... that's why the "expression" checkbox is next to the loadmovie URL.