View Full Version : _visible MC Still work?
eggnogg
05-27-2003, 12:11 PM
heya
i was wondering...wen i set a MC to _visible = false and stay on the same frame, does it still execute the actionscript code it has attached to it?
regards
eggnogg
farafiro
05-27-2003, 12:13 PM
have u tried it??
eggnogg
05-27-2003, 12:17 PM
no.
farafiro
05-27-2003, 12:21 PM
try it and it will work ;)
CyanBlue
05-27-2003, 12:22 PM
Yeah... We are not your lab animal... :mad:
Please do some searching and testing before you actually post your question... :(
eggnogg
05-27-2003, 12:27 PM
sorry, i just dont have time to test stuff man
its a simple question
eggnogg
eggnogg
05-27-2003, 12:29 PM
im stuck with this stupid problem for weeks, im going a little short on patience.. :(
thx farafiro
eggnogg
farafiro
05-27-2003, 12:43 PM
well, to clear something here
Flash won't execute your script if the instance of your movieClip isn't present where u call it
i.e: MC in Frame 5
and frame 1 has a script to call it to be bouble size
as it fires in frame one, it won't find it, so won't be done
eggnogg
05-27-2003, 12:50 PM
i admit that i still got alot reading to do!!! :rolleyes:
the situation here is that a mc clip executes its code when invisible bcause i only have frame one!
could u just take a look at the code in my work for a moment please? :D
regards
eggnogg
eggnogg
05-27-2003, 12:52 PM
zip file nš2
farafiro
05-27-2003, 12:57 PM
what is that file??
*.z01??? what extention is that??
eggnogg
05-27-2003, 12:58 PM
its a 199kb zip file divided in 2...
farafiro
05-27-2003, 12:59 PM
well, the first one is corrupted
and how could I join them again??
and how a 1 frame movie become that big?? just make a simple one, zip it, put it here
eggnogg
05-27-2003, 01:03 PM
file is too big :/
www.cybersystems.pt/flash.zip
thx
eggnogg
farafiro
05-27-2003, 01:08 PM
too haed to go through all that code without knowing what I'm looking for
eggnogg
05-27-2003, 02:45 PM
ok
hide the page3MC layer
open page2 MC, then form MC, then there's an empty MC. in this empty MC there's the code that makes the comboxes automatic (publish and check it out).
then go to the main timeline, hide page2Mc layer and "unhide" Page3MC
edit the page3MC and on frame 1 there's the code that is supposed to get the label from the comboBoxes in page2MC.
the variables assigned to this, are the text boxes on the stage..
the prob is that the _root.page2.form.combo1.getSelectedItem().label); statement dosent behave properly. it always retrives the value of the first (empty) item in the comboBox (1) instead of the item we choose...
in page3MC
- > this is the correct statement ->
processador = (_root.page2.form.combo1.getSelectedItem
().label);
not -> motherboard = (_parent.page2.form.motherboard.getSelectedItem(). label);
eggnogg
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.