Copy link to clipboard
If I change the color of an instance on the main timeline it works perfect in html5.
If I change the color of an instance on the timeline of a movieclip, which is not on the main timeline - then it does not work anymore.
does anybody know why? and what I can do, that it works again?
thanks for a hinch
Copy link to clipboard
how are you changing the color? code? the ide?
no not by code - by using the properties field on the right side - i don't have any idea how i would have to change it by code - would this work?
the object is an instance of what? movieclip, shape, something else?
its an instance of a grafic symbol in the timeline of a moviclip which is on the main timeline.
it seems as if the color would be transported by click
first picture ist how it looks in the fla - second picture is how it looks when it is published in the browser...
definitively not the same an i wonder why
when that movieclip (zeitleiste) is on frame 3 (4th frame), that graphic should be orange. but i don't see anyway to get the movieclip to stay on frame 4 and evaluate the graphic color unless there's code somewhere. eg,
on main timeline:
on zeitleiste timeline,
does your code work? ie, does zeitleiste have an instance name of swf?
yes it works - but not correctly concerning the changing of color properties of the grafic symbols which are in the timeline of the zeitleiste with instance name swf
this almost certainly user error, but i can't determine what that error is without downloading and checking your fla.
you have to click 3 times on the button until you see a change with the lines - its mysterious
strange - i cannot send you the fla within this forum.... i have no idea why
here is a link to download the file https://www.quark.arts.ch/animate/test-farbe.fla
i don't see anything mysterious. it works just like you would expect (except when getting to the end of this.swf's timeline, it restarts.) i didn't expect that.
here's the start before anything is clicked:
after clicking once:
after clicking again:
which looks just like frames 0,1,2,3,4 on this.swf's timelne.
??? my script ? html5 canvas? i don't believe it !
i opend the file in animate and this is, what i get (to make it clear i added numbers for the clicks)
it is mysterious !
startpicture on frame 1
first click goes to frame 2
click to frame 3
click to frame 4
click to frame 5
so where is the difference ? - i work with animate 2021 and the newest firefox
yes - otherwise, i guess, i would't see anything at all
how are you testing?
are you opening your fla in animate>clicking control>test movie>in browser?
i work with a mac - an i test with cmd enter - or about the menu
both ways make the same result
the problem must be elswhere....
i tested on windows, though i have a mac if you want me to test there.
yes please - i would appreciate it - so nice of you
it works the same on my macbook os 10.15.7 (catalina). i'm going to upgrade to big sur and see if that makes a difference.
i updated to big sur 11.6 and same result: everything works, as expected.
i'm using animate 2021 v21.0.9.
and there are differences. i'm not they're the problem, but you can test using my js fiile:
thanks for sending me your js - it works correct when i test it with safari.
i compared yours and mine - there are quite a few differences between yours and mine - my question is - how is this possible??? as far as i know, i can't influence how the js is created - or can i ???
you can influence the js file (indirectly) with the publish settings. i don't know how you could pick settings that would cause the problem you saw, but i could do some testing.
to start, now i'm wondering if i use your js file will i see the same problem you reported.
in the meantime, you should create a nee folder and save your fla to that foldet. then test.
i already did create a new folder, saved the fla in there and tested - same result...
are there other possibilities to influence it?