Create animated Flash movies from PB - with running example!

Share your advanced PureBasic knowledge/code with the community.
User avatar
J. Baker
Addict
Addict
Posts: 2188
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Post by J. Baker »

Thanks, I do work with flash on a creation side but never have programmed it before. I figured it would be as simple as moving the gif so many twips/pixels over in the next frame. Didn't know it had to be removed then added again.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

If someone want to see the resulting Flash file before downloading and running the code, here it is:

http://www.getafile.com/cgi-bin/merlot/ ... sample.swf

The code shows exactly how to do all that you see in that Flash movie, not just write the moving text, but everything to create and 'paint' that Flash movie.

I hope more coders get into this Flash stuff and we can do together better ideas for getting nice text animations, objects, etc.

*If you see this example, once you saw it complete, you can right click on it and get it to the beggining, then go frame by frame watching it to see how it does everything that its indicated on the code.
ARGENTINA WORLD CHAMPION
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

J. Baker wrote:Thanks, I do work with flash on a creation side but never have programmed it before. I figured it would be as simple as moving the gif so many twips/pixels over in the next frame. Didn't know it had to be removed then added again.
Now we can code our own Flash development tool from PB !! :)
ARGENTINA WORLD CHAMPION
User avatar
J. Baker
Addict
Addict
Posts: 2188
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Post by J. Baker »

ricardo wrote: Now we can code our own Flash development tool from PB !! :)
That sounds great but the dll hasn't been updated since 2001 and no support for movie clips, plus others. Don't get me wrong, I still want to learn from this. Hopefully we can do it all in PB someday without relying on some one elses dll.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3943
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Post by wilbert »

J. Baker wrote:Hopefully we can do it all in PB someday without relying on some one elses dll.
Maybe porting the ming library ?
I don't know if that would be possible (I don't talk c++) but that comes with source code and is more up to date.
User avatar
J. Baker
Addict
Addict
Posts: 2188
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Post by J. Baker »

Hey ricardo, what happen to the dll that you were working on?
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

J. Baker wrote:Hey ricardo, what happen to the dll that you were working on?
http://www.getafile.com/cgi-bin/merlot/ ... eX2Dll.zip

This one is more or less the same as the msscript control lib used in this example, with the big difference that the dll allow you to receive the activex events becuase sometimes is very usefull to be able to receive the events.
ARGENTINA WORLD CHAMPION
User avatar
J. Baker
Addict
Addict
Posts: 2188
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Post by J. Baker »

I was talking about the flash part. Doesn't your dll do the same as swfobjs.dll?
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
Post Reply