You can use the Flash 9 AS3 preview to output AS3 compatible .swf
animations. - I guess I don't see what you need the extra frames for?
Why do you want to add frames? I guess my feedback was aimed and
getting you to explain why you need to programatically add frames - I'm
not following what you're trying to do I guess. If they are animations
you cannot easily do with actionscript, then that means you're
hand-tweening them in Flash or some other tool, and thus would have the
ability to add frames anyway.
Jason Merrill
Bank of America
GT&O Learning & Leadership Development
eTools & Multimedia Team
________________________________
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of mtthwnthnyhys
Sent: Thursday, March 29, 2007 8:11 AM
To: [email protected]
Subject: [flexcoders] Re: Programmatically create MovieClip
frames?
Jason,
Um, thank you for the feedback? What do you mean 'some other
way?' For that matter,
what do you mean, 'why would I want to?'
I'd like to use animations in my application that I don't think
would be easy to accomplish
through scripted tweens. I could create the animations in Flash
8, but then I can't control
them with AS3. I'd maybe have export each frame from Flash 8.
Import them into Sprites
in my Flex app, and then "play" them by iterating through the
visible property of each one
in a list... some kind of custom SuccessiveSpritePlayer class...
seems like a lot of work-
around, just to make what amounts to a MovieClip that I can add
"frames" to.
Does anyone have ideas, a trick, anything?
//Matt
--- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , "Merrill, Jason"
<[EMAIL PROTECTED]> wrote:
>
> Why would you want to? It seems whatever you're trying to do
could be
> accomplished in some other way.
>
>
> Jason Merrill
> Bank of America
> GT&O Learning & Leadership Development
> eTools & Multimedia Team
>
>
>
>
>
> ________________________________
>
> From: [email protected]
<mailto:flexcoders%40yahoogroups.com>
> [mailto:[email protected]
<mailto:flexcoders%40yahoogroups.com> ] On Behalf Of mtthwnthnyhys
> Sent: Wednesday, March 28, 2007 3:11 PM
> To: [email protected]
<mailto:flexcoders%40yahoogroups.com>
> Subject: [flexcoders] Programmatically create MovieClip
frames?
>
>
>
> Hey all,
>
> I have a bit of an odd question. I'm working on a project in
> which I'd like to include some
> somewhat intricate Flash animations... unfortunately... (sort
> of)... I'm working on one of
> those new MacBook Pros, with the Intel chip. No Flash 9 AS3
> preview for me.
>
> I'd like to keep moving on the project, but as you probably
> know, Adobe is not shipping
> (and therefor not making available for download?) the new
Flash
> CS3 until the end of April.
>
> So I'm wondering, is it possible to add frames to a
> programmatically created AS3
> MovieClip, and then populate those frames dynamically? Will
> nextFrame() called on the
> last frame of a MovieClip still move the playhead?.. or return
> some kind of error?.. or just
> not do anything?
>
> I'll be experimenting with all this stuff over the next couple
> of days, trying to come up with
> a solution, but if anyone knows anything I'd appreciate the
> feedback.
>
> Also, if you happen to know that there's no way to do what I'm
> asking... and you happen to
> have the Flash 9 AS3 preview... would you mind making a few
> empty AS3 MovieClip SWFs?
> To be safe, I think one each at 7, 14, 21, and 28 frames would
> be great. That's not too
> much trouble is it?
>
> Okay, infinite thank yous in advance.
>
> //Matthew Anthony Hayes
>