Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


When can I change a graphic symbol's propeties (such as Play Once, Single Frame, Loop, and First) during a tween?

Posted on 2007-12-03
Medium Priority
Last Modified: 2008-02-22
On some occasions, If I tween a graphic symbol I am able to change its Single Frame, Loop, Play Once, and First properties on  a keyframe. Other times, I am not able to. Is there a guideline for when I can and cannot change these things? Is this a bug?
Question by:Ryratt
  • 3
  • 2
  • 2
LVL 34

Expert Comment

by:Aneesh Chopra
ID: 20397515
there are mainly 3 kind of symbols in Flash,
Graphic, MovieClip & Button.

you will get these options with only "Graphic" type of symbols.

you need to first select a Graphic type of symbols on stage only then only you will see these options for the selected instnace only.

If you are not getting these options, its mean either you have not selected a Graphic symbol on stage or the selected symbol is not  a Graphic type.

Aneesh Chopra

Author Comment

ID: 20398855
That's not what I meant. When I have a graphic tween, it doesn't let me edit those properties. For example, if I change "single frame" to "loop" or "first" from 1 to 4, sometimes they revert to the original value ("loop" goes back to "single frame", 4 goes back to 1). If I remove the tweens around the keyframe, I can edit them. Also sometimesIf I add excessive keyframes around it I can sometimes edit it them. I just want to know what I am doing to cause this, what's the rule with editing those properties with a tween. Or is this some random bug that they've failed to fix? I've had this problem with previous versions of flash, so I didn't assume it was a bug.
LVL 12

Expert Comment

ID: 20401435

I've run into this problem before. Without having a clear definition of what you have done in your project, I can give you a general rule:

You cannot easily change "animation type" (loop / first / single frame) if there is a tween before the current keyframe.

That means that if you wish to change animation type, you'll need to "modify" somewhat. I'll try to explain.

Let's assume that you wish to have the graphic symbol set to "Single frame" from frame 1 to 10. Then, you wish to change it to "play once", and at the same time add a Motion Tween to the object, from frame 10 to 20. And at last, you wish to change back to single frame.

The setup
1. Add the graphics clip to the timeline, creating the "setup" discussed (keyframes at 10 and 20, with a motion tween between 10 and 20, and add a couple of frames after frame 20).
2. Change the animation type at frame 10 to "play once".
3. Try to change animation type on frame 20 to "single frame". Cannot do it.

The workaround
4. Add an extra keyframe at frame 19. Go to frame 20, and take a look at the graphic symbol properties. There should be a frame number after "Play once - First" - It should be 11 in this example.
5. Copy keyframe 1 (right-click, copy frame), and paste it in at frame 20. It will now have the property "Single frame". Set it to 11, and there you go.

You will now have the possibility to change the animation type on frame 20 to whatever you need :-)

This is probably not the best procedure, there might be better ways. But this method works at least, so try it out :)

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

LVL 34

Expert Comment

by:Aneesh Chopra
ID: 20401491
Here is rules:

Each tween has two keyframes
you can change "animation type" (loop / first / single frame) at the starting keyframe
you can also change "animation type" (loop / first / single frame) at the end keyframe if it is not being tweened further.

Flash does not allow to change "animation type" (loop / first / single frame) of the keyframe which is the ending keyframe of a tween and also starting keyframe of another tween.

LVL 12

Expert Comment

ID: 20401535
aneesh: I see your point, but nonetheless, what you're saying is almost allways impossible. I'm actually sitting with an example right now, and cannot change "animation type" at the last keyframe in the tween. I can even add a new keyframe 20 frames later, and still can't change type.

That's why I came up with the "hack".

Accepted Solution

Ryratt earned 0 total points
ID: 20401616
I found the solution, there's a checkbox labeled "sync" next to the tween properties. I unchecked it in the surrounding non-keyframes where the tween was and was able to change the graphic's properties on anykeyframe at any time.
LVL 12

Expert Comment

ID: 20402235
Heh, nice, thanx :) Useful for me as well that solution!

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question