Flash Q
- Started
- Last post
- 16 Responses
- Gucci
ok... bit of a mystery here.
I've loaded an external swf into a movieclip, but when i hit a button to queue it to do something, the button is dead. it works when i preview it, and
here's the catch:
it seems to work when you load another swf into the mc, and then reload the original trouble swf – and then works from then on.i don't know if that's clear enough....... but ......
little help?
- brozilla0
have you tried using trace() to help trouble shoot?
- Gucci0
nope.
i'm not too well versed in flash...what do you think i should do?
- jpea0
i had a prob a few years ago that had some file naming issues. i named a file myfile.two.swf and it loaded nicely on my computer as well as my linux server, but once it was on a windows server it didn't work. just maybe an idea?
- woodyBatts0
i would make sure you don't have multiple frames where the button might not exist e.g. the movie is 5 frames but the button is only on 4
- Gucci0
nah. maybe it's a loading issue?
here's the dev page.
check it out...
it's not complete yet, so don't mind the design inconsistencies.click on events, and then one of the sub pages (it shouldn't work).
then click on another section and come back to the one you were just at.... i think you'll get the point.
- Gucci0
*bump
any ideas?
- skt0
Targeting. Make sure the buttons are targeting the correct timeline.
- honda0
I'm not sure what your question is. Clicked the link and it seems to be working. Although you would greatly benefit from preloading the .swfs. Seems to work, so a little clarity in your question would help.
- Gucci0
see... i thought that was the problem too skt.
but why then does it decide to work after you load another page... and return to the page that originally wasn't working.
- skt0
Good point. Without seeing the code it is pretty hard to tell though.
- Gucci0
honda:
when i empty my cache and load the site, the "events" page loads fine... it's the "wedding" etc. subnavigation that won't budge
If go to "lifestyles" for example, and return to the "events" page to hit the "wedding" button again – it works.
- Gucci0
should i reference the mc name in my main flash doc on the root timeline – even from within the loaded swf?
- skt0
Yeah, it might be good pratice to access everything using it's full path eg.
_root.ContainerMovie.Movie01
etc..
- imakedesign0
_lockroot = true;
on your 1st frame of you main movie.
- Gucci0
booyah to you, my good sir.