Groups | Blog | Home
all groups > flash actionscript > august 2007 >

flash actionscript : Can't run transition on movie


Sekhar Ravinutala
8/31/2007 11:40:32 PM
In Flash CS3/AS3, if I try to run a transition on a movie clip "PaneB"
accompanied by a PaneB class definition, I get the following error:

ReferenceError: Error #1069: Property __transitionManager not found on
Site.Page.PaneB and there is no default value.

However, if I don't associate a class with PaneB (leaving Flash to define a
default one), I don't get the error. Any idea why?

FYI, if I create a child clip (for PaneB) without a class attached, and then
run transition on that child, things work OK. And, if I create a new movie clip
at run time and add PaneB as its child and then run transiton on the parent, it
also works fine. Meaning, there's something that the default class definition
is doing that my class (that extends MovieClip) is not doing. Happens even if I
don't define anything in the class!
mikko
9/21/2007 5:46:13 PM
On 1 syys, 02:40, "Sekhar Ravinutala" <webforumsu...@macromedia.com>
[quoted text, click to view]

Sekhar,

I'm having the exact same problem with a very simple class extending
MovieClip and having a symbol in a library. I'm sorry to report that
so far I have not found any solution. :(

Please, let me know if you find the answer!

Mikko
kowdest NO[at]SPAM yahoo.co.uk
9/25/2007 3:05:39 AM
[quoted text, click to view]


Hi Mikko,

The class you use the transition in should be defined as "dymanic",
i.e.

public dynamic class SomeName extends Movieclip

I think this is because the transition manager adds a property to the
object (the one creating the error)

Miro
AddThis Social Bookmark Button