Fk's Official Mac Lover
[MX04] got to frame after unloadMovie
i have 5 MovieClips wich the user unloads using a character and hitTest!! this all works fine!! but wat i would like to do is to make it so that once all 5 MC's have been unloaded it goes to another frame!! any ideas???
TA
GYMPIE
Function help () {
Get._Root.helpFromFlashKit.com}
onOpenFlash = help
FK'n_dog
as each clip unloads, set a boolean variable - unload1=true, unload2=true, ....
run a loop, and check for ALL variables set to true -
if(unload1 && unload2 && unload3.....){ .. do stuff .. }
Fk's Official Mac Lover
how would i set the boolean valule excactly sorry to be a pain and thanks so much for the help
Function help () {
Get._Root.helpFromFlashKit.com}
onOpenFlash = help
FK'n_dog
//code to unloadMovie clip1
unload1 = true;
// end code
Fk's Official Mac Lover
Function help () {
Get._Root.helpFromFlashKit.com}
onOpenFlash = help
Fk's Official Mac Lover
one last problem i promise lol
function check() {
if
(unload1 && unload2 && unload3 && unload4 && unload5 = true){gotoAndPlay (3)}}
i have the following code but it tells me that the Left side of assignment operator must be variable or property.
can you tell me wat this means?????
Function help () {
Get._Root.helpFromFlashKit.com}
onOpenFlash = help
FK'n_dog
// correct syntax is -
function check() {
if
(unload1 && unload2 && unload3 && unload4 && unload5){gotoAndPlay (3)}}
// no need for = true
// unload1 etc.. is either true or false/undefined
// also, when making comparisons you need ==, not =
Fk's Official Mac Lover
Thanks a bunch ***** i owe you one
Function help () {
Get._Root.helpFromFlashKit.com}
onOpenFlash = help
FK'n_dog
Fk's Official Mac Lover
for some reason it still doesnt work would it be possible for you to take a look at it for me????
Attached Files
Function help () {
Get._Root.helpFromFlashKit.com}
onOpenFlash = help
FK'n_dog
"unexpected file format" on opening in MX04
Fk's Official Mac Lover
sorry its flash 8 lol i usually use mx i must have opend 8 sorry do you have 8? or should i upload it with mx?
Function help () {
Get._Root.helpFromFlashKit.com}
onOpenFlash = help
FK'n_dog
Fk's Official Mac Lover
Attached Files
Function help () {
Get._Root.helpFromFlashKit.com}
onOpenFlash = help
FK'n_dog
is this OK ?
NOTE -
_root path added to movieclips
use of 1 onEnterFrame
Fk's Official Mac Lover
Function help () {
Get._Root.helpFromFlashKit.com}
onOpenFlash = help
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width