Click to See Complete Forum and Search --> : getting out of synch through inserts
rin67630
11-12-2007, 09:34 AM
Hi Group,
I have been working on a heavyweight SWF with about 80 master frames and around 500 shapes, VarTxts and buttons.
I have noticed, that KM seems to lose synch on "goto frame" actions, after inserting, or deleting frames, but could not track exactly upon which action, which problem happens.
Another pain happens also with VarTxt which displays the content of another VarTxt (only during runtime). Also here I could not track exactly, what generates the problem.
Has anyone got workaround and list of actions, that I should avoid, to prevent those hickups?
thank you in advance
RIN67630
Stoke Laurie
11-12-2007, 10:50 AM
I have had the occassional problem as you describe, normally associated with km not picking up on all the implications of a page removal. Normally this is in my actionscript not in the goto type functions in buttons etc.
I do a fair amount of cutting and pasting from different fun files, and I have learned a regular saving and testing routine is the most straightforward way to avoid any problems.
rin67630
11-12-2007, 12:16 PM
Have you been suggesting one should save the work before and check all the links after every frame insert/delay?
That don't look toooo appealing, does it?
:-(
rin67630
Stoke Laurie
11-12-2007, 12:35 PM
In Km you are working in Key frames only, so applications often use less than 20 keyframes, so its not much to check if you want to take a page out or put one in. For example, the centre flash on this (http://www.buywhenyouwant.com) site only uses 7 keyframes.
Bob Hartzell
11-12-2007, 01:00 PM
I suggest labelling the frames associated with goto's (one way is editing the name in Views > List of Frames). Use frame labels in the goto's. That might help.
rin67630
11-12-2007, 05:12 PM
I suggest labelling the frames associated with goto's (one way is editing the name in Views > List of Frames). Use frame labels in the goto's. That might help.
Unfortunately it does not. All my frames are labeled.
When KM gets out of synch it just changes the labels as well.
thank you for the idea anyway.
RIN67630
rin67630
11-12-2007, 05:25 PM
thissite only uses 7 keyframes.
Mine is a bit heavier: http://www.alpha-service-muenchen.de/Website.html
The complete film takes about 4 1/2 minutes to play.
(It is intended to work on business fairs and exhibitions as well)
If the customer needs more time to read, or wants additional details, I wanted to stop the movie as long as he hovers on any of the buttons and release the movie as soon as he leaves.
RIN67630
Bob Hartzell
11-12-2007, 06:05 PM
What do you mean that it changes the labels? Did you manually enter frame labels for the frames?
rin67630
11-13-2007, 03:17 AM
What do you mean that it changes the labels? Did you manually enter frame labels for the frames?
Yes I have given manually a name to all 77 frames of the movie.
Let's say i have go a button to go to the frame "partners" and another to go to the frame "team".
Sometimes, but only sometimes when I insert a frame or delete one or move a frame, the button to go to the frame "partners" will now point to the frame "team".
Was it understandable?
RIN67630
Bob Hartzell
11-13-2007, 03:30 PM
It does appear to be a bug. If you ever come up with a reproducible set of actions that cause the problem, let me know. Otherwise, it is difficult to fix.
rin67630
11-13-2007, 04:14 PM
It does appear to be a bug. If you ever come up with a reproducible set of actions that cause the problem, let me know. Otherwise, it is difficult to fix.
I expected someone to have found it out for me...
Whenever i have got some tome, I will make some stress testing and return with my findings.
Regards
RIN67630
Stoke Laurie
11-13-2007, 05:26 PM
I expected someone to have found it out for me...
Expected?:mad:
When early programmers proclaimed that they had built inteligent robots, who learned to navigate maizes, what they meant was that when the robot hit a wall, it learned by experimentation that there was an alternative route. Perhaps that is still the best way to learn.
rin67630
11-14-2007, 04:48 PM
It does appear to be a bug. If you ever come up with a reproducible set of actions that cause the problem, let me know. Otherwise, it is difficult to fix.
I have a reproductible scenario:
Create 4 key frames A,B,C,D.
Make 4 buttons in all frames Goto A, Goto B, Goto C, Goto D.
Move frame D between B and C within in the list of key frames.
The button C points now to D. and D points to C.
Do i need to report it officially?
Regards
RIN67630
byweb
11-14-2007, 05:29 PM
Your problem has easy solution, in the frame that you call for example A, B, C, D, put in each of them with Action Script one Stop ();. Then to the button you indicate it gotoAndStop ("A"), never gotoAndPlay ("A"), and assurance that always it is stopped(detained) in "A" and not in "B".
Stoke Laurie
11-14-2007, 06:17 PM
Do i need to report it officially?
Was ist der Punkt? Sie haben Ihr eigenes Problem, der Kopf der Firma hat Geben Sie frei Rat, warum nicht Sie erlernen einige Weise verursacht?:mad:
rin67630
11-14-2007, 06:46 PM
Your problem has easy solution, in the frame that you call for example A, B, C, D, put in each of them with Action Script one Stop ();. Then to the button you indicate it gotoAndStop ("A"), never gotoAndPlay ("A"), and assurance that always it is stopped(detained) in "A" and not in "B".
Am I supposed to understand that?
The point is NOT with stop and play, the point is that KM does not correct the goto assigments whenever a key frame is moved.
rin67630
11-14-2007, 06:55 PM
Was ist der Punkt? Sie haben Ihr eigenes Problem, der Kopf der Firma hat Geben Sie frei Rat, warum nicht Sie erlernen einige Weise verursacht?:mad:
Please Laurie, i appreciate that you try to write in German. Honestly I am more comfortable with reading your english, probalbly the other members of that English forum also.
Nevertheless, reporting a bug is not something unusual. Neither is its correction. I suppose you haven't understood the point. Reading the contribution again (and trying yourself) should help.
RIN67630
Stoke Laurie
11-14-2007, 07:03 PM
Oh please I have understood you very clearly, and I wrote you you in your own language as a gesture, as your lack of command of English could have being missunderstood as rude.
For example
I suppose you haven't understood the point. Reading the contribution again (and trying yourself) should help.
Could easily be missinterpreted as very offensive.
rin67630
11-15-2007, 02:54 AM
I suppose you haven't understood the point. Reading the contribution again (and trying yourself) should help.
Could easily be missinterpreted as very offensive.
Indeed it was, IMHO I had some reasons for that :-(
Did you try the given testcase?
If yes, why have you posted that useless stuff?
if no, why have you posted that useless stuff?
That will be my last post here in that matter, you're free to flame me further.
Thanks for the entertainment.
RIN67630
byweb
11-15-2007, 05:04 AM
Now the one that I do not understand I am I, we are going to see, if your KeyFrame has an label assigned and this you move it also to the place where you move the KeyFrame, there must no be problem. If you raise the file we prune to help yourself better.
Stoke Laurie
11-15-2007, 05:58 AM
Indeed it was, IMHO I had some reasons for that :-(
Did you try the given testcase?
If yes, why have you posted that useless stuff?
if no, why have you posted that useless stuff?
That will be my last post here in that matter, you're free to flame me further.
Thanks for the entertainment.
RIN67630
I thought you came here for genuine help, not to abuse people.
Bob Hartzell
11-15-2007, 07:40 AM
Goto action script can involve variables set elsewhere in the code. It would be dangerous for the software to muck around in the action script.
Stoke Laurie
11-15-2007, 08:08 AM
^ Absolutly right.
rin67630
11-15-2007, 12:56 PM
Now the one that I do not understand I am I, we are going to see, if your KeyFrame has an label assigned and this you move it also to the place where you move the KeyFrame, there must no be problem. If you raise the file we prune to help yourself better.
Indeed I already have helped myself:
I now know, that whenever I move a keyframe within the keyframe overview, I have to correct manually all GoTo KeyFrame references to it and to all key frames placed between the moved one and the location where that frame was placed previously.
This behaviour is perfectly reproductible and not dependent of whether the frame is labeled or not.
Whenever I delete a keyframe, I have to verify manually all GoTo KeyFrame references to the following key frames. Sometimes the new locations are automatically corrected, sometimes not. Maybe I'll find some time to investigate...
IMHO there is no need to upload a test case, it is something that everybody can create himself in two minutes.
Being aware of this limitation is a good thing, taking care automatically of the relocated key frames in KM would be much better.
regards.
RIN67630.
Bob Hartzell
11-16-2007, 10:24 AM
I'll look into it.
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.