Flash Help
- Started
- Last post
- 6 Responses
- ********
I have an problem with video in flash. I'm trying to update an existing site with a bit of flash video (.flv). Now the site is at 31fps and the flv is at 10fps.
If I embed the video on the timeline it plays 3 times too fast.
The problem is, I need the video to be preloaded due to where it is used. I cannot stream it from the server as I cannot afford any lag.
Is there some means of loading the .flv in the library and then attaching it to a component when required? As far as I can see I only have 2 choices. Embed (too fast) or stream (possible lag).
Any ideas on this would be most helpful.
- UndoUndo0
embedd in MC and pause, place off-stage, load MC onto stage and play when required?
- ********0
It will still play at 31fps though...
- ********0
Fixed it.
If anyone is interested the hack is to embed the flv on a timeline in a movieclip with a stop on the first frame. Then use setInterval to advance the playhead one frame at a time at a speed to suit you.
Hurrah.
- UndoUndo0
cool, nice thinking with setInterval !
- imakedesign0
is that not a bit cpu intensive?
- ********0
Using setInterval to advance the playhead? Not really. It's not a big calculation.