No problem, I learn and get practice this way while trying to help. :)
- action copy/paste "bug" confirmed here too, -> goes to a buglist..
Printable View
No problem, I learn and get practice this way while trying to help. :)
- action copy/paste "bug" confirmed here too, -> goes to a buglist..
I hope the bug in 3DFA will be fixed soon :)
Because I can't do anything with it now...
(when exporting the slides so not change)
Hmm,
Seems my problem is't solved...
Since Rob says it's not a bug, but to use the "Show slide" function..(when using slideshows and menu instead of buttons) it is still not working.
When using a menu and "show slide", it will not change the "slide" variable(always loads slide 1 again)...
When using buttons and "let" action (in the new 4.81) it still doesn't work on export...
edit: removed unneeded advices, look post below to new info
I might know why menus are different and act this way... menu might be separate "movie" so it does not see main movie variables straight away. For example, if I try to use script action to change editbox text -> slide = "abcdef"
Nothing happens.. but if I use root.slide = "abcdef" then it works.
So, menu action with variables kinda work, they might be just separate movies from main movie.
edit: my_6th_sense, if using menu, change syntax a little -> Let root.slide="Slide x"; (earlier: Let slide="Slide x")
Going to try it ut within an hour or so ;)
I'll let you know!
Thnx for helping me out here..
I fell asleep yesterday :)
Anyway tried it now...Works perfectly in 3DFA preview, does not work on export (slide variable does not change)
Damn... I tested my buttonbug test movie in both preview and Flashplayer.. it works, but then I tested my door_effect movie and it too shows always first slide :(
I'll look into it and try to find out what goes wrong.
Ok thnx ;)
It's working!!!!
Rob helped me out on this one...
He didn't know why your method is not working, but it is working when changing the call function into an instruction.
==> element ("Slide show 1").showSlide (root.slide);
Thnx
edit: solved, was classic programming gotcha, my function name was same as one of slideshows function name... that's no no :)
From my experience root functions can be called from children but it's a matter of timing. You need to know when in the startup process the root functions are available. I have enclosed a movie which may help explain what I mean. As you will see 3DFA's preview startup is different than flash's which explains why it may work in 1 and not the other. :rolleyes:
Classic gotcha for me.... :yikes: function calls are usually ok (see ppedz reply)
My whole function problem (and so on my_6th_sense's, with my example) was caused by using a function name showSlide(), in preview ok, but Flash did not like it because it is SAME name what slideshow uses to change slide.
Feel kind of stupid now :zzz: :clown:
I'll clean up previous replies to not create unneeded confusion to others..
Ok, Maybe I'm not so stupid after all :)Quote:
Originally Posted by Finjogi
When you sent me your file I was wondering if the showslide() was referring to the showslide() of 3DFA or not...Aparently it was not :)