Can’t import fl.video.VideoPlayer?
Just now I ran into a problem when trying to use to VideoPlayer class for the first time. Dang.
Problem:
When doing this:
import fl.video.*;I get this:
1172: Definition fl.video:VideoPlayer could not be found.
Solution:
I dragged an “FLVPlayback” component onto my stage, and then deleted it. I guess that forced flash to load in the needed classes. I’m not sure if this is a bug of if I’m missing something. I found my answer at the Actionscript.org forums, where it looks like a few other people may have had the same problem. I think there’s some people there that have posted speculations on why this might happen. If you care to read, the link is below.
http://www.actionscript.org/forums/showthread.php3?t=153762
APE Class Model
Click above for a giant layout of all the APE classes and the way they inherit each other. Definitely helpful.
Excellent APE Beginner’s Resources!
If you have any interest in Flash + Math/Physics, I recommend you try out APE (the Actionscript Physics Engine) library by Alec Cove. It’s a set of AS3 classes that will easily let you create a world of particles that are affected by physics. If you’ve ever thought about making an action-type game, this might be the place for you to start.
Just today I stumbled upon some great examples by a guy named Andrew Garrahan that were posted to Google Group called APE General.
Follow this link to see the examples: APE Cornerstones: Basic Examples
(Thanks Andrew, these should really help me get started)
There’s also some other great examples in this group and I imagine it will grow as well. I hope this helps someone out there!
Flash CS3 UIScrollBar Trouble
I had some trouble with the CS3 UIScrollbar properly latching onto a dynamic textbox earlier this week. I found a solution and I thought I’d share.
Read moreThe Flash vCam
Any good animation changes camera angles from time to time. Unfortunately these is no easy way to do this in Flash… by itself.
However, a fellow named Sham Bhangal wrote a little application using actionscript that allows us to have a virtual camera that can be animated within scenes.
Read moreKeeping Sound in Sync with Long Flash Animations
Whether you’re just starting out in Flash, or have been playing with it for some time, chances are you have run into problems with sound synchronization. If you’re new to Flash and have been experiencing problems in this area, chances are the solution is very simple as I will explain in a moment. However, if the following isn’t news to you and you’re still having problems, keep reading, the solution may follow.
Read more

