CreateActor() how do you create the actor with a sequence?

If you have an actor that has a single animation, and several sequences defined; then try to create the actor in script specifying the sequence instead of the animation the CreateActor() function always fails.
For example, I have an actor named gem with a base animation of
"combined 176x220 copy" and animation sequence 1 to 30 defined.
In the view actor's CreateActor event this script line always fails:
Actor *pa = CreateActor("foo", "1", "(none)", "(none)", 0, 0, true);
WriteTraceInteger("pa->name", pa->name);
pa->name =
if I change the animation to "combined 176x220 copy" then the actor is created.
pa->name = gem
This does not happen if you select the CreateActor event for example set the view actor's create event to create the gem actor with the sequence instead of the animation. Then the new actor is created successfully.
Thanks
Kellyrey
For example, I have an actor named gem with a base animation of
"combined 176x220 copy" and animation sequence 1 to 30 defined.
In the view actor's CreateActor event this script line always fails:
Actor *pa = CreateActor("foo", "1", "(none)", "(none)", 0, 0, true);
WriteTraceInteger("pa->name", pa->name);
pa->name =
if I change the animation to "combined 176x220 copy" then the actor is created.
pa->name = gem
This does not happen if you select the CreateActor event for example set the view actor's create event to create the gem actor with the sequence instead of the animation. Then the new actor is created successfully.
Thanks
Kellyrey